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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommitResponse.CommitStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CommitResponse.CommitStats build()
buildPartial()
public CommitResponse.CommitStats buildPartial()
clear()
public CommitResponse.CommitStats.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CommitResponse.CommitStats.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public CommitResponse.CommitStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CommitResponse.CommitStats.Builder clone()
Overrides
getDefaultInstanceForType()
public CommitResponse.CommitStats getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
---|
Type | Description |
long | The mutationCount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public CommitResponse.CommitStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CommitResponse.CommitStats.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(CommitResponse.CommitStats other)
public CommitResponse.CommitStats.Builder mergeFrom(CommitResponse.CommitStats other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.CommitStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CommitResponse.CommitStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
Parameter |
---|
Name | Description |
value | long
The mutationCount to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommitResponse.CommitStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.CommitStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides