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()
Linear Supertypes
Product, Equals, Updatable[RestoreDatabaseMetadata], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RestoreDatabaseMetadata
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val cancelTime: Option[Timestamp]
  6. def clearCancelTime: RestoreDatabaseMetadata
  7. def clearProgress: RestoreDatabaseMetadata
  8. def clearSourceInfo: RestoreDatabaseMetadata
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def companion: RestoreDatabaseMetadata.type
    Definition Classes
    RestoreDatabaseMetadata → GeneratedMessage
  11. def discardUnknownFields: RestoreDatabaseMetadata
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getBackupInfo: BackupInfo
  15. def getCancelTime: Timestamp
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    RestoreDatabaseMetadata → GeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    RestoreDatabaseMetadata → GeneratedMessage
  19. def getProgress: OperationProgress
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val name: String
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val optimizeDatabaseOperationName: String
  26. val progress: Option[OperationProgress]
  27. def serializedSize: Int
    Definition Classes
    RestoreDatabaseMetadata → GeneratedMessage
  28. val sourceInfo: SourceInfo
  29. val sourceType: RestoreSourceType
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  32. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  33. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  34. def toProtoString: String
    Definition Classes
    RestoreDatabaseMetadata → GeneratedMessage
  35. val unknownFields: UnknownFieldSet
  36. def update(ms: (Lens[RestoreDatabaseMetadata, RestoreDatabaseMetadata]) ⇒ Mutation[RestoreDatabaseMetadata]*): RestoreDatabaseMetadata
    Definition Classes
    Updatable
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. def withBackupInfo(__v: BackupInfo): RestoreDatabaseMetadata
  41. def withCancelTime(__v: Timestamp): RestoreDatabaseMetadata
  42. def withName(__v: String): RestoreDatabaseMetadata
  43. def withOptimizeDatabaseOperationName(__v: String): RestoreDatabaseMetadata
  44. def withProgress(__v: OperationProgress): RestoreDatabaseMetadata
  45. def withSourceInfo(__v: SourceInfo): RestoreDatabaseMetadata
  46. def withSourceType(__v: RestoreSourceType): RestoreDatabaseMetadata
  47. def withUnknownFields(__v: UnknownFieldSet): RestoreDatabaseMetadata
  48. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  49. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    RestoreDatabaseMetadata → GeneratedMessage
  50. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[RestoreDatabaseMetadata]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped