-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrides_pb2.py
39 lines (32 loc) · 2.48 KB
/
rides_pb2.py
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
38
39
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: rides.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0brides.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"$\n\x08Location\x12\x0b\n\x03lat\x18\x01 \x01(\x01\x12\x0b\n\x03lng\x18\x02 \x01(\x01\"\xa8\x01\n\x0cStartRequest\x12\x0e\n\x06\x63\x61r_id\x18\x01 \x01(\x03\x12\x11\n\tdriver_id\x18\x02 \x01(\t\x12\x15\n\rpassenger_ids\x18\x03 \x03(\t\x12\x17\n\x04type\x18\x04 \x01(\x0e\x32\t.RideType\x12\x1b\n\x08location\x18\x05 \x01(\x0b\x32\t.Location\x12(\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1b\n\rStartResponse\x12\n\n\x02id\x18\x01 \x01(\t\"e\n\x0cTrackRequest\x12\x0e\n\x06\x63\x61r_id\x18\x01 \x01(\x03\x12(\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x08location\x18\x03 \x01(\x0b\x32\t.Location\"\x1e\n\rTrackResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x04*!\n\x08RideType\x12\x0b\n\x07REGULAR\x10\x00\x12\x08\n\x04POOL\x10\x01\x32]\n\x05Rides\x12(\n\x05Start\x12\r.StartRequest\x1a\x0e.StartResponse\"\x00\x12*\n\x05Track\x12\r.TrackRequest\x1a\x0e.TrackResponse\"\x00(\x01\x62\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'rides_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_globals['_RIDETYPE']._serialized_start=421
_globals['_RIDETYPE']._serialized_end=454
_globals['_LOCATION']._serialized_start=48
_globals['_LOCATION']._serialized_end=84
_globals['_STARTREQUEST']._serialized_start=87
_globals['_STARTREQUEST']._serialized_end=255
_globals['_STARTRESPONSE']._serialized_start=257
_globals['_STARTRESPONSE']._serialized_end=284
_globals['_TRACKREQUEST']._serialized_start=286
_globals['_TRACKREQUEST']._serialized_end=387
_globals['_TRACKRESPONSE']._serialized_start=389
_globals['_TRACKRESPONSE']._serialized_end=419
_globals['_RIDES']._serialized_start=456
_globals['_RIDES']._serialized_end=549
# @@protoc_insertion_point(module_scope)