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.v2alpha.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.v2alpha.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.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.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The host's priority.List of stats specific to this host.Request success rate for this host over the last calculated interval.The 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.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.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.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.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.Request success rate for this host over the last calculated interval.Request success rate for this host over the last calculated interval.Request success rate for this host over the last calculated interval.intThe host's weight.booleanAddress of this host.booleanThe host's current health status.booleanlocality of the host.booleanRequest 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.booleanRequest success rate for this host over the last calculated interval.protected 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.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.mergeSuccessRate(Percent value) Request success rate for this host over the last calculated interval.final 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) 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.setLocalOriginSuccessRate(Percent.Builder builderForValue) 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.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) Request success rate for this host over the last calculated interval.setSuccessRate(Percent.Builder builderForValue) Request success rate for this host over the last calculated interval.final 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.api.v2.core.Address address = 1;- Specified by:
hasAddressin interfaceHostStatusOrBuilder- Returns:
- Whether the address field is set.
-
getAddress
Address of this host.
.envoy.api.v2.core.Address address = 1;- Specified by:
getAddressin interfaceHostStatusOrBuilder- Returns:
- The address.
-
setAddress
Address of this host.
.envoy.api.v2.core.Address address = 1; -
setAddress
Address of this host.
.envoy.api.v2.core.Address address = 1; -
mergeAddress
Address of this host.
.envoy.api.v2.core.Address address = 1; -
clearAddress
Address of this host.
.envoy.api.v2.core.Address address = 1; -
getAddressBuilder
Address of this host.
.envoy.api.v2.core.Address address = 1; -
getAddressOrBuilder
Address of this host.
.envoy.api.v2.core.Address address = 1;- Specified by:
getAddressOrBuilderin interfaceHostStatusOrBuilder
-
getStatsList
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;- Specified by:
getStatsListin interfaceHostStatusOrBuilder
-
getStatsCount
public int getStatsCount()List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;- Specified by:
getStatsCountin interfaceHostStatusOrBuilder
-
getStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;- Specified by:
getStatsin interfaceHostStatusOrBuilder
-
setStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
setStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
addStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
addStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
addStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
addStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
addAllStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
clearStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
removeStats
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
getStatsBuilder
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
getStatsOrBuilder
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;- Specified by:
getStatsOrBuilderin interfaceHostStatusOrBuilder
-
getStatsOrBuilderList
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;- Specified by:
getStatsOrBuilderListin interfaceHostStatusOrBuilder
-
addStatsBuilder
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
addStatsBuilder
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
getStatsBuilderList
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2; -
hasHealthStatus
public boolean hasHealthStatus()The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;- Specified by:
hasHealthStatusin interfaceHostStatusOrBuilder- Returns:
- Whether the healthStatus field is set.
-
getHealthStatus
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;- Specified by:
getHealthStatusin interfaceHostStatusOrBuilder- Returns:
- The healthStatus.
-
setHealthStatus
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3; -
setHealthStatus
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3; -
mergeHealthStatus
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3; -
clearHealthStatus
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3; -
getHealthStatusBuilder
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3; -
getHealthStatusOrBuilder
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;- Specified by:
getHealthStatusOrBuilderin interfaceHostStatusOrBuilder
-
hasSuccessRate
public 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;- Specified by:
hasSuccessRatein interfaceHostStatusOrBuilder- Returns:
- Whether the successRate field is set.
-
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;- Specified by:
getSuccessRatein interfaceHostStatusOrBuilder- Returns:
- The successRate.
-
setSuccessRate
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; -
setSuccessRate
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; -
mergeSuccessRate
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; -
clearSuccessRate
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; -
getSuccessRateBuilder
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
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;- 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()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;- Specified by:
hasLocalOriginSuccessRatein interfaceHostStatusOrBuilder- Returns:
- Whether the localOriginSuccessRate field is set.
-
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;- Specified by:
getLocalOriginSuccessRatein interfaceHostStatusOrBuilder- Returns:
- The localOriginSuccessRate.
-
setLocalOriginSuccessRate
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; -
setLocalOriginSuccessRate
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; -
mergeLocalOriginSuccessRate
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; -
clearLocalOriginSuccessRate
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; -
getLocalOriginSuccessRateBuilder
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
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;- Specified by:
getLocalOriginSuccessRateOrBuilderin interfaceHostStatusOrBuilder
-
hasLocality
public boolean hasLocality()locality of the host.
.envoy.api.v2.core.Locality locality = 9;- Specified by:
hasLocalityin interfaceHostStatusOrBuilder- Returns:
- Whether the locality field is set.
-
getLocality
locality of the host.
.envoy.api.v2.core.Locality locality = 9;- Specified by:
getLocalityin interfaceHostStatusOrBuilder- Returns:
- The locality.
-
setLocality
locality of the host.
.envoy.api.v2.core.Locality locality = 9; -
setLocality
locality of the host.
.envoy.api.v2.core.Locality locality = 9; -
mergeLocality
locality of the host.
.envoy.api.v2.core.Locality locality = 9; -
clearLocality
locality of the host.
.envoy.api.v2.core.Locality locality = 9; -
getLocalityBuilder
locality of the host.
.envoy.api.v2.core.Locality locality = 9; -
getLocalityOrBuilder
locality of the host.
.envoy.api.v2.core.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>
-