-
Notifications
You must be signed in to change notification settings - Fork 0
/
unter_pb2.pyi
69 lines (61 loc) · 2.65 KB
/
unter_pb2.pyi
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from google.protobuf import timestamp_pb2 as _timestamp_pb2
from google.protobuf import duration_pb2 as _duration_pb2
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
DESCRIPTOR: _descriptor.FileDescriptor
class Kind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = ()
KIND_UNSPECIFIED: _ClassVar[Kind]
KIND_REGULAR: _ClassVar[Kind]
KIND_SHARED: _ClassVar[Kind]
KIND_UNSPECIFIED: Kind
KIND_REGULAR: Kind
KIND_SHARED: Kind
class StartRideRequest(_message.Message):
__slots__ = ("id", "kind", "driver_id", "time")
ID_FIELD_NUMBER: _ClassVar[int]
KIND_FIELD_NUMBER: _ClassVar[int]
DRIVER_ID_FIELD_NUMBER: _ClassVar[int]
TIME_FIELD_NUMBER: _ClassVar[int]
id: str
kind: Kind
driver_id: str
time: _timestamp_pb2.Timestamp
def __init__(self, id: _Optional[str] = ..., kind: _Optional[_Union[Kind, str]] = ..., driver_id: _Optional[str] = ..., time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
class EndRideRequest(_message.Message):
__slots__ = ("id", "distance", "time")
ID_FIELD_NUMBER: _ClassVar[int]
DISTANCE_FIELD_NUMBER: _ClassVar[int]
TIME_FIELD_NUMBER: _ClassVar[int]
id: str
distance: float
time: _timestamp_pb2.Timestamp
def __init__(self, id: _Optional[str] = ..., distance: _Optional[float] = ..., time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
class StartRideResponse(_message.Message):
__slots__ = ("id",)
ID_FIELD_NUMBER: _ClassVar[int]
id: str
def __init__(self, id: _Optional[str] = ...) -> None: ...
class EndRideResponse(_message.Message):
__slots__ = ("id",)
ID_FIELD_NUMBER: _ClassVar[int]
id: str
def __init__(self, id: _Optional[str] = ...) -> None: ...
class Location(_message.Message):
__slots__ = ("ride_id", "lat", "lng")
RIDE_ID_FIELD_NUMBER: _ClassVar[int]
LAT_FIELD_NUMBER: _ClassVar[int]
LNG_FIELD_NUMBER: _ClassVar[int]
ride_id: str
lat: float
lng: float
def __init__(self, ride_id: _Optional[str] = ..., lat: _Optional[float] = ..., lng: _Optional[float] = ...) -> None: ...
class TrackReply(_message.Message):
__slots__ = ("count", "duration")
COUNT_FIELD_NUMBER: _ClassVar[int]
DURATION_FIELD_NUMBER: _ClassVar[int]
count: int
duration: _duration_pb2.Duration
def __init__(self, count: _Optional[int] = ..., duration: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ...