Enum Backend.BalancingMode (1.28.0)

public enum Backend.BalancingMode extends Enum<Backend.BalancingMode> implements ProtocolMessageEnum

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.

Protobuf enum google.cloud.compute.v1.Backend.BalancingMode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CONNECTION

Balance based on the number of simultaneous connections.

CONNECTION = 246311646;

CONNECTION_VALUE

Balance based on the number of simultaneous connections.

CONNECTION = 246311646;

RATE

Balance based on requests per second (RPS).

RATE = 2508000;

RATE_VALUE

Balance based on requests per second (RPS).

RATE = 2508000;

UNDEFINED_BALANCING_MODE

A value indicating that the enum field is not set.

UNDEFINED_BALANCING_MODE = 0;

UNDEFINED_BALANCING_MODE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_BALANCING_MODE = 0;

UNRECOGNIZED
UTILIZATION

Balance based on the backend utilization.

UTILIZATION = 157008386;

UTILIZATION_VALUE

Balance based on the backend utilization.

UTILIZATION = 157008386;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()