public interface BatchGetDocumentsRequestOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
BatchGetDocumentsRequest.ConsistencySelectorCase |
getConsistencySelectorCase() |
java.lang.String |
getDatabase()
The database name.
|
ByteString |
getDatabaseBytes()
The database name.
|
java.lang.String |
getDocuments(int index)
The names of the documents to retrieve.
|
ByteString |
getDocumentsBytes(int index)
The names of the documents to retrieve.
|
int |
getDocumentsCount()
The names of the documents to retrieve.
|
java.util.List<java.lang.String> |
getDocumentsList()
The names of the documents to retrieve.
|
DocumentMask |
getMask()
The fields to return.
|
DocumentMaskOrBuilder |
getMaskOrBuilder()
The fields to return.
|
TransactionOptions |
getNewTransaction()
Starts a new transaction and reads the documents.
|
TransactionOptionsOrBuilder |
getNewTransactionOrBuilder()
Starts a new transaction and reads the documents.
|
Timestamp |
getReadTime()
Reads documents as they were at the given time.
|
TimestampOrBuilder |
getReadTimeOrBuilder()
Reads documents as they were at the given time.
|
ByteString |
getTransaction()
Reads documents in a transaction.
|
boolean |
hasMask()
The fields to return.
|
boolean |
hasNewTransaction()
Starts a new transaction and reads the documents.
|
boolean |
hasReadTime()
Reads documents as they were at the given time.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.lang.String getDatabase()
The database name. In the format:
`projects/{project_id}/databases/{database_id}`.
string database = 1;ByteString getDatabaseBytes()
The database name. In the format:
`projects/{project_id}/databases/{database_id}`.
string database = 1;java.util.List<java.lang.String> getDocumentsList()
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of the
given `database`. Duplicate names will be elided.
repeated string documents = 2;int getDocumentsCount()
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of the
given `database`. Duplicate names will be elided.
repeated string documents = 2;java.lang.String getDocuments(int index)
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of the
given `database`. Duplicate names will be elided.
repeated string documents = 2;ByteString getDocumentsBytes(int index)
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of the
given `database`. Duplicate names will be elided.
repeated string documents = 2;boolean hasMask()
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 3;DocumentMask getMask()
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 3;DocumentMaskOrBuilder getMaskOrBuilder()
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 3;ByteString getTransaction()
Reads documents in a transaction.
bytes transaction = 4;boolean hasNewTransaction()
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 5;TransactionOptions getNewTransaction()
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 5;TransactionOptionsOrBuilder getNewTransactionOrBuilder()
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 5;boolean hasReadTime()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;Timestamp getReadTime()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;TimestampOrBuilder getReadTimeOrBuilder()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;BatchGetDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase()