Class ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • name_

        private java.lang.Object name_
      • versionInfo_

        private java.lang.Object versionInfo_
      • scopedRouteConfigs_

        private java.util.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_
      • clientStatus_

        private int clientStatus_
    • 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<ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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<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
      • buildPartial

        public ScopedRoutesConfigDump.DynamicScopedRouteConfigs buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • 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 java.lang.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

        public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder setVersionInfo​(java.lang.String 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 versionInfo to set.
        Returns:
        This builder for chaining.
      • clearVersionInfo

        public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder 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()
      • getScopedRouteConfigsBuilder

        public com.google.protobuf.Any.Builder getScopedRouteConfigsBuilder​(int index)
         The scoped route configurations.
         
        repeated .google.protobuf.Any scoped_route_configs = 3;
      • 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 java.util.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()
      • 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;
      • 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

        public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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.
         [#not-implemented-hide:]
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
      • setErrorState

        public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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.
         [#not-implemented-hide:]
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
      • mergeErrorState

        public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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.
         [#not-implemented-hide:]
         
        .envoy.admin.v3.UpdateFailureState error_state = 5;
      • clearErrorState

        public ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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.
         [#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;
      • 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.