public static final class CommitResponse.Builder extends GeneratedMessageV3.Builder<CommitResponse.Builder> implements CommitResponseOrBuilder
The response for Datastore.Commit.
Protobuf type google.datastore.v1.CommitResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMutationResults(Iterable<? extends MutationResult> values)
public CommitResponse.Builder addAllMutationResults(Iterable<? extends MutationResult> values)
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 |
values | Iterable<? extends com.google.datastore.v1.MutationResult>
|
addMutationResults(MutationResult value)
public CommitResponse.Builder addMutationResults(MutationResult value)
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;
addMutationResults(MutationResult.Builder builderForValue)
public CommitResponse.Builder addMutationResults(MutationResult.Builder builderForValue)
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;
addMutationResults(int index, MutationResult value)
public CommitResponse.Builder addMutationResults(int index, MutationResult value)
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;
addMutationResults(int index, MutationResult.Builder builderForValue)
public CommitResponse.Builder addMutationResults(int index, MutationResult.Builder builderForValue)
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;
addMutationResultsBuilder()
public MutationResult.Builder addMutationResultsBuilder()
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;
addMutationResultsBuilder(int index)
public MutationResult.Builder addMutationResultsBuilder(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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommitResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CommitResponse build()
buildPartial()
public CommitResponse buildPartial()
clear()
public CommitResponse.Builder clear()
Overrides
clearCommitTime()
public CommitResponse.Builder clearCommitTime()
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
clearField(Descriptors.FieldDescriptor field)
public CommitResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIndexUpdates()
public CommitResponse.Builder clearIndexUpdates()
The number of index entries updated during the commit, or zero if none were
updated.
int32 index_updates = 4;
clearMutationResults()
public CommitResponse.Builder clearMutationResults()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public CommitResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CommitResponse.Builder clone()
Overrides
getCommitTime()
public Timestamp getCommitTime()
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
Returns |
---|
Type | Description |
Timestamp | The commitTime.
|
getCommitTimeBuilder()
public Timestamp.Builder getCommitTimeBuilder()
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
getCommitTimeOrBuilder()
public TimestampOrBuilder getCommitTimeOrBuilder()
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
getDefaultInstanceForType()
public CommitResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIndexUpdates()
public 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 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
|
getMutationResultsBuilder(int index)
public MutationResult.Builder getMutationResultsBuilder(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
|
getMutationResultsBuilderList()
public List<MutationResult.Builder> getMutationResultsBuilderList()
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;
getMutationResultsCount()
public 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 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;
getMutationResultsOrBuilder(int index)
public 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
|
getMutationResultsOrBuilderList()
public 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCommitTime(Timestamp value)
public CommitResponse.Builder mergeCommitTime(Timestamp value)
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
mergeFrom(CommitResponse other)
public CommitResponse.Builder mergeFrom(CommitResponse other)
public CommitResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CommitResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMutationResults(int index)
public CommitResponse.Builder removeMutationResults(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
|
setCommitTime(Timestamp value)
public CommitResponse.Builder setCommitTime(Timestamp value)
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
setCommitTime(Timestamp.Builder builderForValue)
public CommitResponse.Builder setCommitTime(Timestamp.Builder builderForValue)
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public CommitResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIndexUpdates(int value)
public CommitResponse.Builder setIndexUpdates(int value)
The number of index entries updated during the commit, or zero if none were
updated.
int32 index_updates = 4;
Parameter |
---|
Name | Description |
value | int
The indexUpdates to set.
|
setMutationResults(int index, MutationResult value)
public CommitResponse.Builder setMutationResults(int index, MutationResult value)
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;
setMutationResults(int index, MutationResult.Builder builderForValue)
public CommitResponse.Builder setMutationResults(int index, MutationResult.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommitResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides