Package io.envoyproxy.envoy.admin.v3
Interface ClustersConfigDump.DynamicClusterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClustersConfigDump.DynamicCluster
,ClustersConfigDump.DynamicCluster.Builder
- Enclosing class:
- ClustersConfigDump
public static interface ClustersConfigDump.DynamicClusterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientResourceStatus
getClientStatus()
The client status of this resource.int
getClientStatusValue()
The client status of this resource.com.google.protobuf.Any
getCluster()
The cluster config.com.google.protobuf.AnyOrBuilder
getClusterOrBuilder()
The cluster config.UpdateFailureState
getErrorState()
Set if the last update failed, cleared after the next successful update.UpdateFailureStateOrBuilder
getErrorStateOrBuilder()
Set if the last update failed, cleared after the next successful update.com.google.protobuf.Timestamp
getLastUpdated()
The timestamp when the Cluster was last updated.com.google.protobuf.TimestampOrBuilder
getLastUpdatedOrBuilder()
The timestamp when the Cluster was last updated.java.lang.String
getVersionInfo()
This is the per-resource version information.com.google.protobuf.ByteString
getVersionInfoBytes()
This is the per-resource version information.boolean
hasCluster()
The cluster config.boolean
hasErrorState()
Set if the last update failed, cleared after the next successful update.boolean
hasLastUpdated()
The timestamp when the Cluster was last updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVersionInfo
java.lang.String getVersionInfo()
This is the per-resource version information. This version is currently taken from the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that the cluster was loaded. In the future, discrete per-cluster versions may be supported by the API.
string version_info = 1;
- Returns:
- The versionInfo.
-
getVersionInfoBytes
com.google.protobuf.ByteString getVersionInfoBytes()
This is the per-resource version information. This version is currently taken from the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that the cluster was loaded. In the future, discrete per-cluster versions may be supported by the API.
string version_info = 1;
- Returns:
- The bytes for versionInfo.
-
hasCluster
boolean hasCluster()
The cluster config.
.google.protobuf.Any cluster = 2;
- Returns:
- Whether the cluster field is set.
-
getCluster
com.google.protobuf.Any getCluster()
The cluster config.
.google.protobuf.Any cluster = 2;
- Returns:
- The cluster.
-
getClusterOrBuilder
com.google.protobuf.AnyOrBuilder getClusterOrBuilder()
The cluster config.
.google.protobuf.Any cluster = 2;
-
hasLastUpdated
boolean hasLastUpdated()
The timestamp when the Cluster was last updated.
.google.protobuf.Timestamp last_updated = 3;
- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
com.google.protobuf.Timestamp getLastUpdated()
The timestamp when the Cluster was last updated.
.google.protobuf.Timestamp last_updated = 3;
- Returns:
- The lastUpdated.
-
getLastUpdatedOrBuilder
com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()
The timestamp when the Cluster was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
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 = 4;
- 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 = 4;
- 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 = 4;
-
getClientStatusValue
int getClientStatusValue()
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 5;
- Returns:
- The enum numeric value on the wire for clientStatus.
-
getClientStatus
ClientResourceStatus getClientStatus()
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 5;
- Returns:
- The clientStatus.
-
-