public final class CommitResponse
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 |
---|
CommitResponse() |
Modifier and Type | Method and Description |
---|---|
CommitResponse |
clone() |
CommitStats |
getCommitStats()
The statistics about this `Commit`.
|
String |
getCommitTimestamp()
The Cloud Spanner timestamp at which the transaction committed.
|
MultiplexedSessionPrecommitToken |
getPrecommitToken()
If specified, transaction has not committed yet.
|
CommitResponse |
set(String fieldName,
Object value) |
CommitResponse |
setCommitStats(CommitStats commitStats)
The statistics about this `Commit`.
|
CommitResponse |
setCommitTimestamp(String commitTimestamp)
The Cloud Spanner timestamp at which the transaction committed.
|
CommitResponse |
setPrecommitToken(MultiplexedSessionPrecommitToken precommitToken)
If specified, transaction has not committed yet.
|
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 CommitStats getCommitStats()
null
for nonepublic CommitResponse setCommitStats(CommitStats commitStats)
commitStats
- commitStats or null
for nonepublic String getCommitTimestamp()
null
for nonepublic CommitResponse setCommitTimestamp(String commitTimestamp)
commitTimestamp
- commitTimestamp or null
for nonepublic MultiplexedSessionPrecommitToken getPrecommitToken()
null
for nonepublic CommitResponse setPrecommitToken(MultiplexedSessionPrecommitToken precommitToken)
precommitToken
- precommitToken or null
for nonepublic CommitResponse set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CommitResponse clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.