io.envoyproxy.envoy.api.v3alpha.route.HedgePolicyOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/api/v3alpha/route/route.proto
package io.envoyproxy.envoy.api.v3alpha.route;
public interface HedgePolicyOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.api.v3alpha.route.HedgePolicy)
com.google.protobuf.MessageOrBuilder {
/**
*
* Specifies the number of initial requests that should be sent upstream.
* Must be at least 1.
* Defaults to 1.
* [#not-implemented-hide:]
*
*
* .google.protobuf.UInt32Value initial_requests = 1 [(.validate.rules) = { ... }
*/
boolean hasInitialRequests();
/**
*
* Specifies the number of initial requests that should be sent upstream.
* Must be at least 1.
* Defaults to 1.
* [#not-implemented-hide:]
*
*
* .google.protobuf.UInt32Value initial_requests = 1 [(.validate.rules) = { ... }
*/
com.google.protobuf.UInt32Value getInitialRequests();
/**
*
* Specifies the number of initial requests that should be sent upstream.
* Must be at least 1.
* Defaults to 1.
* [#not-implemented-hide:]
*
*
* .google.protobuf.UInt32Value initial_requests = 1 [(.validate.rules) = { ... }
*/
com.google.protobuf.UInt32ValueOrBuilder getInitialRequestsOrBuilder();
/**
*
* Specifies a probability that an additional upstream request should be sent
* on top of what is specified by initial_requests.
* Defaults to 0.
* [#not-implemented-hide:]
*
*
* .envoy.type.FractionalPercent additional_request_chance = 2;
*/
boolean hasAdditionalRequestChance();
/**
*
* Specifies a probability that an additional upstream request should be sent
* on top of what is specified by initial_requests.
* Defaults to 0.
* [#not-implemented-hide:]
*
*
* .envoy.type.FractionalPercent additional_request_chance = 2;
*/
io.envoyproxy.envoy.type.FractionalPercent getAdditionalRequestChance();
/**
*
* Specifies a probability that an additional upstream request should be sent
* on top of what is specified by initial_requests.
* Defaults to 0.
* [#not-implemented-hide:]
*
*
* .envoy.type.FractionalPercent additional_request_chance = 2;
*/
io.envoyproxy.envoy.type.FractionalPercentOrBuilder getAdditionalRequestChanceOrBuilder();
/**
*
* Indicates that a hedged request should be sent when the per-try timeout
* is hit. This will only occur if the retry policy also indicates that a
* timed out request should be retried.
* Once a timed out request is retried due to per try timeout, the router
* filter will ensure that it is not retried again even if the returned
* response headers would otherwise be retried according the specified
* :ref:`RetryPolicy <envoy_api_msg_route.RetryPolicy>`.
* Defaults to false.
*
*
* bool hedge_on_per_try_timeout = 3;
*/
boolean getHedgeOnPerTryTimeout();
}