public static interface Target.DocumentsTargetOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDocuments(int index)
public abstract 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The documents at the given index. |
getDocumentsBytes(int index)
public abstract 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the documents at the given index. |
getDocumentsCount()
public abstract 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;
Type | Description |
int | The count of documents. |
getDocumentsList()
public abstract List<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;
Type | Description |
List<String> | A list containing the documents. |