Class HubServiceClient.ListHubsPage
- java.lang.Object
-
- com.google.api.gax.paging.AbstractPage<ListHubsRequest,ListHubsResponse,Hub,HubServiceClient.ListHubsPage>
-
- com.google.cloud.networkconnectivity.v1alpha1.HubServiceClient.ListHubsPage
-
- All Implemented Interfaces:
com.google.api.gax.paging.AsyncPage<Hub>
,com.google.api.gax.paging.Page<Hub>
- Enclosing class:
- HubServiceClient
public static class HubServiceClient.ListHubsPage extends com.google.api.gax.paging.AbstractPage<ListHubsRequest,ListHubsResponse,Hub,HubServiceClient.ListHubsPage>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HubServiceClient.ListHubsPage
createPage(com.google.api.gax.rpc.PageContext<ListHubsRequest,ListHubsResponse,Hub> context, ListHubsResponse response)
com.google.api.core.ApiFuture<HubServiceClient.ListHubsPage>
createPageAsync(com.google.api.gax.rpc.PageContext<ListHubsRequest,ListHubsResponse,Hub> context, com.google.api.core.ApiFuture<ListHubsResponse> futureResponse)
-
Methods inherited from class com.google.api.gax.paging.AbstractPage
getNextPage, getNextPage, getNextPageAsync, getNextPageToken, getPageElementCount, getRequest, getResponse, getValues, hasNextPage, iterateAll
-
-
-
-
Method Detail
-
createPage
protected HubServiceClient.ListHubsPage createPage(com.google.api.gax.rpc.PageContext<ListHubsRequest,ListHubsResponse,Hub> context, ListHubsResponse response)
- Specified by:
createPage
in classcom.google.api.gax.paging.AbstractPage<ListHubsRequest,ListHubsResponse,Hub,HubServiceClient.ListHubsPage>
-
createPageAsync
public com.google.api.core.ApiFuture<HubServiceClient.ListHubsPage> createPageAsync(com.google.api.gax.rpc.PageContext<ListHubsRequest,ListHubsResponse,Hub> context, com.google.api.core.ApiFuture<ListHubsResponse> futureResponse)
- Overrides:
createPageAsync
in classcom.google.api.gax.paging.AbstractPage<ListHubsRequest,ListHubsResponse,Hub,HubServiceClient.ListHubsPage>
-
-