Class AgentsClient.ListAgentsPage (0.110.0)

public static class AgentsClient.ListAgentsPage extends AbstractPage<ListAgentsRequest,ListAgentsResponse,Agent,AgentsClient.ListAgentsPage>

Inheritance

java.lang.Object > AbstractPage > AgentsClient.ListAgentsPage

Methods

createPage(@Nullable PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, @Nullable ListAgentsResponse response)

protected AgentsClient.ListAgentsPage createPage(@Nullable PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, @Nullable ListAgentsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListAgentsRequest,ListAgentsResponse,Agent>
response @org.jspecify.annotations.Nullable com.google.cloud.dialogflow.cx.v3beta1.ListAgentsResponse
Returns
Type Description
AgentsClient.ListAgentsPage
Overrides

createPageAsync(@Nullable PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ApiFuture<ListAgentsResponse> futureResponse)

public ApiFuture<AgentsClient.ListAgentsPage> createPageAsync(@Nullable PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ApiFuture<ListAgentsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListAgentsRequest,ListAgentsResponse,Agent>
futureResponse ApiFuture<ListAgentsResponse>
Returns
Type Description
ApiFuture<ListAgentsPage>
Overrides