All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.api.v2.route.RetryPolicyOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/api/v2/route/route.proto

package io.envoyproxy.envoy.api.v2.route;

public interface RetryPolicyOrBuilder extends
    // @@protoc_insertion_point(interface_extends:envoy.api.v2.route.RetryPolicy)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * 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; */ java.lang.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; */ com.google.protobuf.ByteString getRetryOnBytes(); /** *
   * 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; */ 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; */ 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; */ com.google.protobuf.UInt32ValueOrBuilder getNumRetriesOrBuilder(); /** *
   * 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 [(.gogoproto.stdduration) = true]; */ 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 [(.gogoproto.stdduration) = true]; */ 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 [(.gogoproto.stdduration) = true]; */ com.google.protobuf.DurationOrBuilder getPerTryTimeoutOrBuilder(); /** *
   * 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; */ 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; */ io.envoyproxy.envoy.api.v2.route.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; */ io.envoyproxy.envoy.api.v2.route.RetryPolicy.RetryPriorityOrBuilder getRetryPriorityOrBuilder(); /** *
   * 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; */ java.util.List 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; */ io.envoyproxy.envoy.api.v2.route.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; */ 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; */ java.util.List 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; */ io.envoyproxy.envoy.api.v2.route.RetryPolicy.RetryHostPredicateOrBuilder getRetryHostPredicateOrBuilder( int index); /** *
   * 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; */ long getHostSelectionRetryMaxAttempts(); /** *
   * HTTP status codes that should trigger a retry in addition to those specified by retry_on.
   * 
* * repeated uint32 retriable_status_codes = 7; */ java.util.List getRetriableStatusCodesList(); /** *
   * HTTP status codes that should trigger a retry in addition to those specified by retry_on.
   * 
* * repeated uint32 retriable_status_codes = 7; */ int getRetriableStatusCodesCount(); /** *
   * HTTP status codes that should trigger a retry in addition to those specified by retry_on.
   * 
* * repeated uint32 retriable_status_codes = 7; */ int getRetriableStatusCodes(int index); /** *
   * 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; */ 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; */ io.envoyproxy.envoy.api.v2.route.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; */ io.envoyproxy.envoy.api.v2.route.RetryPolicy.RetryBackOffOrBuilder getRetryBackOffOrBuilder(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy