public final class CreateBackupMetadata
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 |
---|
CreateBackupMetadata() |
Modifier and Type | Method and Description |
---|---|
CreateBackupMetadata |
clone() |
java.lang.String |
getCancelTime()
The time at which cancellation of this operation was received.
|
java.lang.String |
getDatabase()
The name of the database the backup is created from.
|
java.lang.String |
getName()
The name of the backup being created.
|
OperationProgress |
getProgress()
The progress of the CreateBackup operation.
|
CreateBackupMetadata |
set(java.lang.String fieldName,
java.lang.Object value) |
CreateBackupMetadata |
setCancelTime(java.lang.String cancelTime)
The time at which cancellation of this operation was received.
|
CreateBackupMetadata |
setDatabase(java.lang.String database)
The name of the database the backup is created from.
|
CreateBackupMetadata |
setName(java.lang.String name)
The name of the backup being created.
|
CreateBackupMetadata |
setProgress(OperationProgress progress)
The progress of the CreateBackup operation.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCancelTime()
null
for nonepublic CreateBackupMetadata setCancelTime(java.lang.String cancelTime)
cancelTime
- cancelTime or null
for nonepublic java.lang.String getDatabase()
null
for nonepublic CreateBackupMetadata setDatabase(java.lang.String database)
database
- database or null
for nonepublic java.lang.String getName()
null
for nonepublic CreateBackupMetadata setName(java.lang.String name)
name
- name or null
for nonepublic OperationProgress getProgress()
null
for nonepublic CreateBackupMetadata setProgress(OperationProgress progress)
progress
- progress or null
for nonepublic CreateBackupMetadata set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CreateBackupMetadata clone()
clone
in class com.google.api.client.json.GenericJson