Class ProductServiceClient.ListProductsPage (2.44.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
Name Description
context PageContext<ListProductsRequest,ListProductsResponse,Product>
response ListProductsResponse
Returns
Type Description
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
Name Description
context PageContext<ListProductsRequest,ListProductsResponse,Product>
futureResponse ApiFuture<ListProductsResponse>
Returns
Type Description
ApiFuture<ListProductsPage>
Overrides