Class BindConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
-
- io.envoyproxy.envoy.config.core.v3.BindConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BindConfigOrBuilder,Cloneable
- Enclosing class:
- BindConfig
public static final class BindConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder> implements BindConfigOrBuilder
Protobuf typeenvoy.config.core.v3.BindConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BindConfig.BuilderaddAllSocketOptions(Iterable<? extends SocketOption> values)Additional socket options that may not be present in Envoy source code or precompiled binaries.BindConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BindConfig.BuilderaddSocketOptions(int index, SocketOption value)Additional socket options that may not be present in Envoy source code or precompiled binaries.BindConfig.BuilderaddSocketOptions(int index, SocketOption.Builder builderForValue)Additional socket options that may not be present in Envoy source code or precompiled binaries.BindConfig.BuilderaddSocketOptions(SocketOption value)Additional socket options that may not be present in Envoy source code or precompiled binaries.BindConfig.BuilderaddSocketOptions(SocketOption.Builder builderForValue)Additional socket options that may not be present in Envoy source code or precompiled binaries.SocketOption.BuilderaddSocketOptionsBuilder()Additional socket options that may not be present in Envoy source code or precompiled binaries.SocketOption.BuilderaddSocketOptionsBuilder(int index)Additional socket options that may not be present in Envoy source code or precompiled binaries.BindConfigbuild()BindConfigbuildPartial()BindConfig.Builderclear()BindConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BindConfig.BuilderclearFreebind()Whether to set the ``IP_FREEBIND`` option when creating the socket.BindConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BindConfig.BuilderclearSocketOptions()Additional socket options that may not be present in Envoy source code or precompiled binaries.BindConfig.BuilderclearSourceAddress()The address to bind to when creating a socket.BindConfig.Builderclone()BindConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.BoolValuegetFreebind()Whether to set the ``IP_FREEBIND`` option when creating the socket.com.google.protobuf.BoolValue.BuildergetFreebindBuilder()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.SocketOptiongetSocketOptions(int index)Additional socket options that may not be present in Envoy source code or precompiled binaries.SocketOption.BuildergetSocketOptionsBuilder(int index)Additional socket options that may not be present in Envoy source code or precompiled binaries.List<SocketOption.Builder>getSocketOptionsBuilderList()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.SocketAddress.BuildergetSourceAddressBuilder()The address to bind to when creating a socket.SocketAddressOrBuildergetSourceAddressOrBuilder()The address to bind to when creating a socket.booleanhasFreebind()Whether to set the ``IP_FREEBIND`` option when creating the socket.booleanhasSourceAddress()The address to bind to when creating a socket.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BindConfig.BuildermergeFreebind(com.google.protobuf.BoolValue value)Whether to set the ``IP_FREEBIND`` option when creating the socket.BindConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BindConfig.BuildermergeFrom(com.google.protobuf.Message other)BindConfig.BuildermergeFrom(BindConfig other)BindConfig.BuildermergeSourceAddress(SocketAddress value)The address to bind to when creating a socket.BindConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BindConfig.BuilderremoveSocketOptions(int index)Additional socket options that may not be present in Envoy source code or precompiled binaries.BindConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BindConfig.BuildersetFreebind(com.google.protobuf.BoolValue value)Whether to set the ``IP_FREEBIND`` option when creating the socket.BindConfig.BuildersetFreebind(com.google.protobuf.BoolValue.Builder builderForValue)Whether to set the ``IP_FREEBIND`` option when creating the socket.BindConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BindConfig.BuildersetSocketOptions(int index, SocketOption value)Additional socket options that may not be present in Envoy source code or precompiled binaries.BindConfig.BuildersetSocketOptions(int index, SocketOption.Builder builderForValue)Additional socket options that may not be present in Envoy source code or precompiled binaries.BindConfig.BuildersetSourceAddress(SocketAddress value)The address to bind to when creating a socket.BindConfig.BuildersetSourceAddress(SocketAddress.Builder builderForValue)The address to bind to when creating a socket.BindConfig.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<BindConfig.Builder>
-
clear
public BindConfig.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<BindConfig.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<BindConfig.Builder>
-
getDefaultInstanceForType
public BindConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BindConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BindConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BindConfig.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<BindConfig.Builder>
-
setField
public BindConfig.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<BindConfig.Builder>
-
clearField
public BindConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
-
clearOneof
public BindConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
-
setRepeatedField
public BindConfig.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<BindConfig.Builder>
-
addRepeatedField
public BindConfig.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<BindConfig.Builder>
-
mergeFrom
public BindConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BindConfig.Builder>
-
mergeFrom
public BindConfig.Builder mergeFrom(BindConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
-
mergeFrom
public BindConfig.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<BindConfig.Builder>- Throws:
IOException
-
hasSourceAddress
public boolean hasSourceAddress()
The address to bind to when creating a socket.
.envoy.config.core.v3.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.config.core.v3.SocketAddress source_address = 1 [(.validate.rules) = { ... }- Specified by:
getSourceAddressin interfaceBindConfigOrBuilder- Returns:
- The sourceAddress.
-
setSourceAddress
public BindConfig.Builder setSourceAddress(SocketAddress value)
The address to bind to when creating a socket.
.envoy.config.core.v3.SocketAddress source_address = 1 [(.validate.rules) = { ... }
-
setSourceAddress
public BindConfig.Builder setSourceAddress(SocketAddress.Builder builderForValue)
The address to bind to when creating a socket.
.envoy.config.core.v3.SocketAddress source_address = 1 [(.validate.rules) = { ... }
-
mergeSourceAddress
public BindConfig.Builder mergeSourceAddress(SocketAddress value)
The address to bind to when creating a socket.
.envoy.config.core.v3.SocketAddress source_address = 1 [(.validate.rules) = { ... }
-
clearSourceAddress
public BindConfig.Builder clearSourceAddress()
The address to bind to when creating a socket.
.envoy.config.core.v3.SocketAddress source_address = 1 [(.validate.rules) = { ... }
-
getSourceAddressBuilder
public SocketAddress.Builder getSourceAddressBuilder()
The address to bind to when creating a socket.
.envoy.config.core.v3.SocketAddress source_address = 1 [(.validate.rules) = { ... }
-
getSourceAddressOrBuilder
public SocketAddressOrBuilder getSourceAddressOrBuilder()
The address to bind to when creating a socket.
.envoy.config.core.v3.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_v3_api_field_config.cluster.v3.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_v3_api_field_config.cluster.v3.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.
-
setFreebind
public BindConfig.Builder setFreebind(com.google.protobuf.BoolValue value)
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.cluster.v3.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;
-
setFreebind
public BindConfig.Builder setFreebind(com.google.protobuf.BoolValue.Builder builderForValue)
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.cluster.v3.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;
-
mergeFreebind
public BindConfig.Builder mergeFreebind(com.google.protobuf.BoolValue value)
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.cluster.v3.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;
-
clearFreebind
public BindConfig.Builder clearFreebind()
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.cluster.v3.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;
-
getFreebindBuilder
public com.google.protobuf.BoolValue.Builder getFreebindBuilder()
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.cluster.v3.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;
-
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.cluster.v3.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.config.core.v3.SocketOption socket_options = 3;- Specified by:
getSocketOptionsListin 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
public SocketOption getSocketOptions(int index)
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
-
setSocketOptions
public BindConfig.Builder setSocketOptions(int index, SocketOption value)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
setSocketOptions
public BindConfig.Builder setSocketOptions(int index, SocketOption.Builder builderForValue)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
addSocketOptions
public BindConfig.Builder addSocketOptions(SocketOption value)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
addSocketOptions
public BindConfig.Builder addSocketOptions(int index, SocketOption value)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
addSocketOptions
public BindConfig.Builder addSocketOptions(SocketOption.Builder builderForValue)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
addSocketOptions
public BindConfig.Builder addSocketOptions(int index, SocketOption.Builder builderForValue)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
addAllSocketOptions
public BindConfig.Builder addAllSocketOptions(Iterable<? extends SocketOption> values)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
clearSocketOptions
public BindConfig.Builder clearSocketOptions()
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
removeSocketOptions
public BindConfig.Builder removeSocketOptions(int index)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
getSocketOptionsBuilder
public SocketOption.Builder getSocketOptionsBuilder(int index)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
getSocketOptionsOrBuilder
public SocketOptionOrBuilder getSocketOptionsOrBuilder(int index)
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
-
getSocketOptionsOrBuilderList
public List<? extends SocketOptionOrBuilder> 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
-
addSocketOptionsBuilder
public SocketOption.Builder addSocketOptionsBuilder()
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
addSocketOptionsBuilder
public SocketOption.Builder addSocketOptionsBuilder(int index)
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
getSocketOptionsBuilderList
public List<SocketOption.Builder> getSocketOptionsBuilderList()
Additional socket options that may not be present in Envoy source code or precompiled binaries.
repeated .envoy.config.core.v3.SocketOption socket_options = 3;
-
setUnknownFields
public final BindConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
-
mergeUnknownFields
public final BindConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
-
-