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
32
33
34
35
36
37
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: route_guide.proto
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "examples.Point" do
optional :latitude, :int32, 1
optional :longitude, :int32, 2
end
add_message "examples.Rectangle" do
optional :lo, :message, 1, "examples.Point"
optional :hi, :message, 2, "examples.Point"
end
add_message "examples.Feature" do
optional :name, :string, 1
optional :location, :message, 2, "examples.Point"
end
add_message "examples.RouteNote" do
optional :location, :message, 1, "examples.Point"
optional :message, :string, 2
end
add_message "examples.RouteSummary" do
optional :point_count, :int32, 1
optional :feature_count, :int32, 2
optional :distance, :int32, 3
optional :elapsed_time, :int32, 4
end
end
module Examples
Point = Google::Protobuf::DescriptorPool.generated_pool.lookup("examples.Point").msgclass
Rectangle = Google::Protobuf::DescriptorPool.generated_pool.lookup("examples.Rectangle").msgclass
Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("examples.Feature").msgclass
RouteNote = Google::Protobuf::DescriptorPool.generated_pool.lookup("examples.RouteNote").msgclass
RouteSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("examples.RouteSummary").msgclass
end
|