Class HubServiceClient.ListRoutesPage (1.40.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
NameDescription
contextPageContext<ListRoutesRequest,ListRoutesResponse,Route>
responseListRoutesResponse
Returns
TypeDescription
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
NameDescription
contextPageContext<ListRoutesRequest,ListRoutesResponse,Route>
futureResponseApiFuture<ListRoutesResponse>
Returns
TypeDescription
ApiFuture<ListRoutesPage>
Overrides