mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.4 KiB
38 lines
1.4 KiB
10 years ago
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
# source: route_guide.proto
|
||
|
|
||
|
require 'google/protobuf'
|
||
|
|
||
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
||
9 years ago
|
add_message "routeguide.Point" do
|
||
10 years ago
|
optional :latitude, :int32, 1
|
||
|
optional :longitude, :int32, 2
|
||
|
end
|
||
9 years ago
|
add_message "routeguide.Rectangle" do
|
||
|
optional :lo, :message, 1, "routeguide.Point"
|
||
|
optional :hi, :message, 2, "routeguide.Point"
|
||
10 years ago
|
end
|
||
9 years ago
|
add_message "routeguide.Feature" do
|
||
10 years ago
|
optional :name, :string, 1
|
||
9 years ago
|
optional :location, :message, 2, "routeguide.Point"
|
||
10 years ago
|
end
|
||
9 years ago
|
add_message "routeguide.RouteNote" do
|
||
|
optional :location, :message, 1, "routeguide.Point"
|
||
10 years ago
|
optional :message, :string, 2
|
||
|
end
|
||
9 years ago
|
add_message "routeguide.RouteSummary" do
|
||
10 years ago
|
optional :point_count, :int32, 1
|
||
|
optional :feature_count, :int32, 2
|
||
|
optional :distance, :int32, 3
|
||
|
optional :elapsed_time, :int32, 4
|
||
|
end
|
||
|
end
|
||
|
|
||
9 years ago
|
module Routeguide
|
||
|
Point = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.Point").msgclass
|
||
|
Rectangle = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.Rectangle").msgclass
|
||
|
Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.Feature").msgclass
|
||
|
RouteNote = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.RouteNote").msgclass
|
||
|
RouteSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("routeguide.RouteSummary").msgclass
|
||
10 years ago
|
end
|