math_pb.rb 1.1 KB

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