Class HttpJsonTargetGrpcProxiesCallableFactory (1.8.1)

public class HttpJsonTargetGrpcProxiesCallableFactory implements HttpJsonStubCallableFactory<Operation,GlobalOperationsStub>

REST callable factory implementation for the TargetGrpcProxies service API.

This class is for advanced usage.

Inheritance

java.lang.Object > HttpJsonTargetGrpcProxiesCallableFactory

Implements

com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.cloud.compute.v1.Operation,com.google.cloud.compute.v1.stub.GlobalOperationsStub>

Constructors

HttpJsonTargetGrpcProxiesCallableFactory()

public HttpJsonTargetGrpcProxiesCallableFactory()

Methods

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

public OperationCallable<RequestT,ResponseT,MetadataT> <RequestT,ResponseT,MetadataT>createOperationCallable(HttpJsonCallSettings<RequestT,Operation> httpJsonCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, GlobalOperationsStub operationsStub)
Parameters
NameDescription
httpJsonCallSettingsHttpJsonCallSettings<RequestT,Operation>
callSettingsOperationCallSettings<RequestT,ResponseT,MetadataT>
clientContextClientContext
operationsStubGlobalOperationsStub
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)
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)
Parameters
NameDescription
httpJsonCallSettingsHttpJsonCallSettings<RequestT,ResponseT>
callSettingsBatchingCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
UnaryCallable<RequestT,ResponseT>

<RequestT,ResponseT>createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public ServerStreamingCallable<RequestT,ResponseT> <RequestT,ResponseT>createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parameters
NameDescription
httpJsonCallSettingsHttpJsonCallSettings<RequestT,ResponseT>
callSettingsServerStreamingCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
ServerStreamingCallable<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)
Parameters
NameDescription
httpJsonCallSettingsHttpJsonCallSettings<RequestT,ResponseT>
callSettingsUnaryCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
UnaryCallable<RequestT,ResponseT>