Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Side by Side Diff: third_party/grpc/src/ruby/pb/test/proto/test_services.rb

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # Source: test/proto/test.proto for package 'grpc.testing'
3
4 require 'grpc'
5 require 'test/proto/test'
6
7 module Grpc
8 module Testing
9 module TestService
10
11 # TODO: add proto service documentation here
12 class Service
13
14 include GRPC::GenericService
15
16 self.marshal_class_method = :encode
17 self.unmarshal_class_method = :decode
18 self.service_name = 'grpc.testing.TestService'
19
20 rpc :EmptyCall, Empty, Empty
21 rpc :UnaryCall, SimpleRequest, SimpleResponse
22 rpc :StreamingOutputCall, StreamingOutputCallRequest, stream(StreamingOu tputCallResponse)
23 rpc :StreamingInputCall, stream(StreamingInputCallRequest), StreamingInp utCallResponse
24 rpc :FullDuplexCall, stream(StreamingOutputCallRequest), stream(Streamin gOutputCallResponse)
25 rpc :HalfDuplexCall, stream(StreamingOutputCallRequest), stream(Streamin gOutputCallResponse)
26 end
27
28 Stub = Service.rpc_stub_class
29 end
30 module UnimplementedService
31
32 # TODO: add proto service documentation here
33 class Service
34
35 include GRPC::GenericService
36
37 self.marshal_class_method = :encode
38 self.unmarshal_class_method = :decode
39 self.service_name = 'grpc.testing.UnimplementedService'
40
41 rpc :UnimplementedCall, Empty, Empty
42 end
43
44 Stub = Service.rpc_stub_class
45 end
46 module ReconnectService
47
48 # TODO: add proto service documentation here
49 class Service
50
51 include GRPC::GenericService
52
53 self.marshal_class_method = :encode
54 self.unmarshal_class_method = :decode
55 self.service_name = 'grpc.testing.ReconnectService'
56
57 rpc :Start, Empty, Empty
58 rpc :Stop, Empty, ReconnectInfo
59 end
60
61 Stub = Service.rpc_stub_class
62 end
63 end
64 end
OLDNEW
« no previous file with comments | « third_party/grpc/src/ruby/pb/test/proto/test.rb ('k') | third_party/grpc/src/ruby/pb/test/server.rb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698