Package io.envoyproxy.envoy.api.v2.core
Class BindConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.core.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.GeneratedMessageV3 implements BindConfigOrBuilder
Protobuf typeenvoy.api.v2.core.BindConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBindConfig.BuilderProtobuf typeenvoy.api.v2.core.BindConfig-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFREEBIND_FIELD_NUMBERstatic intSOCKET_OPTIONS_FIELD_NUMBERstatic intSOURCE_ADDRESS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static BindConfiggetDefaultInstance()BindConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.BoolValuegetFreebind()Whether to set the *IP_FREEBIND* option when creating the socket.com.google.protobuf.BoolValueOrBuildergetFreebindOrBuilder()Whether to set the *IP_FREEBIND* option when creating the socket.com.google.protobuf.Parser<BindConfig>getParserForType()intgetSerializedSize()SocketOptiongetSocketOptions(int index)Additional socket options that may not be present in Envoy source code or precompiled binaries.intgetSocketOptionsCount()Additional socket options that may not be present in Envoy source code or precompiled binaries.List<SocketOption>getSocketOptionsList()Additional socket options that may not be present in Envoy source code or precompiled binaries.SocketOptionOrBuildergetSocketOptionsOrBuilder(int index)Additional socket options that may not be present in Envoy source code or precompiled binaries.List<? extends SocketOptionOrBuilder>getSocketOptionsOrBuilderList()Additional socket options that may not be present in Envoy source code or precompiled binaries.SocketAddressgetSourceAddress()The address to bind to when creating a socket.SocketAddressOrBuildergetSourceAddressOrBuilder()The address to bind to when creating a socket.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasFreebind()Whether to set the *IP_FREEBIND* option when creating the socket.inthashCode()booleanhasSourceAddress()The address to bind to when creating a socket.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static BindConfig.BuildernewBuilder()static BindConfig.BuildernewBuilder(BindConfig prototype)BindConfig.BuildernewBuilderForType()protected BindConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()BindConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SOURCE_ADDRESS_FIELD_NUMBER
public static final int SOURCE_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FREEBIND_FIELD_NUMBER
public static final int FREEBIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOCKET_OPTIONS_FIELD_NUMBER
public static final int SOCKET_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasSourceAddress
public boolean hasSourceAddress()
The address to bind to when creating a socket.
.envoy.api.v2.core.SocketAddress source_address = 1 [(.validate.rules) = { ... }- Specified by:
hasSourceAddressin interfaceBindConfigOrBuilder- Returns:
- Whether the sourceAddress field is set.
-
getSourceAddress
public SocketAddress getSourceAddress()
The address to bind to when creating a socket.
.envoy.api.v2.core.SocketAddress source_address = 1 [(.validate.rules) = { ... }- Specified by:
getSourceAddressin interfaceBindConfigOrBuilder- Returns:
- The sourceAddress.
-
getSourceAddressOrBuilder
public SocketAddressOrBuilder getSourceAddressOrBuilder()
The address to bind to when creating a socket.
.envoy.api.v2.core.SocketAddress source_address = 1 [(.validate.rules) = { ... }- 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_api_field_UpstreamBindConfig.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_api_field_UpstreamBindConfig.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_api_field_UpstreamBindConfig.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
public List<SocketOption> getSocketOptionsList()
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.api.v2.core.SocketOption socket_options = 3;- Specified by:
getSocketOptionsListin interfaceBindConfigOrBuilder
-
getSocketOptionsOrBuilderList
public List<? extends SocketOptionOrBuilder> getSocketOptionsOrBuilderList()
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.api.v2.core.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.api.v2.core.SocketOption socket_options = 3;- Specified by:
getSocketOptionsCountin interfaceBindConfigOrBuilder
-
getSocketOptions
public SocketOption getSocketOptions(int index)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.api.v2.core.SocketOption socket_options = 3;- Specified by:
getSocketOptionsin interfaceBindConfigOrBuilder
-
getSocketOptionsOrBuilder
public SocketOptionOrBuilder getSocketOptionsOrBuilder(int index)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.api.v2.core.SocketOption socket_options = 3;- Specified by:
getSocketOptionsOrBuilderin interfaceBindConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static BindConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BindConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BindConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BindConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static BindConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BindConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public BindConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BindConfig.Builder newBuilder()
-
newBuilder
public static BindConfig.Builder newBuilder(BindConfig prototype)
-
toBuilder
public BindConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BindConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BindConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BindConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<BindConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BindConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-