Package com.google.cloud.support.v2
Class CommentServiceGrpc.CommentServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<CommentServiceGrpc.CommentServiceFutureStub>
-
- com.google.cloud.support.v2.CommentServiceGrpc.CommentServiceFutureStub
-
- Enclosing class:
- CommentServiceGrpc
public static final class CommentServiceGrpc.CommentServiceFutureStub extends io.grpc.stub.AbstractFutureStub<CommentServiceGrpc.CommentServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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.CommentServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<Comment>
createComment(CreateCommentRequest request)
Add a new comment to the specified Case.com.google.common.util.concurrent.ListenableFuture<ListCommentsResponse>
listComments(ListCommentsRequest request)
Retrieve all Comments associated with the Case object.
-
-
-
Method Detail
-
build
protected CommentServiceGrpc.CommentServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<CommentServiceGrpc.CommentServiceFutureStub>
-
listComments
public com.google.common.util.concurrent.ListenableFuture<ListCommentsResponse> listComments(ListCommentsRequest request)
Retrieve all Comments associated with the Case object.
-
createComment
public com.google.common.util.concurrent.ListenableFuture<Comment> createComment(CreateCommentRequest request)
Add a new comment to the specified Case. The comment object must have the following fields set: body.
-
-