Class ListenersConfigDump.DynamicListener.Builder

    • 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<ListenersConfigDump.DynamicListener.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • 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<ListenersConfigDump.DynamicListener.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListenersConfigDump.DynamicListener.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<ListenersConfigDump.DynamicListener.Builder>
        Throws:
        java.io.IOException
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name or unique id of this listener, pulled from the DynamicListenerState config.
         
        string name = 1;
        Specified by:
        getNameBytes in interface ListenersConfigDump.DynamicListenerOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ListenersConfigDump.DynamicListener.Builder setName​(java.lang.String value)
         The name or unique id of this listener, pulled from the DynamicListenerState config.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public ListenersConfigDump.DynamicListener.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name or unique id of this listener, pulled from the DynamicListenerState config.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasActiveState

        public boolean hasActiveState()
         The listener state for any active listener by this name.
         These are listeners that are available to service data plane traffic.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState active_state = 2;
        Specified by:
        hasActiveState in interface ListenersConfigDump.DynamicListenerOrBuilder
        Returns:
        Whether the activeState field is set.
      • clearActiveState

        public ListenersConfigDump.DynamicListener.Builder clearActiveState()
         The listener state for any active listener by this name.
         These are listeners that are available to service data plane traffic.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState active_state = 2;
      • getActiveStateBuilder

        public ListenersConfigDump.DynamicListenerState.Builder getActiveStateBuilder()
         The listener state for any active listener by this name.
         These are listeners that are available to service data plane traffic.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState active_state = 2;
      • hasWarmingState

        public boolean hasWarmingState()
         The listener state for any warming listener by this name.
         These are listeners that are currently undergoing warming in preparation to service data
         plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the warming listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState warming_state = 3;
        Specified by:
        hasWarmingState in interface ListenersConfigDump.DynamicListenerOrBuilder
        Returns:
        Whether the warmingState field is set.
      • getWarmingState

        public ListenersConfigDump.DynamicListenerState getWarmingState()
         The listener state for any warming listener by this name.
         These are listeners that are currently undergoing warming in preparation to service data
         plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the warming listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState warming_state = 3;
        Specified by:
        getWarmingState in interface ListenersConfigDump.DynamicListenerOrBuilder
        Returns:
        The warmingState.
      • setWarmingState

        public ListenersConfigDump.DynamicListener.Builder setWarmingState​(ListenersConfigDump.DynamicListenerState value)
         The listener state for any warming listener by this name.
         These are listeners that are currently undergoing warming in preparation to service data
         plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the warming listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState warming_state = 3;
      • setWarmingState

        public ListenersConfigDump.DynamicListener.Builder setWarmingState​(ListenersConfigDump.DynamicListenerState.Builder builderForValue)
         The listener state for any warming listener by this name.
         These are listeners that are currently undergoing warming in preparation to service data
         plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the warming listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState warming_state = 3;
      • mergeWarmingState

        public ListenersConfigDump.DynamicListener.Builder mergeWarmingState​(ListenersConfigDump.DynamicListenerState value)
         The listener state for any warming listener by this name.
         These are listeners that are currently undergoing warming in preparation to service data
         plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the warming listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState warming_state = 3;
      • clearWarmingState

        public ListenersConfigDump.DynamicListener.Builder clearWarmingState()
         The listener state for any warming listener by this name.
         These are listeners that are currently undergoing warming in preparation to service data
         plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the warming listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState warming_state = 3;
      • getWarmingStateBuilder

        public ListenersConfigDump.DynamicListenerState.Builder getWarmingStateBuilder()
         The listener state for any warming listener by this name.
         These are listeners that are currently undergoing warming in preparation to service data
         plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the warming listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState warming_state = 3;
      • getWarmingStateOrBuilder

        public ListenersConfigDump.DynamicListenerStateOrBuilder getWarmingStateOrBuilder()
         The listener state for any warming listener by this name.
         These are listeners that are currently undergoing warming in preparation to service data
         plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the warming listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState warming_state = 3;
        Specified by:
        getWarmingStateOrBuilder in interface ListenersConfigDump.DynamicListenerOrBuilder
      • hasDrainingState

        public boolean hasDrainingState()
         The listener state for any draining listener by this name.
         These are listeners that are currently undergoing draining in preparation to stop servicing
         data plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the draining listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState draining_state = 4;
        Specified by:
        hasDrainingState in interface ListenersConfigDump.DynamicListenerOrBuilder
        Returns:
        Whether the drainingState field is set.
      • getDrainingState

        public ListenersConfigDump.DynamicListenerState getDrainingState()
         The listener state for any draining listener by this name.
         These are listeners that are currently undergoing draining in preparation to stop servicing
         data plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the draining listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState draining_state = 4;
        Specified by:
        getDrainingState in interface ListenersConfigDump.DynamicListenerOrBuilder
        Returns:
        The drainingState.
      • setDrainingState

        public ListenersConfigDump.DynamicListener.Builder setDrainingState​(ListenersConfigDump.DynamicListenerState value)
         The listener state for any draining listener by this name.
         These are listeners that are currently undergoing draining in preparation to stop servicing
         data plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the draining listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState draining_state = 4;
      • setDrainingState

        public ListenersConfigDump.DynamicListener.Builder setDrainingState​(ListenersConfigDump.DynamicListenerState.Builder builderForValue)
         The listener state for any draining listener by this name.
         These are listeners that are currently undergoing draining in preparation to stop servicing
         data plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the draining listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState draining_state = 4;
      • mergeDrainingState

        public ListenersConfigDump.DynamicListener.Builder mergeDrainingState​(ListenersConfigDump.DynamicListenerState value)
         The listener state for any draining listener by this name.
         These are listeners that are currently undergoing draining in preparation to stop servicing
         data plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the draining listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState draining_state = 4;
      • clearDrainingState

        public ListenersConfigDump.DynamicListener.Builder clearDrainingState()
         The listener state for any draining listener by this name.
         These are listeners that are currently undergoing draining in preparation to stop servicing
         data plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the draining listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState draining_state = 4;
      • getDrainingStateBuilder

        public ListenersConfigDump.DynamicListenerState.Builder getDrainingStateBuilder()
         The listener state for any draining listener by this name.
         These are listeners that are currently undergoing draining in preparation to stop servicing
         data plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the draining listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState draining_state = 4;
      • getDrainingStateOrBuilder

        public ListenersConfigDump.DynamicListenerStateOrBuilder getDrainingStateOrBuilder()
         The listener state for any draining listener by this name.
         These are listeners that are currently undergoing draining in preparation to stop servicing
         data plane traffic. Note that if attempting to recreate an Envoy configuration from a
         configuration dump, the draining listeners should generally be discarded.
         
        .envoy.admin.v3.ListenersConfigDump.DynamicListenerState draining_state = 4;
        Specified by:
        getDrainingStateOrBuilder in interface ListenersConfigDump.DynamicListenerOrBuilder
      • hasErrorState

        public boolean hasErrorState()
         Set if the last update failed, cleared after the next successful update.
         The ``error_state`` field contains the rejected version of this particular
         resource along with the reason and timestamp. For successfully updated or
         acknowledged resource, this field should be empty.
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
        Specified by:
        hasErrorState in interface ListenersConfigDump.DynamicListenerOrBuilder
        Returns:
        Whether the errorState field is set.
      • getErrorState

        public UpdateFailureState getErrorState()
         Set if the last update failed, cleared after the next successful update.
         The ``error_state`` field contains the rejected version of this particular
         resource along with the reason and timestamp. For successfully updated or
         acknowledged resource, this field should be empty.
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
        Specified by:
        getErrorState in interface ListenersConfigDump.DynamicListenerOrBuilder
        Returns:
        The errorState.
      • setErrorState

        public ListenersConfigDump.DynamicListener.Builder setErrorState​(UpdateFailureState value)
         Set if the last update failed, cleared after the next successful update.
         The ``error_state`` field contains the rejected version of this particular
         resource along with the reason and timestamp. For successfully updated or
         acknowledged resource, this field should be empty.
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
      • setErrorState

        public ListenersConfigDump.DynamicListener.Builder setErrorState​(UpdateFailureState.Builder builderForValue)
         Set if the last update failed, cleared after the next successful update.
         The ``error_state`` field contains the rejected version of this particular
         resource along with the reason and timestamp. For successfully updated or
         acknowledged resource, this field should be empty.
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
      • mergeErrorState

        public ListenersConfigDump.DynamicListener.Builder mergeErrorState​(UpdateFailureState value)
         Set if the last update failed, cleared after the next successful update.
         The ``error_state`` field contains the rejected version of this particular
         resource along with the reason and timestamp. For successfully updated or
         acknowledged resource, this field should be empty.
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
      • clearErrorState

        public ListenersConfigDump.DynamicListener.Builder clearErrorState()
         Set if the last update failed, cleared after the next successful update.
         The ``error_state`` field contains the rejected version of this particular
         resource along with the reason and timestamp. For successfully updated or
         acknowledged resource, this field should be empty.
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
      • getErrorStateBuilder

        public UpdateFailureState.Builder getErrorStateBuilder()
         Set if the last update failed, cleared after the next successful update.
         The ``error_state`` field contains the rejected version of this particular
         resource along with the reason and timestamp. For successfully updated or
         acknowledged resource, this field should be empty.
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
      • getErrorStateOrBuilder

        public UpdateFailureStateOrBuilder getErrorStateOrBuilder()
         Set if the last update failed, cleared after the next successful update.
         The ``error_state`` field contains the rejected version of this particular
         resource along with the reason and timestamp. For successfully updated or
         acknowledged resource, this field should be empty.
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
        Specified by:
        getErrorStateOrBuilder in interface ListenersConfigDump.DynamicListenerOrBuilder
      • getErrorStateFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<UpdateFailureState,​UpdateFailureState.Builder,​UpdateFailureStateOrBuilder> getErrorStateFieldBuilder()
         Set if the last update failed, cleared after the next successful update.
         The ``error_state`` field contains the rejected version of this particular
         resource along with the reason and timestamp. For successfully updated or
         acknowledged resource, this field should be empty.
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
      • getClientStatusValue

        public int getClientStatusValue()
         The client status of this resource.
         [#not-implemented-hide:]
         
        .envoy.admin.v3.ClientResourceStatus client_status = 6;
        Specified by:
        getClientStatusValue in interface ListenersConfigDump.DynamicListenerOrBuilder
        Returns:
        The enum numeric value on the wire for clientStatus.
      • setClientStatusValue

        public ListenersConfigDump.DynamicListener.Builder setClientStatusValue​(int value)
         The client status of this resource.
         [#not-implemented-hide:]
         
        .envoy.admin.v3.ClientResourceStatus client_status = 6;
        Parameters:
        value - The enum numeric value on the wire for clientStatus to set.
        Returns:
        This builder for chaining.
      • setClientStatus

        public ListenersConfigDump.DynamicListener.Builder setClientStatus​(ClientResourceStatus value)
         The client status of this resource.
         [#not-implemented-hide:]
         
        .envoy.admin.v3.ClientResourceStatus client_status = 6;
        Parameters:
        value - The clientStatus to set.
        Returns:
        This builder for chaining.
      • clearClientStatus

        public ListenersConfigDump.DynamicListener.Builder clearClientStatus()
         The client status of this resource.
         [#not-implemented-hide:]
         
        .envoy.admin.v3.ClientResourceStatus client_status = 6;
        Returns:
        This builder for chaining.