Class ProxyProtocolPassThroughTLVs.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
- io.envoyproxy.envoy.config.core.v3.ProxyProtocolPassThroughTLVs.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ProxyProtocolPassThroughTLVsOrBuilder,Cloneable
- Enclosing class:
- ProxyProtocolPassThroughTLVs
public static final class ProxyProtocolPassThroughTLVs.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder> implements ProxyProtocolPassThroughTLVsOrBuilder
Protobuf typeenvoy.config.core.v3.ProxyProtocolPassThroughTLVs
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyProtocolPassThroughTLVs.BuilderaddAllTlvType(Iterable<? extends Integer> values)The TLV types that are applied based on match_type.ProxyProtocolPassThroughTLVs.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ProxyProtocolPassThroughTLVs.BuilderaddTlvType(int value)The TLV types that are applied based on match_type.ProxyProtocolPassThroughTLVsbuild()ProxyProtocolPassThroughTLVsbuildPartial()ProxyProtocolPassThroughTLVs.Builderclear()ProxyProtocolPassThroughTLVs.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ProxyProtocolPassThroughTLVs.BuilderclearMatchType()The strategy to pass through TLVs.ProxyProtocolPassThroughTLVs.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ProxyProtocolPassThroughTLVs.BuilderclearTlvType()The TLV types that are applied based on match_type.ProxyProtocolPassThroughTLVs.Builderclone()ProxyProtocolPassThroughTLVsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ProxyProtocolPassThroughTLVs.PassTLVsMatchTypegetMatchType()The strategy to pass through TLVs.intgetMatchTypeValue()The strategy to pass through TLVs.intgetTlvType(int index)The TLV types that are applied based on match_type.intgetTlvTypeCount()The TLV types that are applied based on match_type.List<Integer>getTlvTypeList()The TLV types that are applied based on match_type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ProxyProtocolPassThroughTLVs.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ProxyProtocolPassThroughTLVs.BuildermergeFrom(com.google.protobuf.Message other)ProxyProtocolPassThroughTLVs.BuildermergeFrom(ProxyProtocolPassThroughTLVs other)ProxyProtocolPassThroughTLVs.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ProxyProtocolPassThroughTLVs.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ProxyProtocolPassThroughTLVs.BuildersetMatchType(ProxyProtocolPassThroughTLVs.PassTLVsMatchType value)The strategy to pass through TLVs.ProxyProtocolPassThroughTLVs.BuildersetMatchTypeValue(int value)The strategy to pass through TLVs.ProxyProtocolPassThroughTLVs.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ProxyProtocolPassThroughTLVs.BuildersetTlvType(int index, int value)The TLV types that are applied based on match_type.ProxyProtocolPassThroughTLVs.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
clear
public ProxyProtocolPassThroughTLVs.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
getDefaultInstanceForType
public ProxyProtocolPassThroughTLVs getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProxyProtocolPassThroughTLVs build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProxyProtocolPassThroughTLVs buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProxyProtocolPassThroughTLVs.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
setField
public ProxyProtocolPassThroughTLVs.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
clearField
public ProxyProtocolPassThroughTLVs.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
clearOneof
public ProxyProtocolPassThroughTLVs.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
setRepeatedField
public ProxyProtocolPassThroughTLVs.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
addRepeatedField
public ProxyProtocolPassThroughTLVs.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
mergeFrom
public ProxyProtocolPassThroughTLVs.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
mergeFrom
public ProxyProtocolPassThroughTLVs.Builder mergeFrom(ProxyProtocolPassThroughTLVs other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
mergeFrom
public ProxyProtocolPassThroughTLVs.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProxyProtocolPassThroughTLVs.Builder>- Throws:
IOException
-
getMatchTypeValue
public int getMatchTypeValue()
The strategy to pass through TLVs. Default is INCLUDE_ALL. If INCLUDE_ALL is set, all TLVs will be passed through no matter the tlv_type field.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType match_type = 1;- Specified by:
getMatchTypeValuein interfaceProxyProtocolPassThroughTLVsOrBuilder- Returns:
- The enum numeric value on the wire for matchType.
-
setMatchTypeValue
public ProxyProtocolPassThroughTLVs.Builder setMatchTypeValue(int value)
The strategy to pass through TLVs. Default is INCLUDE_ALL. If INCLUDE_ALL is set, all TLVs will be passed through no matter the tlv_type field.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType match_type = 1;- Parameters:
value- The enum numeric value on the wire for matchType to set.- Returns:
- This builder for chaining.
-
getMatchType
public ProxyProtocolPassThroughTLVs.PassTLVsMatchType getMatchType()
The strategy to pass through TLVs. Default is INCLUDE_ALL. If INCLUDE_ALL is set, all TLVs will be passed through no matter the tlv_type field.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType match_type = 1;- Specified by:
getMatchTypein interfaceProxyProtocolPassThroughTLVsOrBuilder- Returns:
- The matchType.
-
setMatchType
public ProxyProtocolPassThroughTLVs.Builder setMatchType(ProxyProtocolPassThroughTLVs.PassTLVsMatchType value)
The strategy to pass through TLVs. Default is INCLUDE_ALL. If INCLUDE_ALL is set, all TLVs will be passed through no matter the tlv_type field.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType match_type = 1;- Parameters:
value- The matchType to set.- Returns:
- This builder for chaining.
-
clearMatchType
public ProxyProtocolPassThroughTLVs.Builder clearMatchType()
The strategy to pass through TLVs. Default is INCLUDE_ALL. If INCLUDE_ALL is set, all TLVs will be passed through no matter the tlv_type field.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType match_type = 1;- Returns:
- This builder for chaining.
-
getTlvTypeList
public List<Integer> getTlvTypeList()
The TLV types that are applied based on match_type. TLV type is defined as uint8_t in proxy protocol. See `the spec <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>`_ for details.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }- Specified by:
getTlvTypeListin interfaceProxyProtocolPassThroughTLVsOrBuilder- Returns:
- A list containing the tlvType.
-
getTlvTypeCount
public int getTlvTypeCount()
The TLV types that are applied based on match_type. TLV type is defined as uint8_t in proxy protocol. See `the spec <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>`_ for details.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }- Specified by:
getTlvTypeCountin interfaceProxyProtocolPassThroughTLVsOrBuilder- Returns:
- The count of tlvType.
-
getTlvType
public int getTlvType(int index)
The TLV types that are applied based on match_type. TLV type is defined as uint8_t in proxy protocol. See `the spec <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>`_ for details.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }- Specified by:
getTlvTypein interfaceProxyProtocolPassThroughTLVsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tlvType at the given index.
-
setTlvType
public ProxyProtocolPassThroughTLVs.Builder setTlvType(int index, int value)
The TLV types that are applied based on match_type. TLV type is defined as uint8_t in proxy protocol. See `the spec <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>`_ for details.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }- Parameters:
index- The index to set the value at.value- The tlvType to set.- Returns:
- This builder for chaining.
-
addTlvType
public ProxyProtocolPassThroughTLVs.Builder addTlvType(int value)
The TLV types that are applied based on match_type. TLV type is defined as uint8_t in proxy protocol. See `the spec <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>`_ for details.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }- Parameters:
value- The tlvType to add.- Returns:
- This builder for chaining.
-
addAllTlvType
public ProxyProtocolPassThroughTLVs.Builder addAllTlvType(Iterable<? extends Integer> values)
The TLV types that are applied based on match_type. TLV type is defined as uint8_t in proxy protocol. See `the spec <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>`_ for details.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }- Parameters:
values- The tlvType to add.- Returns:
- This builder for chaining.
-
clearTlvType
public ProxyProtocolPassThroughTLVs.Builder clearTlvType()
The TLV types that are applied based on match_type. TLV type is defined as uint8_t in proxy protocol. See `the spec <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>`_ for details.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setUnknownFields
public final ProxyProtocolPassThroughTLVs.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
mergeUnknownFields
public final ProxyProtocolPassThroughTLVs.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProxyProtocolPassThroughTLVs.Builder>
-
-