public static final class CopyBackupRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CopyBackupRequest.Builder> implements CopyBackupRequestOrBuilder
The request for [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].Protobuf type
google.bigtable.admin.v2.CopyBackupRequest| Modifier and Type | Method and Description |
|---|---|
CopyBackupRequest |
build() |
CopyBackupRequest |
buildPartial() |
CopyBackupRequest.Builder |
clear() |
CopyBackupRequest.Builder |
clearBackupId()
Required.
|
CopyBackupRequest.Builder |
clearExpireTime()
Required.
|
CopyBackupRequest.Builder |
clearParent()
Required.
|
CopyBackupRequest.Builder |
clearSourceBackup()
Required.
|
String |
getBackupId()
Required.
|
com.google.protobuf.ByteString |
getBackupIdBytes()
Required.
|
CopyBackupRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getExpireTime()
Required.
|
com.google.protobuf.Timestamp.Builder |
getExpireTimeBuilder()
Required.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
String |
getSourceBackup()
Required.
|
com.google.protobuf.ByteString |
getSourceBackupBytes()
Required.
|
boolean |
hasExpireTime()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CopyBackupRequest.Builder |
mergeExpireTime(com.google.protobuf.Timestamp value)
Required.
|
CopyBackupRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CopyBackupRequest.Builder |
mergeFrom(CopyBackupRequest other) |
CopyBackupRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CopyBackupRequest.Builder |
setBackupId(String value)
Required.
|
CopyBackupRequest.Builder |
setBackupIdBytes(com.google.protobuf.ByteString value)
Required.
|
CopyBackupRequest.Builder |
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Required.
|
CopyBackupRequest.Builder |
setExpireTime(com.google.protobuf.Timestamp value)
Required.
|
CopyBackupRequest.Builder |
setParent(String value)
Required.
|
CopyBackupRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
CopyBackupRequest.Builder |
setSourceBackup(String value)
Required.
|
CopyBackupRequest.Builder |
setSourceBackupBytes(com.google.protobuf.ByteString value)
Required.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CopyBackupRequest.Builder>public CopyBackupRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CopyBackupRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CopyBackupRequest.Builder>public CopyBackupRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CopyBackupRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CopyBackupRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CopyBackupRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CopyBackupRequest.Builder>public CopyBackupRequest.Builder mergeFrom(CopyBackupRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CopyBackupRequest.Builder>public CopyBackupRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CopyBackupRequest.Builder>IOExceptionpublic String getParent()
Required. The name of the destination cluster that will contain the backup
copy. The cluster must already exist. Values are of the form:
`projects/{project}/instances/{instance}/clusters/{cluster}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CopyBackupRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The name of the destination cluster that will contain the backup
copy. The cluster must already exist. Values are of the form:
`projects/{project}/instances/{instance}/clusters/{cluster}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CopyBackupRequestOrBuilderpublic CopyBackupRequest.Builder setParent(String value)
Required. The name of the destination cluster that will contain the backup
copy. The cluster must already exist. Values are of the form:
`projects/{project}/instances/{instance}/clusters/{cluster}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public CopyBackupRequest.Builder clearParent()
Required. The name of the destination cluster that will contain the backup
copy. The cluster must already exist. Values are of the form:
`projects/{project}/instances/{instance}/clusters/{cluster}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CopyBackupRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The name of the destination cluster that will contain the backup
copy. The cluster must already exist. Values are of the form:
`projects/{project}/instances/{instance}/clusters/{cluster}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public String getBackupId()
Required. The id of the new backup. The `backup_id` along with `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];getBackupId in interface CopyBackupRequestOrBuilderpublic com.google.protobuf.ByteString getBackupIdBytes()
Required. The id of the new backup. The `backup_id` along with `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];getBackupIdBytes in interface CopyBackupRequestOrBuilderpublic CopyBackupRequest.Builder setBackupId(String value)
Required. The id of the new backup. The `backup_id` along with `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];value - The backupId to set.public CopyBackupRequest.Builder clearBackupId()
Required. The id of the new backup. The `backup_id` along with `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];public CopyBackupRequest.Builder setBackupIdBytes(com.google.protobuf.ByteString value)
Required. The id of the new backup. The `backup_id` along with `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];value - The bytes for backupId to set.public String getSourceBackup()
Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getSourceBackup in interface CopyBackupRequestOrBuilderpublic com.google.protobuf.ByteString getSourceBackupBytes()
Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getSourceBackupBytes in interface CopyBackupRequestOrBuilderpublic CopyBackupRequest.Builder setSourceBackup(String value)
Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The sourceBackup to set.public CopyBackupRequest.Builder clearSourceBackup()
Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CopyBackupRequest.Builder setSourceBackupBytes(com.google.protobuf.ByteString value)
Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for sourceBackup to set.public boolean hasExpireTime()
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
hasExpireTime in interface CopyBackupRequestOrBuilderpublic com.google.protobuf.Timestamp getExpireTime()
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
getExpireTime in interface CopyBackupRequestOrBuilderpublic CopyBackupRequest.Builder setExpireTime(com.google.protobuf.Timestamp value)
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
public CopyBackupRequest.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
public CopyBackupRequest.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
public CopyBackupRequest.Builder clearExpireTime()
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
getExpireTimeOrBuilder in interface CopyBackupRequestOrBuilderCopyright © 2026 Google LLC. All rights reserved.