Class ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder

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

public static final class ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder extends com.google.protobuf.GeneratedMessage.Builder<ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder> implements ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
 [#next-free-field: 7]
 
Protobuf type envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs
  • Field Details

    • bitField0_

      private int bitField0_
    • name_

      private Object name_
    • versionInfo_

      private Object versionInfo_
    • scopedRouteConfigs_

      private List<com.google.protobuf.Any> scopedRouteConfigs_
    • scopedRouteConfigsBuilder_

      private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> scopedRouteConfigsBuilder_
    • 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<ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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<ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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<ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder>
    • getDefaultInstanceForType

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs 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
    • buildPartialRepeatedFields

      private void buildPartialRepeatedFields(ScopedRoutesConfigDump.DynamicScopedRouteConfigs result)
    • buildPartial0

      private void buildPartial0(ScopedRoutesConfigDump.DynamicScopedRouteConfigs result)
    • mergeFrom

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

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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<ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The name assigned to the scoped route configurations.
       
      string name = 1;
      Specified by:
      getName in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name assigned to the scoped route configurations.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      Returns:
      The bytes for name.
    • setName

       The name assigned to the scoped route configurations.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       The name assigned to the scoped route configurations.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name assigned to the scoped route configurations.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getVersionInfo

      public String getVersionInfo()
       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 scoped routes configuration was loaded.
       
      string version_info = 2;
      Specified by:
      getVersionInfo in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      Returns:
      The versionInfo.
    • getVersionInfoBytes

      public com.google.protobuf.ByteString getVersionInfoBytes()
       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 scoped routes configuration was loaded.
       
      string version_info = 2;
      Specified by:
      getVersionInfoBytes in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      Returns:
      The bytes for versionInfo.
    • setVersionInfo

       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 scoped routes configuration was loaded.
       
      string version_info = 2;
      Parameters:
      value - The versionInfo to set.
      Returns:
      This builder for chaining.
    • clearVersionInfo

       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 scoped routes configuration was loaded.
       
      string version_info = 2;
      Returns:
      This builder for chaining.
    • setVersionInfoBytes

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder setVersionInfoBytes(com.google.protobuf.ByteString value)
       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 scoped routes configuration was loaded.
       
      string version_info = 2;
      Parameters:
      value - The bytes for versionInfo to set.
      Returns:
      This builder for chaining.
    • ensureScopedRouteConfigsIsMutable

      private void ensureScopedRouteConfigsIsMutable()
    • getScopedRouteConfigsList

      public List<com.google.protobuf.Any> getScopedRouteConfigsList()
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
      Specified by:
      getScopedRouteConfigsList in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
    • getScopedRouteConfigsCount

      public int getScopedRouteConfigsCount()
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
      Specified by:
      getScopedRouteConfigsCount in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
    • getScopedRouteConfigs

      public com.google.protobuf.Any getScopedRouteConfigs(int index)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
      Specified by:
      getScopedRouteConfigs in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
    • setScopedRouteConfigs

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder setScopedRouteConfigs(int index, com.google.protobuf.Any value)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • setScopedRouteConfigs

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder setScopedRouteConfigs(int index, com.google.protobuf.Any.Builder builderForValue)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • addScopedRouteConfigs

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder addScopedRouteConfigs(com.google.protobuf.Any value)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • addScopedRouteConfigs

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder addScopedRouteConfigs(int index, com.google.protobuf.Any value)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • addScopedRouteConfigs

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder addScopedRouteConfigs(com.google.protobuf.Any.Builder builderForValue)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • addScopedRouteConfigs

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder addScopedRouteConfigs(int index, com.google.protobuf.Any.Builder builderForValue)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • addAllScopedRouteConfigs

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder addAllScopedRouteConfigs(Iterable<? extends com.google.protobuf.Any> values)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • clearScopedRouteConfigs

       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • removeScopedRouteConfigs

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder removeScopedRouteConfigs(int index)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • getScopedRouteConfigsBuilder

      public com.google.protobuf.Any.Builder getScopedRouteConfigsBuilder(int index)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • getScopedRouteConfigsOrBuilder

      public com.google.protobuf.AnyOrBuilder getScopedRouteConfigsOrBuilder(int index)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
      Specified by:
      getScopedRouteConfigsOrBuilder in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
    • getScopedRouteConfigsOrBuilderList

      public List<? extends com.google.protobuf.AnyOrBuilder> getScopedRouteConfigsOrBuilderList()
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
      Specified by:
      getScopedRouteConfigsOrBuilderList in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
    • addScopedRouteConfigsBuilder

      public com.google.protobuf.Any.Builder addScopedRouteConfigsBuilder()
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • addScopedRouteConfigsBuilder

      public com.google.protobuf.Any.Builder addScopedRouteConfigsBuilder(int index)
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • getScopedRouteConfigsBuilderList

      public List<com.google.protobuf.Any.Builder> getScopedRouteConfigsBuilderList()
       The scoped route configurations.
       
      repeated .google.protobuf.Any scoped_route_configs = 3;
    • getScopedRouteConfigsFieldBuilder

      private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> getScopedRouteConfigsFieldBuilder()
    • hasLastUpdated

      public boolean hasLastUpdated()
       The timestamp when the scoped route config set was last updated.
       
      .google.protobuf.Timestamp last_updated = 4;
      Specified by:
      hasLastUpdated in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      Returns:
      Whether the lastUpdated field is set.
    • getLastUpdated

      public com.google.protobuf.Timestamp getLastUpdated()
       The timestamp when the scoped route config set was last updated.
       
      .google.protobuf.Timestamp last_updated = 4;
      Specified by:
      getLastUpdated in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      Returns:
      The lastUpdated.
    • setLastUpdated

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder setLastUpdated(com.google.protobuf.Timestamp value)
       The timestamp when the scoped route config set was last updated.
       
      .google.protobuf.Timestamp last_updated = 4;
    • setLastUpdated

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue)
       The timestamp when the scoped route config set was last updated.
       
      .google.protobuf.Timestamp last_updated = 4;
    • mergeLastUpdated

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder mergeLastUpdated(com.google.protobuf.Timestamp value)
       The timestamp when the scoped route config set was last updated.
       
      .google.protobuf.Timestamp last_updated = 4;
    • clearLastUpdated

       The timestamp when the scoped route config set was last updated.
       
      .google.protobuf.Timestamp last_updated = 4;
    • getLastUpdatedBuilder

      public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder()
       The timestamp when the scoped route config set was last updated.
       
      .google.protobuf.Timestamp last_updated = 4;
    • getLastUpdatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()
       The timestamp when the scoped route config set was last updated.
       
      .google.protobuf.Timestamp last_updated = 4;
      Specified by:
      getLastUpdatedOrBuilder in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
    • getLastUpdatedFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getLastUpdatedFieldBuilder()
       The timestamp when the scoped route config set was last updated.
       
      .google.protobuf.Timestamp last_updated = 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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 5;
      Specified by:
      hasErrorState in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      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 = 5;
      Specified by:
      getErrorState in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      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 = 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.
       [#not-implemented-hide:]
       
      .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.
       [#not-implemented-hide:]
       
      .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.
       [#not-implemented-hide:]
       
      .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.
       [#not-implemented-hide:]
       
      .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.
       [#not-implemented-hide:]
       
      .envoy.admin.v3.UpdateFailureState error_state = 5;
      Specified by:
      getErrorStateOrBuilder in interface ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
    • 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 = 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 ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      Returns:
      The enum numeric value on the wire for clientStatus.
    • setClientStatusValue

      public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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 ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder
      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

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