Class TpuClient.ListReservationsPage (2.96.0)

public static class TpuClient.ListReservationsPage extends AbstractPage<ListReservationsRequest,ListReservationsResponse,Reservation,TpuClient.ListReservationsPage>

Inheritance

java.lang.Object > AbstractPage > TpuClient.ListReservationsPage

Methods

createPage(@Nullable PageContext<ListReservationsRequest,ListReservationsResponse,Reservation> context, @Nullable ListReservationsResponse response)

protected TpuClient.ListReservationsPage createPage(@Nullable PageContext<ListReservationsRequest,ListReservationsResponse,Reservation> context, @Nullable ListReservationsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListReservationsRequest,ListReservationsResponse,Reservation>
response @org.jspecify.annotations.Nullable com.google.cloud.tpu.v2alpha1.ListReservationsResponse
Returns
Type Description
TpuClient.ListReservationsPage
Overrides

createPageAsync(@Nullable PageContext<ListReservationsRequest,ListReservationsResponse,Reservation> context, ApiFuture<ListReservationsResponse> futureResponse)

public ApiFuture<TpuClient.ListReservationsPage> createPageAsync(@Nullable PageContext<ListReservationsRequest,ListReservationsResponse,Reservation> context, ApiFuture<ListReservationsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListReservationsRequest,ListReservationsResponse,Reservation>
futureResponse ApiFuture<ListReservationsResponse>
Returns
Type Description
ApiFuture<ListReservationsPage>
Overrides