Package io.grpc.serviceconfig
Interface LrsLoadBalancingPolicyConfig.LocalityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LrsLoadBalancingPolicyConfig.Locality,LrsLoadBalancingPolicyConfig.Locality.Builder
- Enclosing class:
- LrsLoadBalancingPolicyConfig
public static interface LrsLoadBalancingPolicyConfig.LocalityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring region = 1;com.google.protobuf.ByteStringstring region = 1;string subzone = 3;com.google.protobuf.ByteStringstring subzone = 3;getZone()string zone = 2;com.google.protobuf.ByteStringstring zone = 2;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRegion
String getRegion()string region = 1;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()string region = 1;- Returns:
- The bytes for region.
-
getZone
String getZone()string zone = 2;- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()string zone = 2;- Returns:
- The bytes for zone.
-
getSubzone
String getSubzone()string subzone = 3;- Returns:
- The subzone.
-
getSubzoneBytes
com.google.protobuf.ByteString getSubzoneBytes()string subzone = 3;- Returns:
- The bytes for subzone.
-