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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Comment>createComment(CreateCommentRequest request) Add a new comment to a case.com.google.common.util.concurrent.ListenableFuture<ListCommentsResponse>listComments(ListCommentsRequest request) List all the comments associated with a case.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CommentServiceGrpc.CommentServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CommentServiceGrpc.CommentServiceFutureStub>
-
listComments
public com.google.common.util.concurrent.ListenableFuture<ListCommentsResponse> listComments(ListCommentsRequest request) List all the comments associated with a case.
-
createComment
public com.google.common.util.concurrent.ListenableFuture<Comment> createComment(CreateCommentRequest request) Add a new comment to a case. The comment must have the following fields set: `body`.
-