Class CircuitBreakers.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Builder>
com.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Builder>
io.envoyproxy.envoy.config.cluster.v3.CircuitBreakers.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CircuitBreakersOrBuilder, Cloneable
- Enclosing class:
CircuitBreakers
public static final class CircuitBreakers.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Builder>
implements CircuitBreakersOrBuilder
:ref:`Circuit breaking<arch_overview_circuit_break>` settings can be specified individually for each defined priority.Protobuf type
envoy.config.cluster.v3.CircuitBreakers-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate List<CircuitBreakers.Thresholds> private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, CircuitBreakers.ThresholdsOrBuilder> private List<CircuitBreakers.Thresholds> private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, CircuitBreakers.ThresholdsOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllPerHostThresholds(Iterable<? extends CircuitBreakers.Thresholds> values) Optional per-host limits which apply to each individual host in a cluster.addAllThresholds(Iterable<? extends CircuitBreakers.Thresholds> values) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.addPerHostThresholds(int index, CircuitBreakers.Thresholds value) Optional per-host limits which apply to each individual host in a cluster.addPerHostThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue) Optional per-host limits which apply to each individual host in a cluster.Optional per-host limits which apply to each individual host in a cluster.addPerHostThresholds(CircuitBreakers.Thresholds.Builder builderForValue) Optional per-host limits which apply to each individual host in a cluster.Optional per-host limits which apply to each individual host in a cluster.addPerHostThresholdsBuilder(int index) Optional per-host limits which apply to each individual host in a cluster.addThresholds(int index, CircuitBreakers.Thresholds value) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.addThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.addThresholds(CircuitBreakers.Thresholds.Builder builderForValue) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.addThresholdsBuilder(int index) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.build()private voidbuildPartial0(CircuitBreakers result) private voidclear()Optional per-host limits which apply to each individual host in a cluster.If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.private voidprivate voidstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPerHostThresholds(int index) Optional per-host limits which apply to each individual host in a cluster.getPerHostThresholdsBuilder(int index) Optional per-host limits which apply to each individual host in a cluster.Optional per-host limits which apply to each individual host in a cluster.intOptional per-host limits which apply to each individual host in a cluster.Optional per-host limits which apply to each individual host in a cluster.getPerHostThresholdsOrBuilder(int index) Optional per-host limits which apply to each individual host in a cluster.List<? extends CircuitBreakers.ThresholdsOrBuilder> Optional per-host limits which apply to each individual host in a cluster.getThresholds(int index) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.getThresholdsBuilder(int index) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.intIf multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.getThresholdsOrBuilder(int index) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.List<? extends CircuitBreakers.ThresholdsOrBuilder> If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, CircuitBreakers.ThresholdsOrBuilder> private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, CircuitBreakers.ThresholdsOrBuilder> final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CircuitBreakers other) removePerHostThresholds(int index) Optional per-host limits which apply to each individual host in a cluster.removeThresholds(int index) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.setPerHostThresholds(int index, CircuitBreakers.Thresholds value) Optional per-host limits which apply to each individual host in a cluster.setPerHostThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue) Optional per-host limits which apply to each individual host in a cluster.setThresholds(int index, CircuitBreakers.Thresholds value) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.setThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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 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
-
Field Details
-
bitField0_
private int bitField0_ -
thresholds_
-
thresholdsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, CircuitBreakers.ThresholdsOrBuilder> thresholdsBuilder_ -
perHostThresholds_
-
perHostThresholdsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, CircuitBreakers.ThresholdsOrBuilder> perHostThresholdsBuilder_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.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.GeneratedMessage.Builder<CircuitBreakers.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
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Builder>
-
mergeFrom
public CircuitBreakers.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<CircuitBreakers.Builder>- Throws:
IOException
-
ensureThresholdsIsMutable
private void ensureThresholdsIsMutable() -
getThresholdsList
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;- Specified by:
getThresholdsListin interfaceCircuitBreakersOrBuilder
-
getThresholdsCount
public int getThresholdsCount()If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;- Specified by:
getThresholdsCountin interfaceCircuitBreakersOrBuilder
-
getThresholds
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;- Specified by:
getThresholdsin interfaceCircuitBreakersOrBuilder
-
setThresholds
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
setThresholds
public CircuitBreakers.Builder setThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
addThresholds
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
addThresholds
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
addThresholds
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
addThresholds
public CircuitBreakers.Builder addThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
addAllThresholds
public CircuitBreakers.Builder addAllThresholds(Iterable<? extends CircuitBreakers.Thresholds> values) If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
clearThresholds
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
removeThresholds
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
getThresholdsBuilder
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
getThresholdsOrBuilder
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;- Specified by:
getThresholdsOrBuilderin interfaceCircuitBreakersOrBuilder
-
getThresholdsOrBuilderList
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;- Specified by:
getThresholdsOrBuilderListin interfaceCircuitBreakersOrBuilder
-
addThresholdsBuilder
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
addThresholdsBuilder
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
getThresholdsBuilderList
If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1; -
internalGetThresholdsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, CircuitBreakers.ThresholdsOrBuilder> internalGetThresholdsFieldBuilder() -
ensurePerHostThresholdsIsMutable
private void ensurePerHostThresholdsIsMutable() -
getPerHostThresholdsList
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2;- Specified by:
getPerHostThresholdsListin interfaceCircuitBreakersOrBuilder
-
getPerHostThresholdsCount
public int getPerHostThresholdsCount()Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2;- Specified by:
getPerHostThresholdsCountin interfaceCircuitBreakersOrBuilder
-
getPerHostThresholds
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2;- Specified by:
getPerHostThresholdsin interfaceCircuitBreakersOrBuilder
-
setPerHostThresholds
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
setPerHostThresholds
public CircuitBreakers.Builder setPerHostThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue) Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
addPerHostThresholds
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
addPerHostThresholds
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
addPerHostThresholds
public CircuitBreakers.Builder addPerHostThresholds(CircuitBreakers.Thresholds.Builder builderForValue) Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
addPerHostThresholds
public CircuitBreakers.Builder addPerHostThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue) Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
addAllPerHostThresholds
public CircuitBreakers.Builder addAllPerHostThresholds(Iterable<? extends CircuitBreakers.Thresholds> values) Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
clearPerHostThresholds
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
removePerHostThresholds
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
getPerHostThresholdsBuilder
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
getPerHostThresholdsOrBuilder
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2;- Specified by:
getPerHostThresholdsOrBuilderin interfaceCircuitBreakersOrBuilder
-
getPerHostThresholdsOrBuilderList
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2;- Specified by:
getPerHostThresholdsOrBuilderListin interfaceCircuitBreakersOrBuilder
-
addPerHostThresholdsBuilder
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
addPerHostThresholdsBuilder
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
getPerHostThresholdsBuilderList
Optional per-host limits which apply to each individual host in a cluster. .. note:: currently only the :ref:`max_connections <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the first one in the list is used. If no per-host Thresholds are defined for a given :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the cluster will not have per-host limits.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds per_host_thresholds = 2; -
internalGetPerHostThresholdsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, CircuitBreakers.ThresholdsOrBuilder> internalGetPerHostThresholdsFieldBuilder()
-