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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CreateBackupMetadata() |
Modifier and Type | Method and Description |
---|---|
CreateBackupMetadata |
clone() |
String |
getCancelTime()
The time at which cancellation of this operation was received.
|
String |
getDatabase()
The name of the database the backup is created from.
|
String |
getName()
The name of the backup being created.
|
OperationProgress |
getProgress()
The progress of the CreateBackup operation.
|
CreateBackupMetadata |
set(String fieldName,
Object value) |
CreateBackupMetadata |
setCancelTime(String cancelTime)
The time at which cancellation of this operation was received.
|
CreateBackupMetadata |
setDatabase(String database)
The name of the database the backup is created from.
|
CreateBackupMetadata |
setName(String name)
The name of the backup being created.
|
CreateBackupMetadata |
setProgress(OperationProgress progress)
The progress of the CreateBackup operation.
|
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 String getCancelTime()
null
for nonepublic CreateBackupMetadata setCancelTime(String cancelTime)
cancelTime
- cancelTime or null
for nonepublic String getDatabase()
null
for nonepublic CreateBackupMetadata setDatabase(String database)
database
- database or null
for nonepublic String getName()
null
for nonepublic CreateBackupMetadata setName(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(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CreateBackupMetadata clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.