public static final class BatchGetDocumentsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder> implements BatchGetDocumentsResponseOrBuilder
The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].Protobuf type
google.firestore.v1.BatchGetDocumentsResponse| Modifier and Type | Method and Description |
|---|---|
BatchGetDocumentsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchGetDocumentsResponse |
build() |
BatchGetDocumentsResponse |
buildPartial() |
BatchGetDocumentsResponse.Builder |
clear() |
BatchGetDocumentsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchGetDocumentsResponse.Builder |
clearFound()
A document that was requested.
|
BatchGetDocumentsResponse.Builder |
clearMissing()
A document name that was requested but does not exist.
|
BatchGetDocumentsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchGetDocumentsResponse.Builder |
clearReadTime()
The time at which the document was read.
|
BatchGetDocumentsResponse.Builder |
clearResult() |
BatchGetDocumentsResponse.Builder |
clearTransaction()
The transaction that was started as part of this request.
|
BatchGetDocumentsResponse.Builder |
clone() |
BatchGetDocumentsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Document |
getFound()
A document that was requested.
|
Document.Builder |
getFoundBuilder()
A document that was requested.
|
DocumentOrBuilder |
getFoundOrBuilder()
A document that was requested.
|
String |
getMissing()
A document name that was requested but does not exist.
|
com.google.protobuf.ByteString |
getMissingBytes()
A document name that was requested but does not exist.
|
com.google.protobuf.Timestamp |
getReadTime()
The time at which the document was read.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
The time at which the document was read.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
The time at which the document was read.
|
BatchGetDocumentsResponse.ResultCase |
getResultCase() |
com.google.protobuf.ByteString |
getTransaction()
The transaction that was started as part of this request.
|
boolean |
hasFound()
A document that was requested.
|
boolean |
hasMissing()
A document name that was requested but does not exist.
|
boolean |
hasReadTime()
The time at which the document was read.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchGetDocumentsResponse.Builder |
mergeFound(Document value)
A document that was requested.
|
BatchGetDocumentsResponse.Builder |
mergeFrom(BatchGetDocumentsResponse other) |
BatchGetDocumentsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchGetDocumentsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchGetDocumentsResponse.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
The time at which the document was read.
|
BatchGetDocumentsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchGetDocumentsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchGetDocumentsResponse.Builder |
setFound(Document.Builder builderForValue)
A document that was requested.
|
BatchGetDocumentsResponse.Builder |
setFound(Document value)
A document that was requested.
|
BatchGetDocumentsResponse.Builder |
setMissing(String value)
A document name that was requested but does not exist.
|
BatchGetDocumentsResponse.Builder |
setMissingBytes(com.google.protobuf.ByteString value)
A document name that was requested but does not exist.
|
BatchGetDocumentsResponse.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the document was read.
|
BatchGetDocumentsResponse.Builder |
setReadTime(com.google.protobuf.Timestamp value)
The time at which the document was read.
|
BatchGetDocumentsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchGetDocumentsResponse.Builder |
setTransaction(com.google.protobuf.ByteString value)
The transaction that was started as part of this request.
|
BatchGetDocumentsResponse.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchGetDocumentsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchGetDocumentsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchGetDocumentsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder mergeFrom(BatchGetDocumentsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public BatchGetDocumentsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchGetDocumentsResponse.Builder>IOExceptionpublic BatchGetDocumentsResponse.ResultCase getResultCase()
getResultCase in interface BatchGetDocumentsResponseOrBuilderpublic BatchGetDocumentsResponse.Builder clearResult()
public boolean hasFound()
A document that was requested.
.google.firestore.v1.Document found = 1;hasFound in interface BatchGetDocumentsResponseOrBuilderpublic Document getFound()
A document that was requested.
.google.firestore.v1.Document found = 1;getFound in interface BatchGetDocumentsResponseOrBuilderpublic BatchGetDocumentsResponse.Builder setFound(Document value)
A document that was requested.
.google.firestore.v1.Document found = 1;public BatchGetDocumentsResponse.Builder setFound(Document.Builder builderForValue)
A document that was requested.
.google.firestore.v1.Document found = 1;public BatchGetDocumentsResponse.Builder mergeFound(Document value)
A document that was requested.
.google.firestore.v1.Document found = 1;public BatchGetDocumentsResponse.Builder clearFound()
A document that was requested.
.google.firestore.v1.Document found = 1;public Document.Builder getFoundBuilder()
A document that was requested.
.google.firestore.v1.Document found = 1;public DocumentOrBuilder getFoundOrBuilder()
A document that was requested.
.google.firestore.v1.Document found = 1;getFoundOrBuilder in interface BatchGetDocumentsResponseOrBuilderpublic boolean hasMissing()
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;hasMissing in interface BatchGetDocumentsResponseOrBuilderpublic 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 com.google.protobuf.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(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;value - The missing to set.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(com.google.protobuf.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;value - The bytes for missing to set.public com.google.protobuf.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.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
bytes transaction = 3;getTransaction in interface BatchGetDocumentsResponseOrBuilderpublic BatchGetDocumentsResponse.Builder setTransaction(com.google.protobuf.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.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
bytes transaction = 3;value - The transaction to set.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.v1.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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>public final BatchGetDocumentsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>Copyright © 2022 Google LLC. All rights reserved.