public final class RestoreDatabaseMetadata
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RestoreDatabaseMetadata() |
Modifier and Type | Method and Description |
---|---|
RestoreDatabaseMetadata |
clone() |
BackupInfo |
getBackupInfo()
Information about the backup used to restore the database.
|
String |
getCancelTime()
The time at which cancellation of this operation was received.
|
String |
getName()
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.
|
OperationProgress |
getProgress()
The progress of the RestoreDatabase operation.
|
String |
getSourceType()
The type of the restore source.
|
RestoreDatabaseMetadata |
set(String fieldName,
Object value) |
RestoreDatabaseMetadata |
setBackupInfo(BackupInfo backupInfo)
Information about the backup used to restore the database.
|
RestoreDatabaseMetadata |
setCancelTime(String cancelTime)
The time at which cancellation of this operation was received.
|
RestoreDatabaseMetadata |
setName(String name)
Name of the database being created and restored to.
|
RestoreDatabaseMetadata |
setOptimizeDatabaseOperationName(String 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.
|
RestoreDatabaseMetadata |
setProgress(OperationProgress progress)
The progress of the RestoreDatabase operation.
|
RestoreDatabaseMetadata |
setSourceType(String sourceType)
The type of the restore source.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public BackupInfo getBackupInfo()
null
for nonepublic RestoreDatabaseMetadata setBackupInfo(BackupInfo backupInfo)
backupInfo
- backupInfo or null
for nonepublic String getCancelTime()
null
for nonepublic RestoreDatabaseMetadata setCancelTime(String cancelTime)
cancelTime
- cancelTime or null
for nonepublic String getName()
null
for nonepublic RestoreDatabaseMetadata setName(String name)
name
- name or null
for nonepublic String getOptimizeDatabaseOperationName()
null
for nonepublic RestoreDatabaseMetadata setOptimizeDatabaseOperationName(String optimizeDatabaseOperationName)
optimizeDatabaseOperationName
- optimizeDatabaseOperationName or null
for nonepublic OperationProgress getProgress()
null
for nonepublic RestoreDatabaseMetadata setProgress(OperationProgress progress)
progress
- progress or null
for nonepublic String getSourceType()
null
for nonepublic RestoreDatabaseMetadata setSourceType(String sourceType)
sourceType
- sourceType or null
for nonepublic RestoreDatabaseMetadata set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RestoreDatabaseMetadata clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.