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

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>