Interface PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT> (2.23.3)

public interface PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT>

Interface for constructing futures which return PagedListResponse objects.

This class is designed to be used by generated code.

Type Parameters

NameDescription
RequestT
ResponseT
PagedListResponseT

Methods

getFuturePagedResponse(UnaryCallable<RequestT,ResponseT> callable, RequestT request, ApiCallContext context, ApiFuture<ResponseT> futureResponse)

public abstract ApiFuture<PagedListResponseT> getFuturePagedResponse(UnaryCallable<RequestT,ResponseT> callable, RequestT request, ApiCallContext context, ApiFuture<ResponseT> futureResponse)
Parameters
NameDescription
callableUnaryCallable<RequestT,ResponseT>
requestRequestT
contextApiCallContext
futureResponseApiFuture<ResponseT>
Returns
TypeDescription
ApiFuture<PagedListResponseT>