Class CompanyServiceClient.ListCompaniesPage (0.54.0)

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

Inheritance

java.lang.Object > AbstractPage > CompanyServiceClient.ListCompaniesPage

Methods

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

protected CompanyServiceClient.ListCompaniesPage createPage(@Nullable PageContext<ListCompaniesRequest,ListCompaniesResponse,Company> context, @Nullable ListCompaniesResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListCompaniesRequest,ListCompaniesResponse,Company>
response @org.jspecify.annotations.Nullable com.google.ads.admanager.v1.ListCompaniesResponse
Returns
Type Description
CompanyServiceClient.ListCompaniesPage
Overrides

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

public ApiFuture<CompanyServiceClient.ListCompaniesPage> createPageAsync(@Nullable PageContext<ListCompaniesRequest,ListCompaniesResponse,Company> context, ApiFuture<ListCompaniesResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListCompaniesRequest,ListCompaniesResponse,Company>
futureResponse ApiFuture<ListCompaniesResponse>
Returns
Type Description
ApiFuture<ListCompaniesPage>
Overrides