public static final class CircuitBreakers.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
CircuitBreakers.Builder |
addAllThresholds(Iterable<? extends CircuitBreakers.Thresholds> values)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
CircuitBreakers.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CircuitBreakers.Builder |
addThresholds(CircuitBreakers.Thresholds.Builder builderForValue)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_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_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_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_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
CircuitBreakers.Builder |
addThresholds(int index,
CircuitBreakers.Thresholds value)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
CircuitBreakers.Thresholds.Builder |
addThresholdsBuilder()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_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_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
CircuitBreakers |
build() |
CircuitBreakers |
buildPartial() |
CircuitBreakers.Builder |
clear() |
CircuitBreakers.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CircuitBreakers.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CircuitBreakers.Builder |
clearThresholds()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
CircuitBreakers.Builder |
clone() |
CircuitBreakers |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CircuitBreakers.Thresholds |
getThresholds(int index)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_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_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
List<CircuitBreakers.Thresholds.Builder> |
getThresholdsBuilderList()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
int |
getThresholdsCount()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
List<CircuitBreakers.Thresholds> |
getThresholdsList()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
CircuitBreakers.ThresholdsOrBuilder |
getThresholdsOrBuilder(int index)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
List<? extends CircuitBreakers.ThresholdsOrBuilder> |
getThresholdsOrBuilderList()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CircuitBreakers.Builder |
mergeFrom(CircuitBreakers other) |
CircuitBreakers.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CircuitBreakers.Builder |
mergeFrom(com.google.protobuf.Message other) |
CircuitBreakers.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CircuitBreakers.Builder |
removeThresholds(int index)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
CircuitBreakers.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CircuitBreakers.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CircuitBreakers.Builder |
setThresholds(int index,
CircuitBreakers.Thresholds.Builder builderForValue)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
CircuitBreakers.Builder |
setThresholds(int index,
CircuitBreakers.Thresholds value)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
are defined with the same :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`,
the first one in the list is used.
|
CircuitBreakers.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public CircuitBreakers.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public CircuitBreakers getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CircuitBreakers build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CircuitBreakers buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CircuitBreakers.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public CircuitBreakers.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public CircuitBreakers.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public CircuitBreakers.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public CircuitBreakers.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public CircuitBreakers.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public CircuitBreakers.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Builder>public CircuitBreakers.Builder mergeFrom(CircuitBreakers other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public CircuitBreakers.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Builder>IOExceptionpublic List<CircuitBreakers.Thresholds> getThresholdsList()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;getThresholdsList in interface CircuitBreakersOrBuilderpublic int getThresholdsCount()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;getThresholdsCount in interface CircuitBreakersOrBuilderpublic CircuitBreakers.Thresholds getThresholds(int index)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;getThresholds in interface CircuitBreakersOrBuilderpublic CircuitBreakers.Builder setThresholds(int index, CircuitBreakers.Thresholds value)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Builder setThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Builder addThresholds(CircuitBreakers.Thresholds value)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Builder addThresholds(int index, CircuitBreakers.Thresholds value)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Builder addThresholds(CircuitBreakers.Thresholds.Builder builderForValue)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Builder addThresholds(int index, CircuitBreakers.Thresholds.Builder builderForValue)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Builder addAllThresholds(Iterable<? extends CircuitBreakers.Thresholds> values)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Builder clearThresholds()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Builder removeThresholds(int index)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Thresholds.Builder getThresholdsBuilder(int index)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.ThresholdsOrBuilder getThresholdsOrBuilder(int index)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;getThresholdsOrBuilder in interface CircuitBreakersOrBuilderpublic List<? extends CircuitBreakers.ThresholdsOrBuilder> getThresholdsOrBuilderList()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;getThresholdsOrBuilderList in interface CircuitBreakersOrBuilderpublic CircuitBreakers.Thresholds.Builder addThresholdsBuilder()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public CircuitBreakers.Thresholds.Builder addThresholdsBuilder(int index)
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public List<CircuitBreakers.Thresholds.Builder> getThresholdsBuilderList()
If multiple :ref:`Thresholds<envoy_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` are defined with the same :ref:`RoutingPriority<envoy_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_api_enum_config.core.v3.RoutingPriority>`, the default values are used.
repeated .envoy.config.cluster.v3.CircuitBreakers.Thresholds thresholds = 1;public final CircuitBreakers.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>public final CircuitBreakers.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.