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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
public BatchGetDocumentsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BatchGetDocumentsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BatchGetDocumentsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BatchGetDocumentsResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BatchGetDocumentsResponse.Builder>
IOException
public BatchGetDocumentsResponse.ResultCase getResultCase()
getResultCase
in interface BatchGetDocumentsResponseOrBuilder
public BatchGetDocumentsResponse.Builder clearResult()
public boolean hasFound()
A document that was requested.
.google.firestore.v1.Document found = 1;
hasFound
in interface BatchGetDocumentsResponseOrBuilder
public Document getFound()
A document that was requested.
.google.firestore.v1.Document found = 1;
getFound
in interface BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public 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 BatchGetDocumentsResponseOrBuilder
public final BatchGetDocumentsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.