| Modifier and Type | Method and Description |
|---|---|
HttpRouteAction.Builder |
HttpRouteAction.Builder.addAllWeightedBackendServices(Iterable<? extends WeightedBackendService> values)
A list of weighted backend services to send traffic to when a route match occurs.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.addWeightedBackendServices(int index,
WeightedBackendService.Builder builderForValue)
A list of weighted backend services to send traffic to when a route match occurs.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.addWeightedBackendServices(int index,
WeightedBackendService value)
A list of weighted backend services to send traffic to when a route match occurs.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.addWeightedBackendServices(WeightedBackendService.Builder builderForValue)
A list of weighted backend services to send traffic to when a route match occurs.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.addWeightedBackendServices(WeightedBackendService value)
A list of weighted backend services to send traffic to when a route match occurs.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.clear() |
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearCorsPolicy()
The specification for allowing client-side cross-origin requests.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearFaultInjectionPolicy()
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearMaxStreamDuration()
Specifies the maximum duration (timeout) for streams on the selected route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearRequestMirrorPolicy()
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearRetryPolicy()
Specifies the retry policy associated with this route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearTimeout()
Specifies the timeout for the selected route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearUrlRewrite()
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.clearWeightedBackendServices()
A list of weighted backend services to send traffic to when a route match occurs.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.clone() |
HttpRouteAction.Builder |
UrlMap.Builder.getDefaultRouteActionBuilder()
defaultRouteAction takes effect when none of the hostRules match.
|
HttpRouteAction.Builder |
PathMatcher.Builder.getDefaultRouteActionBuilder()
defaultRouteAction takes effect when none of the pathRules or routeRules match.
|
HttpRouteAction.Builder |
HttpRouteRule.Builder.getRouteActionBuilder()
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend.
|
HttpRouteAction.Builder |
PathRule.Builder.getRouteActionBuilder()
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeCorsPolicy(CorsPolicy value)
The specification for allowing client-side cross-origin requests.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeFaultInjectionPolicy(HttpFaultInjection value)
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeFrom(HttpRouteAction other) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeFrom(com.google.protobuf.Message other) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeMaxStreamDuration(Duration value)
Specifies the maximum duration (timeout) for streams on the selected route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeRequestMirrorPolicy(RequestMirrorPolicy value)
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeRetryPolicy(HttpRetryPolicy value)
Specifies the retry policy associated with this route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeTimeout(Duration value)
Specifies the timeout for the selected route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.mergeUrlRewrite(UrlRewrite value)
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers.
|
static HttpRouteAction.Builder |
HttpRouteAction.newBuilder() |
static HttpRouteAction.Builder |
HttpRouteAction.newBuilder(HttpRouteAction prototype) |
HttpRouteAction.Builder |
HttpRouteAction.newBuilderForType() |
protected HttpRouteAction.Builder |
HttpRouteAction.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.removeWeightedBackendServices(int index)
A list of weighted backend services to send traffic to when a route match occurs.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setCorsPolicy(CorsPolicy.Builder builderForValue)
The specification for allowing client-side cross-origin requests.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setCorsPolicy(CorsPolicy value)
The specification for allowing client-side cross-origin requests.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setFaultInjectionPolicy(HttpFaultInjection.Builder builderForValue)
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setFaultInjectionPolicy(HttpFaultInjection value)
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.setMaxStreamDuration(Duration.Builder builderForValue)
Specifies the maximum duration (timeout) for streams on the selected route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setMaxStreamDuration(Duration value)
Specifies the maximum duration (timeout) for streams on the selected route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.setRequestMirrorPolicy(RequestMirrorPolicy.Builder builderForValue)
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setRequestMirrorPolicy(RequestMirrorPolicy value)
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setRetryPolicy(HttpRetryPolicy.Builder builderForValue)
Specifies the retry policy associated with this route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setRetryPolicy(HttpRetryPolicy value)
Specifies the retry policy associated with this route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setTimeout(Duration.Builder builderForValue)
Specifies the timeout for the selected route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setTimeout(Duration value)
Specifies the timeout for the selected route.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpRouteAction.Builder |
HttpRouteAction.Builder.setUrlRewrite(UrlRewrite.Builder builderForValue)
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setUrlRewrite(UrlRewrite value)
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setWeightedBackendServices(int index,
WeightedBackendService.Builder builderForValue)
A list of weighted backend services to send traffic to when a route match occurs.
|
HttpRouteAction.Builder |
HttpRouteAction.Builder.setWeightedBackendServices(int index,
WeightedBackendService value)
A list of weighted backend services to send traffic to when a route match occurs.
|
HttpRouteAction.Builder |
HttpRouteAction.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
UrlMap.Builder |
UrlMap.Builder.setDefaultRouteAction(HttpRouteAction.Builder builderForValue)
defaultRouteAction takes effect when none of the hostRules match.
|
PathMatcher.Builder |
PathMatcher.Builder.setDefaultRouteAction(HttpRouteAction.Builder builderForValue)
defaultRouteAction takes effect when none of the pathRules or routeRules match.
|
HttpRouteRule.Builder |
HttpRouteRule.Builder.setRouteAction(HttpRouteAction.Builder builderForValue)
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend.
|
PathRule.Builder |
PathRule.Builder.setRouteAction(HttpRouteAction.Builder builderForValue)
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend.
|
Copyright © 2025 Google LLC. All rights reserved.