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.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
private List
<SocketAddress> private int
private static final BindConfig
static final int
private List
<ExtraSourceAddress> private com.google.protobuf.BoolValue
static final int
static final int
private TypedExtensionConfig
private byte
private static final com.google.protobuf.Parser
<BindConfig> private static final long
static final int
private List
<SocketOption> static final int
private SocketAddress
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
BindConfig
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAdditionalSourceAddresses
(int index) Deprecated.int
Deprecated.Deprecated.getAdditionalSourceAddressesOrBuilder
(int index) Deprecated.List
<? extends SocketAddressOrBuilder> Deprecated.static BindConfig
static final com.google.protobuf.Descriptors.Descriptor
getExtraSourceAddresses
(int index) Extra source addresses appended to the address specified in the ``source_address`` field.int
Extra 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.BoolValue
Whether to set the ``IP_FREEBIND`` option when creating the socket.com.google.protobuf.BoolValueOrBuilder
Whether 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> int
getSocketOptions
(int index) Additional socket options that may not be present in Envoy source code or precompiled binaries.int
Additional 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.boolean
Whether to set the ``IP_FREEBIND`` option when creating the socket.int
hashCode()
boolean
Custom local address selector to override the default (i.e.boolean
The address to bind to when creating a socket.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
static BindConfig.Builder
static BindConfig.Builder
newBuilder
(BindConfig prototype) protected BindConfig.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static BindConfig
parseDelimitedFrom
(InputStream input) static BindConfig
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfig
parseFrom
(byte[] data) static BindConfig
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfig
parseFrom
(com.google.protobuf.ByteString data) static BindConfig
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfig
parseFrom
(com.google.protobuf.CodedInputStream input) static BindConfig
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfig
parseFrom
(InputStream input) static BindConfig
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BindConfig
parseFrom
(ByteBuffer data) static BindConfig
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<BindConfig> parser()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
internalGetFieldAccessorTable
in 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:
hasSourceAddress
in 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:
getSourceAddress
in interfaceBindConfigOrBuilder
- Returns:
- The sourceAddress.
-
getSourceAddressOrBuilder
The address to bind to when creating a socket.
.envoy.config.core.v3.SocketAddress source_address = 1;
- Specified by:
getSourceAddressOrBuilder
in 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:
hasFreebind
in 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:
getFreebind
in 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:
getFreebindOrBuilder
in 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:
getSocketOptionsList
in 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:
getSocketOptionsOrBuilderList
in 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:
getSocketOptionsCount
in 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:
getSocketOptions
in 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:
getSocketOptionsOrBuilder
in 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:
getExtraSourceAddressesList
in 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:
getExtraSourceAddressesOrBuilderList
in 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:
getExtraSourceAddressesCount
in 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:
getExtraSourceAddresses
in 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:
getExtraSourceAddressesOrBuilder
in 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:
getAdditionalSourceAddressesList
in 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:
getAdditionalSourceAddressesOrBuilderList
in 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:
getAdditionalSourceAddressesCount
in 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:
getAdditionalSourceAddresses
in 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:
getAdditionalSourceAddressesOrBuilder
in 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:
hasLocalAddressSelector
in 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:
getLocalAddressSelector
in 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:
getLocalAddressSelectorOrBuilder
in interfaceBindConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BindConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-