Enum Backend.Preference (1.59.0)

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

This field indicates whether this backend should be fully utilized before sending traffic to backends with default preference. The possible values are: - PREFERRED: Backends with this preference level will be filled up to their capacity limits first, based on RTT. - DEFAULT: If preferred backends don't have enough capacity, backends in this layer would be used and traffic would be assigned based on the load balancing algorithm you use. This is the default

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
DEFAULT

No preference.

DEFAULT = 115302945;

DEFAULT_VALUE

No preference.

DEFAULT = 115302945;

PREFERENCE_UNSPECIFIED

If preference is unspecified, we set it to the DEFAULT value

PREFERENCE_UNSPECIFIED = 496219571;

PREFERENCE_UNSPECIFIED_VALUE

If preference is unspecified, we set it to the DEFAULT value

PREFERENCE_UNSPECIFIED = 496219571;

PREFERRED

Traffic will be sent to this backend first.

PREFERRED = 418847841;

PREFERRED_VALUE

Traffic will be sent to this backend first.

PREFERRED = 418847841;

UNDEFINED_PREFERENCE

A value indicating that the enum field is not set.

UNDEFINED_PREFERENCE = 0;

UNDEFINED_PREFERENCE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_PREFERENCE = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()