Class ProductServiceClient.ListProductsPage (2.31.0)

public static class ProductServiceClient.ListProductsPage extends AbstractPage<ListProductsRequest,ListProductsResponse,Product,ProductServiceClient.ListProductsPage>

Inheritance

java.lang.Object > AbstractPage > ProductServiceClient.ListProductsPage

Methods

createPage(PageContext<ListProductsRequest,ListProductsResponse,Product> context, ListProductsResponse response)

protected ProductServiceClient.ListProductsPage createPage(PageContext<ListProductsRequest,ListProductsResponse,Product> context, ListProductsResponse response)
Parameters
NameDescription
contextPageContext<ListProductsRequest,ListProductsResponse,Product>
responseListProductsResponse
Returns
TypeDescription
ProductServiceClient.ListProductsPage
Overrides

createPageAsync(PageContext<ListProductsRequest,ListProductsResponse,Product> context, ApiFuture<ListProductsResponse> futureResponse)

public ApiFuture<ProductServiceClient.ListProductsPage> createPageAsync(PageContext<ListProductsRequest,ListProductsResponse,Product> context, ApiFuture<ListProductsResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListProductsRequest,ListProductsResponse,Product>
futureResponseApiFuture<ListProductsResponse>
Returns
TypeDescription
ApiFuture<ListProductsPage>
Overrides