Package com.google.spanner.v1
Interface DirectedReadOptions.ReplicaSelectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DirectedReadOptions.ReplicaSelection,DirectedReadOptions.ReplicaSelection.Builder
- Enclosing class:
- DirectedReadOptions
public static interface DirectedReadOptions.ReplicaSelectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe location or region of the serving requests, e.g.com.google.protobuf.ByteStringThe location or region of the serving requests, e.g.getType()The type of replica.intThe type of replica.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
-
getLocation
String getLocation()The location or region of the serving requests, e.g. "us-east1".
string location = 1;- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()The location or region of the serving requests, e.g. "us-east1".
string location = 1;- Returns:
- The bytes for location.
-
getTypeValue
int getTypeValue()The type of replica.
.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
The type of replica.
.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2;- Returns:
- The type.
-