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 int
private 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 void
buildPartial0
(CircuitBreakers result) private void
clear()
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 void
private void
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getPerHostThresholds
(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.int
Optional per-host limits which apply to each individual host in a cluster.private com.google.protobuf.RepeatedFieldBuilder
<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, CircuitBreakers.ThresholdsOrBuilder> 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.int
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 com.google.protobuf.RepeatedFieldBuilder
<CircuitBreakers.Thresholds, CircuitBreakers.Thresholds.Builder, 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.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.FieldAccessorTable
final boolean
mergeFrom
(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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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, thresholdsBuilder_CircuitBreakers.ThresholdsOrBuilder> -
perHostThresholds_
-
perHostThresholdsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds,CircuitBreakers.Thresholds.Builder, perHostThresholdsBuilder_CircuitBreakers.ThresholdsOrBuilder>
-
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getThresholdsList
in 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:
getThresholdsCount
in 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:
getThresholds
in 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:
getThresholdsOrBuilder
in 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:
getThresholdsOrBuilderList
in 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;
-
getThresholdsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds,CircuitBreakers.Thresholds.Builder, getThresholdsFieldBuilder()CircuitBreakers.ThresholdsOrBuilder> -
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:
getPerHostThresholdsList
in 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:
getPerHostThresholdsCount
in 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:
getPerHostThresholds
in 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:
getPerHostThresholdsOrBuilder
in 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:
getPerHostThresholdsOrBuilderList
in 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;
-
getPerHostThresholdsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds,CircuitBreakers.Thresholds.Builder, getPerHostThresholdsFieldBuilder()CircuitBreakers.ThresholdsOrBuilder>
-