public static final class CommitResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder> implements CommitResponseOrBuilder
The response for [Commit][google.spanner.v1.Spanner.Commit].Protobuf type
google.spanner.v1.CommitResponse| Modifier and Type | Method and Description |
|---|---|
CommitResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitResponse |
build() |
CommitResponse |
buildPartial() |
CommitResponse.Builder |
clear() |
CommitResponse.Builder |
clearCommitStats()
The statistics about this Commit.
|
CommitResponse.Builder |
clearCommitTimestamp()
The Cloud Spanner timestamp at which the transaction committed.
|
CommitResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommitResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommitResponse.Builder |
clone() |
CommitResponse.CommitStats |
getCommitStats()
The statistics about this Commit.
|
CommitResponse.CommitStats.Builder |
getCommitStatsBuilder()
The statistics about this Commit.
|
CommitResponse.CommitStatsOrBuilder |
getCommitStatsOrBuilder()
The statistics about this Commit.
|
com.google.protobuf.Timestamp |
getCommitTimestamp()
The Cloud Spanner timestamp at which the transaction committed.
|
com.google.protobuf.Timestamp.Builder |
getCommitTimestampBuilder()
The Cloud Spanner timestamp at which the transaction committed.
|
com.google.protobuf.TimestampOrBuilder |
getCommitTimestampOrBuilder()
The Cloud Spanner timestamp at which the transaction committed.
|
CommitResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasCommitStats()
The statistics about this Commit.
|
boolean |
hasCommitTimestamp()
The Cloud Spanner timestamp at which the transaction committed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommitResponse.Builder |
mergeCommitStats(CommitResponse.CommitStats value)
The statistics about this Commit.
|
CommitResponse.Builder |
mergeCommitTimestamp(com.google.protobuf.Timestamp value)
The Cloud Spanner timestamp at which the transaction committed.
|
CommitResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommitResponse.Builder |
mergeFrom(CommitResponse other) |
CommitResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommitResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommitResponse.Builder |
setCommitStats(CommitResponse.CommitStats.Builder builderForValue)
The statistics about this Commit.
|
CommitResponse.Builder |
setCommitStats(CommitResponse.CommitStats value)
The statistics about this Commit.
|
CommitResponse.Builder |
setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
The Cloud Spanner timestamp at which the transaction committed.
|
CommitResponse.Builder |
setCommitTimestamp(com.google.protobuf.Timestamp value)
The Cloud Spanner timestamp at which the transaction committed.
|
CommitResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommitResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public CommitResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public CommitResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CommitResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CommitResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CommitResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public CommitResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public CommitResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public CommitResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public CommitResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public CommitResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public CommitResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommitResponse.Builder>public CommitResponse.Builder mergeFrom(CommitResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public CommitResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommitResponse.Builder>IOExceptionpublic boolean hasCommitTimestamp()
The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;hasCommitTimestamp in interface CommitResponseOrBuilderpublic com.google.protobuf.Timestamp getCommitTimestamp()
The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;getCommitTimestamp in interface CommitResponseOrBuilderpublic CommitResponse.Builder setCommitTimestamp(com.google.protobuf.Timestamp value)
The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;public CommitResponse.Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;public CommitResponse.Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value)
The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;public CommitResponse.Builder clearCommitTimestamp()
The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder()
The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder()
The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;getCommitTimestampOrBuilder in interface CommitResponseOrBuilderpublic boolean hasCommitStats()
The statistics about this Commit. Not returned by default. For more information, see [CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;hasCommitStats in interface CommitResponseOrBuilderpublic CommitResponse.CommitStats getCommitStats()
The statistics about this Commit. Not returned by default. For more information, see [CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;getCommitStats in interface CommitResponseOrBuilderpublic 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.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;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.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;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.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;public CommitResponse.Builder clearCommitStats()
The statistics about this Commit. Not returned by default. For more information, see [CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;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.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;public CommitResponse.CommitStatsOrBuilder getCommitStatsOrBuilder()
The statistics about this Commit. Not returned by default. For more information, see [CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;getCommitStatsOrBuilder in interface CommitResponseOrBuilderpublic final CommitResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>public final CommitResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>Copyright © 2021 Google LLC. All rights reserved.