Package com.google.bigtable.admin.v2
Interface RestoreTableRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreTableRequest,RestoreTableRequest.Builder
public interface RestoreTableRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionName of the backup from which to restore.com.google.protobuf.ByteStringName of the backup from which to restore.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.booleanName of the backup from which to restore.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
-
getParent
String getParent()Required. The name of the instance in which to create the restored table. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The name of the instance in which to create the restored table. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getTableId
String getTableId()Required. The id of the table to create and restore to. This table must not already exist. The `table_id` appended to `parent` forms the full table name of the form `projects/<project>/instances/<instance>/tables/<table_id>`.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The tableId.
-
getTableIdBytes
com.google.protobuf.ByteString getTableIdBytes()Required. The id of the table to create and restore to. This table must not already exist. The `table_id` appended to `parent` forms the full table name of the form `projects/<project>/instances/<instance>/tables/<table_id>`.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for tableId.
-
hasBackup
boolean hasBackup()Name of the backup from which to restore. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
string backup = 3 [(.google.api.resource_reference) = { ... }- Returns:
- Whether the backup field is set.
-
getBackup
String getBackup()Name of the backup from which to restore. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
string backup = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The backup.
-
getBackupBytes
com.google.protobuf.ByteString getBackupBytes()Name of the backup from which to restore. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
string backup = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for backup.
-
getSourceCase
RestoreTableRequest.SourceCase getSourceCase()
-