Class DocumentServiceClient.ListDocumentsPage (2.35.0)

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

Inheritance

java.lang.Object > AbstractPage > DocumentServiceClient.ListDocumentsPage

Methods

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

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

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

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