Class CloudBuildClient.ListWorkerPoolsPage (3.20.0)

public static class CloudBuildClient.ListWorkerPoolsPage extends AbstractPage<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPool,CloudBuildClient.ListWorkerPoolsPage>

Inheritance

java.lang.Object > AbstractPage > CloudBuildClient.ListWorkerPoolsPage

Methods

createPage(PageContext<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPool> context, ListWorkerPoolsResponse response)

protected CloudBuildClient.ListWorkerPoolsPage createPage(PageContext<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPool> context, ListWorkerPoolsResponse response)
Parameters
NameDescription
contextPageContext<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPool>
responseListWorkerPoolsResponse
Returns
TypeDescription
CloudBuildClient.ListWorkerPoolsPage
Overrides

createPageAsync(PageContext<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPool> context, ApiFuture<ListWorkerPoolsResponse> futureResponse)

public ApiFuture<CloudBuildClient.ListWorkerPoolsPage> createPageAsync(PageContext<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPool> context, ApiFuture<ListWorkerPoolsResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPool>
futureResponseApiFuture<ListWorkerPoolsResponse>
Returns
TypeDescription
ApiFuture<ListWorkerPoolsPage>
Overrides