@Generated(value="by GAPIC") @BetaApi public final class Backend extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Backend.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
String |
getBalancingMode()
Specifies the balancing mode for this backend.
|
Float |
getCapacityScaler()
A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or
CONNECTION).
|
static Backend |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getGroup()
The fully-qualified URL of an Instance Group or Network Endpoint Group resource.
|
Integer |
getMaxConnections()
The max number of simultaneous connections for the group.
|
Integer |
getMaxConnectionsPerEndpoint()
The max number of simultaneous connections that a single backend network endpoint can handle.
|
Integer |
getMaxConnectionsPerInstance()
The max number of simultaneous connections that a single backend instance can handle.
|
Integer |
getMaxRate()
The max requests per second (RPS) of the group.
|
Float |
getMaxRatePerEndpoint()
The max requests per second (RPS) that a single backend network endpoint can handle.
|
Float |
getMaxRatePerInstance()
The max requests per second (RPS) that a single backend instance can handle.
|
Float |
getMaxUtilization()
Used when balancingMode is UTILIZATION.
|
int |
hashCode() |
static Backend.Builder |
newBuilder() |
static Backend.Builder |
newBuilder(Backend prototype) |
Backend.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public String getBalancingMode()
For Internal Load Balancing, the default and only supported mode is CONNECTION.
public Float getCapacityScaler()
This cannot be used for internal load balancing.
public String getDescription()
public String getGroup()
For Network Endpoint Groups this defines list of endpoints. All endpoints of Network Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint Group.
Backend service can not contain mix of Instance Group and Network Endpoint Group backends.
Note that you must specify an Instance Group or Network Endpoint Group resource using the fully-qualified URL, rather than a partial URL.
When the BackendService has load balancing scheme INTERNAL, the instance group must be within the same region as the BackendService. Network Endpoint Groups are not supported for INTERNAL load balancing scheme.
public Integer getMaxConnections()
This cannot be used for internal load balancing.
public Integer getMaxConnectionsPerEndpoint()
This cannot be used for internal load balancing.
public Integer getMaxConnectionsPerInstance()
This cannot be used for internal load balancing.
public Integer getMaxRate()
This cannot be used for internal load balancing.
public Float getMaxRatePerEndpoint()
This cannot be used for internal load balancing.
public Float getMaxRatePerInstance()
This cannot be used for internal load balancing.
public Float getMaxUtilization()
This cannot be used for internal load balancing.
public static Backend.Builder newBuilder()
public static Backend.Builder newBuilder(Backend prototype)
public Backend.Builder toBuilder()
public static Backend getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.