Class ClusterStatus.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ClusterStatus.Builder>
-
- io.envoyproxy.envoy.admin.v2alpha.ClusterStatus.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ClusterStatusOrBuilder,Cloneable
- Enclosing class:
- ClusterStatus
public static final class ClusterStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClusterStatus.Builder> implements ClusterStatusOrBuilder
Details an individual cluster's current status. [#next-free-field: 6]
Protobuf typeenvoy.admin.v2alpha.ClusterStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterStatus.BuilderaddAllHostStatuses(Iterable<? extends HostStatus> values)Mapping from host address to the host's current status.ClusterStatus.BuilderaddHostStatuses(int index, HostStatus value)Mapping from host address to the host's current status.ClusterStatus.BuilderaddHostStatuses(int index, HostStatus.Builder builderForValue)Mapping from host address to the host's current status.ClusterStatus.BuilderaddHostStatuses(HostStatus value)Mapping from host address to the host's current status.ClusterStatus.BuilderaddHostStatuses(HostStatus.Builder builderForValue)Mapping from host address to the host's current status.HostStatus.BuilderaddHostStatusesBuilder()Mapping from host address to the host's current status.HostStatus.BuilderaddHostStatusesBuilder(int index)Mapping from host address to the host's current status.ClusterStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ClusterStatusbuild()ClusterStatusbuildPartial()ClusterStatus.Builderclear()ClusterStatus.BuilderclearAddedViaApi()Denotes whether this cluster was added via API or configured statically.ClusterStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ClusterStatus.BuilderclearHostStatuses()Mapping from host address to the host's current status.ClusterStatus.BuilderclearLocalOriginSuccessRateEjectionThreshold()The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.ClusterStatus.BuilderclearName()Name of the cluster.ClusterStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ClusterStatus.BuilderclearSuccessRateEjectionThreshold()The success rate threshold used in the last interval.ClusterStatus.Builderclone()booleangetAddedViaApi()Denotes whether this cluster was added via API or configured statically.ClusterStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HostStatusgetHostStatuses(int index)Mapping from host address to the host's current status.HostStatus.BuildergetHostStatusesBuilder(int index)Mapping from host address to the host's current status.List<HostStatus.Builder>getHostStatusesBuilderList()Mapping from host address to the host's current status.intgetHostStatusesCount()Mapping from host address to the host's current status.List<HostStatus>getHostStatusesList()Mapping from host address to the host's current status.HostStatusOrBuildergetHostStatusesOrBuilder(int index)Mapping from host address to the host's current status.List<? extends HostStatusOrBuilder>getHostStatusesOrBuilderList()Mapping from host address to the host's current status.PercentgetLocalOriginSuccessRateEjectionThreshold()The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.Percent.BuildergetLocalOriginSuccessRateEjectionThresholdBuilder()The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.PercentOrBuildergetLocalOriginSuccessRateEjectionThresholdOrBuilder()The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.StringgetName()Name of the cluster.com.google.protobuf.ByteStringgetNameBytes()Name of the cluster.PercentgetSuccessRateEjectionThreshold()The success rate threshold used in the last interval.Percent.BuildergetSuccessRateEjectionThresholdBuilder()The success rate threshold used in the last interval.PercentOrBuildergetSuccessRateEjectionThresholdOrBuilder()The success rate threshold used in the last interval.booleanhasLocalOriginSuccessRateEjectionThreshold()The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.booleanhasSuccessRateEjectionThreshold()The success rate threshold used in the last interval.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ClusterStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ClusterStatus.BuildermergeFrom(com.google.protobuf.Message other)ClusterStatus.BuildermergeFrom(ClusterStatus other)ClusterStatus.BuildermergeLocalOriginSuccessRateEjectionThreshold(Percent value)The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.ClusterStatus.BuildermergeSuccessRateEjectionThreshold(Percent value)The success rate threshold used in the last interval.ClusterStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ClusterStatus.BuilderremoveHostStatuses(int index)Mapping from host address to the host's current status.ClusterStatus.BuildersetAddedViaApi(boolean value)Denotes whether this cluster was added via API or configured statically.ClusterStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ClusterStatus.BuildersetHostStatuses(int index, HostStatus value)Mapping from host address to the host's current status.ClusterStatus.BuildersetHostStatuses(int index, HostStatus.Builder builderForValue)Mapping from host address to the host's current status.ClusterStatus.BuildersetLocalOriginSuccessRateEjectionThreshold(Percent value)The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.ClusterStatus.BuildersetLocalOriginSuccessRateEjectionThreshold(Percent.Builder builderForValue)The success rate threshold used in the last interval when only locally originated failures were taken into account and externally originated errors were treated as success.ClusterStatus.BuildersetName(String value)Name of the cluster.ClusterStatus.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the cluster.ClusterStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ClusterStatus.BuildersetSuccessRateEjectionThreshold(Percent value)The success rate threshold used in the last interval.ClusterStatus.BuildersetSuccessRateEjectionThreshold(Percent.Builder builderForValue)The success rate threshold used in the last interval.ClusterStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<ClusterStatus.Builder>
-
clear
public ClusterStatus.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<ClusterStatus.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<ClusterStatus.Builder>
-
getDefaultInstanceForType
public ClusterStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClusterStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClusterStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ClusterStatus.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<ClusterStatus.Builder>
-
setField
public ClusterStatus.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<ClusterStatus.Builder>
-
clearField
public ClusterStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterStatus.Builder>
-
clearOneof
public ClusterStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterStatus.Builder>
-
setRepeatedField
public ClusterStatus.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<ClusterStatus.Builder>
-
addRepeatedField
public ClusterStatus.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<ClusterStatus.Builder>
-
mergeFrom
public ClusterStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClusterStatus.Builder>
-
mergeFrom
public ClusterStatus.Builder mergeFrom(ClusterStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterStatus.Builder>
-
mergeFrom
public ClusterStatus.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<ClusterStatus.Builder>- Throws:
IOException
-
getName
public String getName()
Name of the cluster.
string name = 1;- Specified by:
getNamein interfaceClusterStatusOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the cluster.
string name = 1;- Specified by:
getNameBytesin interfaceClusterStatusOrBuilder- Returns:
- The bytes for name.
-
setName
public ClusterStatus.Builder setName(String value)
Name of the cluster.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ClusterStatus.Builder clearName()
Name of the cluster.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public ClusterStatus.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the cluster.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAddedViaApi
public boolean getAddedViaApi()
Denotes whether this cluster was added via API or configured statically.
bool added_via_api = 2;- Specified by:
getAddedViaApiin interfaceClusterStatusOrBuilder- Returns:
- The addedViaApi.
-
setAddedViaApi
public ClusterStatus.Builder setAddedViaApi(boolean value)
Denotes whether this cluster was added via API or configured statically.
bool added_via_api = 2;- Parameters:
value- The addedViaApi to set.- Returns:
- This builder for chaining.
-
clearAddedViaApi
public ClusterStatus.Builder clearAddedViaApi()
Denotes whether this cluster was added via API or configured statically.
bool added_via_api = 2;- Returns:
- This builder for chaining.
-
hasSuccessRateEjectionThreshold
public boolean hasSuccessRateEjectionThreshold()
The success rate threshold used in the last 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 to calculate the threshold. 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 to calculate the threshold. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent success_rate_ejection_threshold = 3;- Specified by:
hasSuccessRateEjectionThresholdin interfaceClusterStatusOrBuilder- Returns:
- Whether the successRateEjectionThreshold field is set.
-
getSuccessRateEjectionThreshold
public Percent getSuccessRateEjectionThreshold()
The success rate threshold used in the last 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 to calculate the threshold. 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 to calculate the threshold. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent success_rate_ejection_threshold = 3;- Specified by:
getSuccessRateEjectionThresholdin interfaceClusterStatusOrBuilder- Returns:
- The successRateEjectionThreshold.
-
setSuccessRateEjectionThreshold
public ClusterStatus.Builder setSuccessRateEjectionThreshold(Percent value)
The success rate threshold used in the last 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 to calculate the threshold. 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 to calculate the threshold. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent success_rate_ejection_threshold = 3;
-
setSuccessRateEjectionThreshold
public ClusterStatus.Builder setSuccessRateEjectionThreshold(Percent.Builder builderForValue)
The success rate threshold used in the last 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 to calculate the threshold. 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 to calculate the threshold. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent success_rate_ejection_threshold = 3;
-
mergeSuccessRateEjectionThreshold
public ClusterStatus.Builder mergeSuccessRateEjectionThreshold(Percent value)
The success rate threshold used in the last 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 to calculate the threshold. 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 to calculate the threshold. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent success_rate_ejection_threshold = 3;
-
clearSuccessRateEjectionThreshold
public ClusterStatus.Builder clearSuccessRateEjectionThreshold()
The success rate threshold used in the last 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 to calculate the threshold. 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 to calculate the threshold. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent success_rate_ejection_threshold = 3;
-
getSuccessRateEjectionThresholdBuilder
public Percent.Builder getSuccessRateEjectionThresholdBuilder()
The success rate threshold used in the last 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 to calculate the threshold. 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 to calculate the threshold. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent success_rate_ejection_threshold = 3;
-
getSuccessRateEjectionThresholdOrBuilder
public PercentOrBuilder getSuccessRateEjectionThresholdOrBuilder()
The success rate threshold used in the last 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 to calculate the threshold. 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 to calculate the threshold. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent success_rate_ejection_threshold = 3;- Specified by:
getSuccessRateEjectionThresholdOrBuilderin interfaceClusterStatusOrBuilder
-
getHostStatusesList
public List<HostStatus> getHostStatusesList()
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;- Specified by:
getHostStatusesListin interfaceClusterStatusOrBuilder
-
getHostStatusesCount
public int getHostStatusesCount()
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;- Specified by:
getHostStatusesCountin interfaceClusterStatusOrBuilder
-
getHostStatuses
public HostStatus getHostStatuses(int index)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;- Specified by:
getHostStatusesin interfaceClusterStatusOrBuilder
-
setHostStatuses
public ClusterStatus.Builder setHostStatuses(int index, HostStatus value)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
setHostStatuses
public ClusterStatus.Builder setHostStatuses(int index, HostStatus.Builder builderForValue)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
addHostStatuses
public ClusterStatus.Builder addHostStatuses(HostStatus value)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
addHostStatuses
public ClusterStatus.Builder addHostStatuses(int index, HostStatus value)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
addHostStatuses
public ClusterStatus.Builder addHostStatuses(HostStatus.Builder builderForValue)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
addHostStatuses
public ClusterStatus.Builder addHostStatuses(int index, HostStatus.Builder builderForValue)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
addAllHostStatuses
public ClusterStatus.Builder addAllHostStatuses(Iterable<? extends HostStatus> values)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
clearHostStatuses
public ClusterStatus.Builder clearHostStatuses()
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
removeHostStatuses
public ClusterStatus.Builder removeHostStatuses(int index)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
getHostStatusesBuilder
public HostStatus.Builder getHostStatusesBuilder(int index)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
getHostStatusesOrBuilder
public HostStatusOrBuilder getHostStatusesOrBuilder(int index)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;- Specified by:
getHostStatusesOrBuilderin interfaceClusterStatusOrBuilder
-
getHostStatusesOrBuilderList
public List<? extends HostStatusOrBuilder> getHostStatusesOrBuilderList()
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;- Specified by:
getHostStatusesOrBuilderListin interfaceClusterStatusOrBuilder
-
addHostStatusesBuilder
public HostStatus.Builder addHostStatusesBuilder()
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
addHostStatusesBuilder
public HostStatus.Builder addHostStatusesBuilder(int index)
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
getHostStatusesBuilderList
public List<HostStatus.Builder> getHostStatusesBuilderList()
Mapping from host address to the host's current status.
repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
-
hasLocalOriginSuccessRateEjectionThreshold
public boolean hasLocalOriginSuccessRateEjectionThreshold()
The success rate threshold used in the last interval when only locally originated failures were 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*. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;- Specified by:
hasLocalOriginSuccessRateEjectionThresholdin interfaceClusterStatusOrBuilder- Returns:
- Whether the localOriginSuccessRateEjectionThreshold field is set.
-
getLocalOriginSuccessRateEjectionThreshold
public Percent getLocalOriginSuccessRateEjectionThreshold()
The success rate threshold used in the last interval when only locally originated failures were 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*. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;- Specified by:
getLocalOriginSuccessRateEjectionThresholdin interfaceClusterStatusOrBuilder- Returns:
- The localOriginSuccessRateEjectionThreshold.
-
setLocalOriginSuccessRateEjectionThreshold
public ClusterStatus.Builder setLocalOriginSuccessRateEjectionThreshold(Percent value)
The success rate threshold used in the last interval when only locally originated failures were 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*. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;
-
setLocalOriginSuccessRateEjectionThreshold
public ClusterStatus.Builder setLocalOriginSuccessRateEjectionThreshold(Percent.Builder builderForValue)
The success rate threshold used in the last interval when only locally originated failures were 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*. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;
-
mergeLocalOriginSuccessRateEjectionThreshold
public ClusterStatus.Builder mergeLocalOriginSuccessRateEjectionThreshold(Percent value)
The success rate threshold used in the last interval when only locally originated failures were 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*. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;
-
clearLocalOriginSuccessRateEjectionThreshold
public ClusterStatus.Builder clearLocalOriginSuccessRateEjectionThreshold()
The success rate threshold used in the last interval when only locally originated failures were 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*. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;
-
getLocalOriginSuccessRateEjectionThresholdBuilder
public Percent.Builder getLocalOriginSuccessRateEjectionThresholdBuilder()
The success rate threshold used in the last interval when only locally originated failures were 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*. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;
-
getLocalOriginSuccessRateEjectionThresholdOrBuilder
public PercentOrBuilder getLocalOriginSuccessRateEjectionThresholdOrBuilder()
The success rate threshold used in the last interval when only locally originated failures were 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*. The threshold is used to eject hosts based on their success rate. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details. Note: this field may be omitted in any of the three following cases: 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection. 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that interval. 3. Outlier detection is not enabled for this cluster..envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;- Specified by:
getLocalOriginSuccessRateEjectionThresholdOrBuilderin interfaceClusterStatusOrBuilder
-
setUnknownFields
public final ClusterStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterStatus.Builder>
-
mergeUnknownFields
public final ClusterStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterStatus.Builder>
-
-