Class HubServiceClient.ListHubsPage (1.31.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
NameDescription
contextPageContext<ListHubsRequest,ListHubsResponse,Hub>
responseListHubsResponse
Returns
TypeDescription
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
NameDescription
contextPageContext<ListHubsRequest,ListHubsResponse,Hub>
futureResponseApiFuture<ListHubsResponse>
Returns
TypeDescription
ApiFuture<ListHubsPage>
Overrides