Package com.google.bigtable.admin.v2
Interface CreateBackupRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateBackupRequest
,CreateBackupRequest.Builder
public interface CreateBackupRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Backup
getBackup()
Required.String
getBackupId()
Required.com.google.protobuf.ByteString
getBackupIdBytes()
Required.BackupOrBuilder
getBackupOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasBackup()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. This must be one of the clusters in the instance in which this table is located. The backup will be stored in this cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. This must be one of the clusters in the instance in which this table is located. The backup will be stored in this cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getBackupId
String getBackupId()
Required. The id of the backup to be created. The `backup_id` along with the parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This string must be between 1 and 50 characters in length and match the regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The backupId.
-
getBackupIdBytes
com.google.protobuf.ByteString getBackupIdBytes()
Required. The id of the backup to be created. The `backup_id` along with the parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This string must be between 1 and 50 characters in length and match the regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for backupId.
-
hasBackup
boolean hasBackup()
Required. The backup to create.
.google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the backup field is set.
-
getBackup
Backup getBackup()
Required. The backup to create.
.google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The backup.
-
getBackupOrBuilder
BackupOrBuilder getBackupOrBuilder()
Required. The backup to create.
.google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
-
-