Interface ReplicaInfoOrBuilder (6.54.0)

public interface ReplicaInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultLeaderLocation()

public abstract boolean getDefaultLeaderLocation()

If true, this location is designated as the default leader location where leader replicas are placed. See the region types documentation for more details.

bool default_leader_location = 3;

Returns
TypeDescription
boolean

The defaultLeaderLocation.

getLocation()

public abstract String getLocation()

The location of the serving resources, e.g. "us-central1".

string location = 1;

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

The location of the serving resources, e.g. "us-central1".

string location = 1;

Returns
TypeDescription
ByteString

The bytes for location.

getType()

public abstract ReplicaInfo.ReplicaType getType()

The type of replica.

.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2;

Returns
TypeDescription
ReplicaInfo.ReplicaType

The type.

getTypeValue()

public abstract int getTypeValue()

The type of replica.

.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.