-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_pb.rb
31 lines (28 loc) · 1.06 KB
/
test_pb.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: test.proto
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("test.proto", :syntax => :proto3) do
add_message "test.ListFoosRequest" do
end
add_message "test.CreateFoosRequest" do
optional :name, :string, 1
end
add_message "test.EmptyResp" do
end
add_message "test.Foo" do
optional :name, :string, 1
end
add_message "test.Bar" do
optional :id, :string, 1
optional :name, :string, 2
end
end
end
module Test
ListFoosRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("test.ListFoosRequest").msgclass
CreateFoosRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("test.CreateFoosRequest").msgclass
EmptyResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("test.EmptyResp").msgclass
Foo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("test.Foo").msgclass
Bar = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("test.Bar").msgclass
end