Package com.google.cloud.apihub.v1
Class ApiHubClient.ListSpecsPage
java.lang.Object
com.google.api.gax.paging.AbstractPage<ListSpecsRequest,ListSpecsResponse,Spec,ApiHubClient.ListSpecsPage>
com.google.cloud.apihub.v1.ApiHubClient.ListSpecsPage
- Enclosing class:
- ApiHubClient
public static class ApiHubClient.ListSpecsPage
extends AbstractPage<ListSpecsRequest,ListSpecsResponse,Spec,ApiHubClient.ListSpecsPage>
-
Method Summary
Modifier and TypeMethodDescriptionprotected ApiHubClient.ListSpecsPagecreatePage(PageContext<ListSpecsRequest, ListSpecsResponse, Spec> context, ListSpecsResponse response) createPageAsync(PageContext<ListSpecsRequest, ListSpecsResponse, Spec> context, ApiFuture<ListSpecsResponse> 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 ApiHubClient.ListSpecsPage createPage(PageContext<ListSpecsRequest, ListSpecsResponse, Spec> context, ListSpecsResponse response) - Specified by:
createPagein classAbstractPage<ListSpecsRequest,ListSpecsResponse, Spec, ApiHubClient.ListSpecsPage>
-
createPageAsync
public ApiFuture<ApiHubClient.ListSpecsPage> createPageAsync(PageContext<ListSpecsRequest, ListSpecsResponse, Spec> context, ApiFuture<ListSpecsResponse> futureResponse) - Overrides:
createPageAsyncin classAbstractPage<ListSpecsRequest,ListSpecsResponse, Spec, ApiHubClient.ListSpecsPage>
-