Class RecommendationServiceGrpc.RecommendationServiceBlockingV2Stub (0.58.0)

public static final class RecommendationServiceGrpc.RecommendationServiceBlockingV2Stub extends AbstractBlockingStub<RecommendationServiceGrpc.RecommendationServiceBlockingV2Stub>

A stub to allow clients to do synchronous rpc calls to service RecommendationService.

Service for making recommendations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > RecommendationServiceGrpc.RecommendationServiceBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected RecommendationServiceGrpc.RecommendationServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
RecommendationServiceGrpc.RecommendationServiceBlockingV2Stub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

recommend(RecommendRequest request)

public RecommendResponse recommend(RecommendRequest request)

Makes a recommendation, which requires a contextual user event.

Parameter
Name Description
request RecommendRequest
Returns
Type Description
RecommendResponse