Class CircuitBreakers.Thresholds.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
- io.envoyproxy.envoy.config.cluster.v3.CircuitBreakers.Thresholds.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CircuitBreakers.ThresholdsOrBuilder,Cloneable
- Enclosing class:
- CircuitBreakers.Thresholds
public static final class CircuitBreakers.Thresholds.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder> implements CircuitBreakers.ThresholdsOrBuilder
A Thresholds defines CircuitBreaker settings for a :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`. [#next-free-field: 9]
Protobuf typeenvoy.config.cluster.v3.CircuitBreakers.Thresholds
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CircuitBreakers.Thresholds.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CircuitBreakers.Thresholdsbuild()CircuitBreakers.ThresholdsbuildPartial()CircuitBreakers.Thresholds.Builderclear()CircuitBreakers.Thresholds.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CircuitBreakers.Thresholds.BuilderclearMaxConnectionPools()The maximum number of connection pools per cluster that Envoy will concurrently support at once.CircuitBreakers.Thresholds.BuilderclearMaxConnections()The maximum number of connections that Envoy will make to the upstream cluster.CircuitBreakers.Thresholds.BuilderclearMaxPendingRequests()The maximum number of pending requests that Envoy will allow to the upstream cluster.CircuitBreakers.Thresholds.BuilderclearMaxRequests()The maximum number of parallel requests that Envoy will make to the upstream cluster.CircuitBreakers.Thresholds.BuilderclearMaxRetries()The maximum number of parallel retries that Envoy will allow to the upstream cluster.CircuitBreakers.Thresholds.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CircuitBreakers.Thresholds.BuilderclearPriority()The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.CircuitBreakers.Thresholds.BuilderclearRetryBudget()Specifies a limit on concurrent retries in relation to the number of active requests.CircuitBreakers.Thresholds.BuilderclearTrackRemaining()If track_remaining is true, then stats will be published that expose the number of resources remaining until the circuit breakers open.CircuitBreakers.Thresholds.Builderclone()CircuitBreakers.ThresholdsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.UInt32ValuegetMaxConnectionPools()The maximum number of connection pools per cluster that Envoy will concurrently support at once.com.google.protobuf.UInt32Value.BuildergetMaxConnectionPoolsBuilder()The maximum number of connection pools per cluster that Envoy will concurrently support at once.com.google.protobuf.UInt32ValueOrBuildergetMaxConnectionPoolsOrBuilder()The maximum number of connection pools per cluster that Envoy will concurrently support at once.com.google.protobuf.UInt32ValuegetMaxConnections()The maximum number of connections that Envoy will make to the upstream cluster.com.google.protobuf.UInt32Value.BuildergetMaxConnectionsBuilder()The maximum number of connections that Envoy will make to the upstream cluster.com.google.protobuf.UInt32ValueOrBuildergetMaxConnectionsOrBuilder()The maximum number of connections that Envoy will make to the upstream cluster.com.google.protobuf.UInt32ValuegetMaxPendingRequests()The maximum number of pending requests that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32Value.BuildergetMaxPendingRequestsBuilder()The maximum number of pending requests that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32ValueOrBuildergetMaxPendingRequestsOrBuilder()The maximum number of pending requests that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32ValuegetMaxRequests()The maximum number of parallel requests that Envoy will make to the upstream cluster.com.google.protobuf.UInt32Value.BuildergetMaxRequestsBuilder()The maximum number of parallel requests that Envoy will make to the upstream cluster.com.google.protobuf.UInt32ValueOrBuildergetMaxRequestsOrBuilder()The maximum number of parallel requests that Envoy will make to the upstream cluster.com.google.protobuf.UInt32ValuegetMaxRetries()The maximum number of parallel retries that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32Value.BuildergetMaxRetriesBuilder()The maximum number of parallel retries that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32ValueOrBuildergetMaxRetriesOrBuilder()The maximum number of parallel retries that Envoy will allow to the upstream cluster.RoutingPrioritygetPriority()The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.intgetPriorityValue()The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.CircuitBreakers.Thresholds.RetryBudgetgetRetryBudget()Specifies a limit on concurrent retries in relation to the number of active requests.CircuitBreakers.Thresholds.RetryBudget.BuildergetRetryBudgetBuilder()Specifies a limit on concurrent retries in relation to the number of active requests.CircuitBreakers.Thresholds.RetryBudgetOrBuildergetRetryBudgetOrBuilder()Specifies a limit on concurrent retries in relation to the number of active requests.booleangetTrackRemaining()If track_remaining is true, then stats will be published that expose the number of resources remaining until the circuit breakers open.booleanhasMaxConnectionPools()The maximum number of connection pools per cluster that Envoy will concurrently support at once.booleanhasMaxConnections()The maximum number of connections that Envoy will make to the upstream cluster.booleanhasMaxPendingRequests()The maximum number of pending requests that Envoy will allow to the upstream cluster.booleanhasMaxRequests()The maximum number of parallel requests that Envoy will make to the upstream cluster.booleanhasMaxRetries()The maximum number of parallel retries that Envoy will allow to the upstream cluster.booleanhasRetryBudget()Specifies a limit on concurrent retries in relation to the number of active requests.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CircuitBreakers.Thresholds.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CircuitBreakers.Thresholds.BuildermergeFrom(com.google.protobuf.Message other)CircuitBreakers.Thresholds.BuildermergeFrom(CircuitBreakers.Thresholds other)CircuitBreakers.Thresholds.BuildermergeMaxConnectionPools(com.google.protobuf.UInt32Value value)The maximum number of connection pools per cluster that Envoy will concurrently support at once.CircuitBreakers.Thresholds.BuildermergeMaxConnections(com.google.protobuf.UInt32Value value)The maximum number of connections that Envoy will make to the upstream cluster.CircuitBreakers.Thresholds.BuildermergeMaxPendingRequests(com.google.protobuf.UInt32Value value)The maximum number of pending requests that Envoy will allow to the upstream cluster.CircuitBreakers.Thresholds.BuildermergeMaxRequests(com.google.protobuf.UInt32Value value)The maximum number of parallel requests that Envoy will make to the upstream cluster.CircuitBreakers.Thresholds.BuildermergeMaxRetries(com.google.protobuf.UInt32Value value)The maximum number of parallel retries that Envoy will allow to the upstream cluster.CircuitBreakers.Thresholds.BuildermergeRetryBudget(CircuitBreakers.Thresholds.RetryBudget value)Specifies a limit on concurrent retries in relation to the number of active requests.CircuitBreakers.Thresholds.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CircuitBreakers.Thresholds.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CircuitBreakers.Thresholds.BuildersetMaxConnectionPools(com.google.protobuf.UInt32Value value)The maximum number of connection pools per cluster that Envoy will concurrently support at once.CircuitBreakers.Thresholds.BuildersetMaxConnectionPools(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum number of connection pools per cluster that Envoy will concurrently support at once.CircuitBreakers.Thresholds.BuildersetMaxConnections(com.google.protobuf.UInt32Value value)The maximum number of connections that Envoy will make to the upstream cluster.CircuitBreakers.Thresholds.BuildersetMaxConnections(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum number of connections that Envoy will make to the upstream cluster.CircuitBreakers.Thresholds.BuildersetMaxPendingRequests(com.google.protobuf.UInt32Value value)The maximum number of pending requests that Envoy will allow to the upstream cluster.CircuitBreakers.Thresholds.BuildersetMaxPendingRequests(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum number of pending requests that Envoy will allow to the upstream cluster.CircuitBreakers.Thresholds.BuildersetMaxRequests(com.google.protobuf.UInt32Value value)The maximum number of parallel requests that Envoy will make to the upstream cluster.CircuitBreakers.Thresholds.BuildersetMaxRequests(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum number of parallel requests that Envoy will make to the upstream cluster.CircuitBreakers.Thresholds.BuildersetMaxRetries(com.google.protobuf.UInt32Value value)The maximum number of parallel retries that Envoy will allow to the upstream cluster.CircuitBreakers.Thresholds.BuildersetMaxRetries(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum number of parallel retries that Envoy will allow to the upstream cluster.CircuitBreakers.Thresholds.BuildersetPriority(RoutingPriority value)The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.CircuitBreakers.Thresholds.BuildersetPriorityValue(int value)The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.CircuitBreakers.Thresholds.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CircuitBreakers.Thresholds.BuildersetRetryBudget(CircuitBreakers.Thresholds.RetryBudget value)Specifies a limit on concurrent retries in relation to the number of active requests.CircuitBreakers.Thresholds.BuildersetRetryBudget(CircuitBreakers.Thresholds.RetryBudget.Builder builderForValue)Specifies a limit on concurrent retries in relation to the number of active requests.CircuitBreakers.Thresholds.BuildersetTrackRemaining(boolean value)If track_remaining is true, then stats will be published that expose the number of resources remaining until the circuit breakers open.CircuitBreakers.Thresholds.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
clear
public CircuitBreakers.Thresholds.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
getDefaultInstanceForType
public CircuitBreakers.Thresholds getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CircuitBreakers.Thresholds build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CircuitBreakers.Thresholds buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CircuitBreakers.Thresholds.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
setField
public CircuitBreakers.Thresholds.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
clearField
public CircuitBreakers.Thresholds.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
clearOneof
public CircuitBreakers.Thresholds.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
setRepeatedField
public CircuitBreakers.Thresholds.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
addRepeatedField
public CircuitBreakers.Thresholds.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
mergeFrom
public CircuitBreakers.Thresholds.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Thresholds.Builder>
-
mergeFrom
public CircuitBreakers.Thresholds.Builder mergeFrom(CircuitBreakers.Thresholds other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
mergeFrom
public CircuitBreakers.Thresholds.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Thresholds.Builder>- Throws:
IOException
-
getPriorityValue
public int getPriorityValue()
The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.
.envoy.config.core.v3.RoutingPriority priority = 1 [(.validate.rules) = { ... }- Specified by:
getPriorityValuein interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- The enum numeric value on the wire for priority.
-
setPriorityValue
public CircuitBreakers.Thresholds.Builder setPriorityValue(int value)
The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.
.envoy.config.core.v3.RoutingPriority priority = 1 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for priority to set.- Returns:
- This builder for chaining.
-
getPriority
public RoutingPriority getPriority()
The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.
.envoy.config.core.v3.RoutingPriority priority = 1 [(.validate.rules) = { ... }- Specified by:
getPriorityin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- The priority.
-
setPriority
public CircuitBreakers.Thresholds.Builder setPriority(RoutingPriority value)
The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.
.envoy.config.core.v3.RoutingPriority priority = 1 [(.validate.rules) = { ... }- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
public CircuitBreakers.Thresholds.Builder clearPriority()
The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.
.envoy.config.core.v3.RoutingPriority priority = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
hasMaxConnections
public boolean hasMaxConnections()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;- Specified by:
hasMaxConnectionsin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- Whether the maxConnections field is set.
-
getMaxConnections
public com.google.protobuf.UInt32Value getMaxConnections()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;- Specified by:
getMaxConnectionsin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- The maxConnections.
-
setMaxConnections
public CircuitBreakers.Thresholds.Builder setMaxConnections(com.google.protobuf.UInt32Value value)
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;
-
setMaxConnections
public CircuitBreakers.Thresholds.Builder setMaxConnections(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;
-
mergeMaxConnections
public CircuitBreakers.Thresholds.Builder mergeMaxConnections(com.google.protobuf.UInt32Value value)
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;
-
clearMaxConnections
public CircuitBreakers.Thresholds.Builder clearMaxConnections()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;
-
getMaxConnectionsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxConnectionsBuilder()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;
-
getMaxConnectionsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxConnectionsOrBuilder()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;- Specified by:
getMaxConnectionsOrBuilderin interfaceCircuitBreakers.ThresholdsOrBuilder
-
hasMaxPendingRequests
public boolean hasMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024. This limit is applied as a connection limit for non-HTTP traffic.
.google.protobuf.UInt32Value max_pending_requests = 3;- Specified by:
hasMaxPendingRequestsin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- Whether the maxPendingRequests field is set.
-
getMaxPendingRequests
public com.google.protobuf.UInt32Value getMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024. This limit is applied as a connection limit for non-HTTP traffic.
.google.protobuf.UInt32Value max_pending_requests = 3;- Specified by:
getMaxPendingRequestsin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- The maxPendingRequests.
-
setMaxPendingRequests
public CircuitBreakers.Thresholds.Builder setMaxPendingRequests(com.google.protobuf.UInt32Value value)
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024. This limit is applied as a connection limit for non-HTTP traffic.
.google.protobuf.UInt32Value max_pending_requests = 3;
-
setMaxPendingRequests
public CircuitBreakers.Thresholds.Builder setMaxPendingRequests(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024. This limit is applied as a connection limit for non-HTTP traffic.
.google.protobuf.UInt32Value max_pending_requests = 3;
-
mergeMaxPendingRequests
public CircuitBreakers.Thresholds.Builder mergeMaxPendingRequests(com.google.protobuf.UInt32Value value)
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024. This limit is applied as a connection limit for non-HTTP traffic.
.google.protobuf.UInt32Value max_pending_requests = 3;
-
clearMaxPendingRequests
public CircuitBreakers.Thresholds.Builder clearMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024. This limit is applied as a connection limit for non-HTTP traffic.
.google.protobuf.UInt32Value max_pending_requests = 3;
-
getMaxPendingRequestsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxPendingRequestsBuilder()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024. This limit is applied as a connection limit for non-HTTP traffic.
.google.protobuf.UInt32Value max_pending_requests = 3;
-
getMaxPendingRequestsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxPendingRequestsOrBuilder()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024. This limit is applied as a connection limit for non-HTTP traffic.
.google.protobuf.UInt32Value max_pending_requests = 3;- Specified by:
getMaxPendingRequestsOrBuilderin interfaceCircuitBreakers.ThresholdsOrBuilder
-
hasMaxRequests
public boolean hasMaxRequests()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024. This limit does not apply to non-HTTP traffic.
.google.protobuf.UInt32Value max_requests = 4;- Specified by:
hasMaxRequestsin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- Whether the maxRequests field is set.
-
getMaxRequests
public com.google.protobuf.UInt32Value getMaxRequests()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024. This limit does not apply to non-HTTP traffic.
.google.protobuf.UInt32Value max_requests = 4;- Specified by:
getMaxRequestsin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- The maxRequests.
-
setMaxRequests
public CircuitBreakers.Thresholds.Builder setMaxRequests(com.google.protobuf.UInt32Value value)
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024. This limit does not apply to non-HTTP traffic.
.google.protobuf.UInt32Value max_requests = 4;
-
setMaxRequests
public CircuitBreakers.Thresholds.Builder setMaxRequests(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024. This limit does not apply to non-HTTP traffic.
.google.protobuf.UInt32Value max_requests = 4;
-
mergeMaxRequests
public CircuitBreakers.Thresholds.Builder mergeMaxRequests(com.google.protobuf.UInt32Value value)
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024. This limit does not apply to non-HTTP traffic.
.google.protobuf.UInt32Value max_requests = 4;
-
clearMaxRequests
public CircuitBreakers.Thresholds.Builder clearMaxRequests()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024. This limit does not apply to non-HTTP traffic.
.google.protobuf.UInt32Value max_requests = 4;
-
getMaxRequestsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxRequestsBuilder()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024. This limit does not apply to non-HTTP traffic.
.google.protobuf.UInt32Value max_requests = 4;
-
getMaxRequestsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxRequestsOrBuilder()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024. This limit does not apply to non-HTTP traffic.
.google.protobuf.UInt32Value max_requests = 4;- Specified by:
getMaxRequestsOrBuilderin interfaceCircuitBreakers.ThresholdsOrBuilder
-
hasMaxRetries
public boolean hasMaxRetries()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;- Specified by:
hasMaxRetriesin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- Whether the maxRetries field is set.
-
getMaxRetries
public com.google.protobuf.UInt32Value getMaxRetries()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;- Specified by:
getMaxRetriesin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- The maxRetries.
-
setMaxRetries
public CircuitBreakers.Thresholds.Builder setMaxRetries(com.google.protobuf.UInt32Value value)
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;
-
setMaxRetries
public CircuitBreakers.Thresholds.Builder setMaxRetries(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;
-
mergeMaxRetries
public CircuitBreakers.Thresholds.Builder mergeMaxRetries(com.google.protobuf.UInt32Value value)
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;
-
clearMaxRetries
public CircuitBreakers.Thresholds.Builder clearMaxRetries()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;
-
getMaxRetriesBuilder
public com.google.protobuf.UInt32Value.Builder getMaxRetriesBuilder()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;
-
getMaxRetriesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxRetriesOrBuilder()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;- Specified by:
getMaxRetriesOrBuilderin interfaceCircuitBreakers.ThresholdsOrBuilder
-
hasRetryBudget
public boolean hasRetryBudget()
Specifies a limit on concurrent retries in relation to the number of active requests. This parameter is optional. .. note:: If this field is set, the retry budget will override any configured retry circuit breaker..envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;- Specified by:
hasRetryBudgetin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- Whether the retryBudget field is set.
-
getRetryBudget
public CircuitBreakers.Thresholds.RetryBudget getRetryBudget()
Specifies a limit on concurrent retries in relation to the number of active requests. This parameter is optional. .. note:: If this field is set, the retry budget will override any configured retry circuit breaker..envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;- Specified by:
getRetryBudgetin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- The retryBudget.
-
setRetryBudget
public CircuitBreakers.Thresholds.Builder setRetryBudget(CircuitBreakers.Thresholds.RetryBudget value)
Specifies a limit on concurrent retries in relation to the number of active requests. This parameter is optional. .. note:: If this field is set, the retry budget will override any configured retry circuit breaker..envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;
-
setRetryBudget
public CircuitBreakers.Thresholds.Builder setRetryBudget(CircuitBreakers.Thresholds.RetryBudget.Builder builderForValue)
Specifies a limit on concurrent retries in relation to the number of active requests. This parameter is optional. .. note:: If this field is set, the retry budget will override any configured retry circuit breaker..envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;
-
mergeRetryBudget
public CircuitBreakers.Thresholds.Builder mergeRetryBudget(CircuitBreakers.Thresholds.RetryBudget value)
Specifies a limit on concurrent retries in relation to the number of active requests. This parameter is optional. .. note:: If this field is set, the retry budget will override any configured retry circuit breaker..envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;
-
clearRetryBudget
public CircuitBreakers.Thresholds.Builder clearRetryBudget()
Specifies a limit on concurrent retries in relation to the number of active requests. This parameter is optional. .. note:: If this field is set, the retry budget will override any configured retry circuit breaker..envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;
-
getRetryBudgetBuilder
public CircuitBreakers.Thresholds.RetryBudget.Builder getRetryBudgetBuilder()
Specifies a limit on concurrent retries in relation to the number of active requests. This parameter is optional. .. note:: If this field is set, the retry budget will override any configured retry circuit breaker..envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;
-
getRetryBudgetOrBuilder
public CircuitBreakers.Thresholds.RetryBudgetOrBuilder getRetryBudgetOrBuilder()
Specifies a limit on concurrent retries in relation to the number of active requests. This parameter is optional. .. note:: If this field is set, the retry budget will override any configured retry circuit breaker..envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;- Specified by:
getRetryBudgetOrBuilderin interfaceCircuitBreakers.ThresholdsOrBuilder
-
getTrackRemaining
public boolean getTrackRemaining()
If track_remaining is true, then stats will be published that expose the number of resources remaining until the circuit breakers open. If not specified, the default is false. .. note:: If a retry budget is used in lieu of the max_retries circuit breaker, the remaining retry resources remaining will not be tracked.bool track_remaining = 6;- Specified by:
getTrackRemainingin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- The trackRemaining.
-
setTrackRemaining
public CircuitBreakers.Thresholds.Builder setTrackRemaining(boolean value)
If track_remaining is true, then stats will be published that expose the number of resources remaining until the circuit breakers open. If not specified, the default is false. .. note:: If a retry budget is used in lieu of the max_retries circuit breaker, the remaining retry resources remaining will not be tracked.bool track_remaining = 6;- Parameters:
value- The trackRemaining to set.- Returns:
- This builder for chaining.
-
clearTrackRemaining
public CircuitBreakers.Thresholds.Builder clearTrackRemaining()
If track_remaining is true, then stats will be published that expose the number of resources remaining until the circuit breakers open. If not specified, the default is false. .. note:: If a retry budget is used in lieu of the max_retries circuit breaker, the remaining retry resources remaining will not be tracked.bool track_remaining = 6;- Returns:
- This builder for chaining.
-
hasMaxConnectionPools
public boolean hasMaxConnectionPools()
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;- Specified by:
hasMaxConnectionPoolsin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- Whether the maxConnectionPools field is set.
-
getMaxConnectionPools
public com.google.protobuf.UInt32Value getMaxConnectionPools()
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;- Specified by:
getMaxConnectionPoolsin interfaceCircuitBreakers.ThresholdsOrBuilder- Returns:
- The maxConnectionPools.
-
setMaxConnectionPools
public CircuitBreakers.Thresholds.Builder setMaxConnectionPools(com.google.protobuf.UInt32Value value)
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;
-
setMaxConnectionPools
public CircuitBreakers.Thresholds.Builder setMaxConnectionPools(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;
-
mergeMaxConnectionPools
public CircuitBreakers.Thresholds.Builder mergeMaxConnectionPools(com.google.protobuf.UInt32Value value)
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;
-
clearMaxConnectionPools
public CircuitBreakers.Thresholds.Builder clearMaxConnectionPools()
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;
-
getMaxConnectionPoolsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxConnectionPoolsBuilder()
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;
-
getMaxConnectionPoolsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxConnectionPoolsOrBuilder()
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;- Specified by:
getMaxConnectionPoolsOrBuilderin interfaceCircuitBreakers.ThresholdsOrBuilder
-
setUnknownFields
public final CircuitBreakers.Thresholds.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
mergeUnknownFields
public final CircuitBreakers.Thresholds.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.Builder>
-
-