Package io.envoyproxy.envoy.api.v2.route
Class RetryPolicy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.api.v2.route.RetryPolicy
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RetryPolicyOrBuilder,Serializable
public final class RetryPolicy
extends com.google.protobuf.GeneratedMessageV3
implements RetryPolicyOrBuilder
HTTP retry :ref:`architecture overview <arch_overview_http_routing_retry>`. [#next-free-field: 11]Protobuf type
envoy.api.v2.route.RetryPolicy- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHTTP retry :ref:`architecture overview <arch_overview_http_routing_retry>`.static final classProtobuf typeenvoy.api.v2.route.RetryPolicy.RetryBackOffstatic interfacestatic final classProtobuf typeenvoy.api.v2.route.RetryPolicy.RetryHostPredicatestatic interfacestatic final classProtobuf typeenvoy.api.v2.route.RetryPolicy.RetryPrioritystatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RetryPolicystatic final com.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.UInt32ValueOrBuilderSpecifies the allowed number of retries.com.google.protobuf.Parser<RetryPolicy>com.google.protobuf.DurationSpecifies a non-zero upstream timeout per retry attempt.com.google.protobuf.DurationOrBuilderSpecifies a non-zero upstream timeout per retry attempt.getRetriableHeaders(int index) 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.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 retry back off.Specifies parameters that control retry back off.getRetryHostPredicate(int index) 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.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.intinthashCode()booleanSpecifies the allowed number of retries.booleanSpecifies a non-zero upstream timeout per retry attempt.booleanSpecifies parameters that control 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.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic RetryPolicy.Builderstatic RetryPolicy.BuildernewBuilder(RetryPolicy prototype) protected RetryPolicy.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RetryPolicyparseDelimitedFrom(InputStream input) static RetryPolicyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RetryPolicyparseFrom(byte[] data) static RetryPolicyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RetryPolicyparseFrom(com.google.protobuf.ByteString data) static RetryPolicyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RetryPolicyparseFrom(com.google.protobuf.CodedInputStream input) static RetryPolicyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RetryPolicyparseFrom(InputStream input) static RetryPolicyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RetryPolicyparseFrom(ByteBuffer data) static RetryPolicyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RetryPolicy>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RETRY_ON_FIELD_NUMBER
public static final int RETRY_ON_FIELD_NUMBER- See Also:
-
NUM_RETRIES_FIELD_NUMBER
public static final int NUM_RETRIES_FIELD_NUMBER- See Also:
-
PER_TRY_TIMEOUT_FIELD_NUMBER
public static final int PER_TRY_TIMEOUT_FIELD_NUMBER- See Also:
-
RETRY_PRIORITY_FIELD_NUMBER
public static final int RETRY_PRIORITY_FIELD_NUMBER- See Also:
-
RETRY_HOST_PREDICATE_FIELD_NUMBER
public static final int RETRY_HOST_PREDICATE_FIELD_NUMBER- See Also:
-
HOST_SELECTION_RETRY_MAX_ATTEMPTS_FIELD_NUMBER
public static final int HOST_SELECTION_RETRY_MAX_ATTEMPTS_FIELD_NUMBER- See Also:
-
RETRIABLE_STATUS_CODES_FIELD_NUMBER
public static final int RETRIABLE_STATUS_CODES_FIELD_NUMBER- See Also:
-
RETRY_BACK_OFF_FIELD_NUMBER
public static final int RETRY_BACK_OFF_FIELD_NUMBER- See Also:
-
RETRIABLE_HEADERS_FIELD_NUMBER
public static final int RETRIABLE_HEADERS_FIELD_NUMBER- See Also:
-
RETRIABLE_REQUEST_HEADERS_FIELD_NUMBER
public static final int RETRIABLE_REQUEST_HEADERS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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;- 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;- Specified by:
getNumRetriesin interfaceRetryPolicyOrBuilder- Returns:
- The numRetries.
-
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;- Specified by:
getNumRetriesOrBuilderin interfaceRetryPolicyOrBuilder
-
hasPerTryTimeout
public 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;- 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. 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;- Specified by:
getPerTryTimeoutin interfaceRetryPolicyOrBuilder- Returns:
- The perTryTimeout.
-
getPerTryTimeoutOrBuilder
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;- Specified by:
getPerTryTimeoutOrBuilderin interfaceRetryPolicyOrBuilder
-
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.api.v2.route.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.api.v2.route.RetryPolicy.RetryPriority retry_priority = 4;- Specified by:
getRetryPriorityin interfaceRetryPolicyOrBuilder- Returns:
- The retryPriority.
-
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;- Specified by:
getRetryPriorityOrBuilderin interfaceRetryPolicyOrBuilder
-
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;- Specified by:
getRetryHostPredicateListin 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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;- Specified by:
getRetryHostPredicateOrBuilderListin 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.api.v2.route.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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;- Specified by:
getRetryHostPredicatein interfaceRetryPolicyOrBuilder
-
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.api.v2.route.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;- Specified by:
getRetryHostPredicateOrBuilderin interfaceRetryPolicyOrBuilder
-
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.
-
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.
-
hasRetryBackOff
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;- Specified by:
hasRetryBackOffin interfaceRetryPolicyOrBuilder- Returns:
- Whether the retryBackOff field is set.
-
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;- Specified by:
getRetryBackOffin interfaceRetryPolicyOrBuilder- Returns:
- The retryBackOff.
-
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;- Specified by:
getRetryBackOffOrBuilderin interfaceRetryPolicyOrBuilder
-
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;- Specified by:
getRetriableHeadersListin 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.api.v2.route.HeaderMatcher retriable_headers = 9;- Specified by:
getRetriableHeadersOrBuilderListin 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.api.v2.route.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.api.v2.route.HeaderMatcher retriable_headers = 9;- Specified by:
getRetriableHeadersin interfaceRetryPolicyOrBuilder
-
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.api.v2.route.HeaderMatcher retriable_headers = 9;- Specified by:
getRetriableHeadersOrBuilderin interfaceRetryPolicyOrBuilder
-
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;- Specified by:
getRetriableRequestHeadersListin interfaceRetryPolicyOrBuilder
-
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;- Specified by:
getRetriableRequestHeadersOrBuilderListin interfaceRetryPolicyOrBuilder
-
getRetriableRequestHeadersCount
public 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;- Specified by:
getRetriableRequestHeadersCountin interfaceRetryPolicyOrBuilder
-
getRetriableRequestHeaders
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;- Specified by:
getRetriableRequestHeadersin interfaceRetryPolicyOrBuilder
-
getRetriableRequestHeadersOrBuilder
HTTP headers which must be present in the request for retries to be attempted.
repeated .envoy.api.v2.route.HeaderMatcher retriable_request_headers = 10;- Specified by:
getRetriableRequestHeadersOrBuilderin interfaceRetryPolicyOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RetryPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RetryPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RetryPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RetryPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RetryPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RetryPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RetryPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RetryPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RetryPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RetryPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-