public static final class WriteResponse.Builder extends GeneratedMessageV3.Builder<WriteResponse.Builder> implements WriteResponseOrBuilder
The response for [Firestore.Write][google.firestore.v1beta1.Firestore.Write].Protobuf type
google.firestore.v1beta1.WriteResponsegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<WriteResponse.Builder>public WriteResponse.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<WriteResponse.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<WriteResponse.Builder>public WriteResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic WriteResponse build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic WriteResponse buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic WriteResponse.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<WriteResponse.Builder>public WriteResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<WriteResponse.Builder>public WriteResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<WriteResponse.Builder>public WriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<WriteResponse.Builder>public WriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<WriteResponse.Builder>public WriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<WriteResponse.Builder>public WriteResponse.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<WriteResponse.Builder>public WriteResponse.Builder mergeFrom(WriteResponse other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<WriteResponse.Builder>public WriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<WriteResponse.Builder>java.io.IOExceptionpublic java.lang.String getStreamId()
The ID of the stream. Only set on the first message, when a new stream was created.
string stream_id = 1;getStreamId in interface WriteResponseOrBuilderpublic ByteString getStreamIdBytes()
The ID of the stream. Only set on the first message, when a new stream was created.
string stream_id = 1;getStreamIdBytes in interface WriteResponseOrBuilderpublic WriteResponse.Builder setStreamId(java.lang.String value)
The ID of the stream. Only set on the first message, when a new stream was created.
string stream_id = 1;public WriteResponse.Builder clearStreamId()
The ID of the stream. Only set on the first message, when a new stream was created.
string stream_id = 1;public WriteResponse.Builder setStreamIdBytes(ByteString value)
The ID of the stream. Only set on the first message, when a new stream was created.
string stream_id = 1;public ByteString getStreamToken()
A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point. This field is always set.
bytes stream_token = 2;getStreamToken in interface WriteResponseOrBuilderpublic WriteResponse.Builder setStreamToken(ByteString value)
A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point. This field is always set.
bytes stream_token = 2;public WriteResponse.Builder clearStreamToken()
A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point. This field is always set.
bytes stream_token = 2;public java.util.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.v1beta1.WriteResult write_results = 3;getWriteResultsList in interface WriteResponseOrBuilderpublic 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.v1beta1.WriteResult write_results = 3;getWriteResultsCount in interface WriteResponseOrBuilderpublic 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.v1beta1.WriteResult write_results = 3;getWriteResults in interface WriteResponseOrBuilderpublic WriteResponse.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.v1beta1.WriteResult write_results = 3;public WriteResponse.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.v1beta1.WriteResult write_results = 3;public WriteResponse.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.v1beta1.WriteResult write_results = 3;public WriteResponse.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.v1beta1.WriteResult write_results = 3;public WriteResponse.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.v1beta1.WriteResult write_results = 3;public WriteResponse.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.v1beta1.WriteResult write_results = 3;public WriteResponse.Builder addAllWriteResults(java.lang.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.v1beta1.WriteResult write_results = 3;public WriteResponse.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.v1beta1.WriteResult write_results = 3;public WriteResponse.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.v1beta1.WriteResult write_results = 3;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.v1beta1.WriteResult write_results = 3;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.v1beta1.WriteResult write_results = 3;getWriteResultsOrBuilder in interface WriteResponseOrBuilderpublic java.util.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.v1beta1.WriteResult write_results = 3;getWriteResultsOrBuilderList in interface WriteResponseOrBuilderpublic 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.v1beta1.WriteResult write_results = 3;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.v1beta1.WriteResult write_results = 3;public java.util.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.v1beta1.WriteResult write_results = 3;public boolean hasCommitTime()
The time at which the commit occurred.
.google.protobuf.Timestamp commit_time = 4;hasCommitTime in interface WriteResponseOrBuilderpublic Timestamp getCommitTime()
The time at which the commit occurred.
.google.protobuf.Timestamp commit_time = 4;getCommitTime in interface WriteResponseOrBuilderpublic WriteResponse.Builder setCommitTime(Timestamp value)
The time at which the commit occurred.
.google.protobuf.Timestamp commit_time = 4;public WriteResponse.Builder setCommitTime(Timestamp.Builder builderForValue)
The time at which the commit occurred.
.google.protobuf.Timestamp commit_time = 4;public WriteResponse.Builder mergeCommitTime(Timestamp value)
The time at which the commit occurred.
.google.protobuf.Timestamp commit_time = 4;public WriteResponse.Builder clearCommitTime()
The time at which the commit occurred.
.google.protobuf.Timestamp commit_time = 4;public Timestamp.Builder getCommitTimeBuilder()
The time at which the commit occurred.
.google.protobuf.Timestamp commit_time = 4;public TimestampOrBuilder getCommitTimeOrBuilder()
The time at which the commit occurred.
.google.protobuf.Timestamp commit_time = 4;getCommitTimeOrBuilder in interface WriteResponseOrBuilderpublic final WriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<WriteResponse.Builder>public final WriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<WriteResponse.Builder>