public static final class ClustersOuterClass.ClusterStatus extends com.google.protobuf.GeneratedMessageV3 implements ClustersOuterClass.ClusterStatusOrBuilder
Details an individual cluster's current status.Protobuf type
envoy.admin.v2alpha.ClusterStatus| Modifier and Type | Class and Description |
|---|---|
static class |
ClustersOuterClass.ClusterStatus.Builder
Details an individual cluster's current status.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ADDED_VIA_API_FIELD_NUMBER |
static int |
HOST_STATUSES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SUCCESS_RATE_EJECTION_THRESHOLD_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAddedViaApi()
Denotes whether this cluster was added via API or configured statically.
|
static ClustersOuterClass.ClusterStatus |
getDefaultInstance() |
ClustersOuterClass.ClusterStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ClustersOuterClass.HostStatus |
getHostStatuses(int index)
Mapping from host address to the host's current status.
|
int |
getHostStatusesCount()
Mapping from host address to the host's current status.
|
List<ClustersOuterClass.HostStatus> |
getHostStatusesList()
Mapping from host address to the host's current status.
|
ClustersOuterClass.HostStatusOrBuilder |
getHostStatusesOrBuilder(int index)
Mapping from host address to the host's current status.
|
List<? extends ClustersOuterClass.HostStatusOrBuilder> |
getHostStatusesOrBuilderList()
Mapping from host address to the host's current status.
|
String |
getName()
Name of the cluster.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the cluster.
|
com.google.protobuf.Parser<ClustersOuterClass.ClusterStatus> |
getParserForType() |
int |
getSerializedSize() |
PercentOuterClass.Percent |
getSuccessRateEjectionThreshold()
The success rate threshold used in the last interval.
|
PercentOuterClass.PercentOrBuilder |
getSuccessRateEjectionThresholdOrBuilder()
The success rate threshold used in the last interval.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasSuccessRateEjectionThreshold()
The success rate threshold used in the last interval.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClustersOuterClass.ClusterStatus.Builder |
newBuilder() |
static ClustersOuterClass.ClusterStatus.Builder |
newBuilder(ClustersOuterClass.ClusterStatus prototype) |
ClustersOuterClass.ClusterStatus.Builder |
newBuilderForType() |
protected ClustersOuterClass.ClusterStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ClustersOuterClass.ClusterStatus |
parseDelimitedFrom(InputStream input) |
static ClustersOuterClass.ClusterStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClustersOuterClass.ClusterStatus |
parseFrom(byte[] data) |
static ClustersOuterClass.ClusterStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClustersOuterClass.ClusterStatus |
parseFrom(ByteBuffer data) |
static ClustersOuterClass.ClusterStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClustersOuterClass.ClusterStatus |
parseFrom(com.google.protobuf.ByteString data) |
static ClustersOuterClass.ClusterStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClustersOuterClass.ClusterStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClustersOuterClass.ClusterStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClustersOuterClass.ClusterStatus |
parseFrom(InputStream input) |
static ClustersOuterClass.ClusterStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ClustersOuterClass.ClusterStatus> |
parser() |
ClustersOuterClass.ClusterStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int ADDED_VIA_API_FIELD_NUMBER
public static final int SUCCESS_RATE_EJECTION_THRESHOLD_FIELD_NUMBER
public static final int HOST_STATUSES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Name of the cluster.
string name = 1;getName in interface ClustersOuterClass.ClusterStatusOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the cluster.
string name = 1;getNameBytes in interface ClustersOuterClass.ClusterStatusOrBuilderpublic boolean getAddedViaApi()
Denotes whether this cluster was added via API or configured statically.
bool added_via_api = 2;getAddedViaApi in interface ClustersOuterClass.ClusterStatusOrBuilderpublic boolean hasSuccessRateEjectionThreshold()
The success rate threshold used in the last interval. The threshold is used to eject hosts
based on their success rate. See
:ref:`Cluster outlier detection <arch_overview_outlier_detection>` statistics
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.Percent success_rate_ejection_threshold = 3;hasSuccessRateEjectionThreshold in interface ClustersOuterClass.ClusterStatusOrBuilderpublic PercentOuterClass.Percent getSuccessRateEjectionThreshold()
The success rate threshold used in the last interval. The threshold is used to eject hosts
based on their success rate. See
:ref:`Cluster outlier detection <arch_overview_outlier_detection>` statistics
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.Percent success_rate_ejection_threshold = 3;getSuccessRateEjectionThreshold in interface ClustersOuterClass.ClusterStatusOrBuilderpublic PercentOuterClass.PercentOrBuilder getSuccessRateEjectionThresholdOrBuilder()
The success rate threshold used in the last interval. The threshold is used to eject hosts
based on their success rate. See
:ref:`Cluster outlier detection <arch_overview_outlier_detection>` statistics
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.Percent success_rate_ejection_threshold = 3;getSuccessRateEjectionThresholdOrBuilder in interface ClustersOuterClass.ClusterStatusOrBuilderpublic List<ClustersOuterClass.HostStatus> getHostStatusesList()
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;getHostStatusesList in interface ClustersOuterClass.ClusterStatusOrBuilderpublic List<? extends ClustersOuterClass.HostStatusOrBuilder> getHostStatusesOrBuilderList()
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;getHostStatusesOrBuilderList in interface ClustersOuterClass.ClusterStatusOrBuilderpublic int getHostStatusesCount()
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;getHostStatusesCount in interface ClustersOuterClass.ClusterStatusOrBuilderpublic ClustersOuterClass.HostStatus getHostStatuses(int index)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;getHostStatuses in interface ClustersOuterClass.ClusterStatusOrBuilderpublic ClustersOuterClass.HostStatusOrBuilder getHostStatusesOrBuilder(int index)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;getHostStatusesOrBuilder in interface ClustersOuterClass.ClusterStatusOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ClustersOuterClass.ClusterStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClustersOuterClass.ClusterStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClustersOuterClass.ClusterStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClustersOuterClass.ClusterStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClustersOuterClass.ClusterStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClustersOuterClass.ClusterStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClustersOuterClass.ClusterStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClustersOuterClass.ClusterStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClustersOuterClass.ClusterStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClustersOuterClass.ClusterStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClustersOuterClass.ClusterStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClustersOuterClass.ClusterStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ClustersOuterClass.ClusterStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClustersOuterClass.ClusterStatus.Builder newBuilder()
public static ClustersOuterClass.ClusterStatus.Builder newBuilder(ClustersOuterClass.ClusterStatus prototype)
public ClustersOuterClass.ClusterStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ClustersOuterClass.ClusterStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ClustersOuterClass.ClusterStatus getDefaultInstance()
public static com.google.protobuf.Parser<ClustersOuterClass.ClusterStatus> parser()
public com.google.protobuf.Parser<ClustersOuterClass.ClusterStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ClustersOuterClass.ClusterStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.