Interface RestoreInfoOrBuilder (6.77.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
Type Description
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
Type Description
BackupInfoOrBuilder

getSourceInfoCase()

public abstract RestoreInfo.SourceInfoCase getSourceInfoCase()
Returns
Type Description
RestoreInfo.SourceInfoCase

getSourceType()

public abstract RestoreSourceType getSourceType()

The type of the restore source.

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

Returns
Type Description
RestoreSourceType

The sourceType.

getSourceTypeValue()

public abstract int getSourceTypeValue()

The type of the restore source.

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

Returns
Type Description
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
Type Description
boolean

Whether the backupInfo field is set.