Package com.google.cloud.retail.v2alpha
Class PredictionServiceGrpc.PredictionServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<PredictionServiceGrpc.PredictionServiceStub>
-
- com.google.cloud.retail.v2alpha.PredictionServiceGrpc.PredictionServiceStub
-
- Enclosing class:
- PredictionServiceGrpc
public static final class PredictionServiceGrpc.PredictionServiceStub extends io.grpc.stub.AbstractAsyncStub<PredictionServiceGrpc.PredictionServiceStub>
A stub to allow clients to do asynchronous rpc calls to service PredictionService.Service for making recommendation prediction.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PredictionServiceGrpc.PredictionServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
predict(PredictRequest request, io.grpc.stub.StreamObserver<PredictResponse> responseObserver)
Makes a recommendation prediction.
-
-
-
Method Detail
-
build
protected PredictionServiceGrpc.PredictionServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<PredictionServiceGrpc.PredictionServiceStub>
-
predict
public void predict(PredictRequest request, io.grpc.stub.StreamObserver<PredictResponse> responseObserver)
Makes a recommendation prediction.
-
-