Class CommentServiceGrpc (0.37.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
Type Description
String

Static Methods

bindService(CommentServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(CommentServiceGrpc.AsyncService service)
Parameter
Name Description
service CommentServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateCommentMethod()

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

getListCommentsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
CommentServiceGrpc.CommentServiceStub