| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 |
# source: route_guide.proto |
| 4 |
"""Generated protocol buffer code.""" |
| 5 |
from google.protobuf.internal import builder as _builder |
| 6 |
from google.protobuf import descriptor as _descriptor |
| 7 |
from google.protobuf import descriptor_pool as _descriptor_pool |
| 8 |
from google.protobuf import symbol_database as _symbol_database |
| 9 |
# @@protoc_insertion_point(imports) |
| 10 |
|
| 11 |
_sym_db = _symbol_database.Default() |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11route_guide.proto\x12\nrouteguide\",\n\x05Point\x12\x10\n\x08latitude\x18\x01 \x01(\x05\x12\x11\n\tlongitude\x18\x02 \x01(\x05\"I\n\tRectangle\x12\x1d\n\x02lo\x18\x01 \x01(\x0b\x32\x11.routeguide.Point\x12\x1d\n\x02hi\x18\x02 \x01(\x0b\x32\x11.routeguide.Point\"<\n\x07\x46\x65\x61ture\x12\x0c\n\x04name\x18\x01 \x01(\t\x12#\n\x08location\x18\x02 \x01(\x0b\x32\x11.routeguide.Point\"A\n\tRouteNote\x12#\n\x08location\x18\x01 \x01(\x0b\x32\x11.routeguide.Point\x12\x0f\n\x07message\x18\x02 \x01(\t\"b\n\x0cRouteSummary\x12\x13\n\x0bpoint_count\x18\x01 \x01(\x05\x12\x15\n\rfeature_count\x18\x02 \x01(\x05\x12\x10\n\x08\x64istance\x18\x03 \x01(\x05\x12\x14\n\x0c\x65lapsed_time\x18\x04 \x01(\x05\x32\x85\x02\n\nRouteGuide\x12\x36\n\nGetFeature\x12\x11.routeguide.Point\x1a\x13.routeguide.Feature\"\x00\x12>\n\x0cListFeatures\x12\x15.routeguide.Rectangle\x1a\x13.routeguide.Feature\"\x00\x30\x01\x12>\n\x0bRecordRoute\x12\x11.routeguide.Point\x1a\x18.routeguide.RouteSummary\"\x00(\x01\x12?\n\tRouteChat\x12\x15.routeguide.RouteNote\x1a\x15.routeguide.RouteNote\"\x00(\x01\x30\x01\x42\x36\n\x1bio.grpc.examples.routeguideB\x0fRouteGuideProtoP\x01\xa2\x02\x03RTGb\x06proto3') |
| 17 |
|
| 18 |
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) |
| 19 |
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'route_guide_pb2', globals()) |
| 20 |
if _descriptor._USE_C_DESCRIPTORS == False: |
| 21 |
|
| 22 |
DESCRIPTOR._options = None |
| 23 |
DESCRIPTOR._serialized_options = b'\n\033io.grpc.examples.routeguideB\017RouteGuideProtoP\001\242\002\003RTG' |
| 24 |
_POINT._serialized_start=33 |
| 25 |
_POINT._serialized_end=77 |
| 26 |
_RECTANGLE._serialized_start=79 |
| 27 |
_RECTANGLE._serialized_end=152 |
| 28 |
_FEATURE._serialized_start=154 |
| 29 |
_FEATURE._serialized_end=214 |
| 30 |
_ROUTENOTE._serialized_start=216 |
| 31 |
_ROUTENOTE._serialized_end=281 |
| 32 |
_ROUTESUMMARY._serialized_start=283 |
| 33 |
_ROUTESUMMARY._serialized_end=381 |
| 34 |
_ROUTEGUIDE._serialized_start=384 |
| 35 |
_ROUTEGUIDE._serialized_end=645 |
| 36 |
# @@protoc_insertion_point(module_scope) |