Interface ListDocumentsResponseOrBuilder (2.48.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
Name Description
index int
Returns
Type Description
DocumentMetadata

getDocumentMetadataCount()

public abstract int getDocumentMetadataCount()

Document metadata corresponding to the listed documents.

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

Returns
Type Description
int

getDocumentMetadataList()

public abstract List<DocumentMetadata> getDocumentMetadataList()

Document metadata corresponding to the listed documents.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public abstract int getTotalSize()

Total count of documents queried.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.