Package com.google.cloud.spanner
Class InstanceId
java.lang.Object
com.google.cloud.spanner.InstanceId
Represents the resource name of a Cloud Spanner Instance.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the instance ID.getName()Returns the name of the instance.Returns the ID of the project that owns this instance.inthashCode()static InstanceIdCreates anInstanceIdgiven project and instance IDs.toString()
-
Method Details
-
getInstance
Returns the instance ID. -
getProject
Returns the ID of the project that owns this instance. -
getName
Returns the name of the instance. -
hashCode
public int hashCode() -
equals
-
toString
-
of
Creates anInstanceIdgiven project and instance IDs.
-