public static final class CaseAttachmentServiceGrpc.CaseAttachmentServiceStub extends AbstractAsyncStub<CaseAttachmentServiceGrpc.CaseAttachmentServiceStub>A stub to allow clients to do asynchronous rpc calls to service CaseAttachmentService.
A service to manage file attachments for Google Cloud support cases.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CaseAttachmentServiceGrpc.CaseAttachmentServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected CaseAttachmentServiceGrpc.CaseAttachmentServiceStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
CaseAttachmentServiceGrpc.CaseAttachmentServiceStub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
getAttachment(GetAttachmentRequest request, StreamObserver<Attachment> responseObserver)
public void getAttachment(GetAttachmentRequest request, StreamObserver<Attachment> responseObserver)Retrieve an attachment.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAttachmentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Attachment> |
listAttachments(ListAttachmentsRequest request, StreamObserver<ListAttachmentsResponse> responseObserver)
public void listAttachments(ListAttachmentsRequest request, StreamObserver<ListAttachmentsResponse> responseObserver)List all the attachments associated with a support case.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAttachmentsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListAttachmentsResponse> |