Class CompanyServiceClient.ListCompaniesPage (2.21.0)

public static class CompanyServiceClient.ListCompaniesPage extends AbstractPage<ListCompaniesRequest,ListCompaniesResponse,Company,CompanyServiceClient.ListCompaniesPage>

Inheritance

java.lang.Object > AbstractPage > CompanyServiceClient.ListCompaniesPage

Methods

createPage(PageContext<ListCompaniesRequest,ListCompaniesResponse,Company> context, ListCompaniesResponse response)

protected CompanyServiceClient.ListCompaniesPage createPage(PageContext<ListCompaniesRequest,ListCompaniesResponse,Company> context, ListCompaniesResponse response)
Parameters
NameDescription
contextPageContext<ListCompaniesRequest,ListCompaniesResponse,Company>
responseListCompaniesResponse
Returns
TypeDescription
CompanyServiceClient.ListCompaniesPage
Overrides

createPageAsync(PageContext<ListCompaniesRequest,ListCompaniesResponse,Company> context, ApiFuture<ListCompaniesResponse> futureResponse)

public ApiFuture<CompanyServiceClient.ListCompaniesPage> createPageAsync(PageContext<ListCompaniesRequest,ListCompaniesResponse,Company> context, ApiFuture<ListCompaniesResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListCompaniesRequest,ListCompaniesResponse,Company>
futureResponseApiFuture<ListCompaniesResponse>
Returns
TypeDescription
ApiFuture<ListCompaniesPage>
Overrides