Interface CreateBackupMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateBackupMetadata
,CreateBackupMetadata.Builder
public interface CreateBackupMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Timestamp
The time at which cancellation of this operation was received.com.google.protobuf.TimestampOrBuilder
The time at which cancellation of this operation was received.The name of the database the backup is created from.com.google.protobuf.ByteString
The name of the database the backup is created from.getName()
The name of the backup being created.com.google.protobuf.ByteString
The name of the backup being created.The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.boolean
The time at which cancellation of this operation was received.boolean
The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] 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.
string name = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the backup being created.
string name = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for name.
-
getDatabase
String getDatabase()The name of the database the backup is created from.
string database = 2 [(.google.api.resource_reference) = { ... }
- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()The name of the database the backup is created from.
string database = 2 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for database.
-
hasProgress
boolean hasProgress()The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
- Returns:
- Whether the progress field is set.
-
getProgress
OperationProgress getProgress()The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
- Returns:
- The progress.
-
getProgressOrBuilder
OperationProgressOrBuilder getProgressOrBuilder()The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
-
hasCancelTime
boolean hasCancelTime()The time at which cancellation of this 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 this 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 this 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;
-