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

Side by Side Diff: third_party/grpc/src/ruby/pb/test/proto/messages.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/messages.proto
3
4 require 'google/protobuf'
5
6 Google::Protobuf::DescriptorPool.generated_pool.build do
7 add_message "grpc.testing.Payload" do
8 optional :type, :enum, 1, "grpc.testing.PayloadType"
9 optional :body, :bytes, 2
10 end
11 add_message "grpc.testing.EchoStatus" do
12 optional :code, :int32, 1
13 optional :message, :string, 2
14 end
15 add_message "grpc.testing.SimpleRequest" do
16 optional :response_type, :enum, 1, "grpc.testing.PayloadType"
17 optional :response_size, :int32, 2
18 optional :payload, :message, 3, "grpc.testing.Payload"
19 optional :fill_username, :bool, 4
20 optional :fill_oauth_scope, :bool, 5
21 optional :response_compression, :enum, 6, "grpc.testing.CompressionType"
22 optional :response_status, :message, 7, "grpc.testing.EchoStatus"
23 end
24 add_message "grpc.testing.SimpleResponse" do
25 optional :payload, :message, 1, "grpc.testing.Payload"
26 optional :username, :string, 2
27 optional :oauth_scope, :string, 3
28 end
29 add_message "grpc.testing.StreamingInputCallRequest" do
30 optional :payload, :message, 1, "grpc.testing.Payload"
31 end
32 add_message "grpc.testing.StreamingInputCallResponse" do
33 optional :aggregated_payload_size, :int32, 1
34 end
35 add_message "grpc.testing.ResponseParameters" do
36 optional :size, :int32, 1
37 optional :interval_us, :int32, 2
38 end
39 add_message "grpc.testing.StreamingOutputCallRequest" do
40 optional :response_type, :enum, 1, "grpc.testing.PayloadType"
41 repeated :response_parameters, :message, 2, "grpc.testing.ResponseParameters "
42 optional :payload, :message, 3, "grpc.testing.Payload"
43 optional :response_compression, :enum, 6, "grpc.testing.CompressionType"
44 optional :response_status, :message, 7, "grpc.testing.EchoStatus"
45 end
46 add_message "grpc.testing.StreamingOutputCallResponse" do
47 optional :payload, :message, 1, "grpc.testing.Payload"
48 end
49 add_message "grpc.testing.ReconnectInfo" do
50 optional :passed, :bool, 1
51 repeated :backoff_ms, :int32, 2
52 end
53 add_enum "grpc.testing.PayloadType" do
54 value :COMPRESSABLE, 0
55 value :UNCOMPRESSABLE, 1
56 value :RANDOM, 2
57 end
58 add_enum "grpc.testing.CompressionType" do
59 value :NONE, 0
60 value :GZIP, 1
61 value :DEFLATE, 2
62 end
63 end
64
65 module Grpc
66 module Testing
67 Payload = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testi ng.Payload").msgclass
68 EchoStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.te sting.EchoStatus").msgclass
69 SimpleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc .testing.SimpleRequest").msgclass
70 SimpleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grp c.testing.SimpleResponse").msgclass
71 StreamingInputCallRequest = Google::Protobuf::DescriptorPool.generated_pool. lookup("grpc.testing.StreamingInputCallRequest").msgclass
72 StreamingInputCallResponse = Google::Protobuf::DescriptorPool.generated_pool .lookup("grpc.testing.StreamingInputCallResponse").msgclass
73 ResponseParameters = Google::Protobuf::DescriptorPool.generated_pool.lookup( "grpc.testing.ResponseParameters").msgclass
74 StreamingOutputCallRequest = Google::Protobuf::DescriptorPool.generated_pool .lookup("grpc.testing.StreamingOutputCallRequest").msgclass
75 StreamingOutputCallResponse = Google::Protobuf::DescriptorPool.generated_poo l.lookup("grpc.testing.StreamingOutputCallResponse").msgclass
76 ReconnectInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc .testing.ReconnectInfo").msgclass
77 PayloadType = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.t esting.PayloadType").enummodule
78 CompressionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gr pc.testing.CompressionType").enummodule
79 end
80 end
OLDNEW
« no previous file with comments | « third_party/grpc/src/ruby/pb/test/proto/empty.rb ('k') | third_party/grpc/src/ruby/pb/test/proto/test.rb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698