public final class Backend extends com.google.protobuf.GeneratedMessageV3 implements BackendOrBuilder
Message containing information of one individual backend.Protobuf type
google.cloud.compute.v1.Backend| Modifier and Type | Class and Description |
|---|---|
static class |
Backend.BalancingMode
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.
|
static class |
Backend.Builder
Message containing information of one individual backend.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BALANCING_MODE_FIELD_NUMBER |
static int |
CAPACITY_SCALER_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FAILOVER_FIELD_NUMBER |
static int |
GROUP_FIELD_NUMBER |
static int |
MAX_CONNECTIONS_FIELD_NUMBER |
static int |
MAX_CONNECTIONS_PER_ENDPOINT_FIELD_NUMBER |
static int |
MAX_CONNECTIONS_PER_INSTANCE_FIELD_NUMBER |
static int |
MAX_RATE_FIELD_NUMBER |
static int |
MAX_RATE_PER_ENDPOINT_FIELD_NUMBER |
static int |
MAX_RATE_PER_INSTANCE_FIELD_NUMBER |
static int |
MAX_UTILIZATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBalancingMode()
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.
|
com.google.protobuf.ByteString |
getBalancingModeBytes()
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.
|
float |
getCapacityScaler()
A multiplier applied to the backend's target capacity of its balancing mode.
|
static Backend |
getDefaultInstance() |
Backend |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getFailover()
This field designates whether this is a failover backend.
|
String |
getGroup()
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
com.google.protobuf.ByteString |
getGroupBytes()
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
int |
getMaxConnections()
Defines a target maximum number of simultaneous connections.
|
int |
getMaxConnectionsPerEndpoint()
Defines a target maximum number of simultaneous connections.
|
int |
getMaxConnectionsPerInstance()
Defines a target maximum number of simultaneous connections.
|
int |
getMaxRate()
Defines a maximum number of HTTP requests per second (RPS).
|
float |
getMaxRatePerEndpoint()
Defines a maximum target for requests per second (RPS).
|
float |
getMaxRatePerInstance()
Defines a maximum target for requests per second (RPS).
|
float |
getMaxUtilization()
Optional parameter to define a target capacity for the UTILIZATION balancing mode.
|
com.google.protobuf.Parser<Backend> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBalancingMode()
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.
|
boolean |
hasCapacityScaler()
A multiplier applied to the backend's target capacity of its balancing mode.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasFailover()
This field designates whether this is a failover backend.
|
boolean |
hasGroup()
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
int |
hashCode() |
boolean |
hasMaxConnections()
Defines a target maximum number of simultaneous connections.
|
boolean |
hasMaxConnectionsPerEndpoint()
Defines a target maximum number of simultaneous connections.
|
boolean |
hasMaxConnectionsPerInstance()
Defines a target maximum number of simultaneous connections.
|
boolean |
hasMaxRate()
Defines a maximum number of HTTP requests per second (RPS).
|
boolean |
hasMaxRatePerEndpoint()
Defines a maximum target for requests per second (RPS).
|
boolean |
hasMaxRatePerInstance()
Defines a maximum target for requests per second (RPS).
|
boolean |
hasMaxUtilization()
Optional parameter to define a target capacity for the UTILIZATION balancing mode.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Backend.Builder |
newBuilder() |
static Backend.Builder |
newBuilder(Backend prototype) |
Backend.Builder |
newBuilderForType() |
protected Backend.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Backend |
parseDelimitedFrom(InputStream input) |
static Backend |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backend |
parseFrom(byte[] data) |
static Backend |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backend |
parseFrom(ByteBuffer data) |
static Backend |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backend |
parseFrom(com.google.protobuf.ByteString data) |
static Backend |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backend |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Backend |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backend |
parseFrom(InputStream input) |
static Backend |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Backend> |
parser() |
Backend.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BALANCING_MODE_FIELD_NUMBER
public static final int CAPACITY_SCALER_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int FAILOVER_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER
public static final int MAX_CONNECTIONS_FIELD_NUMBER
public static final int MAX_CONNECTIONS_PER_ENDPOINT_FIELD_NUMBER
public static final int MAX_CONNECTIONS_PER_INSTANCE_FIELD_NUMBER
public static final int MAX_RATE_FIELD_NUMBER
public static final int MAX_RATE_PER_ENDPOINT_FIELD_NUMBER
public static final int MAX_RATE_PER_INSTANCE_FIELD_NUMBER
public static final int MAX_UTILIZATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasBalancingMode()
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. Check the BalancingMode enum for the list of possible values.
optional string balancing_mode = 430286217;hasBalancingMode in interface BackendOrBuilderpublic String getBalancingMode()
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. Check the BalancingMode enum for the list of possible values.
optional string balancing_mode = 430286217;getBalancingMode in interface BackendOrBuilderpublic com.google.protobuf.ByteString getBalancingModeBytes()
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. Check the BalancingMode enum for the list of possible values.
optional string balancing_mode = 430286217;getBalancingModeBytes in interface BackendOrBuilderpublic boolean hasCapacityScaler()
A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. Not available with backends that don't support using a balancingMode. This includes backends such as global internet NEGs, regional serverless NEGs, and PSC NEGs.
optional float capacity_scaler = 315958157;hasCapacityScaler in interface BackendOrBuilderpublic float getCapacityScaler()
A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. Not available with backends that don't support using a balancingMode. This includes backends such as global internet NEGs, regional serverless NEGs, and PSC NEGs.
optional float capacity_scaler = 315958157;getCapacityScaler in interface BackendOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface BackendOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface BackendOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface BackendOrBuilderpublic boolean hasFailover()
This field designates whether this is a failover backend. More than one failover backend can be configured for a given BackendService.
optional bool failover = 138892530;hasFailover in interface BackendOrBuilderpublic boolean getFailover()
This field designates whether this is a failover backend. More than one failover backend can be configured for a given BackendService.
optional bool failover = 138892530;getFailover in interface BackendOrBuilderpublic boolean hasGroup()
The fully-qualified URL of an instance group or network endpoint group (NEG) resource. To determine what types of backends a load balancer supports, see the [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service#backends). You must use the *fully-qualified* URL (starting with https://www.googleapis.com/) to specify the instance group or NEG. Partial URLs are not supported.
optional string group = 98629247;hasGroup in interface BackendOrBuilderpublic String getGroup()
The fully-qualified URL of an instance group or network endpoint group (NEG) resource. To determine what types of backends a load balancer supports, see the [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service#backends). You must use the *fully-qualified* URL (starting with https://www.googleapis.com/) to specify the instance group or NEG. Partial URLs are not supported.
optional string group = 98629247;getGroup in interface BackendOrBuilderpublic com.google.protobuf.ByteString getGroupBytes()
The fully-qualified URL of an instance group or network endpoint group (NEG) resource. To determine what types of backends a load balancer supports, see the [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service#backends). You must use the *fully-qualified* URL (starting with https://www.googleapis.com/) to specify the instance group or NEG. Partial URLs are not supported.
optional string group = 98629247;getGroupBytes in interface BackendOrBuilderpublic boolean hasMaxConnections()
Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.
optional int32 max_connections = 110652154;hasMaxConnections in interface BackendOrBuilderpublic int getMaxConnections()
Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.
optional int32 max_connections = 110652154;getMaxConnections in interface BackendOrBuilderpublic boolean hasMaxConnectionsPerEndpoint()
Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.
optional int32 max_connections_per_endpoint = 216904604;hasMaxConnectionsPerEndpoint in interface BackendOrBuilderpublic int getMaxConnectionsPerEndpoint()
Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.
optional int32 max_connections_per_endpoint = 216904604;getMaxConnectionsPerEndpoint in interface BackendOrBuilderpublic boolean hasMaxConnectionsPerInstance()
Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.
optional int32 max_connections_per_instance = 104671900;hasMaxConnectionsPerInstance in interface BackendOrBuilderpublic int getMaxConnectionsPerInstance()
Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.
optional int32 max_connections_per_instance = 104671900;getMaxConnectionsPerInstance in interface BackendOrBuilderpublic boolean hasMaxRate()
Defines a maximum number of HTTP requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.
optional int32 max_rate = 408035035;hasMaxRate in interface BackendOrBuilderpublic int getMaxRate()
Defines a maximum number of HTTP requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.
optional int32 max_rate = 408035035;getMaxRate in interface BackendOrBuilderpublic boolean hasMaxRatePerEndpoint()
Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.
optional float max_rate_per_endpoint = 129832283;hasMaxRatePerEndpoint in interface BackendOrBuilderpublic float getMaxRatePerEndpoint()
Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.
optional float max_rate_per_endpoint = 129832283;getMaxRatePerEndpoint in interface BackendOrBuilderpublic boolean hasMaxRatePerInstance()
Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.
optional float max_rate_per_instance = 17599579;hasMaxRatePerInstance in interface BackendOrBuilderpublic float getMaxRatePerInstance()
Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.
optional float max_rate_per_instance = 17599579;getMaxRatePerInstance in interface BackendOrBuilderpublic boolean hasMaxUtilization()
Optional parameter to define a target capacity for the UTILIZATION balancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode.
optional float max_utilization = 148192199;hasMaxUtilization in interface BackendOrBuilderpublic float getMaxUtilization()
Optional parameter to define a target capacity for the UTILIZATION balancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode.
optional float max_utilization = 148192199;getMaxUtilization in interface BackendOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Backend parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backend parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backend parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backend parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backend parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backend parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backend parseFrom(InputStream input) throws IOException
IOExceptionpublic static Backend parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backend parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Backend parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backend parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Backend parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Backend.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Backend.Builder newBuilder()
public static Backend.Builder newBuilder(Backend prototype)
public Backend.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Backend.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Backend getDefaultInstance()
public static com.google.protobuf.Parser<Backend> parser()
public com.google.protobuf.Parser<Backend> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Backend getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.