Class GrafeasClient.ListOccurrencesPage (2.96.0)

public static class GrafeasClient.ListOccurrencesPage extends AbstractPage<ListOccurrencesRequest,ListOccurrencesResponse,Occurrence,GrafeasClient.ListOccurrencesPage>

Inheritance

java.lang.Object > AbstractPage > GrafeasClient.ListOccurrencesPage

Methods

createPage(@Nullable PageContext<ListOccurrencesRequest,ListOccurrencesResponse,Occurrence> context, @Nullable ListOccurrencesResponse response)

protected GrafeasClient.ListOccurrencesPage createPage(@Nullable PageContext<ListOccurrencesRequest,ListOccurrencesResponse,Occurrence> context, @Nullable ListOccurrencesResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListOccurrencesRequest,ListOccurrencesResponse,Occurrence>
response @org.jspecify.annotations.Nullable io.grafeas.v1.ListOccurrencesResponse
Returns
Type Description
GrafeasClient.ListOccurrencesPage
Overrides

createPageAsync(@Nullable PageContext<ListOccurrencesRequest,ListOccurrencesResponse,Occurrence> context, ApiFuture<ListOccurrencesResponse> futureResponse)

public ApiFuture<GrafeasClient.ListOccurrencesPage> createPageAsync(@Nullable PageContext<ListOccurrencesRequest,ListOccurrencesResponse,Occurrence> context, ApiFuture<ListOccurrencesResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListOccurrencesRequest,ListOccurrencesResponse,Occurrence>
futureResponse ApiFuture<ListOccurrencesResponse>
Returns
Type Description
ApiFuture<ListOccurrencesPage>
Overrides