Package io.envoyproxy.envoy.admin.v3
Class ClusterStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.admin.v3.ClusterStatus
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ClusterStatusOrBuilder,Serializable
public final class ClusterStatus
extends com.google.protobuf.GeneratedMessageV3
implements ClusterStatusOrBuilder
Details an individual cluster's current status. [#next-free-field: 9]Protobuf type
envoy.admin.v3.ClusterStatus- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails an individual cluster's current status.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanDenotes whether this cluster was added via API or configured statically.:ref:`Circuit breaking <arch_overview_circuit_break>` settings of the cluster.:ref:`Circuit breaking <arch_overview_circuit_break>` settings of the cluster.static ClusterStatusstatic final com.google.protobuf.Descriptors.DescriptorThe :ref:`EDS service name <envoy_v3_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` if the cluster is an EDS cluster.com.google.protobuf.ByteStringThe :ref:`EDS service name <envoy_v3_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` if the cluster is an EDS cluster.getHostStatuses(int index) Mapping from host address to the host's current status.intMapping from host address to the host's current status.Mapping from host address to the host's current status.getHostStatusesOrBuilder(int index) Mapping from host address to the host's current status.List<? extends HostStatusOrBuilder>Mapping from host address to the host's current status.The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.getName()Name of the cluster.com.google.protobuf.ByteStringName of the cluster.Observability name of the cluster.com.google.protobuf.ByteStringObservability name of the cluster.com.google.protobuf.Parser<ClusterStatus>intThe success rate threshold used in the last intervalThe success rate threshold used in the last intervalboolean:ref:`Circuit breaking <arch_overview_circuit_break>` settings of the cluster.inthashCode()booleanThe success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.booleanThe success rate threshold used in the last intervalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ClusterStatus.Builderstatic ClusterStatus.BuildernewBuilder(ClusterStatus prototype) protected ClusterStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ClusterStatusparseDelimitedFrom(InputStream input) static ClusterStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterStatusparseFrom(byte[] data) static ClusterStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterStatusparseFrom(com.google.protobuf.ByteString data) static ClusterStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterStatusparseFrom(com.google.protobuf.CodedInputStream input) static ClusterStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterStatusparseFrom(InputStream input) static ClusterStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterStatusparseFrom(ByteBuffer data) static ClusterStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ClusterStatus>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
ADDED_VIA_API_FIELD_NUMBER
public static final int ADDED_VIA_API_FIELD_NUMBER- See Also:
-
SUCCESS_RATE_EJECTION_THRESHOLD_FIELD_NUMBER
public static final int SUCCESS_RATE_EJECTION_THRESHOLD_FIELD_NUMBER- See Also:
-
HOST_STATUSES_FIELD_NUMBER
public static final int HOST_STATUSES_FIELD_NUMBER- See Also:
-
LOCAL_ORIGIN_SUCCESS_RATE_EJECTION_THRESHOLD_FIELD_NUMBER
public static final int LOCAL_ORIGIN_SUCCESS_RATE_EJECTION_THRESHOLD_FIELD_NUMBER- See Also:
-
CIRCUIT_BREAKERS_FIELD_NUMBER
public static final int CIRCUIT_BREAKERS_FIELD_NUMBER- See Also:
-
OBSERVABILITY_NAME_FIELD_NUMBER
public static final int OBSERVABILITY_NAME_FIELD_NUMBER- See Also:
-
EDS_SERVICE_NAME_FIELD_NUMBER
public static final int EDS_SERVICE_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
-
getName
Name of the cluster.
string name = 1;- Specified by:
getNamein interfaceClusterStatusOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the cluster.
string name = 1;- Specified by:
getNameBytesin interfaceClusterStatusOrBuilder- Returns:
- The bytes for name.
-
getAddedViaApi
public boolean getAddedViaApi()Denotes whether this cluster was added via API or configured statically.
bool added_via_api = 2;- Specified by:
getAddedViaApiin interfaceClusterStatusOrBuilder- Returns:
- The addedViaApi.
-
hasSuccessRateEjectionThreshold
public boolean hasSuccessRateEjectionThreshold()The success rate threshold used in the last interval. * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is ``false``, all errors: externally and locally generated were used to calculate the threshold. * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is ``true``, only externally generated errors were used to calculate the threshold. The threshold is used to eject hosts based on their success rate. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: This field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.v3.Percent success_rate_ejection_threshold = 3;- Specified by:
hasSuccessRateEjectionThresholdin interfaceClusterStatusOrBuilder- Returns:
- Whether the successRateEjectionThreshold field is set.
-
getSuccessRateEjectionThreshold
The success rate threshold used in the last interval. * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is ``false``, all errors: externally and locally generated were used to calculate the threshold. * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is ``true``, only externally generated errors were used to calculate the threshold. The threshold is used to eject hosts based on their success rate. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: This field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.v3.Percent success_rate_ejection_threshold = 3;- Specified by:
getSuccessRateEjectionThresholdin interfaceClusterStatusOrBuilder- Returns:
- The successRateEjectionThreshold.
-
getSuccessRateEjectionThresholdOrBuilder
The success rate threshold used in the last interval. * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is ``false``, all errors: externally and locally generated were used to calculate the threshold. * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is ``true``, only externally generated errors were used to calculate the threshold. The threshold is used to eject hosts based on their success rate. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: This field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.v3.Percent success_rate_ejection_threshold = 3;- Specified by:
getSuccessRateEjectionThresholdOrBuilderin interfaceClusterStatusOrBuilder
-
getHostStatusesList
Mapping from host address to the host's current status.
repeated .envoy.admin.v3.HostStatus host_statuses = 4;- Specified by:
getHostStatusesListin interfaceClusterStatusOrBuilder
-
getHostStatusesOrBuilderList
Mapping from host address to the host's current status.
repeated .envoy.admin.v3.HostStatus host_statuses = 4;- Specified by:
getHostStatusesOrBuilderListin interfaceClusterStatusOrBuilder
-
getHostStatusesCount
public int getHostStatusesCount()Mapping from host address to the host's current status.
repeated .envoy.admin.v3.HostStatus host_statuses = 4;- Specified by:
getHostStatusesCountin interfaceClusterStatusOrBuilder
-
getHostStatuses
Mapping from host address to the host's current status.
repeated .envoy.admin.v3.HostStatus host_statuses = 4;- Specified by:
getHostStatusesin interfaceClusterStatusOrBuilder
-
getHostStatusesOrBuilder
Mapping from host address to the host's current status.
repeated .envoy.admin.v3.HostStatus host_statuses = 4;- Specified by:
getHostStatusesOrBuilderin interfaceClusterStatusOrBuilder
-
hasLocalOriginSuccessRateEjectionThreshold
public boolean hasLocalOriginSuccessRateEjectionThreshold()The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success. This field should be interpreted only when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is ``true``. The threshold is used to eject hosts based on their success rate. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: This field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.v3.Percent local_origin_success_rate_ejection_threshold = 5;- Specified by:
hasLocalOriginSuccessRateEjectionThresholdin interfaceClusterStatusOrBuilder- Returns:
- Whether the localOriginSuccessRateEjectionThreshold field is set.
-
getLocalOriginSuccessRateEjectionThreshold
The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success. This field should be interpreted only when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is ``true``. The threshold is used to eject hosts based on their success rate. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: This field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.v3.Percent local_origin_success_rate_ejection_threshold = 5;- Specified by:
getLocalOriginSuccessRateEjectionThresholdin interfaceClusterStatusOrBuilder- Returns:
- The localOriginSuccessRateEjectionThreshold.
-
getLocalOriginSuccessRateEjectionThresholdOrBuilder
The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success. This field should be interpreted only when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is ``true``. The threshold is used to eject hosts based on their success rate. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: This field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.v3.Percent local_origin_success_rate_ejection_threshold = 5;- Specified by:
getLocalOriginSuccessRateEjectionThresholdOrBuilderin interfaceClusterStatusOrBuilder
-
hasCircuitBreakers
public boolean hasCircuitBreakers():ref:`Circuit breaking <arch_overview_circuit_break>` settings of the cluster.
.envoy.config.cluster.v3.CircuitBreakers circuit_breakers = 6;- Specified by:
hasCircuitBreakersin interfaceClusterStatusOrBuilder- Returns:
- Whether the circuitBreakers field is set.
-
getCircuitBreakers
:ref:`Circuit breaking <arch_overview_circuit_break>` settings of the cluster.
.envoy.config.cluster.v3.CircuitBreakers circuit_breakers = 6;- Specified by:
getCircuitBreakersin interfaceClusterStatusOrBuilder- Returns:
- The circuitBreakers.
-
getCircuitBreakersOrBuilder
:ref:`Circuit breaking <arch_overview_circuit_break>` settings of the cluster.
.envoy.config.cluster.v3.CircuitBreakers circuit_breakers = 6;- Specified by:
getCircuitBreakersOrBuilderin interfaceClusterStatusOrBuilder
-
getObservabilityName
Observability name of the cluster.
string observability_name = 7;- Specified by:
getObservabilityNamein interfaceClusterStatusOrBuilder- Returns:
- The observabilityName.
-
getObservabilityNameBytes
public com.google.protobuf.ByteString getObservabilityNameBytes()Observability name of the cluster.
string observability_name = 7;- Specified by:
getObservabilityNameBytesin interfaceClusterStatusOrBuilder- Returns:
- The bytes for observabilityName.
-
getEdsServiceName
The :ref:`EDS service name <envoy_v3_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` if the cluster is an EDS cluster.
string eds_service_name = 8;- Specified by:
getEdsServiceNamein interfaceClusterStatusOrBuilder- Returns:
- The edsServiceName.
-
getEdsServiceNameBytes
public com.google.protobuf.ByteString getEdsServiceNameBytes()The :ref:`EDS service name <envoy_v3_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` if the cluster is an EDS cluster.
string eds_service_name = 8;- Specified by:
getEdsServiceNameBytesin interfaceClusterStatusOrBuilder- Returns:
- The bytes for edsServiceName.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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 ClusterStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ClusterStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ClusterStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClusterStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-