Class DocumentServiceClient.ListDocumentsPage (0.13.0)

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

Inheritance

java.lang.Object > AbstractPage > DocumentServiceClient.ListDocumentsPage

Methods

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

protected DocumentServiceClient.ListDocumentsPage createPage(PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ListDocumentsResponse response)
Parameters
NameDescription
contextPageContext<ListDocumentsRequest,ListDocumentsResponse,Document>
responseListDocumentsResponse
Returns
TypeDescription
DocumentServiceClient.ListDocumentsPage
Overrides

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

public ApiFuture<DocumentServiceClient.ListDocumentsPage> createPageAsync(PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ApiFuture<ListDocumentsResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListDocumentsRequest,ListDocumentsResponse,Document>
futureResponseApiFuture<ListDocumentsResponse>
Returns
TypeDescription
ApiFuture<ListDocumentsPage>
Overrides