OLD | NEW |
(Empty) | |
| 1 # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 # source: math.proto |
| 3 |
| 4 require 'google/protobuf' |
| 5 |
| 6 Google::Protobuf::DescriptorPool.generated_pool.build do |
| 7 add_message "math.DivArgs" do |
| 8 optional :dividend, :int64, 1 |
| 9 optional :divisor, :int64, 2 |
| 10 end |
| 11 add_message "math.DivReply" do |
| 12 optional :quotient, :int64, 1 |
| 13 optional :remainder, :int64, 2 |
| 14 end |
| 15 add_message "math.FibArgs" do |
| 16 optional :limit, :int64, 1 |
| 17 end |
| 18 add_message "math.Num" do |
| 19 optional :num, :int64, 1 |
| 20 end |
| 21 add_message "math.FibReply" do |
| 22 optional :count, :int64, 1 |
| 23 end |
| 24 end |
| 25 |
| 26 module Math |
| 27 DivArgs = Google::Protobuf::DescriptorPool.generated_pool.lookup("math.DivArgs
").msgclass |
| 28 DivReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("math.DivRep
ly").msgclass |
| 29 FibArgs = Google::Protobuf::DescriptorPool.generated_pool.lookup("math.FibArgs
").msgclass |
| 30 Num = Google::Protobuf::DescriptorPool.generated_pool.lookup("math.Num").msgcl
ass |
| 31 FibReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("math.FibRep
ly").msgclass |
| 32 end |
OLD | NEW |