Interface RestoreInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreInfo
,RestoreInfo.Builder
public interface RestoreInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionInformation about the backup used to restore the database.Information about the backup used to restore the database.The type of the restore source.int
The type of the restore source.boolean
Information about the backup used to restore the database.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSourceTypeValue
int getSourceTypeValue()The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
RestoreSourceType getSourceType()The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
- Returns:
- The sourceType.
-
hasBackupInfo
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:
- Whether the backupInfo field is set.
-
getBackupInfo
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:
- The backupInfo.
-
getBackupInfoOrBuilder
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;
-
getSourceInfoCase
RestoreInfo.SourceInfoCase getSourceInfoCase()
-