Interface HostStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HostStatus,HostStatus.Builder
public interface HostStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddressgetAddress()Address of this host.AddressOrBuildergetAddressOrBuilder()Address of this host.HostHealthStatusgetHealthStatus()The host's current health status.HostHealthStatusOrBuildergetHealthStatusOrBuilder()The host's current health status.StringgetHostname()The hostname of the host, if applicable.com.google.protobuf.ByteStringgetHostnameBytes()The hostname of the host, if applicable.LocalitygetLocality()locality of the host.LocalityOrBuildergetLocalityOrBuilder()locality of the host.PercentgetLocalOriginSuccessRate()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.PercentOrBuildergetLocalOriginSuccessRateOrBuilder()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.intgetPriority()The host's priority.SimpleMetricgetStats(int index)List of stats specific to this host.intgetStatsCount()List of stats specific to this host.List<SimpleMetric>getStatsList()List of stats specific to this host.SimpleMetricOrBuildergetStatsOrBuilder(int index)List of stats specific to this host.List<? extends SimpleMetricOrBuilder>getStatsOrBuilderList()List of stats specific to this host.PercentgetSuccessRate()Request success rate for this host over the last calculated interval.PercentOrBuildergetSuccessRateOrBuilder()Request success rate for this host over the last calculated interval.intgetWeight()The host's weight.booleanhasAddress()Address of this host.booleanhasHealthStatus()The host's current health status.booleanhasLocality()locality of the host.booleanhasLocalOriginSuccessRate()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.booleanhasSuccessRate()Request success rate for this host over the last calculated interval.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAddress
boolean hasAddress()
Address of this host.
.envoy.api.v2.core.Address address = 1;
-
getAddress
Address getAddress()
Address of this host.
.envoy.api.v2.core.Address address = 1;
-
getAddressOrBuilder
AddressOrBuilder getAddressOrBuilder()
Address of this host.
.envoy.api.v2.core.Address address = 1;
-
getStatsList
List<SimpleMetric> getStatsList()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
getStats
SimpleMetric getStats(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
getStatsCount
int getStatsCount()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
getStatsOrBuilderList
List<? extends SimpleMetricOrBuilder> getStatsOrBuilderList()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
getStatsOrBuilder
SimpleMetricOrBuilder getStatsOrBuilder(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
hasHealthStatus
boolean hasHealthStatus()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;
-
getHealthStatus
HostHealthStatus getHealthStatus()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;
-
getHealthStatusOrBuilder
HostHealthStatusOrBuilder getHealthStatusOrBuilder()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;
-
hasSuccessRate
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;
-
getSuccessRate
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;
-
getSuccessRateOrBuilder
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;
-
getWeight
int getWeight()
The host's weight. If not configured, the value defaults to 1.
uint32 weight = 5;
-
getHostname
String getHostname()
The hostname of the host, if applicable.
string hostname = 6;
-
getHostnameBytes
com.google.protobuf.ByteString getHostnameBytes()
The hostname of the host, if applicable.
string hostname = 6;
-
getPriority
int getPriority()
The host's priority. If not configured, the value defaults to 0 (highest priority).
uint32 priority = 7;
-
hasLocalOriginSuccessRate
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;
-
getLocalOriginSuccessRate
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;
-
getLocalOriginSuccessRateOrBuilder
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;
-
hasLocality
boolean hasLocality()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;
-
getLocality
Locality getLocality()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;
-
getLocalityOrBuilder
LocalityOrBuilder getLocalityOrBuilder()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;
-
-