public static class AgentsClient.ListAgentsPage extends AbstractPage<ListAgentsRequest,ListAgentsResponse,Agent,AgentsClient.ListAgentsPage>
Methods
createPage(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ListAgentsResponse response)
protected AgentsClient.ListAgentsPage createPage(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ListAgentsResponse response)
Parameters | |
---|---|
Name | Description |
context | PageContext<ListAgentsRequest,ListAgentsResponse,Agent> |
response | ListAgentsResponse |
Returns | |
---|---|
Type | Description |
AgentsClient.ListAgentsPage |
createPageAsync(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ApiFuture<ListAgentsResponse> futureResponse)
public ApiFuture<AgentsClient.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> |