public static final class CommitResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommitResponse.Builder> implements CommitResponseOrBuilder
The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].Protobuf type
google.firestore.v1.CommitResponse
Modifier and Type | Method and Description |
---|---|
CommitResponse.Builder |
addAllWriteResults(Iterable<? extends WriteResult> values)
The result of applying the writes.
|
CommitResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitResponse.Builder |
addWriteResults(int index,
WriteResult.Builder builderForValue)
The result of applying the writes.
|
CommitResponse.Builder |
addWriteResults(int index,
WriteResult value)
The result of applying the writes.
|
CommitResponse.Builder |
addWriteResults(WriteResult.Builder builderForValue)
The result of applying the writes.
|
CommitResponse.Builder |
addWriteResults(WriteResult value)
The result of applying the writes.
|
WriteResult.Builder |
addWriteResultsBuilder()
The result of applying the writes.
|
WriteResult.Builder |
addWriteResultsBuilder(int index)
The result of applying the writes.
|
CommitResponse |
build() |
CommitResponse |
buildPartial() |
CommitResponse.Builder |
clear() |
CommitResponse.Builder |
clearCommitTime()
The time at which the commit occurred.
|
CommitResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommitResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommitResponse.Builder |
clearWriteResults()
The result of applying the writes.
|
CommitResponse.Builder |
clone() |
com.google.protobuf.Timestamp |
getCommitTime()
The time at which the commit occurred.
|
com.google.protobuf.Timestamp.Builder |
getCommitTimeBuilder()
The time at which the commit occurred.
|
com.google.protobuf.TimestampOrBuilder |
getCommitTimeOrBuilder()
The time at which the commit occurred.
|
CommitResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
WriteResult |
getWriteResults(int index)
The result of applying the writes.
|
WriteResult.Builder |
getWriteResultsBuilder(int index)
The result of applying the writes.
|
List<WriteResult.Builder> |
getWriteResultsBuilderList()
The result of applying the writes.
|
int |
getWriteResultsCount()
The result of applying the writes.
|
List<WriteResult> |
getWriteResultsList()
The result of applying the writes.
|
WriteResultOrBuilder |
getWriteResultsOrBuilder(int index)
The result of applying the writes.
|
List<? extends WriteResultOrBuilder> |
getWriteResultsOrBuilderList()
The result of applying the writes.
|
boolean |
hasCommitTime()
The time at which the commit occurred.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommitResponse.Builder |
mergeCommitTime(com.google.protobuf.Timestamp value)
The time at which the commit occurred.
|
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 |
removeWriteResults(int index)
The result of applying the writes.
|
CommitResponse.Builder |
setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the commit occurred.
|
CommitResponse.Builder |
setCommitTime(com.google.protobuf.Timestamp value)
The time at which the commit occurred.
|
CommitResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommitResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommitResponse.Builder |
setWriteResults(int index,
WriteResult.Builder builderForValue)
The result of applying the writes.
|
CommitResponse.Builder |
setWriteResults(int index,
WriteResult value)
The result of applying the writes.
|
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<WriteResult> getWriteResultsList()
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
getWriteResultsList
in interface CommitResponseOrBuilder
public int getWriteResultsCount()
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
getWriteResultsCount
in interface CommitResponseOrBuilder
public WriteResult getWriteResults(int index)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
getWriteResults
in interface CommitResponseOrBuilder
public CommitResponse.Builder setWriteResults(int index, WriteResult value)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public CommitResponse.Builder setWriteResults(int index, WriteResult.Builder builderForValue)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public CommitResponse.Builder addWriteResults(WriteResult value)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public CommitResponse.Builder addWriteResults(int index, WriteResult value)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public CommitResponse.Builder addWriteResults(WriteResult.Builder builderForValue)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public CommitResponse.Builder addWriteResults(int index, WriteResult.Builder builderForValue)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public CommitResponse.Builder addAllWriteResults(Iterable<? extends WriteResult> values)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public CommitResponse.Builder clearWriteResults()
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public CommitResponse.Builder removeWriteResults(int index)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public WriteResult.Builder getWriteResultsBuilder(int index)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public WriteResultOrBuilder getWriteResultsOrBuilder(int index)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
getWriteResultsOrBuilder
in interface CommitResponseOrBuilder
public List<? extends WriteResultOrBuilder> getWriteResultsOrBuilderList()
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
getWriteResultsOrBuilderList
in interface CommitResponseOrBuilder
public WriteResult.Builder addWriteResultsBuilder()
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public WriteResult.Builder addWriteResultsBuilder(int index)
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public List<WriteResult.Builder> getWriteResultsBuilderList()
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;
public boolean hasCommitTime()
The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
hasCommitTime
in interface CommitResponseOrBuilder
public com.google.protobuf.Timestamp getCommitTime()
The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
getCommitTime
in interface CommitResponseOrBuilder
public CommitResponse.Builder setCommitTime(com.google.protobuf.Timestamp value)
The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
public CommitResponse.Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
public CommitResponse.Builder mergeCommitTime(com.google.protobuf.Timestamp value)
The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
public CommitResponse.Builder clearCommitTime()
The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder()
The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder()
The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
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.