public static class DocumentServiceClient.ListDocumentsPage extends AbstractPage<ListDocumentsRequest,ListDocumentsResponse,Document,DocumentServiceClient.ListDocumentsPage>
Methods
createPage(PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ListDocumentsResponse response)
protected DocumentServiceClient.ListDocumentsPage createPage(PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ListDocumentsResponse response)
Parameters | |
---|---|
Name | Description |
context | PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> |
response | ListDocumentsResponse |
Returns | |
---|---|
Type | Description |
DocumentServiceClient.ListDocumentsPage |
createPageAsync(PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ApiFuture<ListDocumentsResponse> futureResponse)
public ApiFuture<DocumentServiceClient.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> |