Class RecommendationServiceGrpc.RecommendationServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<RecommendationServiceGrpc.RecommendationServiceStub>
-
- com.google.cloud.discoveryengine.v1beta.RecommendationServiceGrpc.RecommendationServiceStub
-
- Enclosing class:
- RecommendationServiceGrpc
public static final class RecommendationServiceGrpc.RecommendationServiceStub extends io.grpc.stub.AbstractAsyncStub<RecommendationServiceGrpc.RecommendationServiceStub>
A stub to allow clients to do asynchronous rpc calls to service RecommendationService.Service for making recommendations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RecommendationServiceGrpc.RecommendationServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
recommend(RecommendRequest request, io.grpc.stub.StreamObserver<RecommendResponse> responseObserver)
Makes a recommendation, which requires a contextual user event.
-
-
-
Method Detail
-
build
protected RecommendationServiceGrpc.RecommendationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<RecommendationServiceGrpc.RecommendationServiceStub>
-
recommend
public void recommend(RecommendRequest request, io.grpc.stub.StreamObserver<RecommendResponse> responseObserver)
Makes a recommendation, which requires a contextual user event.
-
-