Interface CreateBackupMetadataOrBuilder (6.57.0)

public interface CreateBackupMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCancelTime()

public abstract Timestamp getCancelTime()

The time at which cancellation of this 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 this 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

getDatabase()

public abstract String getDatabase()

The name of the database the backup is created from.

string database = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

The name of the database the backup is created from.

string database = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for database.

getName()

public abstract String getName()

The name of the backup being created.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the backup being created.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getProgress()

public abstract OperationProgress getProgress()

The progress of the CreateBackup operation.

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

Returns
TypeDescription
OperationProgress

The progress.

getProgressOrBuilder()

public abstract OperationProgressOrBuilder getProgressOrBuilder()

The progress of the CreateBackup operation.

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

Returns
TypeDescription
OperationProgressOrBuilder

hasCancelTime()

public abstract boolean hasCancelTime()

The time at which cancellation of this 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 CreateBackup operation.

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

Returns
TypeDescription
boolean

Whether the progress field is set.