Class PagedCallSettings<RequestT,ResponseT,PagedListResponseT> (2.23.0)

public final class PagedCallSettings<RequestT,ResponseT,PagedListResponseT> extends UnaryCallSettings<RequestT,ResponseT>

A settings class to configure a UnaryCallable for calls to an API method that supports page streaming.

Inheritance

java.lang.Object > UnaryCallSettings > PagedCallSettings<RequestT,ResponseT,PagedListResponseT>

Type Parameters

NameDescription
RequestT
ResponseT
PagedListResponseT

Static Methods

<RequestT,ResponseT,PagedListResponseT>newBuilder(PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT> pagedListResponseFactory)

public static PagedCallSettings.Builder<RequestT,ResponseT,PagedListResponseT> <RequestT,ResponseT,PagedListResponseT>newBuilder(PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT> pagedListResponseFactory)
Parameter
NameDescription
pagedListResponseFactoryPagedListResponseFactory<RequestT,ResponseT,PagedListResponseT>
Returns
TypeDescription
Builder<RequestT,ResponseT,PagedListResponseT>

Methods

getPagedListResponseFactory()

public PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT> getPagedListResponseFactory()
Returns
TypeDescription
PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT>

toBuilder()

public final PagedCallSettings.Builder<RequestT,ResponseT,PagedListResponseT> toBuilder()
Returns
TypeDescription
Builder<RequestT,ResponseT,PagedListResponseT>
Overrides