Class TpuClient.ListAcceleratorTypesPage (2.13.0)

public static class TpuClient.ListAcceleratorTypesPage extends AbstractPage<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse,AcceleratorType,TpuClient.ListAcceleratorTypesPage>

Inheritance

java.lang.Object > AbstractPage > TpuClient.ListAcceleratorTypesPage

Methods

createPage(PageContext<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse,AcceleratorType> context, ListAcceleratorTypesResponse response)

protected TpuClient.ListAcceleratorTypesPage createPage(PageContext<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse,AcceleratorType> context, ListAcceleratorTypesResponse response)
Parameters
NameDescription
contextPageContext<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse,AcceleratorType>
responseListAcceleratorTypesResponse
Returns
TypeDescription
TpuClient.ListAcceleratorTypesPage
Overrides

createPageAsync(PageContext<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse,AcceleratorType> context, ApiFuture<ListAcceleratorTypesResponse> futureResponse)

public ApiFuture<TpuClient.ListAcceleratorTypesPage> createPageAsync(PageContext<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse,AcceleratorType> context, ApiFuture<ListAcceleratorTypesResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse,AcceleratorType>
futureResponseApiFuture<ListAcceleratorTypesResponse>
Returns
TypeDescription
ApiFuture<ListAcceleratorTypesPage>
Overrides