Class AgentServiceClient.ListAgentsPage (0.1.0)

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

Inheritance

java.lang.Object > AbstractPage > AgentServiceClient.ListAgentsPage

Methods

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

protected AgentServiceClient.ListAgentsPage createPage(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ListAgentsResponse response)
Parameters
Name Description
context PageContext<ListAgentsRequest,ListAgentsResponse,Agent>
response ListAgentsResponse
Returns
Type Description
AgentServiceClient.ListAgentsPage
Overrides

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

public ApiFuture<AgentServiceClient.ListAgentsPage> createPageAsync(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ApiFuture<ListAgentsResponse> futureResponse)
Parameters
Name Description
context PageContext<ListAgentsRequest,ListAgentsResponse,Agent>
futureResponse ApiFuture<ListAgentsResponse>
Returns
Type Description
ApiFuture<ListAgentsPage>
Overrides