BackendServiceLocalityLoadBalancingPolicyConfigPolicyName enum
The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected.
Values
- invalidLbPolicy → const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName
-
const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName("INVALID_LB_POLICY") - leastRequest → const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName
-
const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName("LEAST_REQUEST") - maglev → const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName
-
const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName("MAGLEV") - originalDestination → const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName
-
const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName("ORIGINAL_DESTINATION") - random → const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName
-
const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName("RANDOM") - ringHash → const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName
-
const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName("RING_HASH") - roundRobin → const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName
-
const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName("ROUND_ROBIN") - weightedMaglev → const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName
-
const BackendServiceLocalityLoadBalancingPolicyConfigPolicyName("WEIGHTED_MAGLEV")
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireValue → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
-
values
→ const List<
BackendServiceLocalityLoadBalancingPolicyConfigPolicyName> - A constant List of the values in this enum, in order of their declaration.