Class DocumentServiceClient.ListDocumentsPage (2.99.0)

public static class DocumentServiceClient.ListDocumentsPage extends AbstractPage<ListDocumentsRequest,ListDocumentsResponse,DocumentMetadata,DocumentServiceClient.ListDocumentsPage>

Inheritance

java.lang.Object > AbstractPage > DocumentServiceClient.ListDocumentsPage

Methods

createPage(@Nullable PageContext<ListDocumentsRequest,ListDocumentsResponse,DocumentMetadata> context, @Nullable ListDocumentsResponse response)

protected DocumentServiceClient.ListDocumentsPage createPage(@Nullable PageContext<ListDocumentsRequest,ListDocumentsResponse,DocumentMetadata> context, @Nullable ListDocumentsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListDocumentsRequest,ListDocumentsResponse,DocumentMetadata>
response @org.jspecify.annotations.Nullable com.google.cloud.documentai.v1beta3.ListDocumentsResponse
Returns
Type Description
DocumentServiceClient.ListDocumentsPage
Overrides

createPageAsync(@Nullable PageContext<ListDocumentsRequest,ListDocumentsResponse,DocumentMetadata> context, ApiFuture<ListDocumentsResponse> futureResponse)

public ApiFuture<DocumentServiceClient.ListDocumentsPage> createPageAsync(@Nullable PageContext<ListDocumentsRequest,ListDocumentsResponse,DocumentMetadata> context, ApiFuture<ListDocumentsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListDocumentsRequest,ListDocumentsResponse,DocumentMetadata>
futureResponse ApiFuture<ListDocumentsResponse>
Returns
Type Description
ApiFuture<ListDocumentsPage>
Overrides