Classe GrpcPredictionServiceCallableFactory (1.3.0)

public class GrpcPredictionServiceCallableFactory implements GrpcStubCallableFactory

Implementazione di fabbrica richiamabile gRPC per l'API del servizio PredictionService.

Questo corso è per un utilizzo avanzato.

Ereditarietà

java.lang.Object > GrpcPredictionServiceCallableFactory

Costruttori

GrpcPredictionServiceCallableFactory()

public GrpcPredictionServiceCallableFactory()

Metodi

<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)
Parametri
Nome Description
grpcCallSettings GrpcCallSettings<RequestT,Operation>
callSettings OperationCallSettings<RequestT,ResponseT,MetadataT>
clientContext ClientContext
operationsStub OperationsStub
Restituisce
Tipo Description
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)
Parametri
Nome Description
grpcCallSettings GrpcCallSettings<RequestT,ResponseT>
callSettings PagedCallSettings<RequestT,ResponseT,PagedListResponseT>
clientContext ClientContext
Restituisce
Tipo Description
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)
Parametri
Nome Description
grpcCallSettings GrpcCallSettings<RequestT,ResponseT>
callSettings BatchingCallSettings<RequestT,ResponseT>
clientContext ClientContext
Restituisce
Tipo Description
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)
Parametri
Nome Description
grpcCallSettings GrpcCallSettings<RequestT,ResponseT>
callSettings StreamingCallSettings<RequestT,ResponseT>
clientContext ClientContext
Restituisce
Tipo Description
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)
Parametri
Nome Description
grpcCallSettings GrpcCallSettings<RequestT,ResponseT>
callSettings StreamingCallSettings<RequestT,ResponseT>
clientContext ClientContext
Restituisce
Tipo Description
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)
Parametri
Nome Description
grpcCallSettings GrpcCallSettings<RequestT,ResponseT>
callSettings ServerStreamingCallSettings<RequestT,ResponseT>
clientContext ClientContext
Restituisce
Tipo Description
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)
Parametri
Nome Description
grpcCallSettings GrpcCallSettings<RequestT,ResponseT>
callSettings UnaryCallSettings<RequestT,ResponseT>
clientContext ClientContext
Restituisce
Tipo Description
UnaryCallable<RequestT,ResponseT>