Class EndpointsConfigDump.DynamicEndpointConfig.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

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

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

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

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

        public com.google.protobuf.Any.Builder getEndpointConfigBuilder()
         The endpoint config.
         
        .google.protobuf.Any endpoint_config = 2;
      • 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;
      • 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;
      • 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

        public EndpointsConfigDump.DynamicEndpointConfig.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 = 4;
      • setErrorState

        public EndpointsConfigDump.DynamicEndpointConfig.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 = 4;
      • mergeErrorState

        public EndpointsConfigDump.DynamicEndpointConfig.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 = 4;
      • clearErrorState

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

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