Class ReplicaInfo (2.21.0)

public class ReplicaInfo

Inheritance

Object > ReplicaInfo

Static Methods

fromProto(ReplicaInfo arg0)

public static ReplicaInfo fromProto(ReplicaInfo arg0)
Parameter
Name Description
arg0 com.google.spanner.admin.instance.v1.ReplicaInfo
Returns
Type Description
ReplicaInfo

Methods

equals(Object arg0)

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

getLocation()

public String getLocation()
Returns
Type Description
String

getProto()

public ReplicaInfo getProto()
Returns
Type Description
com.google.spanner.admin.instance.v1.ReplicaInfo

getType()

public ReplicaInfo.ReplicaType getType()
Returns
Type Description
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