public interface BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getName()
public abstract String getName()The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. Check the Name enum for the list of possible values.
optional string name = 3373707;
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. Check the Name enum for the list of possible values.
optional string name = 3373707;
| Type | Description |
ByteString |
The bytes for name. |
hasName()
public abstract boolean hasName()The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. Check the Name enum for the list of possible values.
optional string name = 3373707;
| Type | Description |
boolean |
Whether the name field is set. |