Package io.envoyproxy.envoy.admin.v3
Class HostStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
io.envoyproxy.envoy.admin.v3.HostStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HostStatusOrBuilder,Cloneable
- Enclosing class:
- HostStatus
public static final class HostStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
implements HostStatusOrBuilder
Current state of a particular host. [#next-free-field: 10]Protobuf type
envoy.admin.v3.HostStatus-
Method Summary
Modifier and TypeMethodDescriptionaddAllStats(Iterable<? extends SimpleMetric> values) List of stats specific to this host.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addStats(int index, SimpleMetric value) List of stats specific to this host.addStats(int index, SimpleMetric.Builder builderForValue) List of stats specific to this host.addStats(SimpleMetric value) List of stats specific to this host.addStats(SimpleMetric.Builder builderForValue) List of stats specific to this host.List of stats specific to this host.addStatsBuilder(int index) List of stats specific to this host.build()clear()Address of this host.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The host's current health status.The hostname of the host, if applicable.locality of the host.The success rate for this host during the last interval, considering only locally generated errors.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The host's priority.List of stats specific to this host.The success rate for this host during the last measurement intervalThe host's weight.clone()Address of this host.Address of this host.Address of this host.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe host's current health status.The host's current health status.The host's current health status.The hostname of the host, if applicable.com.google.protobuf.ByteStringThe hostname of the host, if applicable.locality of the host.locality of the host.locality of the host.The success rate for this host during the last interval, considering only locally generated errors.The success rate for this host during the last interval, considering only locally generated errors.The success rate for this host during the last interval, considering only locally generated errors.intThe host's priority.getStats(int index) List of stats specific to this host.getStatsBuilder(int index) List of stats specific to this host.List of stats specific to this host.intList of stats specific to this host.List of stats specific to this host.getStatsOrBuilder(int index) List of stats specific to this host.List<? extends SimpleMetricOrBuilder>List of stats specific to this host.The success rate for this host during the last measurement intervalThe success rate for this host during the last measurement intervalThe success rate for this host during the last measurement intervalintThe host's weight.booleanAddress of this host.booleanThe host's current health status.booleanlocality of the host.booleanThe success rate for this host during the last interval, considering only locally generated errors.booleanThe success rate for this host during the last measurement intervalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAddress(Address value) Address of this host.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HostStatus other) The host's current health status.mergeLocality(Locality value) locality of the host.The success rate for this host during the last interval, considering only locally generated errors.mergeSuccessRate(Percent value) The success rate for this host during the last measurement intervalfinal HostStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeStats(int index) List of stats specific to this host.setAddress(Address value) Address of this host.setAddress(Address.Builder builderForValue) Address of this host.setHealthStatus(HostHealthStatus value) The host's current health status.setHealthStatus(HostHealthStatus.Builder builderForValue) The host's current health status.setHostname(String value) The hostname of the host, if applicable.setHostnameBytes(com.google.protobuf.ByteString value) The hostname of the host, if applicable.setLocality(Locality value) locality of the host.setLocality(Locality.Builder builderForValue) locality of the host.setLocalOriginSuccessRate(Percent value) The success rate for this host during the last interval, considering only locally generated errors.setLocalOriginSuccessRate(Percent.Builder builderForValue) The success rate for this host during the last interval, considering only locally generated errors.setPriority(int value) The host's priority.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStats(int index, SimpleMetric value) List of stats specific to this host.setStats(int index, SimpleMetric.Builder builderForValue) List of stats specific to this host.setSuccessRate(Percent value) The success rate for this host during the last measurement intervalsetSuccessRate(Percent.Builder builderForValue) The success rate for this host during the last measurement intervalfinal HostStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWeight(int value) The host's weight.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<HostStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
setField
public HostStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
setRepeatedField
public HostStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
addRepeatedField
public HostStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HostStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
mergeFrom
public HostStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HostStatus.Builder>- Throws:
IOException
-
hasAddress
public boolean hasAddress()Address of this host.
.envoy.config.core.v3.Address address = 1;- Specified by:
hasAddressin interfaceHostStatusOrBuilder- Returns:
- Whether the address field is set.
-
getAddress
Address of this host.
.envoy.config.core.v3.Address address = 1;- Specified by:
getAddressin interfaceHostStatusOrBuilder- Returns:
- The address.
-
setAddress
Address of this host.
.envoy.config.core.v3.Address address = 1; -
setAddress
Address of this host.
.envoy.config.core.v3.Address address = 1; -
mergeAddress
Address of this host.
.envoy.config.core.v3.Address address = 1; -
clearAddress
Address of this host.
.envoy.config.core.v3.Address address = 1; -
getAddressBuilder
Address of this host.
.envoy.config.core.v3.Address address = 1; -
getAddressOrBuilder
Address of this host.
.envoy.config.core.v3.Address address = 1;- Specified by:
getAddressOrBuilderin interfaceHostStatusOrBuilder
-
getStatsList
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2;- Specified by:
getStatsListin interfaceHostStatusOrBuilder
-
getStatsCount
public int getStatsCount()List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2;- Specified by:
getStatsCountin interfaceHostStatusOrBuilder
-
getStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2;- Specified by:
getStatsin interfaceHostStatusOrBuilder
-
setStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
setStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
addStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
addStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
addStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
addStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
addAllStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
clearStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
removeStats
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
getStatsBuilder
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
getStatsOrBuilder
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2;- Specified by:
getStatsOrBuilderin interfaceHostStatusOrBuilder
-
getStatsOrBuilderList
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2;- Specified by:
getStatsOrBuilderListin interfaceHostStatusOrBuilder
-
addStatsBuilder
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
addStatsBuilder
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
getStatsBuilderList
List of stats specific to this host.
repeated .envoy.admin.v3.SimpleMetric stats = 2; -
hasHealthStatus
public boolean hasHealthStatus()The host's current health status.
.envoy.admin.v3.HostHealthStatus health_status = 3;- Specified by:
hasHealthStatusin interfaceHostStatusOrBuilder- Returns:
- Whether the healthStatus field is set.
-
getHealthStatus
The host's current health status.
.envoy.admin.v3.HostHealthStatus health_status = 3;- Specified by:
getHealthStatusin interfaceHostStatusOrBuilder- Returns:
- The healthStatus.
-
setHealthStatus
The host's current health status.
.envoy.admin.v3.HostHealthStatus health_status = 3; -
setHealthStatus
The host's current health status.
.envoy.admin.v3.HostHealthStatus health_status = 3; -
mergeHealthStatus
The host's current health status.
.envoy.admin.v3.HostHealthStatus health_status = 3; -
clearHealthStatus
The host's current health status.
.envoy.admin.v3.HostHealthStatus health_status = 3; -
getHealthStatusBuilder
The host's current health status.
.envoy.admin.v3.HostHealthStatus health_status = 3; -
getHealthStatusOrBuilder
The host's current health status.
.envoy.admin.v3.HostHealthStatus health_status = 3;- Specified by:
getHealthStatusOrBuilderin interfaceHostStatusOrBuilder
-
hasSuccessRate
public boolean hasSuccessRate()The success rate for this host during the last measurement 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 in success rate calculation. * 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 in success rate calculation. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or if the cluster had too few hosts to apply outlier ejection based on success rate.
.envoy.type.v3.Percent success_rate = 4;- Specified by:
hasSuccessRatein interfaceHostStatusOrBuilder- Returns:
- Whether the successRate field is set.
-
getSuccessRate
The success rate for this host during the last measurement 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 in success rate calculation. * 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 in success rate calculation. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or if the cluster had too few hosts to apply outlier ejection based on success rate.
.envoy.type.v3.Percent success_rate = 4;- Specified by:
getSuccessRatein interfaceHostStatusOrBuilder- Returns:
- The successRate.
-
setSuccessRate
The success rate for this host during the last measurement 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 in success rate calculation. * 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 in success rate calculation. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or if the cluster had too few hosts to apply outlier ejection based on success rate.
.envoy.type.v3.Percent success_rate = 4; -
setSuccessRate
The success rate for this host during the last measurement 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 in success rate calculation. * 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 in success rate calculation. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or if the cluster had too few hosts to apply outlier ejection based on success rate.
.envoy.type.v3.Percent success_rate = 4; -
mergeSuccessRate
The success rate for this host during the last measurement 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 in success rate calculation. * 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 in success rate calculation. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or if the cluster had too few hosts to apply outlier ejection based on success rate.
.envoy.type.v3.Percent success_rate = 4; -
clearSuccessRate
The success rate for this host during the last measurement 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 in success rate calculation. * 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 in success rate calculation. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or if the cluster had too few hosts to apply outlier ejection based on success rate.
.envoy.type.v3.Percent success_rate = 4; -
getSuccessRateBuilder
The success rate for this host during the last measurement 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 in success rate calculation. * 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 in success rate calculation. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or if the cluster had too few hosts to apply outlier ejection based on success rate.
.envoy.type.v3.Percent success_rate = 4; -
getSuccessRateOrBuilder
The success rate for this host during the last measurement 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 in success rate calculation. * 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 in success rate calculation. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or if the cluster had too few hosts to apply outlier ejection based on success rate.
.envoy.type.v3.Percent success_rate = 4;- Specified by:
getSuccessRateOrBuilderin interfaceHostStatusOrBuilder
-
getWeight
public int getWeight()The host's weight. If not configured, the value defaults to 1.
uint32 weight = 5;- Specified by:
getWeightin interfaceHostStatusOrBuilder- Returns:
- The weight.
-
setWeight
The host's weight. If not configured, the value defaults to 1.
uint32 weight = 5;- Parameters:
value- The weight to set.- Returns:
- This builder for chaining.
-
clearWeight
The host's weight. If not configured, the value defaults to 1.
uint32 weight = 5;- Returns:
- This builder for chaining.
-
getHostname
The hostname of the host, if applicable.
string hostname = 6;- Specified by:
getHostnamein interfaceHostStatusOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()The hostname of the host, if applicable.
string hostname = 6;- Specified by:
getHostnameBytesin interfaceHostStatusOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
The hostname of the host, if applicable.
string hostname = 6;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
The hostname of the host, if applicable.
string hostname = 6;- Returns:
- This builder for chaining.
-
setHostnameBytes
The hostname of the host, if applicable.
string hostname = 6;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
getPriority
public int getPriority()The host's priority. If not configured, the value defaults to 0 (highest priority).
uint32 priority = 7;- Specified by:
getPriorityin interfaceHostStatusOrBuilder- Returns:
- The priority.
-
setPriority
The host's priority. If not configured, the value defaults to 0 (highest priority).
uint32 priority = 7;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
The host's priority. If not configured, the value defaults to 0 (highest priority).
uint32 priority = 7;- Returns:
- This builder for chaining.
-
hasLocalOriginSuccessRate
public boolean hasLocalOriginSuccessRate()The success rate for this host during the last interval, considering only locally generated errors. Externally generated errors are treated as successes. This field is only relevant when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the cluster didn't have enough hosts to perform outlier ejection based on success rate.
.envoy.type.v3.Percent local_origin_success_rate = 8;- Specified by:
hasLocalOriginSuccessRatein interfaceHostStatusOrBuilder- Returns:
- Whether the localOriginSuccessRate field is set.
-
getLocalOriginSuccessRate
The success rate for this host during the last interval, considering only locally generated errors. Externally generated errors are treated as successes. This field is only relevant when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the cluster didn't have enough hosts to perform outlier ejection based on success rate.
.envoy.type.v3.Percent local_origin_success_rate = 8;- Specified by:
getLocalOriginSuccessRatein interfaceHostStatusOrBuilder- Returns:
- The localOriginSuccessRate.
-
setLocalOriginSuccessRate
The success rate for this host during the last interval, considering only locally generated errors. Externally generated errors are treated as successes. This field is only relevant when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the cluster didn't have enough hosts to perform outlier ejection based on success rate.
.envoy.type.v3.Percent local_origin_success_rate = 8; -
setLocalOriginSuccessRate
The success rate for this host during the last interval, considering only locally generated errors. Externally generated errors are treated as successes. This field is only relevant when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the cluster didn't have enough hosts to perform outlier ejection based on success rate.
.envoy.type.v3.Percent local_origin_success_rate = 8; -
mergeLocalOriginSuccessRate
The success rate for this host during the last interval, considering only locally generated errors. Externally generated errors are treated as successes. This field is only relevant when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the cluster didn't have enough hosts to perform outlier ejection based on success rate.
.envoy.type.v3.Percent local_origin_success_rate = 8; -
clearLocalOriginSuccessRate
The success rate for this host during the last interval, considering only locally generated errors. Externally generated errors are treated as successes. This field is only relevant when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the cluster didn't have enough hosts to perform outlier ejection based on success rate.
.envoy.type.v3.Percent local_origin_success_rate = 8; -
getLocalOriginSuccessRateBuilder
The success rate for this host during the last interval, considering only locally generated errors. Externally generated errors are treated as successes. This field is only relevant when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the cluster didn't have enough hosts to perform outlier ejection based on success rate.
.envoy.type.v3.Percent local_origin_success_rate = 8; -
getLocalOriginSuccessRateOrBuilder
The success rate for this host during the last interval, considering only locally generated errors. Externally generated errors are treated as successes. This field is only relevant when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``. For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation. .. note:: The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the cluster didn't have enough hosts to perform outlier ejection based on success rate.
.envoy.type.v3.Percent local_origin_success_rate = 8;- Specified by:
getLocalOriginSuccessRateOrBuilderin interfaceHostStatusOrBuilder
-
hasLocality
public boolean hasLocality()locality of the host.
.envoy.config.core.v3.Locality locality = 9;- Specified by:
hasLocalityin interfaceHostStatusOrBuilder- Returns:
- Whether the locality field is set.
-
getLocality
locality of the host.
.envoy.config.core.v3.Locality locality = 9;- Specified by:
getLocalityin interfaceHostStatusOrBuilder- Returns:
- The locality.
-
setLocality
locality of the host.
.envoy.config.core.v3.Locality locality = 9; -
setLocality
locality of the host.
.envoy.config.core.v3.Locality locality = 9; -
mergeLocality
locality of the host.
.envoy.config.core.v3.Locality locality = 9; -
clearLocality
locality of the host.
.envoy.config.core.v3.Locality locality = 9; -
getLocalityBuilder
locality of the host.
.envoy.config.core.v3.Locality locality = 9; -
getLocalityOrBuilder
locality of the host.
.envoy.config.core.v3.Locality locality = 9;- Specified by:
getLocalityOrBuilderin interfaceHostStatusOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
mergeUnknownFields
public final HostStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-