public interface CommitResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCacheUpdate()
public abstract CacheUpdate getCacheUpdate() Optional. A cache update expresses a set of changes the client should
incorporate into its location cache. The client should discard the changes
if they are older than the data it already has. This data can be obtained
in response to requests that included a RoutingHint field, but may also
be obtained by explicit location-fetching RPCs which may be added in the
future.
.google.spanner.v1.CacheUpdate cache_update = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CacheUpdate |
The cacheUpdate. |
getCacheUpdateOrBuilder()
public abstract CacheUpdateOrBuilder getCacheUpdateOrBuilder() Optional. A cache update expresses a set of changes the client should
incorporate into its location cache. The client should discard the changes
if they are older than the data it already has. This data can be obtained
in response to requests that included a RoutingHint field, but may also
be obtained by explicit location-fetching RPCs which may be added in the
future.
.google.spanner.v1.CacheUpdate cache_update = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CacheUpdateOrBuilder |
|
getCommitStats()
public abstract CommitResponse.CommitStats getCommitStats() The statistics about this Commit. Not returned by default.
For more information, see
CommitRequest.return_commit_stats.
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;
| Returns | |
|---|---|
| Type | Description |
CommitResponse.CommitStats |
The commitStats. |
getCommitStatsOrBuilder()
public abstract CommitResponse.CommitStatsOrBuilder getCommitStatsOrBuilder() The statistics about this Commit. Not returned by default.
For more information, see
CommitRequest.return_commit_stats.
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;
| Returns | |
|---|---|
| Type | Description |
CommitResponse.CommitStatsOrBuilder |
|
getCommitTimestamp()
public abstract Timestamp getCommitTimestamp()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The commitTimestamp. |
getCommitTimestampOrBuilder()
public abstract TimestampOrBuilder getCommitTimestampOrBuilder()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getMultiplexedSessionRetryCase()
public abstract CommitResponse.MultiplexedSessionRetryCase getMultiplexedSessionRetryCase()| Returns | |
|---|---|
| Type | Description |
CommitResponse.MultiplexedSessionRetryCase |
|
getPrecommitToken()
public abstract MultiplexedSessionPrecommitToken getPrecommitToken()If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;
| Returns | |
|---|---|
| Type | Description |
MultiplexedSessionPrecommitToken |
The precommitToken. |
getPrecommitTokenOrBuilder()
public abstract MultiplexedSessionPrecommitTokenOrBuilder getPrecommitTokenOrBuilder()If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;
| Returns | |
|---|---|
| Type | Description |
MultiplexedSessionPrecommitTokenOrBuilder |
|
getSnapshotTimestamp()
public abstract Timestamp getSnapshotTimestamp() If TransactionOptions.isolation_level is set to
IsolationLevel.REPEATABLE_READ, then the snapshot timestamp is the
timestamp at which all reads in the transaction ran. This timestamp is
never returned.
.google.protobuf.Timestamp snapshot_timestamp = 5;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The snapshotTimestamp. |
getSnapshotTimestampOrBuilder()
public abstract TimestampOrBuilder getSnapshotTimestampOrBuilder() If TransactionOptions.isolation_level is set to
IsolationLevel.REPEATABLE_READ, then the snapshot timestamp is the
timestamp at which all reads in the transaction ran. This timestamp is
never returned.
.google.protobuf.Timestamp snapshot_timestamp = 5;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCacheUpdate()
public abstract boolean hasCacheUpdate() Optional. A cache update expresses a set of changes the client should
incorporate into its location cache. The client should discard the changes
if they are older than the data it already has. This data can be obtained
in response to requests that included a RoutingHint field, but may also
be obtained by explicit location-fetching RPCs which may be added in the
future.
.google.spanner.v1.CacheUpdate cache_update = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cacheUpdate field is set. |
hasCommitStats()
public abstract boolean hasCommitStats() The statistics about this Commit. Not returned by default.
For more information, see
CommitRequest.return_commit_stats.
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the commitStats field is set. |
hasCommitTimestamp()
public abstract boolean hasCommitTimestamp()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the commitTimestamp field is set. |
hasPrecommitToken()
public abstract boolean hasPrecommitToken()If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the precommitToken field is set. |
hasSnapshotTimestamp()
public abstract boolean hasSnapshotTimestamp() If TransactionOptions.isolation_level is set to
IsolationLevel.REPEATABLE_READ, then the snapshot timestamp is the
timestamp at which all reads in the transaction ran. This timestamp is
never returned.
.google.protobuf.Timestamp snapshot_timestamp = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the snapshotTimestamp field is set. |