Interface CommitResponseOrBuilder (2.23.0)

publicinterface CommitResponseOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitTime()

publicabstractTimestampgetCommitTime()

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

.google.protobuf.Timestamp commit_time = 8;

Returns
Type Description
Timestamp

The commitTime.

getCommitTimeOrBuilder()

publicabstractTimestampOrBuildergetCommitTimeOrBuilder()

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

.google.protobuf.Timestamp commit_time = 8;

Returns
Type Description
TimestampOrBuilder

getIndexUpdates()

publicabstractintgetIndexUpdates()

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)

publicabstractMutationResultgetMutationResults(intindex)

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()

publicabstractintgetMutationResultsCount()

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()

publicabstractList<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)

publicabstractMutationResultOrBuildergetMutationResultsOrBuilder(intindex)

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()

publicabstractList<?extendsMutationResultOrBuilder>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()

publicabstractbooleanhasCommitTime()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.