Class PagedCallSettings (2.63.1)

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

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

Inheritance

java.lang.Object > UnaryCallSettings > PagedCallSettings

Type Parameters

Name Description
RequestT
ResponseT
PagedListResponseT

Static Methods

newBuilder(PagedListResponseFactory pagedListResponseFactory)

public static PagedCallSettings.Builder,ResponseT,PagedListResponseT> <RequestT,ResponseT,PagedListResponseT>newBuilder(PagedListResponseFactory,ResponseT,PagedListResponseT> pagedListResponseFactory)
Parameter
Name Description
pagedListResponseFactory PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT>
Returns
Type Description
Builder<RequestT,ResponseT,PagedListResponseT>

Methods

getPagedListResponseFactory()

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

toBuilder()

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