public class HttpJsonCallableFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static <RequestT,ResponseT> |
createBaseUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings,
com.google.api.gax.rpc.UnaryCallSettings<?,?> callSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a Unary callable object with minimal http/json-specific functionality.
|
static <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.
|
static <RequestT,ResponseT,MetadataT> |
createOperationCallable(com.google.api.gax.rpc.OperationCallSettings<RequestT,ResponseT,MetadataT> operationCallSettings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.rpc.LongRunningClient longRunningClient,
com.google.api.gax.rpc.UnaryCallable<RequestT,com.google.api.gax.longrunning.OperationSnapshot> operationSnapshotCallable) |
static <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.
|
static <RequestT,ResponseT> |
createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsoncallSettings,
com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,ResponseT> streamingCallSettings,
com.google.api.gax.rpc.ClientContext clientContext) |
static <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.
|
public static <RequestT,ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,ResponseT> createBaseUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.UnaryCallSettings<?,?> callSettings, com.google.api.gax.rpc.ClientContext clientContext)
httpJsonCallSettings - the gRPC call settingscallSettings - the unary call settingsclientContext - ClientContext to use to connect to the service.public static <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 with.clientContext - ClientContext to use to connect to the service.UnaryCallable callable object.public static <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 with.clientContext - ClientContext to use to connect to the service.UnaryCallable callable object.public static <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 with.clientContext - ClientContext to use to connect to the service.UnaryCallable callable object.public static <RequestT,ResponseT,MetadataT> com.google.api.gax.rpc.OperationCallable<RequestT,ResponseT,MetadataT> createOperationCallable(com.google.api.gax.rpc.OperationCallSettings<RequestT,ResponseT,MetadataT> operationCallSettings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.rpc.LongRunningClient longRunningClient,
com.google.api.gax.rpc.UnaryCallable<RequestT,com.google.api.gax.longrunning.OperationSnapshot> operationSnapshotCallable)
public static <RequestT,ResponseT> com.google.api.gax.rpc.ServerStreamingCallable<RequestT,ResponseT> createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsoncallSettings, com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,ResponseT> streamingCallSettings, com.google.api.gax.rpc.ClientContext clientContext)