Class DocumentServiceClient.ListDocumentsPage (0.91.0)

public static class DocumentServiceClient.ListDocumentsPage extends AbstractPage<ListDocumentsRequest,ListDocumentsResponse,Document,DocumentServiceClient.ListDocumentsPage>

Inheritance

java.lang.Object > AbstractPage > DocumentServiceClient.ListDocumentsPage

Methods

createPage(@Nullable PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, @Nullable ListDocumentsResponse response)

protected DocumentServiceClient.ListDocumentsPage createPage(@Nullable PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, @Nullable ListDocumentsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListDocumentsRequest,ListDocumentsResponse,Document>
response @org.jspecify.annotations.Nullable com.google.cloud.discoveryengine.v1alpha.ListDocumentsResponse
Returns
Type Description
DocumentServiceClient.ListDocumentsPage
Overrides

createPageAsync(@Nullable PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ApiFuture<ListDocumentsResponse> futureResponse)

public ApiFuture<DocumentServiceClient.ListDocumentsPage> createPageAsync(@Nullable PageContext<ListDocumentsRequest,ListDocumentsResponse,Document> context, ApiFuture<ListDocumentsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListDocumentsRequest,ListDocumentsResponse,Document>
futureResponse ApiFuture<ListDocumentsResponse>
Returns
Type Description
ApiFuture<ListDocumentsPage>
Overrides