Class RecommendationServiceGrpc (0.26.0)

public final class RecommendationServiceGrpc

Service for making recommendations.

Inheritance

java.lang.Object > RecommendationServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(RecommendationServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(RecommendationServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceRecommendationServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getRecommendMethod()

public static MethodDescriptor<RecommendRequest,RecommendResponse> getRecommendMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RecommendRequest,RecommendResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static RecommendationServiceGrpc.RecommendationServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
RecommendationServiceGrpc.RecommendationServiceBlockingStub

newFutureStub(Channel channel)

public static RecommendationServiceGrpc.RecommendationServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
RecommendationServiceGrpc.RecommendationServiceFutureStub

newStub(Channel channel)

public static RecommendationServiceGrpc.RecommendationServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
RecommendationServiceGrpc.RecommendationServiceStub