Class MigrationServiceClient.ListLocationsPage (3.24.0)

public static class MigrationServiceClient.ListLocationsPage extends AbstractPage<ListLocationsRequest,ListLocationsResponse,Location,MigrationServiceClient.ListLocationsPage>

Inheritance

java.lang.Object > AbstractPage > MigrationServiceClient.ListLocationsPage

Methods

createPage(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ListLocationsResponse response)

protected MigrationServiceClient.ListLocationsPage createPage(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ListLocationsResponse response)
Parameters
NameDescription
contextPageContext<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,com.google.cloud.location.Location>
responsecom.google.cloud.location.ListLocationsResponse
Returns
TypeDescription
MigrationServiceClient.ListLocationsPage
Overrides

createPageAsync(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ApiFuture<ListLocationsResponse> futureResponse)

public ApiFuture<MigrationServiceClient.ListLocationsPage> createPageAsync(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ApiFuture<ListLocationsResponse> futureResponse)
Parameters
NameDescription
contextPageContext<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,com.google.cloud.location.Location>
futureResponseApiFuture<com.google.cloud.location.ListLocationsResponse>
Returns
TypeDescription
ApiFuture<ListLocationsPage>
Overrides