public static final class BatchGetDocumentsResponse.Builder extends GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder> implements BatchGetDocumentsResponseOrBuilder
The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments].Protobuf type
google.firestore.v1beta1.BatchGetDocumentsResponsegetAllFields, 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<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic BatchGetDocumentsResponse build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic BatchGetDocumentsResponse buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic BatchGetDocumentsResponse.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder mergeFrom(BatchGetDocumentsResponse other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<BatchGetDocumentsResponse.Builder>java.io.IOExceptionpublic BatchGetDocumentsResponse.ResultCase getResultCase()
getResultCase in interface BatchGetDocumentsResponseOrBuilderpublic BatchGetDocumentsResponse.Builder clearResult()
public boolean hasFound()
A document that was requested.
.google.firestore.v1beta1.Document found = 1;hasFound in interface BatchGetDocumentsResponseOrBuilderpublic Document getFound()
A document that was requested.
.google.firestore.v1beta1.Document found = 1;getFound in interface BatchGetDocumentsResponseOrBuilderpublic BatchGetDocumentsResponse.Builder setFound(Document value)
A document that was requested.
.google.firestore.v1beta1.Document found = 1;public BatchGetDocumentsResponse.Builder setFound(Document.Builder builderForValue)
A document that was requested.
.google.firestore.v1beta1.Document found = 1;public BatchGetDocumentsResponse.Builder mergeFound(Document value)
A document that was requested.
.google.firestore.v1beta1.Document found = 1;public BatchGetDocumentsResponse.Builder clearFound()
A document that was requested.
.google.firestore.v1beta1.Document found = 1;public Document.Builder getFoundBuilder()
A document that was requested.
.google.firestore.v1beta1.Document found = 1;public DocumentOrBuilder getFoundOrBuilder()
A document that was requested.
.google.firestore.v1beta1.Document found = 1;getFoundOrBuilder in interface BatchGetDocumentsResponseOrBuilderpublic java.lang.String getMissing()
A document name that was requested but does not exist. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string missing = 2;getMissing in interface BatchGetDocumentsResponseOrBuilderpublic ByteString getMissingBytes()
A document name that was requested but does not exist. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string missing = 2;getMissingBytes in interface BatchGetDocumentsResponseOrBuilderpublic BatchGetDocumentsResponse.Builder setMissing(java.lang.String value)
A document name that was requested but does not exist. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string missing = 2;public BatchGetDocumentsResponse.Builder clearMissing()
A document name that was requested but does not exist. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string missing = 2;public BatchGetDocumentsResponse.Builder setMissingBytes(ByteString value)
A document name that was requested but does not exist. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string missing = 2;public ByteString getTransaction()
The transaction that was started as part of this request. Will only be set in the first response, and only if [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request.
bytes transaction = 3;getTransaction in interface BatchGetDocumentsResponseOrBuilderpublic BatchGetDocumentsResponse.Builder setTransaction(ByteString value)
The transaction that was started as part of this request. Will only be set in the first response, and only if [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request.
bytes transaction = 3;public BatchGetDocumentsResponse.Builder clearTransaction()
The transaction that was started as part of this request. Will only be set in the first response, and only if [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request.
bytes transaction = 3;public boolean hasReadTime()
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
.google.protobuf.Timestamp read_time = 4;hasReadTime in interface BatchGetDocumentsResponseOrBuilderpublic Timestamp getReadTime()
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
.google.protobuf.Timestamp read_time = 4;getReadTime in interface BatchGetDocumentsResponseOrBuilderpublic BatchGetDocumentsResponse.Builder setReadTime(Timestamp value)
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
.google.protobuf.Timestamp read_time = 4;public BatchGetDocumentsResponse.Builder setReadTime(Timestamp.Builder builderForValue)
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
.google.protobuf.Timestamp read_time = 4;public BatchGetDocumentsResponse.Builder mergeReadTime(Timestamp value)
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
.google.protobuf.Timestamp read_time = 4;public BatchGetDocumentsResponse.Builder clearReadTime()
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
.google.protobuf.Timestamp read_time = 4;public Timestamp.Builder getReadTimeBuilder()
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
.google.protobuf.Timestamp read_time = 4;public TimestampOrBuilder getReadTimeOrBuilder()
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
.google.protobuf.Timestamp read_time = 4;getReadTimeOrBuilder in interface BatchGetDocumentsResponseOrBuilderpublic final BatchGetDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public final BatchGetDocumentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>