public static final class CommitResponse.CommitStats extends GeneratedMessageV3 implements CommitResponse.CommitStatsOrBuilder
Additional statistics about a commit.
Protobuf type google.spanner.v1.CommitResponse.CommitStats
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CommitResponse.CommitStatsImplements
CommitResponse.CommitStatsOrBuilderStatic Fields
MUTATION_COUNT_FIELD_NUMBER
public static final int MUTATION_COUNT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CommitResponse.CommitStats getDefaultInstance()
Type | Description |
CommitResponse.CommitStats |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CommitResponse.CommitStats.Builder newBuilder()
Type | Description |
CommitResponse.CommitStats.Builder |
newBuilder(CommitResponse.CommitStats prototype)
public static CommitResponse.CommitStats.Builder newBuilder(CommitResponse.CommitStats prototype)
Name | Description |
prototype | CommitResponse.CommitStats |
Type | Description |
CommitResponse.CommitStats.Builder |
parseDelimitedFrom(InputStream input)
public static CommitResponse.CommitStats parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CommitResponse.CommitStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CommitResponse.CommitStats parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CommitResponse.CommitStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CommitResponse.CommitStats parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CommitResponse.CommitStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CommitResponse.CommitStats parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CommitResponse.CommitStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CommitResponse.CommitStats parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CommitResponse.CommitStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CommitResponse.CommitStats parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CommitResponse.CommitStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommitResponse.CommitStats |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CommitResponse.CommitStats> parser()
Type | Description |
Parser<CommitStats> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public CommitResponse.CommitStats getDefaultInstanceForType()
Type | Description |
CommitResponse.CommitStats |
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. |
getParserForType()
public Parser<CommitResponse.CommitStats> getParserForType()
Type | Description |
Parser<CommitStats> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public CommitResponse.CommitStats.Builder newBuilderForType()
Type | Description |
CommitResponse.CommitStats.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CommitResponse.CommitStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CommitResponse.CommitStats.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CommitResponse.CommitStats.Builder toBuilder()
Type | Description |
CommitResponse.CommitStats.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |