mosstool.type

Frequently Used Protobuf Type

 1"""
 2Frequently Used Protobuf Type
 3"""
 4
 5# TODO: pycityproto version checking
 6
 7from pycityproto.city.geo.v2.geo_pb2 import (AoiPosition, LanePosition,
 8                                             LongLatPosition, Position)
 9from pycityproto.city.map.v2.map_pb2 import (Aoi, AoiType, Lane, LaneTurn,
10                                             LaneType, Map)
11from pycityproto.city.person.v2.person_pb2 import (Consumption, Education,
12                                                   Gender, Person,PersonType,
13                                                   PersonProfile, Persons)
14from pycityproto.city.routing.v2.routing_pb2 import (DrivingJourneyBody,
15                                                     Journey, JourneyType)
16from pycityproto.city.routing.v2.routing_service_pb2 import (GetRouteRequest,
17                                                             GetRouteResponse)
18from pycityproto.city.trip.v2.trip_pb2 import Schedule, Trip, TripMode
19
20__all__ = [
21    "Map",
22    "AoiType",
23    "LaneType",
24    "LaneTurn",
25    "Person",
26    "PersonType",
27    "Persons",
28    "TripMode",
29    "Position",
30    "AoiPosition",
31    "LanePosition",
32    "LongLatPosition",
33    "GetRouteRequest",
34    "GetRouteResponse",
35    "Lane",
36    "Aoi",
37    "Schedule",
38    "Trip",
39    "Journey",
40    "JourneyType",
41    "DrivingJourneyBody",
42]
class Map(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
AoiType = <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>
LaneType = <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>
LaneTurn = <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>
class Person(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class Person.LabelsEntry(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

PersonType = <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>
class Persons(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
TripMode = <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>
class Position(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class AoiPosition(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class LanePosition(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class LongLatPosition(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class GetRouteRequest(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class GetRouteResponse(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class Lane(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class Aoi(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class Schedule(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class Trip(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
class Journey(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>
JourneyType = <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>
class DrivingJourneyBody(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>