Class CircuitBreakers.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.config.cluster.v3.CircuitBreakers
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private java.util.List<CircuitBreakers.Thresholds>
perHostThresholds_
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds,CircuitBreakers.Thresholds.Builder,CircuitBreakers.ThresholdsOrBuilder>
perHostThresholdsBuilder_
private java.util.List<CircuitBreakers.Thresholds>
thresholds_
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds,CircuitBreakers.Thresholds.Builder,CircuitBreakers.ThresholdsOrBuilder>
thresholdsBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CircuitBreakers.Builder
addAllPerHostThresholds(java.lang.Iterable<? extends CircuitBreakers.Thresholds> values)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Builder
addAllThresholds(java.lang.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.CircuitBreakers.Builder
addPerHostThresholds(int index, CircuitBreakers.Thresholds value)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Builder
addPerHostThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Builder
addPerHostThresholds(CircuitBreakers.Thresholds value)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Builder
addPerHostThresholds(CircuitBreakers.Thresholds.Builder builderForValue)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Thresholds.Builder
addPerHostThresholdsBuilder()
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Thresholds.Builder
addPerHostThresholdsBuilder(int index)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Builder
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.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.CircuitBreakers.Builder
addThresholds(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.CircuitBreakers.Builder
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.CircuitBreakers.Thresholds.Builder
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.CircuitBreakers.Thresholds.Builder
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.CircuitBreakers
build()
CircuitBreakers
buildPartial()
private void
buildPartial0(CircuitBreakers result)
private void
buildPartialRepeatedFields(CircuitBreakers result)
CircuitBreakers.Builder
clear()
CircuitBreakers.Builder
clearPerHostThresholds()
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Builder
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.private void
ensurePerHostThresholdsIsMutable()
private void
ensureThresholdsIsMutable()
CircuitBreakers
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
CircuitBreakers.Thresholds
getPerHostThresholds(int index)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Thresholds.Builder
getPerHostThresholdsBuilder(int index)
Optional per-host limits which apply to each individual host in a cluster.java.util.List<CircuitBreakers.Thresholds.Builder>
getPerHostThresholdsBuilderList()
Optional per-host limits which apply to each individual host in a cluster.int
getPerHostThresholdsCount()
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>
getPerHostThresholdsFieldBuilder()
java.util.List<CircuitBreakers.Thresholds>
getPerHostThresholdsList()
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.ThresholdsOrBuilder
getPerHostThresholdsOrBuilder(int index)
Optional per-host limits which apply to each individual host in a cluster.java.util.List<? extends CircuitBreakers.ThresholdsOrBuilder>
getPerHostThresholdsOrBuilderList()
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Thresholds
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.CircuitBreakers.Thresholds.Builder
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.java.util.List<CircuitBreakers.Thresholds.Builder>
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.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.private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds,CircuitBreakers.Thresholds.Builder,CircuitBreakers.ThresholdsOrBuilder>
getThresholdsFieldBuilder()
java.util.List<CircuitBreakers.Thresholds>
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.CircuitBreakers.ThresholdsOrBuilder
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.java.util.List<? extends CircuitBreakers.ThresholdsOrBuilder>
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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CircuitBreakers.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CircuitBreakers.Builder
mergeFrom(com.google.protobuf.Message other)
CircuitBreakers.Builder
mergeFrom(CircuitBreakers other)
CircuitBreakers.Builder
removePerHostThresholds(int index)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Builder
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.CircuitBreakers.Builder
setPerHostThresholds(int index, CircuitBreakers.Thresholds value)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Builder
setPerHostThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue)
Optional per-host limits which apply to each individual host in a cluster.CircuitBreakers.Builder
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.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.-
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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
thresholds_
private java.util.List<CircuitBreakers.Thresholds> thresholds_
-
thresholdsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds,CircuitBreakers.Thresholds.Builder,CircuitBreakers.ThresholdsOrBuilder> thresholdsBuilder_
-
perHostThresholds_
private java.util.List<CircuitBreakers.Thresholds> perHostThresholds_
-
perHostThresholdsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<CircuitBreakers.Thresholds,CircuitBreakers.Thresholds.Builder,CircuitBreakers.ThresholdsOrBuilder> perHostThresholdsBuilder_
-
-
Method Detail
-
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
public 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
public CircuitBreakers getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CircuitBreakers build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CircuitBreakers buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(CircuitBreakers result)
-
buildPartial0
private void buildPartial0(CircuitBreakers result)
-
mergeFrom
public CircuitBreakers.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Builder>
-
mergeFrom
public CircuitBreakers.Builder mergeFrom(CircuitBreakers other)
-
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 java.io.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:
java.io.IOException
-
ensureThresholdsIsMutable
private void ensureThresholdsIsMutable()
-
getThresholdsList
public java.util.List<CircuitBreakers.Thresholds> 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
public CircuitBreakers.Thresholds 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. 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
public CircuitBreakers.Builder 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. 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
public CircuitBreakers.Builder addThresholds(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. 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 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. 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(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
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(java.lang.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
public CircuitBreakers.Builder 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
public CircuitBreakers.Builder 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. 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
public CircuitBreakers.Thresholds.Builder 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 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
public CircuitBreakers.ThresholdsOrBuilder 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. 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
public java.util.List<? extends CircuitBreakers.ThresholdsOrBuilder> 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
public CircuitBreakers.Thresholds.Builder 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
public CircuitBreakers.Thresholds.Builder 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. 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
public java.util.List<CircuitBreakers.Thresholds.Builder> 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,CircuitBreakers.ThresholdsOrBuilder> getThresholdsFieldBuilder()
-
ensurePerHostThresholdsIsMutable
private void ensurePerHostThresholdsIsMutable()
-
getPerHostThresholdsList
public java.util.List<CircuitBreakers.Thresholds> 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
public CircuitBreakers.Thresholds getPerHostThresholds(int index)
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
public CircuitBreakers.Builder setPerHostThresholds(int index, CircuitBreakers.Thresholds value)
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
public CircuitBreakers.Builder addPerHostThresholds(CircuitBreakers.Thresholds value)
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 value)
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(java.lang.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
public CircuitBreakers.Builder 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
public CircuitBreakers.Builder removePerHostThresholds(int index)
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
public CircuitBreakers.Thresholds.Builder getPerHostThresholdsBuilder(int index)
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
public CircuitBreakers.ThresholdsOrBuilder getPerHostThresholdsOrBuilder(int index)
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
public java.util.List<? extends CircuitBreakers.ThresholdsOrBuilder> 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
public CircuitBreakers.Thresholds.Builder 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
public CircuitBreakers.Thresholds.Builder addPerHostThresholdsBuilder(int index)
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
public java.util.List<CircuitBreakers.Thresholds.Builder> 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,CircuitBreakers.ThresholdsOrBuilder> getPerHostThresholdsFieldBuilder()
-
-