Class HubServiceClient.ListHubsPage
java.lang.Object
com.google.api.gax.paging.AbstractPage<ListHubsRequest,ListHubsResponse,Hub,HubServiceClient.ListHubsPage>
com.google.cloud.networkconnectivity.v1.HubServiceClient.ListHubsPage
- Enclosing class:
- HubServiceClient
public static class HubServiceClient.ListHubsPage
extends AbstractPage<ListHubsRequest,ListHubsResponse,Hub,HubServiceClient.ListHubsPage>
-
Method Summary
Modifier and TypeMethodDescriptionprotected HubServiceClient.ListHubsPagecreatePage(PageContext<ListHubsRequest, ListHubsResponse, Hub> context, ListHubsResponse response) createPageAsync(PageContext<ListHubsRequest, ListHubsResponse, Hub> context, ApiFuture<ListHubsResponse> 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 HubServiceClient.ListHubsPage createPage(PageContext<ListHubsRequest, ListHubsResponse, Hub> context, ListHubsResponse response) - Specified by:
createPagein classAbstractPage<ListHubsRequest,ListHubsResponse, Hub, HubServiceClient.ListHubsPage>
-
createPageAsync
public ApiFuture<HubServiceClient.ListHubsPage> createPageAsync(PageContext<ListHubsRequest, ListHubsResponse, Hub> context, ApiFuture<ListHubsResponse> futureResponse) - Overrides:
createPageAsyncin classAbstractPage<ListHubsRequest,ListHubsResponse, Hub, HubServiceClient.ListHubsPage>
-