Uses of Class
io.envoyproxy.envoy.api.v2.route.RouteAction.Builder
Packages that use RouteAction.Builder
-
Uses of RouteAction.Builder in io.envoyproxy.envoy.api.v2.route
Methods in io.envoyproxy.envoy.api.v2.route that return RouteAction.BuilderModifier and TypeMethodDescriptionRouteAction.Builder.addAllHashPolicy(Iterable<? extends RouteAction.HashPolicy> values) Specifies a list of hash policies to use for ring hash load balancing.RouteAction.Builder.addAllRateLimits(Iterable<? extends RateLimit> values) Specifies a set of rate limit configurations that could be applied to the route.RouteAction.Builder.addAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values) Indicates that the route has request mirroring policies.RouteAction.Builder.addAllUpgradeConfigs(Iterable<? extends RouteAction.UpgradeConfig> values) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;RouteAction.Builder.addHashPolicy(int index, RouteAction.HashPolicy value) Specifies a list of hash policies to use for ring hash load balancing.RouteAction.Builder.addHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing.RouteAction.Builder.addHashPolicy(RouteAction.HashPolicy value) Specifies a list of hash policies to use for ring hash load balancing.RouteAction.Builder.addHashPolicy(RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing.RouteAction.Builder.addRateLimits(int index, RateLimit value) Specifies a set of rate limit configurations that could be applied to the route.RouteAction.Builder.addRateLimits(int index, RateLimit.Builder builderForValue) Specifies a set of rate limit configurations that could be applied to the route.RouteAction.Builder.addRateLimits(RateLimit value) Specifies a set of rate limit configurations that could be applied to the route.RouteAction.Builder.addRateLimits(RateLimit.Builder builderForValue) Specifies a set of rate limit configurations that could be applied to the route.RouteAction.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) RouteAction.Builder.addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Indicates that the route has request mirroring policies.RouteAction.Builder.addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Indicates that the route has request mirroring policies.RouteAction.Builder.addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value) Indicates that the route has request mirroring policies.RouteAction.Builder.addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue) Indicates that the route has request mirroring policies.RouteAction.Builder.addUpgradeConfigs(int index, RouteAction.UpgradeConfig value) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;RouteAction.Builder.addUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;RouteAction.Builder.addUpgradeConfigs(RouteAction.UpgradeConfig value) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;RouteAction.Builder.addUpgradeConfigs(RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;RouteAction.Builder.clear()RouteAction.Builder.clearAutoHostRewrite()Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.RouteAction.Builder.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.RouteAction.Builder.clearCluster()Indicates the upstream cluster to which the request should be routed to.RouteAction.Builder.clearClusterHeader()Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers.RouteAction.Builder.clearClusterNotFoundResponseCode()The HTTP status code to use when configured cluster is not found.RouteAction.Builder.clearClusterSpecifier()RouteAction.Builder.clearCors()Indicates that the route has a CORS policy.RouteAction.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) RouteAction.Builder.clearGrpcTimeoutOffset()If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.RouteAction.Builder.clearHashPolicy()Specifies a list of hash policies to use for ring hash load balancing.RouteAction.Builder.clearHedgePolicy()Indicates that the route has a hedge policy.RouteAction.Builder.clearHostRewrite()Indicates that during forwarding, the host header will be swapped with this value.RouteAction.Builder.clearHostRewriteSpecifier()RouteAction.Builder.clearIdleTimeout()Specifies the idle timeout for the route.RouteAction.Builder.clearIncludeVhRateLimits()Specifies if the rate limit filter should include the virtual host rate limits.RouteAction.Builder.clearInternalRedirectAction().envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;RouteAction.Builder.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.RouteAction.Builder.clearMaxInternalRedirects()An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_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.RouteAction.Builder.clearMetadataMatch()Optional endpoint metadata match criteria used by the subset load balancer.RouteAction.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) RouteAction.Builder.clearPrefixRewrite()Indicates that during forwarding, the matched prefix (or path) should be swapped with this value.RouteAction.Builder.clearPriority()Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.RouteAction.Builder.clearRateLimits()Specifies a set of rate limit configurations that could be applied to the route.RouteAction.Builder.clearRegexRewrite()Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string.RouteAction.Builder.clearRequestMirrorPolicies()Indicates that the route has request mirroring policies.RouteAction.Builder.clearRequestMirrorPolicy()Deprecated.RouteAction.Builder.clearRetryPolicy()Indicates that the route has a retry policy.RouteAction.Builder.clearRetryPolicyTypedConfig()[#not-implemented-hide:] Specifies the configuration for retry policy extension.RouteAction.Builder.clearTimeout()Specifies the upstream timeout for the route.RouteAction.Builder.clearUpgradeConfigs()repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;RouteAction.Builder.clearWeightedClusters()Multiple upstream clusters can be specified for a given route.RouteAction.Builder.clone()Route.Builder.getRouteBuilder()Route request to some upstream cluster.RouteAction.Builder.mergeAutoHostRewrite(com.google.protobuf.BoolValue value) Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.RouteAction.Builder.mergeCors(CorsPolicy value) Indicates that the route has a CORS policy.RouteAction.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) RouteAction.Builder.mergeFrom(com.google.protobuf.Message other) RouteAction.Builder.mergeFrom(RouteAction other) RouteAction.Builder.mergeGrpcTimeoutOffset(com.google.protobuf.Duration value) If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header.RouteAction.Builder.mergeHedgePolicy(HedgePolicy value) Indicates that the route has a hedge policy.RouteAction.Builder.mergeIdleTimeout(com.google.protobuf.Duration value) Specifies the idle timeout for the route.RouteAction.Builder.mergeIncludeVhRateLimits(com.google.protobuf.BoolValue value) Specifies if the rate limit filter should include the virtual host rate limits.RouteAction.Builder.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.RouteAction.Builder.mergeMaxInternalRedirects(com.google.protobuf.UInt32Value value) An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_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.RouteAction.Builder.mergeMetadataMatch(Metadata value) Optional endpoint metadata match criteria used by the subset load balancer.RouteAction.Builder.mergeRegexRewrite(RegexMatchAndSubstitute value) Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string.RouteAction.Builder.mergeRequestMirrorPolicy(RouteAction.RequestMirrorPolicy value) Deprecated.RouteAction.Builder.mergeRetryPolicy(RetryPolicy value) Indicates that the route has a retry policy.RouteAction.Builder.mergeRetryPolicyTypedConfig(com.google.protobuf.Any value) [#not-implemented-hide:] Specifies the configuration for retry policy extension.RouteAction.Builder.mergeTimeout(com.google.protobuf.Duration value) Specifies the upstream timeout for the route.final RouteAction.BuilderRouteAction.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) RouteAction.Builder.mergeWeightedClusters(WeightedCluster value) Multiple upstream clusters can be specified for a given route.static RouteAction.BuilderRouteAction.newBuilder()static RouteAction.BuilderRouteAction.newBuilder(RouteAction prototype) RouteAction.newBuilderForType()protected RouteAction.BuilderRouteAction.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) RouteAction.Builder.removeHashPolicy(int index) Specifies a list of hash policies to use for ring hash load balancing.RouteAction.Builder.removeRateLimits(int index) Specifies a set of rate limit configurations that could be applied to the route.RouteAction.Builder.removeRequestMirrorPolicies(int index) Indicates that the route has request mirroring policies.RouteAction.Builder.removeUpgradeConfigs(int index) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;RouteAction.Builder.setAutoHostRewrite(com.google.protobuf.BoolValue value) Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.RouteAction.Builder.setAutoHostRewrite(com.google.protobuf.BoolValue.Builder builderForValue) Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager.RouteAction.Builder.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.RouteAction.Builder.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.RouteAction.Builder.setCluster(String value) Indicates the upstream cluster to which the request should be routed to.RouteAction.Builder.setClusterBytes(com.google.protobuf.ByteString value) Indicates the upstream cluster to which the request should be routed to.RouteAction.Builder.setClusterHeader(String value) Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers.RouteAction.Builder.setClusterHeaderBytes(com.google.protobuf.ByteString value) Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers.RouteAction.Builder.setClusterNotFoundResponseCode(RouteAction.ClusterNotFoundResponseCode value) The HTTP status code to use when configured cluster is not found.RouteAction.Builder.setClusterNotFoundResponseCodeValue(int value) The HTTP status code to use when configured cluster is not found.RouteAction.Builder.setCors(CorsPolicy value) Indicates that the route has a CORS policy.RouteAction.Builder.setCors(CorsPolicy.Builder builderForValue) Indicates that the route has a CORS policy.RouteAction.Builder.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.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.RouteAction.Builder.setHashPolicy(int index, RouteAction.HashPolicy value) Specifies a list of hash policies to use for ring hash load balancing.RouteAction.Builder.setHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing.RouteAction.Builder.setHedgePolicy(HedgePolicy value) Indicates that the route has a hedge policy.RouteAction.Builder.setHedgePolicy(HedgePolicy.Builder builderForValue) Indicates that the route has a hedge policy.RouteAction.Builder.setHostRewrite(String value) Indicates that during forwarding, the host header will be swapped with this value.RouteAction.Builder.setHostRewriteBytes(com.google.protobuf.ByteString value) Indicates that during forwarding, the host header will be swapped with this value.RouteAction.Builder.setIdleTimeout(com.google.protobuf.Duration value) Specifies the idle timeout for the route.RouteAction.Builder.setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue) Specifies the idle timeout for the route.RouteAction.Builder.setIncludeVhRateLimits(com.google.protobuf.BoolValue value) Specifies if the rate limit filter should include the virtual host rate limits.RouteAction.Builder.setIncludeVhRateLimits(com.google.protobuf.BoolValue.Builder builderForValue) Specifies if the rate limit filter should include the virtual host rate limits.RouteAction.Builder.setInternalRedirectAction(RouteAction.InternalRedirectAction value) .envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;RouteAction.Builder.setInternalRedirectActionValue(int value) .envoy.api.v2.route.RouteAction.InternalRedirectAction internal_redirect_action = 26;RouteAction.Builder.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.RouteAction.Builder.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.RouteAction.Builder.setMaxInternalRedirects(com.google.protobuf.UInt32Value value) An internal redirect is handled, iff the number of previous internal redirects that a downstream request has encountered is lower than this value, and :ref:`internal_redirect_action <envoy_api_field_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.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.RouteAction.Builder.setMetadataMatch(Metadata value) Optional endpoint metadata match criteria used by the subset load balancer.RouteAction.Builder.setMetadataMatch(Metadata.Builder builderForValue) Optional endpoint metadata match criteria used by the subset load balancer.RouteAction.Builder.setPrefixRewrite(String value) Indicates that during forwarding, the matched prefix (or path) should be swapped with this value.RouteAction.Builder.setPrefixRewriteBytes(com.google.protobuf.ByteString value) Indicates that during forwarding, the matched prefix (or path) should be swapped with this value.RouteAction.Builder.setPriority(RoutingPriority value) Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.RouteAction.Builder.setPriorityValue(int value) Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.RouteAction.Builder.setRateLimits(int index, RateLimit value) Specifies a set of rate limit configurations that could be applied to the route.RouteAction.Builder.setRateLimits(int index, RateLimit.Builder builderForValue) Specifies a set of rate limit configurations that could be applied to the route.RouteAction.Builder.setRegexRewrite(RegexMatchAndSubstitute value) Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string.RouteAction.Builder.setRegexRewrite(RegexMatchAndSubstitute.Builder builderForValue) Indicates that during forwarding, portions of the path that match the pattern should be rewritten, even allowing the substitution of capture groups from the pattern into the new path as specified by the rewrite substitution string.RouteAction.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) RouteAction.Builder.setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Indicates that the route has request mirroring policies.RouteAction.Builder.setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Indicates that the route has request mirroring policies.RouteAction.Builder.setRequestMirrorPolicy(RouteAction.RequestMirrorPolicy value) Deprecated.RouteAction.Builder.setRequestMirrorPolicy(RouteAction.RequestMirrorPolicy.Builder builderForValue) Deprecated.RouteAction.Builder.setRetryPolicy(RetryPolicy value) Indicates that the route has a retry policy.RouteAction.Builder.setRetryPolicy(RetryPolicy.Builder builderForValue) Indicates that the route has a retry policy.RouteAction.Builder.setRetryPolicyTypedConfig(com.google.protobuf.Any value) [#not-implemented-hide:] Specifies the configuration for retry policy extension.RouteAction.Builder.setRetryPolicyTypedConfig(com.google.protobuf.Any.Builder builderForValue) [#not-implemented-hide:] Specifies the configuration for retry policy extension.RouteAction.Builder.setTimeout(com.google.protobuf.Duration value) Specifies the upstream timeout for the route.RouteAction.Builder.setTimeout(com.google.protobuf.Duration.Builder builderForValue) Specifies the upstream timeout for the route.final RouteAction.BuilderRouteAction.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) RouteAction.Builder.setUpgradeConfigs(int index, RouteAction.UpgradeConfig value) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;RouteAction.Builder.setUpgradeConfigs(int index, RouteAction.UpgradeConfig.Builder builderForValue) repeated .envoy.api.v2.route.RouteAction.UpgradeConfig upgrade_configs = 25;RouteAction.Builder.setWeightedClusters(WeightedCluster value) Multiple upstream clusters can be specified for a given route.RouteAction.Builder.setWeightedClusters(WeightedCluster.Builder builderForValue) Multiple upstream clusters can be specified for a given route.RouteAction.toBuilder()Methods in io.envoyproxy.envoy.api.v2.route with parameters of type RouteAction.BuilderModifier and TypeMethodDescriptionRoute.Builder.setRoute(RouteAction.Builder builderForValue) Route request to some upstream cluster.