Package com.google.cloud.support.v2
Class CommentServiceGrpc.CommentServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CommentServiceGrpc.CommentServiceBlockingV2Stub>
com.google.cloud.support.v2.CommentServiceGrpc.CommentServiceBlockingV2Stub
- Enclosing class:
- CommentServiceGrpc
public static final class CommentServiceGrpc.CommentServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<CommentServiceGrpc.CommentServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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) createComment(CreateCommentRequest request) Add a new comment to a case.listComments(ListCommentsRequest request) List all the comments associated with a case.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.CommentServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CommentServiceGrpc.CommentServiceBlockingV2Stub>
-
listComments
public ListCommentsResponse listComments(ListCommentsRequest request) throws io.grpc.StatusException List all the comments associated with a case.
- Throws:
io.grpc.StatusException
-
createComment
Add a new comment to a case. The comment must have the following fields set: `body`.
- Throws:
io.grpc.StatusException
-