com.google.spanner.admin.database.v1
RestoreDatabaseMetadata
Companion object RestoreDatabaseMetadata
final case class RestoreDatabaseMetadata(name: String = "", sourceType: RestoreSourceType = ..., sourceInfo: SourceInfo = ..., progress: Option[OperationProgress] = _root_.scala.None, cancelTime: Option[Timestamp] = _root_.scala.None, optimizeDatabaseOperationName: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[RestoreDatabaseMetadata] with Product with Serializable
Metadata type for the long-running operation returned by [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
- name
Name of the database being created and restored to.
- sourceType
The type of the restore source.
- progress
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
- cancelTime
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.- optimizeDatabaseOperationName
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.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- RestoreDatabaseMetadata
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
RestoreDatabaseMetadata(name: String = "", sourceType: RestoreSourceType = ..., sourceInfo: SourceInfo = ..., progress: Option[OperationProgress] = _root_.scala.None, cancelTime: Option[Timestamp] = _root_.scala.None, optimizeDatabaseOperationName: String = "", unknownFields: UnknownFieldSet = ...)
- name
Name of the database being created and restored to.
- sourceType
The type of the restore source.
- progress
The progress of the [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] operation.
- cancelTime
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.- optimizeDatabaseOperationName
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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cancelTime: Option[Timestamp]
- def clearCancelTime: RestoreDatabaseMetadata
- def clearProgress: RestoreDatabaseMetadata
- def clearSourceInfo: RestoreDatabaseMetadata
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: RestoreDatabaseMetadata.type
- Definition Classes
- RestoreDatabaseMetadata → GeneratedMessage
- def discardUnknownFields: RestoreDatabaseMetadata
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getBackupInfo: BackupInfo
- def getCancelTime: Timestamp
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- RestoreDatabaseMetadata → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- RestoreDatabaseMetadata → GeneratedMessage
- def getProgress: OperationProgress
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val optimizeDatabaseOperationName: String
- val progress: Option[OperationProgress]
-
def
serializedSize: Int
- Definition Classes
- RestoreDatabaseMetadata → GeneratedMessage
- val sourceInfo: SourceInfo
- val sourceType: RestoreSourceType
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- RestoreDatabaseMetadata → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[RestoreDatabaseMetadata, RestoreDatabaseMetadata]) ⇒ Mutation[RestoreDatabaseMetadata]*): RestoreDatabaseMetadata
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withBackupInfo(__v: BackupInfo): RestoreDatabaseMetadata
- def withCancelTime(__v: Timestamp): RestoreDatabaseMetadata
- def withName(__v: String): RestoreDatabaseMetadata
- def withOptimizeDatabaseOperationName(__v: String): RestoreDatabaseMetadata
- def withProgress(__v: OperationProgress): RestoreDatabaseMetadata
- def withSourceInfo(__v: SourceInfo): RestoreDatabaseMetadata
- def withSourceType(__v: RestoreSourceType): RestoreDatabaseMetadata
- def withUnknownFields(__v: UnknownFieldSet): RestoreDatabaseMetadata
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- RestoreDatabaseMetadata → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage