@Generated(value="by GAPIC") @BetaApi public final class WeightedBackendService extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
WeightedBackendService.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getBackendService()
The full or partial URL to the default BackendService resource.
|
static WeightedBackendService |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
HttpHeaderAction |
getHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected
backendService.
|
Integer |
getWeight()
Specifies the fraction of traffic sent to backendService, computed as weight / (sum of all
weightedBackendService weights in routeAction) .
|
int |
hashCode() |
static WeightedBackendService.Builder |
newBuilder() |
static WeightedBackendService.Builder |
newBuilder(WeightedBackendService prototype) |
WeightedBackendService.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 String getBackendService()
public HttpHeaderAction getHeaderAction()
public Integer getWeight()
public static WeightedBackendService.Builder newBuilder()
public static WeightedBackendService.Builder newBuilder(WeightedBackendService prototype)
public WeightedBackendService.Builder toBuilder()
public static WeightedBackendService getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.