Class AgentsClient.ListAgentsPage (0.52.0)

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

Inheritance

java.lang.Object > AbstractPage > AgentsClient.ListAgentsPage

Methods

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

protected AgentsClient.ListAgentsPage createPage(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ListAgentsResponse response)
Parameters
NameDescription
contextPageContext<ListAgentsRequest,ListAgentsResponse,Agent>
responseListAgentsResponse
Returns
TypeDescription
AgentsClient.ListAgentsPage
Overrides

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

public ApiFuture<AgentsClient.ListAgentsPage> createPageAsync(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ApiFuture<ListAgentsResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListAgentsRequest,ListAgentsResponse,Agent>
futureResponseApiFuture<ListAgentsResponse>
Returns
TypeDescription
ApiFuture<ListAgentsPage>
Overrides