Class HostStatus.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeenvoy.admin.v2alpha.HostStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HostStatus.BuilderaddAllStats(Iterable<? extends SimpleMetric> values)List of stats specific to this host.HostStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HostStatus.BuilderaddStats(int index, SimpleMetric value)List of stats specific to this host.HostStatus.BuilderaddStats(int index, SimpleMetric.Builder builderForValue)List of stats specific to this host.HostStatus.BuilderaddStats(SimpleMetric value)List of stats specific to this host.HostStatus.BuilderaddStats(SimpleMetric.Builder builderForValue)List of stats specific to this host.SimpleMetric.BuilderaddStatsBuilder()List of stats specific to this host.SimpleMetric.BuilderaddStatsBuilder(int index)List of stats specific to this host.HostStatusbuild()HostStatusbuildPartial()HostStatus.Builderclear()HostStatus.BuilderclearAddress()Address of this host.HostStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HostStatus.BuilderclearHealthStatus()The host's current health status.HostStatus.BuilderclearHostname()The hostname of the host, if applicable.HostStatus.BuilderclearLocality()locality of the host.HostStatus.BuilderclearLocalOriginSuccessRate()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.HostStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HostStatus.BuilderclearPriority()The host's priority.HostStatus.BuilderclearStats()List of stats specific to this host.HostStatus.BuilderclearSuccessRate()Request success rate for this host over the last calculated interval.HostStatus.BuilderclearWeight()The host's weight.HostStatus.Builderclone()AddressgetAddress()Address of this host.Address.BuildergetAddressBuilder()Address of this host.AddressOrBuildergetAddressOrBuilder()Address of this host.HostStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HostHealthStatusgetHealthStatus()The host's current health status.HostHealthStatus.BuildergetHealthStatusBuilder()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.Locality.BuildergetLocalityBuilder()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.Percent.BuildergetLocalOriginSuccessRateBuilder()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.SimpleMetric.BuildergetStatsBuilder(int index)List of stats specific to this host.List<SimpleMetric.Builder>getStatsBuilderList()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.Percent.BuildergetSuccessRateBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HostStatus.BuildermergeAddress(Address value)Address of this host.HostStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HostStatus.BuildermergeFrom(com.google.protobuf.Message other)HostStatus.BuildermergeFrom(HostStatus other)HostStatus.BuildermergeHealthStatus(HostHealthStatus value)The host's current health status.HostStatus.BuildermergeLocality(Locality value)locality of the host.HostStatus.BuildermergeLocalOriginSuccessRate(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.HostStatus.BuildermergeSuccessRate(Percent value)Request success rate for this host over the last calculated interval.HostStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HostStatus.BuilderremoveStats(int index)List of stats specific to this host.HostStatus.BuildersetAddress(Address value)Address of this host.HostStatus.BuildersetAddress(Address.Builder builderForValue)Address of this host.HostStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HostStatus.BuildersetHealthStatus(HostHealthStatus value)The host's current health status.HostStatus.BuildersetHealthStatus(HostHealthStatus.Builder builderForValue)The host's current health status.HostStatus.BuildersetHostname(String value)The hostname of the host, if applicable.HostStatus.BuildersetHostnameBytes(com.google.protobuf.ByteString value)The hostname of the host, if applicable.HostStatus.BuildersetLocality(Locality value)locality of the host.HostStatus.BuildersetLocality(Locality.Builder builderForValue)locality of the host.HostStatus.BuildersetLocalOriginSuccessRate(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.HostStatus.BuildersetLocalOriginSuccessRate(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.HostStatus.BuildersetPriority(int value)The host's priority.HostStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HostStatus.BuildersetStats(int index, SimpleMetric value)List of stats specific to this host.HostStatus.BuildersetStats(int index, SimpleMetric.Builder builderForValue)List of stats specific to this host.HostStatus.BuildersetSuccessRate(Percent value)Request success rate for this host over the last calculated interval.HostStatus.BuildersetSuccessRate(Percent.Builder builderForValue)Request success rate for this host over the last calculated interval.HostStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HostStatus.BuildersetWeight(int value)The host's weight.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public HostStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HostStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HostStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HostStatus.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
public HostStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
-
clearOneof
public HostStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public HostStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HostStatus.Builder>
-
mergeFrom
public HostStatus.Builder mergeFrom(HostStatus other)
-
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
public Address getAddress()
Address of this host.
.envoy.api.v2.core.Address address = 1;- Specified by:
getAddressin interfaceHostStatusOrBuilder- Returns:
- The address.
-
setAddress
public HostStatus.Builder setAddress(Address value)
Address of this host.
.envoy.api.v2.core.Address address = 1;
-
setAddress
public HostStatus.Builder setAddress(Address.Builder builderForValue)
Address of this host.
.envoy.api.v2.core.Address address = 1;
-
mergeAddress
public HostStatus.Builder mergeAddress(Address value)
Address of this host.
.envoy.api.v2.core.Address address = 1;
-
clearAddress
public HostStatus.Builder clearAddress()
Address of this host.
.envoy.api.v2.core.Address address = 1;
-
getAddressBuilder
public Address.Builder getAddressBuilder()
Address of this host.
.envoy.api.v2.core.Address address = 1;
-
getAddressOrBuilder
public AddressOrBuilder getAddressOrBuilder()
Address of this host.
.envoy.api.v2.core.Address address = 1;- Specified by:
getAddressOrBuilderin interfaceHostStatusOrBuilder
-
getStatsList
public List<SimpleMetric> 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
public SimpleMetric getStats(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;- Specified by:
getStatsin interfaceHostStatusOrBuilder
-
setStats
public HostStatus.Builder setStats(int index, SimpleMetric value)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
setStats
public HostStatus.Builder setStats(int index, SimpleMetric.Builder builderForValue)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
addStats
public HostStatus.Builder addStats(SimpleMetric value)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
addStats
public HostStatus.Builder addStats(int index, SimpleMetric value)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
addStats
public HostStatus.Builder addStats(SimpleMetric.Builder builderForValue)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
addStats
public HostStatus.Builder addStats(int index, SimpleMetric.Builder builderForValue)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
addAllStats
public HostStatus.Builder addAllStats(Iterable<? extends SimpleMetric> values)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
clearStats
public HostStatus.Builder clearStats()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
removeStats
public HostStatus.Builder removeStats(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
getStatsBuilder
public SimpleMetric.Builder getStatsBuilder(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
getStatsOrBuilder
public SimpleMetricOrBuilder getStatsOrBuilder(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;- Specified by:
getStatsOrBuilderin interfaceHostStatusOrBuilder
-
getStatsOrBuilderList
public List<? extends SimpleMetricOrBuilder> getStatsOrBuilderList()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;- Specified by:
getStatsOrBuilderListin interfaceHostStatusOrBuilder
-
addStatsBuilder
public SimpleMetric.Builder addStatsBuilder()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
addStatsBuilder
public SimpleMetric.Builder addStatsBuilder(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
-
getStatsBuilderList
public List<SimpleMetric.Builder> 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
public HostHealthStatus getHealthStatus()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;- Specified by:
getHealthStatusin interfaceHostStatusOrBuilder- Returns:
- The healthStatus.
-
setHealthStatus
public HostStatus.Builder setHealthStatus(HostHealthStatus value)
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;
-
setHealthStatus
public HostStatus.Builder setHealthStatus(HostHealthStatus.Builder builderForValue)
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;
-
mergeHealthStatus
public HostStatus.Builder mergeHealthStatus(HostHealthStatus value)
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;
-
clearHealthStatus
public HostStatus.Builder clearHealthStatus()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;
-
getHealthStatusBuilder
public HostHealthStatus.Builder getHealthStatusBuilder()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;
-
getHealthStatusOrBuilder
public HostHealthStatusOrBuilder 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
public 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;- Specified by:
getSuccessRatein interfaceHostStatusOrBuilder- Returns:
- The successRate.
-
setSuccessRate
public HostStatus.Builder setSuccessRate(Percent value)
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
public HostStatus.Builder setSuccessRate(Percent.Builder builderForValue)
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
public HostStatus.Builder mergeSuccessRate(Percent value)
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
public HostStatus.Builder 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
public Percent.Builder 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
public 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;- 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
public HostStatus.Builder setWeight(int value)
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
public HostStatus.Builder clearWeight()
The host's weight. If not configured, the value defaults to 1.
uint32 weight = 5;- Returns:
- This builder for chaining.
-
getHostname
public String 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
public HostStatus.Builder setHostname(String value)
The hostname of the host, if applicable.
string hostname = 6;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
public HostStatus.Builder clearHostname()
The hostname of the host, if applicable.
string hostname = 6;- Returns:
- This builder for chaining.
-
setHostnameBytes
public HostStatus.Builder setHostnameBytes(com.google.protobuf.ByteString value)
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
public HostStatus.Builder setPriority(int value)
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
public HostStatus.Builder 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
public 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;- Specified by:
getLocalOriginSuccessRatein interfaceHostStatusOrBuilder- Returns:
- The localOriginSuccessRate.
-
setLocalOriginSuccessRate
public HostStatus.Builder 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. 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
public HostStatus.Builder 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. 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
public HostStatus.Builder mergeLocalOriginSuccessRate(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. 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
public HostStatus.Builder 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
public Percent.Builder 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
public 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;- 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
public Locality getLocality()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;- Specified by:
getLocalityin interfaceHostStatusOrBuilder- Returns:
- The locality.
-
setLocality
public HostStatus.Builder setLocality(Locality value)
locality of the host.
.envoy.api.v2.core.Locality locality = 9;
-
setLocality
public HostStatus.Builder setLocality(Locality.Builder builderForValue)
locality of the host.
.envoy.api.v2.core.Locality locality = 9;
-
mergeLocality
public HostStatus.Builder mergeLocality(Locality value)
locality of the host.
.envoy.api.v2.core.Locality locality = 9;
-
clearLocality
public HostStatus.Builder clearLocality()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;
-
getLocalityBuilder
public Locality.Builder getLocalityBuilder()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;
-
getLocalityOrBuilder
public LocalityOrBuilder getLocalityOrBuilder()
locality of the host.
.envoy.api.v2.core.Locality locality = 9;- Specified by:
getLocalityOrBuilderin interfaceHostStatusOrBuilder
-
setUnknownFields
public final HostStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 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>
-
-