public interface HttpJsonStubCallableFactory<OperationT,OperationsStub extends com.google.api.gax.core.BackgroundResource>
| Modifier and Type | Method and Description |
|---|---|
<RequestT,ResponseT> |
createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings,
com.google.api.gax.rpc.BatchingCallSettings<RequestT,ResponseT> batchingCallSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a callable object that represents a batching API method.
|
<RequestT,ResponseT,MetadataT> |
createOperationCallable(HttpJsonCallSettings<RequestT,OperationT> httpJsonCallSettings,
com.google.api.gax.rpc.OperationCallSettings<RequestT,ResponseT,MetadataT> operationCallSettings,
com.google.api.gax.rpc.ClientContext clientContext,
OperationsStub operationsStub)
Creates a callable object that represents a long-running operation.
|
<RequestT,ResponseT,PagedListResponseT> |
createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings,
com.google.api.gax.rpc.PagedCallSettings<RequestT,ResponseT,PagedListResponseT> pagedCallSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a paged callable object that represents a paged API method.
|
default <RequestT,ResponseT> |
createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings,
com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,ResponseT> callSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a server-streaming callable with.
|
<RequestT,ResponseT> |
createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings,
com.google.api.gax.rpc.UnaryCallSettings<RequestT,ResponseT> callSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a callable object with http/json-specific functionality.
|
<RequestT,ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,ResponseT> createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.UnaryCallSettings<RequestT,ResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)
httpJsonCallSettings - the http/json call settingscallSettings - UnaryCallSettings to configure the method-level settings withclientContext - ClientContext to use to connect to the serviceUnaryCallable callable object<RequestT,ResponseT,PagedListResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,PagedListResponseT> createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.PagedCallSettings<RequestT,ResponseT,PagedListResponseT> pagedCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
httpJsonCallSettings - the http/json call settingspagedCallSettings - PagedCallSettings to configure the paged settings withclientContext - ClientContext to use to connect to the serviceUnaryCallable callable object<RequestT,ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,ResponseT> createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.BatchingCallSettings<RequestT,ResponseT> batchingCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
httpJsonCallSettings - the http/json call settingsbatchingCallSettings - BatchingCallSettings to configure the batching related
settings withclientContext - ClientContext to use to connect to the serviceUnaryCallable callable object<RequestT,ResponseT,MetadataT> com.google.api.gax.rpc.OperationCallable<RequestT,ResponseT,MetadataT> createOperationCallable(HttpJsonCallSettings<RequestT,OperationT> httpJsonCallSettings, com.google.api.gax.rpc.OperationCallSettings<RequestT,ResponseT,MetadataT> operationCallSettings, com.google.api.gax.rpc.ClientContext clientContext, OperationsStub operationsStub)
httpJsonCallSettings - the http/json call settingsoperationCallSettings - OperationCallSettings to configure the method-level
settings withclientContext - ClientContext to use to connect to the serviceoperationsStub - opertation stub to use to poll for updates on the OperationOperationCallable callable objectdefault <RequestT,ResponseT> com.google.api.gax.rpc.ServerStreamingCallable<RequestT,ResponseT> createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,ResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)
httpJsonCallSettings - the gRPC call settingscallSettings - StreamingCallSettings to configure the method-level settings with.clientContext - ClientContext to use to connect to the service.