public static final class Backend.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder> implements BackendOrBuilder
Message containing information of one individual backend.Protobuf type
google.cloud.compute.v1.Backend| Modifier and Type | Method and Description |
|---|---|
Backend.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Backend |
build() |
Backend |
buildPartial() |
Backend.Builder |
clear() |
Backend.Builder |
clearBalancingMode()
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.
|
Backend.Builder |
clearCapacityScaler()
A multiplier applied to the backend's target capacity of its balancing mode.
|
Backend.Builder |
clearDescription()
An optional description of this resource.
|
Backend.Builder |
clearFailover()
This field designates whether this is a failover backend.
|
Backend.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Backend.Builder |
clearGroup()
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
Backend.Builder |
clearMaxConnections()
Defines a target maximum number of simultaneous connections.
|
Backend.Builder |
clearMaxConnectionsPerEndpoint()
Defines a target maximum number of simultaneous connections.
|
Backend.Builder |
clearMaxConnectionsPerInstance()
Defines a target maximum number of simultaneous connections.
|
Backend.Builder |
clearMaxRate()
Defines a maximum number of HTTP requests per second (RPS).
|
Backend.Builder |
clearMaxRatePerEndpoint()
Defines a maximum target for requests per second (RPS).
|
Backend.Builder |
clearMaxRatePerInstance()
Defines a maximum target for requests per second (RPS).
|
Backend.Builder |
clearMaxUtilization()
Optional parameter to define a target capacity for the UTILIZATION balancing mode.
|
Backend.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Backend.Builder |
clone() |
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.
|
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.
|
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() |
Backend.Builder |
mergeFrom(Backend other) |
Backend.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Backend.Builder |
mergeFrom(com.google.protobuf.Message other) |
Backend.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Backend.Builder |
setBalancingMode(String value)
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.
|
Backend.Builder |
setBalancingModeBytes(com.google.protobuf.ByteString value)
Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.
|
Backend.Builder |
setCapacityScaler(float value)
A multiplier applied to the backend's target capacity of its balancing mode.
|
Backend.Builder |
setDescription(String value)
An optional description of this resource.
|
Backend.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
Backend.Builder |
setFailover(boolean value)
This field designates whether this is a failover backend.
|
Backend.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Backend.Builder |
setGroup(String value)
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
Backend.Builder |
setGroupBytes(com.google.protobuf.ByteString value)
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
Backend.Builder |
setMaxConnections(int value)
Defines a target maximum number of simultaneous connections.
|
Backend.Builder |
setMaxConnectionsPerEndpoint(int value)
Defines a target maximum number of simultaneous connections.
|
Backend.Builder |
setMaxConnectionsPerInstance(int value)
Defines a target maximum number of simultaneous connections.
|
Backend.Builder |
setMaxRate(int value)
Defines a maximum number of HTTP requests per second (RPS).
|
Backend.Builder |
setMaxRatePerEndpoint(float value)
Defines a maximum target for requests per second (RPS).
|
Backend.Builder |
setMaxRatePerInstance(float value)
Defines a maximum target for requests per second (RPS).
|
Backend.Builder |
setMaxUtilization(float value)
Optional parameter to define a target capacity for the UTILIZATION balancing mode.
|
Backend.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Backend.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public Backend.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public Backend getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Backend build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Backend buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Backend.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public Backend.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public Backend.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public Backend.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public Backend.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public Backend.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public Backend.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Backend.Builder>public Backend.Builder mergeFrom(Backend other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public Backend.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Backend.Builder>IOExceptionpublic 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 Backend.Builder setBalancingMode(String value)
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;value - The balancingMode to set.public Backend.Builder clearBalancingMode()
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;public Backend.Builder setBalancingModeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for balancingMode to set.public 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 Backend.Builder setCapacityScaler(float value)
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;value - The capacityScaler to set.public Backend.Builder clearCapacityScaler()
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;public 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 Backend.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public Backend.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public Backend.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public 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 Backend.Builder setFailover(boolean value)
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;value - The failover to set.public Backend.Builder clearFailover()
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;public 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 Backend.Builder setGroup(String value)
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;value - The group to set.public Backend.Builder clearGroup()
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;public Backend.Builder setGroupBytes(com.google.protobuf.ByteString value)
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;value - The bytes for group to set.public 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 Backend.Builder setMaxConnections(int value)
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;value - The maxConnections to set.public Backend.Builder clearMaxConnections()
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;public 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 Backend.Builder setMaxConnectionsPerEndpoint(int value)
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;value - The maxConnectionsPerEndpoint to set.public Backend.Builder clearMaxConnectionsPerEndpoint()
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;public 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 Backend.Builder setMaxConnectionsPerInstance(int value)
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;value - The maxConnectionsPerInstance to set.public Backend.Builder clearMaxConnectionsPerInstance()
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;public 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 Backend.Builder setMaxRate(int value)
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;value - The maxRate to set.public Backend.Builder clearMaxRate()
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;public 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 Backend.Builder setMaxRatePerEndpoint(float value)
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;value - The maxRatePerEndpoint to set.public Backend.Builder clearMaxRatePerEndpoint()
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;public 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 Backend.Builder setMaxRatePerInstance(float value)
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;value - The maxRatePerInstance to set.public Backend.Builder clearMaxRatePerInstance()
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;public 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 Backend.Builder setMaxUtilization(float value)
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;value - The maxUtilization to set.public Backend.Builder clearMaxUtilization()
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;public final Backend.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>public final Backend.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Backend.Builder>Copyright © 2023 Google LLC. All rights reserved.