Interface CopyBackupMetadataOrBuilder (6.56.0)

public interface CopyBackupMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCancelTime()

public abstract Timestamp getCancelTime()

The time at which cancellation of CopyBackup operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Returns
TypeDescription
Timestamp

The cancelTime.

getCancelTimeOrBuilder()

public abstract TimestampOrBuilder getCancelTimeOrBuilder()

The time at which cancellation of CopyBackup operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getProgress()

public abstract OperationProgress getProgress()

The progress of the CopyBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Returns
TypeDescription
OperationProgress

The progress.

getProgressOrBuilder()

public abstract OperationProgressOrBuilder getProgressOrBuilder()

The progress of the CopyBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Returns
TypeDescription
OperationProgressOrBuilder

getSourceBackup()

public abstract 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
TypeDescription
String

The sourceBackup.

getSourceBackupBytes()

public abstract 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
TypeDescription
ByteString

The bytes for sourceBackup.

hasCancelTime()

public abstract boolean hasCancelTime()

The time at which cancellation of CopyBackup operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Returns
TypeDescription
boolean

Whether the cancelTime field is set.

hasProgress()

public abstract boolean hasProgress()

The progress of the CopyBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Returns
TypeDescription
boolean

Whether the progress field is set.