public final class HostStatus extends com.google.protobuf.GeneratedMessageV3 implements HostStatusOrBuilder
Current state of a particular host. [#next-free-field: 10]Protobuf type
envoy.admin.v2alpha.HostStatus| Modifier and Type | Class and Description |
|---|---|
static class |
HostStatus.Builder
Current state of a particular host.
|
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
HEALTH_STATUS_FIELD_NUMBER |
static int |
HOSTNAME_FIELD_NUMBER |
static int |
LOCAL_ORIGIN_SUCCESS_RATE_FIELD_NUMBER |
static int |
LOCALITY_FIELD_NUMBER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
STATS_FIELD_NUMBER |
static int |
SUCCESS_RATE_FIELD_NUMBER |
static int |
WEIGHT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Address |
getAddress()
Address of this host.
|
AddressOrBuilder |
getAddressOrBuilder()
Address of this host.
|
static HostStatus |
getDefaultInstance() |
HostStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HostHealthStatus |
getHealthStatus()
The host's current health status.
|
HostHealthStatusOrBuilder |
getHealthStatusOrBuilder()
The host's current health status.
|
String |
getHostname()
The hostname of the host, if applicable.
|
com.google.protobuf.ByteString |
getHostnameBytes()
The hostname of the host, if applicable.
|
Locality |
getLocality()
locality of the host.
|
LocalityOrBuilder |
getLocalityOrBuilder()
locality of the host.
|
Percent |
getLocalOriginSuccessRate()
Request success rate for this host over the last calculated
interval when only locally originated errors are taken into account and externally originated
errors were treated as success.
|
PercentOrBuilder |
getLocalOriginSuccessRateOrBuilder()
Request success rate for this host over the last calculated
interval when only locally originated errors are taken into account and externally originated
errors were treated as success.
|
com.google.protobuf.Parser<HostStatus> |
getParserForType() |
int |
getPriority()
The host's priority.
|
int |
getSerializedSize() |
SimpleMetric |
getStats(int index)
List of stats specific to this host.
|
int |
getStatsCount()
List of stats specific to this host.
|
List<SimpleMetric> |
getStatsList()
List of stats specific to this host.
|
SimpleMetricOrBuilder |
getStatsOrBuilder(int index)
List of stats specific to this host.
|
List<? extends SimpleMetricOrBuilder> |
getStatsOrBuilderList()
List of stats specific to this host.
|
Percent |
getSuccessRate()
Request success rate for this host over the last calculated interval.
|
PercentOrBuilder |
getSuccessRateOrBuilder()
Request success rate for this host over the last calculated interval.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getWeight()
The host's weight.
|
boolean |
hasAddress()
Address of this host.
|
int |
hashCode() |
boolean |
hasHealthStatus()
The host's current health status.
|
boolean |
hasLocality()
locality of the host.
|
boolean |
hasLocalOriginSuccessRate()
Request success rate for this host over the last calculated
interval when only locally originated errors are taken into account and externally originated
errors were treated as success.
|
boolean |
hasSuccessRate()
Request success rate for this host over the last calculated interval.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HostStatus.Builder |
newBuilder() |
static HostStatus.Builder |
newBuilder(HostStatus prototype) |
HostStatus.Builder |
newBuilderForType() |
protected HostStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HostStatus |
parseDelimitedFrom(InputStream input) |
static HostStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HostStatus |
parseFrom(byte[] data) |
static HostStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HostStatus |
parseFrom(ByteBuffer data) |
static HostStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HostStatus |
parseFrom(com.google.protobuf.ByteString data) |
static HostStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HostStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HostStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HostStatus |
parseFrom(InputStream input) |
static HostStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HostStatus> |
parser() |
HostStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ADDRESS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER
public static final int HEALTH_STATUS_FIELD_NUMBER
public static final int SUCCESS_RATE_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
public static final int LOCAL_ORIGIN_SUCCESS_RATE_FIELD_NUMBER
public static final int LOCALITY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public 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 boolean hasAddress()
Address of this host.
.envoy.api.v2.core.Address address = 1;hasAddress in interface HostStatusOrBuilderpublic Address getAddress()
Address of this host.
.envoy.api.v2.core.Address address = 1;getAddress in interface HostStatusOrBuilderpublic AddressOrBuilder getAddressOrBuilder()
Address of this host.
.envoy.api.v2.core.Address address = 1;getAddressOrBuilder in interface HostStatusOrBuilderpublic List<SimpleMetric> getStatsList()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStatsList in interface HostStatusOrBuilderpublic List<? extends SimpleMetricOrBuilder> getStatsOrBuilderList()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStatsOrBuilderList in interface HostStatusOrBuilderpublic int getStatsCount()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStatsCount in interface HostStatusOrBuilderpublic SimpleMetric getStats(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStats in interface HostStatusOrBuilderpublic SimpleMetricOrBuilder getStatsOrBuilder(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStatsOrBuilder in interface HostStatusOrBuilderpublic boolean hasHealthStatus()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;hasHealthStatus in interface HostStatusOrBuilderpublic HostHealthStatus getHealthStatus()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;getHealthStatus in interface HostStatusOrBuilderpublic HostHealthStatusOrBuilder getHealthStatusOrBuilder()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;getHealthStatusOrBuilder in interface HostStatusOrBuilderpublic boolean hasSuccessRate()
Request success rate for this host over the last calculated interval. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *false*, all errors: externally and locally generated were used in success rate calculation. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *true*, only externally generated errors were used in success rate calculation. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;hasSuccessRate in interface HostStatusOrBuilderpublic Percent getSuccessRate()
Request success rate for this host over the last calculated interval. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *false*, all errors: externally and locally generated were used in success rate calculation. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *true*, only externally generated errors were used in success rate calculation. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;getSuccessRate in interface HostStatusOrBuilderpublic PercentOrBuilder getSuccessRateOrBuilder()
Request success rate for this host over the last calculated interval. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *false*, all errors: externally and locally generated were used in success rate calculation. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *true*, only externally generated errors were used in success rate calculation. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;getSuccessRateOrBuilder in interface HostStatusOrBuilderpublic int getWeight()
The host's weight. If not configured, the value defaults to 1.
uint32 weight = 5;getWeight in interface HostStatusOrBuilderpublic String getHostname()
The hostname of the host, if applicable.
string hostname = 6;getHostname in interface HostStatusOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
The hostname of the host, if applicable.
string hostname = 6;getHostnameBytes in interface HostStatusOrBuilderpublic int getPriority()
The host's priority. If not configured, the value defaults to 0 (highest priority).
uint32 priority = 7;getPriority in interface HostStatusOrBuilderpublic boolean hasLocalOriginSuccessRate()
Request success rate for this host over the last calculated interval when only locally originated errors are 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_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *true*. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent local_origin_success_rate = 8;hasLocalOriginSuccessRate in interface HostStatusOrBuilderpublic Percent getLocalOriginSuccessRate()
Request success rate for this host over the last calculated interval when only locally originated errors are 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_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *true*. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent local_origin_success_rate = 8;getLocalOriginSuccessRate in interface HostStatusOrBuilderpublic PercentOrBuilder getLocalOriginSuccessRateOrBuilder()
Request success rate for this host over the last calculated interval when only locally originated errors are 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_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *true*. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent local_origin_success_rate = 8;getLocalOriginSuccessRateOrBuilder in interface HostStatusOrBuilderpublic boolean hasLocality()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;hasLocality in interface HostStatusOrBuilderpublic Locality getLocality()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;getLocality in interface HostStatusOrBuilderpublic LocalityOrBuilder getLocalityOrBuilder()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;getLocalityOrBuilder in interface HostStatusOrBuilderpublic 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 HostStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HostStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HostStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HostStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HostStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HostStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HostStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static HostStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HostStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HostStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HostStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HostStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HostStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HostStatus.Builder newBuilder()
public static HostStatus.Builder newBuilder(HostStatus prototype)
public HostStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HostStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HostStatus getDefaultInstance()
public static com.google.protobuf.Parser<HostStatus> parser()
public com.google.protobuf.Parser<HostStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HostStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.