public final class RestoreInfo
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
Constructor and Description |
---|
RestoreInfo() |
Modifier and Type | Method and Description |
---|---|
RestoreInfo |
clone() |
BackupInfo |
getBackupInfo()
Information about the backup used to restore the database.
|
java.lang.String |
getSourceType()
The type of the restore source.
|
RestoreInfo |
set(java.lang.String fieldName,
java.lang.Object value) |
RestoreInfo |
setBackupInfo(BackupInfo backupInfo)
Information about the backup used to restore the database.
|
RestoreInfo |
setSourceType(java.lang.String sourceType)
The type of the restore source.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public BackupInfo getBackupInfo()
null
for nonepublic RestoreInfo setBackupInfo(BackupInfo backupInfo)
backupInfo
- backupInfo or null
for nonepublic java.lang.String getSourceType()
null
for nonepublic RestoreInfo setSourceType(java.lang.String sourceType)
sourceType
- sourceType or null
for nonepublic RestoreInfo set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public RestoreInfo clone()
clone
in class com.google.api.client.json.GenericJson