Interface CommitResponseOrBuilder (2.19.0)

public interface CommitResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitTime()

public abstract Timestamp getCommitTime()

The transaction commit timestamp. Not set for non-transactional commits.

.google.protobuf.Timestamp commit_time = 8;

Returns
TypeDescription
Timestamp

The commitTime.

getCommitTimeOrBuilder()

public abstract TimestampOrBuilder getCommitTimeOrBuilder()

The transaction commit timestamp. Not set for non-transactional commits.

.google.protobuf.Timestamp commit_time = 8;

Returns
TypeDescription
TimestampOrBuilder

getIndexUpdates()

public abstract int getIndexUpdates()

The number of index entries updated during the commit, or zero if none were updated.

int32 index_updates = 4;

Returns
TypeDescription
int

The indexUpdates.

getMutationResults(int index)

public abstract MutationResult getMutationResults(int index)

The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.

repeated .google.datastore.v1.MutationResult mutation_results = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
MutationResult

getMutationResultsCount()

public abstract int getMutationResultsCount()

The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.

repeated .google.datastore.v1.MutationResult mutation_results = 3;

Returns
TypeDescription
int

getMutationResultsList()

public abstract List<MutationResult> getMutationResultsList()

The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.

repeated .google.datastore.v1.MutationResult mutation_results = 3;

Returns
TypeDescription
List<MutationResult>

getMutationResultsOrBuilder(int index)

public abstract MutationResultOrBuilder getMutationResultsOrBuilder(int index)

The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.

repeated .google.datastore.v1.MutationResult mutation_results = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
MutationResultOrBuilder

getMutationResultsOrBuilderList()

public abstract List<? extends MutationResultOrBuilder> getMutationResultsOrBuilderList()

The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.

repeated .google.datastore.v1.MutationResult mutation_results = 3;

Returns
TypeDescription
List<? extends com.google.datastore.v1.MutationResultOrBuilder>

hasCommitTime()

public abstract boolean hasCommitTime()

The transaction commit timestamp. Not set for non-transactional commits.

.google.protobuf.Timestamp commit_time = 8;

Returns
TypeDescription
boolean

Whether the commitTime field is set.