public static final class RouteAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder> implements RouteActionOrBuilder
[#next-free-field: 37]Protobuf type
envoy.config.route.v3.RouteAction| Modifier and Type | Method and Description |
|---|---|
RouteAction.Builder |
addAllHashPolicy(Iterable<? extends RouteAction.HashPolicy> values)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.Builder |
addAllRateLimits(Iterable<? extends RateLimit> values)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteAction.Builder |
addAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values)
Indicates that the route has request mirroring policies.
|
RouteAction.Builder |
addAllUpgradeConfigs(Iterable<? extends RouteAction.UpgradeConfig> values)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.Builder |
addHashPolicy(int index,
RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.Builder |
addHashPolicy(int index,
RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.Builder |
addHashPolicy(RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.Builder |
addHashPolicy(RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.HashPolicy.Builder |
addHashPolicyBuilder()
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.HashPolicy.Builder |
addHashPolicyBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.Builder |
addRateLimits(int index,
RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteAction.Builder |
addRateLimits(int index,
RateLimit value)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteAction.Builder |
addRateLimits(RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteAction.Builder |
addRateLimits(RateLimit value)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RateLimit.Builder |
addRateLimitsBuilder()
Specifies a set of rate limit configurations that could be applied to the
route.
|
RateLimit.Builder |
addRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteAction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteAction.Builder |
addRequestMirrorPolicies(int index,
RouteAction.RequestMirrorPolicy.Builder builderForValue)
Indicates that the route has request mirroring policies.
|
RouteAction.Builder |
addRequestMirrorPolicies(int index,
RouteAction.RequestMirrorPolicy value)
Indicates that the route has request mirroring policies.
|
RouteAction.Builder |
addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue)
Indicates that the route has request mirroring policies.
|
RouteAction.Builder |
addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value)
Indicates that the route has request mirroring policies.
|
RouteAction.RequestMirrorPolicy.Builder |
addRequestMirrorPoliciesBuilder()
Indicates that the route has request mirroring policies.
|
RouteAction.RequestMirrorPolicy.Builder |
addRequestMirrorPoliciesBuilder(int index)
Indicates that the route has request mirroring policies.
|
RouteAction.Builder |
addUpgradeConfigs(int index,
RouteAction.UpgradeConfig.Builder builderForValue)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.Builder |
addUpgradeConfigs(int index,
RouteAction.UpgradeConfig value)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.Builder |
addUpgradeConfigs(RouteAction.UpgradeConfig.Builder builderForValue)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.Builder |
addUpgradeConfigs(RouteAction.UpgradeConfig value)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.UpgradeConfig.Builder |
addUpgradeConfigsBuilder()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.UpgradeConfig.Builder |
addUpgradeConfigsBuilder(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction |
build() |
RouteAction |
buildPartial() |
RouteAction.Builder |
clear() |
RouteAction.Builder |
clearAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
RouteAction.Builder |
clearCluster()
Indicates the upstream cluster to which the request should be routed
to.
|
RouteAction.Builder |
clearClusterHeader()
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
RouteAction.Builder |
clearClusterNotFoundResponseCode()
The HTTP status code to use when configured cluster is not found.
|
RouteAction.Builder |
clearClusterSpecifier() |
RouteAction.Builder |
clearCors()
Indicates that the route has a CORS policy.
|
RouteAction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteAction.Builder |
clearGrpcTimeoutOffset()
Deprecated.
|
RouteAction.Builder |
clearHashPolicy()
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.Builder |
clearHedgePolicy()
Indicates that the route has a hedge policy.
|
RouteAction.Builder |
clearHostRewriteHeader()
Indicates that during forwarding, the host header will be swapped with the content of given
downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header.
|
RouteAction.Builder |
clearHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with
this value.
|
RouteAction.Builder |
clearHostRewritePathRegex()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
|
RouteAction.Builder |
clearHostRewriteSpecifier() |
RouteAction.Builder |
clearIdleTimeout()
Specifies the idle timeout for the route.
|
RouteAction.Builder |
clearIncludeVhRateLimits()
Deprecated.
|
RouteAction.Builder |
clearInternalRedirectAction()
Deprecated.
|
RouteAction.Builder |
clearInternalRedirectPolicy()
If present, Envoy will try to follow an upstream redirect response instead of proxying the
response back to the downstream.
|
RouteAction.Builder |
clearMaxGrpcTimeout()
Deprecated.
|
RouteAction.Builder |
clearMaxInternalRedirects()
Deprecated.
|
RouteAction.Builder |
clearMaxStreamDuration()
Specifies the maximum stream duration for this route.
|
RouteAction.Builder |
clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteAction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteAction.Builder |
clearPrefixRewrite()
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
RouteAction.Builder |
clearPriority()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
RouteAction.Builder |
clearRateLimits()
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteAction.Builder |
clearRegexRewrite()
Indicates that during forwarding, portions of the path that match the
pattern should be rewritten, even allowing the substitution of capture
groups from the pattern into the new path as specified by the rewrite
substitution string.
|
RouteAction.Builder |
clearRequestMirrorPolicies()
Indicates that the route has request mirroring policies.
|
RouteAction.Builder |
clearRetryPolicy()
Indicates that the route has a retry policy.
|
RouteAction.Builder |
clearRetryPolicyTypedConfig()
[#not-implemented-hide:]
Specifies the configuration for retry policy extension.
|
RouteAction.Builder |
clearTimeout()
Specifies the upstream timeout for the route.
|
RouteAction.Builder |
clearUpgradeConfigs()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.Builder |
clearWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
RouteAction.Builder |
clone() |
com.google.protobuf.BoolValue |
getAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
com.google.protobuf.BoolValue.Builder |
getAutoHostRewriteBuilder()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
com.google.protobuf.BoolValueOrBuilder |
getAutoHostRewriteOrBuilder()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
String |
getCluster()
Indicates the upstream cluster to which the request should be routed
to.
|
com.google.protobuf.ByteString |
getClusterBytes()
Indicates the upstream cluster to which the request should be routed
to.
|
String |
getClusterHeader()
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
com.google.protobuf.ByteString |
getClusterHeaderBytes()
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
RouteAction.ClusterNotFoundResponseCode |
getClusterNotFoundResponseCode()
The HTTP status code to use when configured cluster is not found.
|
int |
getClusterNotFoundResponseCodeValue()
The HTTP status code to use when configured cluster is not found.
|
RouteAction.ClusterSpecifierCase |
getClusterSpecifierCase() |
CorsPolicy |
getCors()
Indicates that the route has a CORS policy.
|
CorsPolicy.Builder |
getCorsBuilder()
Indicates that the route has a CORS policy.
|
CorsPolicyOrBuilder |
getCorsOrBuilder()
Indicates that the route has a CORS policy.
|
RouteAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getGrpcTimeoutOffset()
Deprecated.
|
com.google.protobuf.Duration.Builder |
getGrpcTimeoutOffsetBuilder()
Deprecated.
|
com.google.protobuf.DurationOrBuilder |
getGrpcTimeoutOffsetOrBuilder()
Deprecated.
|
RouteAction.HashPolicy |
getHashPolicy(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.HashPolicy.Builder |
getHashPolicyBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
List<RouteAction.HashPolicy.Builder> |
getHashPolicyBuilderList()
Specifies a list of hash policies to use for ring hash load balancing.
|
int |
getHashPolicyCount()
Specifies a list of hash policies to use for ring hash load balancing.
|
List<RouteAction.HashPolicy> |
getHashPolicyList()
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.HashPolicyOrBuilder |
getHashPolicyOrBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
List<? extends RouteAction.HashPolicyOrBuilder> |
getHashPolicyOrBuilderList()
Specifies a list of hash policies to use for ring hash load balancing.
|
HedgePolicy |
getHedgePolicy()
Indicates that the route has a hedge policy.
|
HedgePolicy.Builder |
getHedgePolicyBuilder()
Indicates that the route has a hedge policy.
|
HedgePolicyOrBuilder |
getHedgePolicyOrBuilder()
Indicates that the route has a hedge policy.
|
String |
getHostRewriteHeader()
Indicates that during forwarding, the host header will be swapped with the content of given
downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header.
|
com.google.protobuf.ByteString |
getHostRewriteHeaderBytes()
Indicates that during forwarding, the host header will be swapped with the content of given
downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header.
|
String |
getHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with
this value.
|
com.google.protobuf.ByteString |
getHostRewriteLiteralBytes()
Indicates that during forwarding, the host header will be swapped with
this value.
|
RegexMatchAndSubstitute |
getHostRewritePathRegex()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
|
RegexMatchAndSubstitute.Builder |
getHostRewritePathRegexBuilder()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
|
RegexMatchAndSubstituteOrBuilder |
getHostRewritePathRegexOrBuilder()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
|
RouteAction.HostRewriteSpecifierCase |
getHostRewriteSpecifierCase() |
com.google.protobuf.Duration |
getIdleTimeout()
Specifies the idle timeout for the route.
|
com.google.protobuf.Duration.Builder |
getIdleTimeoutBuilder()
Specifies the idle timeout for the route.
|
com.google.protobuf.DurationOrBuilder |
getIdleTimeoutOrBuilder()
Specifies the idle timeout for the route.
|
com.google.protobuf.BoolValue |
getIncludeVhRateLimits()
Deprecated.
|
com.google.protobuf.BoolValue.Builder |
getIncludeVhRateLimitsBuilder()
Deprecated.
|
com.google.protobuf.BoolValueOrBuilder |
getIncludeVhRateLimitsOrBuilder()
Deprecated.
|
RouteAction.InternalRedirectAction |
getInternalRedirectAction()
Deprecated.
|
int |
getInternalRedirectActionValue()
Deprecated.
|
InternalRedirectPolicy |
getInternalRedirectPolicy()
If present, Envoy will try to follow an upstream redirect response instead of proxying the
response back to the downstream.
|
InternalRedirectPolicy.Builder |
getInternalRedirectPolicyBuilder()
If present, Envoy will try to follow an upstream redirect response instead of proxying the
response back to the downstream.
|
InternalRedirectPolicyOrBuilder |
getInternalRedirectPolicyOrBuilder()
If present, Envoy will try to follow an upstream redirect response instead of proxying the
response back to the downstream.
|
com.google.protobuf.Duration |
getMaxGrpcTimeout()
Deprecated.
|
com.google.protobuf.Duration.Builder |
getMaxGrpcTimeoutBuilder()
Deprecated.
|
com.google.protobuf.DurationOrBuilder |
getMaxGrpcTimeoutOrBuilder()
Deprecated.
|
com.google.protobuf.UInt32Value |
getMaxInternalRedirects()
Deprecated.
|
com.google.protobuf.UInt32Value.Builder |
getMaxInternalRedirectsBuilder()
Deprecated.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxInternalRedirectsOrBuilder()
Deprecated.
|
RouteAction.MaxStreamDuration |
getMaxStreamDuration()
Specifies the maximum stream duration for this route.
|
RouteAction.MaxStreamDuration.Builder |
getMaxStreamDurationBuilder()
Specifies the maximum stream duration for this route.
|
RouteAction.MaxStreamDurationOrBuilder |
getMaxStreamDurationOrBuilder()
Specifies the maximum stream duration for this route.
|
Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Metadata.Builder |
getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
String |
getPrefixRewrite()
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
com.google.protobuf.ByteString |
getPrefixRewriteBytes()
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
RoutingPriority |
getPriority()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
int |
getPriorityValue()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
RateLimit |
getRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RateLimit.Builder |
getRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
List<RateLimit.Builder> |
getRateLimitsBuilderList()
Specifies a set of rate limit configurations that could be applied to the
route.
|
int |
getRateLimitsCount()
Specifies a set of rate limit configurations that could be applied to the
route.
|
List<RateLimit> |
getRateLimitsList()
Specifies a set of rate limit configurations that could be applied to the
route.
|
RateLimitOrBuilder |
getRateLimitsOrBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
List<? extends RateLimitOrBuilder> |
getRateLimitsOrBuilderList()
Specifies a set of rate limit configurations that could be applied to the
route.
|
RegexMatchAndSubstitute |
getRegexRewrite()
Indicates that during forwarding, portions of the path that match the
pattern should be rewritten, even allowing the substitution of capture
groups from the pattern into the new path as specified by the rewrite
substitution string.
|
RegexMatchAndSubstitute.Builder |
getRegexRewriteBuilder()
Indicates that during forwarding, portions of the path that match the
pattern should be rewritten, even allowing the substitution of capture
groups from the pattern into the new path as specified by the rewrite
substitution string.
|
RegexMatchAndSubstituteOrBuilder |
getRegexRewriteOrBuilder()
Indicates that during forwarding, portions of the path that match the
pattern should be rewritten, even allowing the substitution of capture
groups from the pattern into the new path as specified by the rewrite
substitution string.
|
RouteAction.RequestMirrorPolicy |
getRequestMirrorPolicies(int index)
Indicates that the route has request mirroring policies.
|
RouteAction.RequestMirrorPolicy.Builder |
getRequestMirrorPoliciesBuilder(int index)
Indicates that the route has request mirroring policies.
|
List<RouteAction.RequestMirrorPolicy.Builder> |
getRequestMirrorPoliciesBuilderList()
Indicates that the route has request mirroring policies.
|
int |
getRequestMirrorPoliciesCount()
Indicates that the route has request mirroring policies.
|
List<RouteAction.RequestMirrorPolicy> |
getRequestMirrorPoliciesList()
Indicates that the route has request mirroring policies.
|
RouteAction.RequestMirrorPolicyOrBuilder |
getRequestMirrorPoliciesOrBuilder(int index)
Indicates that the route has request mirroring policies.
|
List<? extends RouteAction.RequestMirrorPolicyOrBuilder> |
getRequestMirrorPoliciesOrBuilderList()
Indicates that the route has request mirroring policies.
|
RetryPolicy |
getRetryPolicy()
Indicates that the route has a retry policy.
|
RetryPolicy.Builder |
getRetryPolicyBuilder()
Indicates that the route has a retry policy.
|
RetryPolicyOrBuilder |
getRetryPolicyOrBuilder()
Indicates that the route has a retry policy.
|
com.google.protobuf.Any |
getRetryPolicyTypedConfig()
[#not-implemented-hide:]
Specifies the configuration for retry policy extension.
|
com.google.protobuf.Any.Builder |
getRetryPolicyTypedConfigBuilder()
[#not-implemented-hide:]
Specifies the configuration for retry policy extension.
|
com.google.protobuf.AnyOrBuilder |
getRetryPolicyTypedConfigOrBuilder()
[#not-implemented-hide:]
Specifies the configuration for retry policy extension.
|
com.google.protobuf.Duration |
getTimeout()
Specifies the upstream timeout for the route.
|
com.google.protobuf.Duration.Builder |
getTimeoutBuilder()
Specifies the upstream timeout for the route.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
Specifies the upstream timeout for the route.
|
RouteAction.UpgradeConfig |
getUpgradeConfigs(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.UpgradeConfig.Builder |
getUpgradeConfigsBuilder(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
List<RouteAction.UpgradeConfig.Builder> |
getUpgradeConfigsBuilderList()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
int |
getUpgradeConfigsCount()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
List<RouteAction.UpgradeConfig> |
getUpgradeConfigsList()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.UpgradeConfigOrBuilder |
getUpgradeConfigsOrBuilder(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
List<? extends RouteAction.UpgradeConfigOrBuilder> |
getUpgradeConfigsOrBuilderList()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
WeightedCluster |
getWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
WeightedCluster.Builder |
getWeightedClustersBuilder()
Multiple upstream clusters can be specified for a given route.
|
WeightedClusterOrBuilder |
getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route.
|
boolean |
hasAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
boolean |
hasCors()
Indicates that the route has a CORS policy.
|
boolean |
hasGrpcTimeoutOffset()
Deprecated.
|
boolean |
hasHedgePolicy()
Indicates that the route has a hedge policy.
|
boolean |
hasHostRewritePathRegex()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
|
boolean |
hasIdleTimeout()
Specifies the idle timeout for the route.
|
boolean |
hasIncludeVhRateLimits()
Deprecated.
|
boolean |
hasInternalRedirectPolicy()
If present, Envoy will try to follow an upstream redirect response instead of proxying the
response back to the downstream.
|
boolean |
hasMaxGrpcTimeout()
Deprecated.
|
boolean |
hasMaxInternalRedirects()
Deprecated.
|
boolean |
hasMaxStreamDuration()
Specifies the maximum stream duration for this route.
|
boolean |
hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
boolean |
hasRegexRewrite()
Indicates that during forwarding, portions of the path that match the
pattern should be rewritten, even allowing the substitution of capture
groups from the pattern into the new path as specified by the rewrite
substitution string.
|
boolean |
hasRetryPolicy()
Indicates that the route has a retry policy.
|
boolean |
hasRetryPolicyTypedConfig()
[#not-implemented-hide:]
Specifies the configuration for retry policy extension.
|
boolean |
hasTimeout()
Specifies the upstream timeout for the route.
|
boolean |
hasWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteAction.Builder |
mergeAutoHostRewrite(com.google.protobuf.BoolValue value)
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
RouteAction.Builder |
mergeCors(CorsPolicy value)
Indicates that the route has a CORS policy.
|
RouteAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteAction.Builder |
mergeFrom(RouteAction other) |
RouteAction.Builder |
mergeGrpcTimeoutOffset(com.google.protobuf.Duration value)
Deprecated.
|
RouteAction.Builder |
mergeHedgePolicy(HedgePolicy value)
Indicates that the route has a hedge policy.
|
RouteAction.Builder |
mergeHostRewritePathRegex(RegexMatchAndSubstitute value)
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
|
RouteAction.Builder |
mergeIdleTimeout(com.google.protobuf.Duration value)
Specifies the idle timeout for the route.
|
RouteAction.Builder |
mergeIncludeVhRateLimits(com.google.protobuf.BoolValue value)
Deprecated.
|
RouteAction.Builder |
mergeInternalRedirectPolicy(InternalRedirectPolicy value)
If present, Envoy will try to follow an upstream redirect response instead of proxying the
response back to the downstream.
|
RouteAction.Builder |
mergeMaxGrpcTimeout(com.google.protobuf.Duration value)
Deprecated.
|
RouteAction.Builder |
mergeMaxInternalRedirects(com.google.protobuf.UInt32Value value)
Deprecated.
|
RouteAction.Builder |
mergeMaxStreamDuration(RouteAction.MaxStreamDuration value)
Specifies the maximum stream duration for this route.
|
RouteAction.Builder |
mergeMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteAction.Builder |
mergeRegexRewrite(RegexMatchAndSubstitute value)
Indicates that during forwarding, portions of the path that match the
pattern should be rewritten, even allowing the substitution of capture
groups from the pattern into the new path as specified by the rewrite
substitution string.
|
RouteAction.Builder |
mergeRetryPolicy(RetryPolicy value)
Indicates that the route has a retry policy.
|
RouteAction.Builder |
mergeRetryPolicyTypedConfig(com.google.protobuf.Any value)
[#not-implemented-hide:]
Specifies the configuration for retry policy extension.
|
RouteAction.Builder |
mergeTimeout(com.google.protobuf.Duration value)
Specifies the upstream timeout for the route.
|
RouteAction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteAction.Builder |
mergeWeightedClusters(WeightedCluster value)
Multiple upstream clusters can be specified for a given route.
|
RouteAction.Builder |
removeHashPolicy(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.Builder |
removeRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteAction.Builder |
removeRequestMirrorPolicies(int index)
Indicates that the route has request mirroring policies.
|
RouteAction.Builder |
removeUpgradeConfigs(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.Builder |
setAutoHostRewrite(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
RouteAction.Builder |
setAutoHostRewrite(com.google.protobuf.BoolValue value)
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
RouteAction.Builder |
setCluster(String value)
Indicates the upstream cluster to which the request should be routed
to.
|
RouteAction.Builder |
setClusterBytes(com.google.protobuf.ByteString value)
Indicates the upstream cluster to which the request should be routed
to.
|
RouteAction.Builder |
setClusterHeader(String value)
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
RouteAction.Builder |
setClusterHeaderBytes(com.google.protobuf.ByteString value)
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
RouteAction.Builder |
setClusterNotFoundResponseCode(RouteAction.ClusterNotFoundResponseCode value)
The HTTP status code to use when configured cluster is not found.
|
RouteAction.Builder |
setClusterNotFoundResponseCodeValue(int value)
The HTTP status code to use when configured cluster is not found.
|
RouteAction.Builder |
setCors(CorsPolicy.Builder builderForValue)
Indicates that the route has a CORS policy.
|
RouteAction.Builder |
setCors(CorsPolicy value)
Indicates that the route has a CORS policy.
|
RouteAction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteAction.Builder |
setGrpcTimeoutOffset(com.google.protobuf.Duration.Builder builderForValue)
Deprecated.
|
RouteAction.Builder |
setGrpcTimeoutOffset(com.google.protobuf.Duration value)
Deprecated.
|
RouteAction.Builder |
setHashPolicy(int index,
RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.Builder |
setHashPolicy(int index,
RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteAction.Builder |
setHedgePolicy(HedgePolicy.Builder builderForValue)
Indicates that the route has a hedge policy.
|
RouteAction.Builder |
setHedgePolicy(HedgePolicy value)
Indicates that the route has a hedge policy.
|
RouteAction.Builder |
setHostRewriteHeader(String value)
Indicates that during forwarding, the host header will be swapped with the content of given
downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header.
|
RouteAction.Builder |
setHostRewriteHeaderBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the host header will be swapped with the content of given
downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header.
|
RouteAction.Builder |
setHostRewriteLiteral(String value)
Indicates that during forwarding, the host header will be swapped with
this value.
|
RouteAction.Builder |
setHostRewriteLiteralBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the host header will be swapped with
this value.
|
RouteAction.Builder |
setHostRewritePathRegex(RegexMatchAndSubstitute.Builder builderForValue)
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
|
RouteAction.Builder |
setHostRewritePathRegex(RegexMatchAndSubstitute value)
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
|
RouteAction.Builder |
setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
Specifies the idle timeout for the route.
|
RouteAction.Builder |
setIdleTimeout(com.google.protobuf.Duration value)
Specifies the idle timeout for the route.
|
RouteAction.Builder |
setIncludeVhRateLimits(com.google.protobuf.BoolValue.Builder builderForValue)
Deprecated.
|
RouteAction.Builder |
setIncludeVhRateLimits(com.google.protobuf.BoolValue value)
Deprecated.
|
RouteAction.Builder |
setInternalRedirectAction(RouteAction.InternalRedirectAction value)
Deprecated.
|
RouteAction.Builder |
setInternalRedirectActionValue(int value)
Deprecated.
|
RouteAction.Builder |
setInternalRedirectPolicy(InternalRedirectPolicy.Builder builderForValue)
If present, Envoy will try to follow an upstream redirect response instead of proxying the
response back to the downstream.
|
RouteAction.Builder |
setInternalRedirectPolicy(InternalRedirectPolicy value)
If present, Envoy will try to follow an upstream redirect response instead of proxying the
response back to the downstream.
|
RouteAction.Builder |
setMaxGrpcTimeout(com.google.protobuf.Duration.Builder builderForValue)
Deprecated.
|
RouteAction.Builder |
setMaxGrpcTimeout(com.google.protobuf.Duration value)
Deprecated.
|
RouteAction.Builder |
setMaxInternalRedirects(com.google.protobuf.UInt32Value.Builder builderForValue)
Deprecated.
|
RouteAction.Builder |
setMaxInternalRedirects(com.google.protobuf.UInt32Value value)
Deprecated.
|
RouteAction.Builder |
setMaxStreamDuration(RouteAction.MaxStreamDuration.Builder builderForValue)
Specifies the maximum stream duration for this route.
|
RouteAction.Builder |
setMaxStreamDuration(RouteAction.MaxStreamDuration value)
Specifies the maximum stream duration for this route.
|
RouteAction.Builder |
setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteAction.Builder |
setMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteAction.Builder |
setPrefixRewrite(String value)
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
RouteAction.Builder |
setPrefixRewriteBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
RouteAction.Builder |
setPriority(RoutingPriority value)
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
RouteAction.Builder |
setPriorityValue(int value)
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
RouteAction.Builder |
setRateLimits(int index,
RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteAction.Builder |
setRateLimits(int index,
RateLimit value)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteAction.Builder |
setRegexRewrite(RegexMatchAndSubstitute.Builder builderForValue)
Indicates that during forwarding, portions of the path that match the
pattern should be rewritten, even allowing the substitution of capture
groups from the pattern into the new path as specified by the rewrite
substitution string.
|
RouteAction.Builder |
setRegexRewrite(RegexMatchAndSubstitute value)
Indicates that during forwarding, portions of the path that match the
pattern should be rewritten, even allowing the substitution of capture
groups from the pattern into the new path as specified by the rewrite
substitution string.
|
RouteAction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteAction.Builder |
setRequestMirrorPolicies(int index,
RouteAction.RequestMirrorPolicy.Builder builderForValue)
Indicates that the route has request mirroring policies.
|
RouteAction.Builder |
setRequestMirrorPolicies(int index,
RouteAction.RequestMirrorPolicy value)
Indicates that the route has request mirroring policies.
|
RouteAction.Builder |
setRetryPolicy(RetryPolicy.Builder builderForValue)
Indicates that the route has a retry policy.
|
RouteAction.Builder |
setRetryPolicy(RetryPolicy value)
Indicates that the route has a retry policy.
|
RouteAction.Builder |
setRetryPolicyTypedConfig(com.google.protobuf.Any.Builder builderForValue)
[#not-implemented-hide:]
Specifies the configuration for retry policy extension.
|
RouteAction.Builder |
setRetryPolicyTypedConfig(com.google.protobuf.Any value)
[#not-implemented-hide:]
Specifies the configuration for retry policy extension.
|
RouteAction.Builder |
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Specifies the upstream timeout for the route.
|
RouteAction.Builder |
setTimeout(com.google.protobuf.Duration value)
Specifies the upstream timeout for the route.
|
RouteAction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteAction.Builder |
setUpgradeConfigs(int index,
RouteAction.UpgradeConfig.Builder builderForValue)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.Builder |
setUpgradeConfigs(int index,
RouteAction.UpgradeConfig value)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25; |
RouteAction.Builder |
setWeightedClusters(WeightedCluster.Builder builderForValue)
Multiple upstream clusters can be specified for a given route.
|
RouteAction.Builder |
setWeightedClusters(WeightedCluster value)
Multiple upstream clusters can be specified for a given route.
|
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<RouteAction.Builder>public RouteAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.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<RouteAction.Builder>public RouteAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteAction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.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<RouteAction.Builder>public RouteAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.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<RouteAction.Builder>public RouteAction.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<RouteAction.Builder>public RouteAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>public RouteAction.Builder mergeFrom(RouteAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.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<RouteAction.Builder>IOExceptionpublic RouteAction.ClusterSpecifierCase getClusterSpecifierCase()
getClusterSpecifierCase in interface RouteActionOrBuilderpublic RouteAction.Builder clearClusterSpecifier()
public RouteAction.HostRewriteSpecifierCase getHostRewriteSpecifierCase()
getHostRewriteSpecifierCase in interface RouteActionOrBuilderpublic RouteAction.Builder clearHostRewriteSpecifier()
public String getCluster()
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }getCluster in interface RouteActionOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }getClusterBytes in interface RouteActionOrBuilderpublic RouteAction.Builder setCluster(String value)
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }public RouteAction.Builder clearCluster()
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }public RouteAction.Builder setClusterBytes(com.google.protobuf.ByteString value)
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }public String getClusterHeader()
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 2 [(.validate.rules) = { ... }getClusterHeader in interface RouteActionOrBuilderpublic com.google.protobuf.ByteString getClusterHeaderBytes()
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 2 [(.validate.rules) = { ... }getClusterHeaderBytes in interface RouteActionOrBuilderpublic RouteAction.Builder setClusterHeader(String value)
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 2 [(.validate.rules) = { ... }public RouteAction.Builder clearClusterHeader()
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 2 [(.validate.rules) = { ... }public RouteAction.Builder setClusterHeaderBytes(com.google.protobuf.ByteString value)
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 2 [(.validate.rules) = { ... }public boolean hasWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 3;hasWeightedClusters in interface RouteActionOrBuilderpublic WeightedCluster getWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 3;getWeightedClusters in interface RouteActionOrBuilderpublic RouteAction.Builder setWeightedClusters(WeightedCluster value)
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 3;public RouteAction.Builder setWeightedClusters(WeightedCluster.Builder builderForValue)
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 3;public RouteAction.Builder mergeWeightedClusters(WeightedCluster value)
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 3;public RouteAction.Builder clearWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 3;public WeightedCluster.Builder getWeightedClustersBuilder()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 3;public WeightedClusterOrBuilder getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 3;getWeightedClustersOrBuilder in interface RouteActionOrBuilderpublic int getClusterNotFoundResponseCodeValue()
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.config.route.v3.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }getClusterNotFoundResponseCodeValue in interface RouteActionOrBuilderpublic RouteAction.Builder setClusterNotFoundResponseCodeValue(int value)
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.config.route.v3.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }public RouteAction.ClusterNotFoundResponseCode getClusterNotFoundResponseCode()
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.config.route.v3.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }getClusterNotFoundResponseCode in interface RouteActionOrBuilderpublic RouteAction.Builder setClusterNotFoundResponseCode(RouteAction.ClusterNotFoundResponseCode value)
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.config.route.v3.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }public RouteAction.Builder clearClusterNotFoundResponseCode()
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.config.route.v3.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }public boolean hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what's set in this field will be considered for load balancing. If using :ref:`weighted_clusters <envoy_api_field_config.route.v3.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v3.Metadata metadata_match = 4;hasMetadataMatch in interface RouteActionOrBuilderpublic Metadata getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what's set in this field will be considered for load balancing. If using :ref:`weighted_clusters <envoy_api_field_config.route.v3.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v3.Metadata metadata_match = 4;getMetadataMatch in interface RouteActionOrBuilderpublic RouteAction.Builder setMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what's set in this field will be considered for load balancing. If using :ref:`weighted_clusters <envoy_api_field_config.route.v3.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v3.Metadata metadata_match = 4;public RouteAction.Builder setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what's set in this field will be considered for load balancing. If using :ref:`weighted_clusters <envoy_api_field_config.route.v3.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v3.Metadata metadata_match = 4;public RouteAction.Builder mergeMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what's set in this field will be considered for load balancing. If using :ref:`weighted_clusters <envoy_api_field_config.route.v3.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v3.Metadata metadata_match = 4;public RouteAction.Builder clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what's set in this field will be considered for load balancing. If using :ref:`weighted_clusters <envoy_api_field_config.route.v3.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v3.Metadata metadata_match = 4;public Metadata.Builder getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what's set in this field will be considered for load balancing. If using :ref:`weighted_clusters <envoy_api_field_config.route.v3.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v3.Metadata metadata_match = 4;public MetadataOrBuilder getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what's set in this field will be considered for load balancing. If using :ref:`weighted_clusters <envoy_api_field_config.route.v3.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v3.Metadata metadata_match = 4;getMetadataMatchOrBuilder in interface RouteActionOrBuilderpublic String getPrefixRewrite()
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value. This option allows application URLs to be rooted
at a different path from those exposed at the reverse proxy layer. The router filter will
place the original path before rewrite into the :ref:`x-envoy-original-path
<config_http_filters_router_x-envoy-original-path>` header.
Only one of *prefix_rewrite* or
:ref:`regex_rewrite <envoy_api_field_config.route.v3.RouteAction.regex_rewrite>`
may be specified.
.. attention::
Pay careful attention to the use of trailing slashes in the
:ref:`route's match <envoy_api_field_config.route.v3.Route.match>` prefix value.
Stripping a prefix from a path requires multiple Routes to handle all cases. For example,
rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single
:ref:`Route <envoy_api_msg_config.route.v3.Route>`, as shown by the below config entries:
.. code-block:: yaml
- match:
prefix: "/prefix/"
route:
prefix_rewrite: "/"
- match:
prefix: "/prefix"
route:
prefix_rewrite: "/"
Having above entries in the config, requests to */prefix* will be stripped to */*, while
requests to */prefix/etc* will be stripped to */etc*.
string prefix_rewrite = 5 [(.validate.rules) = { ... }getPrefixRewrite in interface RouteActionOrBuilderpublic com.google.protobuf.ByteString getPrefixRewriteBytes()
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value. This option allows application URLs to be rooted
at a different path from those exposed at the reverse proxy layer. The router filter will
place the original path before rewrite into the :ref:`x-envoy-original-path
<config_http_filters_router_x-envoy-original-path>` header.
Only one of *prefix_rewrite* or
:ref:`regex_rewrite <envoy_api_field_config.route.v3.RouteAction.regex_rewrite>`
may be specified.
.. attention::
Pay careful attention to the use of trailing slashes in the
:ref:`route's match <envoy_api_field_config.route.v3.Route.match>` prefix value.
Stripping a prefix from a path requires multiple Routes to handle all cases. For example,
rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single
:ref:`Route <envoy_api_msg_config.route.v3.Route>`, as shown by the below config entries:
.. code-block:: yaml
- match:
prefix: "/prefix/"
route:
prefix_rewrite: "/"
- match:
prefix: "/prefix"
route:
prefix_rewrite: "/"
Having above entries in the config, requests to */prefix* will be stripped to */*, while
requests to */prefix/etc* will be stripped to */etc*.
string prefix_rewrite = 5 [(.validate.rules) = { ... }getPrefixRewriteBytes in interface RouteActionOrBuilderpublic RouteAction.Builder setPrefixRewrite(String value)
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value. This option allows application URLs to be rooted
at a different path from those exposed at the reverse proxy layer. The router filter will
place the original path before rewrite into the :ref:`x-envoy-original-path
<config_http_filters_router_x-envoy-original-path>` header.
Only one of *prefix_rewrite* or
:ref:`regex_rewrite <envoy_api_field_config.route.v3.RouteAction.regex_rewrite>`
may be specified.
.. attention::
Pay careful attention to the use of trailing slashes in the
:ref:`route's match <envoy_api_field_config.route.v3.Route.match>` prefix value.
Stripping a prefix from a path requires multiple Routes to handle all cases. For example,
rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single
:ref:`Route <envoy_api_msg_config.route.v3.Route>`, as shown by the below config entries:
.. code-block:: yaml
- match:
prefix: "/prefix/"
route:
prefix_rewrite: "/"
- match:
prefix: "/prefix"
route:
prefix_rewrite: "/"
Having above entries in the config, requests to */prefix* will be stripped to */*, while
requests to */prefix/etc* will be stripped to */etc*.
string prefix_rewrite = 5 [(.validate.rules) = { ... }public RouteAction.Builder clearPrefixRewrite()
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value. This option allows application URLs to be rooted
at a different path from those exposed at the reverse proxy layer. The router filter will
place the original path before rewrite into the :ref:`x-envoy-original-path
<config_http_filters_router_x-envoy-original-path>` header.
Only one of *prefix_rewrite* or
:ref:`regex_rewrite <envoy_api_field_config.route.v3.RouteAction.regex_rewrite>`
may be specified.
.. attention::
Pay careful attention to the use of trailing slashes in the
:ref:`route's match <envoy_api_field_config.route.v3.Route.match>` prefix value.
Stripping a prefix from a path requires multiple Routes to handle all cases. For example,
rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single
:ref:`Route <envoy_api_msg_config.route.v3.Route>`, as shown by the below config entries:
.. code-block:: yaml
- match:
prefix: "/prefix/"
route:
prefix_rewrite: "/"
- match:
prefix: "/prefix"
route:
prefix_rewrite: "/"
Having above entries in the config, requests to */prefix* will be stripped to */*, while
requests to */prefix/etc* will be stripped to */etc*.
string prefix_rewrite = 5 [(.validate.rules) = { ... }public RouteAction.Builder setPrefixRewriteBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value. This option allows application URLs to be rooted
at a different path from those exposed at the reverse proxy layer. The router filter will
place the original path before rewrite into the :ref:`x-envoy-original-path
<config_http_filters_router_x-envoy-original-path>` header.
Only one of *prefix_rewrite* or
:ref:`regex_rewrite <envoy_api_field_config.route.v3.RouteAction.regex_rewrite>`
may be specified.
.. attention::
Pay careful attention to the use of trailing slashes in the
:ref:`route's match <envoy_api_field_config.route.v3.Route.match>` prefix value.
Stripping a prefix from a path requires multiple Routes to handle all cases. For example,
rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single
:ref:`Route <envoy_api_msg_config.route.v3.Route>`, as shown by the below config entries:
.. code-block:: yaml
- match:
prefix: "/prefix/"
route:
prefix_rewrite: "/"
- match:
prefix: "/prefix"
route:
prefix_rewrite: "/"
Having above entries in the config, requests to */prefix* will be stripped to */*, while
requests to */prefix/etc* will be stripped to */etc*.
string prefix_rewrite = 5 [(.validate.rules) = { ... }public boolean hasRegexRewrite()
Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string. This is useful to allow application paths to be rewritten in a way that is aware of segments with variable content like identifiers. The router filter will place the original path as it was before the rewrite into the :ref:`x-envoy-original-path <config_http_filters_router_x-envoy-original-path>` header. Only one of :ref:`prefix_rewrite <envoy_api_field_config.route.v3.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 32;hasRegexRewrite in interface RouteActionOrBuilderpublic RegexMatchAndSubstitute getRegexRewrite()
Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string. This is useful to allow application paths to be rewritten in a way that is aware of segments with variable content like identifiers. The router filter will place the original path as it was before the rewrite into the :ref:`x-envoy-original-path <config_http_filters_router_x-envoy-original-path>` header. Only one of :ref:`prefix_rewrite <envoy_api_field_config.route.v3.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 32;getRegexRewrite in interface RouteActionOrBuilderpublic RouteAction.Builder setRegexRewrite(RegexMatchAndSubstitute value)
Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string. This is useful to allow application paths to be rewritten in a way that is aware of segments with variable content like identifiers. The router filter will place the original path as it was before the rewrite into the :ref:`x-envoy-original-path <config_http_filters_router_x-envoy-original-path>` header. Only one of :ref:`prefix_rewrite <envoy_api_field_config.route.v3.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 32;public RouteAction.Builder setRegexRewrite(RegexMatchAndSubstitute.Builder builderForValue)
Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string. This is useful to allow application paths to be rewritten in a way that is aware of segments with variable content like identifiers. The router filter will place the original path as it was before the rewrite into the :ref:`x-envoy-original-path <config_http_filters_router_x-envoy-original-path>` header. Only one of :ref:`prefix_rewrite <envoy_api_field_config.route.v3.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 32;public RouteAction.Builder mergeRegexRewrite(RegexMatchAndSubstitute value)
Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string. This is useful to allow application paths to be rewritten in a way that is aware of segments with variable content like identifiers. The router filter will place the original path as it was before the rewrite into the :ref:`x-envoy-original-path <config_http_filters_router_x-envoy-original-path>` header. Only one of :ref:`prefix_rewrite <envoy_api_field_config.route.v3.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 32;public RouteAction.Builder clearRegexRewrite()
Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string. This is useful to allow application paths to be rewritten in a way that is aware of segments with variable content like identifiers. The router filter will place the original path as it was before the rewrite into the :ref:`x-envoy-original-path <config_http_filters_router_x-envoy-original-path>` header. Only one of :ref:`prefix_rewrite <envoy_api_field_config.route.v3.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 32;public RegexMatchAndSubstitute.Builder getRegexRewriteBuilder()
Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string. This is useful to allow application paths to be rewritten in a way that is aware of segments with variable content like identifiers. The router filter will place the original path as it was before the rewrite into the :ref:`x-envoy-original-path <config_http_filters_router_x-envoy-original-path>` header. Only one of :ref:`prefix_rewrite <envoy_api_field_config.route.v3.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 32;public RegexMatchAndSubstituteOrBuilder getRegexRewriteOrBuilder()
Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string. This is useful to allow application paths to be rewritten in a way that is aware of segments with variable content like identifiers. The router filter will place the original path as it was before the rewrite into the :ref:`x-envoy-original-path <config_http_filters_router_x-envoy-original-path>` header. Only one of :ref:`prefix_rewrite <envoy_api_field_config.route.v3.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 32;getRegexRewriteOrBuilder in interface RouteActionOrBuilderpublic String getHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }getHostRewriteLiteral in interface RouteActionOrBuilderpublic com.google.protobuf.ByteString getHostRewriteLiteralBytes()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }getHostRewriteLiteralBytes in interface RouteActionOrBuilderpublic RouteAction.Builder setHostRewriteLiteral(String value)
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }public RouteAction.Builder clearHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }public RouteAction.Builder setHostRewriteLiteralBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }public boolean hasAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;hasAutoHostRewrite in interface RouteActionOrBuilderpublic com.google.protobuf.BoolValue getAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;getAutoHostRewrite in interface RouteActionOrBuilderpublic RouteAction.Builder setAutoHostRewrite(com.google.protobuf.BoolValue value)
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public RouteAction.Builder setAutoHostRewrite(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public RouteAction.Builder mergeAutoHostRewrite(com.google.protobuf.BoolValue value)
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public RouteAction.Builder clearAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public com.google.protobuf.BoolValue.Builder getAutoHostRewriteBuilder()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public com.google.protobuf.BoolValueOrBuilder getAutoHostRewriteOrBuilder()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;getAutoHostRewriteOrBuilder in interface RouteActionOrBuilderpublic String getHostRewriteHeader()
Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string host_rewrite_header = 29 [(.validate.rules) = { ... }getHostRewriteHeader in interface RouteActionOrBuilderpublic com.google.protobuf.ByteString getHostRewriteHeaderBytes()
Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string host_rewrite_header = 29 [(.validate.rules) = { ... }getHostRewriteHeaderBytes in interface RouteActionOrBuilderpublic RouteAction.Builder setHostRewriteHeader(String value)
Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string host_rewrite_header = 29 [(.validate.rules) = { ... }public RouteAction.Builder clearHostRewriteHeader()
Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string host_rewrite_header = 29 [(.validate.rules) = { ... }public RouteAction.Builder setHostRewriteHeaderBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string host_rewrite_header = 29 [(.validate.rules) = { ... }public boolean hasHostRewritePathRegex()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
This is useful for transitioning variable content between path segment and subdomain.
For example with the following config:
.. code-block:: yaml
host_rewrite_path_regex:
pattern:
google_re2: {}
regex: "^/(.+)/.+$"
substitution: \1
Would rewrite the host header to `envoyproxy.io` given the path `/envoyproxy.io/some/path`.
.envoy.type.matcher.v3.RegexMatchAndSubstitute host_rewrite_path_regex = 35;hasHostRewritePathRegex in interface RouteActionOrBuilderpublic RegexMatchAndSubstitute getHostRewritePathRegex()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
This is useful for transitioning variable content between path segment and subdomain.
For example with the following config:
.. code-block:: yaml
host_rewrite_path_regex:
pattern:
google_re2: {}
regex: "^/(.+)/.+$"
substitution: \1
Would rewrite the host header to `envoyproxy.io` given the path `/envoyproxy.io/some/path`.
.envoy.type.matcher.v3.RegexMatchAndSubstitute host_rewrite_path_regex = 35;getHostRewritePathRegex in interface RouteActionOrBuilderpublic RouteAction.Builder setHostRewritePathRegex(RegexMatchAndSubstitute value)
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
This is useful for transitioning variable content between path segment and subdomain.
For example with the following config:
.. code-block:: yaml
host_rewrite_path_regex:
pattern:
google_re2: {}
regex: "^/(.+)/.+$"
substitution: \1
Would rewrite the host header to `envoyproxy.io` given the path `/envoyproxy.io/some/path`.
.envoy.type.matcher.v3.RegexMatchAndSubstitute host_rewrite_path_regex = 35;public RouteAction.Builder setHostRewritePathRegex(RegexMatchAndSubstitute.Builder builderForValue)
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
This is useful for transitioning variable content between path segment and subdomain.
For example with the following config:
.. code-block:: yaml
host_rewrite_path_regex:
pattern:
google_re2: {}
regex: "^/(.+)/.+$"
substitution: \1
Would rewrite the host header to `envoyproxy.io` given the path `/envoyproxy.io/some/path`.
.envoy.type.matcher.v3.RegexMatchAndSubstitute host_rewrite_path_regex = 35;public RouteAction.Builder mergeHostRewritePathRegex(RegexMatchAndSubstitute value)
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
This is useful for transitioning variable content between path segment and subdomain.
For example with the following config:
.. code-block:: yaml
host_rewrite_path_regex:
pattern:
google_re2: {}
regex: "^/(.+)/.+$"
substitution: \1
Would rewrite the host header to `envoyproxy.io` given the path `/envoyproxy.io/some/path`.
.envoy.type.matcher.v3.RegexMatchAndSubstitute host_rewrite_path_regex = 35;public RouteAction.Builder clearHostRewritePathRegex()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
This is useful for transitioning variable content between path segment and subdomain.
For example with the following config:
.. code-block:: yaml
host_rewrite_path_regex:
pattern:
google_re2: {}
regex: "^/(.+)/.+$"
substitution: \1
Would rewrite the host header to `envoyproxy.io` given the path `/envoyproxy.io/some/path`.
.envoy.type.matcher.v3.RegexMatchAndSubstitute host_rewrite_path_regex = 35;public RegexMatchAndSubstitute.Builder getHostRewritePathRegexBuilder()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
This is useful for transitioning variable content between path segment and subdomain.
For example with the following config:
.. code-block:: yaml
host_rewrite_path_regex:
pattern:
google_re2: {}
regex: "^/(.+)/.+$"
substitution: \1
Would rewrite the host header to `envoyproxy.io` given the path `/envoyproxy.io/some/path`.
.envoy.type.matcher.v3.RegexMatchAndSubstitute host_rewrite_path_regex = 35;public RegexMatchAndSubstituteOrBuilder getHostRewritePathRegexOrBuilder()
Indicates that during forwarding, the host header will be swapped with
the result of the regex substitution executed on path value with query and fragment removed.
This is useful for transitioning variable content between path segment and subdomain.
For example with the following config:
.. code-block:: yaml
host_rewrite_path_regex:
pattern:
google_re2: {}
regex: "^/(.+)/.+$"
substitution: \1
Would rewrite the host header to `envoyproxy.io` given the path `/envoyproxy.io/some/path`.
.envoy.type.matcher.v3.RegexMatchAndSubstitute host_rewrite_path_regex = 35;getHostRewritePathRegexOrBuilder in interface RouteActionOrBuilderpublic boolean hasTimeout()
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8;hasTimeout in interface RouteActionOrBuilderpublic com.google.protobuf.Duration getTimeout()
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8;getTimeout in interface RouteActionOrBuilderpublic RouteAction.Builder setTimeout(com.google.protobuf.Duration value)
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8;public RouteAction.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8;public RouteAction.Builder mergeTimeout(com.google.protobuf.Duration value)
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8;public RouteAction.Builder clearTimeout()
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8;public com.google.protobuf.Duration.Builder getTimeoutBuilder()
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8;public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8;getTimeoutOrBuilder in interface RouteActionOrBuilderpublic boolean hasIdleTimeout()
Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, although the connection manager wide :ref:`stream_idle_timeout <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_config.route.v3.RouteAction.idle_timeout>` instead bounds the amount of time the request's stream may be idle. After header decoding, the idle timeout will apply on downstream and upstream request events. Each time an encode/decode event for headers or data is processed for the stream, the timer will be reset. If the timeout fires, the stream is terminated with a 408 Request Timeout error code if no upstream response header has been received, otherwise a stream reset occurs. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled according to the value for :ref:`HTTP_DOWNSTREAM_STREAM_IDLE <envoy_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;hasIdleTimeout in interface RouteActionOrBuilderpublic com.google.protobuf.Duration getIdleTimeout()
Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, although the connection manager wide :ref:`stream_idle_timeout <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_config.route.v3.RouteAction.idle_timeout>` instead bounds the amount of time the request's stream may be idle. After header decoding, the idle timeout will apply on downstream and upstream request events. Each time an encode/decode event for headers or data is processed for the stream, the timer will be reset. If the timeout fires, the stream is terminated with a 408 Request Timeout error code if no upstream response header has been received, otherwise a stream reset occurs. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled according to the value for :ref:`HTTP_DOWNSTREAM_STREAM_IDLE <envoy_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;getIdleTimeout in interface RouteActionOrBuilderpublic RouteAction.Builder setIdleTimeout(com.google.protobuf.Duration value)
Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, although the connection manager wide :ref:`stream_idle_timeout <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_config.route.v3.RouteAction.idle_timeout>` instead bounds the amount of time the request's stream may be idle. After header decoding, the idle timeout will apply on downstream and upstream request events. Each time an encode/decode event for headers or data is processed for the stream, the timer will be reset. If the timeout fires, the stream is terminated with a 408 Request Timeout error code if no upstream response header has been received, otherwise a stream reset occurs. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled according to the value for :ref:`HTTP_DOWNSTREAM_STREAM_IDLE <envoy_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;public RouteAction.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, although the connection manager wide :ref:`stream_idle_timeout <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_config.route.v3.RouteAction.idle_timeout>` instead bounds the amount of time the request's stream may be idle. After header decoding, the idle timeout will apply on downstream and upstream request events. Each time an encode/decode event for headers or data is processed for the stream, the timer will be reset. If the timeout fires, the stream is terminated with a 408 Request Timeout error code if no upstream response header has been received, otherwise a stream reset occurs. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled according to the value for :ref:`HTTP_DOWNSTREAM_STREAM_IDLE <envoy_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;public RouteAction.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, although the connection manager wide :ref:`stream_idle_timeout <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_config.route.v3.RouteAction.idle_timeout>` instead bounds the amount of time the request's stream may be idle. After header decoding, the idle timeout will apply on downstream and upstream request events. Each time an encode/decode event for headers or data is processed for the stream, the timer will be reset. If the timeout fires, the stream is terminated with a 408 Request Timeout error code if no upstream response header has been received, otherwise a stream reset occurs. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled according to the value for :ref:`HTTP_DOWNSTREAM_STREAM_IDLE <envoy_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;public RouteAction.Builder clearIdleTimeout()
Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, although the connection manager wide :ref:`stream_idle_timeout <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_config.route.v3.RouteAction.idle_timeout>` instead bounds the amount of time the request's stream may be idle. After header decoding, the idle timeout will apply on downstream and upstream request events. Each time an encode/decode event for headers or data is processed for the stream, the timer will be reset. If the timeout fires, the stream is terminated with a 408 Request Timeout error code if no upstream response header has been received, otherwise a stream reset occurs. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled according to the value for :ref:`HTTP_DOWNSTREAM_STREAM_IDLE <envoy_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, although the connection manager wide :ref:`stream_idle_timeout <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_config.route.v3.RouteAction.idle_timeout>` instead bounds the amount of time the request's stream may be idle. After header decoding, the idle timeout will apply on downstream and upstream request events. Each time an encode/decode event for headers or data is processed for the stream, the timer will be reset. If the timeout fires, the stream is terminated with a 408 Request Timeout error code if no upstream response header has been received, otherwise a stream reset occurs. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled according to the value for :ref:`HTTP_DOWNSTREAM_STREAM_IDLE <envoy_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, although the connection manager wide :ref:`stream_idle_timeout <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_config.route.v3.RouteAction.idle_timeout>` instead bounds the amount of time the request's stream may be idle. After header decoding, the idle timeout will apply on downstream and upstream request events. Each time an encode/decode event for headers or data is processed for the stream, the timer will be reset. If the timeout fires, the stream is terminated with a 408 Request Timeout error code if no upstream response header has been received, otherwise a stream reset occurs. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled according to the value for :ref:`HTTP_DOWNSTREAM_STREAM_IDLE <envoy_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;getIdleTimeoutOrBuilder in interface RouteActionOrBuilderpublic boolean hasRetryPolicy()
Indicates that the route has a retry policy. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.RetryPolicy retry_policy = 9;hasRetryPolicy in interface RouteActionOrBuilderpublic RetryPolicy getRetryPolicy()
Indicates that the route has a retry policy. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.RetryPolicy retry_policy = 9;getRetryPolicy in interface RouteActionOrBuilderpublic RouteAction.Builder setRetryPolicy(RetryPolicy value)
Indicates that the route has a retry policy. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.RetryPolicy retry_policy = 9;public RouteAction.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
Indicates that the route has a retry policy. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.RetryPolicy retry_policy = 9;public RouteAction.Builder mergeRetryPolicy(RetryPolicy value)
Indicates that the route has a retry policy. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.RetryPolicy retry_policy = 9;public RouteAction.Builder clearRetryPolicy()
Indicates that the route has a retry policy. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.RetryPolicy retry_policy = 9;public RetryPolicy.Builder getRetryPolicyBuilder()
Indicates that the route has a retry policy. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.RetryPolicy retry_policy = 9;public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
Indicates that the route has a retry policy. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.RetryPolicy retry_policy = 9;getRetryPolicyOrBuilder in interface RouteActionOrBuilderpublic boolean hasRetryPolicyTypedConfig()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy). :ref:`Retry policy <envoy_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;hasRetryPolicyTypedConfig in interface RouteActionOrBuilderpublic com.google.protobuf.Any getRetryPolicyTypedConfig()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy). :ref:`Retry policy <envoy_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;getRetryPolicyTypedConfig in interface RouteActionOrBuilderpublic RouteAction.Builder setRetryPolicyTypedConfig(com.google.protobuf.Any value)
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy). :ref:`Retry policy <envoy_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;public RouteAction.Builder setRetryPolicyTypedConfig(com.google.protobuf.Any.Builder builderForValue)
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy). :ref:`Retry policy <envoy_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;public RouteAction.Builder mergeRetryPolicyTypedConfig(com.google.protobuf.Any value)
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy). :ref:`Retry policy <envoy_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;public RouteAction.Builder clearRetryPolicyTypedConfig()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy). :ref:`Retry policy <envoy_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;public com.google.protobuf.Any.Builder getRetryPolicyTypedConfigBuilder()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy). :ref:`Retry policy <envoy_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;public com.google.protobuf.AnyOrBuilder getRetryPolicyTypedConfigOrBuilder()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that if this is set, it'll take precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy). :ref:`Retry policy <envoy_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;getRetryPolicyTypedConfigOrBuilder in interface RouteActionOrBuilderpublic List<RouteAction.RequestMirrorPolicy> getRequestMirrorPoliciesList()
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;getRequestMirrorPoliciesList in interface RouteActionOrBuilderpublic int getRequestMirrorPoliciesCount()
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;getRequestMirrorPoliciesCount in interface RouteActionOrBuilderpublic RouteAction.RequestMirrorPolicy getRequestMirrorPolicies(int index)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;getRequestMirrorPolicies in interface RouteActionOrBuilderpublic RouteAction.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.Builder addAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.Builder clearRequestMirrorPolicies()
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.Builder removeRequestMirrorPolicies(int index)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.RequestMirrorPolicy.Builder getRequestMirrorPoliciesBuilder(int index)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.RequestMirrorPolicyOrBuilder getRequestMirrorPoliciesOrBuilder(int index)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;getRequestMirrorPoliciesOrBuilder in interface RouteActionOrBuilderpublic List<? extends RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesOrBuilderList()
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;getRequestMirrorPoliciesOrBuilderList in interface RouteActionOrBuilderpublic RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder()
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder(int index)
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public List<RouteAction.RequestMirrorPolicy.Builder> getRequestMirrorPoliciesBuilderList()
Indicates that the route has request mirroring policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;public int getPriorityValue()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }getPriorityValue in interface RouteActionOrBuilderpublic RouteAction.Builder setPriorityValue(int value)
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }public RoutingPriority getPriority()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }getPriority in interface RouteActionOrBuilderpublic RouteAction.Builder setPriority(RoutingPriority value)
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }public RouteAction.Builder clearPriority()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }public List<RateLimit> getRateLimitsList()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;getRateLimitsList in interface RouteActionOrBuilderpublic int getRateLimitsCount()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;getRateLimitsCount in interface RouteActionOrBuilderpublic RateLimit getRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;getRateLimits in interface RouteActionOrBuilderpublic RouteAction.Builder setRateLimits(int index, RateLimit value)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RouteAction.Builder setRateLimits(int index, RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RouteAction.Builder addRateLimits(RateLimit value)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RouteAction.Builder addRateLimits(int index, RateLimit value)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RouteAction.Builder addRateLimits(RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RouteAction.Builder addRateLimits(int index, RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RouteAction.Builder addAllRateLimits(Iterable<? extends RateLimit> values)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RouteAction.Builder clearRateLimits()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RouteAction.Builder removeRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RateLimit.Builder getRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RateLimitOrBuilder getRateLimitsOrBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;getRateLimitsOrBuilder in interface RouteActionOrBuilderpublic List<? extends RateLimitOrBuilder> getRateLimitsOrBuilderList()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;getRateLimitsOrBuilderList in interface RouteActionOrBuilderpublic RateLimit.Builder addRateLimitsBuilder()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public RateLimit.Builder addRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;public List<RateLimit.Builder> getRateLimitsBuilderList()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;@Deprecated public boolean hasIncludeVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_config.route.v3.VirtualHost.rate_limits>` are not applied to the request. This field is deprecated. Please use :ref:`vh_rate_limits <envoy_v3_api_field_extensions.filters.http.ratelimit.v3.RateLimitPerRoute.vh_rate_limits>`
.google.protobuf.BoolValue include_vh_rate_limits = 14 [deprecated = true];hasIncludeVhRateLimits in interface RouteActionOrBuilder@Deprecated public com.google.protobuf.BoolValue getIncludeVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_config.route.v3.VirtualHost.rate_limits>` are not applied to the request. This field is deprecated. Please use :ref:`vh_rate_limits <envoy_v3_api_field_extensions.filters.http.ratelimit.v3.RateLimitPerRoute.vh_rate_limits>`
.google.protobuf.BoolValue include_vh_rate_limits = 14 [deprecated = true];getIncludeVhRateLimits in interface RouteActionOrBuilder@Deprecated public RouteAction.Builder setIncludeVhRateLimits(com.google.protobuf.BoolValue value)
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_config.route.v3.VirtualHost.rate_limits>` are not applied to the request. This field is deprecated. Please use :ref:`vh_rate_limits <envoy_v3_api_field_extensions.filters.http.ratelimit.v3.RateLimitPerRoute.vh_rate_limits>`
.google.protobuf.BoolValue include_vh_rate_limits = 14 [deprecated = true];@Deprecated public RouteAction.Builder setIncludeVhRateLimits(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_config.route.v3.VirtualHost.rate_limits>` are not applied to the request. This field is deprecated. Please use :ref:`vh_rate_limits <envoy_v3_api_field_extensions.filters.http.ratelimit.v3.RateLimitPerRoute.vh_rate_limits>`
.google.protobuf.BoolValue include_vh_rate_limits = 14 [deprecated = true];@Deprecated public RouteAction.Builder mergeIncludeVhRateLimits(com.google.protobuf.BoolValue value)
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_config.route.v3.VirtualHost.rate_limits>` are not applied to the request. This field is deprecated. Please use :ref:`vh_rate_limits <envoy_v3_api_field_extensions.filters.http.ratelimit.v3.RateLimitPerRoute.vh_rate_limits>`
.google.protobuf.BoolValue include_vh_rate_limits = 14 [deprecated = true];@Deprecated public RouteAction.Builder clearIncludeVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_config.route.v3.VirtualHost.rate_limits>` are not applied to the request. This field is deprecated. Please use :ref:`vh_rate_limits <envoy_v3_api_field_extensions.filters.http.ratelimit.v3.RateLimitPerRoute.vh_rate_limits>`
.google.protobuf.BoolValue include_vh_rate_limits = 14 [deprecated = true];@Deprecated public com.google.protobuf.BoolValue.Builder getIncludeVhRateLimitsBuilder()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_config.route.v3.VirtualHost.rate_limits>` are not applied to the request. This field is deprecated. Please use :ref:`vh_rate_limits <envoy_v3_api_field_extensions.filters.http.ratelimit.v3.RateLimitPerRoute.vh_rate_limits>`
.google.protobuf.BoolValue include_vh_rate_limits = 14 [deprecated = true];@Deprecated public com.google.protobuf.BoolValueOrBuilder getIncludeVhRateLimitsOrBuilder()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_config.route.v3.VirtualHost.rate_limits>` are not applied to the request. This field is deprecated. Please use :ref:`vh_rate_limits <envoy_v3_api_field_extensions.filters.http.ratelimit.v3.RateLimitPerRoute.vh_rate_limits>`
.google.protobuf.BoolValue include_vh_rate_limits = 14 [deprecated = true];getIncludeVhRateLimitsOrBuilder in interface RouteActionOrBuilderpublic List<RouteAction.HashPolicy> getHashPolicyList()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;getHashPolicyList in interface RouteActionOrBuilderpublic int getHashPolicyCount()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;getHashPolicyCount in interface RouteActionOrBuilderpublic RouteAction.HashPolicy getHashPolicy(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;getHashPolicy in interface RouteActionOrBuilderpublic RouteAction.Builder setHashPolicy(int index, RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.Builder setHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.Builder addHashPolicy(RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.Builder addHashPolicy(int index, RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.Builder addHashPolicy(RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.Builder addHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.Builder addAllHashPolicy(Iterable<? extends RouteAction.HashPolicy> values)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.Builder clearHashPolicy()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.Builder removeHashPolicy(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.HashPolicy.Builder getHashPolicyBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.HashPolicyOrBuilder getHashPolicyOrBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;getHashPolicyOrBuilder in interface RouteActionOrBuilderpublic List<? extends RouteAction.HashPolicyOrBuilder> getHashPolicyOrBuilderList()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;getHashPolicyOrBuilderList in interface RouteActionOrBuilderpublic RouteAction.HashPolicy.Builder addHashPolicyBuilder()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public RouteAction.HashPolicy.Builder addHashPolicyBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public List<RouteAction.HashPolicy.Builder> getHashPolicyBuilderList()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend). If a hash policy has the "terminal" attribute set to true, and there is already a hash generated, the hash is returned immediately, ignoring the rest of the hash policy list.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 15;public boolean hasCors()
Indicates that the route has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 17;hasCors in interface RouteActionOrBuilderpublic CorsPolicy getCors()
Indicates that the route has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 17;getCors in interface RouteActionOrBuilderpublic RouteAction.Builder setCors(CorsPolicy value)
Indicates that the route has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 17;public RouteAction.Builder setCors(CorsPolicy.Builder builderForValue)
Indicates that the route has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 17;public RouteAction.Builder mergeCors(CorsPolicy value)
Indicates that the route has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 17;public RouteAction.Builder clearCors()
Indicates that the route has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 17;public CorsPolicy.Builder getCorsBuilder()
Indicates that the route has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 17;public CorsPolicyOrBuilder getCorsOrBuilder()
Indicates that the route has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 17;getCorsOrBuilder in interface RouteActionOrBuilder@Deprecated public boolean hasMaxGrpcTimeout()
Deprecated by :ref:`grpc_timeout_header_max <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_max>`
If present, and the request is a gRPC request, use the
`grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_,
or its default value (infinity) instead of
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, but limit the applied timeout
to the maximum value specified here. If configured as 0, the maximum allowed timeout for
gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used
and gRPC requests time out like any other requests using
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>` or its default.
This can be used to prevent unexpected upstream request timeouts due to potentially long
time gaps between gRPC request and response in gRPC streaming mode.
.. note::
If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes
precedence over `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, when
both are present. See also
:ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
:ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
:ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration max_grpc_timeout = 23 [deprecated = true];hasMaxGrpcTimeout in interface RouteActionOrBuilder@Deprecated public com.google.protobuf.Duration getMaxGrpcTimeout()
Deprecated by :ref:`grpc_timeout_header_max <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_max>`
If present, and the request is a gRPC request, use the
`grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_,
or its default value (infinity) instead of
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, but limit the applied timeout
to the maximum value specified here. If configured as 0, the maximum allowed timeout for
gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used
and gRPC requests time out like any other requests using
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>` or its default.
This can be used to prevent unexpected upstream request timeouts due to potentially long
time gaps between gRPC request and response in gRPC streaming mode.
.. note::
If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes
precedence over `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, when
both are present. See also
:ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
:ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
:ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration max_grpc_timeout = 23 [deprecated = true];getMaxGrpcTimeout in interface RouteActionOrBuilder@Deprecated public RouteAction.Builder setMaxGrpcTimeout(com.google.protobuf.Duration value)
Deprecated by :ref:`grpc_timeout_header_max <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_max>`
If present, and the request is a gRPC request, use the
`grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_,
or its default value (infinity) instead of
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, but limit the applied timeout
to the maximum value specified here. If configured as 0, the maximum allowed timeout for
gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used
and gRPC requests time out like any other requests using
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>` or its default.
This can be used to prevent unexpected upstream request timeouts due to potentially long
time gaps between gRPC request and response in gRPC streaming mode.
.. note::
If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes
precedence over `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, when
both are present. See also
:ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
:ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
:ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration max_grpc_timeout = 23 [deprecated = true];@Deprecated public RouteAction.Builder setMaxGrpcTimeout(com.google.protobuf.Duration.Builder builderForValue)
Deprecated by :ref:`grpc_timeout_header_max <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_max>`
If present, and the request is a gRPC request, use the
`grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_,
or its default value (infinity) instead of
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, but limit the applied timeout
to the maximum value specified here. If configured as 0, the maximum allowed timeout for
gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used
and gRPC requests time out like any other requests using
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>` or its default.
This can be used to prevent unexpected upstream request timeouts due to potentially long
time gaps between gRPC request and response in gRPC streaming mode.
.. note::
If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes
precedence over `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, when
both are present. See also
:ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
:ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
:ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration max_grpc_timeout = 23 [deprecated = true];@Deprecated public RouteAction.Builder mergeMaxGrpcTimeout(com.google.protobuf.Duration value)
Deprecated by :ref:`grpc_timeout_header_max <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_max>`
If present, and the request is a gRPC request, use the
`grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_,
or its default value (infinity) instead of
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, but limit the applied timeout
to the maximum value specified here. If configured as 0, the maximum allowed timeout for
gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used
and gRPC requests time out like any other requests using
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>` or its default.
This can be used to prevent unexpected upstream request timeouts due to potentially long
time gaps between gRPC request and response in gRPC streaming mode.
.. note::
If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes
precedence over `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, when
both are present. See also
:ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
:ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
:ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration max_grpc_timeout = 23 [deprecated = true];@Deprecated public RouteAction.Builder clearMaxGrpcTimeout()
Deprecated by :ref:`grpc_timeout_header_max <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_max>`
If present, and the request is a gRPC request, use the
`grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_,
or its default value (infinity) instead of
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, but limit the applied timeout
to the maximum value specified here. If configured as 0, the maximum allowed timeout for
gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used
and gRPC requests time out like any other requests using
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>` or its default.
This can be used to prevent unexpected upstream request timeouts due to potentially long
time gaps between gRPC request and response in gRPC streaming mode.
.. note::
If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes
precedence over `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, when
both are present. See also
:ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
:ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
:ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration max_grpc_timeout = 23 [deprecated = true];@Deprecated public com.google.protobuf.Duration.Builder getMaxGrpcTimeoutBuilder()
Deprecated by :ref:`grpc_timeout_header_max <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_max>`
If present, and the request is a gRPC request, use the
`grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_,
or its default value (infinity) instead of
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, but limit the applied timeout
to the maximum value specified here. If configured as 0, the maximum allowed timeout for
gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used
and gRPC requests time out like any other requests using
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>` or its default.
This can be used to prevent unexpected upstream request timeouts due to potentially long
time gaps between gRPC request and response in gRPC streaming mode.
.. note::
If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes
precedence over `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, when
both are present. See also
:ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
:ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
:ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration max_grpc_timeout = 23 [deprecated = true];@Deprecated public com.google.protobuf.DurationOrBuilder getMaxGrpcTimeoutOrBuilder()
Deprecated by :ref:`grpc_timeout_header_max <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_max>`
If present, and the request is a gRPC request, use the
`grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_,
or its default value (infinity) instead of
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>`, but limit the applied timeout
to the maximum value specified here. If configured as 0, the maximum allowed timeout for
gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used
and gRPC requests time out like any other requests using
:ref:`timeout <envoy_api_field_config.route.v3.RouteAction.timeout>` or its default.
This can be used to prevent unexpected upstream request timeouts due to potentially long
time gaps between gRPC request and response in gRPC streaming mode.
.. note::
If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes
precedence over `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, when
both are present. See also
:ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
:ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
:ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration max_grpc_timeout = 23 [deprecated = true];getMaxGrpcTimeoutOrBuilder in interface RouteActionOrBuilder@Deprecated public boolean hasGrpcTimeoutOffset()
Deprecated by :ref:`grpc_timeout_header_offset <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`. If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful in allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. The offset will only be applied if the provided grpc_timeout is greater than the offset. This ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning infinity).
.google.protobuf.Duration grpc_timeout_offset = 28 [deprecated = true];hasGrpcTimeoutOffset in interface RouteActionOrBuilder@Deprecated public com.google.protobuf.Duration getGrpcTimeoutOffset()
Deprecated by :ref:`grpc_timeout_header_offset <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`. If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful in allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. The offset will only be applied if the provided grpc_timeout is greater than the offset. This ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning infinity).
.google.protobuf.Duration grpc_timeout_offset = 28 [deprecated = true];getGrpcTimeoutOffset in interface RouteActionOrBuilder@Deprecated public RouteAction.Builder setGrpcTimeoutOffset(com.google.protobuf.Duration value)
Deprecated by :ref:`grpc_timeout_header_offset <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`. If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful in allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. The offset will only be applied if the provided grpc_timeout is greater than the offset. This ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning infinity).
.google.protobuf.Duration grpc_timeout_offset = 28 [deprecated = true];@Deprecated public RouteAction.Builder setGrpcTimeoutOffset(com.google.protobuf.Duration.Builder builderForValue)
Deprecated by :ref:`grpc_timeout_header_offset <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`. If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful in allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. The offset will only be applied if the provided grpc_timeout is greater than the offset. This ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning infinity).
.google.protobuf.Duration grpc_timeout_offset = 28 [deprecated = true];@Deprecated public RouteAction.Builder mergeGrpcTimeoutOffset(com.google.protobuf.Duration value)
Deprecated by :ref:`grpc_timeout_header_offset <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`. If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful in allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. The offset will only be applied if the provided grpc_timeout is greater than the offset. This ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning infinity).
.google.protobuf.Duration grpc_timeout_offset = 28 [deprecated = true];@Deprecated public RouteAction.Builder clearGrpcTimeoutOffset()
Deprecated by :ref:`grpc_timeout_header_offset <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`. If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful in allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. The offset will only be applied if the provided grpc_timeout is greater than the offset. This ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning infinity).
.google.protobuf.Duration grpc_timeout_offset = 28 [deprecated = true];@Deprecated public com.google.protobuf.Duration.Builder getGrpcTimeoutOffsetBuilder()
Deprecated by :ref:`grpc_timeout_header_offset <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`. If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful in allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. The offset will only be applied if the provided grpc_timeout is greater than the offset. This ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning infinity).
.google.protobuf.Duration grpc_timeout_offset = 28 [deprecated = true];@Deprecated public com.google.protobuf.DurationOrBuilder getGrpcTimeoutOffsetOrBuilder()
Deprecated by :ref:`grpc_timeout_header_offset <envoy_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`. If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful in allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. The offset will only be applied if the provided grpc_timeout is greater than the offset. This ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning infinity).
.google.protobuf.Duration grpc_timeout_offset = 28 [deprecated = true];getGrpcTimeoutOffsetOrBuilder in interface RouteActionOrBuilderpublic List<RouteAction.UpgradeConfig> getUpgradeConfigsList()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;getUpgradeConfigsList in interface RouteActionOrBuilderpublic int getUpgradeConfigsCount()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;getUpgradeConfigsCount in interface RouteActionOrBuilderpublic RouteAction.UpgradeConfig getUpgradeConfigs(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;getUpgradeConfigs in interface RouteActionOrBuilderpublic RouteAction.Builder setUpgradeConfigs(int index, RouteAction.UpgradeConfig value)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.Builder setUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.Builder addUpgradeConfigs(RouteAction.UpgradeConfig value)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.Builder addUpgradeConfigs(int index, RouteAction.UpgradeConfig value)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.Builder addUpgradeConfigs(RouteAction.UpgradeConfig.Builder builderForValue)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.Builder addUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.Builder addAllUpgradeConfigs(Iterable<? extends RouteAction.UpgradeConfig> values)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.Builder clearUpgradeConfigs()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.Builder removeUpgradeConfigs(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.UpgradeConfig.Builder getUpgradeConfigsBuilder(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.UpgradeConfigOrBuilder getUpgradeConfigsOrBuilder(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;getUpgradeConfigsOrBuilder in interface RouteActionOrBuilderpublic List<? extends RouteAction.UpgradeConfigOrBuilder> getUpgradeConfigsOrBuilderList()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;getUpgradeConfigsOrBuilderList in interface RouteActionOrBuilderpublic RouteAction.UpgradeConfig.Builder addUpgradeConfigsBuilder()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public RouteAction.UpgradeConfig.Builder addUpgradeConfigsBuilder(int index)
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public List<RouteAction.UpgradeConfig.Builder> getUpgradeConfigsBuilderList()
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;public boolean hasInternalRedirectPolicy()
If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream. An upstream redirect response is defined by :ref:`redirect_response_codes <envoy_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;hasInternalRedirectPolicy in interface RouteActionOrBuilderpublic InternalRedirectPolicy getInternalRedirectPolicy()
If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream. An upstream redirect response is defined by :ref:`redirect_response_codes <envoy_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;getInternalRedirectPolicy in interface RouteActionOrBuilderpublic RouteAction.Builder setInternalRedirectPolicy(InternalRedirectPolicy value)
If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream. An upstream redirect response is defined by :ref:`redirect_response_codes <envoy_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;public RouteAction.Builder setInternalRedirectPolicy(InternalRedirectPolicy.Builder builderForValue)
If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream. An upstream redirect response is defined by :ref:`redirect_response_codes <envoy_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;public RouteAction.Builder mergeInternalRedirectPolicy(InternalRedirectPolicy value)
If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream. An upstream redirect response is defined by :ref:`redirect_response_codes <envoy_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;public RouteAction.Builder clearInternalRedirectPolicy()
If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream. An upstream redirect response is defined by :ref:`redirect_response_codes <envoy_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;public InternalRedirectPolicy.Builder getInternalRedirectPolicyBuilder()
If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream. An upstream redirect response is defined by :ref:`redirect_response_codes <envoy_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;public InternalRedirectPolicyOrBuilder getInternalRedirectPolicyOrBuilder()
If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream. An upstream redirect response is defined by :ref:`redirect_response_codes <envoy_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;getInternalRedirectPolicyOrBuilder in interface RouteActionOrBuilder@Deprecated public int getInternalRedirectActionValue()
.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true];getInternalRedirectActionValue in interface RouteActionOrBuilder@Deprecated public RouteAction.Builder setInternalRedirectActionValue(int value)
.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true];@Deprecated public RouteAction.InternalRedirectAction getInternalRedirectAction()
.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true];getInternalRedirectAction in interface RouteActionOrBuilder@Deprecated public RouteAction.Builder setInternalRedirectAction(RouteAction.InternalRedirectAction value)
.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true];@Deprecated public RouteAction.Builder clearInternalRedirectAction()
.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true];@Deprecated public boolean hasMaxInternalRedirects()
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 31 [deprecated = true];hasMaxInternalRedirects in interface RouteActionOrBuilder@Deprecated public com.google.protobuf.UInt32Value getMaxInternalRedirects()
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 31 [deprecated = true];getMaxInternalRedirects in interface RouteActionOrBuilder@Deprecated public RouteAction.Builder setMaxInternalRedirects(com.google.protobuf.UInt32Value value)
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 31 [deprecated = true];@Deprecated public RouteAction.Builder setMaxInternalRedirects(com.google.protobuf.UInt32Value.Builder builderForValue)
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 31 [deprecated = true];@Deprecated public RouteAction.Builder mergeMaxInternalRedirects(com.google.protobuf.UInt32Value value)
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 31 [deprecated = true];@Deprecated public RouteAction.Builder clearMaxInternalRedirects()
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 31 [deprecated = true];@Deprecated public com.google.protobuf.UInt32Value.Builder getMaxInternalRedirectsBuilder()
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 31 [deprecated = true];@Deprecated public com.google.protobuf.UInt32ValueOrBuilder getMaxInternalRedirectsOrBuilder()
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 31 [deprecated = true];getMaxInternalRedirectsOrBuilder in interface RouteActionOrBuilderpublic boolean hasHedgePolicy()
Indicates that the route has a hedge policy. Note that if this is set, it'll take precedence over the virtual host level hedge policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.HedgePolicy hedge_policy = 27;hasHedgePolicy in interface RouteActionOrBuilderpublic HedgePolicy getHedgePolicy()
Indicates that the route has a hedge policy. Note that if this is set, it'll take precedence over the virtual host level hedge policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.HedgePolicy hedge_policy = 27;getHedgePolicy in interface RouteActionOrBuilderpublic RouteAction.Builder setHedgePolicy(HedgePolicy value)
Indicates that the route has a hedge policy. Note that if this is set, it'll take precedence over the virtual host level hedge policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.HedgePolicy hedge_policy = 27;public RouteAction.Builder setHedgePolicy(HedgePolicy.Builder builderForValue)
Indicates that the route has a hedge policy. Note that if this is set, it'll take precedence over the virtual host level hedge policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.HedgePolicy hedge_policy = 27;public RouteAction.Builder mergeHedgePolicy(HedgePolicy value)
Indicates that the route has a hedge policy. Note that if this is set, it'll take precedence over the virtual host level hedge policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.HedgePolicy hedge_policy = 27;public RouteAction.Builder clearHedgePolicy()
Indicates that the route has a hedge policy. Note that if this is set, it'll take precedence over the virtual host level hedge policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.HedgePolicy hedge_policy = 27;public HedgePolicy.Builder getHedgePolicyBuilder()
Indicates that the route has a hedge policy. Note that if this is set, it'll take precedence over the virtual host level hedge policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.HedgePolicy hedge_policy = 27;public HedgePolicyOrBuilder getHedgePolicyOrBuilder()
Indicates that the route has a hedge policy. Note that if this is set, it'll take precedence over the virtual host level hedge policy entirely (e.g.: policies are not merged, most internal one becomes the enforced policy).
.envoy.config.route.v3.HedgePolicy hedge_policy = 27;getHedgePolicyOrBuilder in interface RouteActionOrBuilderpublic boolean hasMaxStreamDuration()
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;hasMaxStreamDuration in interface RouteActionOrBuilderpublic RouteAction.MaxStreamDuration getMaxStreamDuration()
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;getMaxStreamDuration in interface RouteActionOrBuilderpublic RouteAction.Builder setMaxStreamDuration(RouteAction.MaxStreamDuration value)
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;public RouteAction.Builder setMaxStreamDuration(RouteAction.MaxStreamDuration.Builder builderForValue)
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;public RouteAction.Builder mergeMaxStreamDuration(RouteAction.MaxStreamDuration value)
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;public RouteAction.Builder clearMaxStreamDuration()
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;public RouteAction.MaxStreamDuration.Builder getMaxStreamDurationBuilder()
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;public RouteAction.MaxStreamDurationOrBuilder getMaxStreamDurationOrBuilder()
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;getMaxStreamDurationOrBuilder in interface RouteActionOrBuilderpublic final RouteAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public final RouteAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.