Interface DirectedReadOptions.ReplicaSelectionOrBuilder (6.62.0)

public static interface DirectedReadOptions.ReplicaSelectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocation()

public abstract String getLocation()

The location or region of the serving requests, e.g. "us-east1".

string location = 1;

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

The location or region of the serving requests, e.g. "us-east1".

string location = 1;

Returns
TypeDescription
ByteString

The bytes for location.

getType()

public abstract DirectedReadOptions.ReplicaSelection.Type getType()

The type of replica.

.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2;

Returns
TypeDescription
DirectedReadOptions.ReplicaSelection.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of replica.

.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.