Interface RestoreInfoOrBuilder (6.51.0)

public interface RestoreInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupInfo()

public abstract BackupInfo getBackupInfo()

Information about the backup used to restore the database. The backup may no longer exist.

.google.spanner.admin.database.v1.BackupInfo backup_info = 2;

Returns
TypeDescription
BackupInfo

The backupInfo.

getBackupInfoOrBuilder()

public abstract BackupInfoOrBuilder getBackupInfoOrBuilder()

Information about the backup used to restore the database. The backup may no longer exist.

.google.spanner.admin.database.v1.BackupInfo backup_info = 2;

Returns
TypeDescription
BackupInfoOrBuilder

getSourceInfoCase()

public abstract RestoreInfo.SourceInfoCase getSourceInfoCase()
Returns
TypeDescription
RestoreInfo.SourceInfoCase

getSourceType()

public abstract RestoreSourceType getSourceType()

The type of the restore source.

.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;

Returns
TypeDescription
RestoreSourceType

The sourceType.

getSourceTypeValue()

public abstract int getSourceTypeValue()

The type of the restore source.

.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for sourceType.

hasBackupInfo()

public abstract boolean hasBackupInfo()

Information about the backup used to restore the database. The backup may no longer exist.

.google.spanner.admin.database.v1.BackupInfo backup_info = 2;

Returns
TypeDescription
boolean

Whether the backupInfo field is set.