Package com.google.cloud.retail.v2
Class ProductServiceClient.ListProductsPage
java.lang.Object
com.google.api.gax.paging.AbstractPage<ListProductsRequest,ListProductsResponse,Product,ProductServiceClient.ListProductsPage>
com.google.cloud.retail.v2.ProductServiceClient.ListProductsPage
- Enclosing class:
- ProductServiceClient
public static class ProductServiceClient.ListProductsPage
extends AbstractPage<ListProductsRequest,ListProductsResponse,Product,ProductServiceClient.ListProductsPage>
-
Method Summary
Modifier and TypeMethodDescriptionprotected ProductServiceClient.ListProductsPagecreatePage(PageContext<ListProductsRequest, ListProductsResponse, Product> context, ListProductsResponse response) createPageAsync(PageContext<ListProductsRequest, ListProductsResponse, Product> context, ApiFuture<ListProductsResponse> futureResponse) Methods inherited from class com.google.api.gax.paging.AbstractPage
getNextPage, getNextPage, getNextPageAsync, getNextPageToken, getPageElementCount, getRequest, getResponse, getValues, hasNextPage, iterateAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.paging.Page
streamAll, streamValues
-
Method Details
-
createPage
protected ProductServiceClient.ListProductsPage createPage(PageContext<ListProductsRequest, ListProductsResponse, Product> context, ListProductsResponse response) - Specified by:
createPagein classAbstractPage<ListProductsRequest,ListProductsResponse, Product, ProductServiceClient.ListProductsPage>
-
createPageAsync
public ApiFuture<ProductServiceClient.ListProductsPage> createPageAsync(PageContext<ListProductsRequest, ListProductsResponse, Product> context, ApiFuture<ListProductsResponse> futureResponse)
-