public final class UpdateInstanceMetadata
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 |
---|
UpdateInstanceMetadata() |
Modifier and Type | Method and Description |
---|---|
UpdateInstanceMetadata |
clone() |
java.lang.String |
getCancelTime()
The time at which this operation was cancelled.
|
java.lang.String |
getEndTime()
The time at which this operation failed or was completed successfully.
|
Instance |
getInstance()
The desired end state of the update.
|
java.lang.String |
getStartTime()
The time at which UpdateInstance request was received.
|
UpdateInstanceMetadata |
set(java.lang.String fieldName,
java.lang.Object value) |
UpdateInstanceMetadata |
setCancelTime(java.lang.String cancelTime)
The time at which this operation was cancelled.
|
UpdateInstanceMetadata |
setEndTime(java.lang.String endTime)
The time at which this operation failed or was completed successfully.
|
UpdateInstanceMetadata |
setInstance(Instance instance)
The desired end state of the update.
|
UpdateInstanceMetadata |
setStartTime(java.lang.String startTime)
The time at which UpdateInstance request was received.
|
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 UpdateInstanceMetadata setCancelTime(java.lang.String cancelTime)
cancelTime
- cancelTime or null
for nonepublic java.lang.String getEndTime()
null
for nonepublic UpdateInstanceMetadata setEndTime(java.lang.String endTime)
endTime
- endTime or null
for nonepublic Instance getInstance()
null
for nonepublic UpdateInstanceMetadata setInstance(Instance instance)
instance
- instance or null
for nonepublic java.lang.String getStartTime()
null
for nonepublic UpdateInstanceMetadata setStartTime(java.lang.String startTime)
startTime
- startTime or null
for nonepublic UpdateInstanceMetadata set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UpdateInstanceMetadata clone()
clone
in class com.google.api.client.json.GenericJson