Class CircuitBreakers.Thresholds.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Thresholds.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 type
envoy.config.cluster.v3.CircuitBreakers.Thresholds
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private com.google.protobuf.UInt32Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private com.google.protobuf.UInt32Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private com.google.protobuf.UInt32Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private com.google.protobuf.UInt32Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private com.google.protobuf.UInt32Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private int
private com.google.protobuf.SingleFieldBuilder
<CircuitBreakers.Thresholds.RetryBudget, CircuitBreakers.Thresholds.RetryBudget.Builder, CircuitBreakers.Thresholds.RetryBudgetOrBuilder> private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
clear()
The maximum number of connection pools per cluster that Envoy will concurrently support at once.The maximum number of connections that Envoy will make to the upstream cluster.The maximum number of pending requests that Envoy will allow to the upstream cluster.The maximum number of parallel requests that Envoy will make to the upstream cluster.The maximum number of parallel retries that Envoy will allow to the upstream cluster.The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.Specifies a limit on concurrent retries in relation to the number of active requests.If track_remaining is true, then stats will be published that expose the number of resources remaining until the circuit breakers open.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.UInt32Value
The maximum number of connection pools per cluster that Envoy will concurrently support at once.com.google.protobuf.UInt32Value.Builder
The maximum number of connection pools per cluster that Envoy will concurrently support at once.com.google.protobuf.UInt32ValueOrBuilder
The maximum number of connection pools per cluster that Envoy will concurrently support at once.com.google.protobuf.UInt32Value
The maximum number of connections that Envoy will make to the upstream cluster.com.google.protobuf.UInt32Value.Builder
The maximum number of connections that Envoy will make to the upstream cluster.com.google.protobuf.UInt32ValueOrBuilder
The maximum number of connections that Envoy will make to the upstream cluster.com.google.protobuf.UInt32Value
The maximum number of pending requests that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32Value.Builder
The maximum number of pending requests that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32ValueOrBuilder
The maximum number of pending requests that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32Value
The maximum number of parallel requests that Envoy will make to the upstream cluster.com.google.protobuf.UInt32Value.Builder
The maximum number of parallel requests that Envoy will make to the upstream cluster.com.google.protobuf.UInt32ValueOrBuilder
The maximum number of parallel requests that Envoy will make to the upstream cluster.com.google.protobuf.UInt32Value
The maximum number of parallel retries that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32Value.Builder
The maximum number of parallel retries that Envoy will allow to the upstream cluster.com.google.protobuf.UInt32ValueOrBuilder
The maximum number of parallel retries that Envoy will allow to the upstream cluster.The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.int
The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.Specifies a limit on concurrent retries in relation to the number of active requests.Specifies a limit on concurrent retries in relation to the number of active requests.Specifies a limit on concurrent retries in relation to the number of active requests.boolean
If track_remaining is true, then stats will be published that expose the number of resources remaining until the circuit breakers open.boolean
The maximum number of connection pools per cluster that Envoy will concurrently support at once.boolean
The maximum number of connections that Envoy will make to the upstream cluster.boolean
The maximum number of pending requests that Envoy will allow to the upstream cluster.boolean
The maximum number of parallel requests that Envoy will make to the upstream cluster.boolean
The maximum number of parallel retries that Envoy will allow to the upstream cluster.boolean
Specifies a limit on concurrent retries in relation to the number of active requests.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> The maximum number of connection pools per cluster that Envoy will concurrently support at once.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> The maximum number of connections that Envoy will make to the upstream cluster.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> The maximum number of pending requests that Envoy will allow to the upstream cluster.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> The maximum number of parallel requests that Envoy will make to the upstream cluster.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> The maximum number of parallel retries that Envoy will allow to the upstream cluster.private com.google.protobuf.SingleFieldBuilder
<CircuitBreakers.Thresholds.RetryBudget, CircuitBreakers.Thresholds.RetryBudget.Builder, CircuitBreakers.Thresholds.RetryBudgetOrBuilder> Specifies a limit on concurrent retries in relation to the number of active requests.final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeMaxConnectionPools
(com.google.protobuf.UInt32Value value) The maximum number of connection pools per cluster that Envoy will concurrently support at once.mergeMaxConnections
(com.google.protobuf.UInt32Value value) The maximum number of connections that Envoy will make to the upstream cluster.mergeMaxPendingRequests
(com.google.protobuf.UInt32Value value) The maximum number of pending requests that Envoy will allow to the upstream cluster.mergeMaxRequests
(com.google.protobuf.UInt32Value value) The maximum number of parallel requests that Envoy will make to the upstream cluster.mergeMaxRetries
(com.google.protobuf.UInt32Value value) The maximum number of parallel retries that Envoy will allow to the upstream cluster.Specifies a limit on concurrent retries in relation to the number of active requests.setMaxConnectionPools
(com.google.protobuf.UInt32Value value) The maximum number of connection pools per cluster that Envoy will concurrently support at once.setMaxConnectionPools
(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum number of connection pools per cluster that Envoy will concurrently support at once.setMaxConnections
(com.google.protobuf.UInt32Value value) The maximum number of connections that Envoy will make to the upstream cluster.setMaxConnections
(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum number of connections that Envoy will make to the upstream cluster.setMaxPendingRequests
(com.google.protobuf.UInt32Value value) The maximum number of pending requests that Envoy will allow to the upstream cluster.setMaxPendingRequests
(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum number of pending requests that Envoy will allow to the upstream cluster.setMaxRequests
(com.google.protobuf.UInt32Value value) The maximum number of parallel requests that Envoy will make to the upstream cluster.setMaxRequests
(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum number of parallel requests that Envoy will make to the upstream cluster.setMaxRetries
(com.google.protobuf.UInt32Value value) The maximum number of parallel retries that Envoy will allow to the upstream cluster.setMaxRetries
(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum number of parallel retries that Envoy will allow to the upstream cluster.setPriority
(RoutingPriority value) The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.setPriorityValue
(int value) The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.Specifies a limit on concurrent retries in relation to the number of active requests.setRetryBudget
(CircuitBreakers.Thresholds.RetryBudget.Builder builderForValue) Specifies a limit on concurrent retries in relation to the number of active requests.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
priority_
private int priority_ -
maxConnections_
private com.google.protobuf.UInt32Value maxConnections_ -
maxConnectionsBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, maxConnectionsBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
maxPendingRequests_
private com.google.protobuf.UInt32Value maxPendingRequests_ -
maxPendingRequestsBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, maxPendingRequestsBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
maxRequests_
private com.google.protobuf.UInt32Value maxRequests_ -
maxRequestsBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, maxRequestsBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
maxRetries_
private com.google.protobuf.UInt32Value maxRetries_ -
maxRetriesBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, maxRetriesBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
retryBudget_
-
retryBudgetBuilder_
private com.google.protobuf.SingleFieldBuilder<CircuitBreakers.Thresholds.RetryBudget,CircuitBreakers.Thresholds.RetryBudget.Builder, retryBudgetBuilder_CircuitBreakers.Thresholds.RetryBudgetOrBuilder> -
trackRemaining_
private boolean trackRemaining_ -
maxConnectionPools_
private com.google.protobuf.UInt32Value maxConnectionPools_ -
maxConnectionPoolsBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, maxConnectionPoolsBuilder_com.google.protobuf.UInt32ValueOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Thresholds.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
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.Thresholds.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.Thresholds.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Thresholds.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Thresholds.Builder>
-
mergeFrom
public CircuitBreakers.Thresholds.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CircuitBreakers.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:
getPriorityValue
in interfaceCircuitBreakers.ThresholdsOrBuilder
- Returns:
- The enum numeric value on the wire for priority.
-
setPriorityValue
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
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:
getPriority
in interfaceCircuitBreakers.ThresholdsOrBuilder
- Returns:
- The priority.
-
setPriority
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
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:
hasMaxConnections
in 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:
getMaxConnections
in interfaceCircuitBreakers.ThresholdsOrBuilder
- Returns:
- The maxConnections.
-
setMaxConnections
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
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:
getMaxConnectionsOrBuilder
in interfaceCircuitBreakers.ThresholdsOrBuilder
-
internalGetMaxConnectionsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetMaxConnectionsFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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;
-
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:
hasMaxPendingRequests
in 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:
getMaxPendingRequests
in 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
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:
getMaxPendingRequestsOrBuilder
in interfaceCircuitBreakers.ThresholdsOrBuilder
-
internalGetMaxPendingRequestsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetMaxPendingRequestsFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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;
-
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:
hasMaxRequests
in 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:
getMaxRequests
in interfaceCircuitBreakers.ThresholdsOrBuilder
- Returns:
- The maxRequests.
-
setMaxRequests
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
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
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:
getMaxRequestsOrBuilder
in interfaceCircuitBreakers.ThresholdsOrBuilder
-
internalGetMaxRequestsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetMaxRequestsFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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;
-
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:
hasMaxRetries
in 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:
getMaxRetries
in interfaceCircuitBreakers.ThresholdsOrBuilder
- Returns:
- The maxRetries.
-
setMaxRetries
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
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
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:
getMaxRetriesOrBuilder
in interfaceCircuitBreakers.ThresholdsOrBuilder
-
internalGetMaxRetriesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetMaxRetriesFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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;
-
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:
hasRetryBudget
in interfaceCircuitBreakers.ThresholdsOrBuilder
- Returns:
- Whether the retryBudget field is set.
-
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:
getRetryBudget
in 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
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
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
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:
getRetryBudgetOrBuilder
in interfaceCircuitBreakers.ThresholdsOrBuilder
-
internalGetRetryBudgetFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CircuitBreakers.Thresholds.RetryBudget,CircuitBreakers.Thresholds.RetryBudget.Builder, internalGetRetryBudgetFieldBuilder()CircuitBreakers.Thresholds.RetryBudgetOrBuilder> 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;
-
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:
getTrackRemaining
in interfaceCircuitBreakers.ThresholdsOrBuilder
- Returns:
- The trackRemaining.
-
setTrackRemaining
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
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:
hasMaxConnectionPools
in 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:
getMaxConnectionPools
in 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
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:
getMaxConnectionPoolsOrBuilder
in interfaceCircuitBreakers.ThresholdsOrBuilder
-
internalGetMaxConnectionPoolsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetMaxConnectionPoolsFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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;
-