Class GrpcTranslationServiceCallableFactory (2.6.0)

Stay organized with collections Save and categorize content based on your preferences.
public class GrpcTranslationServiceCallableFactory implements GrpcStubCallableFactory

gRPC callable factory implementation for the TranslationService service API.

This class is for advanced usage.

Inheritance

java.lang.Object > GrpcTranslationServiceCallableFactory

Constructors

GrpcTranslationServiceCallableFactory()

public GrpcTranslationServiceCallableFactory()

Methods

<RequestT,ResponseT,MetadataT>createOperationCallable(GrpcCallSettings<RequestT,Operation> grpcCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, OperationsStub operationsStub)

public OperationCallable<RequestT,ResponseT,MetadataT> <RequestT,ResponseT,MetadataT>createOperationCallable(GrpcCallSettings<RequestT,Operation> grpcCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, OperationsStub operationsStub)
Parameters
NameDescription
grpcCallSettingsGrpcCallSettings<RequestT,Operation>
callSettingsOperationCallSettings<RequestT,ResponseT,MetadataT>
clientContextClientContext
operationsStubOperationsStub
Returns
TypeDescription
OperationCallable<RequestT,ResponseT,MetadataT>

<RequestT,ResponseT,PagedListResponseT>createPagedCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,PagedListResponseT> <RequestT,ResponseT,PagedListResponseT>createPagedCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)
Parameters
NameDescription
grpcCallSettingsGrpcCallSettings<RequestT,ResponseT>
callSettingsPagedCallSettings<RequestT,ResponseT,PagedListResponseT>
clientContextClientContext
Returns
TypeDescription
UnaryCallable<RequestT,PagedListResponseT>

<RequestT,ResponseT>createBatchingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createBatchingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parameters
NameDescription
grpcCallSettingsGrpcCallSettings<RequestT,ResponseT>
callSettingsBatchingCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
UnaryCallable<RequestT,ResponseT>

<RequestT,ResponseT>createBidiStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, StreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public BidiStreamingCallable<RequestT,ResponseT> <RequestT,ResponseT>createBidiStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, StreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parameters
NameDescription
grpcCallSettingsGrpcCallSettings<RequestT,ResponseT>
callSettingsStreamingCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
BidiStreamingCallable<RequestT,ResponseT>

<RequestT,ResponseT>createClientStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, StreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public ClientStreamingCallable<RequestT,ResponseT> <RequestT,ResponseT>createClientStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, StreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parameters
NameDescription
grpcCallSettingsGrpcCallSettings<RequestT,ResponseT>
callSettingsStreamingCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
ClientStreamingCallable<RequestT,ResponseT>

<RequestT,ResponseT>createServerStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public ServerStreamingCallable<RequestT,ResponseT> <RequestT,ResponseT>createServerStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parameters
NameDescription
grpcCallSettingsGrpcCallSettings<RequestT,ResponseT>
callSettingsServerStreamingCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
ServerStreamingCallable<RequestT,ResponseT>

<RequestT,ResponseT>createUnaryCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createUnaryCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parameters
NameDescription
grpcCallSettingsGrpcCallSettings<RequestT,ResponseT>
callSettingsUnaryCallSettings<RequestT,ResponseT>
clientContextClientContext
Returns
TypeDescription
UnaryCallable<RequestT,ResponseT>