Class HubServiceClient.ListHubsPage (1.42.0)

public static class HubServiceClient.ListHubsPage extends AbstractPage<ListHubsRequest,ListHubsResponse,Hub,HubServiceClient.ListHubsPage>

Inheritance

java.lang.Object > AbstractPage > HubServiceClient.ListHubsPage

Methods

createPage(PageContext<ListHubsRequest,ListHubsResponse,Hub> context, ListHubsResponse response)

protected HubServiceClient.ListHubsPage createPage(PageContext<ListHubsRequest,ListHubsResponse,Hub> context, ListHubsResponse response)
Parameters
Name Description
context PageContext<ListHubsRequest,ListHubsResponse,Hub>
response ListHubsResponse
Returns
Type Description
HubServiceClient.ListHubsPage
Overrides

createPageAsync(PageContext<ListHubsRequest,ListHubsResponse,Hub> context, ApiFuture<ListHubsResponse> futureResponse)

public ApiFuture<HubServiceClient.ListHubsPage> createPageAsync(PageContext<ListHubsRequest,ListHubsResponse,Hub> context, ApiFuture<ListHubsResponse> futureResponse)
Parameters
Name Description
context PageContext<ListHubsRequest,ListHubsResponse,Hub>
futureResponse ApiFuture<ListHubsResponse>
Returns
Type Description
ApiFuture<ListHubsPage>
Overrides