public static final class RestoreDatabaseMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder> implements RestoreDatabaseMetadataOrBuilder
Metadata type for the long-running operation returned by [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].Protobuf type
google.spanner.admin.database.v1.RestoreDatabaseMetadata| Modifier and Type | Method and Description |
|---|---|
RestoreDatabaseMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RestoreDatabaseMetadata |
build() |
RestoreDatabaseMetadata |
buildPartial() |
RestoreDatabaseMetadata.Builder |
clear() |
RestoreDatabaseMetadata.Builder |
clearBackupInfo()
Information about the backup used to restore the database.
|
RestoreDatabaseMetadata.Builder |
clearCancelTime()
The time at which cancellation of this operation was received.
|
RestoreDatabaseMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RestoreDatabaseMetadata.Builder |
clearName()
Name of the database being created and restored to.
|
RestoreDatabaseMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RestoreDatabaseMetadata.Builder |
clearOptimizeDatabaseOperationName()
If exists, the name of the long-running operation that will be used to
track the post-restore optimization process to optimize the performance of
the restored database, and remove the dependency on the restore source.
|
RestoreDatabaseMetadata.Builder |
clearProgress()
The progress of the
[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
operation.
|
RestoreDatabaseMetadata.Builder |
clearSourceInfo() |
RestoreDatabaseMetadata.Builder |
clearSourceType()
The type of the restore source.
|
RestoreDatabaseMetadata.Builder |
clone() |
BackupInfo |
getBackupInfo()
Information about the backup used to restore the database.
|
BackupInfo.Builder |
getBackupInfoBuilder()
Information about the backup used to restore the database.
|
BackupInfoOrBuilder |
getBackupInfoOrBuilder()
Information about the backup used to restore the database.
|
com.google.protobuf.Timestamp |
getCancelTime()
The time at which cancellation of this operation was received.
|
com.google.protobuf.Timestamp.Builder |
getCancelTimeBuilder()
The time at which cancellation of this operation was received.
|
com.google.protobuf.TimestampOrBuilder |
getCancelTimeOrBuilder()
The time at which cancellation of this operation was received.
|
RestoreDatabaseMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name of the database being created and restored to.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the database being created and restored to.
|
String |
getOptimizeDatabaseOperationName()
If exists, the name of the long-running operation that will be used to
track the post-restore optimization process to optimize the performance of
the restored database, and remove the dependency on the restore source.
|
com.google.protobuf.ByteString |
getOptimizeDatabaseOperationNameBytes()
If exists, the name of the long-running operation that will be used to
track the post-restore optimization process to optimize the performance of
the restored database, and remove the dependency on the restore source.
|
OperationProgress |
getProgress()
The progress of the
[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
operation.
|
OperationProgress.Builder |
getProgressBuilder()
The progress of the
[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
operation.
|
OperationProgressOrBuilder |
getProgressOrBuilder()
The progress of the
[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
operation.
|
RestoreDatabaseMetadata.SourceInfoCase |
getSourceInfoCase() |
RestoreSourceType |
getSourceType()
The type of the restore source.
|
int |
getSourceTypeValue()
The type of the restore source.
|
boolean |
hasBackupInfo()
Information about the backup used to restore the database.
|
boolean |
hasCancelTime()
The time at which cancellation of this operation was received.
|
boolean |
hasProgress()
The progress of the
[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
operation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RestoreDatabaseMetadata.Builder |
mergeBackupInfo(BackupInfo value)
Information about the backup used to restore the database.
|
RestoreDatabaseMetadata.Builder |
mergeCancelTime(com.google.protobuf.Timestamp value)
The time at which cancellation of this operation was received.
|
RestoreDatabaseMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RestoreDatabaseMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
RestoreDatabaseMetadata.Builder |
mergeFrom(RestoreDatabaseMetadata other) |
RestoreDatabaseMetadata.Builder |
mergeProgress(OperationProgress value)
The progress of the
[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
operation.
|
RestoreDatabaseMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RestoreDatabaseMetadata.Builder |
setBackupInfo(BackupInfo.Builder builderForValue)
Information about the backup used to restore the database.
|
RestoreDatabaseMetadata.Builder |
setBackupInfo(BackupInfo value)
Information about the backup used to restore the database.
|
RestoreDatabaseMetadata.Builder |
setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which cancellation of this operation was received.
|
RestoreDatabaseMetadata.Builder |
setCancelTime(com.google.protobuf.Timestamp value)
The time at which cancellation of this operation was received.
|
RestoreDatabaseMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RestoreDatabaseMetadata.Builder |
setName(String value)
Name of the database being created and restored to.
|
RestoreDatabaseMetadata.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the database being created and restored to.
|
RestoreDatabaseMetadata.Builder |
setOptimizeDatabaseOperationName(String value)
If exists, the name of the long-running operation that will be used to
track the post-restore optimization process to optimize the performance of
the restored database, and remove the dependency on the restore source.
|
RestoreDatabaseMetadata.Builder |
setOptimizeDatabaseOperationNameBytes(com.google.protobuf.ByteString value)
If exists, the name of the long-running operation that will be used to
track the post-restore optimization process to optimize the performance of
the restored database, and remove the dependency on the restore source.
|
RestoreDatabaseMetadata.Builder |
setProgress(OperationProgress.Builder builderForValue)
The progress of the
[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
operation.
|
RestoreDatabaseMetadata.Builder |
setProgress(OperationProgress value)
The progress of the
[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
operation.
|
RestoreDatabaseMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RestoreDatabaseMetadata.Builder |
setSourceType(RestoreSourceType value)
The type of the restore source.
|
RestoreDatabaseMetadata.Builder |
setSourceTypeValue(int value)
The type of the restore source.
|
RestoreDatabaseMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RestoreDatabaseMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RestoreDatabaseMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RestoreDatabaseMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata.Builder mergeFrom(RestoreDatabaseMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public RestoreDatabaseMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreDatabaseMetadata.Builder>IOExceptionpublic RestoreDatabaseMetadata.SourceInfoCase getSourceInfoCase()
getSourceInfoCase in interface RestoreDatabaseMetadataOrBuilderpublic RestoreDatabaseMetadata.Builder clearSourceInfo()
public String getName()
Name of the database being created and restored to.
string name = 1;getName in interface RestoreDatabaseMetadataOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the database being created and restored to.
string name = 1;getNameBytes in interface RestoreDatabaseMetadataOrBuilderpublic RestoreDatabaseMetadata.Builder setName(String value)
Name of the database being created and restored to.
string name = 1;value - The name to set.public RestoreDatabaseMetadata.Builder clearName()
Name of the database being created and restored to.
string name = 1;public RestoreDatabaseMetadata.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the database being created and restored to.
string name = 1;value - The bytes for name to set.public int getSourceTypeValue()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 2;getSourceTypeValue in interface RestoreDatabaseMetadataOrBuilderpublic RestoreDatabaseMetadata.Builder setSourceTypeValue(int value)
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 2;value - The enum numeric value on the wire for sourceType to set.public RestoreSourceType getSourceType()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 2;getSourceType in interface RestoreDatabaseMetadataOrBuilderpublic RestoreDatabaseMetadata.Builder setSourceType(RestoreSourceType value)
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 2;value - The sourceType to set.public RestoreDatabaseMetadata.Builder clearSourceType()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 2;public boolean hasBackupInfo()
Information about the backup used to restore the database.
.google.spanner.admin.database.v1.BackupInfo backup_info = 3;hasBackupInfo in interface RestoreDatabaseMetadataOrBuilderpublic BackupInfo getBackupInfo()
Information about the backup used to restore the database.
.google.spanner.admin.database.v1.BackupInfo backup_info = 3;getBackupInfo in interface RestoreDatabaseMetadataOrBuilderpublic RestoreDatabaseMetadata.Builder setBackupInfo(BackupInfo value)
Information about the backup used to restore the database.
.google.spanner.admin.database.v1.BackupInfo backup_info = 3;public RestoreDatabaseMetadata.Builder setBackupInfo(BackupInfo.Builder builderForValue)
Information about the backup used to restore the database.
.google.spanner.admin.database.v1.BackupInfo backup_info = 3;public RestoreDatabaseMetadata.Builder mergeBackupInfo(BackupInfo value)
Information about the backup used to restore the database.
.google.spanner.admin.database.v1.BackupInfo backup_info = 3;public RestoreDatabaseMetadata.Builder clearBackupInfo()
Information about the backup used to restore the database.
.google.spanner.admin.database.v1.BackupInfo backup_info = 3;public BackupInfo.Builder getBackupInfoBuilder()
Information about the backup used to restore the database.
.google.spanner.admin.database.v1.BackupInfo backup_info = 3;public BackupInfoOrBuilder getBackupInfoOrBuilder()
Information about the backup used to restore the database.
.google.spanner.admin.database.v1.BackupInfo backup_info = 3;getBackupInfoOrBuilder in interface RestoreDatabaseMetadataOrBuilderpublic boolean hasProgress()
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 4;hasProgress in interface RestoreDatabaseMetadataOrBuilderpublic OperationProgress getProgress()
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 4;getProgress in interface RestoreDatabaseMetadataOrBuilderpublic RestoreDatabaseMetadata.Builder setProgress(OperationProgress value)
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 4;public RestoreDatabaseMetadata.Builder setProgress(OperationProgress.Builder builderForValue)
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 4;public RestoreDatabaseMetadata.Builder mergeProgress(OperationProgress value)
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 4;public RestoreDatabaseMetadata.Builder clearProgress()
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 4;public OperationProgress.Builder getProgressBuilder()
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 4;public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 4;getProgressOrBuilder in interface RestoreDatabaseMetadataOrBuilderpublic 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 = 5;hasCancelTime in interface RestoreDatabaseMetadataOrBuilderpublic 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 = 5;getCancelTime in interface RestoreDatabaseMetadataOrBuilderpublic RestoreDatabaseMetadata.Builder setCancelTime(com.google.protobuf.Timestamp value)
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 = 5;public RestoreDatabaseMetadata.Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 = 5;public RestoreDatabaseMetadata.Builder mergeCancelTime(com.google.protobuf.Timestamp value)
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 = 5;public RestoreDatabaseMetadata.Builder clearCancelTime()
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 = 5;public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder()
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 = 5;public 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 = 5;getCancelTimeOrBuilder in interface RestoreDatabaseMetadataOrBuilderpublic String getOptimizeDatabaseOperationName()
If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored database, and remove the dependency on the restore source. The name is of the form `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` where the <database> is the name of database being created and restored to. The metadata type of the long-running operation is [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be automatically created by the system after the RestoreDatabase long-running operation completes successfully. This operation will not be created if the restore was not successful.
string optimize_database_operation_name = 6;getOptimizeDatabaseOperationName in interface RestoreDatabaseMetadataOrBuilderpublic com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes()
If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored database, and remove the dependency on the restore source. The name is of the form `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` where the <database> is the name of database being created and restored to. The metadata type of the long-running operation is [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be automatically created by the system after the RestoreDatabase long-running operation completes successfully. This operation will not be created if the restore was not successful.
string optimize_database_operation_name = 6;getOptimizeDatabaseOperationNameBytes in interface RestoreDatabaseMetadataOrBuilderpublic RestoreDatabaseMetadata.Builder setOptimizeDatabaseOperationName(String value)
If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored database, and remove the dependency on the restore source. The name is of the form `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` where the <database> is the name of database being created and restored to. The metadata type of the long-running operation is [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be automatically created by the system after the RestoreDatabase long-running operation completes successfully. This operation will not be created if the restore was not successful.
string optimize_database_operation_name = 6;value - The optimizeDatabaseOperationName to set.public RestoreDatabaseMetadata.Builder clearOptimizeDatabaseOperationName()
If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored database, and remove the dependency on the restore source. The name is of the form `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` where the <database> is the name of database being created and restored to. The metadata type of the long-running operation is [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be automatically created by the system after the RestoreDatabase long-running operation completes successfully. This operation will not be created if the restore was not successful.
string optimize_database_operation_name = 6;public RestoreDatabaseMetadata.Builder setOptimizeDatabaseOperationNameBytes(com.google.protobuf.ByteString value)
If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored database, and remove the dependency on the restore source. The name is of the form `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` where the <database> is the name of database being created and restored to. The metadata type of the long-running operation is [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be automatically created by the system after the RestoreDatabase long-running operation completes successfully. This operation will not be created if the restore was not successful.
string optimize_database_operation_name = 6;value - The bytes for optimizeDatabaseOperationName to set.public final RestoreDatabaseMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>public final RestoreDatabaseMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreDatabaseMetadata.Builder>Copyright © 2020 Google LLC. All rights reserved.