Class ClientConfig.GenericXdsConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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.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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
GenericXdsConfig 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.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
static final int
private int
static final int
private int
private static final ClientConfig.GenericXdsConfig
static final int
private UpdateFailureState
static final int
private boolean
static final int
private com.google.protobuf.Timestamp
private byte
private Object
static final int
private static final com.google.protobuf.Parser
<ClientConfig.GenericXdsConfig> private static final long
static final int
private Object
static final int
private Object
static final int
private com.google.protobuf.Any
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
GenericXdsConfig
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Per xDS resource status from the view of a xDS clientint
Per xDS resource status from the view of a xDS clientPer xDS resource config status.int
Per xDS resource config status.static final com.google.protobuf.Descriptors.Descriptor
Set if the last update failed, cleared after the next successful update.Set if the last update failed, cleared after the next successful update.boolean
Is static resource is true if it is specified in the config supplied through the file at the startup.com.google.protobuf.Timestamp
Timestamp when the xDS resource was last updatedcom.google.protobuf.TimestampOrBuilder
Timestamp when the xDS resource was last updatedgetName()
Name of the xDS resourcecom.google.protobuf.ByteString
Name of the xDS resourcecom.google.protobuf.Parser
<ClientConfig.GenericXdsConfig> int
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.com.google.protobuf.ByteString
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.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.ByteString
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.Any
The xDS resource config.com.google.protobuf.AnyOrBuilder
The xDS resource config.boolean
Set if the last update failed, cleared after the next successful update.int
hashCode()
boolean
Timestamp when the xDS resource was last updatedboolean
The xDS resource config.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
newBuilder
(ClientConfig.GenericXdsConfig prototype) protected ClientConfig.GenericXdsConfig.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<ClientConfig.GenericXdsConfig> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
TYPE_URL_FIELD_NUMBER
public static final int TYPE_URL_FIELD_NUMBER- See Also:
-
typeUrl_
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
name_
-
VERSION_INFO_FIELD_NUMBER
public static final int VERSION_INFO_FIELD_NUMBER- See Also:
-
versionInfo_
-
XDS_CONFIG_FIELD_NUMBER
public static final int XDS_CONFIG_FIELD_NUMBER- See Also:
-
xdsConfig_
private com.google.protobuf.Any xdsConfig_ -
LAST_UPDATED_FIELD_NUMBER
public static final int LAST_UPDATED_FIELD_NUMBER- See Also:
-
lastUpdated_
private com.google.protobuf.Timestamp lastUpdated_ -
CONFIG_STATUS_FIELD_NUMBER
public static final int CONFIG_STATUS_FIELD_NUMBER- See Also:
-
configStatus_
private int configStatus_ -
CLIENT_STATUS_FIELD_NUMBER
public static final int CLIENT_STATUS_FIELD_NUMBER- See Also:
-
clientStatus_
private int clientStatus_ -
ERROR_STATE_FIELD_NUMBER
public static final int ERROR_STATE_FIELD_NUMBER- See Also:
-
errorState_
-
IS_STATIC_RESOURCE_FIELD_NUMBER
public static final int IS_STATIC_RESOURCE_FIELD_NUMBER- See Also:
-
isStaticResource_
private boolean isStaticResource_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
GenericXdsConfig
private GenericXdsConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
GenericXdsConfig
private GenericXdsConfig()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
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 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:
getTypeUrlBytes
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The bytes for typeUrl.
-
getName
Name of the xDS resource
string name = 2;
- Specified by:
getName
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the xDS resource
string name = 2;
- Specified by:
getNameBytes
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The bytes for name.
-
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 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:
getVersionInfoBytes
in 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:
hasXdsConfig
in 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:
getXdsConfig
in 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:
getXdsConfigOrBuilder
in interfaceClientConfig.GenericXdsConfigOrBuilder
-
hasLastUpdated
public boolean hasLastUpdated()Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5;
- Specified by:
hasLastUpdated
in 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:
getLastUpdated
in 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:
getLastUpdatedOrBuilder
in 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:
getConfigStatusValue
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The enum numeric value on the wire for 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 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:
getClientStatusValue
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The enum numeric value on the wire for clientStatus.
-
getClientStatus
Per xDS resource status from the view of a xDS client
.envoy.admin.v3.ClientResourceStatus client_status = 7;
- Specified by:
getClientStatus
in 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:
hasErrorState
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- Whether the errorState field is set.
-
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 interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The errorState.
-
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 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:
getIsStaticResource
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The isStaticResource.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
- 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
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static ClientConfig.GenericXdsConfig.Builder newBuilder(ClientConfig.GenericXdsConfig prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientConfig.GenericXdsConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-