public static final class BatchGetDocumentsResponse.Builder extends GeneratedMessageV3.Builder<BatchGetDocumentsResponse.Builder> implements BatchGetDocumentsResponseOrBuilder
The streamed response for Firestore.BatchGetDocuments.
Protobuf type google.firestore.v1.BatchGetDocumentsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchGetDocumentsResponse.BuilderImplements
BatchGetDocumentsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchGetDocumentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchGetDocumentsResponse.Builder |
build()
public BatchGetDocumentsResponse build()
Type | Description |
BatchGetDocumentsResponse |
buildPartial()
public BatchGetDocumentsResponse buildPartial()
Type | Description |
BatchGetDocumentsResponse |
clear()
public BatchGetDocumentsResponse.Builder clear()
Type | Description |
BatchGetDocumentsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchGetDocumentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BatchGetDocumentsResponse.Builder |
clearFound()
public BatchGetDocumentsResponse.Builder clearFound()
A document that was requested.
.google.firestore.v1.Document found = 1;
Type | Description |
BatchGetDocumentsResponse.Builder |
clearMissing()
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;
Type | Description |
BatchGetDocumentsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchGetDocumentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BatchGetDocumentsResponse.Builder |
clearReadTime()
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;
Type | Description |
BatchGetDocumentsResponse.Builder |
clearResult()
public BatchGetDocumentsResponse.Builder clearResult()
Type | Description |
BatchGetDocumentsResponse.Builder |
clearTransaction()
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 was set in the request.
bytes transaction = 3;
Type | Description |
BatchGetDocumentsResponse.Builder | This builder for chaining. |
clone()
public BatchGetDocumentsResponse.Builder clone()
Type | Description |
BatchGetDocumentsResponse.Builder |
getDefaultInstanceForType()
public BatchGetDocumentsResponse getDefaultInstanceForType()
Type | Description |
BatchGetDocumentsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFound()
public Document getFound()
A document that was requested.
.google.firestore.v1.Document found = 1;
Type | Description |
Document | The found. |
getFoundBuilder()
public Document.Builder getFoundBuilder()
A document that was requested.
.google.firestore.v1.Document found = 1;
Type | Description |
Document.Builder |
getFoundOrBuilder()
public DocumentOrBuilder getFoundOrBuilder()
A document that was requested.
.google.firestore.v1.Document found = 1;
Type | Description |
DocumentOrBuilder |
getMissing()
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;
Type | Description |
String | The missing. |
getMissingBytes()
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;
Type | Description |
ByteString | The bytes for missing. |
getReadTime()
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;
Type | Description |
Timestamp | The readTime. |
getReadTimeBuilder()
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;
Type | Description |
Builder |
getReadTimeOrBuilder()
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;
Type | Description |
TimestampOrBuilder |
getResultCase()
public BatchGetDocumentsResponse.ResultCase getResultCase()
Type | Description |
BatchGetDocumentsResponse.ResultCase |
getTransaction()
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 was set in the request.
bytes transaction = 3;
Type | Description |
ByteString | The transaction. |
hasFound()
public boolean hasFound()
A document that was requested.
.google.firestore.v1.Document found = 1;
Type | Description |
boolean | Whether the found field is set. |
hasMissing()
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;
Type | Description |
boolean | Whether the missing field is set. |
hasReadTime()
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;
Type | Description |
boolean | Whether the readTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFound(Document value)
public BatchGetDocumentsResponse.Builder mergeFound(Document value)
A document that was requested.
.google.firestore.v1.Document found = 1;
Name | Description |
value | Document |
Type | Description |
BatchGetDocumentsResponse.Builder |
mergeFrom(BatchGetDocumentsResponse other)
public BatchGetDocumentsResponse.Builder mergeFrom(BatchGetDocumentsResponse other)
Name | Description |
other | BatchGetDocumentsResponse |
Type | Description |
BatchGetDocumentsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchGetDocumentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchGetDocumentsResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BatchGetDocumentsResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BatchGetDocumentsResponse.Builder |
mergeReadTime(Timestamp value)
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;
Name | Description |
value | Timestamp |
Type | Description |
BatchGetDocumentsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetDocumentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchGetDocumentsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchGetDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchGetDocumentsResponse.Builder |
setFound(Document value)
public BatchGetDocumentsResponse.Builder setFound(Document value)
A document that was requested.
.google.firestore.v1.Document found = 1;
Name | Description |
value | Document |
Type | Description |
BatchGetDocumentsResponse.Builder |
setFound(Document.Builder builderForValue)
public BatchGetDocumentsResponse.Builder setFound(Document.Builder builderForValue)
A document that was requested.
.google.firestore.v1.Document found = 1;
Name | Description |
builderForValue | Document.Builder |
Type | Description |
BatchGetDocumentsResponse.Builder |
setMissing(String value)
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;
Name | Description |
value | String The missing to set. |
Type | Description |
BatchGetDocumentsResponse.Builder | This builder for chaining. |
setMissingBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for missing to set. |
Type | Description |
BatchGetDocumentsResponse.Builder | This builder for chaining. |
setReadTime(Timestamp value)
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;
Name | Description |
value | Timestamp |
Type | Description |
BatchGetDocumentsResponse.Builder |
setReadTime(Timestamp.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
BatchGetDocumentsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchGetDocumentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BatchGetDocumentsResponse.Builder |
setTransaction(ByteString value)
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 was set in the request.
bytes transaction = 3;
Name | Description |
value | ByteString The transaction to set. |
Type | Description |
BatchGetDocumentsResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchGetDocumentsResponse.Builder |