Class RetryPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RetryPolicy.Builder>
com.google.protobuf.GeneratedMessage.Builder<RetryPolicy.Builder>
io.envoyproxy.envoy.config.route.v3.RetryPolicy.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RetryPolicyOrBuilder,Cloneable
- Enclosing class:
RetryPolicy
public static final class RetryPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RetryPolicy.Builder>
implements RetryPolicyOrBuilder
HTTP retry :ref:`architecture overview <arch_overview_http_routing_retry>`. [#next-free-field: 14]Protobuf type
envoy.config.route.v3.RetryPolicy-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate longprivate com.google.protobuf.UInt32Valueprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private com.google.protobuf.Durationprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private com.google.protobuf.Durationprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RateLimitedRetryBackOff, RetryPolicy.RateLimitedRetryBackOff.Builder, RetryPolicy.RateLimitedRetryBackOffOrBuilder> private List<HeaderMatcher> private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> private List<HeaderMatcher> private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> private com.google.protobuf.Internal.IntListprivate RetryPolicy.RetryBackOffprivate com.google.protobuf.SingleFieldBuilder<RetryPolicy.RetryBackOff, RetryPolicy.RetryBackOff.Builder, RetryPolicy.RetryBackOffOrBuilder> private List<RetryPolicy.RetryHostPredicate> private com.google.protobuf.RepeatedFieldBuilder<RetryPolicy.RetryHostPredicate, RetryPolicy.RetryHostPredicate.Builder, RetryPolicy.RetryHostPredicateOrBuilder> private Objectprivate List<TypedExtensionConfig> private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private RetryPolicy.RetryPriorityprivate com.google.protobuf.SingleFieldBuilder<RetryPolicy.RetryPriority, RetryPolicy.RetryPriority.Builder, RetryPolicy.RetryPriorityOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllRetriableHeaders(Iterable<? extends HeaderMatcher> values) HTTP response headers that trigger a retry if present in the response.addAllRetriableRequestHeaders(Iterable<? extends HeaderMatcher> values) HTTP headers which must be present in the request for retries to be attempted.addAllRetriableStatusCodes(Iterable<? extends Integer> values) HTTP status codes that should trigger a retry in addition to those specified by retry_on.addAllRetryHostPredicate(Iterable<? extends RetryPolicy.RetryHostPredicate> values) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.addAllRetryOptionsPredicates(Iterable<? extends TypedExtensionConfig> values) Retry options predicates that will be applied prior to retrying a request.addRetriableHeaders(int index, HeaderMatcher value) HTTP response headers that trigger a retry if present in the response.addRetriableHeaders(int index, HeaderMatcher.Builder builderForValue) HTTP response headers that trigger a retry if present in the response.addRetriableHeaders(HeaderMatcher value) HTTP response headers that trigger a retry if present in the response.addRetriableHeaders(HeaderMatcher.Builder builderForValue) HTTP response headers that trigger a retry if present in the response.HTTP response headers that trigger a retry if present in the response.addRetriableHeadersBuilder(int index) HTTP response headers that trigger a retry if present in the response.addRetriableRequestHeaders(int index, HeaderMatcher value) HTTP headers which must be present in the request for retries to be attempted.addRetriableRequestHeaders(int index, HeaderMatcher.Builder builderForValue) HTTP headers which must be present in the request for retries to be attempted.HTTP headers which must be present in the request for retries to be attempted.addRetriableRequestHeaders(HeaderMatcher.Builder builderForValue) HTTP headers which must be present in the request for retries to be attempted.HTTP headers which must be present in the request for retries to be attempted.addRetriableRequestHeadersBuilder(int index) HTTP headers which must be present in the request for retries to be attempted.addRetriableStatusCodes(int value) HTTP status codes that should trigger a retry in addition to those specified by retry_on.addRetryHostPredicate(int index, RetryPolicy.RetryHostPredicate value) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.addRetryHostPredicate(int index, RetryPolicy.RetryHostPredicate.Builder builderForValue) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.addRetryHostPredicate(RetryPolicy.RetryHostPredicate.Builder builderForValue) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.addRetryHostPredicateBuilder(int index) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.addRetryOptionsPredicates(int index, TypedExtensionConfig value) Retry options predicates that will be applied prior to retrying a request.addRetryOptionsPredicates(int index, TypedExtensionConfig.Builder builderForValue) Retry options predicates that will be applied prior to retrying a request.Retry options predicates that will be applied prior to retrying a request.addRetryOptionsPredicates(TypedExtensionConfig.Builder builderForValue) Retry options predicates that will be applied prior to retrying a request.Retry options predicates that will be applied prior to retrying a request.addRetryOptionsPredicatesBuilder(int index) Retry options predicates that will be applied prior to retrying a request.build()private voidbuildPartial0(RetryPolicy result) private voidclear()The maximum number of times host selection will be reattempted before giving up, at which point the host that was last selected will be routed to.Specifies the allowed number of retries.Specifies an upstream idle timeout per retry attempt (including the initial attempt).Specifies a non-zero upstream timeout per retry attempt (including the initial attempt).Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server.HTTP response headers that trigger a retry if present in the response.HTTP headers which must be present in the request for retries to be attempted.HTTP status codes that should trigger a retry in addition to those specified by retry_on.Specifies parameters that control exponential retry back off.Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.Specifies the conditions under which retry takes place.Retry options predicates that will be applied prior to retrying a request.Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries.private voidprivate voidprivate voidprivate voidprivate voidstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe maximum number of times host selection will be reattempted before giving up, at which point the host that was last selected will be routed to.com.google.protobuf.UInt32ValueSpecifies the allowed number of retries.com.google.protobuf.UInt32Value.BuilderSpecifies the allowed number of retries.com.google.protobuf.UInt32ValueOrBuilderSpecifies the allowed number of retries.com.google.protobuf.DurationSpecifies an upstream idle timeout per retry attempt (including the initial attempt).com.google.protobuf.Duration.BuilderSpecifies an upstream idle timeout per retry attempt (including the initial attempt).com.google.protobuf.DurationOrBuilderSpecifies an upstream idle timeout per retry attempt (including the initial attempt).com.google.protobuf.DurationSpecifies a non-zero upstream timeout per retry attempt (including the initial attempt).com.google.protobuf.Duration.BuilderSpecifies a non-zero upstream timeout per retry attempt (including the initial attempt).com.google.protobuf.DurationOrBuilderSpecifies a non-zero upstream timeout per retry attempt (including the initial attempt).Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server.Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server.Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server.getRetriableHeaders(int index) HTTP response headers that trigger a retry if present in the response.getRetriableHeadersBuilder(int index) HTTP response headers that trigger a retry if present in the response.HTTP response headers that trigger a retry if present in the response.intHTTP response headers that trigger a retry if present in the response.HTTP response headers that trigger a retry if present in the response.getRetriableHeadersOrBuilder(int index) HTTP response headers that trigger a retry if present in the response.List<? extends HeaderMatcherOrBuilder> HTTP response headers that trigger a retry if present in the response.getRetriableRequestHeaders(int index) HTTP headers which must be present in the request for retries to be attempted.getRetriableRequestHeadersBuilder(int index) HTTP headers which must be present in the request for retries to be attempted.HTTP headers which must be present in the request for retries to be attempted.intHTTP headers which must be present in the request for retries to be attempted.HTTP headers which must be present in the request for retries to be attempted.getRetriableRequestHeadersOrBuilder(int index) HTTP headers which must be present in the request for retries to be attempted.List<? extends HeaderMatcherOrBuilder> HTTP headers which must be present in the request for retries to be attempted.intgetRetriableStatusCodes(int index) HTTP status codes that should trigger a retry in addition to those specified by retry_on.intHTTP status codes that should trigger a retry in addition to those specified by retry_on.HTTP status codes that should trigger a retry in addition to those specified by retry_on.Specifies parameters that control exponential retry back off.Specifies parameters that control exponential retry back off.Specifies parameters that control exponential retry back off.getRetryHostPredicate(int index) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.getRetryHostPredicateBuilder(int index) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.intSpecifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.getRetryHostPredicateOrBuilder(int index) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.List<? extends RetryPolicy.RetryHostPredicateOrBuilder> Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.Specifies the conditions under which retry takes place.com.google.protobuf.ByteStringSpecifies the conditions under which retry takes place.getRetryOptionsPredicates(int index) Retry options predicates that will be applied prior to retrying a request.getRetryOptionsPredicatesBuilder(int index) Retry options predicates that will be applied prior to retrying a request.Retry options predicates that will be applied prior to retrying a request.intRetry options predicates that will be applied prior to retrying a request.Retry options predicates that will be applied prior to retrying a request.getRetryOptionsPredicatesOrBuilder(int index) Retry options predicates that will be applied prior to retrying a request.List<? extends TypedExtensionConfigOrBuilder> Retry options predicates that will be applied prior to retrying a request.Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries.Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries.Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries.booleanSpecifies the allowed number of retries.booleanSpecifies an upstream idle timeout per retry attempt (including the initial attempt).booleanSpecifies a non-zero upstream timeout per retry attempt (including the initial attempt).booleanSpecifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server.booleanSpecifies parameters that control exponential retry back off.booleanSpecifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> Specifies the allowed number of retries.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> Specifies an upstream idle timeout per retry attempt (including the initial attempt).private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> Specifies a non-zero upstream timeout per retry attempt (including the initial attempt).private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RateLimitedRetryBackOff, RetryPolicy.RateLimitedRetryBackOff.Builder, RetryPolicy.RateLimitedRetryBackOffOrBuilder> Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server.private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RetryBackOff, RetryPolicy.RetryBackOff.Builder, RetryPolicy.RetryBackOffOrBuilder> Specifies parameters that control exponential retry back off.private com.google.protobuf.RepeatedFieldBuilder<RetryPolicy.RetryHostPredicate, RetryPolicy.RetryHostPredicate.Builder, RetryPolicy.RetryHostPredicateOrBuilder> private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RetryPriority, RetryPolicy.RetryPriority.Builder, RetryPolicy.RetryPriorityOrBuilder> Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries.final booleanprivate voidmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RetryPolicy other) mergeNumRetries(com.google.protobuf.UInt32Value value) Specifies the allowed number of retries.mergePerTryIdleTimeout(com.google.protobuf.Duration value) Specifies an upstream idle timeout per retry attempt (including the initial attempt).mergePerTryTimeout(com.google.protobuf.Duration value) Specifies a non-zero upstream timeout per retry attempt (including the initial attempt).Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server.Specifies parameters that control exponential retry back off.Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries.removeRetriableHeaders(int index) HTTP response headers that trigger a retry if present in the response.removeRetriableRequestHeaders(int index) HTTP headers which must be present in the request for retries to be attempted.removeRetryHostPredicate(int index) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.removeRetryOptionsPredicates(int index) Retry options predicates that will be applied prior to retrying a request.setHostSelectionRetryMaxAttempts(long value) The maximum number of times host selection will be reattempted before giving up, at which point the host that was last selected will be routed to.setNumRetries(com.google.protobuf.UInt32Value value) Specifies the allowed number of retries.setNumRetries(com.google.protobuf.UInt32Value.Builder builderForValue) Specifies the allowed number of retries.setPerTryIdleTimeout(com.google.protobuf.Duration value) Specifies an upstream idle timeout per retry attempt (including the initial attempt).setPerTryIdleTimeout(com.google.protobuf.Duration.Builder builderForValue) Specifies an upstream idle timeout per retry attempt (including the initial attempt).setPerTryTimeout(com.google.protobuf.Duration value) Specifies a non-zero upstream timeout per retry attempt (including the initial attempt).setPerTryTimeout(com.google.protobuf.Duration.Builder builderForValue) Specifies a non-zero upstream timeout per retry attempt (including the initial attempt).Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server.setRateLimitedRetryBackOff(RetryPolicy.RateLimitedRetryBackOff.Builder builderForValue) Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server.setRetriableHeaders(int index, HeaderMatcher value) HTTP response headers that trigger a retry if present in the response.setRetriableHeaders(int index, HeaderMatcher.Builder builderForValue) HTTP response headers that trigger a retry if present in the response.setRetriableRequestHeaders(int index, HeaderMatcher value) HTTP headers which must be present in the request for retries to be attempted.setRetriableRequestHeaders(int index, HeaderMatcher.Builder builderForValue) HTTP headers which must be present in the request for retries to be attempted.setRetriableStatusCodes(int index, int value) HTTP status codes that should trigger a retry in addition to those specified by retry_on.Specifies parameters that control exponential retry back off.setRetryBackOff(RetryPolicy.RetryBackOff.Builder builderForValue) Specifies parameters that control exponential retry back off.setRetryHostPredicate(int index, RetryPolicy.RetryHostPredicate value) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.setRetryHostPredicate(int index, RetryPolicy.RetryHostPredicate.Builder builderForValue) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries.setRetryOn(String value) Specifies the conditions under which retry takes place.setRetryOnBytes(com.google.protobuf.ByteString value) Specifies the conditions under which retry takes place.setRetryOptionsPredicates(int index, TypedExtensionConfig value) Retry options predicates that will be applied prior to retrying a request.setRetryOptionsPredicates(int index, TypedExtensionConfig.Builder builderForValue) Retry options predicates that will be applied prior to retrying a request.Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries.setRetryPriority(RetryPolicy.RetryPriority.Builder builderForValue) Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
retryOn_
-
numRetries_
private com.google.protobuf.UInt32Value numRetries_ -
numRetriesBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, numRetriesBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
perTryTimeout_
private com.google.protobuf.Duration perTryTimeout_ -
perTryTimeoutBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, perTryTimeoutBuilder_com.google.protobuf.DurationOrBuilder> -
perTryIdleTimeout_
private com.google.protobuf.Duration perTryIdleTimeout_ -
perTryIdleTimeoutBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, perTryIdleTimeoutBuilder_com.google.protobuf.DurationOrBuilder> -
retryPriority_
-
retryPriorityBuilder_
private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RetryPriority,RetryPolicy.RetryPriority.Builder, retryPriorityBuilder_RetryPolicy.RetryPriorityOrBuilder> -
retryHostPredicate_
-
retryHostPredicateBuilder_
private com.google.protobuf.RepeatedFieldBuilder<RetryPolicy.RetryHostPredicate,RetryPolicy.RetryHostPredicate.Builder, retryHostPredicateBuilder_RetryPolicy.RetryHostPredicateOrBuilder> -
retryOptionsPredicates_
-
retryOptionsPredicatesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, retryOptionsPredicatesBuilder_TypedExtensionConfigOrBuilder> -
hostSelectionRetryMaxAttempts_
private long hostSelectionRetryMaxAttempts_ -
retriableStatusCodes_
private com.google.protobuf.Internal.IntList retriableStatusCodes_ -
retryBackOff_
-
retryBackOffBuilder_
private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RetryBackOff,RetryPolicy.RetryBackOff.Builder, retryBackOffBuilder_RetryPolicy.RetryBackOffOrBuilder> -
rateLimitedRetryBackOff_
-
rateLimitedRetryBackOffBuilder_
private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RateLimitedRetryBackOff,RetryPolicy.RateLimitedRetryBackOff.Builder, rateLimitedRetryBackOffBuilder_RetryPolicy.RateLimitedRetryBackOffOrBuilder> -
retriableHeaders_
-
retriableHeadersBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, retriableHeadersBuilder_HeaderMatcherOrBuilder> -
retriableRequestHeaders_
-
retriableRequestHeadersBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, retriableRequestHeadersBuilder_HeaderMatcherOrBuilder>
-
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RetryPolicy.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RetryPolicy.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.GeneratedMessage.Builder<RetryPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RetryPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RetryPolicy.Builder>
-
mergeFrom
public RetryPolicy.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<RetryPolicy.Builder>- Throws:
IOException
-
getRetryOn
Specifies the conditions under which retry takes place. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-retry-on` and :ref:`config_http_filters_router_x-envoy-retry-grpc-on`.
string retry_on = 1;- Specified by:
getRetryOnin interfaceRetryPolicyOrBuilder- Returns:
- The retryOn.
-
getRetryOnBytes
public com.google.protobuf.ByteString getRetryOnBytes()Specifies the conditions under which retry takes place. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-retry-on` and :ref:`config_http_filters_router_x-envoy-retry-grpc-on`.
string retry_on = 1;- Specified by:
getRetryOnBytesin interfaceRetryPolicyOrBuilder- Returns:
- The bytes for retryOn.
-
setRetryOn
Specifies the conditions under which retry takes place. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-retry-on` and :ref:`config_http_filters_router_x-envoy-retry-grpc-on`.
string retry_on = 1;- Parameters:
value- The retryOn to set.- Returns:
- This builder for chaining.
-
clearRetryOn
Specifies the conditions under which retry takes place. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-retry-on` and :ref:`config_http_filters_router_x-envoy-retry-grpc-on`.
string retry_on = 1;- Returns:
- This builder for chaining.
-
setRetryOnBytes
Specifies the conditions under which retry takes place. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-retry-on` and :ref:`config_http_filters_router_x-envoy-retry-grpc-on`.
string retry_on = 1;- Parameters:
value- The bytes for retryOn to set.- Returns:
- This builder for chaining.
-
hasNumRetries
public boolean hasNumRetries()Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-max-retries`.
.google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasNumRetriesin interfaceRetryPolicyOrBuilder- Returns:
- Whether the numRetries field is set.
-
getNumRetries
public com.google.protobuf.UInt32Value getNumRetries()Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-max-retries`.
.google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getNumRetriesin interfaceRetryPolicyOrBuilder- Returns:
- The numRetries.
-
setNumRetries
Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-max-retries`.
.google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... } -
setNumRetries
Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-max-retries`.
.google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... } -
mergeNumRetries
Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-max-retries`.
.google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... } -
clearNumRetries
Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-max-retries`.
.google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... } -
getNumRetriesBuilder
public com.google.protobuf.UInt32Value.Builder getNumRetriesBuilder()Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-max-retries`.
.google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... } -
getNumRetriesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getNumRetriesOrBuilder()Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-max-retries`.
.google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getNumRetriesOrBuilderin interfaceRetryPolicyOrBuilder
-
internalGetNumRetriesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetNumRetriesFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for :ref:`config_http_filters_router_x-envoy-max-retries`.
.google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... } -
hasPerTryTimeout
public boolean hasPerTryTimeout()Specifies a non-zero upstream timeout per retry attempt (including the initial attempt). This parameter is optional. The same conditions documented for :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. .. note:: If left unspecified, Envoy will use the global :ref:`route timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` for the request. Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based retry policy, a request that times out will not be retried as the total timeout budget would have been exhausted.
.google.protobuf.Duration per_try_timeout = 3;- Specified by:
hasPerTryTimeoutin interfaceRetryPolicyOrBuilder- Returns:
- Whether the perTryTimeout field is set.
-
getPerTryTimeout
public com.google.protobuf.Duration getPerTryTimeout()Specifies a non-zero upstream timeout per retry attempt (including the initial attempt). This parameter is optional. The same conditions documented for :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. .. note:: If left unspecified, Envoy will use the global :ref:`route timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` for the request. Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based retry policy, a request that times out will not be retried as the total timeout budget would have been exhausted.
.google.protobuf.Duration per_try_timeout = 3;- Specified by:
getPerTryTimeoutin interfaceRetryPolicyOrBuilder- Returns:
- The perTryTimeout.
-
setPerTryTimeout
Specifies a non-zero upstream timeout per retry attempt (including the initial attempt). This parameter is optional. The same conditions documented for :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. .. note:: If left unspecified, Envoy will use the global :ref:`route timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` for the request. Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based retry policy, a request that times out will not be retried as the total timeout budget would have been exhausted.
.google.protobuf.Duration per_try_timeout = 3; -
setPerTryTimeout
Specifies a non-zero upstream timeout per retry attempt (including the initial attempt). This parameter is optional. The same conditions documented for :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. .. note:: If left unspecified, Envoy will use the global :ref:`route timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` for the request. Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based retry policy, a request that times out will not be retried as the total timeout budget would have been exhausted.
.google.protobuf.Duration per_try_timeout = 3; -
mergePerTryTimeout
Specifies a non-zero upstream timeout per retry attempt (including the initial attempt). This parameter is optional. The same conditions documented for :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. .. note:: If left unspecified, Envoy will use the global :ref:`route timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` for the request. Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based retry policy, a request that times out will not be retried as the total timeout budget would have been exhausted.
.google.protobuf.Duration per_try_timeout = 3; -
clearPerTryTimeout
Specifies a non-zero upstream timeout per retry attempt (including the initial attempt). This parameter is optional. The same conditions documented for :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. .. note:: If left unspecified, Envoy will use the global :ref:`route timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` for the request. Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based retry policy, a request that times out will not be retried as the total timeout budget would have been exhausted.
.google.protobuf.Duration per_try_timeout = 3; -
getPerTryTimeoutBuilder
public com.google.protobuf.Duration.Builder getPerTryTimeoutBuilder()Specifies a non-zero upstream timeout per retry attempt (including the initial attempt). This parameter is optional. The same conditions documented for :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. .. note:: If left unspecified, Envoy will use the global :ref:`route timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` for the request. Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based retry policy, a request that times out will not be retried as the total timeout budget would have been exhausted.
.google.protobuf.Duration per_try_timeout = 3; -
getPerTryTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getPerTryTimeoutOrBuilder()Specifies a non-zero upstream timeout per retry attempt (including the initial attempt). This parameter is optional. The same conditions documented for :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. .. note:: If left unspecified, Envoy will use the global :ref:`route timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` for the request. Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based retry policy, a request that times out will not be retried as the total timeout budget would have been exhausted.
.google.protobuf.Duration per_try_timeout = 3;- Specified by:
getPerTryTimeoutOrBuilderin interfaceRetryPolicyOrBuilder
-
internalGetPerTryTimeoutFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, internalGetPerTryTimeoutFieldBuilder()com.google.protobuf.DurationOrBuilder> Specifies a non-zero upstream timeout per retry attempt (including the initial attempt). This parameter is optional. The same conditions documented for :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. .. note:: If left unspecified, Envoy will use the global :ref:`route timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` for the request. Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based retry policy, a request that times out will not be retried as the total timeout budget would have been exhausted.
.google.protobuf.Duration per_try_timeout = 3; -
hasPerTryIdleTimeout
public boolean hasPerTryIdleTimeout()Specifies an upstream idle timeout per retry attempt (including the initial attempt). This parameter is optional and if absent there is no per try idle timeout. The semantics of the per try idle timeout are similar to the :ref:`route idle timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` and :ref:`stream idle timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` both enforced by the HTTP connection manager. The difference is that this idle timeout is enforced by the router for each individual attempt and thus after all previous filters have run, as opposed to *before* all previous filters run for the other idle timeouts. This timeout is useful in cases in which total request timeout is bounded by a number of retries and a :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, but there is a desire to ensure each try is making incremental progress. Note also that similar to :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, this idle timeout does not start until after both the entire request has been received by the router *and* a connection pool connection has been obtained. Unlike :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, the idle timer continues once the response starts streaming back to the downstream client. This ensures that response data continues to make progress without using one of the HTTP connection manager idle timeouts.
.google.protobuf.Duration per_try_idle_timeout = 13;- Specified by:
hasPerTryIdleTimeoutin interfaceRetryPolicyOrBuilder- Returns:
- Whether the perTryIdleTimeout field is set.
-
getPerTryIdleTimeout
public com.google.protobuf.Duration getPerTryIdleTimeout()Specifies an upstream idle timeout per retry attempt (including the initial attempt). This parameter is optional and if absent there is no per try idle timeout. The semantics of the per try idle timeout are similar to the :ref:`route idle timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` and :ref:`stream idle timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` both enforced by the HTTP connection manager. The difference is that this idle timeout is enforced by the router for each individual attempt and thus after all previous filters have run, as opposed to *before* all previous filters run for the other idle timeouts. This timeout is useful in cases in which total request timeout is bounded by a number of retries and a :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, but there is a desire to ensure each try is making incremental progress. Note also that similar to :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, this idle timeout does not start until after both the entire request has been received by the router *and* a connection pool connection has been obtained. Unlike :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, the idle timer continues once the response starts streaming back to the downstream client. This ensures that response data continues to make progress without using one of the HTTP connection manager idle timeouts.
.google.protobuf.Duration per_try_idle_timeout = 13;- Specified by:
getPerTryIdleTimeoutin interfaceRetryPolicyOrBuilder- Returns:
- The perTryIdleTimeout.
-
setPerTryIdleTimeout
Specifies an upstream idle timeout per retry attempt (including the initial attempt). This parameter is optional and if absent there is no per try idle timeout. The semantics of the per try idle timeout are similar to the :ref:`route idle timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` and :ref:`stream idle timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` both enforced by the HTTP connection manager. The difference is that this idle timeout is enforced by the router for each individual attempt and thus after all previous filters have run, as opposed to *before* all previous filters run for the other idle timeouts. This timeout is useful in cases in which total request timeout is bounded by a number of retries and a :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, but there is a desire to ensure each try is making incremental progress. Note also that similar to :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, this idle timeout does not start until after both the entire request has been received by the router *and* a connection pool connection has been obtained. Unlike :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, the idle timer continues once the response starts streaming back to the downstream client. This ensures that response data continues to make progress without using one of the HTTP connection manager idle timeouts.
.google.protobuf.Duration per_try_idle_timeout = 13; -
setPerTryIdleTimeout
public RetryPolicy.Builder setPerTryIdleTimeout(com.google.protobuf.Duration.Builder builderForValue) Specifies an upstream idle timeout per retry attempt (including the initial attempt). This parameter is optional and if absent there is no per try idle timeout. The semantics of the per try idle timeout are similar to the :ref:`route idle timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` and :ref:`stream idle timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` both enforced by the HTTP connection manager. The difference is that this idle timeout is enforced by the router for each individual attempt and thus after all previous filters have run, as opposed to *before* all previous filters run for the other idle timeouts. This timeout is useful in cases in which total request timeout is bounded by a number of retries and a :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, but there is a desire to ensure each try is making incremental progress. Note also that similar to :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, this idle timeout does not start until after both the entire request has been received by the router *and* a connection pool connection has been obtained. Unlike :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, the idle timer continues once the response starts streaming back to the downstream client. This ensures that response data continues to make progress without using one of the HTTP connection manager idle timeouts.
.google.protobuf.Duration per_try_idle_timeout = 13; -
mergePerTryIdleTimeout
Specifies an upstream idle timeout per retry attempt (including the initial attempt). This parameter is optional and if absent there is no per try idle timeout. The semantics of the per try idle timeout are similar to the :ref:`route idle timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` and :ref:`stream idle timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` both enforced by the HTTP connection manager. The difference is that this idle timeout is enforced by the router for each individual attempt and thus after all previous filters have run, as opposed to *before* all previous filters run for the other idle timeouts. This timeout is useful in cases in which total request timeout is bounded by a number of retries and a :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, but there is a desire to ensure each try is making incremental progress. Note also that similar to :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, this idle timeout does not start until after both the entire request has been received by the router *and* a connection pool connection has been obtained. Unlike :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, the idle timer continues once the response starts streaming back to the downstream client. This ensures that response data continues to make progress without using one of the HTTP connection manager idle timeouts.
.google.protobuf.Duration per_try_idle_timeout = 13; -
clearPerTryIdleTimeout
Specifies an upstream idle timeout per retry attempt (including the initial attempt). This parameter is optional and if absent there is no per try idle timeout. The semantics of the per try idle timeout are similar to the :ref:`route idle timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` and :ref:`stream idle timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` both enforced by the HTTP connection manager. The difference is that this idle timeout is enforced by the router for each individual attempt and thus after all previous filters have run, as opposed to *before* all previous filters run for the other idle timeouts. This timeout is useful in cases in which total request timeout is bounded by a number of retries and a :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, but there is a desire to ensure each try is making incremental progress. Note also that similar to :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, this idle timeout does not start until after both the entire request has been received by the router *and* a connection pool connection has been obtained. Unlike :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, the idle timer continues once the response starts streaming back to the downstream client. This ensures that response data continues to make progress without using one of the HTTP connection manager idle timeouts.
.google.protobuf.Duration per_try_idle_timeout = 13; -
getPerTryIdleTimeoutBuilder
public com.google.protobuf.Duration.Builder getPerTryIdleTimeoutBuilder()Specifies an upstream idle timeout per retry attempt (including the initial attempt). This parameter is optional and if absent there is no per try idle timeout. The semantics of the per try idle timeout are similar to the :ref:`route idle timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` and :ref:`stream idle timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` both enforced by the HTTP connection manager. The difference is that this idle timeout is enforced by the router for each individual attempt and thus after all previous filters have run, as opposed to *before* all previous filters run for the other idle timeouts. This timeout is useful in cases in which total request timeout is bounded by a number of retries and a :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, but there is a desire to ensure each try is making incremental progress. Note also that similar to :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, this idle timeout does not start until after both the entire request has been received by the router *and* a connection pool connection has been obtained. Unlike :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, the idle timer continues once the response starts streaming back to the downstream client. This ensures that response data continues to make progress without using one of the HTTP connection manager idle timeouts.
.google.protobuf.Duration per_try_idle_timeout = 13; -
getPerTryIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getPerTryIdleTimeoutOrBuilder()Specifies an upstream idle timeout per retry attempt (including the initial attempt). This parameter is optional and if absent there is no per try idle timeout. The semantics of the per try idle timeout are similar to the :ref:`route idle timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` and :ref:`stream idle timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` both enforced by the HTTP connection manager. The difference is that this idle timeout is enforced by the router for each individual attempt and thus after all previous filters have run, as opposed to *before* all previous filters run for the other idle timeouts. This timeout is useful in cases in which total request timeout is bounded by a number of retries and a :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, but there is a desire to ensure each try is making incremental progress. Note also that similar to :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, this idle timeout does not start until after both the entire request has been received by the router *and* a connection pool connection has been obtained. Unlike :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, the idle timer continues once the response starts streaming back to the downstream client. This ensures that response data continues to make progress without using one of the HTTP connection manager idle timeouts.
.google.protobuf.Duration per_try_idle_timeout = 13;- Specified by:
getPerTryIdleTimeoutOrBuilderin interfaceRetryPolicyOrBuilder
-
internalGetPerTryIdleTimeoutFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, internalGetPerTryIdleTimeoutFieldBuilder()com.google.protobuf.DurationOrBuilder> Specifies an upstream idle timeout per retry attempt (including the initial attempt). This parameter is optional and if absent there is no per try idle timeout. The semantics of the per try idle timeout are similar to the :ref:`route idle timeout <envoy_v3_api_field_config.route.v3.RouteAction.timeout>` and :ref:`stream idle timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` both enforced by the HTTP connection manager. The difference is that this idle timeout is enforced by the router for each individual attempt and thus after all previous filters have run, as opposed to *before* all previous filters run for the other idle timeouts. This timeout is useful in cases in which total request timeout is bounded by a number of retries and a :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, but there is a desire to ensure each try is making incremental progress. Note also that similar to :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, this idle timeout does not start until after both the entire request has been received by the router *and* a connection pool connection has been obtained. Unlike :ref:`per_try_timeout <envoy_v3_api_field_config.route.v3.RetryPolicy.per_try_timeout>`, the idle timer continues once the response starts streaming back to the downstream client. This ensures that response data continues to make progress without using one of the HTTP connection manager idle timeouts.
.google.protobuf.Duration per_try_idle_timeout = 13; -
hasRetryPriority
public boolean hasRetryPriority()Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.config.route.v3.RetryPolicy.RetryPriority retry_priority = 4;- Specified by:
hasRetryPriorityin interfaceRetryPolicyOrBuilder- Returns:
- Whether the retryPriority field is set.
-
getRetryPriority
Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.config.route.v3.RetryPolicy.RetryPriority retry_priority = 4;- Specified by:
getRetryPriorityin interfaceRetryPolicyOrBuilder- Returns:
- The retryPriority.
-
setRetryPriority
Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.config.route.v3.RetryPolicy.RetryPriority retry_priority = 4; -
setRetryPriority
Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.config.route.v3.RetryPolicy.RetryPriority retry_priority = 4; -
mergeRetryPriority
Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.config.route.v3.RetryPolicy.RetryPriority retry_priority = 4; -
clearRetryPriority
Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.config.route.v3.RetryPolicy.RetryPriority retry_priority = 4; -
getRetryPriorityBuilder
Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.config.route.v3.RetryPolicy.RetryPriority retry_priority = 4; -
getRetryPriorityOrBuilder
Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.config.route.v3.RetryPolicy.RetryPriority retry_priority = 4;- Specified by:
getRetryPriorityOrBuilderin interfaceRetryPolicyOrBuilder
-
internalGetRetryPriorityFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RetryPriority,RetryPolicy.RetryPriority.Builder, internalGetRetryPriorityFieldBuilder()RetryPolicy.RetryPriorityOrBuilder> Specifies an implementation of a RetryPriority which is used to determine the distribution of load across priorities used for retries. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.config.route.v3.RetryPolicy.RetryPriority retry_priority = 4; -
ensureRetryHostPredicateIsMutable
private void ensureRetryHostPredicateIsMutable() -
getRetryHostPredicateList
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;- Specified by:
getRetryHostPredicateListin interfaceRetryPolicyOrBuilder
-
getRetryHostPredicateCount
public int getRetryHostPredicateCount()Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;- Specified by:
getRetryHostPredicateCountin interfaceRetryPolicyOrBuilder
-
getRetryHostPredicate
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;- Specified by:
getRetryHostPredicatein interfaceRetryPolicyOrBuilder
-
setRetryHostPredicate
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
setRetryHostPredicate
public RetryPolicy.Builder setRetryHostPredicate(int index, RetryPolicy.RetryHostPredicate.Builder builderForValue) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
addRetryHostPredicate
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
addRetryHostPredicate
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
addRetryHostPredicate
public RetryPolicy.Builder addRetryHostPredicate(RetryPolicy.RetryHostPredicate.Builder builderForValue) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
addRetryHostPredicate
public RetryPolicy.Builder addRetryHostPredicate(int index, RetryPolicy.RetryHostPredicate.Builder builderForValue) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
addAllRetryHostPredicate
public RetryPolicy.Builder addAllRetryHostPredicate(Iterable<? extends RetryPolicy.RetryHostPredicate> values) Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
clearRetryHostPredicate
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
removeRetryHostPredicate
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
getRetryHostPredicateBuilder
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
getRetryHostPredicateOrBuilder
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;- Specified by:
getRetryHostPredicateOrBuilderin interfaceRetryPolicyOrBuilder
-
getRetryHostPredicateOrBuilderList
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;- Specified by:
getRetryHostPredicateOrBuilderListin interfaceRetryPolicyOrBuilder
-
addRetryHostPredicateBuilder
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
addRetryHostPredicateBuilder
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
getRetryHostPredicateBuilderList
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries. If any of the predicates reject the host, host selection will be reattempted. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
repeated .envoy.config.route.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5; -
internalGetRetryHostPredicateFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<RetryPolicy.RetryHostPredicate,RetryPolicy.RetryHostPredicate.Builder, internalGetRetryHostPredicateFieldBuilder()RetryPolicy.RetryHostPredicateOrBuilder> -
ensureRetryOptionsPredicatesIsMutable
private void ensureRetryOptionsPredicatesIsMutable() -
getRetryOptionsPredicatesList
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12;- Specified by:
getRetryOptionsPredicatesListin interfaceRetryPolicyOrBuilder
-
getRetryOptionsPredicatesCount
public int getRetryOptionsPredicatesCount()Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12;- Specified by:
getRetryOptionsPredicatesCountin interfaceRetryPolicyOrBuilder
-
getRetryOptionsPredicates
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12;- Specified by:
getRetryOptionsPredicatesin interfaceRetryPolicyOrBuilder
-
setRetryOptionsPredicates
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
setRetryOptionsPredicates
public RetryPolicy.Builder setRetryOptionsPredicates(int index, TypedExtensionConfig.Builder builderForValue) Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
addRetryOptionsPredicates
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
addRetryOptionsPredicates
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
addRetryOptionsPredicates
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
addRetryOptionsPredicates
public RetryPolicy.Builder addRetryOptionsPredicates(int index, TypedExtensionConfig.Builder builderForValue) Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
addAllRetryOptionsPredicates
public RetryPolicy.Builder addAllRetryOptionsPredicates(Iterable<? extends TypedExtensionConfig> values) Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
clearRetryOptionsPredicates
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
removeRetryOptionsPredicates
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
getRetryOptionsPredicatesBuilder
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
getRetryOptionsPredicatesOrBuilder
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12;- Specified by:
getRetryOptionsPredicatesOrBuilderin interfaceRetryPolicyOrBuilder
-
getRetryOptionsPredicatesOrBuilderList
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12;- Specified by:
getRetryOptionsPredicatesOrBuilderListin interfaceRetryPolicyOrBuilder
-
addRetryOptionsPredicatesBuilder
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
addRetryOptionsPredicatesBuilder
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
getRetryOptionsPredicatesBuilderList
Retry options predicates that will be applied prior to retrying a request. These predicates allow customizing request behavior between retries. [#comment: add [#extension-category: envoy.retry_options_predicates] when there are built-in extensions]
repeated .envoy.config.core.v3.TypedExtensionConfig retry_options_predicates = 12; -
internalGetRetryOptionsPredicatesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, internalGetRetryOptionsPredicatesFieldBuilder()TypedExtensionConfigOrBuilder> -
getHostSelectionRetryMaxAttempts
public long getHostSelectionRetryMaxAttempts()The maximum number of times host selection will be reattempted before giving up, at which point the host that was last selected will be routed to. If unspecified, this will default to retrying once.
int64 host_selection_retry_max_attempts = 6;- Specified by:
getHostSelectionRetryMaxAttemptsin interfaceRetryPolicyOrBuilder- Returns:
- The hostSelectionRetryMaxAttempts.
-
setHostSelectionRetryMaxAttempts
The maximum number of times host selection will be reattempted before giving up, at which point the host that was last selected will be routed to. If unspecified, this will default to retrying once.
int64 host_selection_retry_max_attempts = 6;- Parameters:
value- The hostSelectionRetryMaxAttempts to set.- Returns:
- This builder for chaining.
-
clearHostSelectionRetryMaxAttempts
The maximum number of times host selection will be reattempted before giving up, at which point the host that was last selected will be routed to. If unspecified, this will default to retrying once.
int64 host_selection_retry_max_attempts = 6;- Returns:
- This builder for chaining.
-
ensureRetriableStatusCodesIsMutable
private void ensureRetriableStatusCodesIsMutable() -
getRetriableStatusCodesList
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;- Specified by:
getRetriableStatusCodesListin interfaceRetryPolicyOrBuilder- Returns:
- A list containing the retriableStatusCodes.
-
getRetriableStatusCodesCount
public int getRetriableStatusCodesCount()HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;- Specified by:
getRetriableStatusCodesCountin interfaceRetryPolicyOrBuilder- Returns:
- The count of retriableStatusCodes.
-
getRetriableStatusCodes
public int getRetriableStatusCodes(int index) HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;- Specified by:
getRetriableStatusCodesin interfaceRetryPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The retriableStatusCodes at the given index.
-
setRetriableStatusCodes
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;- Parameters:
index- The index to set the value at.value- The retriableStatusCodes to set.- Returns:
- This builder for chaining.
-
addRetriableStatusCodes
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;- Parameters:
value- The retriableStatusCodes to add.- Returns:
- This builder for chaining.
-
addAllRetriableStatusCodes
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;- Parameters:
values- The retriableStatusCodes to add.- Returns:
- This builder for chaining.
-
clearRetriableStatusCodes
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;- Returns:
- This builder for chaining.
-
hasRetryBackOff
public boolean hasRetryBackOff()Specifies parameters that control exponential retry back off. This parameter is optional, in which case the default base interval is 25 milliseconds or, if set, the current value of the ``upstream.base_retry_backoff_ms`` runtime parameter. The default maximum interval is 10 times the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` describes Envoy's back-off algorithm.
.envoy.config.route.v3.RetryPolicy.RetryBackOff retry_back_off = 8;- Specified by:
hasRetryBackOffin interfaceRetryPolicyOrBuilder- Returns:
- Whether the retryBackOff field is set.
-
getRetryBackOff
Specifies parameters that control exponential retry back off. This parameter is optional, in which case the default base interval is 25 milliseconds or, if set, the current value of the ``upstream.base_retry_backoff_ms`` runtime parameter. The default maximum interval is 10 times the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` describes Envoy's back-off algorithm.
.envoy.config.route.v3.RetryPolicy.RetryBackOff retry_back_off = 8;- Specified by:
getRetryBackOffin interfaceRetryPolicyOrBuilder- Returns:
- The retryBackOff.
-
setRetryBackOff
Specifies parameters that control exponential retry back off. This parameter is optional, in which case the default base interval is 25 milliseconds or, if set, the current value of the ``upstream.base_retry_backoff_ms`` runtime parameter. The default maximum interval is 10 times the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` describes Envoy's back-off algorithm.
.envoy.config.route.v3.RetryPolicy.RetryBackOff retry_back_off = 8; -
setRetryBackOff
Specifies parameters that control exponential retry back off. This parameter is optional, in which case the default base interval is 25 milliseconds or, if set, the current value of the ``upstream.base_retry_backoff_ms`` runtime parameter. The default maximum interval is 10 times the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` describes Envoy's back-off algorithm.
.envoy.config.route.v3.RetryPolicy.RetryBackOff retry_back_off = 8; -
mergeRetryBackOff
Specifies parameters that control exponential retry back off. This parameter is optional, in which case the default base interval is 25 milliseconds or, if set, the current value of the ``upstream.base_retry_backoff_ms`` runtime parameter. The default maximum interval is 10 times the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` describes Envoy's back-off algorithm.
.envoy.config.route.v3.RetryPolicy.RetryBackOff retry_back_off = 8; -
clearRetryBackOff
Specifies parameters that control exponential retry back off. This parameter is optional, in which case the default base interval is 25 milliseconds or, if set, the current value of the ``upstream.base_retry_backoff_ms`` runtime parameter. The default maximum interval is 10 times the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` describes Envoy's back-off algorithm.
.envoy.config.route.v3.RetryPolicy.RetryBackOff retry_back_off = 8; -
getRetryBackOffBuilder
Specifies parameters that control exponential retry back off. This parameter is optional, in which case the default base interval is 25 milliseconds or, if set, the current value of the ``upstream.base_retry_backoff_ms`` runtime parameter. The default maximum interval is 10 times the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` describes Envoy's back-off algorithm.
.envoy.config.route.v3.RetryPolicy.RetryBackOff retry_back_off = 8; -
getRetryBackOffOrBuilder
Specifies parameters that control exponential retry back off. This parameter is optional, in which case the default base interval is 25 milliseconds or, if set, the current value of the ``upstream.base_retry_backoff_ms`` runtime parameter. The default maximum interval is 10 times the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` describes Envoy's back-off algorithm.
.envoy.config.route.v3.RetryPolicy.RetryBackOff retry_back_off = 8;- Specified by:
getRetryBackOffOrBuilderin interfaceRetryPolicyOrBuilder
-
internalGetRetryBackOffFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RetryBackOff,RetryPolicy.RetryBackOff.Builder, internalGetRetryBackOffFieldBuilder()RetryPolicy.RetryBackOffOrBuilder> Specifies parameters that control exponential retry back off. This parameter is optional, in which case the default base interval is 25 milliseconds or, if set, the current value of the ``upstream.base_retry_backoff_ms`` runtime parameter. The default maximum interval is 10 times the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` describes Envoy's back-off algorithm.
.envoy.config.route.v3.RetryPolicy.RetryBackOff retry_back_off = 8; -
hasRateLimitedRetryBackOff
public boolean hasRateLimitedRetryBackOff()Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server. The server may return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to provide feedback to the client on how long to wait before retrying. If configured, this back-off strategy will be used instead of the default exponential back off strategy (configured using ``retry_back_off``) whenever a response includes the matching headers.
.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff rate_limited_retry_back_off = 11;- Specified by:
hasRateLimitedRetryBackOffin interfaceRetryPolicyOrBuilder- Returns:
- Whether the rateLimitedRetryBackOff field is set.
-
getRateLimitedRetryBackOff
Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server. The server may return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to provide feedback to the client on how long to wait before retrying. If configured, this back-off strategy will be used instead of the default exponential back off strategy (configured using ``retry_back_off``) whenever a response includes the matching headers.
.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff rate_limited_retry_back_off = 11;- Specified by:
getRateLimitedRetryBackOffin interfaceRetryPolicyOrBuilder- Returns:
- The rateLimitedRetryBackOff.
-
setRateLimitedRetryBackOff
Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server. The server may return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to provide feedback to the client on how long to wait before retrying. If configured, this back-off strategy will be used instead of the default exponential back off strategy (configured using ``retry_back_off``) whenever a response includes the matching headers.
.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff rate_limited_retry_back_off = 11; -
setRateLimitedRetryBackOff
public RetryPolicy.Builder setRateLimitedRetryBackOff(RetryPolicy.RateLimitedRetryBackOff.Builder builderForValue) Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server. The server may return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to provide feedback to the client on how long to wait before retrying. If configured, this back-off strategy will be used instead of the default exponential back off strategy (configured using ``retry_back_off``) whenever a response includes the matching headers.
.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff rate_limited_retry_back_off = 11; -
mergeRateLimitedRetryBackOff
Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server. The server may return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to provide feedback to the client on how long to wait before retrying. If configured, this back-off strategy will be used instead of the default exponential back off strategy (configured using ``retry_back_off``) whenever a response includes the matching headers.
.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff rate_limited_retry_back_off = 11; -
clearRateLimitedRetryBackOff
Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server. The server may return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to provide feedback to the client on how long to wait before retrying. If configured, this back-off strategy will be used instead of the default exponential back off strategy (configured using ``retry_back_off``) whenever a response includes the matching headers.
.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff rate_limited_retry_back_off = 11; -
getRateLimitedRetryBackOffBuilder
Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server. The server may return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to provide feedback to the client on how long to wait before retrying. If configured, this back-off strategy will be used instead of the default exponential back off strategy (configured using ``retry_back_off``) whenever a response includes the matching headers.
.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff rate_limited_retry_back_off = 11; -
getRateLimitedRetryBackOffOrBuilder
Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server. The server may return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to provide feedback to the client on how long to wait before retrying. If configured, this back-off strategy will be used instead of the default exponential back off strategy (configured using ``retry_back_off``) whenever a response includes the matching headers.
.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff rate_limited_retry_back_off = 11;- Specified by:
getRateLimitedRetryBackOffOrBuilderin interfaceRetryPolicyOrBuilder
-
internalGetRateLimitedRetryBackOffFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RetryPolicy.RateLimitedRetryBackOff,RetryPolicy.RateLimitedRetryBackOff.Builder, internalGetRateLimitedRetryBackOffFieldBuilder()RetryPolicy.RateLimitedRetryBackOffOrBuilder> Specifies parameters that control a retry back-off strategy that is used when the request is rate limited by the upstream server. The server may return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to provide feedback to the client on how long to wait before retrying. If configured, this back-off strategy will be used instead of the default exponential back off strategy (configured using ``retry_back_off``) whenever a response includes the matching headers.
.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff rate_limited_retry_back_off = 11; -
ensureRetriableHeadersIsMutable
private void ensureRetriableHeadersIsMutable() -
getRetriableHeadersList
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9;- Specified by:
getRetriableHeadersListin interfaceRetryPolicyOrBuilder
-
getRetriableHeadersCount
public int getRetriableHeadersCount()HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9;- Specified by:
getRetriableHeadersCountin interfaceRetryPolicyOrBuilder
-
getRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9;- Specified by:
getRetriableHeadersin interfaceRetryPolicyOrBuilder
-
setRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
setRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
addRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
addRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
addRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
addRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
addAllRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
clearRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
removeRetriableHeaders
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
getRetriableHeadersBuilder
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
getRetriableHeadersOrBuilder
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9;- Specified by:
getRetriableHeadersOrBuilderin interfaceRetryPolicyOrBuilder
-
getRetriableHeadersOrBuilderList
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9;- Specified by:
getRetriableHeadersOrBuilderListin interfaceRetryPolicyOrBuilder
-
addRetriableHeadersBuilder
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
addRetriableHeadersBuilder
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
getRetriableHeadersBuilderList
HTTP response headers that trigger a retry if present in the response. A retry will be triggered if any of the header matches match the upstream response headers. The field is only consulted if 'retriable-headers' retry policy is active.
repeated .envoy.config.route.v3.HeaderMatcher retriable_headers = 9; -
internalGetRetriableHeadersFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, internalGetRetriableHeadersFieldBuilder()HeaderMatcherOrBuilder> -
ensureRetriableRequestHeadersIsMutable
private void ensureRetriableRequestHeadersIsMutable() -
getRetriableRequestHeadersList
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10;- Specified by:
getRetriableRequestHeadersListin interfaceRetryPolicyOrBuilder
-
getRetriableRequestHeadersCount
public int getRetriableRequestHeadersCount()HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10;- Specified by:
getRetriableRequestHeadersCountin interfaceRetryPolicyOrBuilder
-
getRetriableRequestHeaders
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10;- Specified by:
getRetriableRequestHeadersin interfaceRetryPolicyOrBuilder
-
setRetriableRequestHeaders
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
setRetriableRequestHeaders
public RetryPolicy.Builder setRetriableRequestHeaders(int index, HeaderMatcher.Builder builderForValue) HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
addRetriableRequestHeaders
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
addRetriableRequestHeaders
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
addRetriableRequestHeaders
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
addRetriableRequestHeaders
public RetryPolicy.Builder addRetriableRequestHeaders(int index, HeaderMatcher.Builder builderForValue) HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
addAllRetriableRequestHeaders
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
clearRetriableRequestHeaders
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
removeRetriableRequestHeaders
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
getRetriableRequestHeadersBuilder
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
getRetriableRequestHeadersOrBuilder
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10;- Specified by:
getRetriableRequestHeadersOrBuilderin interfaceRetryPolicyOrBuilder
-
getRetriableRequestHeadersOrBuilderList
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10;- Specified by:
getRetriableRequestHeadersOrBuilderListin interfaceRetryPolicyOrBuilder
-
addRetriableRequestHeadersBuilder
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
addRetriableRequestHeadersBuilder
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
getRetriableRequestHeadersBuilderList
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.config.route.v3.HeaderMatcher retriable_request_headers = 10; -
internalGetRetriableRequestHeadersFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, internalGetRetriableRequestHeadersFieldBuilder()HeaderMatcherOrBuilder>
-