Interface CopyBackupRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CopyBackupRequest, CopyBackupRequest.Builder

    public interface CopyBackupRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getBackupId()
      Required.
      com.google.protobuf.ByteString getBackupIdBytes()
      Required.
      com.google.protobuf.Timestamp getExpireTime()
      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.
      • 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 Detail

      • getParent

        String getParent()
         Required. The name of the destination cluster that will contain the backup
         copy. The cluster must already exists. 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. The name of the destination cluster that will contain the backup
         copy. The cluster must already exists. 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 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];
        Returns:
        The backupId.
      • getBackupIdBytes

        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];
        Returns:
        The bytes for backupId.
      • getSourceBackup

        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) = { ... }
        Returns:
        The sourceBackup.
      • getSourceBackupBytes

        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) = { ... }
        Returns:
        The bytes for sourceBackup.
      • hasExpireTime

        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];
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        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];
        Returns:
        The expireTime.
      • getExpireTimeOrBuilder

        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];