Class 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 type envoy.api.v2.core.BindConfig
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • clear

        public BindConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • getDefaultInstanceForType

        public BindConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BindConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BindConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public BindConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • setField

        public BindConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • clearField

        public BindConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • clearOneof

        public BindConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • setRepeatedField

        public BindConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • addRepeatedField

        public BindConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • mergeFrom

        public BindConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BindConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BindConfig.Builder>
        Throws:
        IOException
      • 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:
        hasSourceAddress in interface BindConfigOrBuilder
        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:
        getSourceAddress in interface BindConfigOrBuilder
        Returns:
        The sourceAddress.
      • setSourceAddress

        public BindConfig.Builder setSourceAddress​(SocketAddress value)
         The address to bind to when creating a socket.
         
        .envoy.api.v2.core.SocketAddress source_address = 1 [(.validate.rules) = { ... }
      • setSourceAddress

        public BindConfig.Builder setSourceAddress​(SocketAddress.Builder builderForValue)
         The address to bind to when creating a socket.
         
        .envoy.api.v2.core.SocketAddress source_address = 1 [(.validate.rules) = { ... }
      • mergeSourceAddress

        public BindConfig.Builder mergeSourceAddress​(SocketAddress value)
         The address to bind to when creating a socket.
         
        .envoy.api.v2.core.SocketAddress source_address = 1 [(.validate.rules) = { ... }
      • clearSourceAddress

        public BindConfig.Builder clearSourceAddress()
         The address to bind to when creating a socket.
         
        .envoy.api.v2.core.SocketAddress source_address = 1 [(.validate.rules) = { ... }
      • getSourceAddressBuilder

        public SocketAddress.Builder getSourceAddressBuilder()
         The address to bind to when creating a socket.
         
        .envoy.api.v2.core.SocketAddress source_address = 1 [(.validate.rules) = { ... }
      • 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:
        hasFreebind in interface BindConfigOrBuilder
        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:
        getFreebind in interface BindConfigOrBuilder
        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_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;
      • 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_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;
      • 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_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;
      • 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_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;
      • 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_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;
      • 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:
        getFreebindOrBuilder in interface BindConfigOrBuilder
      • 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:
        getSocketOptionsList in interface BindConfigOrBuilder
      • 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:
        getSocketOptionsCount in interface BindConfigOrBuilder
      • 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:
        getSocketOptions in interface BindConfigOrBuilder
      • 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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.SocketOption socket_options = 3;
        Specified by:
        getSocketOptionsOrBuilder in interface BindConfigOrBuilder
      • addSocketOptionsBuilder

        public SocketOption.Builder addSocketOptionsBuilder()
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.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.api.v2.core.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.api.v2.core.SocketOption socket_options = 3;
      • setUnknownFields

        public final BindConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>
      • mergeUnknownFields

        public final BindConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BindConfig.Builder>