@Generated(value="by GAPIC") @BetaApi public final class HttpRouteAction extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HttpRouteAction.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
CorsPolicy |
getCorsPolicy()
The specification for allowing client side cross-origin requests.
|
static HttpRouteAction |
getDefaultInstance() |
HttpFaultInjection |
getFaultInjectionPolicy()
The specification for fault injection introduced into traffic to test the resiliency of clients
to backend service failure.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
RequestMirrorPolicy |
getRequestMirrorPolicy()
Specifies the policy on how requests intended for the route's backends are shadowed to a
separate mirrored backend service.
|
HttpRetryPolicy |
getRetryPolicy()
Specifies the retry policy associated with this route.
|
Duration |
getTimeout()
Specifies the timeout for the selected route.
|
UrlRewrite |
getUrlRewrite()
The spec to modify the URL of the request, prior to forwarding the request to the matched
service
|
List<WeightedBackendService> |
getWeightedBackendServicesList()
A list of weighted backend services to send traffic to when a route match occurs.
|
int |
hashCode() |
static HttpRouteAction.Builder |
newBuilder() |
static HttpRouteAction.Builder |
newBuilder(HttpRouteAction prototype) |
HttpRouteAction.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public CorsPolicy getCorsPolicy()
public HttpFaultInjection getFaultInjectionPolicy()
public RequestMirrorPolicy getRequestMirrorPolicy()
public HttpRetryPolicy getRetryPolicy()
public Duration getTimeout()
public UrlRewrite getUrlRewrite()
public List<WeightedBackendService> getWeightedBackendServicesList()
public static HttpRouteAction.Builder newBuilder()
public static HttpRouteAction.Builder newBuilder(HttpRouteAction prototype)
public HttpRouteAction.Builder toBuilder()
public static HttpRouteAction getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.