Class RecommendationServiceGrpc.RecommendationServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<RecommendationServiceGrpc.RecommendationServiceFutureStub>
com.google.cloud.discoveryengine.v1.RecommendationServiceGrpc.RecommendationServiceFutureStub
- Enclosing class:
- RecommendationServiceGrpc
public static final class RecommendationServiceGrpc.RecommendationServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<RecommendationServiceGrpc.RecommendationServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<RecommendResponse>recommend(RecommendRequest request) Makes a recommendation, which requires a contextual user event.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.RecommendationServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RecommendationServiceGrpc.RecommendationServiceFutureStub>
-
recommend
public com.google.common.util.concurrent.ListenableFuture<RecommendResponse> recommend(RecommendRequest request) Makes a recommendation, which requires a contextual user event.
-