Package com.google.spanner.executor.v1
Interface RestoreCloudDatabaseActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreCloudDatabaseAction,RestoreCloudDatabaseAction.Builder
public interface RestoreCloudDatabaseActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the backup from which to restore, e.g.com.google.protobuf.ByteStringThe id of the backup from which to restore, e.g.Cloud instance ID (not path) containing the backup, e.g.com.google.protobuf.ByteStringCloud instance ID (not path) containing the backup, e.g.The id of the database to create and restore to, e.g.com.google.protobuf.ByteStringThe id of the database to create and restore to, e.g.Cloud instance ID (not path) containing the database, e.g.com.google.protobuf.ByteStringCloud instance ID (not path) containing the database, e.g.The KMS key(s) used to encrypt the restored database to be created if the restored database should be CMEK protected.The KMS key(s) used to encrypt the restored database to be created if the restored database should be CMEK protected.Cloud project ID, e.g.com.google.protobuf.ByteStringCloud project ID, e.g.booleanThe KMS key(s) used to encrypt the restored database to be created if the restored database should be CMEK protected.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
String getProjectId()Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;- Returns:
- The bytes for projectId.
-
getBackupInstanceId
String getBackupInstanceId()Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
string backup_instance_id = 2;- Returns:
- The backupInstanceId.
-
getBackupInstanceIdBytes
com.google.protobuf.ByteString getBackupInstanceIdBytes()Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
string backup_instance_id = 2;- Returns:
- The bytes for backupInstanceId.
-
getBackupId
String getBackupId()The id of the backup from which to restore, e.g. "test-backup".
string backup_id = 3;- Returns:
- The backupId.
-
getBackupIdBytes
com.google.protobuf.ByteString getBackupIdBytes()The id of the backup from which to restore, e.g. "test-backup".
string backup_id = 3;- Returns:
- The bytes for backupId.
-
getDatabaseInstanceId
String getDatabaseInstanceId()Cloud instance ID (not path) containing the database, e.g. "database-instance".
string database_instance_id = 4;- Returns:
- The databaseInstanceId.
-
getDatabaseInstanceIdBytes
com.google.protobuf.ByteString getDatabaseInstanceIdBytes()Cloud instance ID (not path) containing the database, e.g. "database-instance".
string database_instance_id = 4;- Returns:
- The bytes for databaseInstanceId.
-
getDatabaseId
String getDatabaseId()The id of the database to create and restore to, e.g. "db0". Note that this database must not already exist.
string database_id = 5;- Returns:
- The databaseId.
-
getDatabaseIdBytes
com.google.protobuf.ByteString getDatabaseIdBytes()The id of the database to create and restore to, e.g. "db0". Note that this database must not already exist.
string database_id = 5;- Returns:
- The bytes for databaseId.
-
hasEncryptionConfig
boolean hasEncryptionConfig()The KMS key(s) used to encrypt the restored database to be created if the restored database should be CMEK protected.
.google.spanner.admin.database.v1.EncryptionConfig encryption_config = 7;- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
EncryptionConfig getEncryptionConfig()The KMS key(s) used to encrypt the restored database to be created if the restored database should be CMEK protected.
.google.spanner.admin.database.v1.EncryptionConfig encryption_config = 7;- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()The KMS key(s) used to encrypt the restored database to be created if the restored database should be CMEK protected.
.google.spanner.admin.database.v1.EncryptionConfig encryption_config = 7;
-