Class CommentServiceGrpc (0.14.0)

public final class CommentServiceGrpc

A service to manage comments on cases.

Inheritance

java.lang.Object > CommentServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(CommentServiceGrpc.AsyncService service)

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

getCreateCommentMethod()

public static MethodDescriptor<CreateCommentRequest,Comment> getCreateCommentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateCommentRequest,Comment>

getListCommentsMethod()

public static MethodDescriptor<ListCommentsRequest,ListCommentsResponse> getListCommentsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListCommentsRequest,ListCommentsResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static CommentServiceGrpc.CommentServiceBlockingStub 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
CommentServiceGrpc.CommentServiceBlockingStub

newFutureStub(Channel channel)

public static CommentServiceGrpc.CommentServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CommentServiceGrpc.CommentServiceFutureStub

newStub(Channel channel)

public static CommentServiceGrpc.CommentServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CommentServiceGrpc.CommentServiceStub