Class PredictionServiceGrpc.PredictionServiceImplBase (2.8.0)

public abstract static class PredictionServiceGrpc.PredictionServiceImplBase implements BindableService

Service for making recommendation prediction.

Inheritance

java.lang.Object > PredictionServiceGrpc.PredictionServiceImplBase

Implements

io.grpc.BindableService

Constructors

PredictionServiceImplBase()

public PredictionServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

predict(PredictRequest request, StreamObserver<PredictResponse> responseObserver)

public void predict(PredictRequest request, StreamObserver<PredictResponse> responseObserver)

Makes a recommendation prediction.

Parameters
NameDescription
requestPredictRequest
responseObserverio.grpc.stub.StreamObserver<PredictResponse>