@Generated(value="by GAPIC v0.0.5") @BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public class GrpcOperationsCallableFactory extends Object implements GrpcStubCallableFactory
This class is for advanced usage.
| Constructor and Description |
|---|
GrpcOperationsCallableFactory() |
| Modifier and Type | Method and Description |
|---|---|
<RequestT,ResponseT> |
createBatchingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings,
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> |
createBidiStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings,
com.google.api.gax.rpc.StreamingCallSettings<RequestT,ResponseT> streamingCallSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a bidirectional streaming callable object with grpc-specific functionality.
|
<RequestT,ResponseT> |
createClientStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings,
com.google.api.gax.rpc.StreamingCallSettings<RequestT,ResponseT> streamingCallSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a client-streaming callable object with grpc-specific functionality.
|
<RequestT,ResponseT,MetadataT> |
createOperationCallable(GrpcCallSettings<RequestT,com.google.longrunning.Operation> grpcCallSettings,
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(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings,
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.
|
<RequestT,ResponseT> |
createServerStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings,
com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,ResponseT> streamingCallSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a server-streaming callable with grpc-specific functionality.
|
<RequestT,ResponseT> |
createUnaryCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings,
com.google.api.gax.rpc.UnaryCallSettings<RequestT,ResponseT> callSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a callable object with grpc-specific functionality.
|
public <RequestT,ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,ResponseT> createUnaryCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, com.google.api.gax.rpc.UnaryCallSettings<RequestT,ResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)
GrpcStubCallableFactorycreateUnaryCallable in interface GrpcStubCallableFactorygrpcCallSettings - the gRPC call settingspublic <RequestT,ResponseT,PagedListResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,PagedListResponseT> createPagedCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, com.google.api.gax.rpc.PagedCallSettings<RequestT,ResponseT,PagedListResponseT> pagedCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
GrpcStubCallableFactorycreatePagedCallable in interface GrpcStubCallableFactorygrpcCallSettings - the gRPC call settingspagedCallSettings - PagedCallSettings to configure the paged settings with.clientContext - ClientContext to use to connect to the service.UnaryCallable callable object.public <RequestT,ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,ResponseT> createBatchingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, com.google.api.gax.rpc.BatchingCallSettings<RequestT,ResponseT> batchingCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
GrpcStubCallableFactorycreateBatchingCallable in interface GrpcStubCallableFactorygrpcCallSettings - the gRPC call settingsbatchingCallSettings - BatchingCallSettings to configure the batching related
settings with.clientContext - ClientContext to use to connect to the service.UnaryCallable callable object.public <RequestT,ResponseT,MetadataT> com.google.api.gax.rpc.OperationCallable<RequestT,ResponseT,MetadataT> createOperationCallable(GrpcCallSettings<RequestT,com.google.longrunning.Operation> grpcCallSettings, com.google.api.gax.rpc.OperationCallSettings<RequestT,ResponseT,MetadataT> operationCallSettings, com.google.api.gax.rpc.ClientContext clientContext, OperationsStub operationsStub)
GrpcStubCallableFactorycreateOperationCallable in interface GrpcStubCallableFactorygrpcCallSettings - the gRPC call settingsoperationCallSettings - OperationCallSettings to configure the method-level
settings with.clientContext - ClientContext to use to connect to the service.operationsStub - OperationsStub to use to poll for updates on the Operation.OperationCallable callable object.public <RequestT,ResponseT> com.google.api.gax.rpc.BidiStreamingCallable<RequestT,ResponseT> createBidiStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, com.google.api.gax.rpc.StreamingCallSettings<RequestT,ResponseT> streamingCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
GrpcStubCallableFactorycreateBidiStreamingCallable in interface GrpcStubCallableFactorygrpcCallSettings - the gRPC call settingsstreamingCallSettings - StreamingCallSettings to configure the method-level
settings with.clientContext - ClientContext to use to connect to the service.BidiStreamingCallable callable object.public <RequestT,ResponseT> com.google.api.gax.rpc.ServerStreamingCallable<RequestT,ResponseT> createServerStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,ResponseT> streamingCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
GrpcStubCallableFactorycreateServerStreamingCallable in interface GrpcStubCallableFactorygrpcCallSettings - the gRPC call settingsstreamingCallSettings - StreamingCallSettings to configure the method-level
settings with.clientContext - ClientContext to use to connect to the service.public <RequestT,ResponseT> com.google.api.gax.rpc.ClientStreamingCallable<RequestT,ResponseT> createClientStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, com.google.api.gax.rpc.StreamingCallSettings<RequestT,ResponseT> streamingCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
GrpcStubCallableFactorycreateClientStreamingCallable in interface GrpcStubCallableFactorygrpcCallSettings - the gRPC call settingsstreamingCallSettings - StreamingCallSettings to configure the method-level
settings with.clientContext - ClientContext to use to connect to the service.ClientStreamingCallable callable object.