Class BindConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.core.v3.BindConfig
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BindConfigOrBuilder,Serializable
public final class BindConfig
extends com.google.protobuf.GeneratedMessage
implements BindConfigOrBuilder
[#next-free-field: 7]Protobuf type
envoy.config.core.v3.BindConfig- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate List<SocketAddress> private intprivate static final BindConfigstatic final intprivate List<ExtraSourceAddress> private com.google.protobuf.BoolValuestatic final intstatic final intprivate TypedExtensionConfigprivate byteprivate static final com.google.protobuf.Parser<BindConfig> private static final longstatic final intprivate List<SocketOption> static final intprivate SocketAddressFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateBindConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAdditionalSourceAddresses(int index) Deprecated.intDeprecated.Deprecated.getAdditionalSourceAddressesOrBuilder(int index) Deprecated.List<? extends SocketAddressOrBuilder> Deprecated.static BindConfigstatic final com.google.protobuf.Descriptors.DescriptorgetExtraSourceAddresses(int index) Extra source addresses appended to the address specified in the ``source_address`` field.intExtra source addresses appended to the address specified in the ``source_address`` field.Extra source addresses appended to the address specified in the ``source_address`` field.getExtraSourceAddressesOrBuilder(int index) Extra source addresses appended to the address specified in the ``source_address`` field.List<? extends ExtraSourceAddressOrBuilder> Extra source addresses appended to the address specified in the ``source_address`` field.com.google.protobuf.BoolValueWhether to set the ``IP_FREEBIND`` option when creating the socket.com.google.protobuf.BoolValueOrBuilderWhether to set the ``IP_FREEBIND`` option when creating the socket.Custom local address selector to override the default (i.e.Custom local address selector to override the default (i.e.com.google.protobuf.Parser<BindConfig> intgetSocketOptions(int index) Additional socket options that may not be present in Envoy source code or precompiled binaries.intAdditional socket options that may not be present in Envoy source code or precompiled binaries.Additional socket options that may not be present in Envoy source code or precompiled binaries.getSocketOptionsOrBuilder(int index) Additional socket options that may not be present in Envoy source code or precompiled binaries.List<? extends SocketOptionOrBuilder> Additional socket options that may not be present in Envoy source code or precompiled binaries.The address to bind to when creating a socket.The address to bind to when creating a socket.booleanWhether to set the ``IP_FREEBIND`` option when creating the socket.inthashCode()booleanCustom local address selector to override the default (i.e.booleanThe address to bind to when creating a socket.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic BindConfig.Builderstatic BindConfig.BuildernewBuilder(BindConfig prototype) protected BindConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BindConfigparseDelimitedFrom(InputStream input) static BindConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfigparseFrom(byte[] data) static BindConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfigparseFrom(com.google.protobuf.ByteString data) static BindConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfigparseFrom(com.google.protobuf.CodedInputStream input) static BindConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfigparseFrom(InputStream input) static BindConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfigparseFrom(ByteBuffer data) static BindConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BindConfig> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
SOURCE_ADDRESS_FIELD_NUMBER
public static final int SOURCE_ADDRESS_FIELD_NUMBER- See Also:
-
sourceAddress_
-
FREEBIND_FIELD_NUMBER
public static final int FREEBIND_FIELD_NUMBER- See Also:
-
freebind_
private com.google.protobuf.BoolValue freebind_ -
SOCKET_OPTIONS_FIELD_NUMBER
public static final int SOCKET_OPTIONS_FIELD_NUMBER- See Also:
-
socketOptions_
-
EXTRA_SOURCE_ADDRESSES_FIELD_NUMBER
public static final int EXTRA_SOURCE_ADDRESSES_FIELD_NUMBER- See Also:
-
extraSourceAddresses_
-
ADDITIONAL_SOURCE_ADDRESSES_FIELD_NUMBER
public static final int ADDITIONAL_SOURCE_ADDRESSES_FIELD_NUMBER- See Also:
-
additionalSourceAddresses_
-
LOCAL_ADDRESS_SELECTOR_FIELD_NUMBER
public static final int LOCAL_ADDRESS_SELECTOR_FIELD_NUMBER- See Also:
-
localAddressSelector_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
BindConfig
private BindConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
BindConfig
private BindConfig()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasSourceAddress
public boolean hasSourceAddress()The address to bind to when creating a socket.
.envoy.config.core.v3.SocketAddress source_address = 1;- Specified by:
hasSourceAddressin interfaceBindConfigOrBuilder- Returns:
- Whether the sourceAddress field is set.
-
getSourceAddress
The address to bind to when creating a socket.
.envoy.config.core.v3.SocketAddress source_address = 1;- Specified by:
getSourceAddressin interfaceBindConfigOrBuilder- Returns:
- The sourceAddress.
-
getSourceAddressOrBuilder
The address to bind to when creating a socket.
.envoy.config.core.v3.SocketAddress source_address = 1;- Specified by:
getSourceAddressOrBuilderin interfaceBindConfigOrBuilder
-
hasFreebind
public boolean hasFreebind()Whether to set the ``IP_FREEBIND`` option when creating the socket. When this flag is set to true, allows the :ref:`source_address <envoy_v3_api_field_config.core.v3.BindConfig.source_address>` to be an IP address that is not configured on the system running Envoy. When this flag is set to false, the option ``IP_FREEBIND`` is disabled on the socket. When this flag is not set (default), the socket is not modified, i.e. the option is neither enabled nor disabled.
.google.protobuf.BoolValue freebind = 2;- Specified by:
hasFreebindin interfaceBindConfigOrBuilder- Returns:
- Whether the freebind field is set.
-
getFreebind
public com.google.protobuf.BoolValue getFreebind()Whether to set the ``IP_FREEBIND`` option when creating the socket. When this flag is set to true, allows the :ref:`source_address <envoy_v3_api_field_config.core.v3.BindConfig.source_address>` to be an IP address that is not configured on the system running Envoy. When this flag is set to false, the option ``IP_FREEBIND`` is disabled on the socket. When this flag is not set (default), the socket is not modified, i.e. the option is neither enabled nor disabled.
.google.protobuf.BoolValue freebind = 2;- Specified by:
getFreebindin interfaceBindConfigOrBuilder- Returns:
- The freebind.
-
getFreebindOrBuilder
public com.google.protobuf.BoolValueOrBuilder getFreebindOrBuilder()Whether to set the ``IP_FREEBIND`` option when creating the socket. When this flag is set to true, allows the :ref:`source_address <envoy_v3_api_field_config.core.v3.BindConfig.source_address>` to be an IP address that is not configured on the system running Envoy. When this flag is set to false, the option ``IP_FREEBIND`` is disabled on the socket. When this flag is not set (default), the socket is not modified, i.e. the option is neither enabled nor disabled.
.google.protobuf.BoolValue freebind = 2;- Specified by:
getFreebindOrBuilderin interfaceBindConfigOrBuilder
-
getSocketOptionsList
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;- Specified by:
getSocketOptionsListin interfaceBindConfigOrBuilder
-
getSocketOptionsOrBuilderList
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;- Specified by:
getSocketOptionsOrBuilderListin interfaceBindConfigOrBuilder
-
getSocketOptionsCount
public int getSocketOptionsCount()Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;- Specified by:
getSocketOptionsCountin interfaceBindConfigOrBuilder
-
getSocketOptions
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;- Specified by:
getSocketOptionsin interfaceBindConfigOrBuilder
-
getSocketOptionsOrBuilder
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;- Specified by:
getSocketOptionsOrBuilderin interfaceBindConfigOrBuilder
-
getExtraSourceAddressesList
Extra source addresses appended to the address specified in the ``source_address`` field. This enables to specify multiple source addresses. The source address selection is determined by :ref:`local_address_selector <envoy_v3_api_field_config.core.v3.BindConfig.local_address_selector>`.
repeated .envoy.config.core.v3.ExtraSourceAddress extra_source_addresses = 5;- Specified by:
getExtraSourceAddressesListin interfaceBindConfigOrBuilder
-
getExtraSourceAddressesOrBuilderList
Extra source addresses appended to the address specified in the ``source_address`` field. This enables to specify multiple source addresses. The source address selection is determined by :ref:`local_address_selector <envoy_v3_api_field_config.core.v3.BindConfig.local_address_selector>`.
repeated .envoy.config.core.v3.ExtraSourceAddress extra_source_addresses = 5;- Specified by:
getExtraSourceAddressesOrBuilderListin interfaceBindConfigOrBuilder
-
getExtraSourceAddressesCount
public int getExtraSourceAddressesCount()Extra source addresses appended to the address specified in the ``source_address`` field. This enables to specify multiple source addresses. The source address selection is determined by :ref:`local_address_selector <envoy_v3_api_field_config.core.v3.BindConfig.local_address_selector>`.
repeated .envoy.config.core.v3.ExtraSourceAddress extra_source_addresses = 5;- Specified by:
getExtraSourceAddressesCountin interfaceBindConfigOrBuilder
-
getExtraSourceAddresses
Extra source addresses appended to the address specified in the ``source_address`` field. This enables to specify multiple source addresses. The source address selection is determined by :ref:`local_address_selector <envoy_v3_api_field_config.core.v3.BindConfig.local_address_selector>`.
repeated .envoy.config.core.v3.ExtraSourceAddress extra_source_addresses = 5;- Specified by:
getExtraSourceAddressesin interfaceBindConfigOrBuilder
-
getExtraSourceAddressesOrBuilder
Extra source addresses appended to the address specified in the ``source_address`` field. This enables to specify multiple source addresses. The source address selection is determined by :ref:`local_address_selector <envoy_v3_api_field_config.core.v3.BindConfig.local_address_selector>`.
repeated .envoy.config.core.v3.ExtraSourceAddress extra_source_addresses = 5;- Specified by:
getExtraSourceAddressesOrBuilderin interfaceBindConfigOrBuilder
-
getAdditionalSourceAddressesList
Deprecated.Deprecated by :ref:`extra_source_addresses <envoy_v3_api_field_config.core.v3.BindConfig.extra_source_addresses>`
repeated .envoy.config.core.v3.SocketAddress additional_source_addresses = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getAdditionalSourceAddressesListin interfaceBindConfigOrBuilder
-
getAdditionalSourceAddressesOrBuilderList
@Deprecated public List<? extends SocketAddressOrBuilder> getAdditionalSourceAddressesOrBuilderList()Deprecated.Deprecated by :ref:`extra_source_addresses <envoy_v3_api_field_config.core.v3.BindConfig.extra_source_addresses>`
repeated .envoy.config.core.v3.SocketAddress additional_source_addresses = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getAdditionalSourceAddressesOrBuilderListin interfaceBindConfigOrBuilder
-
getAdditionalSourceAddressesCount
Deprecated.Deprecated by :ref:`extra_source_addresses <envoy_v3_api_field_config.core.v3.BindConfig.extra_source_addresses>`
repeated .envoy.config.core.v3.SocketAddress additional_source_addresses = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getAdditionalSourceAddressesCountin interfaceBindConfigOrBuilder
-
getAdditionalSourceAddresses
Deprecated.Deprecated by :ref:`extra_source_addresses <envoy_v3_api_field_config.core.v3.BindConfig.extra_source_addresses>`
repeated .envoy.config.core.v3.SocketAddress additional_source_addresses = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getAdditionalSourceAddressesin interfaceBindConfigOrBuilder
-
getAdditionalSourceAddressesOrBuilder
Deprecated.Deprecated by :ref:`extra_source_addresses <envoy_v3_api_field_config.core.v3.BindConfig.extra_source_addresses>`
repeated .envoy.config.core.v3.SocketAddress additional_source_addresses = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getAdditionalSourceAddressesOrBuilderin interfaceBindConfigOrBuilder
-
hasLocalAddressSelector
public boolean hasLocalAddressSelector()Custom local address selector to override the default (i.e. :ref:`DefaultLocalAddressSelector <envoy_v3_api_msg_config.upstream.local_address_selector.v3.DefaultLocalAddressSelector>`). [#extension-category: envoy.upstream.local_address_selector]
.envoy.config.core.v3.TypedExtensionConfig local_address_selector = 6;- Specified by:
hasLocalAddressSelectorin interfaceBindConfigOrBuilder- Returns:
- Whether the localAddressSelector field is set.
-
getLocalAddressSelector
Custom local address selector to override the default (i.e. :ref:`DefaultLocalAddressSelector <envoy_v3_api_msg_config.upstream.local_address_selector.v3.DefaultLocalAddressSelector>`). [#extension-category: envoy.upstream.local_address_selector]
.envoy.config.core.v3.TypedExtensionConfig local_address_selector = 6;- Specified by:
getLocalAddressSelectorin interfaceBindConfigOrBuilder- Returns:
- The localAddressSelector.
-
getLocalAddressSelectorOrBuilder
Custom local address selector to override the default (i.e. :ref:`DefaultLocalAddressSelector <envoy_v3_api_msg_config.upstream.local_address_selector.v3.DefaultLocalAddressSelector>`). [#extension-category: envoy.upstream.local_address_selector]
.envoy.config.core.v3.TypedExtensionConfig local_address_selector = 6;- Specified by:
getLocalAddressSelectorOrBuilderin interfaceBindConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BindConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BindConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BindConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BindConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BindConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BindConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BindConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BindConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BindConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BindConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-