Class ClientConfig.GenericXdsConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ClientConfig.GenericXdsConfigOrBuilder,Serializable
- Enclosing class:
- ClientConfig
public static final class ClientConfig.GenericXdsConfig extends com.google.protobuf.GeneratedMessageV3 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 typeenvoy.service.status.v3.ClientConfig.GenericXdsConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientConfig.GenericXdsConfig.BuilderGenericXdsConfig is used to specify the config status and the dump of any xDS resource identified by their type URL.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCLIENT_STATUS_FIELD_NUMBERstatic intCONFIG_STATUS_FIELD_NUMBERstatic intERROR_STATE_FIELD_NUMBERstatic intIS_STATIC_RESOURCE_FIELD_NUMBERstatic intLAST_UPDATED_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intTYPE_URL_FIELD_NUMBERstatic intVERSION_INFO_FIELD_NUMBERstatic intXDS_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ClientResourceStatusgetClientStatus()Per xDS resource status from the view of a xDS clientintgetClientStatusValue()Per xDS resource status from the view of a xDS clientConfigStatusgetConfigStatus()Per xDS resource config status.intgetConfigStatusValue()Per xDS resource config status.static ClientConfig.GenericXdsConfiggetDefaultInstance()ClientConfig.GenericXdsConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()UpdateFailureStategetErrorState()Set if the last update failed, cleared after the next successful update.UpdateFailureStateOrBuildergetErrorStateOrBuilder()Set if the last update failed, cleared after the next successful update.booleangetIsStaticResource()Is static resource is true if it is specified in the config supplied through the file at the startup.com.google.protobuf.TimestampgetLastUpdated()Timestamp when the xDS resource was last updatedcom.google.protobuf.TimestampOrBuildergetLastUpdatedOrBuilder()Timestamp when the xDS resource was last updatedStringgetName()Name of the xDS resourcecom.google.protobuf.ByteStringgetNameBytes()Name of the xDS resourcecom.google.protobuf.Parser<ClientConfig.GenericXdsConfig>getParserForType()intgetSerializedSize()StringgetTypeUrl()Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.com.google.protobuf.ByteStringgetTypeUrlBytes()Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetVersionInfo()This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response.com.google.protobuf.ByteStringgetVersionInfoBytes()This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response.com.google.protobuf.AnygetXdsConfig()The xDS resource config.com.google.protobuf.AnyOrBuildergetXdsConfigOrBuilder()The xDS resource config.booleanhasErrorState()Set if the last update failed, cleared after the next successful update.inthashCode()booleanhasLastUpdated()Timestamp when the xDS resource was last updatedbooleanhasXdsConfig()The xDS resource config.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ClientConfig.GenericXdsConfig.BuildernewBuilder()static ClientConfig.GenericXdsConfig.BuildernewBuilder(ClientConfig.GenericXdsConfig prototype)ClientConfig.GenericXdsConfig.BuildernewBuilderForType()protected ClientConfig.GenericXdsConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ClientConfig.GenericXdsConfigparseDelimitedFrom(InputStream input)static ClientConfig.GenericXdsConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfig.GenericXdsConfigparseFrom(byte[] data)static ClientConfig.GenericXdsConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfig.GenericXdsConfigparseFrom(com.google.protobuf.ByteString data)static ClientConfig.GenericXdsConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfig.GenericXdsConfigparseFrom(com.google.protobuf.CodedInputStream input)static ClientConfig.GenericXdsConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfig.GenericXdsConfigparseFrom(InputStream input)static ClientConfig.GenericXdsConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfig.GenericXdsConfigparseFrom(ByteBuffer data)static ClientConfig.GenericXdsConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ClientConfig.GenericXdsConfig>parser()ClientConfig.GenericXdsConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TYPE_URL_FIELD_NUMBER
public static final int TYPE_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_INFO_FIELD_NUMBER
public static final int VERSION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
XDS_CONFIG_FIELD_NUMBER
public static final int XDS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_UPDATED_FIELD_NUMBER
public static final int LAST_UPDATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIG_STATUS_FIELD_NUMBER
public static final int CONFIG_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_STATUS_FIELD_NUMBER
public static final int CLIENT_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTypeUrl
public 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:
getTypeUrlin interfaceClientConfig.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:
getTypeUrlBytesin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The bytes for typeUrl.
-
getName
public String getName()
Name of the xDS resource
string name = 2;- Specified by:
getNamein interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the xDS resource
string name = 2;- Specified by:
getNameBytesin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The bytes for name.
-
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:
getVersionInfoin interfaceClientConfig.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:
getVersionInfoBytesin interfaceClientConfig.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:
hasXdsConfigin interfaceClientConfig.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:
getXdsConfigin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The xdsConfig.
-
getXdsConfigOrBuilder
public com.google.protobuf.AnyOrBuilder getXdsConfigOrBuilder()
The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4;- Specified by:
getXdsConfigOrBuilderin interfaceClientConfig.GenericXdsConfigOrBuilder
-
hasLastUpdated
public boolean hasLastUpdated()
Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5;- Specified by:
hasLastUpdatedin interfaceClientConfig.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:
getLastUpdatedin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The lastUpdated.
-
getLastUpdatedOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()
Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5;- Specified by:
getLastUpdatedOrBuilderin interfaceClientConfig.GenericXdsConfigOrBuilder
-
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:
getConfigStatusValuein interfaceClientConfig.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:
getConfigStatusin interfaceClientConfig.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:
getClientStatusValuein interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The enum numeric value on the wire for clientStatus.
-
getClientStatus
public ClientResourceStatus getClientStatus()
Per xDS resource status from the view of a xDS client
.envoy.admin.v3.ClientResourceStatus client_status = 7;- Specified by:
getClientStatusin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The 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:
hasErrorStatein interfaceClientConfig.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:
getErrorStatein interfaceClientConfig.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:
getErrorStateOrBuilderin interfaceClientConfig.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:
getIsStaticResourcein interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The isStaticResource.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ClientConfig.GenericXdsConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConfig.GenericXdsConfig parseFrom(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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClientConfig.GenericXdsConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClientConfig.GenericXdsConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClientConfig.GenericXdsConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ClientConfig.GenericXdsConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClientConfig.GenericXdsConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ClientConfig.GenericXdsConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClientConfig.GenericXdsConfig.Builder newBuilder()
-
newBuilder
public static ClientConfig.GenericXdsConfig.Builder newBuilder(ClientConfig.GenericXdsConfig prototype)
-
toBuilder
public ClientConfig.GenericXdsConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientConfig.GenericXdsConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ClientConfig.GenericXdsConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClientConfig.GenericXdsConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<ClientConfig.GenericXdsConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ClientConfig.GenericXdsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-