1# Generated by the protocol buffer compiler. DO NOT EDIT! 2# source: route_guide.proto 3 4require 'google/protobuf' 5 6Google::Protobuf::DescriptorPool.generated_pool.build do 7 add_message "routeguide.Point" do 8 optional :latitude, :int32, 1 9 optional :longitude, :int32, 2 10 end 11 add_message "routeguide.Rectangle" do 12 optional :lo, :message, 1, "routeguide.Point" 13 optional :hi, :message, 2, "routeguide.Point" 14 end 15 add_message "routeguide.Feature" do 16 optional :name, :string, 1 17 optional :location, :message, 2, "routeguide.Point" 18 end 19 add_message "routeguide.RouteNote" do 20 optional :location, :message, 1, "routeguide.Point" 21 optional :message, :string, 2 22 end 23 add_message "routeguide.RouteSummary" do 24 optional :point_count, :int32, 1 25 optional :feature_count, :int32, 2 26 optional :distance, :int32, 3 27 optional :elapsed_time, :int32, 4 28 end 29end 30 31module Routeguide 32 Point = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.Point").msgclass 33 Rectangle = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.Rectangle").msgclass 34 Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.Feature").msgclass 35 RouteNote = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.RouteNote").msgclass 36 RouteSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.RouteSummary").msgclass 37end 38