Class BatchServiceClient.ListResourceAllowancesPage (0.95.0)

public static class BatchServiceClient.ListResourceAllowancesPage extends AbstractPage<ListResourceAllowancesRequest,ListResourceAllowancesResponse,ResourceAllowance,BatchServiceClient.ListResourceAllowancesPage>

Inheritance

java.lang.Object > AbstractPage > BatchServiceClient.ListResourceAllowancesPage

Methods

createPage(@Nullable PageContext<ListResourceAllowancesRequest,ListResourceAllowancesResponse,ResourceAllowance> context, @Nullable ListResourceAllowancesResponse response)

protected BatchServiceClient.ListResourceAllowancesPage createPage(@Nullable PageContext<ListResourceAllowancesRequest,ListResourceAllowancesResponse,ResourceAllowance> context, @Nullable ListResourceAllowancesResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListResourceAllowancesRequest,ListResourceAllowancesResponse,ResourceAllowance>
response @org.jspecify.annotations.Nullable com.google.cloud.batch.v1alpha.ListResourceAllowancesResponse
Returns
Type Description
BatchServiceClient.ListResourceAllowancesPage
Overrides

createPageAsync(@Nullable PageContext<ListResourceAllowancesRequest,ListResourceAllowancesResponse,ResourceAllowance> context, ApiFuture<ListResourceAllowancesResponse> futureResponse)

public ApiFuture<BatchServiceClient.ListResourceAllowancesPage> createPageAsync(@Nullable PageContext<ListResourceAllowancesRequest,ListResourceAllowancesResponse,ResourceAllowance> context, ApiFuture<ListResourceAllowancesResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListResourceAllowancesRequest,ListResourceAllowancesResponse,ResourceAllowance>
futureResponse ApiFuture<ListResourceAllowancesResponse>
Returns
Type Description
ApiFuture<ListResourceAllowancesPage>
Overrides