Interface DirectedReadOptions.ExcludeReplicasOrBuilder (6.55.0)

public static interface DirectedReadOptions.ExcludeReplicasOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReplicaSelections(int index)

public abstract DirectedReadOptions.ReplicaSelection getReplicaSelections(int index)

The directed read replica selector.

repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DirectedReadOptions.ReplicaSelection

getReplicaSelectionsCount()

public abstract int getReplicaSelectionsCount()

The directed read replica selector.

repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;

Returns
TypeDescription
int

getReplicaSelectionsList()

public abstract List<DirectedReadOptions.ReplicaSelection> getReplicaSelectionsList()

The directed read replica selector.

repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;

Returns
TypeDescription
List<ReplicaSelection>

getReplicaSelectionsOrBuilder(int index)

public abstract DirectedReadOptions.ReplicaSelectionOrBuilder getReplicaSelectionsOrBuilder(int index)

The directed read replica selector.

repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DirectedReadOptions.ReplicaSelectionOrBuilder

getReplicaSelectionsOrBuilderList()

public abstract List<? extends DirectedReadOptions.ReplicaSelectionOrBuilder> getReplicaSelectionsOrBuilderList()

The directed read replica selector.

repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;

Returns
TypeDescription
List<? extends com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder>