Package com.google.cloud.spanner
Class RestoreInfo
- java.lang.Object
-
- com.google.cloud.spanner.RestoreInfo
-
public class RestoreInfo extends Object
Represents the restore information of a Cloud Spanner database.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestoreInfo.RestoreSourceTypeSource of the restore information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupIdgetBackup()The backup source of the restored database.com.google.cloud.TimestampgetBackupCreateTime()The create time of the backup for the restore.RestoreInfogetProto()Returns the raw proto instance that was used to construct thisRestoreInfo.DatabaseIdgetSourceDatabase()The source database that was used to create the backup.RestoreInfo.RestoreSourceTypegetSourceType()The source type of the restore.
-
-
-
Method Detail
-
getBackup
public BackupId getBackup()
The backup source of the restored database. The backup may no longer exist.
-
getSourceType
public RestoreInfo.RestoreSourceType getSourceType()
The source type of the restore.
-
getBackupCreateTime
public com.google.cloud.Timestamp getBackupCreateTime()
The create time of the backup for the restore.
-
getSourceDatabase
public DatabaseId getSourceDatabase()
The source database that was used to create the backup. The database may no longer exist.
-
getProto
@Nullable public RestoreInfo getProto()
Returns the raw proto instance that was used to construct thisRestoreInfo.
-
-