Interface ReplicaInfoOrBuilder (6.66.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
Type Description
boolean

The defaultLeaderLocation.

getLocation()

public abstract String getLocation()

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

string location = 1;

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

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

string location = 1;

Returns
Type Description
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
Type Description
ReplicaInfo.ReplicaType

The type.

getTypeValue()

public abstract int getTypeValue()

The type of replica.

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

Returns
Type Description
int

The enum numeric value on the wire for type.