public static final class CommitResponse.CommitStats.Builder extends GeneratedMessageV3.Builder<CommitResponse.CommitStats.Builder> implements CommitResponse.CommitStatsOrBuilder
Additional statistics about a commit.
Protobuf type google.spanner.v1.CommitResponse.CommitStats
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CommitResponse.CommitStats.BuilderImplements
CommitResponse.CommitStatsOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommitResponse.CommitStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommitResponse.CommitStats.Builder |
build()
public CommitResponse.CommitStats build()
Type | Description |
CommitResponse.CommitStats |
buildPartial()
public CommitResponse.CommitStats buildPartial()
Type | Description |
CommitResponse.CommitStats |
clear()
public CommitResponse.CommitStats.Builder clear()
Type | Description |
CommitResponse.CommitStats.Builder |
clearField(Descriptors.FieldDescriptor field)
public CommitResponse.CommitStats.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CommitResponse.CommitStats.Builder |
clearMutationCount()
public CommitResponse.CommitStats.Builder clearMutationCount()
The total number of mutations for the transaction. Knowing the
mutation_count
value can help you maximize the number of mutations
in a transaction and minimize the number of API round trips. You can
also monitor this value to prevent transactions from exceeding the system
limit.
If the number of mutations exceeds the limit, the server returns
INVALID_ARGUMENT.
int64 mutation_count = 1;
Type | Description |
CommitResponse.CommitStats.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CommitResponse.CommitStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CommitResponse.CommitStats.Builder |
clone()
public CommitResponse.CommitStats.Builder clone()
Type | Description |
CommitResponse.CommitStats.Builder |
getDefaultInstanceForType()
public CommitResponse.CommitStats getDefaultInstanceForType()
Type | Description |
CommitResponse.CommitStats |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMutationCount()
public long getMutationCount()
The total number of mutations for the transaction. Knowing the
mutation_count
value can help you maximize the number of mutations
in a transaction and minimize the number of API round trips. You can
also monitor this value to prevent transactions from exceeding the system
limit.
If the number of mutations exceeds the limit, the server returns
INVALID_ARGUMENT.
int64 mutation_count = 1;
Type | Description |
long | The mutationCount. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommitResponse.CommitStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommitResponse.CommitStats.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CommitResponse.CommitStats.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CommitResponse.CommitStats.Builder |
mergeFrom(CommitResponse.CommitStats other)
public CommitResponse.CommitStats.Builder mergeFrom(CommitResponse.CommitStats other)
Name | Description |
other | CommitResponse.CommitStats |
Type | Description |
CommitResponse.CommitStats.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.CommitStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommitResponse.CommitStats.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CommitResponse.CommitStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommitResponse.CommitStats.Builder |
setMutationCount(long value)
public CommitResponse.CommitStats.Builder setMutationCount(long value)
The total number of mutations for the transaction. Knowing the
mutation_count
value can help you maximize the number of mutations
in a transaction and minimize the number of API round trips. You can
also monitor this value to prevent transactions from exceeding the system
limit.
If the number of mutations exceeds the limit, the server returns
INVALID_ARGUMENT.
int64 mutation_count = 1;
Name | Description |
value | long The mutationCount to set. |
Type | Description |
CommitResponse.CommitStats.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommitResponse.CommitStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CommitResponse.CommitStats.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.CommitStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommitResponse.CommitStats.Builder |