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 Type
    Method
    Description
    The location or region of the serving requests, e.g.
    com.google.protobuf.ByteString
    The location or region of the serving requests, e.g.
    The type of replica.
    int
    The type of replica.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.