Class CommitResponse.CommitStats (6.74.1)

public static final class CommitResponse.CommitStats extends GeneratedMessageV3 implements CommitResponse.CommitStatsOrBuilder

Additional statistics about a commit.

Protobuf type google.spanner.v1.CommitResponse.CommitStats

Static Fields

MUTATION_COUNT_FIELD_NUMBER

public static final int MUTATION_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CommitResponse.CommitStats getDefaultInstance()
Returns
Type Description
CommitResponse.CommitStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CommitResponse.CommitStats.Builder newBuilder()
Returns
Type Description
CommitResponse.CommitStats.Builder

newBuilder(CommitResponse.CommitStats prototype)

public static CommitResponse.CommitStats.Builder newBuilder(CommitResponse.CommitStats prototype)
Parameter
Name Description
prototype CommitResponse.CommitStats
Returns
Type Description
CommitResponse.CommitStats.Builder

parseDelimitedFrom(InputStream input)

public static CommitResponse.CommitStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommitResponse.CommitStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CommitResponse.CommitStats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CommitResponse.CommitStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CommitResponse.CommitStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CommitResponse.CommitStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CommitResponse.CommitStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CommitResponse.CommitStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CommitResponse.CommitStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommitResponse.CommitStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CommitResponse.CommitStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CommitResponse.CommitStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitResponse.CommitStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CommitResponse.CommitStats> parser()
Returns
Type Description
Parser<CommitStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CommitResponse.CommitStats getDefaultInstanceForType()
Returns
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;

Returns
Type Description
long

The mutationCount.

getParserForType()

public Parser<CommitResponse.CommitStats> getParserForType()
Returns
Type Description
Parser<CommitStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CommitResponse.CommitStats.Builder newBuilderForType()
Returns
Type Description
CommitResponse.CommitStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CommitResponse.CommitStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CommitResponse.CommitStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CommitResponse.CommitStats.Builder toBuilder()
Returns
Type Description
CommitResponse.CommitStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException