Class EndpointsConfigDump.DynamicEndpointConfig.Builder

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

public static final class EndpointsConfigDump.DynamicEndpointConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<EndpointsConfigDump.DynamicEndpointConfig.Builder> implements EndpointsConfigDump.DynamicEndpointConfigOrBuilder
 [#next-free-field: 6]
 
Protobuf type envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig
  • Field Details

    • bitField0_

      private int bitField0_
    • versionInfo_

      private Object versionInfo_
    • endpointConfig_

      private com.google.protobuf.Any endpointConfig_
    • endpointConfigBuilder_

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> endpointConfigBuilder_
    • lastUpdated_

      private com.google.protobuf.Timestamp lastUpdated_
    • lastUpdatedBuilder_

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> lastUpdatedBuilder_
    • errorState_

      private UpdateFailureState errorState_
    • errorStateBuilder_

      private com.google.protobuf.SingleFieldBuilder<UpdateFailureState,UpdateFailureState.Builder,UpdateFailureStateOrBuilder> errorStateBuilder_
    • clientStatus_

      private int clientStatus_
  • 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<EndpointsConfigDump.DynamicEndpointConfig.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<EndpointsConfigDump.DynamicEndpointConfig.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<EndpointsConfigDump.DynamicEndpointConfig.Builder>
    • getDefaultInstanceForType

      public EndpointsConfigDump.DynamicEndpointConfig 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

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • buildPartial0

      private void buildPartial0(EndpointsConfigDump.DynamicEndpointConfig result)
    • mergeFrom

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

      public EndpointsConfigDump.DynamicEndpointConfig.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<EndpointsConfigDump.DynamicEndpointConfig.Builder>
      Throws:
      IOException
    • getVersionInfo

      public String getVersionInfo()
       [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       the endpoint configuration was loaded.
       
      string version_info = 1;
      Specified by:
      getVersionInfo in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
      Returns:
      The versionInfo.
    • getVersionInfoBytes

      public com.google.protobuf.ByteString getVersionInfoBytes()
       [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       the endpoint configuration was loaded.
       
      string version_info = 1;
      Specified by:
      getVersionInfoBytes in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
      Returns:
      The bytes for versionInfo.
    • setVersionInfo

       [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       the endpoint configuration was loaded.
       
      string version_info = 1;
      Parameters:
      value - The versionInfo to set.
      Returns:
      This builder for chaining.
    • clearVersionInfo

       [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       the endpoint configuration was loaded.
       
      string version_info = 1;
      Returns:
      This builder for chaining.
    • setVersionInfoBytes

      public EndpointsConfigDump.DynamicEndpointConfig.Builder setVersionInfoBytes(com.google.protobuf.ByteString value)
       [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       the endpoint configuration was loaded.
       
      string version_info = 1;
      Parameters:
      value - The bytes for versionInfo to set.
      Returns:
      This builder for chaining.
    • hasEndpointConfig

      public boolean hasEndpointConfig()
       The endpoint config.
       
      .google.protobuf.Any endpoint_config = 2;
      Specified by:
      hasEndpointConfig in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
      Returns:
      Whether the endpointConfig field is set.
    • getEndpointConfig

      public com.google.protobuf.Any getEndpointConfig()
       The endpoint config.
       
      .google.protobuf.Any endpoint_config = 2;
      Specified by:
      getEndpointConfig in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
      Returns:
      The endpointConfig.
    • setEndpointConfig

      public EndpointsConfigDump.DynamicEndpointConfig.Builder setEndpointConfig(com.google.protobuf.Any value)
       The endpoint config.
       
      .google.protobuf.Any endpoint_config = 2;
    • setEndpointConfig

      public EndpointsConfigDump.DynamicEndpointConfig.Builder setEndpointConfig(com.google.protobuf.Any.Builder builderForValue)
       The endpoint config.
       
      .google.protobuf.Any endpoint_config = 2;
    • mergeEndpointConfig

      public EndpointsConfigDump.DynamicEndpointConfig.Builder mergeEndpointConfig(com.google.protobuf.Any value)
       The endpoint config.
       
      .google.protobuf.Any endpoint_config = 2;
    • clearEndpointConfig

       The endpoint config.
       
      .google.protobuf.Any endpoint_config = 2;
    • getEndpointConfigBuilder

      public com.google.protobuf.Any.Builder getEndpointConfigBuilder()
       The endpoint config.
       
      .google.protobuf.Any endpoint_config = 2;
    • getEndpointConfigOrBuilder

      public com.google.protobuf.AnyOrBuilder getEndpointConfigOrBuilder()
       The endpoint config.
       
      .google.protobuf.Any endpoint_config = 2;
      Specified by:
      getEndpointConfigOrBuilder in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
    • getEndpointConfigFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> getEndpointConfigFieldBuilder()
       The endpoint config.
       
      .google.protobuf.Any endpoint_config = 2;
    • hasLastUpdated

      public boolean hasLastUpdated()
       [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       
      .google.protobuf.Timestamp last_updated = 3;
      Specified by:
      hasLastUpdated in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
      Returns:
      Whether the lastUpdated field is set.
    • getLastUpdated

      public com.google.protobuf.Timestamp getLastUpdated()
       [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       
      .google.protobuf.Timestamp last_updated = 3;
      Specified by:
      getLastUpdated in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
      Returns:
      The lastUpdated.
    • setLastUpdated

      public EndpointsConfigDump.DynamicEndpointConfig.Builder setLastUpdated(com.google.protobuf.Timestamp value)
       [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       
      .google.protobuf.Timestamp last_updated = 3;
    • setLastUpdated

      public EndpointsConfigDump.DynamicEndpointConfig.Builder setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue)
       [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       
      .google.protobuf.Timestamp last_updated = 3;
    • mergeLastUpdated

      public EndpointsConfigDump.DynamicEndpointConfig.Builder mergeLastUpdated(com.google.protobuf.Timestamp value)
       [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       
      .google.protobuf.Timestamp last_updated = 3;
    • clearLastUpdated

       [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       
      .google.protobuf.Timestamp last_updated = 3;
    • getLastUpdatedBuilder

      public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder()
       [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       
      .google.protobuf.Timestamp last_updated = 3;
    • getLastUpdatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()
       [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       
      .google.protobuf.Timestamp last_updated = 3;
      Specified by:
      getLastUpdatedOrBuilder in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
    • getLastUpdatedFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getLastUpdatedFieldBuilder()
       [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       
      .google.protobuf.Timestamp last_updated = 3;
    • 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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 4;
      Specified by:
      hasErrorState in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
      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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 4;
      Specified by:
      getErrorState in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
      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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 4;
    • 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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 4;
    • 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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 4;
    • 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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 4;
    • 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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 4;
    • 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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 4;
      Specified by:
      getErrorStateOrBuilder in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
    • 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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 4;
    • getClientStatusValue

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

      public EndpointsConfigDump.DynamicEndpointConfig.Builder setClientStatusValue(int value)
       The client status of this resource.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.ClientResourceStatus client_status = 5;
      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 = 5;
      Specified by:
      getClientStatus in interface EndpointsConfigDump.DynamicEndpointConfigOrBuilder
      Returns:
      The clientStatus.
    • setClientStatus

       The client status of this resource.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.ClientResourceStatus client_status = 5;
      Parameters:
      value - The clientStatus to set.
      Returns:
      This builder for chaining.
    • clearClientStatus

       The client status of this resource.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.ClientResourceStatus client_status = 5;
      Returns:
      This builder for chaining.