Class GenAiCacheServiceClient.ListCachedContentsPage (3.100.0)

public static class GenAiCacheServiceClient.ListCachedContentsPage extends AbstractPage<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent,GenAiCacheServiceClient.ListCachedContentsPage>

Inheritance

java.lang.Object > AbstractPage > GenAiCacheServiceClient.ListCachedContentsPage

Methods

createPage(@Nullable PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent> context, @Nullable ListCachedContentsResponse response)

protected GenAiCacheServiceClient.ListCachedContentsPage createPage(@Nullable PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent> context, @Nullable ListCachedContentsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent>
response @org.jspecify.annotations.Nullable com.google.cloud.aiplatform.v1beta1.ListCachedContentsResponse
Returns
Type Description
GenAiCacheServiceClient.ListCachedContentsPage
Overrides

createPageAsync(@Nullable PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent> context, ApiFuture<ListCachedContentsResponse> futureResponse)

public ApiFuture<GenAiCacheServiceClient.ListCachedContentsPage> createPageAsync(@Nullable PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent> context, ApiFuture<ListCachedContentsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent>
futureResponse ApiFuture<ListCachedContentsResponse>
Returns
Type Description
ApiFuture<ListCachedContentsPage>
Overrides