Interface CommitResponseOrBuilder (2.22.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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the commitTime field is set.