Class RouteAction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>
com.google.protobuf.GeneratedMessage.Builder<RouteAction.Builder>
io.envoyproxy.envoy.config.route.v3.RouteAction.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,RouteActionOrBuilder
,Cloneable
- Enclosing class:
RouteAction
public static final class RouteAction.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouteAction.Builder>
implements RouteActionOrBuilder
[#next-free-field: 42]Protobuf type
envoy.config.route.v3.RouteAction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> private int
private int
private int
private Object
private int
private CorsPolicy
private com.google.protobuf.SingleFieldBuilder
<CorsPolicy, CorsPolicy.Builder, CorsPolicyOrBuilder> private TypedExtensionConfig
private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private com.google.protobuf.Duration
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private List
<RouteAction.HashPolicy> private com.google.protobuf.RepeatedFieldBuilder
<RouteAction.HashPolicy, RouteAction.HashPolicy.Builder, RouteAction.HashPolicyOrBuilder> private HedgePolicy
private com.google.protobuf.SingleFieldBuilder
<HedgePolicy, HedgePolicy.Builder, HedgePolicyOrBuilder> private com.google.protobuf.SingleFieldBuilder
<RegexMatchAndSubstitute, RegexMatchAndSubstitute.Builder, RegexMatchAndSubstituteOrBuilder> private Object
private int
private com.google.protobuf.Duration
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private com.google.protobuf.BoolValue
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> private com.google.protobuf.SingleFieldBuilder
<ClusterSpecifierPlugin, ClusterSpecifierPlugin.Builder, ClusterSpecifierPluginOrBuilder> private int
private InternalRedirectPolicy
private com.google.protobuf.SingleFieldBuilder
<InternalRedirectPolicy, InternalRedirectPolicy.Builder, InternalRedirectPolicyOrBuilder> private com.google.protobuf.Duration
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private com.google.protobuf.UInt32Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private RouteAction.MaxStreamDuration
private com.google.protobuf.SingleFieldBuilder
<RouteAction.MaxStreamDuration, RouteAction.MaxStreamDuration.Builder, RouteAction.MaxStreamDurationOrBuilder> private Metadata
private com.google.protobuf.SingleFieldBuilder
<Metadata, Metadata.Builder, MetadataOrBuilder> private TypedExtensionConfig
private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private Object
private int
private com.google.protobuf.RepeatedFieldBuilder
<RateLimit, RateLimit.Builder, RateLimitOrBuilder> private RegexMatchAndSubstitute
private com.google.protobuf.SingleFieldBuilder
<RegexMatchAndSubstitute, RegexMatchAndSubstitute.Builder, RegexMatchAndSubstituteOrBuilder> private List
<RouteAction.RequestMirrorPolicy> private com.google.protobuf.RepeatedFieldBuilder
<RouteAction.RequestMirrorPolicy, RouteAction.RequestMirrorPolicy.Builder, RouteAction.RequestMirrorPolicyOrBuilder> private RetryPolicy
private com.google.protobuf.SingleFieldBuilder
<RetryPolicy, RetryPolicy.Builder, RetryPolicyOrBuilder> private com.google.protobuf.Any
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> private com.google.protobuf.Duration
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private List
<RouteAction.UpgradeConfig> private com.google.protobuf.RepeatedFieldBuilder
<RouteAction.UpgradeConfig, RouteAction.UpgradeConfig.Builder, RouteAction.UpgradeConfigOrBuilder> private com.google.protobuf.SingleFieldBuilder
<WeightedCluster, WeightedCluster.Builder, WeightedClusterOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllHashPolicy
(Iterable<? extends RouteAction.HashPolicy> values) Specifies a list of hash policies to use for ring hash load balancing.addAllRateLimits
(Iterable<? extends RateLimit> values) Specifies a set of rate limit configurations that could be applied to the route.addAllRequestMirrorPolicies
(Iterable<? extends RouteAction.RequestMirrorPolicy> values) Specify a set of route request mirroring policies.addAllUpgradeConfigs
(Iterable<? extends RouteAction.UpgradeConfig> values) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
addHashPolicy
(int index, RouteAction.HashPolicy value) Specifies a list of hash policies to use for ring hash load balancing.addHashPolicy
(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing.Specifies a list of hash policies to use for ring hash load balancing.addHashPolicy
(RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing.Specifies a list of hash policies to use for ring hash load balancing.addHashPolicyBuilder
(int index) Specifies a list of hash policies to use for ring hash load balancing.addRateLimits
(int index, RateLimit value) Specifies a set of rate limit configurations that could be applied to the route.addRateLimits
(int index, RateLimit.Builder builderForValue) Specifies a set of rate limit configurations that could be applied to the route.addRateLimits
(RateLimit value) Specifies a set of rate limit configurations that could be applied to the route.addRateLimits
(RateLimit.Builder builderForValue) Specifies a set of rate limit configurations that could be applied to the route.Specifies a set of rate limit configurations that could be applied to the route.addRateLimitsBuilder
(int index) Specifies a set of rate limit configurations that could be applied to the route.addRequestMirrorPolicies
(int index, RouteAction.RequestMirrorPolicy value) Specify a set of route request mirroring policies.addRequestMirrorPolicies
(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Specify a set of route request mirroring policies.Specify a set of route request mirroring policies.addRequestMirrorPolicies
(RouteAction.RequestMirrorPolicy.Builder builderForValue) Specify a set of route request mirroring policies.Specify a set of route request mirroring policies.addRequestMirrorPoliciesBuilder
(int index) Specify a set of route request mirroring policies.addUpgradeConfigs
(int index, RouteAction.UpgradeConfig value) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
addUpgradeConfigs
(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
addUpgradeConfigs
(RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
addUpgradeConfigsBuilder
(int index) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
build()
private void
buildPartial0
(RouteAction result) private void
buildPartial1
(RouteAction result) private void
buildPartialOneofs
(RouteAction result) private void
clear()
If set, then a host rewrite action (one of :ref:`host_rewrite_literal <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_literal>`, :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`, :ref:`host_rewrite_header <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_header>`, or :ref:`host_rewrite_path_regex <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_path_regex>`) causes the original value of the host header, if any, to be appended to the :ref:`config_http_conn_man_headers_x-forwarded-host` HTTP header if it is different to the last value appended.Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.Indicates the upstream cluster to which the request should be routed to.Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers.The HTTP status code to use when configured cluster is not found.Name of the cluster specifier plugin to use to determine the cluster for requests on this route.Deprecated.Specifies how to send request over TLS early data.Deprecated.Specifies a list of hash policies to use for ring hash load balancing.Indicates that the route has a hedge policy.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.Indicates that during forwarding, the host header will be swapped with this 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.Specifies the idle timeout for the route.Deprecated.Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated.If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream.Deprecated.Deprecated.Specifies the maximum stream duration for this route.Optional endpoint metadata match criteria used by the subset load balancer.[#extension-category: envoy.path.rewrite]Indicates that during forwarding, the matched prefix (or path) should be swapped with this value.Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.Specifies a set of rate limit configurations that could be applied to the route.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.Specify a set of route request mirroring policies.Indicates that the route has a retry policy.[#not-implemented-hide:] Specifies the configuration for retry policy extension.Specifies the upstream timeout for the route.repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
Multiple upstream clusters can be specified for a given route.private void
private void
private void
private void
boolean
If set, then a host rewrite action (one of :ref:`host_rewrite_literal <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_literal>`, :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`, :ref:`host_rewrite_header <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_header>`, or :ref:`host_rewrite_path_regex <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_path_regex>`) causes the original value of the host header, if any, to be appended to the :ref:`config_http_conn_man_headers_x-forwarded-host` HTTP header if it is different to the last value appended.com.google.protobuf.BoolValue
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
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
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.Indicates the upstream cluster to which the request should be routed to.com.google.protobuf.ByteString
Indicates the upstream cluster to which the request should be routed to.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
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers.The HTTP status code to use when configured cluster is not found.int
The HTTP status code to use when configured cluster is not found.Name of the cluster specifier plugin to use to determine the cluster for requests on this route.com.google.protobuf.ByteString
Name of the cluster specifier plugin to use to determine the cluster for requests on this route.getCors()
Deprecated.envoy.config.route.v3.RouteAction.cors is deprecated.Deprecated.Deprecated.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Specifies how to send request over TLS early data.Specifies how to send request over TLS early data.Specifies how to send request over TLS early data.com.google.protobuf.Duration
Deprecated.envoy.config.route.v3.RouteAction.grpc_timeout_offset is deprecated.com.google.protobuf.Duration.Builder
Deprecated.com.google.protobuf.DurationOrBuilder
Deprecated.getHashPolicy
(int index) Specifies a list of hash policies to use for ring hash load balancing.getHashPolicyBuilder
(int index) Specifies a list of hash policies to use for ring hash load balancing.Specifies a list of hash policies to use for ring hash load balancing.int
Specifies a list of hash policies to use for ring hash load balancing.Specifies a list of hash policies to use for ring hash load balancing.getHashPolicyOrBuilder
(int index) Specifies a list of hash policies to use for ring hash load balancing.List
<? extends RouteAction.HashPolicyOrBuilder> Specifies a list of hash policies to use for ring hash load balancing.Indicates that the route has a hedge policy.Indicates that the route has a hedge policy.Indicates that the route has a hedge policy.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
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.Indicates that during forwarding, the host header will be swapped with this value.com.google.protobuf.ByteString
Indicates that during forwarding, the host header will be swapped with this 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.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.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.com.google.protobuf.Duration
Specifies the idle timeout for the route.com.google.protobuf.Duration.Builder
Specifies the idle timeout for the route.com.google.protobuf.DurationOrBuilder
Specifies the idle timeout for the route.com.google.protobuf.BoolValue
Deprecated.envoy.config.route.v3.RouteAction.include_vh_rate_limits is deprecated.com.google.protobuf.BoolValue.Builder
Deprecated.com.google.protobuf.BoolValueOrBuilder
Deprecated.Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated.int
Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated.If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream.If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream.If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream.com.google.protobuf.Duration
Deprecated.envoy.config.route.v3.RouteAction.max_grpc_timeout is deprecated.com.google.protobuf.Duration.Builder
Deprecated.com.google.protobuf.DurationOrBuilder
Deprecated.com.google.protobuf.UInt32Value
Deprecated.envoy.config.route.v3.RouteAction.max_internal_redirects is deprecated.com.google.protobuf.UInt32Value.Builder
Deprecated.com.google.protobuf.UInt32ValueOrBuilder
Deprecated.Specifies the maximum stream duration for this route.Specifies the maximum stream duration for this route.Specifies the maximum stream duration for this route.Optional endpoint metadata match criteria used by the subset load balancer.Optional endpoint metadata match criteria used by the subset load balancer.Optional endpoint metadata match criteria used by the subset load balancer.[#extension-category: envoy.path.rewrite][#extension-category: envoy.path.rewrite][#extension-category: envoy.path.rewrite]Indicates that during forwarding, the matched prefix (or path) should be swapped with this value.com.google.protobuf.ByteString
Indicates that during forwarding, the matched prefix (or path) should be swapped with this value.Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.int
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.getRateLimits
(int index) Specifies a set of rate limit configurations that could be applied to the route.getRateLimitsBuilder
(int index) Specifies a set of rate limit configurations that could be applied to the route.Specifies a set of rate limit configurations that could be applied to the route.int
Specifies a set of rate limit configurations that could be applied to the route.Specifies a set of rate limit configurations that could be applied to the route.getRateLimitsOrBuilder
(int index) Specifies a set of rate limit configurations that could be applied to the route.List
<? extends RateLimitOrBuilder> Specifies a set of rate limit configurations that could be applied to the route.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.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.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.getRequestMirrorPolicies
(int index) Specify a set of route request mirroring policies.getRequestMirrorPoliciesBuilder
(int index) Specify a set of route request mirroring policies.Specify a set of route request mirroring policies.int
Specify a set of route request mirroring policies.Specify a set of route request mirroring policies.getRequestMirrorPoliciesOrBuilder
(int index) Specify a set of route request mirroring policies.List
<? extends RouteAction.RequestMirrorPolicyOrBuilder> Specify a set of route request mirroring policies.Indicates that the route has a retry policy.Indicates that the route has a retry policy.Indicates that the route has a retry policy.com.google.protobuf.Any
[#not-implemented-hide:] Specifies the configuration for retry policy extension.com.google.protobuf.Any.Builder
[#not-implemented-hide:] Specifies the configuration for retry policy extension.com.google.protobuf.AnyOrBuilder
[#not-implemented-hide:] Specifies the configuration for retry policy extension.com.google.protobuf.Duration
Specifies the upstream timeout for the route.com.google.protobuf.Duration.Builder
Specifies the upstream timeout for the route.com.google.protobuf.DurationOrBuilder
Specifies the upstream timeout for the route.getUpgradeConfigs
(int index) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
getUpgradeConfigsBuilder
(int index) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
int
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
getUpgradeConfigsOrBuilder
(int index) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
List
<? extends RouteAction.UpgradeConfigOrBuilder> repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
Multiple upstream clusters can be specified for a given route.Multiple upstream clusters can be specified for a given route.Multiple upstream clusters can be specified for a given route.boolean
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.boolean
Indicates the upstream cluster to which the request should be routed to.boolean
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers.boolean
Name of the cluster specifier plugin to use to determine the cluster for requests on this route.boolean
hasCors()
Deprecated.envoy.config.route.v3.RouteAction.cors is deprecated.boolean
Specifies how to send request over TLS early data.boolean
Deprecated.envoy.config.route.v3.RouteAction.grpc_timeout_offset is deprecated.boolean
Indicates that the route has a hedge policy.boolean
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.boolean
Indicates that during forwarding, the host header will be swapped with this value.boolean
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
Specifies the idle timeout for the route.boolean
Deprecated.envoy.config.route.v3.RouteAction.include_vh_rate_limits is deprecated.boolean
Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.boolean
If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream.boolean
Deprecated.envoy.config.route.v3.RouteAction.max_grpc_timeout is deprecated.boolean
Deprecated.envoy.config.route.v3.RouteAction.max_internal_redirects is deprecated.boolean
Specifies the maximum stream duration for this route.boolean
Optional endpoint metadata match criteria used by the subset load balancer.boolean
[#extension-category: envoy.path.rewrite]boolean
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
Indicates that the route has a retry policy.boolean
[#not-implemented-hide:] Specifies the configuration for retry policy extension.boolean
Specifies the upstream timeout for the route.boolean
Multiple upstream clusters can be specified for a given route.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.private com.google.protobuf.SingleFieldBuilder
<CorsPolicy, CorsPolicy.Builder, CorsPolicyOrBuilder> Indicates that the route has a CORS policy.private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> Specifies how to send request over TLS early data.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_api_field_config.route.v3.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`.private com.google.protobuf.RepeatedFieldBuilder
<RouteAction.HashPolicy, RouteAction.HashPolicy.Builder, RouteAction.HashPolicyOrBuilder> private com.google.protobuf.SingleFieldBuilder
<HedgePolicy, HedgePolicy.Builder, HedgePolicyOrBuilder> Indicates that the route has a hedge policy.private com.google.protobuf.SingleFieldBuilder
<RegexMatchAndSubstitute, RegexMatchAndSubstitute.Builder, RegexMatchAndSubstituteOrBuilder> 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.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> Specifies the idle timeout for the route.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> Specifies if the rate limit filter should include the virtual host rate limits.private com.google.protobuf.SingleFieldBuilder
<ClusterSpecifierPlugin, ClusterSpecifierPlugin.Builder, ClusterSpecifierPluginOrBuilder> Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.private com.google.protobuf.SingleFieldBuilder
<InternalRedirectPolicy, InternalRedirectPolicy.Builder, InternalRedirectPolicyOrBuilder> If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> 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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_api_enum_value_config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream.private com.google.protobuf.SingleFieldBuilder
<RouteAction.MaxStreamDuration, RouteAction.MaxStreamDuration.Builder, RouteAction.MaxStreamDurationOrBuilder> Specifies the maximum stream duration for this route.private com.google.protobuf.SingleFieldBuilder
<Metadata, Metadata.Builder, MetadataOrBuilder> Optional endpoint metadata match criteria used by the subset load balancer.private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> [#extension-category: envoy.path.rewrite]private com.google.protobuf.RepeatedFieldBuilder
<RateLimit, RateLimit.Builder, RateLimitOrBuilder> private com.google.protobuf.SingleFieldBuilder
<RegexMatchAndSubstitute, RegexMatchAndSubstitute.Builder, RegexMatchAndSubstituteOrBuilder> 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.private com.google.protobuf.RepeatedFieldBuilder
<RouteAction.RequestMirrorPolicy, RouteAction.RequestMirrorPolicy.Builder, RouteAction.RequestMirrorPolicyOrBuilder> private com.google.protobuf.SingleFieldBuilder
<RetryPolicy, RetryPolicy.Builder, RetryPolicyOrBuilder> Indicates that the route has a retry policy.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> [#not-implemented-hide:] Specifies the configuration for retry policy extension.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> Specifies the upstream timeout for the route.private com.google.protobuf.RepeatedFieldBuilder
<RouteAction.UpgradeConfig, RouteAction.UpgradeConfig.Builder, RouteAction.UpgradeConfigOrBuilder> private com.google.protobuf.SingleFieldBuilder
<WeightedCluster, WeightedCluster.Builder, WeightedClusterOrBuilder> Multiple upstream clusters can be specified for a given route.final boolean
private void
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.mergeCors
(CorsPolicy value) Deprecated.Specifies how to send request over TLS early data.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(RouteAction other) mergeGrpcTimeoutOffset
(com.google.protobuf.Duration value) Deprecated.mergeHedgePolicy
(HedgePolicy value) Indicates that the route has a hedge policy.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.mergeIdleTimeout
(com.google.protobuf.Duration value) Specifies the idle timeout for the route.mergeIncludeVhRateLimits
(com.google.protobuf.BoolValue value) Deprecated.Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream.mergeMaxGrpcTimeout
(com.google.protobuf.Duration value) Deprecated.mergeMaxInternalRedirects
(com.google.protobuf.UInt32Value value) Deprecated.Specifies the maximum stream duration for this route.mergeMetadataMatch
(Metadata value) Optional endpoint metadata match criteria used by the subset load balancer.[#extension-category: envoy.path.rewrite]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.mergeRetryPolicy
(RetryPolicy value) Indicates that the route has a retry policy.mergeRetryPolicyTypedConfig
(com.google.protobuf.Any value) [#not-implemented-hide:] Specifies the configuration for retry policy extension.mergeTimeout
(com.google.protobuf.Duration value) Specifies the upstream timeout for the route.Multiple upstream clusters can be specified for a given route.removeHashPolicy
(int index) Specifies a list of hash policies to use for ring hash load balancing.removeRateLimits
(int index) Specifies a set of rate limit configurations that could be applied to the route.removeRequestMirrorPolicies
(int index) Specify a set of route request mirroring policies.removeUpgradeConfigs
(int index) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
setAppendXForwardedHost
(boolean value) If set, then a host rewrite action (one of :ref:`host_rewrite_literal <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_literal>`, :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`, :ref:`host_rewrite_header <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_header>`, or :ref:`host_rewrite_path_regex <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_path_regex>`) causes the original value of the host header, if any, to be appended to the :ref:`config_http_conn_man_headers_x-forwarded-host` HTTP header if it is different to the last value appended.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.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.setCluster
(String value) Indicates the upstream cluster to which the request should be routed to.setClusterBytes
(com.google.protobuf.ByteString value) Indicates the upstream cluster to which the request should be routed to.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.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.The HTTP status code to use when configured cluster is not found.setClusterNotFoundResponseCodeValue
(int value) The HTTP status code to use when configured cluster is not found.setClusterSpecifierPlugin
(String value) Name of the cluster specifier plugin to use to determine the cluster for requests on this route.setClusterSpecifierPluginBytes
(com.google.protobuf.ByteString value) Name of the cluster specifier plugin to use to determine the cluster for requests on this route.setCors
(CorsPolicy value) Deprecated.setCors
(CorsPolicy.Builder builderForValue) Deprecated.Specifies how to send request over TLS early data.setEarlyDataPolicy
(TypedExtensionConfig.Builder builderForValue) Specifies how to send request over TLS early data.setGrpcTimeoutOffset
(com.google.protobuf.Duration value) Deprecated.setGrpcTimeoutOffset
(com.google.protobuf.Duration.Builder builderForValue) Deprecated.setHashPolicy
(int index, RouteAction.HashPolicy value) Specifies a list of hash policies to use for ring hash load balancing.setHashPolicy
(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing.setHedgePolicy
(HedgePolicy value) Indicates that the route has a hedge policy.setHedgePolicy
(HedgePolicy.Builder builderForValue) Indicates that the route has a hedge policy.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.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.setHostRewriteLiteral
(String value) Indicates that during forwarding, the host header will be swapped with this value.setHostRewriteLiteralBytes
(com.google.protobuf.ByteString value) Indicates that during forwarding, the host header will be swapped with this 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.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.setIdleTimeout
(com.google.protobuf.Duration value) Specifies the idle timeout for the route.setIdleTimeout
(com.google.protobuf.Duration.Builder builderForValue) Specifies the idle timeout for the route.setIncludeVhRateLimits
(com.google.protobuf.BoolValue value) Deprecated.setIncludeVhRateLimits
(com.google.protobuf.BoolValue.Builder builderForValue) Deprecated.Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.setInlineClusterSpecifierPlugin
(ClusterSpecifierPlugin.Builder builderForValue) Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated.setInternalRedirectActionValue
(int value) Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated.If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream.setInternalRedirectPolicy
(InternalRedirectPolicy.Builder builderForValue) If present, Envoy will try to follow an upstream redirect response instead of proxying the response back to the downstream.setMaxGrpcTimeout
(com.google.protobuf.Duration value) Deprecated.setMaxGrpcTimeout
(com.google.protobuf.Duration.Builder builderForValue) Deprecated.setMaxInternalRedirects
(com.google.protobuf.UInt32Value value) Deprecated.setMaxInternalRedirects
(com.google.protobuf.UInt32Value.Builder builderForValue) Deprecated.Specifies the maximum stream duration for this route.setMaxStreamDuration
(RouteAction.MaxStreamDuration.Builder builderForValue) Specifies the maximum stream duration for this route.setMetadataMatch
(Metadata value) Optional endpoint metadata match criteria used by the subset load balancer.setMetadataMatch
(Metadata.Builder builderForValue) Optional endpoint metadata match criteria used by the subset load balancer.[#extension-category: envoy.path.rewrite]setPathRewritePolicy
(TypedExtensionConfig.Builder builderForValue) [#extension-category: envoy.path.rewrite]setPrefixRewrite
(String value) Indicates that during forwarding, the matched prefix (or path) should be swapped with this value.setPrefixRewriteBytes
(com.google.protobuf.ByteString value) Indicates that during forwarding, the matched prefix (or path) should be swapped with this value.setPriority
(RoutingPriority value) Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.setPriorityValue
(int value) Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.setRateLimits
(int index, RateLimit value) Specifies a set of rate limit configurations that could be applied to the route.setRateLimits
(int index, RateLimit.Builder builderForValue) Specifies a set of rate limit configurations that could be applied to the route.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.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.setRequestMirrorPolicies
(int index, RouteAction.RequestMirrorPolicy value) Specify a set of route request mirroring policies.setRequestMirrorPolicies
(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Specify a set of route request mirroring policies.setRetryPolicy
(RetryPolicy value) Indicates that the route has a retry policy.setRetryPolicy
(RetryPolicy.Builder builderForValue) Indicates that the route has a retry policy.setRetryPolicyTypedConfig
(com.google.protobuf.Any value) [#not-implemented-hide:] Specifies the configuration for retry policy extension.setRetryPolicyTypedConfig
(com.google.protobuf.Any.Builder builderForValue) [#not-implemented-hide:] Specifies the configuration for retry policy extension.setTimeout
(com.google.protobuf.Duration value) Specifies the upstream timeout for the route.setTimeout
(com.google.protobuf.Duration.Builder builderForValue) Specifies the upstream timeout for the route.setUpgradeConfigs
(int index, RouteAction.UpgradeConfig value) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
setUpgradeConfigs
(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
Multiple upstream clusters can be specified for a given route.setWeightedClusters
(WeightedCluster.Builder builderForValue) Multiple upstream clusters can be specified for a given route.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
clusterSpecifierCase_
private int clusterSpecifierCase_ -
clusterSpecifier_
-
hostRewriteSpecifierCase_
private int hostRewriteSpecifierCase_ -
hostRewriteSpecifier_
-
bitField0_
private int bitField0_ -
bitField1_
private int bitField1_ -
weightedClustersBuilder_
private com.google.protobuf.SingleFieldBuilder<WeightedCluster,WeightedCluster.Builder, weightedClustersBuilder_WeightedClusterOrBuilder> -
inlineClusterSpecifierPluginBuilder_
private com.google.protobuf.SingleFieldBuilder<ClusterSpecifierPlugin,ClusterSpecifierPlugin.Builder, inlineClusterSpecifierPluginBuilder_ClusterSpecifierPluginOrBuilder> -
clusterNotFoundResponseCode_
private int clusterNotFoundResponseCode_ -
metadataMatch_
-
metadataMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder, metadataMatchBuilder_MetadataOrBuilder> -
prefixRewrite_
-
regexRewrite_
-
regexRewriteBuilder_
private com.google.protobuf.SingleFieldBuilder<RegexMatchAndSubstitute,RegexMatchAndSubstitute.Builder, regexRewriteBuilder_RegexMatchAndSubstituteOrBuilder> -
pathRewritePolicy_
-
pathRewritePolicyBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, pathRewritePolicyBuilder_TypedExtensionConfigOrBuilder> -
autoHostRewriteBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, autoHostRewriteBuilder_com.google.protobuf.BoolValueOrBuilder> -
hostRewritePathRegexBuilder_
private com.google.protobuf.SingleFieldBuilder<RegexMatchAndSubstitute,RegexMatchAndSubstitute.Builder, hostRewritePathRegexBuilder_RegexMatchAndSubstituteOrBuilder> -
appendXForwardedHost_
private boolean appendXForwardedHost_ -
timeout_
private com.google.protobuf.Duration timeout_ -
timeoutBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, timeoutBuilder_com.google.protobuf.DurationOrBuilder> -
idleTimeout_
private com.google.protobuf.Duration idleTimeout_ -
idleTimeoutBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, idleTimeoutBuilder_com.google.protobuf.DurationOrBuilder> -
earlyDataPolicy_
-
earlyDataPolicyBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, earlyDataPolicyBuilder_TypedExtensionConfigOrBuilder> -
retryPolicy_
-
retryPolicyBuilder_
private com.google.protobuf.SingleFieldBuilder<RetryPolicy,RetryPolicy.Builder, retryPolicyBuilder_RetryPolicyOrBuilder> -
retryPolicyTypedConfig_
private com.google.protobuf.Any retryPolicyTypedConfig_ -
retryPolicyTypedConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder, retryPolicyTypedConfigBuilder_com.google.protobuf.AnyOrBuilder> -
requestMirrorPolicies_
-
requestMirrorPoliciesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder, requestMirrorPoliciesBuilder_RouteAction.RequestMirrorPolicyOrBuilder> -
priority_
private int priority_ -
rateLimits_
-
rateLimitsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<RateLimit,RateLimit.Builder, rateLimitsBuilder_RateLimitOrBuilder> -
includeVhRateLimits_
private com.google.protobuf.BoolValue includeVhRateLimits_ -
includeVhRateLimitsBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, includeVhRateLimitsBuilder_com.google.protobuf.BoolValueOrBuilder> -
hashPolicy_
-
hashPolicyBuilder_
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.HashPolicy,RouteAction.HashPolicy.Builder, hashPolicyBuilder_RouteAction.HashPolicyOrBuilder> -
cors_
-
corsBuilder_
private com.google.protobuf.SingleFieldBuilder<CorsPolicy,CorsPolicy.Builder, corsBuilder_CorsPolicyOrBuilder> -
maxGrpcTimeout_
private com.google.protobuf.Duration maxGrpcTimeout_ -
maxGrpcTimeoutBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, maxGrpcTimeoutBuilder_com.google.protobuf.DurationOrBuilder> -
grpcTimeoutOffset_
private com.google.protobuf.Duration grpcTimeoutOffset_ -
grpcTimeoutOffsetBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, grpcTimeoutOffsetBuilder_com.google.protobuf.DurationOrBuilder> -
upgradeConfigs_
-
upgradeConfigsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.UpgradeConfig,RouteAction.UpgradeConfig.Builder, upgradeConfigsBuilder_RouteAction.UpgradeConfigOrBuilder> -
internalRedirectPolicy_
-
internalRedirectPolicyBuilder_
private com.google.protobuf.SingleFieldBuilder<InternalRedirectPolicy,InternalRedirectPolicy.Builder, internalRedirectPolicyBuilder_InternalRedirectPolicyOrBuilder> -
internalRedirectAction_
private int internalRedirectAction_ -
maxInternalRedirects_
private com.google.protobuf.UInt32Value maxInternalRedirects_ -
maxInternalRedirectsBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, maxInternalRedirectsBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
hedgePolicy_
-
hedgePolicyBuilder_
private com.google.protobuf.SingleFieldBuilder<HedgePolicy,HedgePolicy.Builder, hedgePolicyBuilder_HedgePolicyOrBuilder> -
maxStreamDuration_
-
maxStreamDurationBuilder_
private com.google.protobuf.SingleFieldBuilder<RouteAction.MaxStreamDuration,RouteAction.MaxStreamDuration.Builder, maxStreamDurationBuilder_RouteAction.MaxStreamDurationOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RouteAction.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<RouteAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<RouteAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
buildPartial1
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<RouteAction.Builder>
-
mergeFrom
public RouteAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>
- Throws:
IOException
-
getClusterSpecifierCase
- Specified by:
getClusterSpecifierCase
in interfaceRouteActionOrBuilder
-
clearClusterSpecifier
-
getHostRewriteSpecifierCase
- Specified by:
getHostRewriteSpecifierCase
in interfaceRouteActionOrBuilder
-
clearHostRewriteSpecifier
-
hasCluster
public boolean hasCluster()Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }
- Specified by:
hasCluster
in interfaceRouteActionOrBuilder
- Returns:
- Whether the cluster field is set.
-
getCluster
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }
- Specified by:
getCluster
in interfaceRouteActionOrBuilder
- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }
- Specified by:
getClusterBytes
in interfaceRouteActionOrBuilder
- Returns:
- The bytes for cluster.
-
setCluster
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }
- Parameters:
value
- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setClusterBytes
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
hasClusterHeader
public boolean hasClusterHeader()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) = { ... }
- Specified by:
hasClusterHeader
in interfaceRouteActionOrBuilder
- Returns:
- Whether the clusterHeader field is set.
-
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) = { ... }
- Specified by:
getClusterHeader
in interfaceRouteActionOrBuilder
- Returns:
- The clusterHeader.
-
getClusterHeaderBytes
public 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) = { ... }
- Specified by:
getClusterHeaderBytes
in interfaceRouteActionOrBuilder
- Returns:
- The bytes for clusterHeader.
-
setClusterHeader
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) = { ... }
- Parameters:
value
- The clusterHeader to set.- Returns:
- This builder for chaining.
-
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) = { ... }
- Returns:
- This builder for chaining.
-
setClusterHeaderBytes
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) = { ... }
- Parameters:
value
- The bytes for clusterHeader to set.- Returns:
- This builder for chaining.
-
hasWeightedClusters
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;
- Specified by:
hasWeightedClusters
in interfaceRouteActionOrBuilder
- Returns:
- Whether the weightedClusters field is set.
-
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;
- Specified by:
getWeightedClusters
in interfaceRouteActionOrBuilder
- Returns:
- The weightedClusters.
-
setWeightedClusters
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;
-
setWeightedClusters
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;
-
mergeWeightedClusters
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;
-
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;
-
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;
-
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;
- Specified by:
getWeightedClustersOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetWeightedClustersFieldBuilder
private com.google.protobuf.SingleFieldBuilder<WeightedCluster,WeightedCluster.Builder, internalGetWeightedClustersFieldBuilder()WeightedClusterOrBuilder> 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;
-
hasClusterSpecifierPlugin
public boolean hasClusterSpecifierPlugin()Name of the cluster specifier plugin to use to determine the cluster for requests on this route. The cluster specifier plugin name must be defined in the associated :ref:`cluster specifier plugins <envoy_v3_api_field_config.route.v3.RouteConfiguration.cluster_specifier_plugins>` in the :ref:`name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` field.
string cluster_specifier_plugin = 37;
- Specified by:
hasClusterSpecifierPlugin
in interfaceRouteActionOrBuilder
- Returns:
- Whether the clusterSpecifierPlugin field is set.
-
getClusterSpecifierPlugin
Name of the cluster specifier plugin to use to determine the cluster for requests on this route. The cluster specifier plugin name must be defined in the associated :ref:`cluster specifier plugins <envoy_v3_api_field_config.route.v3.RouteConfiguration.cluster_specifier_plugins>` in the :ref:`name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` field.
string cluster_specifier_plugin = 37;
- Specified by:
getClusterSpecifierPlugin
in interfaceRouteActionOrBuilder
- Returns:
- The clusterSpecifierPlugin.
-
getClusterSpecifierPluginBytes
public com.google.protobuf.ByteString getClusterSpecifierPluginBytes()Name of the cluster specifier plugin to use to determine the cluster for requests on this route. The cluster specifier plugin name must be defined in the associated :ref:`cluster specifier plugins <envoy_v3_api_field_config.route.v3.RouteConfiguration.cluster_specifier_plugins>` in the :ref:`name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` field.
string cluster_specifier_plugin = 37;
- Specified by:
getClusterSpecifierPluginBytes
in interfaceRouteActionOrBuilder
- Returns:
- The bytes for clusterSpecifierPlugin.
-
setClusterSpecifierPlugin
Name of the cluster specifier plugin to use to determine the cluster for requests on this route. The cluster specifier plugin name must be defined in the associated :ref:`cluster specifier plugins <envoy_v3_api_field_config.route.v3.RouteConfiguration.cluster_specifier_plugins>` in the :ref:`name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` field.
string cluster_specifier_plugin = 37;
- Parameters:
value
- The clusterSpecifierPlugin to set.- Returns:
- This builder for chaining.
-
clearClusterSpecifierPlugin
Name of the cluster specifier plugin to use to determine the cluster for requests on this route. The cluster specifier plugin name must be defined in the associated :ref:`cluster specifier plugins <envoy_v3_api_field_config.route.v3.RouteConfiguration.cluster_specifier_plugins>` in the :ref:`name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` field.
string cluster_specifier_plugin = 37;
- Returns:
- This builder for chaining.
-
setClusterSpecifierPluginBytes
Name of the cluster specifier plugin to use to determine the cluster for requests on this route. The cluster specifier plugin name must be defined in the associated :ref:`cluster specifier plugins <envoy_v3_api_field_config.route.v3.RouteConfiguration.cluster_specifier_plugins>` in the :ref:`name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` field.
string cluster_specifier_plugin = 37;
- Parameters:
value
- The bytes for clusterSpecifierPlugin to set.- Returns:
- This builder for chaining.
-
hasInlineClusterSpecifierPlugin
public boolean hasInlineClusterSpecifierPlugin()Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.
.envoy.config.route.v3.ClusterSpecifierPlugin inline_cluster_specifier_plugin = 39;
- Specified by:
hasInlineClusterSpecifierPlugin
in interfaceRouteActionOrBuilder
- Returns:
- Whether the inlineClusterSpecifierPlugin field is set.
-
getInlineClusterSpecifierPlugin
Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.
.envoy.config.route.v3.ClusterSpecifierPlugin inline_cluster_specifier_plugin = 39;
- Specified by:
getInlineClusterSpecifierPlugin
in interfaceRouteActionOrBuilder
- Returns:
- The inlineClusterSpecifierPlugin.
-
setInlineClusterSpecifierPlugin
Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.
.envoy.config.route.v3.ClusterSpecifierPlugin inline_cluster_specifier_plugin = 39;
-
setInlineClusterSpecifierPlugin
public RouteAction.Builder setInlineClusterSpecifierPlugin(ClusterSpecifierPlugin.Builder builderForValue) Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.
.envoy.config.route.v3.ClusterSpecifierPlugin inline_cluster_specifier_plugin = 39;
-
mergeInlineClusterSpecifierPlugin
Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.
.envoy.config.route.v3.ClusterSpecifierPlugin inline_cluster_specifier_plugin = 39;
-
clearInlineClusterSpecifierPlugin
Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.
.envoy.config.route.v3.ClusterSpecifierPlugin inline_cluster_specifier_plugin = 39;
-
getInlineClusterSpecifierPluginBuilder
Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.
.envoy.config.route.v3.ClusterSpecifierPlugin inline_cluster_specifier_plugin = 39;
-
getInlineClusterSpecifierPluginOrBuilder
Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.
.envoy.config.route.v3.ClusterSpecifierPlugin inline_cluster_specifier_plugin = 39;
- Specified by:
getInlineClusterSpecifierPluginOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetInlineClusterSpecifierPluginFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ClusterSpecifierPlugin,ClusterSpecifierPlugin.Builder, internalGetInlineClusterSpecifierPluginFieldBuilder()ClusterSpecifierPluginOrBuilder> Custom cluster specifier plugin configuration to use to determine the cluster for requests on this route.
.envoy.config.route.v3.ClusterSpecifierPlugin inline_cluster_specifier_plugin = 39;
-
getClusterNotFoundResponseCodeValue
public 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) = { ... }
- Specified by:
getClusterNotFoundResponseCodeValue
in interfaceRouteActionOrBuilder
- Returns:
- The enum numeric value on the wire for clusterNotFoundResponseCode.
-
setClusterNotFoundResponseCodeValue
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) = { ... }
- Parameters:
value
- The enum numeric value on the wire for clusterNotFoundResponseCode to set.- Returns:
- This builder for chaining.
-
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) = { ... }
- Specified by:
getClusterNotFoundResponseCode
in interfaceRouteActionOrBuilder
- Returns:
- The clusterNotFoundResponseCode.
-
setClusterNotFoundResponseCode
public 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) = { ... }
- Parameters:
value
- The clusterNotFoundResponseCode to set.- Returns:
- This builder for chaining.
-
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) = { ... }
- Returns:
- This builder for chaining.
-
hasMetadataMatch
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_v3_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;
- Specified by:
hasMetadataMatch
in interfaceRouteActionOrBuilder
- Returns:
- Whether the metadataMatch field is set.
-
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_v3_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;
- Specified by:
getMetadataMatch
in interfaceRouteActionOrBuilder
- Returns:
- The metadataMatch.
-
setMetadataMatch
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_v3_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;
-
setMetadataMatch
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_v3_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;
-
mergeMetadataMatch
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_v3_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;
-
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_v3_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;
-
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_v3_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
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_v3_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;
- Specified by:
getMetadataMatchOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetMetadataMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder, internalGetMetadataMatchFieldBuilder()MetadataOrBuilder> 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_v3_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;
-
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 :ref:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>` :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`, or :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_v3_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_v3_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) = { ... }
- Specified by:
getPrefixRewrite
in interfaceRouteActionOrBuilder
- Returns:
- The prefixRewrite.
-
getPrefixRewriteBytes
public 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 :ref:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>` :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`, or :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_v3_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_v3_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) = { ... }
- Specified by:
getPrefixRewriteBytes
in interfaceRouteActionOrBuilder
- Returns:
- The bytes for prefixRewrite.
-
setPrefixRewrite
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 :ref:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>` :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`, or :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_v3_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_v3_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) = { ... }
- Parameters:
value
- The prefixRewrite to set.- Returns:
- This builder for chaining.
-
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 :ref:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>` :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`, or :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_v3_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_v3_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) = { ... }
- Returns:
- This builder for chaining.
-
setPrefixRewriteBytes
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 :ref:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>` :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`, or :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_v3_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_v3_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) = { ... }
- Parameters:
value
- The bytes for prefixRewrite to set.- Returns:
- This builder for chaining.
-
hasRegexRewrite
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:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>`, :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`, or :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`] 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;
- Specified by:
hasRegexRewrite
in interfaceRouteActionOrBuilder
- Returns:
- Whether the regexRewrite field is set.
-
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:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>`, :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`, or :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`] 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;
- Specified by:
getRegexRewrite
in interfaceRouteActionOrBuilder
- Returns:
- The regexRewrite.
-
setRegexRewrite
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:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>`, :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`, or :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`] 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;
-
setRegexRewrite
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:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>`, :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`, or :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`] 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;
-
mergeRegexRewrite
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:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>`, :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`, or :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`] 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;
-
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:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>`, :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`, or :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`] 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;
-
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:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>`, :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`, or :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`] 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
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:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>`, :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`, or :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`] 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;
- Specified by:
getRegexRewriteOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetRegexRewriteFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RegexMatchAndSubstitute,RegexMatchAndSubstitute.Builder, internalGetRegexRewriteFieldBuilder()RegexMatchAndSubstituteOrBuilder> 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:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>`, :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`, or :ref:`path_rewrite_policy <envoy_v3_api_field_config.route.v3.RouteAction.path_rewrite_policy>`] 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;
-
hasPathRewritePolicy
public boolean hasPathRewritePolicy()[#extension-category: envoy.path.rewrite]
.envoy.config.core.v3.TypedExtensionConfig path_rewrite_policy = 41;
- Specified by:
hasPathRewritePolicy
in interfaceRouteActionOrBuilder
- Returns:
- Whether the pathRewritePolicy field is set.
-
getPathRewritePolicy
[#extension-category: envoy.path.rewrite]
.envoy.config.core.v3.TypedExtensionConfig path_rewrite_policy = 41;
- Specified by:
getPathRewritePolicy
in interfaceRouteActionOrBuilder
- Returns:
- The pathRewritePolicy.
-
setPathRewritePolicy
[#extension-category: envoy.path.rewrite]
.envoy.config.core.v3.TypedExtensionConfig path_rewrite_policy = 41;
-
setPathRewritePolicy
[#extension-category: envoy.path.rewrite]
.envoy.config.core.v3.TypedExtensionConfig path_rewrite_policy = 41;
-
mergePathRewritePolicy
[#extension-category: envoy.path.rewrite]
.envoy.config.core.v3.TypedExtensionConfig path_rewrite_policy = 41;
-
clearPathRewritePolicy
[#extension-category: envoy.path.rewrite]
.envoy.config.core.v3.TypedExtensionConfig path_rewrite_policy = 41;
-
getPathRewritePolicyBuilder
[#extension-category: envoy.path.rewrite]
.envoy.config.core.v3.TypedExtensionConfig path_rewrite_policy = 41;
-
getPathRewritePolicyOrBuilder
[#extension-category: envoy.path.rewrite]
.envoy.config.core.v3.TypedExtensionConfig path_rewrite_policy = 41;
- Specified by:
getPathRewritePolicyOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetPathRewritePolicyFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, internalGetPathRewritePolicyFieldBuilder()TypedExtensionConfigOrBuilder> [#extension-category: envoy.path.rewrite]
.envoy.config.core.v3.TypedExtensionConfig path_rewrite_policy = 41;
-
hasHostRewriteLiteral
public boolean hasHostRewriteLiteral()Indicates that during forwarding, the host header will be swapped with this value. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }
- Specified by:
hasHostRewriteLiteral
in interfaceRouteActionOrBuilder
- Returns:
- Whether the hostRewriteLiteral field is set.
-
getHostRewriteLiteral
Indicates that during forwarding, the host header will be swapped with this value. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }
- Specified by:
getHostRewriteLiteral
in interfaceRouteActionOrBuilder
- Returns:
- The hostRewriteLiteral.
-
getHostRewriteLiteralBytes
public com.google.protobuf.ByteString getHostRewriteLiteralBytes()Indicates that during forwarding, the host header will be swapped with this value. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }
- Specified by:
getHostRewriteLiteralBytes
in interfaceRouteActionOrBuilder
- Returns:
- The bytes for hostRewriteLiteral.
-
setHostRewriteLiteral
Indicates that during forwarding, the host header will be swapped with this value. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }
- Parameters:
value
- The hostRewriteLiteral to set.- Returns:
- This builder for chaining.
-
clearHostRewriteLiteral
Indicates that during forwarding, the host header will be swapped with this value. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setHostRewriteLiteralBytes
Indicates that during forwarding, the host header will be swapped with this value. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
string host_rewrite_literal = 6 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for hostRewriteLiteral to set.- Returns:
- This builder for chaining.
-
hasAutoHostRewrite
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``, or when :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` field is not empty. Setting this to true with other cluster types has no effect. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
.google.protobuf.BoolValue auto_host_rewrite = 7;
- Specified by:
hasAutoHostRewrite
in interfaceRouteActionOrBuilder
- Returns:
- Whether the autoHostRewrite field is set.
-
getAutoHostRewrite
public 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``, or when :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` field is not empty. Setting this to true with other cluster types has no effect. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
.google.protobuf.BoolValue auto_host_rewrite = 7;
- Specified by:
getAutoHostRewrite
in interfaceRouteActionOrBuilder
- Returns:
- The autoHostRewrite.
-
setAutoHostRewrite
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``, or when :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` field is not empty. Setting this to true with other cluster types has no effect. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
.google.protobuf.BoolValue auto_host_rewrite = 7;
-
setAutoHostRewrite
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``, or when :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` field is not empty. Setting this to true with other cluster types has no effect. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
.google.protobuf.BoolValue auto_host_rewrite = 7;
-
mergeAutoHostRewrite
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``, or when :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` field is not empty. Setting this to true with other cluster types has no effect. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
.google.protobuf.BoolValue auto_host_rewrite = 7;
-
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``, or when :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` field is not empty. Setting this to true with other cluster types has no effect. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
.google.protobuf.BoolValue auto_host_rewrite = 7;
-
getAutoHostRewriteBuilder
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``, or when :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` field is not empty. Setting this to true with other cluster types has no effect. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
.google.protobuf.BoolValue auto_host_rewrite = 7;
-
getAutoHostRewriteOrBuilder
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``, or when :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` field is not empty. Setting this to true with other cluster types has no effect. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
.google.protobuf.BoolValue auto_host_rewrite = 7;
- Specified by:
getAutoHostRewriteOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetAutoHostRewriteFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, internalGetAutoHostRewriteFieldBuilder()com.google.protobuf.BoolValueOrBuilder> 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``, or when :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` field is not empty. Setting this to true with other cluster types has no effect. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set.
.google.protobuf.BoolValue auto_host_rewrite = 7;
-
hasHostRewriteHeader
public boolean hasHostRewriteHeader()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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. .. 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) = { ... }
- Specified by:
hasHostRewriteHeader
in interfaceRouteActionOrBuilder
- Returns:
- Whether the hostRewriteHeader field is set.
-
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. .. 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) = { ... }
- Specified by:
getHostRewriteHeader
in interfaceRouteActionOrBuilder
- Returns:
- The hostRewriteHeader.
-
getHostRewriteHeaderBytes
public 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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. .. 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) = { ... }
- Specified by:
getHostRewriteHeaderBytes
in interfaceRouteActionOrBuilder
- Returns:
- The bytes for hostRewriteHeader.
-
setHostRewriteHeader
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. .. 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) = { ... }
- Parameters:
value
- The hostRewriteHeader to set.- Returns:
- This builder for chaining.
-
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. .. 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) = { ... }
- Returns:
- This builder for chaining.
-
setHostRewriteHeaderBytes
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. .. 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) = { ... }
- Parameters:
value
- The bytes for hostRewriteHeader to set.- Returns:
- This builder for chaining.
-
hasHostRewritePathRegex
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. 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;
- Specified by:
hasHostRewritePathRegex
in interfaceRouteActionOrBuilder
- Returns:
- Whether the hostRewritePathRegex field is set.
-
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. 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;
- Specified by:
getHostRewritePathRegex
in interfaceRouteActionOrBuilder
- Returns:
- The hostRewritePathRegex.
-
setHostRewritePathRegex
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. 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;
-
setHostRewritePathRegex
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. 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;
-
mergeHostRewritePathRegex
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. 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;
-
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. 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;
-
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. 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
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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. 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;
- Specified by:
getHostRewritePathRegexOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetHostRewritePathRegexFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RegexMatchAndSubstitute,RegexMatchAndSubstitute.Builder, internalGetHostRewritePathRegexFieldBuilder()RegexMatchAndSubstituteOrBuilder> 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. Using this option will append the :ref:`config_http_conn_man_headers_x-forwarded-host` header if :ref:`append_x_forwarded_host <envoy_v3_api_field_config.route.v3.RouteAction.append_x_forwarded_host>` is set. 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;
-
getAppendXForwardedHost
public boolean getAppendXForwardedHost()If set, then a host rewrite action (one of :ref:`host_rewrite_literal <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_literal>`, :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`, :ref:`host_rewrite_header <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_header>`, or :ref:`host_rewrite_path_regex <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_path_regex>`) causes the original value of the host header, if any, to be appended to the :ref:`config_http_conn_man_headers_x-forwarded-host` HTTP header if it is different to the last value appended.
bool append_x_forwarded_host = 38;
- Specified by:
getAppendXForwardedHost
in interfaceRouteActionOrBuilder
- Returns:
- The appendXForwardedHost.
-
setAppendXForwardedHost
If set, then a host rewrite action (one of :ref:`host_rewrite_literal <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_literal>`, :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`, :ref:`host_rewrite_header <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_header>`, or :ref:`host_rewrite_path_regex <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_path_regex>`) causes the original value of the host header, if any, to be appended to the :ref:`config_http_conn_man_headers_x-forwarded-host` HTTP header if it is different to the last value appended.
bool append_x_forwarded_host = 38;
- Parameters:
value
- The appendXForwardedHost to set.- Returns:
- This builder for chaining.
-
clearAppendXForwardedHost
If set, then a host rewrite action (one of :ref:`host_rewrite_literal <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_literal>`, :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`, :ref:`host_rewrite_header <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_header>`, or :ref:`host_rewrite_path_regex <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_path_regex>`) causes the original value of the host header, if any, to be appended to the :ref:`config_http_conn_man_headers_x-forwarded-host` HTTP header if it is different to the last value appended.
bool append_x_forwarded_host = 38;
- Returns:
- This builder for chaining.
-
hasTimeout
public 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;
- Specified by:
hasTimeout
in interfaceRouteActionOrBuilder
- Returns:
- Whether the timeout field is set.
-
getTimeout
public 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;
- Specified by:
getTimeout
in interfaceRouteActionOrBuilder
- Returns:
- The timeout.
-
setTimeout
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;
-
setTimeout
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;
-
mergeTimeout
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;
-
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;
-
getTimeoutBuilder
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;
-
getTimeoutOrBuilder
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;
- Specified by:
getTimeoutOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetTimeoutFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, internalGetTimeoutFieldBuilder()com.google.protobuf.DurationOrBuilder> 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;
-
hasIdleTimeout
public 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_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_v3_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_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;
- Specified by:
hasIdleTimeout
in interfaceRouteActionOrBuilder
- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public 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_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_v3_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_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;
- Specified by:
getIdleTimeout
in interfaceRouteActionOrBuilder
- Returns:
- The idleTimeout.
-
setIdleTimeout
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_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_v3_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_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;
-
setIdleTimeout
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_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_v3_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_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;
-
mergeIdleTimeout
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_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_v3_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_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;
-
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_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_v3_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_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;
-
getIdleTimeoutBuilder
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_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_v3_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_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;
-
getIdleTimeoutOrBuilder
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_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_v3_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_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;
- Specified by:
getIdleTimeoutOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetIdleTimeoutFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, internalGetIdleTimeoutFieldBuilder()com.google.protobuf.DurationOrBuilder> 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_v3_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_v3_api_field_config.route.v3.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_v3_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_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
.google.protobuf.Duration idle_timeout = 24;
-
hasEarlyDataPolicy
public boolean hasEarlyDataPolicy()Specifies how to send request over TLS early data. If absent, allows `safe HTTP requests <https://www.rfc-editor.org/rfc/rfc7231#section-4.2.1>`_ to be sent on early data. [#extension-category: envoy.route.early_data_policy]
.envoy.config.core.v3.TypedExtensionConfig early_data_policy = 40;
- Specified by:
hasEarlyDataPolicy
in interfaceRouteActionOrBuilder
- Returns:
- Whether the earlyDataPolicy field is set.
-
getEarlyDataPolicy
Specifies how to send request over TLS early data. If absent, allows `safe HTTP requests <https://www.rfc-editor.org/rfc/rfc7231#section-4.2.1>`_ to be sent on early data. [#extension-category: envoy.route.early_data_policy]
.envoy.config.core.v3.TypedExtensionConfig early_data_policy = 40;
- Specified by:
getEarlyDataPolicy
in interfaceRouteActionOrBuilder
- Returns:
- The earlyDataPolicy.
-
setEarlyDataPolicy
Specifies how to send request over TLS early data. If absent, allows `safe HTTP requests <https://www.rfc-editor.org/rfc/rfc7231#section-4.2.1>`_ to be sent on early data. [#extension-category: envoy.route.early_data_policy]
.envoy.config.core.v3.TypedExtensionConfig early_data_policy = 40;
-
setEarlyDataPolicy
Specifies how to send request over TLS early data. If absent, allows `safe HTTP requests <https://www.rfc-editor.org/rfc/rfc7231#section-4.2.1>`_ to be sent on early data. [#extension-category: envoy.route.early_data_policy]
.envoy.config.core.v3.TypedExtensionConfig early_data_policy = 40;
-
mergeEarlyDataPolicy
Specifies how to send request over TLS early data. If absent, allows `safe HTTP requests <https://www.rfc-editor.org/rfc/rfc7231#section-4.2.1>`_ to be sent on early data. [#extension-category: envoy.route.early_data_policy]
.envoy.config.core.v3.TypedExtensionConfig early_data_policy = 40;
-
clearEarlyDataPolicy
Specifies how to send request over TLS early data. If absent, allows `safe HTTP requests <https://www.rfc-editor.org/rfc/rfc7231#section-4.2.1>`_ to be sent on early data. [#extension-category: envoy.route.early_data_policy]
.envoy.config.core.v3.TypedExtensionConfig early_data_policy = 40;
-
getEarlyDataPolicyBuilder
Specifies how to send request over TLS early data. If absent, allows `safe HTTP requests <https://www.rfc-editor.org/rfc/rfc7231#section-4.2.1>`_ to be sent on early data. [#extension-category: envoy.route.early_data_policy]
.envoy.config.core.v3.TypedExtensionConfig early_data_policy = 40;
-
getEarlyDataPolicyOrBuilder
Specifies how to send request over TLS early data. If absent, allows `safe HTTP requests <https://www.rfc-editor.org/rfc/rfc7231#section-4.2.1>`_ to be sent on early data. [#extension-category: envoy.route.early_data_policy]
.envoy.config.core.v3.TypedExtensionConfig early_data_policy = 40;
- Specified by:
getEarlyDataPolicyOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetEarlyDataPolicyFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, internalGetEarlyDataPolicyFieldBuilder()TypedExtensionConfigOrBuilder> Specifies how to send request over TLS early data. If absent, allows `safe HTTP requests <https://www.rfc-editor.org/rfc/rfc7231#section-4.2.1>`_ to be sent on early data. [#extension-category: envoy.route.early_data_policy]
.envoy.config.core.v3.TypedExtensionConfig early_data_policy = 40;
-
hasRetryPolicy
public 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;
- Specified by:
hasRetryPolicy
in interfaceRouteActionOrBuilder
- Returns:
- Whether the retryPolicy field is set.
-
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;
- Specified by:
getRetryPolicy
in interfaceRouteActionOrBuilder
- Returns:
- The retryPolicy.
-
setRetryPolicy
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;
-
setRetryPolicy
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;
-
mergeRetryPolicy
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;
-
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;
-
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;
-
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;
- Specified by:
getRetryPolicyOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetRetryPolicyFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RetryPolicy,RetryPolicy.Builder, internalGetRetryPolicyFieldBuilder()RetryPolicyOrBuilder> 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;
-
hasRetryPolicyTypedConfig
public 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_v3_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;
- Specified by:
hasRetryPolicyTypedConfig
in interfaceRouteActionOrBuilder
- Returns:
- Whether the retryPolicyTypedConfig field is set.
-
getRetryPolicyTypedConfig
public 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_v3_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;
- Specified by:
getRetryPolicyTypedConfig
in interfaceRouteActionOrBuilder
- Returns:
- The retryPolicyTypedConfig.
-
setRetryPolicyTypedConfig
[#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_v3_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;
-
setRetryPolicyTypedConfig
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_v3_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;
-
mergeRetryPolicyTypedConfig
[#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_v3_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;
-
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_v3_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;
-
getRetryPolicyTypedConfigBuilder
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_v3_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
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_v3_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;
- Specified by:
getRetryPolicyTypedConfigOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetRetryPolicyTypedConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder, internalGetRetryPolicyTypedConfigFieldBuilder()com.google.protobuf.AnyOrBuilder> [#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_v3_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;
-
ensureRequestMirrorPoliciesIsMutable
private void ensureRequestMirrorPoliciesIsMutable() -
getRequestMirrorPoliciesList
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
- Specified by:
getRequestMirrorPoliciesList
in interfaceRouteActionOrBuilder
-
getRequestMirrorPoliciesCount
public int getRequestMirrorPoliciesCount()Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
- Specified by:
getRequestMirrorPoliciesCount
in interfaceRouteActionOrBuilder
-
getRequestMirrorPolicies
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
- Specified by:
getRequestMirrorPolicies
in interfaceRouteActionOrBuilder
-
setRequestMirrorPolicies
public RouteAction.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
setRequestMirrorPolicies
public RouteAction.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
addRequestMirrorPolicies
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
addRequestMirrorPolicies
public RouteAction.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
addRequestMirrorPolicies
public RouteAction.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue) Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
addRequestMirrorPolicies
public RouteAction.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
addAllRequestMirrorPolicies
public RouteAction.Builder addAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values) Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
clearRequestMirrorPolicies
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
removeRequestMirrorPolicies
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
getRequestMirrorPoliciesBuilder
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
getRequestMirrorPoliciesOrBuilder
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
- Specified by:
getRequestMirrorPoliciesOrBuilder
in interfaceRouteActionOrBuilder
-
getRequestMirrorPoliciesOrBuilderList
public List<? extends RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesOrBuilderList()Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
- Specified by:
getRequestMirrorPoliciesOrBuilderList
in interfaceRouteActionOrBuilder
-
addRequestMirrorPoliciesBuilder
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
addRequestMirrorPoliciesBuilder
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
getRequestMirrorPoliciesBuilderList
Specify a set of route request mirroring policies. It takes precedence over the virtual host and route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;
-
internalGetRequestMirrorPoliciesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder, internalGetRequestMirrorPoliciesFieldBuilder()RouteAction.RequestMirrorPolicyOrBuilder> -
getPriorityValue
public int getPriorityValue()Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }
- Specified by:
getPriorityValue
in interfaceRouteActionOrBuilder
- Returns:
- The enum numeric value on the wire for priority.
-
setPriorityValue
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }
- Parameters:
value
- The enum numeric value on the wire for priority to set.- Returns:
- This builder for chaining.
-
getPriority
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }
- Specified by:
getPriority
in interfaceRouteActionOrBuilder
- Returns:
- The priority.
-
setPriority
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }
- Parameters:
value
- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.config.core.v3.RoutingPriority priority = 11 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
ensureRateLimitsIsMutable
private void ensureRateLimitsIsMutable() -
getRateLimitsList
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
- Specified by:
getRateLimitsList
in interfaceRouteActionOrBuilder
-
getRateLimitsCount
public 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;
- Specified by:
getRateLimitsCount
in interfaceRouteActionOrBuilder
-
getRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
- Specified by:
getRateLimits
in interfaceRouteActionOrBuilder
-
setRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
setRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
addAllRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
clearRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
removeRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
getRateLimitsBuilder
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
getRateLimitsOrBuilder
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
- Specified by:
getRateLimitsOrBuilder
in interfaceRouteActionOrBuilder
-
getRateLimitsOrBuilderList
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
- Specified by:
getRateLimitsOrBuilderList
in interfaceRouteActionOrBuilder
-
addRateLimitsBuilder
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
addRateLimitsBuilder
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
getRateLimitsBuilderList
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.config.route.v3.RateLimit rate_limits = 13;
-
internalGetRateLimitsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<RateLimit,RateLimit.Builder, internalGetRateLimitsFieldBuilder()RateLimitOrBuilder> -
hasIncludeVhRateLimits
Deprecated.envoy.config.route.v3.RouteAction.include_vh_rate_limits is deprecated. See envoy/config/route/v3/route_components.proto;l=1295Specifies 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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasIncludeVhRateLimits
in interfaceRouteActionOrBuilder
- Returns:
- Whether the includeVhRateLimits field is set.
-
getIncludeVhRateLimits
Deprecated.envoy.config.route.v3.RouteAction.include_vh_rate_limits is deprecated. See envoy/config/route/v3/route_components.proto;l=1295Specifies 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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getIncludeVhRateLimits
in interfaceRouteActionOrBuilder
- Returns:
- The includeVhRateLimits.
-
setIncludeVhRateLimits
Deprecated.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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
setIncludeVhRateLimits
@Deprecated public RouteAction.Builder setIncludeVhRateLimits(com.google.protobuf.BoolValue.Builder builderForValue) Deprecated.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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
mergeIncludeVhRateLimits
@Deprecated public RouteAction.Builder mergeIncludeVhRateLimits(com.google.protobuf.BoolValue value) Deprecated.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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
clearIncludeVhRateLimits
Deprecated.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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getIncludeVhRateLimitsBuilder
Deprecated.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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getIncludeVhRateLimitsOrBuilder
Deprecated.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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getIncludeVhRateLimitsOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetIncludeVhRateLimitsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, internalGetIncludeVhRateLimitsFieldBuilder()com.google.protobuf.BoolValueOrBuilder> 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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
ensureHashPolicyIsMutable
private void ensureHashPolicyIsMutable() -
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;
- Specified by:
getHashPolicyList
in interfaceRouteActionOrBuilder
-
getHashPolicyCount
public 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;
- Specified by:
getHashPolicyCount
in interfaceRouteActionOrBuilder
-
getHashPolicy
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;
- Specified by:
getHashPolicy
in interfaceRouteActionOrBuilder
-
setHashPolicy
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;
-
setHashPolicy
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;
-
addHashPolicy
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;
-
addHashPolicy
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;
-
addHashPolicy
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;
-
addHashPolicy
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;
-
addAllHashPolicy
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;
-
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;
-
removeHashPolicy
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;
-
getHashPolicyBuilder
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
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;
- Specified by:
getHashPolicyOrBuilder
in interfaceRouteActionOrBuilder
-
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;
- Specified by:
getHashPolicyOrBuilderList
in interfaceRouteActionOrBuilder
-
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;
-
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;
-
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;
-
internalGetHashPolicyFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.HashPolicy,RouteAction.HashPolicy.Builder, internalGetHashPolicyFieldBuilder()RouteAction.HashPolicyOrBuilder> -
hasCors
Deprecated.envoy.config.route.v3.RouteAction.cors is deprecated. See envoy/config/route/v3/route_components.proto;l=1322Indicates that the route has a CORS policy. This field is ignored if related cors policy is found in the :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 17 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasCors
in interfaceRouteActionOrBuilder
- Returns:
- Whether the cors field is set.
-
getCors
Deprecated.envoy.config.route.v3.RouteAction.cors is deprecated. See envoy/config/route/v3/route_components.proto;l=1322Indicates that the route has a CORS policy. This field is ignored if related cors policy is found in the :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 17 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getCors
in interfaceRouteActionOrBuilder
- Returns:
- The cors.
-
setCors
Deprecated.Indicates that the route has a CORS policy. This field is ignored if related cors policy is found in the :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 17 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
setCors
Deprecated.Indicates that the route has a CORS policy. This field is ignored if related cors policy is found in the :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 17 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
mergeCors
Deprecated.Indicates that the route has a CORS policy. This field is ignored if related cors policy is found in the :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 17 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
clearCors
Deprecated.Indicates that the route has a CORS policy. This field is ignored if related cors policy is found in the :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 17 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getCorsBuilder
Deprecated.Indicates that the route has a CORS policy. This field is ignored if related cors policy is found in the :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 17 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getCorsOrBuilder
Deprecated.Indicates that the route has a CORS policy. This field is ignored if related cors policy is found in the :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 17 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getCorsOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetCorsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CorsPolicy,CorsPolicy.Builder, internalGetCorsFieldBuilder()CorsPolicyOrBuilder> Indicates that the route has a CORS policy. This field is ignored if related cors policy is found in the :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`Route.typed_per_filter_config<envoy_v3_api_field_config.route.v3.Route.typed_per_filter_config>` or :ref:`WeightedCluster.ClusterWeight.typed_per_filter_config<envoy_v3_api_field_config.route.v3.WeightedCluster.ClusterWeight.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 17 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
hasMaxGrpcTimeout
Deprecated.envoy.config.route.v3.RouteAction.max_grpc_timeout is deprecated. See envoy/config/route/v3/route_components.proto;l=1344Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasMaxGrpcTimeout
in interfaceRouteActionOrBuilder
- Returns:
- Whether the maxGrpcTimeout field is set.
-
getMaxGrpcTimeout
Deprecated.envoy.config.route.v3.RouteAction.max_grpc_timeout is deprecated. See envoy/config/route/v3/route_components.proto;l=1344Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getMaxGrpcTimeout
in interfaceRouteActionOrBuilder
- Returns:
- The maxGrpcTimeout.
-
setMaxGrpcTimeout
Deprecated.Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
setMaxGrpcTimeout
@Deprecated public RouteAction.Builder setMaxGrpcTimeout(com.google.protobuf.Duration.Builder builderForValue) Deprecated.Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
mergeMaxGrpcTimeout
Deprecated.Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
clearMaxGrpcTimeout
Deprecated.Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getMaxGrpcTimeoutBuilder
Deprecated.Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getMaxGrpcTimeoutOrBuilder
Deprecated.Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getMaxGrpcTimeoutOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetMaxGrpcTimeoutFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, internalGetMaxGrpcTimeoutFieldBuilder()com.google.protobuf.DurationOrBuilder> Deprecated by :ref:`grpc_timeout_header_max <envoy_v3_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_v3_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_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
hasGrpcTimeoutOffset
Deprecated.envoy.config.route.v3.RouteAction.grpc_timeout_offset is deprecated. See envoy/config/route/v3/route_components.proto;l=1355Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasGrpcTimeoutOffset
in interfaceRouteActionOrBuilder
- Returns:
- Whether the grpcTimeoutOffset field is set.
-
getGrpcTimeoutOffset
Deprecated.envoy.config.route.v3.RouteAction.grpc_timeout_offset is deprecated. See envoy/config/route/v3/route_components.proto;l=1355Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getGrpcTimeoutOffset
in interfaceRouteActionOrBuilder
- Returns:
- The grpcTimeoutOffset.
-
setGrpcTimeoutOffset
Deprecated.Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
setGrpcTimeoutOffset
@Deprecated public RouteAction.Builder setGrpcTimeoutOffset(com.google.protobuf.Duration.Builder builderForValue) Deprecated.Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
mergeGrpcTimeoutOffset
Deprecated.Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
clearGrpcTimeoutOffset
Deprecated.Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getGrpcTimeoutOffsetBuilder
Deprecated.Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getGrpcTimeoutOffsetOrBuilder
Deprecated.Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getGrpcTimeoutOffsetOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetGrpcTimeoutOffsetFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, internalGetGrpcTimeoutOffsetFieldBuilder()com.google.protobuf.DurationOrBuilder> Deprecated by :ref:`grpc_timeout_header_offset <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
ensureUpgradeConfigsIsMutable
private void ensureUpgradeConfigsIsMutable() -
getUpgradeConfigsList
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
- Specified by:
getUpgradeConfigsList
in interfaceRouteActionOrBuilder
-
getUpgradeConfigsCount
public int getUpgradeConfigsCount()repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
- Specified by:
getUpgradeConfigsCount
in interfaceRouteActionOrBuilder
-
getUpgradeConfigs
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
- Specified by:
getUpgradeConfigs
in interfaceRouteActionOrBuilder
-
setUpgradeConfigs
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
setUpgradeConfigs
public RouteAction.Builder setUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
addUpgradeConfigs
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
addUpgradeConfigs
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
addUpgradeConfigs
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
addUpgradeConfigs
public RouteAction.Builder addUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
addAllUpgradeConfigs
public RouteAction.Builder addAllUpgradeConfigs(Iterable<? extends RouteAction.UpgradeConfig> values) repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
clearUpgradeConfigs
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
removeUpgradeConfigs
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
getUpgradeConfigsBuilder
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
getUpgradeConfigsOrBuilder
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
- Specified by:
getUpgradeConfigsOrBuilder
in interfaceRouteActionOrBuilder
-
getUpgradeConfigsOrBuilderList
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
- Specified by:
getUpgradeConfigsOrBuilderList
in interfaceRouteActionOrBuilder
-
addUpgradeConfigsBuilder
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
addUpgradeConfigsBuilder
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
getUpgradeConfigsBuilderList
repeated .envoy.config.route.v3.RouteAction.UpgradeConfig upgrade_configs = 25;
-
internalGetUpgradeConfigsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.UpgradeConfig,RouteAction.UpgradeConfig.Builder, internalGetUpgradeConfigsFieldBuilder()RouteAction.UpgradeConfigOrBuilder> -
hasInternalRedirectPolicy
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_v3_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;
- Specified by:
hasInternalRedirectPolicy
in interfaceRouteActionOrBuilder
- Returns:
- Whether the internalRedirectPolicy field is set.
-
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_v3_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;
- Specified by:
getInternalRedirectPolicy
in interfaceRouteActionOrBuilder
- Returns:
- The internalRedirectPolicy.
-
setInternalRedirectPolicy
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_v3_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;
-
setInternalRedirectPolicy
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_v3_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;
-
mergeInternalRedirectPolicy
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_v3_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;
-
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_v3_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;
-
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_v3_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;
-
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_v3_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;
- Specified by:
getInternalRedirectPolicyOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetInternalRedirectPolicyFieldBuilder
private com.google.protobuf.SingleFieldBuilder<InternalRedirectPolicy,InternalRedirectPolicy.Builder, internalGetInternalRedirectPolicyFieldBuilder()InternalRedirectPolicyOrBuilder> 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_v3_api_field_config.route.v3.InternalRedirectPolicy.redirect_response_codes>`.
.envoy.config.route.v3.InternalRedirectPolicy internal_redirect_policy = 34;
-
getInternalRedirectActionValue
Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated. See envoy/config/route/v3/route_components.proto;l=1366.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getInternalRedirectActionValue
in interfaceRouteActionOrBuilder
- Returns:
- The enum numeric value on the wire for internalRedirectAction.
-
setInternalRedirectActionValue
Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated. See envoy/config/route/v3/route_components.proto;l=1366.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Parameters:
value
- The enum numeric value on the wire for internalRedirectAction to set.- Returns:
- This builder for chaining.
-
getInternalRedirectAction
Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated. See envoy/config/route/v3/route_components.proto;l=1366.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getInternalRedirectAction
in interfaceRouteActionOrBuilder
- Returns:
- The internalRedirectAction.
-
setInternalRedirectAction
@Deprecated public RouteAction.Builder setInternalRedirectAction(RouteAction.InternalRedirectAction value) Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated. See envoy/config/route/v3/route_components.proto;l=1366.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Parameters:
value
- The internalRedirectAction to set.- Returns:
- This builder for chaining.
-
clearInternalRedirectAction
Deprecated.envoy.config.route.v3.RouteAction.internal_redirect_action is deprecated. See envoy/config/route/v3/route_components.proto;l=1366.envoy.config.route.v3.RouteAction.InternalRedirectAction internal_redirect_action = 26 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Returns:
- This builder for chaining.
-
hasMaxInternalRedirects
Deprecated.envoy.config.route.v3.RouteAction.max_internal_redirects is deprecated. See envoy/config/route/v3/route_components.proto;l=1383An 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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasMaxInternalRedirects
in interfaceRouteActionOrBuilder
- Returns:
- Whether the maxInternalRedirects field is set.
-
getMaxInternalRedirects
Deprecated.envoy.config.route.v3.RouteAction.max_internal_redirects is deprecated. See envoy/config/route/v3/route_components.proto;l=1383An 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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getMaxInternalRedirects
in interfaceRouteActionOrBuilder
- Returns:
- The maxInternalRedirects.
-
setMaxInternalRedirects
@Deprecated public RouteAction.Builder setMaxInternalRedirects(com.google.protobuf.UInt32Value value) Deprecated.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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
setMaxInternalRedirects
@Deprecated public RouteAction.Builder setMaxInternalRedirects(com.google.protobuf.UInt32Value.Builder builderForValue) Deprecated.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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
mergeMaxInternalRedirects
@Deprecated public RouteAction.Builder mergeMaxInternalRedirects(com.google.protobuf.UInt32Value value) Deprecated.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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
clearMaxInternalRedirects
Deprecated.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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getMaxInternalRedirectsBuilder
Deprecated.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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getMaxInternalRedirectsOrBuilder
Deprecated.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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getMaxInternalRedirectsOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetMaxInternalRedirectsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetMaxInternalRedirectsFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_v3_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_v3_api_field_config.route.v3.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_v3_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, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
hasHedgePolicy
public 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;
- Specified by:
hasHedgePolicy
in interfaceRouteActionOrBuilder
- Returns:
- Whether the hedgePolicy field is set.
-
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;
- Specified by:
getHedgePolicy
in interfaceRouteActionOrBuilder
- Returns:
- The hedgePolicy.
-
setHedgePolicy
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;
-
setHedgePolicy
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;
-
mergeHedgePolicy
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;
-
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;
-
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;
-
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;
- Specified by:
getHedgePolicyOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetHedgePolicyFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HedgePolicy,HedgePolicy.Builder, internalGetHedgePolicyFieldBuilder()HedgePolicyOrBuilder> 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;
-
hasMaxStreamDuration
public boolean hasMaxStreamDuration()Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;
- Specified by:
hasMaxStreamDuration
in interfaceRouteActionOrBuilder
- Returns:
- Whether the maxStreamDuration field is set.
-
getMaxStreamDuration
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;
- Specified by:
getMaxStreamDuration
in interfaceRouteActionOrBuilder
- Returns:
- The maxStreamDuration.
-
setMaxStreamDuration
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;
-
setMaxStreamDuration
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;
-
mergeMaxStreamDuration
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;
-
clearMaxStreamDuration
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;
-
getMaxStreamDurationBuilder
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;
-
getMaxStreamDurationOrBuilder
Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;
- Specified by:
getMaxStreamDurationOrBuilder
in interfaceRouteActionOrBuilder
-
internalGetMaxStreamDurationFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteAction.MaxStreamDuration,RouteAction.MaxStreamDuration.Builder, internalGetMaxStreamDurationFieldBuilder()RouteAction.MaxStreamDurationOrBuilder> Specifies the maximum stream duration for this route.
.envoy.config.route.v3.RouteAction.MaxStreamDuration max_stream_duration = 36;
-