Class EnvoyInternalAddress.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, EnvoyInternalAddressOrBuilder, java.lang.Cloneable
    Enclosing class:
    EnvoyInternalAddress

    public static final class EnvoyInternalAddress.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<EnvoyInternalAddress.Builder>
    implements EnvoyInternalAddressOrBuilder
     The address represents an envoy internal listener.
     [#comment: TODO(asraa): When address available, remove workaround from test/server/server_fuzz_test.cc:30.]
     
    Protobuf type envoy.config.core.v3.EnvoyInternalAddress
    • Field Detail

      • addressNameSpecifierCase_

        private int addressNameSpecifierCase_
      • addressNameSpecifier_

        private java.lang.Object addressNameSpecifier_
      • bitField0_

        private int bitField0_
      • endpointId_

        private java.lang.Object endpointId_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

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

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

        public EnvoyInternalAddress.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.GeneratedMessage.Builder<EnvoyInternalAddress.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.GeneratedMessage.Builder<EnvoyInternalAddress.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EnvoyInternalAddress.Builder>
      • mergeFrom

        public EnvoyInternalAddress.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.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<EnvoyInternalAddress.Builder>
        Throws:
        java.io.IOException
      • hasServerListenerName

        public boolean hasServerListenerName()
         Specifies the :ref:`name <envoy_v3_api_field_config.listener.v3.Listener.name>` of the
         internal listener.
         
        string server_listener_name = 1;
        Specified by:
        hasServerListenerName in interface EnvoyInternalAddressOrBuilder
        Returns:
        Whether the serverListenerName field is set.
      • getServerListenerName

        public java.lang.String getServerListenerName()
         Specifies the :ref:`name <envoy_v3_api_field_config.listener.v3.Listener.name>` of the
         internal listener.
         
        string server_listener_name = 1;
        Specified by:
        getServerListenerName in interface EnvoyInternalAddressOrBuilder
        Returns:
        The serverListenerName.
      • getServerListenerNameBytes

        public com.google.protobuf.ByteString getServerListenerNameBytes()
         Specifies the :ref:`name <envoy_v3_api_field_config.listener.v3.Listener.name>` of the
         internal listener.
         
        string server_listener_name = 1;
        Specified by:
        getServerListenerNameBytes in interface EnvoyInternalAddressOrBuilder
        Returns:
        The bytes for serverListenerName.
      • setServerListenerName

        public EnvoyInternalAddress.Builder setServerListenerName​(java.lang.String value)
         Specifies the :ref:`name <envoy_v3_api_field_config.listener.v3.Listener.name>` of the
         internal listener.
         
        string server_listener_name = 1;
        Parameters:
        value - The serverListenerName to set.
        Returns:
        This builder for chaining.
      • clearServerListenerName

        public EnvoyInternalAddress.Builder clearServerListenerName()
         Specifies the :ref:`name <envoy_v3_api_field_config.listener.v3.Listener.name>` of the
         internal listener.
         
        string server_listener_name = 1;
        Returns:
        This builder for chaining.
      • setServerListenerNameBytes

        public EnvoyInternalAddress.Builder setServerListenerNameBytes​(com.google.protobuf.ByteString value)
         Specifies the :ref:`name <envoy_v3_api_field_config.listener.v3.Listener.name>` of the
         internal listener.
         
        string server_listener_name = 1;
        Parameters:
        value - The bytes for serverListenerName to set.
        Returns:
        This builder for chaining.
      • getEndpointId

        public java.lang.String getEndpointId()
         Specifies an endpoint identifier to distinguish between multiple endpoints for the same internal listener in a
         single upstream pool. Only used in the upstream addresses for tracking changes to individual endpoints. This, for
         example, may be set to the final destination IP for the target internal listener.
         
        string endpoint_id = 2;
        Specified by:
        getEndpointId in interface EnvoyInternalAddressOrBuilder
        Returns:
        The endpointId.
      • getEndpointIdBytes

        public com.google.protobuf.ByteString getEndpointIdBytes()
         Specifies an endpoint identifier to distinguish between multiple endpoints for the same internal listener in a
         single upstream pool. Only used in the upstream addresses for tracking changes to individual endpoints. This, for
         example, may be set to the final destination IP for the target internal listener.
         
        string endpoint_id = 2;
        Specified by:
        getEndpointIdBytes in interface EnvoyInternalAddressOrBuilder
        Returns:
        The bytes for endpointId.
      • setEndpointId

        public EnvoyInternalAddress.Builder setEndpointId​(java.lang.String value)
         Specifies an endpoint identifier to distinguish between multiple endpoints for the same internal listener in a
         single upstream pool. Only used in the upstream addresses for tracking changes to individual endpoints. This, for
         example, may be set to the final destination IP for the target internal listener.
         
        string endpoint_id = 2;
        Parameters:
        value - The endpointId to set.
        Returns:
        This builder for chaining.
      • clearEndpointId

        public EnvoyInternalAddress.Builder clearEndpointId()
         Specifies an endpoint identifier to distinguish between multiple endpoints for the same internal listener in a
         single upstream pool. Only used in the upstream addresses for tracking changes to individual endpoints. This, for
         example, may be set to the final destination IP for the target internal listener.
         
        string endpoint_id = 2;
        Returns:
        This builder for chaining.
      • setEndpointIdBytes

        public EnvoyInternalAddress.Builder setEndpointIdBytes​(com.google.protobuf.ByteString value)
         Specifies an endpoint identifier to distinguish between multiple endpoints for the same internal listener in a
         single upstream pool. Only used in the upstream addresses for tracking changes to individual endpoints. This, for
         example, may be set to the final destination IP for the target internal listener.
         
        string endpoint_id = 2;
        Parameters:
        value - The bytes for endpointId to set.
        Returns:
        This builder for chaining.