Interface ClientConfig.GenericXdsConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClientConfig.GenericXdsConfig, ClientConfig.GenericXdsConfig.Builder
- Enclosing class:
ClientConfig
public static interface ClientConfig.GenericXdsConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPer xDS resource status from the view of a xDS clientintPer xDS resource status from the view of a xDS clientPer xDS resource config status.intPer xDS resource config status.Set if the last update failed, cleared after the next successful update.Set if the last update failed, cleared after the next successful update.booleanIs static resource is true if it is specified in the config supplied through the file at the startup.com.google.protobuf.TimestampTimestamp when the xDS resource was last updatedcom.google.protobuf.TimestampOrBuilderTimestamp when the xDS resource was last updatedgetName()Name of the xDS resourcecom.google.protobuf.ByteStringName of the xDS resourceType_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.com.google.protobuf.ByteStringType_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.ByteStringThis 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.AnyThe xDS resource config.com.google.protobuf.AnyOrBuilderThe xDS resource config.booleanSet if the last update failed, cleared after the next successful update.booleanTimestamp when the xDS resource was last updatedbooleanThe xDS resource config.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeUrl
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;- Returns:
- The typeUrl.
-
getTypeUrlBytes
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;- Returns:
- The bytes for typeUrl.
-
getName
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the xDS resource
string name = 2;- Returns:
- The bytes for name.
-
getVersionInfo
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;- Returns:
- The versionInfo.
-
getVersionInfoBytes
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;- Returns:
- The bytes for versionInfo.
-
hasXdsConfig
boolean hasXdsConfig()The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4;- Returns:
- Whether the xdsConfig field is set.
-
getXdsConfig
com.google.protobuf.Any getXdsConfig()The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4;- Returns:
- The xdsConfig.
-
getXdsConfigOrBuilder
com.google.protobuf.AnyOrBuilder getXdsConfigOrBuilder()The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4; -
hasLastUpdated
boolean hasLastUpdated()Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5;- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
com.google.protobuf.Timestamp getLastUpdated()Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5;- Returns:
- The lastUpdated.
-
getLastUpdatedOrBuilder
com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5; -
getConfigStatusValue
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;- Returns:
- The enum numeric value on the wire for configStatus.
-
getConfigStatus
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;- Returns:
- The configStatus.
-
getClientStatusValue
int getClientStatusValue()Per xDS resource status from the view of a xDS client
.envoy.admin.v3.ClientResourceStatus client_status = 7;- Returns:
- The enum numeric value on the wire for clientStatus.
-
getClientStatus
ClientResourceStatus getClientStatus()Per xDS resource status from the view of a xDS client
.envoy.admin.v3.ClientResourceStatus client_status = 7;- Returns:
- The clientStatus.
-
hasErrorState
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;- Returns:
- Whether the errorState field is set.
-
getErrorState
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;- Returns:
- The errorState.
-
getErrorStateOrBuilder
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; -
getIsStaticResource
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;- Returns:
- The isStaticResource.
-