Class PagedCallable<RequestT,ResponseT,PagedListResponseT> (2.17.0)

publicclassPagedCallable<RequestT,ResponseT,PagedListResponseT>extendsUnaryCallable<RequestT,PagedListResponseT>

A UnaryCallable which provides page streaming functionality for unary calls.

Public for technical reasons - for advanced usage.

Inheritance

java.lang.Object >UnaryCallable >PagedCallable<RequestT,ResponseT,PagedListResponseT>

Type Parameters

NameDescription
RequestT
ResponseT
PagedListResponseT

Constructors

PagedCallable(UnaryCallable<RequestT,ResponseT> callable, PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT> pagedListResponseFactory)

publicPagedCallable(UnaryCallable<RequestT,ResponseT>callable,PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT>pagedListResponseFactory)
Parameters
NameDescription
callableUnaryCallable<RequestT,ResponseT>
pagedListResponseFactoryPagedListResponseFactory<RequestT,ResponseT,PagedListResponseT>

Methods

futureCall(RequestT request, ApiCallContext context)

publicApiFuture<PagedListResponseT>futureCall(RequestTrequest,ApiCallContextcontext)

Perform a call asynchronously.

Parameters
NameDescription
requestRequestT
contextApiCallContext
Returns
TypeDescription
com.google.api.core.ApiFuture<PagedListResponseT>
Overrides

toString()

publicStringtoString()
Returns
TypeDescription
String
Overrides

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.