Class ReplicaInfo (6.25.0)

public class ReplicaInfo

Represents a Cloud Spanner replica information.

Inheritance

Object > ReplicaInfo

Static Methods

fromProto(ReplicaInfo proto)

public static ReplicaInfo fromProto(ReplicaInfo proto)
Parameter
NameDescription
protoReplicaInfo
Returns
TypeDescription
ReplicaInfo

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProto()

public ReplicaInfo getProto()
Returns
TypeDescription
ReplicaInfo

getType()

public ReplicaInfo.ReplicaType getType()
Returns
TypeDescription
ReplicaInfo.ReplicaType

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

isDefaultLeaderLocation()

public boolean isDefaultLeaderLocation()
Returns
TypeDescription
boolean

toString()

public String toString()
Returns
TypeDescription
String
Overrides