• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Generated by the protocol buffer compiler.  DO NOT EDIT!
2# source: math.proto
3
4require 'google/protobuf'
5
6Google::Protobuf::DescriptorPool.generated_pool.build do
7  add_file("math.proto", :syntax => :proto3) do
8    add_message "math.DivArgs" do
9      optional :dividend, :int64, 1
10      optional :divisor, :int64, 2
11    end
12    add_message "math.DivReply" do
13      optional :quotient, :int64, 1
14      optional :remainder, :int64, 2
15    end
16    add_message "math.FibArgs" do
17      optional :limit, :int64, 1
18    end
19    add_message "math.Num" do
20      optional :num, :int64, 1
21    end
22    add_message "math.FibReply" do
23      optional :count, :int64, 1
24    end
25  end
26end
27
28module Math
29  DivArgs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("math.DivArgs").msgclass
30  DivReply = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("math.DivReply").msgclass
31  FibArgs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("math.FibArgs").msgclass
32  Num = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("math.Num").msgclass
33  FibReply = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("math.FibReply").msgclass
34end
35