Class DataAgentServiceClient.ListLocationsPage (0.23.0)

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

Inheritance

java.lang.Object > AbstractPage > DataAgentServiceClient.ListLocationsPage

Methods

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

protected DataAgentServiceClient.ListLocationsPage createPage(@Nullable PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, @Nullable ListLocationsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,com.google.cloud.location.Location>
response @org.jspecify.annotations.Nullable com.google.cloud.location.ListLocationsResponse
Returns
Type Description
DataAgentServiceClient.ListLocationsPage
Overrides

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

public ApiFuture<DataAgentServiceClient.ListLocationsPage> createPageAsync(@Nullable PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ApiFuture<ListLocationsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,com.google.cloud.location.Location>
futureResponse ApiFuture<com.google.cloud.location.ListLocationsResponse>
Returns
Type Description
ApiFuture<ListLocationsPage>
Overrides