- 6.108.0 (latest)
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class CommitResponse.Builder extends GeneratedMessage.Builder<CommitResponse.Builder> implements CommitResponseOrBuilderThe response for Commit.
Protobuf type google.spanner.v1.CommitResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CommitResponse.BuilderImplements
CommitResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CommitResponse build()| Returns | |
|---|---|
| Type | Description |
CommitResponse |
|
buildPartial()
public CommitResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
CommitResponse |
|
clear()
public CommitResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
clearCommitStats()
public CommitResponse.Builder clearCommitStats() 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.Builder |
|
clearCommitTimestamp()
public CommitResponse.Builder clearCommitTimestamp()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
clearMultiplexedSessionRetry()
public CommitResponse.Builder clearMultiplexedSessionRetry()| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
clearPrecommitToken()
public CommitResponse.Builder clearPrecommitToken()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 |
CommitResponse.Builder |
|
clearSnapshotTimestamp()
public CommitResponse.Builder clearSnapshotTimestamp() 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 |
CommitResponse.Builder |
|
getCommitStats()
public 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. |
getCommitStatsBuilder()
public CommitResponse.CommitStats.Builder getCommitStatsBuilder() 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.Builder |
|
getCommitStatsOrBuilder()
public 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 Timestamp getCommitTimestamp()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The commitTimestamp. |
getCommitTimestampBuilder()
public Timestamp.Builder getCommitTimestampBuilder()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCommitTimestampOrBuilder()
public TimestampOrBuilder getCommitTimestampOrBuilder()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public CommitResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CommitResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMultiplexedSessionRetryCase()
public CommitResponse.MultiplexedSessionRetryCase getMultiplexedSessionRetryCase()| Returns | |
|---|---|
| Type | Description |
CommitResponse.MultiplexedSessionRetryCase |
|
getPrecommitToken()
public 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. |
getPrecommitTokenBuilder()
public MultiplexedSessionPrecommitToken.Builder getPrecommitTokenBuilder()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.Builder |
|
getPrecommitTokenOrBuilder()
public 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 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. |
getSnapshotTimestampBuilder()
public Timestamp.Builder getSnapshotTimestampBuilder() 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 |
Builder |
|
getSnapshotTimestampOrBuilder()
public 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 |
|
hasCommitStats()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCommitStats(CommitResponse.CommitStats value)
public CommitResponse.Builder mergeCommitStats(CommitResponse.CommitStats value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
CommitResponse.CommitStats |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
mergeCommitTimestamp(Timestamp value)
public CommitResponse.Builder mergeCommitTimestamp(Timestamp value)The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommitResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CommitResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
mergeFrom(CommitResponse other)
public CommitResponse.Builder mergeFrom(CommitResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
CommitResponse |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
mergePrecommitToken(MultiplexedSessionPrecommitToken value)
public CommitResponse.Builder mergePrecommitToken(MultiplexedSessionPrecommitToken value)If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
MultiplexedSessionPrecommitToken |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
mergeSnapshotTimestamp(Timestamp value)
public CommitResponse.Builder mergeSnapshotTimestamp(Timestamp value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
setCommitStats(CommitResponse.CommitStats value)
public CommitResponse.Builder setCommitStats(CommitResponse.CommitStats value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
CommitResponse.CommitStats |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
setCommitStats(CommitResponse.CommitStats.Builder builderForValue)
public CommitResponse.Builder setCommitStats(CommitResponse.CommitStats.Builder builderForValue) 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CommitResponse.CommitStats.Builder |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
setCommitTimestamp(Timestamp value)
public CommitResponse.Builder setCommitTimestamp(Timestamp value)The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
setCommitTimestamp(Timestamp.Builder builderForValue)
public CommitResponse.Builder setCommitTimestamp(Timestamp.Builder builderForValue)The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
setPrecommitToken(MultiplexedSessionPrecommitToken value)
public CommitResponse.Builder setPrecommitToken(MultiplexedSessionPrecommitToken value)If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
MultiplexedSessionPrecommitToken |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
setPrecommitToken(MultiplexedSessionPrecommitToken.Builder builderForValue)
public CommitResponse.Builder setPrecommitToken(MultiplexedSessionPrecommitToken.Builder builderForValue)If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MultiplexedSessionPrecommitToken.Builder |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
setSnapshotTimestamp(Timestamp value)
public CommitResponse.Builder setSnapshotTimestamp(Timestamp value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|
setSnapshotTimestamp(Timestamp.Builder builderForValue)
public CommitResponse.Builder setSnapshotTimestamp(Timestamp.Builder builderForValue) 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
CommitResponse.Builder |
|