Class ListenerStatus.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListenerStatusOrBuilder, Cloneable
    Enclosing class:
    ListenerStatus

    public static final class ListenerStatus.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListenerStatus.Builder>
    implements ListenerStatusOrBuilder
     Details an individual listener's current status.
     
    Protobuf type envoy.admin.v2alpha.ListenerStatus
    • 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<ListenerStatus.Builder>
      • clear

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

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

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

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

        public ListenerStatus.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<ListenerStatus.Builder>
      • setField

        public ListenerStatus.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<ListenerStatus.Builder>
      • clearField

        public ListenerStatus.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<ListenerStatus.Builder>
      • clearOneof

        public ListenerStatus.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<ListenerStatus.Builder>
      • setRepeatedField

        public ListenerStatus.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<ListenerStatus.Builder>
      • addRepeatedField

        public ListenerStatus.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<ListenerStatus.Builder>
      • mergeFrom

        public ListenerStatus.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<ListenerStatus.Builder>
      • isInitialized

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

        public ListenerStatus.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<ListenerStatus.Builder>
        Throws:
        IOException
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of the listener
         
        string name = 1;
        Specified by:
        getNameBytes in interface ListenerStatusOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ListenerStatus.Builder setName​(String value)
         Name of the listener
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ListenerStatus.Builder clearName()
         Name of the listener
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public ListenerStatus.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the listener
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasLocalAddress

        public boolean hasLocalAddress()
         The actual local address that the listener is listening on. If a listener was configured
         to listen on port 0, then this address has the port that was allocated by the OS.
         
        .envoy.api.v2.core.Address local_address = 2;
        Specified by:
        hasLocalAddress in interface ListenerStatusOrBuilder
        Returns:
        Whether the localAddress field is set.
      • getLocalAddress

        public Address getLocalAddress()
         The actual local address that the listener is listening on. If a listener was configured
         to listen on port 0, then this address has the port that was allocated by the OS.
         
        .envoy.api.v2.core.Address local_address = 2;
        Specified by:
        getLocalAddress in interface ListenerStatusOrBuilder
        Returns:
        The localAddress.
      • setLocalAddress

        public ListenerStatus.Builder setLocalAddress​(Address value)
         The actual local address that the listener is listening on. If a listener was configured
         to listen on port 0, then this address has the port that was allocated by the OS.
         
        .envoy.api.v2.core.Address local_address = 2;
      • setLocalAddress

        public ListenerStatus.Builder setLocalAddress​(Address.Builder builderForValue)
         The actual local address that the listener is listening on. If a listener was configured
         to listen on port 0, then this address has the port that was allocated by the OS.
         
        .envoy.api.v2.core.Address local_address = 2;
      • mergeLocalAddress

        public ListenerStatus.Builder mergeLocalAddress​(Address value)
         The actual local address that the listener is listening on. If a listener was configured
         to listen on port 0, then this address has the port that was allocated by the OS.
         
        .envoy.api.v2.core.Address local_address = 2;
      • clearLocalAddress

        public ListenerStatus.Builder clearLocalAddress()
         The actual local address that the listener is listening on. If a listener was configured
         to listen on port 0, then this address has the port that was allocated by the OS.
         
        .envoy.api.v2.core.Address local_address = 2;
      • getLocalAddressBuilder

        public Address.Builder getLocalAddressBuilder()
         The actual local address that the listener is listening on. If a listener was configured
         to listen on port 0, then this address has the port that was allocated by the OS.
         
        .envoy.api.v2.core.Address local_address = 2;
      • getLocalAddressOrBuilder

        public AddressOrBuilder getLocalAddressOrBuilder()
         The actual local address that the listener is listening on. If a listener was configured
         to listen on port 0, then this address has the port that was allocated by the OS.
         
        .envoy.api.v2.core.Address local_address = 2;
        Specified by:
        getLocalAddressOrBuilder in interface ListenerStatusOrBuilder
      • setUnknownFields

        public final ListenerStatus.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<ListenerStatus.Builder>
      • mergeUnknownFields

        public final ListenerStatus.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<ListenerStatus.Builder>