Package io.envoyproxy.envoy.api.v2.route
Class RouteAction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
io.envoyproxy.envoy.api.v2.route.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.GeneratedMessageV3.Builder<RouteAction.Builder>
implements RouteActionOrBuilder
[#next-free-field: 34]Protobuf type
envoy.api.v2.route.RouteAction-
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) Indicates that the route has request mirroring policies.addAllUpgradeConfigs(Iterable<? extends RouteAction.UpgradeConfig> values) repeated .envoy.api.v2.route.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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Indicates that the route has request mirroring policies.addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Indicates that the route has request mirroring policies.Indicates that the route has request mirroring policies.addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue) Indicates that the route has request mirroring policies.Indicates that the route has request mirroring policies.addRequestMirrorPoliciesBuilder(int index) Indicates that the route has request mirroring policies.addUpgradeConfigs(int index, RouteAction.UpgradeConfig value) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;addUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;addUpgradeConfigs(RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;addUpgradeConfigsBuilder(int index) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;build()clear()Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.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 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.Indicates that the route has a CORS policy.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.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 this value.Specifies the idle timeout for the route.Specifies if the rate limit filter should include the virtual host rate limits..envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here.An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream.Optional endpoint metadata match criteria used by the subset load balancer.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.Indicates that the route has request mirroring policies.Deprecated.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.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;Multiple upstream clusters can be specified for a given route.clone()com.google.protobuf.BoolValueIndicates 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.BuilderIndicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.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.ByteStringIndicates 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.BoolValueOrBuilderIndicates 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.ByteStringIndicates 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.ByteStringEnvoy 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.intThe HTTP status code to use when configured cluster is not found.getCors()Indicates that the route has a CORS policy.Indicates that the route has a CORS policy.Indicates that the route has a CORS policy.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationIf present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.com.google.protobuf.Duration.BuilderIf present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.com.google.protobuf.DurationOrBuilderIf present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.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.intSpecifies 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 this value.com.google.protobuf.ByteStringIndicates that during forwarding, the host header will be swapped with this value.com.google.protobuf.DurationSpecifies the idle timeout for the route.com.google.protobuf.Duration.BuilderSpecifies the idle timeout for the route.com.google.protobuf.DurationOrBuilderSpecifies the idle timeout for the route.com.google.protobuf.BoolValueSpecifies if the rate limit filter should include the virtual host rate limits.com.google.protobuf.BoolValue.BuilderSpecifies if the rate limit filter should include the virtual host rate limits.com.google.protobuf.BoolValueOrBuilderSpecifies if the rate limit filter should include the virtual host rate limits..envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;int.envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;com.google.protobuf.DurationIf present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here.com.google.protobuf.Duration.BuilderIf present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here.com.google.protobuf.DurationOrBuilderIf present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here.com.google.protobuf.UInt32ValueAn internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream.com.google.protobuf.UInt32Value.BuilderAn internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream.com.google.protobuf.UInt32ValueOrBuilderAn internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream.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.Indicates that during forwarding, the matched prefix (or path) should be swapped with this value.com.google.protobuf.ByteStringIndicates 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>`.intOptionally 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.intSpecifies 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) Indicates that the route has request mirroring policies.getRequestMirrorPoliciesBuilder(int index) Indicates that the route has request mirroring policies.Indicates that the route has request mirroring policies.intIndicates that the route has request mirroring policies.Indicates that the route has request mirroring policies.getRequestMirrorPoliciesOrBuilder(int index) Indicates that the route has request mirroring policies.List<? extends RouteAction.RequestMirrorPolicyOrBuilder>Indicates that the route has request mirroring policies.Deprecated.envoy.api.v2.route.RouteAction.request_mirror_policy is deprecated.Deprecated.Deprecated.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.DurationSpecifies the upstream timeout for the route.com.google.protobuf.Duration.BuilderSpecifies the upstream timeout for the route.com.google.protobuf.DurationOrBuilderSpecifies the upstream timeout for the route.getUpgradeConfigs(int index) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;getUpgradeConfigsBuilder(int index) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;intrepeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;getUpgradeConfigsOrBuilder(int index) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;List<? extends RouteAction.UpgradeConfigOrBuilder>repeated .envoy.api.v2.route.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.booleanIndicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.booleanIndicates 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.booleanIndicates the upstream cluster to which the request should be routed to.booleanEnvoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers.booleanhasCors()Indicates that the route has a CORS policy.booleanIf present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.booleanIndicates that the route has a hedge policy.booleanIndicates that during forwarding, the host header will be swapped with this value.booleanSpecifies the idle timeout for the route.booleanSpecifies if the rate limit filter should include the virtual host rate limits.booleanIf present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here.booleanAn internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream.booleanOptional endpoint metadata match criteria used by the subset load balancer.booleanIndicates 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.booleanDeprecated.envoy.api.v2.route.RouteAction.request_mirror_policy is deprecated.booleanIndicates that the route has a retry policy.boolean[#not-implemented-hide:] Specifies the configuration for retry policy extension.booleanSpecifies the upstream timeout for the route.booleanMultiple upstream clusters can be specified for a given route.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAutoHostRewrite(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) Indicates that the route has a CORS policy.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) If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.mergeHedgePolicy(HedgePolicy value) Indicates that the route has a hedge policy.mergeIdleTimeout(com.google.protobuf.Duration value) Specifies the idle timeout for the route.mergeIncludeVhRateLimits(com.google.protobuf.BoolValue value) Specifies if the rate limit filter should include the virtual host rate limits.mergeMaxGrpcTimeout(com.google.protobuf.Duration value) If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here.mergeMaxInternalRedirects(com.google.protobuf.UInt32Value value) An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream.mergeMetadataMatch(Metadata value) Optional endpoint metadata match criteria used by the subset load balancer.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.Deprecated.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.final RouteAction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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) Indicates that the route has request mirroring policies.removeUpgradeConfigs(int index) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;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.setAutoHostRewriteHeader(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.setAutoHostRewriteHeaderBytes(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.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.setCors(CorsPolicy value) Indicates that the route has a CORS policy.setCors(CorsPolicy.Builder builderForValue) Indicates that the route has a CORS policy.setGrpcTimeoutOffset(com.google.protobuf.Duration value) If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.setGrpcTimeoutOffset(com.google.protobuf.Duration.Builder builderForValue) If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.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.setHostRewrite(String value) Indicates that during forwarding, the host header will be swapped with this value.setHostRewriteBytes(com.google.protobuf.ByteString value) Indicates that during forwarding, the host header will be swapped with this value.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) Specifies if the rate limit filter should include the virtual host rate limits.setIncludeVhRateLimits(com.google.protobuf.BoolValue.Builder builderForValue) Specifies if the rate limit filter should include the virtual host rate limits..envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;setInternalRedirectActionValue(int value) .envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;setMaxGrpcTimeout(com.google.protobuf.Duration value) If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here.setMaxGrpcTimeout(com.google.protobuf.Duration.Builder builderForValue) If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here.setMaxInternalRedirects(com.google.protobuf.UInt32Value value) An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream.setMaxInternalRedirects(com.google.protobuf.UInt32Value.Builder builderForValue) An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>` will pass the redirect back to downstream.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.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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Indicates that the route has request mirroring policies.setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Indicates that the route has request mirroring policies.Deprecated.setRequestMirrorPolicy(RouteAction.RequestMirrorPolicy.Builder builderForValue) Deprecated.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.final RouteAction.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpgradeConfigs(int index, RouteAction.UpgradeConfig value) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;setUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.api.v2.route.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.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
setField
public RouteAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
setRepeatedField
public RouteAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
addRepeatedField
public RouteAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
mergeFrom
public RouteAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>- Throws:
IOException
-
getClusterSpecifierCase
- Specified by:
getClusterSpecifierCasein interfaceRouteActionOrBuilder
-
clearClusterSpecifier
-
getHostRewriteSpecifierCase
- Specified by:
getHostRewriteSpecifierCasein 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:
hasClusterin 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:
getClusterin 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:
getClusterBytesin 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:
hasClusterHeaderin 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:
getClusterHeaderin 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:
getClusterHeaderBytesin 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.api.v2.route.WeightedCluster weighted_clusters = 3;- Specified by:
hasWeightedClustersin 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.api.v2.route.WeightedCluster weighted_clusters = 3;- Specified by:
getWeightedClustersin 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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.WeightedCluster weighted_clusters = 3;- Specified by:
getWeightedClustersOrBuilderin interfaceRouteActionOrBuilder
-
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.api.v2.route.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }- Specified by:
getClusterNotFoundResponseCodeValuein 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.api.v2.route.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.api.v2.route.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }- Specified by:
getClusterNotFoundResponseCodein 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.api.v2.route.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.api.v2.route.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_api_field_route.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;- Specified by:
hasMetadataMatchin 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_api_field_route.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;- Specified by:
getMetadataMatchin 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_api_field_route.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.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_api_field_route.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.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_api_field_route.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.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_api_field_route.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.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_api_field_route.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.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_api_field_route.RouteAction.weighted_clusters>`, metadata will be merged, with values provided there taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;- Specified by:
getMetadataMatchOrBuilderin interfaceRouteActionOrBuilder
-
getPrefixRewrite
Indicates that during forwarding, the matched prefix (or path) should be swapped with this value. This option allows application URLs to be rooted at a different path from those exposed at the reverse proxy layer. The router filter will place the original path before rewrite into the :ref:`x-envoy-original-path <config_http_filters_router_x-envoy-original-path>` header. Only one of *prefix_rewrite* or :ref:`regex_rewrite <envoy_api_field_route.RouteAction.regex_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_api_field_route.Route.match>` prefix value. Stripping a prefix from a path requires multiple Routes to handle all cases. For example, rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single :ref:`Route <envoy_api_msg_route.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:
getPrefixRewritein 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 *prefix_rewrite* or :ref:`regex_rewrite <envoy_api_field_route.RouteAction.regex_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_api_field_route.Route.match>` prefix value. Stripping a prefix from a path requires multiple Routes to handle all cases. For example, rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single :ref:`Route <envoy_api_msg_route.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:
getPrefixRewriteBytesin 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 *prefix_rewrite* or :ref:`regex_rewrite <envoy_api_field_route.RouteAction.regex_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_api_field_route.Route.match>` prefix value. Stripping a prefix from a path requires multiple Routes to handle all cases. For example, rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single :ref:`Route <envoy_api_msg_route.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 *prefix_rewrite* or :ref:`regex_rewrite <envoy_api_field_route.RouteAction.regex_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_api_field_route.Route.match>` prefix value. Stripping a prefix from a path requires multiple Routes to handle all cases. For example, rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single :ref:`Route <envoy_api_msg_route.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 *prefix_rewrite* or :ref:`regex_rewrite <envoy_api_field_route.RouteAction.regex_rewrite>` may be specified. .. attention:: Pay careful attention to the use of trailing slashes in the :ref:`route's match <envoy_api_field_route.Route.match>` prefix value. Stripping a prefix from a path requires multiple Routes to handle all cases. For example, rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single :ref:`Route <envoy_api_msg_route.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:`prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.RegexMatchAndSubstitute regex_rewrite = 32;- Specified by:
hasRegexRewritein 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:`prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.RegexMatchAndSubstitute regex_rewrite = 32;- Specified by:
getRegexRewritein 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:`prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.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:`prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.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:`prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.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:`prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.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:`prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.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:`prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>` or *regex_rewrite* may be specified. Examples using Google's `RE2 <https://github.com/google/re2>`_ engine: * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` into ``/v1/api/instance/foo``. * The pattern ``one`` paired with a substitution string of ``two`` would transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of ``\1two\2`` would replace only the first occurrence of ``one``, transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to ``/aaa/yyy/bbb``.
.envoy.type.matcher.RegexMatchAndSubstitute regex_rewrite = 32;- Specified by:
getRegexRewriteOrBuilderin interfaceRouteActionOrBuilder
-
hasHostRewrite
public boolean hasHostRewrite()Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6 [(.validate.rules) = { ... }- Specified by:
hasHostRewritein interfaceRouteActionOrBuilder- Returns:
- Whether the hostRewrite field is set.
-
getHostRewrite
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6 [(.validate.rules) = { ... }- Specified by:
getHostRewritein interfaceRouteActionOrBuilder- Returns:
- The hostRewrite.
-
getHostRewriteBytes
public com.google.protobuf.ByteString getHostRewriteBytes()Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6 [(.validate.rules) = { ... }- Specified by:
getHostRewriteBytesin interfaceRouteActionOrBuilder- Returns:
- The bytes for hostRewrite.
-
setHostRewrite
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6 [(.validate.rules) = { ... }- Parameters:
value- The hostRewrite to set.- Returns:
- This builder for chaining.
-
clearHostRewrite
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setHostRewriteBytes
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6 [(.validate.rules) = { ... }- Parameters:
value- The bytes for hostRewrite 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``, ``LOGICAL_DNS`` or ``STATIC``. For ``STATIC`` clusters, the hostname attribute of the endpoint must be configured. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;- Specified by:
hasAutoHostRewritein 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``, ``LOGICAL_DNS`` or ``STATIC``. For ``STATIC`` clusters, the hostname attribute of the endpoint must be configured. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;- Specified by:
getAutoHostRewritein 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``, ``LOGICAL_DNS`` or ``STATIC``. For ``STATIC`` clusters, the hostname attribute of the endpoint must be configured. Setting this to true with other cluster types has no effect.
.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``, ``LOGICAL_DNS`` or ``STATIC``. For ``STATIC`` clusters, the hostname attribute of the endpoint must be configured. Setting this to true with other cluster types has no effect.
.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``, ``LOGICAL_DNS`` or ``STATIC``. For ``STATIC`` clusters, the hostname attribute of the endpoint must be configured. Setting this to true with other cluster types has no effect.
.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``, ``LOGICAL_DNS`` or ``STATIC``. For ``STATIC`` clusters, the hostname attribute of the endpoint must be configured. Setting this to true with other cluster types has no effect.
.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``, ``LOGICAL_DNS`` or ``STATIC``. For ``STATIC`` clusters, the hostname attribute of the endpoint must be configured. Setting this to true with other cluster types has no effect.
.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``, ``LOGICAL_DNS`` or ``STATIC``. For ``STATIC`` clusters, the hostname attribute of the endpoint must be configured. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;- Specified by:
getAutoHostRewriteOrBuilderin interfaceRouteActionOrBuilder
-
hasAutoHostRewriteHeader
public boolean hasAutoHostRewriteHeader()Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 29 [(.validate.rules) = { ... }- Specified by:
hasAutoHostRewriteHeaderin interfaceRouteActionOrBuilder- Returns:
- Whether the autoHostRewriteHeader field is set.
-
getAutoHostRewriteHeader
Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 29 [(.validate.rules) = { ... }- Specified by:
getAutoHostRewriteHeaderin interfaceRouteActionOrBuilder- Returns:
- The autoHostRewriteHeader.
-
getAutoHostRewriteHeaderBytes
public com.google.protobuf.ByteString getAutoHostRewriteHeaderBytes()Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 29 [(.validate.rules) = { ... }- Specified by:
getAutoHostRewriteHeaderBytesin interfaceRouteActionOrBuilder- Returns:
- The bytes for autoHostRewriteHeader.
-
setAutoHostRewriteHeader
Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 29 [(.validate.rules) = { ... }- Parameters:
value- The autoHostRewriteHeader to set.- Returns:
- This builder for chaining.
-
clearAutoHostRewriteHeader
Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 29 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setAutoHostRewriteHeaderBytes
Indicates that during forwarding, the host header will be swapped with the content of given downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header. If header value is empty, host header is left intact. .. attention:: Pay attention to the potential security implications of using this option. Provided header must come from trusted source. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 29 [(.validate.rules) = { ... }- Parameters:
value- The bytes for autoHostRewriteHeader to set.- 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:
hasTimeoutin 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:
getTimeoutin 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:
getTimeoutOrBuilderin interfaceRouteActionOrBuilder
-
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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_route.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.
.google.protobuf.Duration idle_timeout = 24;- Specified by:
hasIdleTimeoutin 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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_route.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.
.google.protobuf.Duration idle_timeout = 24;- Specified by:
getIdleTimeoutin 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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_route.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.
.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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_route.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.
.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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_route.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.
.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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_route.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.
.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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_route.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.
.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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` will still apply. A value of 0 will completely disable the route's idle timeout, even if a connection manager stream idle timeout is configured. The idle timeout is distinct to :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, which provides an upper bound on the upstream response time; :ref:`idle_timeout <envoy_api_field_route.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.
.google.protobuf.Duration idle_timeout = 24;- Specified by:
getIdleTimeoutOrBuilderin interfaceRouteActionOrBuilder
-
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.api.v2.route.RetryPolicy retry_policy = 9;- Specified by:
hasRetryPolicyin 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.api.v2.route.RetryPolicy retry_policy = 9;- Specified by:
getRetryPolicyin 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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.RetryPolicy retry_policy = 9;- Specified by:
getRetryPolicyOrBuilderin interfaceRouteActionOrBuilder
-
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_api_field_route.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;- Specified by:
hasRetryPolicyTypedConfigin 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_api_field_route.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;- Specified by:
getRetryPolicyTypedConfigin 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_api_field_route.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_api_field_route.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_api_field_route.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_api_field_route.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_api_field_route.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_api_field_route.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 33;- Specified by:
getRetryPolicyTypedConfigOrBuilderin interfaceRouteActionOrBuilder
-
hasRequestMirrorPolicy
Deprecated.envoy.api.v2.route.RouteAction.request_mirror_policy is deprecated. See envoy/api/v2/route/route_components.proto;l=934Indicates that the route has a request mirroring policy. .. attention:: This field has been deprecated in favor of `request_mirror_policies` which supports one or more mirroring policies.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10 [deprecated = true];- Specified by:
hasRequestMirrorPolicyin interfaceRouteActionOrBuilder- Returns:
- Whether the requestMirrorPolicy field is set.
-
getRequestMirrorPolicy
Deprecated.envoy.api.v2.route.RouteAction.request_mirror_policy is deprecated. See envoy/api/v2/route/route_components.proto;l=934Indicates that the route has a request mirroring policy. .. attention:: This field has been deprecated in favor of `request_mirror_policies` which supports one or more mirroring policies.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10 [deprecated = true];- Specified by:
getRequestMirrorPolicyin interfaceRouteActionOrBuilder- Returns:
- The requestMirrorPolicy.
-
setRequestMirrorPolicy
@Deprecated public RouteAction.Builder setRequestMirrorPolicy(RouteAction.RequestMirrorPolicy value) Deprecated.Indicates that the route has a request mirroring policy. .. attention:: This field has been deprecated in favor of `request_mirror_policies` which supports one or more mirroring policies.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10 [deprecated = true]; -
setRequestMirrorPolicy
@Deprecated public RouteAction.Builder setRequestMirrorPolicy(RouteAction.RequestMirrorPolicy.Builder builderForValue) Deprecated.Indicates that the route has a request mirroring policy. .. attention:: This field has been deprecated in favor of `request_mirror_policies` which supports one or more mirroring policies.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10 [deprecated = true]; -
mergeRequestMirrorPolicy
@Deprecated public RouteAction.Builder mergeRequestMirrorPolicy(RouteAction.RequestMirrorPolicy value) Deprecated.Indicates that the route has a request mirroring policy. .. attention:: This field has been deprecated in favor of `request_mirror_policies` which supports one or more mirroring policies.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10 [deprecated = true]; -
clearRequestMirrorPolicy
Deprecated.Indicates that the route has a request mirroring policy. .. attention:: This field has been deprecated in favor of `request_mirror_policies` which supports one or more mirroring policies.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10 [deprecated = true]; -
getRequestMirrorPolicyBuilder
Deprecated.Indicates that the route has a request mirroring policy. .. attention:: This field has been deprecated in favor of `request_mirror_policies` which supports one or more mirroring policies.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10 [deprecated = true]; -
getRequestMirrorPolicyOrBuilder
Deprecated.Indicates that the route has a request mirroring policy. .. attention:: This field has been deprecated in favor of `request_mirror_policies` which supports one or more mirroring policies.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10 [deprecated = true];- Specified by:
getRequestMirrorPolicyOrBuilderin interfaceRouteActionOrBuilder
-
getRequestMirrorPoliciesList
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;- Specified by:
getRequestMirrorPoliciesListin interfaceRouteActionOrBuilder
-
getRequestMirrorPoliciesCount
public int getRequestMirrorPoliciesCount()Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;- Specified by:
getRequestMirrorPoliciesCountin interfaceRouteActionOrBuilder
-
getRequestMirrorPolicies
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;- Specified by:
getRequestMirrorPoliciesin interfaceRouteActionOrBuilder
-
setRequestMirrorPolicies
public RouteAction.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
setRequestMirrorPolicies
public RouteAction.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
addRequestMirrorPolicies
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
addRequestMirrorPolicies
public RouteAction.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
addRequestMirrorPolicies
public RouteAction.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue) Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
addRequestMirrorPolicies
public RouteAction.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
addAllRequestMirrorPolicies
public RouteAction.Builder addAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values) Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
clearRequestMirrorPolicies
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
removeRequestMirrorPolicies
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
getRequestMirrorPoliciesBuilder
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
getRequestMirrorPoliciesOrBuilder
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;- Specified by:
getRequestMirrorPoliciesOrBuilderin interfaceRouteActionOrBuilder
-
getRequestMirrorPoliciesOrBuilderList
public List<? extends RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesOrBuilderList()Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30;- Specified by:
getRequestMirrorPoliciesOrBuilderListin interfaceRouteActionOrBuilder
-
addRequestMirrorPoliciesBuilder
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
addRequestMirrorPoliciesBuilder
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
getRequestMirrorPoliciesBuilderList
Indicates that the route has request mirroring policies.
repeated .envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policies = 30; -
getPriorityValue
public int getPriorityValue()Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.api.v2.core.RoutingPriority priority = 11 [(.validate.rules) = { ... }- Specified by:
getPriorityValuein interfaceRouteActionOrBuilder- Returns:
- The enum numeric value on the wire for priority.
-
setPriorityValue
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.api.v2.core.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.api.v2.core.RoutingPriority priority = 11 [(.validate.rules) = { ... }- Specified by:
getPriorityin interfaceRouteActionOrBuilder- Returns:
- The priority.
-
setPriority
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
.envoy.api.v2.core.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.api.v2.core.RoutingPriority priority = 11 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
getRateLimitsList
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;- Specified by:
getRateLimitsListin interfaceRouteActionOrBuilder
-
getRateLimitsCount
public int getRateLimitsCount()Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;- Specified by:
getRateLimitsCountin interfaceRouteActionOrBuilder
-
getRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;- Specified by:
getRateLimitsin interfaceRouteActionOrBuilder
-
setRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
setRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
addAllRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
clearRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
removeRateLimits
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
getRateLimitsBuilder
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
getRateLimitsOrBuilder
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;- Specified by:
getRateLimitsOrBuilderin interfaceRouteActionOrBuilder
-
getRateLimitsOrBuilderList
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;- Specified by:
getRateLimitsOrBuilderListin interfaceRouteActionOrBuilder
-
addRateLimitsBuilder
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
addRateLimitsBuilder
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
getRateLimitsBuilderList
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13; -
hasIncludeVhRateLimits
public boolean hasIncludeVhRateLimits()Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;- Specified by:
hasIncludeVhRateLimitsin interfaceRouteActionOrBuilder- Returns:
- Whether the includeVhRateLimits field is set.
-
getIncludeVhRateLimits
public com.google.protobuf.BoolValue getIncludeVhRateLimits()Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;- Specified by:
getIncludeVhRateLimitsin interfaceRouteActionOrBuilder- Returns:
- The includeVhRateLimits.
-
setIncludeVhRateLimits
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14; -
setIncludeVhRateLimits
public RouteAction.Builder setIncludeVhRateLimits(com.google.protobuf.BoolValue.Builder builderForValue) Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14; -
mergeIncludeVhRateLimits
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14; -
clearIncludeVhRateLimits
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14; -
getIncludeVhRateLimitsBuilder
public com.google.protobuf.BoolValue.Builder getIncludeVhRateLimitsBuilder()Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14; -
getIncludeVhRateLimitsOrBuilder
public com.google.protobuf.BoolValueOrBuilder getIncludeVhRateLimitsOrBuilder()Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;- Specified by:
getIncludeVhRateLimitsOrBuilderin interfaceRouteActionOrBuilder
-
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.api.v2.route.RouteAction.HashPolicy hash_policy = 15;- Specified by:
getHashPolicyListin 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.api.v2.route.RouteAction.HashPolicy hash_policy = 15;- Specified by:
getHashPolicyCountin 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.api.v2.route.RouteAction.HashPolicy hash_policy = 15;- Specified by:
getHashPolicyin 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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.RouteAction.HashPolicy hash_policy = 15;- Specified by:
getHashPolicyOrBuilderin 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.api.v2.route.RouteAction.HashPolicy hash_policy = 15;- Specified by:
getHashPolicyOrBuilderListin 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.api.v2.route.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.api.v2.route.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.api.v2.route.RouteAction.HashPolicy hash_policy = 15; -
hasCors
public boolean hasCors()Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;- Specified by:
hasCorsin interfaceRouteActionOrBuilder- Returns:
- Whether the cors field is set.
-
getCors
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;- Specified by:
getCorsin interfaceRouteActionOrBuilder- Returns:
- The cors.
-
setCors
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17; -
setCors
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17; -
mergeCors
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17; -
clearCors
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17; -
getCorsBuilder
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17; -
getCorsOrBuilder
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;- Specified by:
getCorsOrBuilderin interfaceRouteActionOrBuilder
-
hasMaxGrpcTimeout
public boolean hasMaxGrpcTimeout()If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here. If configured as 0, the maximum allowed timeout for gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used and gRPC requests time out like any other requests using :ref:`timeout <envoy_api_field_route.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;- Specified by:
hasMaxGrpcTimeoutin interfaceRouteActionOrBuilder- Returns:
- Whether the maxGrpcTimeout field is set.
-
getMaxGrpcTimeout
public com.google.protobuf.Duration getMaxGrpcTimeout()If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here. If configured as 0, the maximum allowed timeout for gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used and gRPC requests time out like any other requests using :ref:`timeout <envoy_api_field_route.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;- Specified by:
getMaxGrpcTimeoutin interfaceRouteActionOrBuilder- Returns:
- The maxGrpcTimeout.
-
setMaxGrpcTimeout
If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here. If configured as 0, the maximum allowed timeout for gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used and gRPC requests time out like any other requests using :ref:`timeout <envoy_api_field_route.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; -
setMaxGrpcTimeout
If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here. If configured as 0, the maximum allowed timeout for gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used and gRPC requests time out like any other requests using :ref:`timeout <envoy_api_field_route.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; -
mergeMaxGrpcTimeout
If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here. If configured as 0, the maximum allowed timeout for gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used and gRPC requests time out like any other requests using :ref:`timeout <envoy_api_field_route.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; -
clearMaxGrpcTimeout
If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here. If configured as 0, the maximum allowed timeout for gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used and gRPC requests time out like any other requests using :ref:`timeout <envoy_api_field_route.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; -
getMaxGrpcTimeoutBuilder
public com.google.protobuf.Duration.Builder getMaxGrpcTimeoutBuilder()If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here. If configured as 0, the maximum allowed timeout for gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used and gRPC requests time out like any other requests using :ref:`timeout <envoy_api_field_route.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; -
getMaxGrpcTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxGrpcTimeoutOrBuilder()If present, and the request is a gRPC request, use the `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, or its default value (infinity) instead of :ref:`timeout <envoy_api_field_route.RouteAction.timeout>`, but limit the applied timeout to the maximum value specified here. If configured as 0, the maximum allowed timeout for gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used and gRPC requests time out like any other requests using :ref:`timeout <envoy_api_field_route.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;- Specified by:
getMaxGrpcTimeoutOrBuilderin interfaceRouteActionOrBuilder
-
hasGrpcTimeoutOffset
public boolean hasGrpcTimeoutOffset()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;- Specified by:
hasGrpcTimeoutOffsetin interfaceRouteActionOrBuilder- Returns:
- Whether the grpcTimeoutOffset field is set.
-
getGrpcTimeoutOffset
public com.google.protobuf.Duration getGrpcTimeoutOffset()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;- Specified by:
getGrpcTimeoutOffsetin interfaceRouteActionOrBuilder- Returns:
- The grpcTimeoutOffset.
-
setGrpcTimeoutOffset
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; -
setGrpcTimeoutOffset
public RouteAction.Builder setGrpcTimeoutOffset(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeGrpcTimeoutOffset
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; -
clearGrpcTimeoutOffset
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; -
getGrpcTimeoutOffsetBuilder
public com.google.protobuf.Duration.Builder getGrpcTimeoutOffsetBuilder()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; -
getGrpcTimeoutOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getGrpcTimeoutOffsetOrBuilder()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;- Specified by:
getGrpcTimeoutOffsetOrBuilderin interfaceRouteActionOrBuilder
-
getUpgradeConfigsList
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;- Specified by:
getUpgradeConfigsListin interfaceRouteActionOrBuilder
-
getUpgradeConfigsCount
public int getUpgradeConfigsCount()repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;- Specified by:
getUpgradeConfigsCountin interfaceRouteActionOrBuilder
-
getUpgradeConfigs
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;- Specified by:
getUpgradeConfigsin interfaceRouteActionOrBuilder
-
setUpgradeConfigs
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
setUpgradeConfigs
public RouteAction.Builder setUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
addUpgradeConfigs
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
addUpgradeConfigs
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
addUpgradeConfigs
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
addUpgradeConfigs
public RouteAction.Builder addUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
addAllUpgradeConfigs
public RouteAction.Builder addAllUpgradeConfigs(Iterable<? extends RouteAction.UpgradeConfig> values) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
clearUpgradeConfigs
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
removeUpgradeConfigs
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
getUpgradeConfigsBuilder
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
getUpgradeConfigsOrBuilder
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;- Specified by:
getUpgradeConfigsOrBuilderin interfaceRouteActionOrBuilder
-
getUpgradeConfigsOrBuilderList
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;- Specified by:
getUpgradeConfigsOrBuilderListin interfaceRouteActionOrBuilder
-
addUpgradeConfigsBuilder
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
addUpgradeConfigsBuilder
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
getUpgradeConfigsBuilderList
repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25; -
getInternalRedirectActionValue
public int getInternalRedirectActionValue().envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;- Specified by:
getInternalRedirectActionValuein interfaceRouteActionOrBuilder- Returns:
- The enum numeric value on the wire for internalRedirectAction.
-
setInternalRedirectActionValue
.envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;- Parameters:
value- The enum numeric value on the wire for internalRedirectAction to set.- Returns:
- This builder for chaining.
-
getInternalRedirectAction
.envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;- Specified by:
getInternalRedirectActionin interfaceRouteActionOrBuilder- Returns:
- The internalRedirectAction.
-
setInternalRedirectAction
.envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;- Parameters:
value- The internalRedirectAction to set.- Returns:
- This builder for chaining.
-
clearInternalRedirectAction
.envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;- Returns:
- This builder for chaining.
-
hasMaxInternalRedirects
public boolean hasMaxInternalRedirects()An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.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;- Specified by:
hasMaxInternalRedirectsin interfaceRouteActionOrBuilder- Returns:
- Whether the maxInternalRedirects field is set.
-
getMaxInternalRedirects
public com.google.protobuf.UInt32Value getMaxInternalRedirects()An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.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;- Specified by:
getMaxInternalRedirectsin interfaceRouteActionOrBuilder- Returns:
- The maxInternalRedirects.
-
setMaxInternalRedirects
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.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; -
setMaxInternalRedirects
public RouteAction.Builder setMaxInternalRedirects(com.google.protobuf.UInt32Value.Builder builderForValue) An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.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; -
mergeMaxInternalRedirects
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.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; -
clearMaxInternalRedirects
An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.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; -
getMaxInternalRedirectsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxInternalRedirectsBuilder()An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.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; -
getMaxInternalRedirectsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxInternalRedirectsOrBuilder()An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` is set to :ref:`HANDLE_INTERNAL_REDIRECT <envoy_api_enum_value_route.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>` In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or has :ref:`internal_redirect_action <envoy_api_field_route.RouteAction.internal_redirect_action>` set to :ref:`PASS_THROUGH_INTERNAL_REDIRECT <envoy_api_enum_value_route.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;- Specified by:
getMaxInternalRedirectsOrBuilderin interfaceRouteActionOrBuilder
-
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.api.v2.route.HedgePolicy hedge_policy = 27;- Specified by:
hasHedgePolicyin 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.api.v2.route.HedgePolicy hedge_policy = 27;- Specified by:
getHedgePolicyin 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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.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.api.v2.route.HedgePolicy hedge_policy = 27;- Specified by:
getHedgePolicyOrBuilderin interfaceRouteActionOrBuilder
-
setUnknownFields
public final RouteAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
mergeUnknownFields
public final RouteAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-