public static final class CommitResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder> implements CommitResponseOrBuilder
The response for [Datastore.Commit][google.datastore.v1.Datastore.Commit].Protobuf type
google.datastore.v1.CommitResponse
Modifier and Type | Method and Description |
---|---|
CommitResponse.Builder |
addAllMutationResults(Iterable<? extends MutationResult> values)
The result of performing the mutations.
|
CommitResponse.Builder |
addMutationResults(int index,
MutationResult.Builder builderForValue)
The result of performing the mutations.
|
CommitResponse.Builder |
addMutationResults(int index,
MutationResult value)
The result of performing the mutations.
|
CommitResponse.Builder |
addMutationResults(MutationResult.Builder builderForValue)
The result of performing the mutations.
|
CommitResponse.Builder |
addMutationResults(MutationResult value)
The result of performing the mutations.
|
MutationResult.Builder |
addMutationResultsBuilder()
The result of performing the mutations.
|
MutationResult.Builder |
addMutationResultsBuilder(int index)
The result of performing the mutations.
|
CommitResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitResponse |
build() |
CommitResponse |
buildPartial() |
CommitResponse.Builder |
clear() |
CommitResponse.Builder |
clearCommitTime()
The transaction commit timestamp.
|
CommitResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommitResponse.Builder |
clearIndexUpdates()
The number of index entries updated during the commit, or zero if none were
updated.
|
CommitResponse.Builder |
clearMutationResults()
The result of performing the mutations.
|
CommitResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommitResponse.Builder |
clone() |
com.google.protobuf.Timestamp |
getCommitTime()
The transaction commit timestamp.
|
com.google.protobuf.Timestamp.Builder |
getCommitTimeBuilder()
The transaction commit timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getCommitTimeOrBuilder()
The transaction commit timestamp.
|
CommitResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getIndexUpdates()
The number of index entries updated during the commit, or zero if none were
updated.
|
MutationResult |
getMutationResults(int index)
The result of performing the mutations.
|
MutationResult.Builder |
getMutationResultsBuilder(int index)
The result of performing the mutations.
|
List<MutationResult.Builder> |
getMutationResultsBuilderList()
The result of performing the mutations.
|
int |
getMutationResultsCount()
The result of performing the mutations.
|
List<MutationResult> |
getMutationResultsList()
The result of performing the mutations.
|
MutationResultOrBuilder |
getMutationResultsOrBuilder(int index)
The result of performing the mutations.
|
List<? extends MutationResultOrBuilder> |
getMutationResultsOrBuilderList()
The result of performing the mutations.
|
boolean |
hasCommitTime()
The transaction commit timestamp.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommitResponse.Builder |
mergeCommitTime(com.google.protobuf.Timestamp value)
The transaction commit timestamp.
|
CommitResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommitResponse.Builder |
mergeFrom(CommitResponse other) |
CommitResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommitResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommitResponse.Builder |
removeMutationResults(int index)
The result of performing the mutations.
|
CommitResponse.Builder |
setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
The transaction commit timestamp.
|
CommitResponse.Builder |
setCommitTime(com.google.protobuf.Timestamp value)
The transaction commit timestamp.
|
CommitResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitResponse.Builder |
setIndexUpdates(int value)
The number of index entries updated during the commit, or zero if none were
updated.
|
CommitResponse.Builder |
setMutationResults(int index,
MutationResult.Builder builderForValue)
The result of performing the mutations.
|
CommitResponse.Builder |
setMutationResults(int index,
MutationResult value)
The result of performing the mutations.
|
CommitResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommitResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public CommitResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public CommitResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommitResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommitResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommitResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public CommitResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public CommitResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public CommitResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public CommitResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public CommitResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public CommitResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommitResponse.Builder>
public CommitResponse.Builder mergeFrom(CommitResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public CommitResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommitResponse.Builder>
IOException
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;
getMutationResultsList
in interface CommitResponseOrBuilder
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;
getMutationResultsCount
in interface CommitResponseOrBuilder
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;
getMutationResults
in interface CommitResponseOrBuilder
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getMutationResultsOrBuilder
in interface CommitResponseOrBuilder
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;
getMutationResultsOrBuilderList
in interface CommitResponseOrBuilder
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;
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;
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;
public int getIndexUpdates()
The number of index entries updated during the commit, or zero if none were updated.
int32 index_updates = 4;
getIndexUpdates
in interface CommitResponseOrBuilder
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;
value
- The indexUpdates to set.public CommitResponse.Builder clearIndexUpdates()
The number of index entries updated during the commit, or zero if none were updated.
int32 index_updates = 4;
public boolean hasCommitTime()
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
hasCommitTime
in interface CommitResponseOrBuilder
public com.google.protobuf.Timestamp getCommitTime()
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
getCommitTime
in interface CommitResponseOrBuilder
public CommitResponse.Builder setCommitTime(com.google.protobuf.Timestamp value)
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
public CommitResponse.Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
public CommitResponse.Builder mergeCommitTime(com.google.protobuf.Timestamp value)
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
public CommitResponse.Builder clearCommitTime()
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder()
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder()
The transaction commit timestamp. Not set for non-transactional commits.
.google.protobuf.Timestamp commit_time = 8;
getCommitTimeOrBuilder
in interface CommitResponseOrBuilder
public final CommitResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
public final CommitResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.