Interface ListDocumentsResponseOrBuilder (2.41.0)

public interface ListDocumentsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocumentMetadata(int index)

public abstract DocumentMetadata getDocumentMetadata(int index)

Document metadata corresponding to the listed documents.

repeated .google.cloud.documentai.v1beta3.DocumentMetadata document_metadata = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentMetadata

getDocumentMetadataCount()

public abstract int getDocumentMetadataCount()

Document metadata corresponding to the listed documents.

repeated .google.cloud.documentai.v1beta3.DocumentMetadata document_metadata = 1;

Returns
TypeDescription
int

getDocumentMetadataList()

public abstract List<DocumentMetadata> getDocumentMetadataList()

Document metadata corresponding to the listed documents.

repeated .google.cloud.documentai.v1beta3.DocumentMetadata document_metadata = 1;

Returns
TypeDescription
List<DocumentMetadata>

getDocumentMetadataOrBuilder(int index)

public abstract DocumentMetadataOrBuilder getDocumentMetadataOrBuilder(int index)

Document metadata corresponding to the listed documents.

repeated .google.cloud.documentai.v1beta3.DocumentMetadata document_metadata = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentMetadataOrBuilder

getDocumentMetadataOrBuilderList()

public abstract List<? extends DocumentMetadataOrBuilder> getDocumentMetadataOrBuilderList()

Document metadata corresponding to the listed documents.

repeated .google.cloud.documentai.v1beta3.DocumentMetadata document_metadata = 1;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.DocumentMetadataOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

A token, which can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token, which can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTotalSize()

public abstract int getTotalSize()

Total count of documents queried.

int32 total_size = 3;

Returns
TypeDescription
int

The totalSize.