Package com.google.cloud.support.v2
Class CommentServiceGrpc.CommentServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<CommentServiceGrpc.CommentServiceStub>
-
- com.google.cloud.support.v2.CommentServiceGrpc.CommentServiceStub
-
- Enclosing class:
- CommentServiceGrpc
public static final class CommentServiceGrpc.CommentServiceStub extends io.grpc.stub.AbstractAsyncStub<CommentServiceGrpc.CommentServiceStub>
A stub to allow clients to do asynchronous rpc calls to service CommentService.A service to manage comments on cases.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommentServiceGrpc.CommentServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createComment(CreateCommentRequest request, io.grpc.stub.StreamObserver<Comment> responseObserver)
Add a new comment to the specified Case.void
listComments(ListCommentsRequest request, io.grpc.stub.StreamObserver<ListCommentsResponse> responseObserver)
Retrieve all Comments associated with the Case object.
-
-
-
Method Detail
-
build
protected CommentServiceGrpc.CommentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<CommentServiceGrpc.CommentServiceStub>
-
listComments
public void listComments(ListCommentsRequest request, io.grpc.stub.StreamObserver<ListCommentsResponse> responseObserver)
Retrieve all Comments associated with the Case object.
-
createComment
public void createComment(CreateCommentRequest request, io.grpc.stub.StreamObserver<Comment> responseObserver)
Add a new comment to the specified Case. The comment object must have the following fields set: body.
-
-