Uses of Class
com.google.cloud.spanner.InstanceId
-
Packages that use InstanceId Package Description com.google.cloud.spanner A client for Cloud Spanner - A no-compromise relational database service.com.google.cloud.spanner.testing -
-
Uses of InstanceId in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return InstanceId Modifier and Type Method Description InstanceIdInstanceInfo. getId()Returns the identifier of the instance.InstanceIdBackupId. getInstanceId()Returns the instance id for this backup.InstanceIdBackupInfo. getInstanceId()Returns the id of the instance that the backup belongs to.InstanceIdDatabaseId. getInstanceId()Returns the instance id for this database.static InstanceIdInstanceId. of(String project, String instance)Creates anInstanceIdgiven project and instance IDs.Methods in com.google.cloud.spanner with parameters of type InstanceId Modifier and Type Method Description static InstanceInfo.BuilderInstanceInfo. newBuilder(InstanceId id)Instance.BuilderInstanceAdminClient. newInstanceBuilder(InstanceId id)Returns a builder forInstanceobject with the given id.static BackupIdBackupId. of(InstanceId instanceId, String backup)Creates aBackupIdgiven the instance identity and backup id.static DatabaseIdDatabaseId. of(InstanceId instanceId, String database)Creates aDatabaseIdgiven the instance identity and database id. -
Uses of InstanceId in com.google.cloud.spanner.testing
Methods in com.google.cloud.spanner.testing that return InstanceId Modifier and Type Method Description InstanceIdRemoteSpannerHelper. getInstanceId()Methods in com.google.cloud.spanner.testing with parameters of type InstanceId Modifier and Type Method Description static RemoteSpannerHelperRemoteSpannerHelper. create(InstanceId instanceId)Creates aRemoteSpannerHelperbound to the given instance ID.static RemoteSpannerHelperRemoteSpannerHelper. create(SpannerOptions options, InstanceId instanceId)Creates aRemoteSpannerHelperfor the given option and bound to the given instance ID.Constructors in com.google.cloud.spanner.testing with parameters of type InstanceId Constructor Description RemoteSpannerHelper(SpannerOptions options, InstanceId instanceId, Spanner client)
-