Class HttpJsonOperationsCallableFactory (2.8.1)

public class HttpJsonOperationsCallableFactory implements HttpJsonStubCallableFactory<ApiMessage,BackgroundResource>

REST callable factory implementation for the Operations service API.

This class is for advanced usage.

Inheritance

java.lang.Object > HttpJsonOperationsCallableFactory

Implements

com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.api.gax.httpjson.ApiMessage,com.google.api.gax.core.BackgroundResource>

Constructors

HttpJsonOperationsCallableFactory()

public HttpJsonOperationsCallableFactory()

Methods

<RequestT,ResponseT,MetadataT>createOperationCallable(HttpJsonCallSettings<RequestT,ApiMessage> httpJsonCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, BackgroundResource operationsStub)

public OperationCallable<RequestT,ResponseT,MetadataT> <RequestT,ResponseT,MetadataT>createOperationCallable(HttpJsonCallSettings<RequestT,ApiMessage> httpJsonCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, BackgroundResource operationsStub)
Parameters
NameDescription
httpJsonCallSettingsHttpJsonCallSettings<RequestT,ApiMessage>
callSettingsOperationCallSettings<RequestT,ResponseT,MetadataT>
clientContextClientContext
operationsStubBackgroundResource
Returns
TypeDescription
OperationCallable<RequestT,ResponseT,MetadataT>

<RequestT,ResponseT,PagedListResponseT>createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,PagedListResponseT> <RequestT,ResponseT,PagedListResponseT>createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)

Create a paged callable object that represents a paged API method. Designed for use by generated code.

Parameters
NameDescription
httpJsonCallSettingsHttpJsonCallSettings<RequestT,ResponseT>
callSettingsPagedCallSettings<RequestT,ResponseT,PagedListResponseT>
clientContextClientContext
Returns
TypeDescription
UnaryCallable<RequestT,PagedListResponseT>

<RequestT,ResponseT>createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

Create a callable object that represents a batching API method. Designed for use by generated code.

Parameters
NameDescription
httpJsonCallSettingsHttpJsonCallSettings<RequestT,ResponseT>
callSettingsBatchingCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
UnaryCallable<RequestT,ResponseT>

<RequestT,ResponseT>createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

Create a callable object with http/json-specific functionality. Designed for use by generated code.

Parameters
NameDescription
httpJsonCallSettingsHttpJsonCallSettings<RequestT,ResponseT>
callSettingsUnaryCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
UnaryCallable<RequestT,ResponseT>