Interface CommitResponse.CommitStatsOrBuilder (6.50.1)

public static interface CommitResponse.CommitStatsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMutationCount()

public abstract 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
TypeDescription
long

The mutationCount.