Class ListenersConfigDump.DynamicListener.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ListenersConfigDump.DynamicListener.Builder>
com.google.protobuf.GeneratedMessage.Builder<ListenersConfigDump.DynamicListener.Builder>
io.envoyproxy.envoy.admin.v3.ListenersConfigDump.DynamicListener.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListenersConfigDump.DynamicListenerOrBuilder, Cloneable
Enclosing class:
ListenersConfigDump.DynamicListener

public static final class ListenersConfigDump.DynamicListener.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListenersConfigDump.DynamicListener.Builder> implements ListenersConfigDump.DynamicListenerOrBuilder
 Describes a dynamically loaded listener via the LDS API.
 [#next-free-field: 7]
 
Protobuf type envoy.admin.v3.ListenersConfigDump.DynamicListener
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

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

    • 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()
    • 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<ListenersConfigDump.DynamicListener.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<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

      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
    • buildPartial0

      private void buildPartial0(ListenersConfigDump.DynamicListener result)
    • mergeFrom

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

    • 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 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:
      IOException
    • getName

      public String getName()
       The name or unique id of this listener, pulled from the DynamicListenerState config.
       
      string name = 1;
      Specified by:
      getName in interface ListenersConfigDump.DynamicListenerOrBuilder
      Returns:
      The name.
    • 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

       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.
    • clearName

       The name or unique id of this listener, pulled from the DynamicListenerState config.
       
      string name = 1;
      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.
    • getActiveState

       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:
      getActiveState in interface ListenersConfigDump.DynamicListenerOrBuilder
      Returns:
      The activeState.
    • setActiveState

       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;
    • setActiveState

       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;
    • mergeActiveState

       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;
    • 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;
    • getActiveStateOrBuilder

      public ListenersConfigDump.DynamicListenerStateOrBuilder getActiveStateOrBuilder()
       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:
      getActiveStateOrBuilder in interface ListenersConfigDump.DynamicListenerOrBuilder
    • internalGetActiveStateFieldBuilder

       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

       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

       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

       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
    • internalGetWarmingStateFieldBuilder

       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;
    • 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

       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

       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

       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
    • internalGetDrainingStateFieldBuilder

       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;
    • 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

       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

       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

       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

       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
    • internalGetErrorStateFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<UpdateFailureState,UpdateFailureState.Builder,UpdateFailureStateOrBuilder> internalGetErrorStateFieldBuilder()
       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.
    • getClientStatus

      public ClientResourceStatus getClientStatus()
       The client status of this resource.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.ClientResourceStatus client_status = 6;
      Specified by:
      getClientStatus in interface ListenersConfigDump.DynamicListenerOrBuilder
      Returns:
      The clientStatus.
    • setClientStatus

       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.