Class AgentRegistryClient.ListServicesPage (0.2.0)

public static class AgentRegistryClient.ListServicesPage extends AbstractPage<ListServicesRequest,ListServicesResponse,Service,AgentRegistryClient.ListServicesPage>

Inheritance

java.lang.Object > AbstractPage > AgentRegistryClient.ListServicesPage

Methods

createPage(@Nullable PageContext<ListServicesRequest,ListServicesResponse,Service> context, @Nullable ListServicesResponse response)

protected AgentRegistryClient.ListServicesPage createPage(@Nullable PageContext<ListServicesRequest,ListServicesResponse,Service> context, @Nullable ListServicesResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListServicesRequest,ListServicesResponse,Service>
response @org.jspecify.annotations.Nullable com.google.cloud.agentregistry.v1.ListServicesResponse
Returns
Type Description
AgentRegistryClient.ListServicesPage
Overrides

createPageAsync(@Nullable PageContext<ListServicesRequest,ListServicesResponse,Service> context, ApiFuture<ListServicesResponse> futureResponse)

public ApiFuture<AgentRegistryClient.ListServicesPage> createPageAsync(@Nullable PageContext<ListServicesRequest,ListServicesResponse,Service> context, ApiFuture<ListServicesResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListServicesRequest,ListServicesResponse,Service>
futureResponse ApiFuture<ListServicesResponse>
Returns
Type Description
ApiFuture<ListServicesPage>
Overrides