Interface CopyBackupMetadataOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    The time at which cancellation of CopyBackup operation was received.
    com.google.protobuf.TimestampOrBuilder
    The time at which cancellation of CopyBackup operation was received.
    The name of the backup being created through the copy operation.
    com.google.protobuf.ByteString
    The name of the backup being created through the copy operation.
    The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    The name of the source backup that is being copied.
    com.google.protobuf.ByteString
    The name of the source backup that is being copied.
    boolean
    The time at which cancellation of CopyBackup operation was received.
    boolean
    The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.

    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 Details

    • getName

      String getName()
       The name of the backup being created through the copy operation.
       Values are of the form
       `projects/<project>/instances/<instance>/backups/<backup>`.
       
      string name = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the backup being created through the copy operation.
       Values are of the form
       `projects/<project>/instances/<instance>/backups/<backup>`.
       
      string name = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getSourceBackup

      String getSourceBackup()
       The name of the source backup that is being copied.
       Values are of the form
       `projects/<project>/instances/<instance>/backups/<backup>`.
       
      string source_backup = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The sourceBackup.
    • getSourceBackupBytes

      com.google.protobuf.ByteString getSourceBackupBytes()
       The name of the source backup that is being copied.
       Values are of the form
       `projects/<project>/instances/<instance>/backups/<backup>`.
       
      string source_backup = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for sourceBackup.
    • hasProgress

      boolean hasProgress()
       The progress of the
       [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
       
      .google.spanner.admin.database.v1.OperationProgress progress = 3;
      Returns:
      Whether the progress field is set.
    • getProgress

      OperationProgress getProgress()
       The progress of the
       [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
       
      .google.spanner.admin.database.v1.OperationProgress progress = 3;
      Returns:
      The progress.
    • getProgressOrBuilder

      OperationProgressOrBuilder getProgressOrBuilder()
       The progress of the
       [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
       
      .google.spanner.admin.database.v1.OperationProgress progress = 3;
    • hasCancelTime

      boolean hasCancelTime()
       The time at which cancellation of CopyBackup operation was received.
       [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
       starts asynchronous cancellation on a long-running operation. The server
       makes a best effort to cancel the operation, but success is not guaranteed.
       Clients can use
       [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
       other methods to check whether the cancellation succeeded or whether the
       operation completed despite cancellation. On successful cancellation,
       the operation is not deleted; instead, it becomes an operation with
       an [Operation.error][google.longrunning.Operation.error] value with a
       [google.rpc.Status.code][google.rpc.Status.code] of 1,
       corresponding to `Code.CANCELLED`.
       
      .google.protobuf.Timestamp cancel_time = 4;
      Returns:
      Whether the cancelTime field is set.
    • getCancelTime

      com.google.protobuf.Timestamp getCancelTime()
       The time at which cancellation of CopyBackup operation was received.
       [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
       starts asynchronous cancellation on a long-running operation. The server
       makes a best effort to cancel the operation, but success is not guaranteed.
       Clients can use
       [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
       other methods to check whether the cancellation succeeded or whether the
       operation completed despite cancellation. On successful cancellation,
       the operation is not deleted; instead, it becomes an operation with
       an [Operation.error][google.longrunning.Operation.error] value with a
       [google.rpc.Status.code][google.rpc.Status.code] of 1,
       corresponding to `Code.CANCELLED`.
       
      .google.protobuf.Timestamp cancel_time = 4;
      Returns:
      The cancelTime.
    • getCancelTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder()
       The time at which cancellation of CopyBackup operation was received.
       [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
       starts asynchronous cancellation on a long-running operation. The server
       makes a best effort to cancel the operation, but success is not guaranteed.
       Clients can use
       [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
       other methods to check whether the cancellation succeeded or whether the
       operation completed despite cancellation. On successful cancellation,
       the operation is not deleted; instead, it becomes an operation with
       an [Operation.error][google.longrunning.Operation.error] value with a
       [google.rpc.Status.code][google.rpc.Status.code] of 1,
       corresponding to `Code.CANCELLED`.
       
      .google.protobuf.Timestamp cancel_time = 4;