Class CloudMemcacheClient.ListLocationsPage (2.41.0)

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

Inheritance

java.lang.Object > AbstractPage > CloudMemcacheClient.ListLocationsPage

Methods

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

protected CloudMemcacheClient.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
CloudMemcacheClient.ListLocationsPage
Overrides

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

public ApiFuture<CloudMemcacheClient.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