Class HubServiceClient.ListRoutesPage (1.46.0)

public static class HubServiceClient.ListRoutesPage extends AbstractPage<ListRoutesRequest,ListRoutesResponse,Route,HubServiceClient.ListRoutesPage>

Inheritance

java.lang.Object > AbstractPage > HubServiceClient.ListRoutesPage

Methods

createPage(PageContext<ListRoutesRequest,ListRoutesResponse,Route> context, ListRoutesResponse response)

protected HubServiceClient.ListRoutesPage createPage(PageContext<ListRoutesRequest,ListRoutesResponse,Route> context, ListRoutesResponse response)
Parameters
Name Description
context PageContext<ListRoutesRequest,ListRoutesResponse,Route>
response ListRoutesResponse
Returns
Type Description
HubServiceClient.ListRoutesPage
Overrides

createPageAsync(PageContext<ListRoutesRequest,ListRoutesResponse,Route> context, ApiFuture<ListRoutesResponse> futureResponse)

public ApiFuture<HubServiceClient.ListRoutesPage> createPageAsync(PageContext<ListRoutesRequest,ListRoutesResponse,Route> context, ApiFuture<ListRoutesResponse> futureResponse)
Parameters
Name Description
context PageContext<ListRoutesRequest,ListRoutesResponse,Route>
futureResponse ApiFuture<ListRoutesResponse>
Returns
Type Description
ApiFuture<ListRoutesPage>
Overrides