Class AgentRegistryClient.ListLocationsPage (0.2.0)

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

Inheritance

java.lang.Object > AbstractPage > AgentRegistryClient.ListLocationsPage

Methods

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

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

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

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