Interface DirectedReadOptions.ReplicaSelectionOrBuilder (6.71.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
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

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

string location = 1;

Returns
Type Description
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
Type Description
DirectedReadOptions.ReplicaSelection.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of replica.

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

Returns
Type Description
int

The enum numeric value on the wire for type.