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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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 resourceStringgetTypeUrl()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.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.booleanhasLastUpdated()Timestamp when the xDS resource was last updatedbooleanhasXdsConfig()The xDS resource config.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
String getName()
Name of the xDS resource
string name = 2;- Returns:
- The name.
-
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.
-
-