Class PagedCallSettings<RequestT,ResponseT,PagedListResponseT> (2.58.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

Name Description
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
Name Description
pagedListResponseFactory PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT>
Returns
Type Description
Builder<RequestT,ResponseT,PagedListResponseT>

Methods

getPagedListResponseFactory()

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

toBuilder()

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