Class DocumentsClient.ListDocumentsPage (4.35.0)

public static class DocumentsClient.ListDocumentsPage extends AbstractPage<ListDocumentsRequest,ListDocumentsResponse,Document,DocumentsClient.ListDocumentsPage>

Inheritance

java.lang.Object > AbstractPage > DocumentsClient.ListDocumentsPage

Methods

createPage(PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ListDocumentsResponse response)

protected DocumentsClient.ListDocumentsPage createPage(PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ListDocumentsResponse response)
Parameters
Name Description
context PageContext<ListDocumentsRequest,ListDocumentsResponse,Document>
response ListDocumentsResponse
Returns
Type Description
DocumentsClient.ListDocumentsPage
Overrides

createPageAsync(PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ApiFuture<ListDocumentsResponse> futureResponse)

public ApiFuture<DocumentsClient.ListDocumentsPage> createPageAsync(PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ApiFuture<ListDocumentsResponse> futureResponse)
Parameters
Name Description
context PageContext<ListDocumentsRequest,ListDocumentsResponse,Document>
futureResponse ApiFuture<ListDocumentsResponse>
Returns
Type Description
ApiFuture<ListDocumentsPage>
Overrides