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

Stay organized with collections Save and categorize content based on your preferences.
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
futureResponsecom.google.api.core.ApiFuture<ResponseT>
Returns
TypeDescription
com.google.api.core.ApiFuture<PagedListResponseT>