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.BatchGetDocumentsResponse
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<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BatchGetDocumentsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BatchGetDocumentsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BatchGetDocumentsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse.Builder mergeFrom(BatchGetDocumentsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse.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<BatchGetDocumentsResponse.Builder>
java.io.IOException
public BatchGetDocumentsResponse.ResultCase getResultCase()
getResultCase
in interface BatchGetDocumentsResponseOrBuilder
public BatchGetDocumentsResponse.Builder clearResult()
public boolean hasFound()
A document that was requested.
.google.firestore.v1beta1.Document found = 1;
hasFound
in interface BatchGetDocumentsResponseOrBuilder
public Document getFound()
A document that was requested.
.google.firestore.v1beta1.Document found = 1;
getFound
in interface BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public final BatchGetDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public final BatchGetDocumentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>