Class ClientConfig.GenericXdsConfig

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ClientConfig.GenericXdsConfigOrBuilder, java.io.Serializable
    Enclosing class:
    ClientConfig

    public static final class ClientConfig.GenericXdsConfig
    extends com.google.protobuf.GeneratedMessage
    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
    See Also:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • typeUrl_

        private volatile java.lang.Object typeUrl_
      • name_

        private volatile java.lang.Object name_
      • VERSION_INFO_FIELD_NUMBER

        public static final int VERSION_INFO_FIELD_NUMBER
        See Also:
        Constant Field Values
      • versionInfo_

        private volatile java.lang.Object versionInfo_
      • XDS_CONFIG_FIELD_NUMBER

        public static final int XDS_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • xdsConfig_

        private com.google.protobuf.Any xdsConfig_
      • LAST_UPDATED_FIELD_NUMBER

        public static final int LAST_UPDATED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • lastUpdated_

        private com.google.protobuf.Timestamp lastUpdated_
      • CONFIG_STATUS_FIELD_NUMBER

        public static final int CONFIG_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • configStatus_

        private int configStatus_
      • CLIENT_STATUS_FIELD_NUMBER

        public static final int CLIENT_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • clientStatus_

        private int clientStatus_
      • ERROR_STATE_FIELD_NUMBER

        public static final int ERROR_STATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IS_STATIC_RESOURCE_FIELD_NUMBER

        public static final int IS_STATIC_RESOURCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • isStaticResource_

        private boolean isStaticResource_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • GenericXdsConfig

        private GenericXdsConfig​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • GenericXdsConfig

        private GenericXdsConfig()
    • 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
      • getTypeUrl

        public java.lang.String getTypeUrl()
         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:
        getTypeUrl in interface ClientConfig.GenericXdsConfigOrBuilder
        Returns:
        The typeUrl.
      • 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
        Returns:
        The bytes for typeUrl.
      • getVersionInfo

        public java.lang.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
        Returns:
        The versionInfo.
      • 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
        Returns:
        The bytes for versionInfo.
      • hasXdsConfig

        public boolean hasXdsConfig()
         The xDS resource config. Actual content depends on the type
         
        .google.protobuf.Any xds_config = 4;
        Specified by:
        hasXdsConfig in interface ClientConfig.GenericXdsConfigOrBuilder
        Returns:
        Whether the xdsConfig field is set.
      • getXdsConfig

        public com.google.protobuf.Any getXdsConfig()
         The xDS resource config. Actual content depends on the type
         
        .google.protobuf.Any xds_config = 4;
        Specified by:
        getXdsConfig in interface ClientConfig.GenericXdsConfigOrBuilder
        Returns:
        The xdsConfig.
      • hasLastUpdated

        public boolean hasLastUpdated()
         Timestamp when the xDS resource was last updated
         
        .google.protobuf.Timestamp last_updated = 5;
        Specified by:
        hasLastUpdated in interface ClientConfig.GenericXdsConfigOrBuilder
        Returns:
        Whether the lastUpdated field is set.
      • getLastUpdated

        public com.google.protobuf.Timestamp getLastUpdated()
         Timestamp when the xDS resource was last updated
         
        .google.protobuf.Timestamp last_updated = 5;
        Specified by:
        getLastUpdated in interface ClientConfig.GenericXdsConfigOrBuilder
        Returns:
        The lastUpdated.
      • 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
        Returns:
        The enum numeric value on the wire for configStatus.
      • 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
        Returns:
        The configStatus.
      • getClientStatusValue

        public int getClientStatusValue()
         Per xDS resource status from the view of a xDS client
         
        .envoy.admin.v3.ClientResourceStatus client_status = 7;
        Specified by:
        getClientStatusValue in interface ClientConfig.GenericXdsConfigOrBuilder
        Returns:
        The enum numeric value on the wire for clientStatus.
      • 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
        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 = 8;
        Specified by:
        getErrorState in interface ClientConfig.GenericXdsConfigOrBuilder
        Returns:
        The errorState.
      • 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
      • getIsStaticResource

        public boolean getIsStaticResource()
         Is static resource is true if it is specified in the config supplied
         through the file at the startup.
         
        bool is_static_resource = 9;
        Specified by:
        getIsStaticResource in interface ClientConfig.GenericXdsConfigOrBuilder
        Returns:
        The isStaticResource.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(java.nio.ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(java.nio.ByteBuffer data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(com.google.protobuf.ByteString data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(com.google.protobuf.ByteString data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(byte[] data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(byte[] data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(java.io.InputStream input)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(java.io.InputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ClientConfig.GenericXdsConfig parseDelimitedFrom​(java.io.InputStream input)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ClientConfig.GenericXdsConfig parseDelimitedFrom​(java.io.InputStream input,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(com.google.protobuf.CodedInputStream input)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ClientConfig.GenericXdsConfig parseFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected ClientConfig.GenericXdsConfig.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<ClientConfig.GenericXdsConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

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