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.WriteResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public WriteResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public WriteResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public WriteResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public WriteResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public WriteResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public WriteResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public WriteResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public WriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public WriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public WriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public WriteResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<WriteResponse.Builder>
public WriteResponse.Builder mergeFrom(WriteResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public WriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<WriteResponse.Builder>
java.io.IOException
public 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 WriteResponseOrBuilder
public 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 WriteResponseOrBuilder
public 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 WriteResponseOrBuilder
public 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 WriteResponseOrBuilder
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.v1beta1.WriteResult write_results = 3;
getWriteResultsCount
in interface WriteResponseOrBuilder
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.v1beta1.WriteResult write_results = 3;
getWriteResults
in interface WriteResponseOrBuilder
public 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 WriteResponseOrBuilder
public 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 WriteResponseOrBuilder
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.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 WriteResponseOrBuilder
public Timestamp getCommitTime()
The time at which the commit occurred.
.google.protobuf.Timestamp commit_time = 4;
getCommitTime
in interface WriteResponseOrBuilder
public 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 WriteResponseOrBuilder
public final WriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<WriteResponse.Builder>
public final WriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<WriteResponse.Builder>