public static final class RetryPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder> implements RetryPolicyOrBuilder
HTTP retry :ref:`architecture overview <arch_overview_http_routing_retry>`. [#next-free-field: 11]Protobuf type
envoy.api.v2.route.RetryPolicy| Modifier and Type | Method and Description |
|---|---|
RetryPolicy.Builder |
addAllRetriableHeaders(Iterable<? extends HeaderMatcher> values)
HTTP response headers that trigger a retry if present in the response.
|
RetryPolicy.Builder |
addAllRetriableRequestHeaders(Iterable<? extends HeaderMatcher> values)
HTTP headers which must be present in the request for retries to be attempted.
|
RetryPolicy.Builder |
addAllRetriableStatusCodes(Iterable<? extends Integer> values)
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
|
RetryPolicy.Builder |
addAllRetryHostPredicate(Iterable<? extends RetryPolicy.RetryHostPredicate> values)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RetryPolicy.Builder |
addRetriableHeaders(HeaderMatcher.Builder builderForValue)
HTTP response headers that trigger a retry if present in the response.
|
RetryPolicy.Builder |
addRetriableHeaders(HeaderMatcher value)
HTTP response headers that trigger a retry if present in the response.
|
RetryPolicy.Builder |
addRetriableHeaders(int index,
HeaderMatcher.Builder builderForValue)
HTTP response headers that trigger a retry if present in the response.
|
RetryPolicy.Builder |
addRetriableHeaders(int index,
HeaderMatcher value)
HTTP response headers that trigger a retry if present in the response.
|
HeaderMatcher.Builder |
addRetriableHeadersBuilder()
HTTP response headers that trigger a retry if present in the response.
|
HeaderMatcher.Builder |
addRetriableHeadersBuilder(int index)
HTTP response headers that trigger a retry if present in the response.
|
RetryPolicy.Builder |
addRetriableRequestHeaders(HeaderMatcher.Builder builderForValue)
HTTP headers which must be present in the request for retries to be attempted.
|
RetryPolicy.Builder |
addRetriableRequestHeaders(HeaderMatcher value)
HTTP headers which must be present in the request for retries to be attempted.
|
RetryPolicy.Builder |
addRetriableRequestHeaders(int index,
HeaderMatcher.Builder builderForValue)
HTTP headers which must be present in the request for retries to be attempted.
|
RetryPolicy.Builder |
addRetriableRequestHeaders(int index,
HeaderMatcher value)
HTTP headers which must be present in the request for retries to be attempted.
|
HeaderMatcher.Builder |
addRetriableRequestHeadersBuilder()
HTTP headers which must be present in the request for retries to be attempted.
|
HeaderMatcher.Builder |
addRetriableRequestHeadersBuilder(int index)
HTTP headers which must be present in the request for retries to be attempted.
|
RetryPolicy.Builder |
addRetriableStatusCodes(int value)
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
|
RetryPolicy.Builder |
addRetryHostPredicate(int index,
RetryPolicy.RetryHostPredicate.Builder builderForValue)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.Builder |
addRetryHostPredicate(int index,
RetryPolicy.RetryHostPredicate value)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.Builder |
addRetryHostPredicate(RetryPolicy.RetryHostPredicate.Builder builderForValue)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.Builder |
addRetryHostPredicate(RetryPolicy.RetryHostPredicate value)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.RetryHostPredicate.Builder |
addRetryHostPredicateBuilder()
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.RetryHostPredicate.Builder |
addRetryHostPredicateBuilder(int index)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy |
build() |
RetryPolicy |
buildPartial() |
RetryPolicy.Builder |
clear() |
RetryPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RetryPolicy.Builder |
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.
|
RetryPolicy.Builder |
clearNumRetries()
Specifies the allowed number of retries.
|
RetryPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RetryPolicy.Builder |
clearPerTryTimeout()
Specifies a non-zero upstream timeout per retry attempt.
|
RetryPolicy.Builder |
clearRetriableHeaders()
HTTP response headers that trigger a retry if present in the response.
|
RetryPolicy.Builder |
clearRetriableRequestHeaders()
HTTP headers which must be present in the request for retries to be attempted.
|
RetryPolicy.Builder |
clearRetriableStatusCodes()
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
|
RetryPolicy.Builder |
clearRetryBackOff()
Specifies parameters that control retry back off.
|
RetryPolicy.Builder |
clearRetryHostPredicate()
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.Builder |
clearRetryOn()
Specifies the conditions under which retry takes place.
|
RetryPolicy.Builder |
clearRetryPriority()
Specifies an implementation of a RetryPriority which is used to determine the
distribution of load across priorities used for retries.
|
RetryPolicy.Builder |
clone() |
RetryPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
com.google.protobuf.UInt32Value |
getNumRetries()
Specifies the allowed number of retries.
|
com.google.protobuf.UInt32Value.Builder |
getNumRetriesBuilder()
Specifies the allowed number of retries.
|
com.google.protobuf.UInt32ValueOrBuilder |
getNumRetriesOrBuilder()
Specifies the allowed number of retries.
|
com.google.protobuf.Duration |
getPerTryTimeout()
Specifies a non-zero upstream timeout per retry attempt.
|
com.google.protobuf.Duration.Builder |
getPerTryTimeoutBuilder()
Specifies a non-zero upstream timeout per retry attempt.
|
com.google.protobuf.DurationOrBuilder |
getPerTryTimeoutOrBuilder()
Specifies a non-zero upstream timeout per retry attempt.
|
HeaderMatcher |
getRetriableHeaders(int index)
HTTP response headers that trigger a retry if present in the response.
|
HeaderMatcher.Builder |
getRetriableHeadersBuilder(int index)
HTTP response headers that trigger a retry if present in the response.
|
List<HeaderMatcher.Builder> |
getRetriableHeadersBuilderList()
HTTP response headers that trigger a retry if present in the response.
|
int |
getRetriableHeadersCount()
HTTP response headers that trigger a retry if present in the response.
|
List<HeaderMatcher> |
getRetriableHeadersList()
HTTP response headers that trigger a retry if present in the response.
|
HeaderMatcherOrBuilder |
getRetriableHeadersOrBuilder(int index)
HTTP response headers that trigger a retry if present in the response.
|
List<? extends HeaderMatcherOrBuilder> |
getRetriableHeadersOrBuilderList()
HTTP response headers that trigger a retry if present in the response.
|
HeaderMatcher |
getRetriableRequestHeaders(int index)
HTTP headers which must be present in the request for retries to be attempted.
|
HeaderMatcher.Builder |
getRetriableRequestHeadersBuilder(int index)
HTTP headers which must be present in the request for retries to be attempted.
|
List<HeaderMatcher.Builder> |
getRetriableRequestHeadersBuilderList()
HTTP headers which must be present in the request for retries to be attempted.
|
int |
getRetriableRequestHeadersCount()
HTTP headers which must be present in the request for retries to be attempted.
|
List<HeaderMatcher> |
getRetriableRequestHeadersList()
HTTP headers which must be present in the request for retries to be attempted.
|
HeaderMatcherOrBuilder |
getRetriableRequestHeadersOrBuilder(int index)
HTTP headers which must be present in the request for retries to be attempted.
|
List<? extends HeaderMatcherOrBuilder> |
getRetriableRequestHeadersOrBuilderList()
HTTP headers which must be present in the request for retries to be attempted.
|
int |
getRetriableStatusCodes(int index)
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
|
int |
getRetriableStatusCodesCount()
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
|
List<Integer> |
getRetriableStatusCodesList()
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
|
RetryPolicy.RetryBackOff |
getRetryBackOff()
Specifies parameters that control retry back off.
|
RetryPolicy.RetryBackOff.Builder |
getRetryBackOffBuilder()
Specifies parameters that control retry back off.
|
RetryPolicy.RetryBackOffOrBuilder |
getRetryBackOffOrBuilder()
Specifies parameters that control retry back off.
|
RetryPolicy.RetryHostPredicate |
getRetryHostPredicate(int index)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.RetryHostPredicate.Builder |
getRetryHostPredicateBuilder(int index)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
List<RetryPolicy.RetryHostPredicate.Builder> |
getRetryHostPredicateBuilderList()
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
int |
getRetryHostPredicateCount()
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
List<RetryPolicy.RetryHostPredicate> |
getRetryHostPredicateList()
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.RetryHostPredicateOrBuilder |
getRetryHostPredicateOrBuilder(int index)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
List<? extends RetryPolicy.RetryHostPredicateOrBuilder> |
getRetryHostPredicateOrBuilderList()
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
String |
getRetryOn()
Specifies the conditions under which retry takes place.
|
com.google.protobuf.ByteString |
getRetryOnBytes()
Specifies the conditions under which retry takes place.
|
RetryPolicy.RetryPriority |
getRetryPriority()
Specifies an implementation of a RetryPriority which is used to determine the
distribution of load across priorities used for retries.
|
RetryPolicy.RetryPriority.Builder |
getRetryPriorityBuilder()
Specifies an implementation of a RetryPriority which is used to determine the
distribution of load across priorities used for retries.
|
RetryPolicy.RetryPriorityOrBuilder |
getRetryPriorityOrBuilder()
Specifies an implementation of a RetryPriority which is used to determine the
distribution of load across priorities used for retries.
|
boolean |
hasNumRetries()
Specifies the allowed number of retries.
|
boolean |
hasPerTryTimeout()
Specifies a non-zero upstream timeout per retry attempt.
|
boolean |
hasRetryBackOff()
Specifies parameters that control retry back off.
|
boolean |
hasRetryPriority()
Specifies an implementation of a RetryPriority which is used to determine the
distribution of load across priorities used for retries.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RetryPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RetryPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
RetryPolicy.Builder |
mergeFrom(RetryPolicy other) |
RetryPolicy.Builder |
mergeNumRetries(com.google.protobuf.UInt32Value value)
Specifies the allowed number of retries.
|
RetryPolicy.Builder |
mergePerTryTimeout(com.google.protobuf.Duration value)
Specifies a non-zero upstream timeout per retry attempt.
|
RetryPolicy.Builder |
mergeRetryBackOff(RetryPolicy.RetryBackOff value)
Specifies parameters that control retry back off.
|
RetryPolicy.Builder |
mergeRetryPriority(RetryPolicy.RetryPriority value)
Specifies an implementation of a RetryPriority which is used to determine the
distribution of load across priorities used for retries.
|
RetryPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RetryPolicy.Builder |
removeRetriableHeaders(int index)
HTTP response headers that trigger a retry if present in the response.
|
RetryPolicy.Builder |
removeRetriableRequestHeaders(int index)
HTTP headers which must be present in the request for retries to be attempted.
|
RetryPolicy.Builder |
removeRetryHostPredicate(int index)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RetryPolicy.Builder |
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.
|
RetryPolicy.Builder |
setNumRetries(com.google.protobuf.UInt32Value.Builder builderForValue)
Specifies the allowed number of retries.
|
RetryPolicy.Builder |
setNumRetries(com.google.protobuf.UInt32Value value)
Specifies the allowed number of retries.
|
RetryPolicy.Builder |
setPerTryTimeout(com.google.protobuf.Duration.Builder builderForValue)
Specifies a non-zero upstream timeout per retry attempt.
|
RetryPolicy.Builder |
setPerTryTimeout(com.google.protobuf.Duration value)
Specifies a non-zero upstream timeout per retry attempt.
|
RetryPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RetryPolicy.Builder |
setRetriableHeaders(int index,
HeaderMatcher.Builder builderForValue)
HTTP response headers that trigger a retry if present in the response.
|
RetryPolicy.Builder |
setRetriableHeaders(int index,
HeaderMatcher value)
HTTP response headers that trigger a retry if present in the response.
|
RetryPolicy.Builder |
setRetriableRequestHeaders(int index,
HeaderMatcher.Builder builderForValue)
HTTP headers which must be present in the request for retries to be attempted.
|
RetryPolicy.Builder |
setRetriableRequestHeaders(int index,
HeaderMatcher value)
HTTP headers which must be present in the request for retries to be attempted.
|
RetryPolicy.Builder |
setRetriableStatusCodes(int index,
int value)
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
|
RetryPolicy.Builder |
setRetryBackOff(RetryPolicy.RetryBackOff.Builder builderForValue)
Specifies parameters that control retry back off.
|
RetryPolicy.Builder |
setRetryBackOff(RetryPolicy.RetryBackOff value)
Specifies parameters that control retry back off.
|
RetryPolicy.Builder |
setRetryHostPredicate(int index,
RetryPolicy.RetryHostPredicate.Builder builderForValue)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.Builder |
setRetryHostPredicate(int index,
RetryPolicy.RetryHostPredicate value)
Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
for retries.
|
RetryPolicy.Builder |
setRetryOn(String value)
Specifies the conditions under which retry takes place.
|
RetryPolicy.Builder |
setRetryOnBytes(com.google.protobuf.ByteString value)
Specifies the conditions under which retry takes place.
|
RetryPolicy.Builder |
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.
|
RetryPolicy.Builder |
setRetryPriority(RetryPolicy.RetryPriority value)
Specifies an implementation of a RetryPriority which is used to determine the
distribution of load across priorities used for retries.
|
RetryPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public RetryPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public RetryPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RetryPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RetryPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RetryPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public RetryPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public RetryPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public RetryPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public RetryPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public RetryPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public RetryPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RetryPolicy.Builder>public RetryPolicy.Builder mergeFrom(RetryPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public RetryPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RetryPolicy.Builder>IOExceptionpublic String 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;getRetryOn in interface RetryPolicyOrBuilderpublic 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;getRetryOnBytes in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder setRetryOn(String value)
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;public RetryPolicy.Builder 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;public RetryPolicy.Builder setRetryOnBytes(com.google.protobuf.ByteString value)
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;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;hasNumRetries in interface RetryPolicyOrBuilderpublic 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;getNumRetries in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder setNumRetries(com.google.protobuf.UInt32Value value)
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;public RetryPolicy.Builder setNumRetries(com.google.protobuf.UInt32Value.Builder builderForValue)
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;public RetryPolicy.Builder mergeNumRetries(com.google.protobuf.UInt32Value value)
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;public RetryPolicy.Builder 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;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;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;getNumRetriesOrBuilder in interface RetryPolicyOrBuilderpublic boolean hasPerTryTimeout()
Specifies a non-zero upstream timeout per retry 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_api_field_route.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;hasPerTryTimeout in interface RetryPolicyOrBuilderpublic com.google.protobuf.Duration getPerTryTimeout()
Specifies a non-zero upstream timeout per retry 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_api_field_route.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;getPerTryTimeout in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder setPerTryTimeout(com.google.protobuf.Duration value)
Specifies a non-zero upstream timeout per retry 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_api_field_route.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;public RetryPolicy.Builder setPerTryTimeout(com.google.protobuf.Duration.Builder builderForValue)
Specifies a non-zero upstream timeout per retry 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_api_field_route.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;public RetryPolicy.Builder mergePerTryTimeout(com.google.protobuf.Duration value)
Specifies a non-zero upstream timeout per retry 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_api_field_route.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;public RetryPolicy.Builder clearPerTryTimeout()
Specifies a non-zero upstream timeout per retry 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_api_field_route.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;public com.google.protobuf.Duration.Builder getPerTryTimeoutBuilder()
Specifies a non-zero upstream timeout per retry 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_api_field_route.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;public com.google.protobuf.DurationOrBuilder getPerTryTimeoutOrBuilder()
Specifies a non-zero upstream timeout per retry 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_api_field_route.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 in interface RetryPolicyOrBuilderpublic 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.api.v2.route.RetryPolicy.RetryPriority retry_priority = 4;hasRetryPriority in interface RetryPolicyOrBuilderpublic RetryPolicy.RetryPriority 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.api.v2.route.RetryPolicy.RetryPriority retry_priority = 4;getRetryPriority in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder setRetryPriority(RetryPolicy.RetryPriority value)
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.api.v2.route.RetryPolicy.RetryPriority retry_priority = 4;public RetryPolicy.Builder 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. Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
.envoy.api.v2.route.RetryPolicy.RetryPriority retry_priority = 4;public RetryPolicy.Builder mergeRetryPriority(RetryPolicy.RetryPriority value)
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.api.v2.route.RetryPolicy.RetryPriority retry_priority = 4;public RetryPolicy.Builder 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.api.v2.route.RetryPolicy.RetryPriority retry_priority = 4;public RetryPolicy.RetryPriority.Builder 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.api.v2.route.RetryPolicy.RetryPriority retry_priority = 4;public RetryPolicy.RetryPriorityOrBuilder 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.api.v2.route.RetryPolicy.RetryPriority retry_priority = 4;getRetryPriorityOrBuilder in interface RetryPolicyOrBuilderpublic List<RetryPolicy.RetryHostPredicate> 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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;getRetryHostPredicateList in interface RetryPolicyOrBuilderpublic 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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;getRetryHostPredicateCount in interface RetryPolicyOrBuilderpublic RetryPolicy.RetryHostPredicate getRetryHostPredicate(int index)
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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;getRetryHostPredicate in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder setRetryHostPredicate(int index, RetryPolicy.RetryHostPredicate value)
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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;public RetryPolicy.Builder addRetryHostPredicate(RetryPolicy.RetryHostPredicate value)
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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;public RetryPolicy.Builder addRetryHostPredicate(int index, RetryPolicy.RetryHostPredicate value)
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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;public RetryPolicy.Builder 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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;public RetryPolicy.Builder removeRetryHostPredicate(int index)
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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;public RetryPolicy.RetryHostPredicate.Builder getRetryHostPredicateBuilder(int index)
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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;public RetryPolicy.RetryHostPredicateOrBuilder getRetryHostPredicateOrBuilder(int index)
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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;getRetryHostPredicateOrBuilder in interface RetryPolicyOrBuilderpublic List<? extends RetryPolicy.RetryHostPredicateOrBuilder> 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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;getRetryHostPredicateOrBuilderList in interface RetryPolicyOrBuilderpublic RetryPolicy.RetryHostPredicate.Builder 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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;public RetryPolicy.RetryHostPredicate.Builder addRetryHostPredicateBuilder(int index)
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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;public List<RetryPolicy.RetryHostPredicate.Builder> 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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;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;getHostSelectionRetryMaxAttempts in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder 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. If unspecified, this will default to retrying once.
int64 host_selection_retry_max_attempts = 6;public RetryPolicy.Builder 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;public List<Integer> getRetriableStatusCodesList()
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;getRetriableStatusCodesList in interface RetryPolicyOrBuilderpublic int getRetriableStatusCodesCount()
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;getRetriableStatusCodesCount in interface RetryPolicyOrBuilderpublic 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;getRetriableStatusCodes in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder setRetriableStatusCodes(int index, int value)
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;public RetryPolicy.Builder addRetriableStatusCodes(int value)
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;public RetryPolicy.Builder addAllRetriableStatusCodes(Iterable<? extends Integer> values)
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;public RetryPolicy.Builder clearRetriableStatusCodes()
HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;public boolean hasRetryBackOff()
Specifies parameters that control 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.api.v2.route.RetryPolicy.RetryBackOff retry_back_off = 8;hasRetryBackOff in interface RetryPolicyOrBuilderpublic RetryPolicy.RetryBackOff getRetryBackOff()
Specifies parameters that control 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.api.v2.route.RetryPolicy.RetryBackOff retry_back_off = 8;getRetryBackOff in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder setRetryBackOff(RetryPolicy.RetryBackOff value)
Specifies parameters that control 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.api.v2.route.RetryPolicy.RetryBackOff retry_back_off = 8;public RetryPolicy.Builder setRetryBackOff(RetryPolicy.RetryBackOff.Builder builderForValue)
Specifies parameters that control 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.api.v2.route.RetryPolicy.RetryBackOff retry_back_off = 8;public RetryPolicy.Builder mergeRetryBackOff(RetryPolicy.RetryBackOff value)
Specifies parameters that control 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.api.v2.route.RetryPolicy.RetryBackOff retry_back_off = 8;public RetryPolicy.Builder clearRetryBackOff()
Specifies parameters that control 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.api.v2.route.RetryPolicy.RetryBackOff retry_back_off = 8;public RetryPolicy.RetryBackOff.Builder getRetryBackOffBuilder()
Specifies parameters that control 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.api.v2.route.RetryPolicy.RetryBackOff retry_back_off = 8;public RetryPolicy.RetryBackOffOrBuilder getRetryBackOffOrBuilder()
Specifies parameters that control 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.api.v2.route.RetryPolicy.RetryBackOff retry_back_off = 8;getRetryBackOffOrBuilder in interface RetryPolicyOrBuilderpublic List<HeaderMatcher> 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.api.v2.route.HeaderMatcher retriable_headers = 9;getRetriableHeadersList in interface RetryPolicyOrBuilderpublic 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.api.v2.route.HeaderMatcher retriable_headers = 9;getRetriableHeadersCount in interface RetryPolicyOrBuilderpublic HeaderMatcher getRetriableHeaders(int index)
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.api.v2.route.HeaderMatcher retriable_headers = 9;getRetriableHeaders in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder setRetriableHeaders(int index, HeaderMatcher value)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public RetryPolicy.Builder setRetriableHeaders(int index, HeaderMatcher.Builder builderForValue)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public RetryPolicy.Builder addRetriableHeaders(HeaderMatcher value)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public RetryPolicy.Builder addRetriableHeaders(int index, HeaderMatcher value)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public RetryPolicy.Builder addRetriableHeaders(HeaderMatcher.Builder builderForValue)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public RetryPolicy.Builder addRetriableHeaders(int index, HeaderMatcher.Builder builderForValue)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public RetryPolicy.Builder addAllRetriableHeaders(Iterable<? extends HeaderMatcher> values)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public RetryPolicy.Builder 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.api.v2.route.HeaderMatcher retriable_headers = 9;public RetryPolicy.Builder removeRetriableHeaders(int index)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public HeaderMatcher.Builder getRetriableHeadersBuilder(int index)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public HeaderMatcherOrBuilder getRetriableHeadersOrBuilder(int index)
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.api.v2.route.HeaderMatcher retriable_headers = 9;getRetriableHeadersOrBuilder in interface RetryPolicyOrBuilderpublic List<? extends HeaderMatcherOrBuilder> 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.api.v2.route.HeaderMatcher retriable_headers = 9;getRetriableHeadersOrBuilderList in interface RetryPolicyOrBuilderpublic HeaderMatcher.Builder 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.api.v2.route.HeaderMatcher retriable_headers = 9;public HeaderMatcher.Builder addRetriableHeadersBuilder(int index)
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.api.v2.route.HeaderMatcher retriable_headers = 9;public List<HeaderMatcher.Builder> 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.api.v2.route.HeaderMatcher retriable_headers = 9;public List<HeaderMatcher> getRetriableRequestHeadersList()
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;getRetriableRequestHeadersList in interface RetryPolicyOrBuilderpublic int getRetriableRequestHeadersCount()
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;getRetriableRequestHeadersCount in interface RetryPolicyOrBuilderpublic HeaderMatcher getRetriableRequestHeaders(int index)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;getRetriableRequestHeaders in interface RetryPolicyOrBuilderpublic RetryPolicy.Builder setRetriableRequestHeaders(int index, HeaderMatcher value)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;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.api.v2.route.HeaderMatcher retriable_request_headers = 10;public RetryPolicy.Builder addRetriableRequestHeaders(HeaderMatcher value)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;public RetryPolicy.Builder addRetriableRequestHeaders(int index, HeaderMatcher value)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;public RetryPolicy.Builder addRetriableRequestHeaders(HeaderMatcher.Builder builderForValue)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;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.api.v2.route.HeaderMatcher retriable_request_headers = 10;public RetryPolicy.Builder addAllRetriableRequestHeaders(Iterable<? extends HeaderMatcher> values)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;public RetryPolicy.Builder clearRetriableRequestHeaders()
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;public RetryPolicy.Builder removeRetriableRequestHeaders(int index)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;public HeaderMatcher.Builder getRetriableRequestHeadersBuilder(int index)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;public HeaderMatcherOrBuilder getRetriableRequestHeadersOrBuilder(int index)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;getRetriableRequestHeadersOrBuilder in interface RetryPolicyOrBuilderpublic List<? extends HeaderMatcherOrBuilder> getRetriableRequestHeadersOrBuilderList()
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;getRetriableRequestHeadersOrBuilderList in interface RetryPolicyOrBuilderpublic HeaderMatcher.Builder addRetriableRequestHeadersBuilder()
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;public HeaderMatcher.Builder addRetriableRequestHeadersBuilder(int index)
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;public List<HeaderMatcher.Builder> getRetriableRequestHeadersBuilderList()
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;public final RetryPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>public final RetryPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.