Class ReplicaInfo (6.66.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
Name Description
proto ReplicaInfo
Returns
Type Description
ReplicaInfo

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getLocation()

public String getLocation()
Returns
Type Description
String

getProto()

public ReplicaInfo getProto()
Returns
Type Description
ReplicaInfo

getType()

public ReplicaInfo.ReplicaType getType()
Returns
Type Description
ReplicaInfo.ReplicaType

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

isDefaultLeaderLocation()

public boolean isDefaultLeaderLocation()
Returns
Type Description
boolean

toString()

public String toString()
Returns
Type Description
String
Overrides