Class RecommendationServiceGrpc.RecommendationServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<RecommendationServiceGrpc.RecommendationServiceStub>
com.google.cloud.discoveryengine.v1.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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidrecommend(RecommendRequest request, io.grpc.stub.StreamObserver<RecommendResponse> responseObserver) Makes a recommendation, which requires a contextual user event.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected RecommendationServiceGrpc.RecommendationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin 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.
-