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