Class ClientConfig.GenericXdsConfig.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ClientConfig.GenericXdsConfigOrBuilder, Cloneable
    Enclosing class:
    ClientConfig.GenericXdsConfig

    public static final class ClientConfig.GenericXdsConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
    implements ClientConfig.GenericXdsConfigOrBuilder
     GenericXdsConfig is used to specify the config status and the dump
     of any xDS resource identified by their type URL. It is the generalized
     version of the now deprecated ListenersConfigDump, ClustersConfigDump etc
     [#next-free-field: 10]
     
    Protobuf type envoy.service.status.v3.ClientConfig.GenericXdsConfig
    • 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<ClientConfig.GenericXdsConfig.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<ClientConfig.GenericXdsConfig.Builder>
      • getDefaultInstanceForType

        public ClientConfig.GenericXdsConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

        public ClientConfig.GenericXdsConfig 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<ClientConfig.GenericXdsConfig.Builder>
      • mergeFrom

        public ClientConfig.GenericXdsConfig.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<ClientConfig.GenericXdsConfig.Builder>
        Throws:
        IOException
      • getTypeUrlBytes

        public com.google.protobuf.ByteString getTypeUrlBytes()
         Type_url represents the fully qualified name of xDS resource type
         like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
         
        string type_url = 1;
        Specified by:
        getTypeUrlBytes in interface ClientConfig.GenericXdsConfigOrBuilder
      • setTypeUrl

        public ClientConfig.GenericXdsConfig.Builder setTypeUrl​(String value)
         Type_url represents the fully qualified name of xDS resource type
         like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
         
        string type_url = 1;
      • clearTypeUrl

        public ClientConfig.GenericXdsConfig.Builder clearTypeUrl()
         Type_url represents the fully qualified name of xDS resource type
         like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
         
        string type_url = 1;
      • setTypeUrlBytes

        public ClientConfig.GenericXdsConfig.Builder setTypeUrlBytes​(com.google.protobuf.ByteString value)
         Type_url represents the fully qualified name of xDS resource type
         like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
         
        string type_url = 1;
      • getVersionInfo

        public String getVersionInfo()
         This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
         in the last processed xDS discovery response. If there are only
         static bootstrap listeners, this field will be ""
         
        string version_info = 3;
        Specified by:
        getVersionInfo in interface ClientConfig.GenericXdsConfigOrBuilder
      • getVersionInfoBytes

        public com.google.protobuf.ByteString getVersionInfoBytes()
         This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
         in the last processed xDS discovery response. If there are only
         static bootstrap listeners, this field will be ""
         
        string version_info = 3;
        Specified by:
        getVersionInfoBytes in interface ClientConfig.GenericXdsConfigOrBuilder
      • setVersionInfo

        public ClientConfig.GenericXdsConfig.Builder setVersionInfo​(String value)
         This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
         in the last processed xDS discovery response. If there are only
         static bootstrap listeners, this field will be ""
         
        string version_info = 3;
      • clearVersionInfo

        public ClientConfig.GenericXdsConfig.Builder clearVersionInfo()
         This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
         in the last processed xDS discovery response. If there are only
         static bootstrap listeners, this field will be ""
         
        string version_info = 3;
      • setVersionInfoBytes

        public ClientConfig.GenericXdsConfig.Builder setVersionInfoBytes​(com.google.protobuf.ByteString value)
         This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
         in the last processed xDS discovery response. If there are only
         static bootstrap listeners, this field will be ""
         
        string version_info = 3;
      • setXdsConfig

        public ClientConfig.GenericXdsConfig.Builder setXdsConfig​(com.google.protobuf.Any value)
         The xDS resource config. Actual content depends on the type
         
        .google.protobuf.Any xds_config = 4;
      • setXdsConfig

        public ClientConfig.GenericXdsConfig.Builder setXdsConfig​(com.google.protobuf.Any.Builder builderForValue)
         The xDS resource config. Actual content depends on the type
         
        .google.protobuf.Any xds_config = 4;
      • mergeXdsConfig

        public ClientConfig.GenericXdsConfig.Builder mergeXdsConfig​(com.google.protobuf.Any value)
         The xDS resource config. Actual content depends on the type
         
        .google.protobuf.Any xds_config = 4;
      • getXdsConfigBuilder

        public com.google.protobuf.Any.Builder getXdsConfigBuilder()
         The xDS resource config. Actual content depends on the type
         
        .google.protobuf.Any xds_config = 4;
      • setLastUpdated

        public ClientConfig.GenericXdsConfig.Builder setLastUpdated​(com.google.protobuf.Timestamp value)
         Timestamp when the xDS resource was last updated
         
        .google.protobuf.Timestamp last_updated = 5;
      • setLastUpdated

        public ClientConfig.GenericXdsConfig.Builder setLastUpdated​(com.google.protobuf.Timestamp.Builder builderForValue)
         Timestamp when the xDS resource was last updated
         
        .google.protobuf.Timestamp last_updated = 5;
      • mergeLastUpdated

        public ClientConfig.GenericXdsConfig.Builder mergeLastUpdated​(com.google.protobuf.Timestamp value)
         Timestamp when the xDS resource was last updated
         
        .google.protobuf.Timestamp last_updated = 5;
      • getLastUpdatedBuilder

        public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder()
         Timestamp when the xDS resource was last updated
         
        .google.protobuf.Timestamp last_updated = 5;
      • getConfigStatusValue

        public int getConfigStatusValue()
         Per xDS resource config status. It is generated by management servers.
         It will not be present if the CSDS server is an xDS client.
         
        .envoy.service.status.v3.ConfigStatus config_status = 6;
        Specified by:
        getConfigStatusValue in interface ClientConfig.GenericXdsConfigOrBuilder
      • setConfigStatusValue

        public ClientConfig.GenericXdsConfig.Builder setConfigStatusValue​(int value)
         Per xDS resource config status. It is generated by management servers.
         It will not be present if the CSDS server is an xDS client.
         
        .envoy.service.status.v3.ConfigStatus config_status = 6;
      • getConfigStatus

        public ConfigStatus getConfigStatus()
         Per xDS resource config status. It is generated by management servers.
         It will not be present if the CSDS server is an xDS client.
         
        .envoy.service.status.v3.ConfigStatus config_status = 6;
        Specified by:
        getConfigStatus in interface ClientConfig.GenericXdsConfigOrBuilder
      • setConfigStatus

        public ClientConfig.GenericXdsConfig.Builder setConfigStatus​(ConfigStatus value)
         Per xDS resource config status. It is generated by management servers.
         It will not be present if the CSDS server is an xDS client.
         
        .envoy.service.status.v3.ConfigStatus config_status = 6;
      • clearConfigStatus

        public ClientConfig.GenericXdsConfig.Builder clearConfigStatus()
         Per xDS resource config status. It is generated by management servers.
         It will not be present if the CSDS server is an xDS client.
         
        .envoy.service.status.v3.ConfigStatus config_status = 6;
      • setClientStatusValue

        public ClientConfig.GenericXdsConfig.Builder setClientStatusValue​(int value)
         Per xDS resource status from the view of a xDS client
         
        .envoy.admin.v3.ClientResourceStatus client_status = 7;
      • clearClientStatus

        public ClientConfig.GenericXdsConfig.Builder clearClientStatus()
         Per xDS resource status from the view of a xDS client
         
        .envoy.admin.v3.ClientResourceStatus client_status = 7;
      • 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 = 8;
        Specified by:
        hasErrorState in interface ClientConfig.GenericXdsConfigOrBuilder
      • 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 = 8;
        Specified by:
        getErrorState in interface ClientConfig.GenericXdsConfigOrBuilder
      • setErrorState

        public ClientConfig.GenericXdsConfig.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 = 8;
      • setErrorState

        public ClientConfig.GenericXdsConfig.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 = 8;
      • mergeErrorState

        public ClientConfig.GenericXdsConfig.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 = 8;
      • clearErrorState

        public ClientConfig.GenericXdsConfig.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 = 8;
      • 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 = 8;
      • 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 = 8;
        Specified by:
        getErrorStateOrBuilder in interface ClientConfig.GenericXdsConfigOrBuilder
      • setIsStaticResource

        public ClientConfig.GenericXdsConfig.Builder setIsStaticResource​(boolean value)
         Is static resource is true if it is specified in the config supplied
         through the file at the startup.
         
        bool is_static_resource = 9;
      • clearIsStaticResource

        public ClientConfig.GenericXdsConfig.Builder clearIsStaticResource()
         Is static resource is true if it is specified in the config supplied
         through the file at the startup.
         
        bool is_static_resource = 9;