hannah-proto 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hannah_proto-0.3.1/PKG-INFO +7 -0
- hannah_proto-0.3.1/hannah_proto/__init__.py +3 -0
- hannah_proto-0.3.1/hannah_proto/_version.py +1 -0
- hannah_proto-0.3.1/hannah_proto/agent_pb2.py +95 -0
- hannah_proto-0.3.1/hannah_proto/agent_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/car_state_pb2.py +49 -0
- hannah_proto-0.3.1/hannah_proto/car_state_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/control_pb2.py +141 -0
- hannah_proto-0.3.1/hannah_proto/control_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/device_control_menu_pb2.py +47 -0
- hannah_proto-0.3.1/hannah_proto/device_control_menu_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/event_stream_pb2.py +48 -0
- hannah_proto-0.3.1/hannah_proto/event_stream_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/hannah_pb2.py +49 -0
- hannah_proto-0.3.1/hannah_proto/hannah_pb2_grpc.py +3005 -0
- hannah_proto-0.3.1/hannah_proto/satellite_provisioning_pb2.py +37 -0
- hannah_proto-0.3.1/hannah_proto/satellite_provisioning_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/satellite_proxy_pb2.py +49 -0
- hannah_proto-0.3.1/hannah_proto/satellite_proxy_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/shared_pb2.py +39 -0
- hannah_proto-0.3.1/hannah_proto/shared_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/speaker_enrollment_pb2.py +37 -0
- hannah_proto-0.3.1/hannah_proto/speaker_enrollment_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/timer_service_pb2.py +69 -0
- hannah_proto-0.3.1/hannah_proto/timer_service_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/user_registry_pb2.py +74 -0
- hannah_proto-0.3.1/hannah_proto/user_registry_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto/wakeword_capture_pb2.py +43 -0
- hannah_proto-0.3.1/hannah_proto/wakeword_capture_pb2_grpc.py +24 -0
- hannah_proto-0.3.1/hannah_proto.egg-info/PKG-INFO +7 -0
- hannah_proto-0.3.1/hannah_proto.egg-info/SOURCES.txt +34 -0
- hannah_proto-0.3.1/hannah_proto.egg-info/dependency_links.txt +1 -0
- hannah_proto-0.3.1/hannah_proto.egg-info/requires.txt +2 -0
- hannah_proto-0.3.1/hannah_proto.egg-info/top_level.txt +1 -0
- hannah_proto-0.3.1/pyproject.toml +17 -0
- hannah_proto-0.3.1/setup.cfg +4 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
PROTO_VERSION = 2
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agent.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'agent.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x61gent.proto\x12\x06hannah\"\xbd\x03\n\x0c\x41gentMessage\x12\x30\n\x0cstate_update\x18\x01 \x01(\x0b\x32\x18.hannah.AgentStateUpdateH\x00\x12\x30\n\x0fresident_update\x18\x02 \x01(\x0b\x32\x15.hannah.AgentResidentH\x00\x12\x30\n\x0ctext_command\x18\x03 \x01(\x0b\x32\x18.hannah.AgentTextCommandH\x00\x12:\n\x11satellite_control\x18\x04 \x01(\x0b\x32\x1d.hannah.AgentSatelliteControlH\x00\x12\x34\n\rsend_snapshot\x18\x05 \x01(\x0b\x32\x1b.hannah.AgentDeviceSnapshotH\x00\x12\x37\n\x0esend_residents\x18\x06 \x01(\x0b\x32\x1d.hannah.AgentResidentSnapshotH\x00\x12\x30\n\x0c\x61sk_resident\x18\x07 \x01(\x0b\x32\x18.hannah.AgentAskResidentH\x00\x12/\n\nsend_rooms\x18\x08 \x01(\x0b\x32\x19.hannah.AgentRoomSnapshotH\x00\x42\t\n\x07payload\"\xca\x01\n\x15\x41gentSatelliteControl\x12\x0c\n\x04room\x18\x01 \x01(\t\x12\x11\n\tdevice_id\x18\x07 \x01(\t\x12\r\n\x03\x64nd\x18\x02 \x01(\x08H\x00\x12\x0e\n\x04mute\x18\x03 \x01(\x08H\x00\x12\x10\n\x06volume\x18\x04 \x01(\x05H\x00\x12\x16\n\x0c\x61nnouncement\x18\x05 \x01(\tH\x00\x12\x1b\n\x11\x61nnouncement_ssml\x18\x06 \x01(\tH\x00\x12\x1f\n\x15\x61nnouncement_rephrase\x18\x08 \x01(\tH\x00\x42\t\n\x07\x63ontrol\"L\n\x10\x41gentStateUpdate\x12\x10\n\x08state_id\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x0b\n\x03\x61\x63k\x18\x03 \x01(\x08\x12\n\n\x02ts\x18\x04 \x01(\x03\" \n\x10\x41gentTextCommand\x12\x0c\n\x04text\x18\x01 \x01(\t\"\xda\x04\n\x0c\x41gentCommand\x12*\n\tset_state\x18\x01 \x01(\x0b\x32\x15.hannah.AgentSetStateH\x00\x12,\n\nwatch_more\x18\x02 \x01(\x0b\x32\x16.hannah.AgentWatchMoreH\x00\x12\x30\n\x0cset_resident\x18\x03 \x01(\x0b\x32\x18.hannah.AgentSetResidentH\x00\x12\x38\n\x10satellite_update\x18\x04 \x01(\x0b\x32\x1c.hannah.AgentSatelliteUpdateH\x00\x12.\n\x0btext_answer\x18\x05 \x01(\x0b\x32\x17.hannah.AgentTextAnswerH\x00\x12\x34\n\x0e\x66irmware_event\x18\x06 \x01(\x0b\x32\x1a.hannah.AgentFirmwareEventH\x00\x12,\n\nble_update\x18\x07 \x01(\x0b\x32\x16.hannah.AgentBleUpdateH\x00\x12\x32\n\rsensor_update\x18\x08 \x01(\x0b\x32\x19.hannah.AgentSensorUpdateH\x00\x12:\n\x11resident_answered\x18\t \x01(\x0b\x32\x1d.hannah.AgentResidentAnsweredH\x00\x12:\n\x11satellite_deleted\x18\n \x01(\x0b\x32\x1d.hannah.AgentSatelliteDeletedH\x00\x12\x39\n\x11set_resident_mood\x18\x0b \x01(\x0b\x32\x1c.hannah.AgentSetResidentMoodH\x00\x42\t\n\x07\x63ommand\"O\n\x12\x41gentFirmwareEvent\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x18\n\x10update_available\x18\x03 \x01(\x08\"0\n\rAgentSetState\x12\x10\n\x08state_id\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"#\n\x0e\x41gentWatchMore\x12\x11\n\tstate_ids\x18\x01 \x03(\t\"c\n\x10\x41gentSetResident\x12\x13\n\x0bresident_id\x18\x01 \x01(\t\x12\x16\n\x0epresence_state\x18\x02 \x01(\x05\x12\"\n\x04type\x18\x03 \x01(\x0e\x32\x14.hannah.ResidentType\"]\n\x14\x41gentSetResidentMood\x12\x13\n\x0bresident_id\x18\x01 \x01(\t\x12\x0c\n\x04mood\x18\x02 \x01(\x05\x12\"\n\x04type\x18\x03 \x01(\x0e\x32\x14.hannah.ResidentType\"\xb8\x01\n\x14\x41gentSatelliteUpdate\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x0c\n\x04room\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x0e\n\x06online\x18\x04 \x01(\x08\x12\x13\n\x06volume\x18\x05 \x01(\x05H\x00\x88\x01\x01\x12\x11\n\x04mute\x18\x06 \x01(\x08H\x01\x88\x01\x01\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\tB\t\n\x07_volumeB\x07\n\x05_muteJ\x04\x08\x07\x10\x08R\x06serial\"8\n\x15\x41gentSatelliteDeleted\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x0c\n\x04room\x18\x02 \x01(\t\"/\n\x0f\x41gentTextAnswer\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06intent\x18\x02 \x01(\t\"C\n\x11\x41gentNotification\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06\x64irect\x18\x02 \x01(\x08\x12\x10\n\x08severity\x18\x03 \x01(\t\"-\n\x0f\x41gentStateValue\x12\r\n\x05value\x18\x01 \x01(\t\x12\x0b\n\x03\x61\x63k\x18\x02 \x01(\x08\"\x86\x02\n\x0b\x41gentDevice\x12\x10\n\x08state_id\x18\x01 \x01(\t\x12\r\n\x05\x66loor\x18\x02 \x01(\t\x12\x0c\n\x04room\x18\x03 \x01(\t\x12\x0e\n\x06\x64\x65vice\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65vice_type\x18\x05 \x01(\t\x12\x11\n\tfunctions\x18\x06 \x03(\t\x12&\n\x05value\x18\x07 \x01(\x0b\x32\x17.hannah.AgentStateValue\x12\x36\n\nroom_names\x18\x08 \x03(\x0b\x32\".hannah.AgentDevice.RoomNamesEntry\x1a\x30\n\x0eRoomNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\x13\x41gentDeviceSnapshot\x12$\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32\x13.hannah.AgentDevice\"\x8d\x01\n\tAgentRoom\x12\x0f\n\x07room_id\x18\x01 \x01(\t\x12:\n\rdisplay_names\x18\x02 \x03(\x0b\x32#.hannah.AgentRoom.DisplayNamesEntry\x1a\x33\n\x11\x44isplayNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\x11\x41gentRoomSnapshot\x12 \n\x05rooms\x18\x01 \x03(\x0b\x32\x11.hannah.AgentRoom\"\x94\x01\n\rAgentResident\x12\x11\n\troomie_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\"\n\x04type\x18\x03 \x01(\x0e\x32\x14.hannah.ResidentType\x12\x17\n\nmood_level\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\x0epresence_state\x18\x05 \x01(\x05\x42\r\n\x0b_mood_level\"A\n\x15\x41gentResidentSnapshot\x12(\n\tresidents\x18\x01 \x03(\x0b\x32\x15.hannah.AgentResident\"J\n\x10\x41gentAskResident\x12\x16\n\x0e\x63orrelation_id\x18\x03 \x01(\t\x12\x0c\n\x04room\x18\x01 \x01(\t\x12\x10\n\x08question\x18\x02 \x01(\t\"?\n\x15\x41gentResidentAnswered\x12\x16\n\x0e\x63orrelation_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61nswer\x18\x02 \x01(\t\"[\n\x0e\x41gentBleUpdate\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0b\n\x03mac\x18\x02 \x01(\t\x12\x0c\n\x04room\x18\x03 \x01(\t\x12\x11\n\tsatellite\x18\x04 \x01(\t\x12\x0c\n\x04rssi\x18\x05 \x01(\x05\"\xbb\x01\n\x11\x41gentSensorUpdate\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\x12\x13\n\x0btemperature\x18\x02 \x01(\x02\x12\x10\n\x08pressure\x18\x03 \x01(\x02\x12\x10\n\x08humidity\x18\x04 \x01(\x02\x12\x0b\n\x03iaq\x18\x06 \x01(\x02\x12\x14\n\x0ciaq_accuracy\x18\x07 \x01(\r\x12\x11\n\tco2_equiv\x18\x08 \x01(\x02\x12\x11\n\tvoc_equiv\x18\t \x01(\x02J\x04\x08\x05\x10\x06R\x0egas_resistance*M\n\x0cResidentType\x12\x1d\n\x19RESIDENT_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06ROOMIE\x10\x01\x12\t\n\x05GUEST\x10\x02\x12\x07\n\x03PET\x10\x03\x42\x30Z.github.com/NurPech/hannah-proto-go;hannahprotob\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agent_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/NurPech/hannah-proto-go;hannahproto'
|
|
35
|
+
_globals['_AGENTDEVICE_ROOMNAMESENTRY']._loaded_options = None
|
|
36
|
+
_globals['_AGENTDEVICE_ROOMNAMESENTRY']._serialized_options = b'8\001'
|
|
37
|
+
_globals['_AGENTROOM_DISPLAYNAMESENTRY']._loaded_options = None
|
|
38
|
+
_globals['_AGENTROOM_DISPLAYNAMESENTRY']._serialized_options = b'8\001'
|
|
39
|
+
_globals['_RESIDENTTYPE']._serialized_start=3334
|
|
40
|
+
_globals['_RESIDENTTYPE']._serialized_end=3411
|
|
41
|
+
_globals['_AGENTMESSAGE']._serialized_start=24
|
|
42
|
+
_globals['_AGENTMESSAGE']._serialized_end=469
|
|
43
|
+
_globals['_AGENTSATELLITECONTROL']._serialized_start=472
|
|
44
|
+
_globals['_AGENTSATELLITECONTROL']._serialized_end=674
|
|
45
|
+
_globals['_AGENTSTATEUPDATE']._serialized_start=676
|
|
46
|
+
_globals['_AGENTSTATEUPDATE']._serialized_end=752
|
|
47
|
+
_globals['_AGENTTEXTCOMMAND']._serialized_start=754
|
|
48
|
+
_globals['_AGENTTEXTCOMMAND']._serialized_end=786
|
|
49
|
+
_globals['_AGENTCOMMAND']._serialized_start=789
|
|
50
|
+
_globals['_AGENTCOMMAND']._serialized_end=1391
|
|
51
|
+
_globals['_AGENTFIRMWAREEVENT']._serialized_start=1393
|
|
52
|
+
_globals['_AGENTFIRMWAREEVENT']._serialized_end=1472
|
|
53
|
+
_globals['_AGENTSETSTATE']._serialized_start=1474
|
|
54
|
+
_globals['_AGENTSETSTATE']._serialized_end=1522
|
|
55
|
+
_globals['_AGENTWATCHMORE']._serialized_start=1524
|
|
56
|
+
_globals['_AGENTWATCHMORE']._serialized_end=1559
|
|
57
|
+
_globals['_AGENTSETRESIDENT']._serialized_start=1561
|
|
58
|
+
_globals['_AGENTSETRESIDENT']._serialized_end=1660
|
|
59
|
+
_globals['_AGENTSETRESIDENTMOOD']._serialized_start=1662
|
|
60
|
+
_globals['_AGENTSETRESIDENTMOOD']._serialized_end=1755
|
|
61
|
+
_globals['_AGENTSATELLITEUPDATE']._serialized_start=1758
|
|
62
|
+
_globals['_AGENTSATELLITEUPDATE']._serialized_end=1942
|
|
63
|
+
_globals['_AGENTSATELLITEDELETED']._serialized_start=1944
|
|
64
|
+
_globals['_AGENTSATELLITEDELETED']._serialized_end=2000
|
|
65
|
+
_globals['_AGENTTEXTANSWER']._serialized_start=2002
|
|
66
|
+
_globals['_AGENTTEXTANSWER']._serialized_end=2049
|
|
67
|
+
_globals['_AGENTNOTIFICATION']._serialized_start=2051
|
|
68
|
+
_globals['_AGENTNOTIFICATION']._serialized_end=2118
|
|
69
|
+
_globals['_AGENTSTATEVALUE']._serialized_start=2120
|
|
70
|
+
_globals['_AGENTSTATEVALUE']._serialized_end=2165
|
|
71
|
+
_globals['_AGENTDEVICE']._serialized_start=2168
|
|
72
|
+
_globals['_AGENTDEVICE']._serialized_end=2430
|
|
73
|
+
_globals['_AGENTDEVICE_ROOMNAMESENTRY']._serialized_start=2382
|
|
74
|
+
_globals['_AGENTDEVICE_ROOMNAMESENTRY']._serialized_end=2430
|
|
75
|
+
_globals['_AGENTDEVICESNAPSHOT']._serialized_start=2432
|
|
76
|
+
_globals['_AGENTDEVICESNAPSHOT']._serialized_end=2491
|
|
77
|
+
_globals['_AGENTROOM']._serialized_start=2494
|
|
78
|
+
_globals['_AGENTROOM']._serialized_end=2635
|
|
79
|
+
_globals['_AGENTROOM_DISPLAYNAMESENTRY']._serialized_start=2584
|
|
80
|
+
_globals['_AGENTROOM_DISPLAYNAMESENTRY']._serialized_end=2635
|
|
81
|
+
_globals['_AGENTROOMSNAPSHOT']._serialized_start=2637
|
|
82
|
+
_globals['_AGENTROOMSNAPSHOT']._serialized_end=2690
|
|
83
|
+
_globals['_AGENTRESIDENT']._serialized_start=2693
|
|
84
|
+
_globals['_AGENTRESIDENT']._serialized_end=2841
|
|
85
|
+
_globals['_AGENTRESIDENTSNAPSHOT']._serialized_start=2843
|
|
86
|
+
_globals['_AGENTRESIDENTSNAPSHOT']._serialized_end=2908
|
|
87
|
+
_globals['_AGENTASKRESIDENT']._serialized_start=2910
|
|
88
|
+
_globals['_AGENTASKRESIDENT']._serialized_end=2984
|
|
89
|
+
_globals['_AGENTRESIDENTANSWERED']._serialized_start=2986
|
|
90
|
+
_globals['_AGENTRESIDENTANSWERED']._serialized_end=3049
|
|
91
|
+
_globals['_AGENTBLEUPDATE']._serialized_start=3051
|
|
92
|
+
_globals['_AGENTBLEUPDATE']._serialized_end=3142
|
|
93
|
+
_globals['_AGENTSENSORUPDATE']._serialized_start=3145
|
|
94
|
+
_globals['_AGENTSENSORUPDATE']._serialized_end=3332
|
|
95
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.81.1'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ ' but the generated code in agent_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: car_state.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'car_state.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x63\x61r_state.proto\x12\x06hannah\"K\n\x10\x43\x61rStateResponse\x12\x11\n\tavailable\x18\x01 \x01(\x08\x12$\n\x05state\x18\x02 \x01(\x0b\x32\x15.hannah.CarStateProto\"@\n\x17GetAllCarStatesResponse\x12%\n\x06states\x18\x01 \x03(\x0b\x32\x15.hannah.CarStateProto\"\x81\x04\n\rCarStateProto\x12\x10\n\x08latitude\x18\x01 \x01(\x02\x12\x11\n\tlongitude\x18\x02 \x01(\x02\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x11\n\tis_moving\x18\x04 \x01(\x08\x12\x15\n\rposition_date\x18\x05 \x01(\x03\x12\x10\n\x08odometer\x18\x06 \x01(\x05\x12\x13\n\x0btotal_range\x18\x07 \x01(\x05\x12\x15\n\ris_car_locked\x18\x08 \x01(\x08\x12\x18\n\x10\x64oor_lock_status\x18\t \x01(\t\x12\x16\n\x0eoverall_status\x18\n \x01(\t\x12/\n\x05\x64oors\x18\x0b \x03(\x0b\x32 .hannah.CarStateProto.DoorsEntry\x12\x33\n\x07windows\x18\x0c \x03(\x0b\x32\".hannah.CarStateProto.WindowsEntry\x12\x14\n\x0cowner_roomie\x18\r \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x0e \x01(\t\x12\r\n\x05plate\x18\x0f \x01(\t\x12\x0b\n\x03vin\x18\x10 \x01(\t\x12\x14\n\x0chome_address\x18\x11 \x01(\t\x1a,\n\nDoorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a.\n\x0cWindowsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x42\x30Z.github.com/NurPech/hannah-proto-go;hannahprotob\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'car_state_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/NurPech/hannah-proto-go;hannahproto'
|
|
35
|
+
_globals['_CARSTATEPROTO_DOORSENTRY']._loaded_options = None
|
|
36
|
+
_globals['_CARSTATEPROTO_DOORSENTRY']._serialized_options = b'8\001'
|
|
37
|
+
_globals['_CARSTATEPROTO_WINDOWSENTRY']._loaded_options = None
|
|
38
|
+
_globals['_CARSTATEPROTO_WINDOWSENTRY']._serialized_options = b'8\001'
|
|
39
|
+
_globals['_CARSTATERESPONSE']._serialized_start=27
|
|
40
|
+
_globals['_CARSTATERESPONSE']._serialized_end=102
|
|
41
|
+
_globals['_GETALLCARSTATESRESPONSE']._serialized_start=104
|
|
42
|
+
_globals['_GETALLCARSTATESRESPONSE']._serialized_end=168
|
|
43
|
+
_globals['_CARSTATEPROTO']._serialized_start=171
|
|
44
|
+
_globals['_CARSTATEPROTO']._serialized_end=684
|
|
45
|
+
_globals['_CARSTATEPROTO_DOORSENTRY']._serialized_start=592
|
|
46
|
+
_globals['_CARSTATEPROTO_DOORSENTRY']._serialized_end=636
|
|
47
|
+
_globals['_CARSTATEPROTO_WINDOWSENTRY']._serialized_start=638
|
|
48
|
+
_globals['_CARSTATEPROTO_WINDOWSENTRY']._serialized_end=684
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.81.1'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ ' but the generated code in car_state_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: control.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'control.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rcontrol.proto\x12\x06hannah\"Q\n\x11SubmitTextRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x16\n\x0esource_service\x18\x02 \x01(\t\x12\x16\n\x0esource_user_id\x18\x03 \x01(\t\"9\n\x12SubmitTextResponse\x12\x0e\n\x06\x61nswer\x18\x01 \x01(\t\x12\x13\n\x0bintent_name\x18\x02 \x01(\t\"S\n\x12SubmitVoiceRequest\x12\r\n\x05\x61udio\x18\x01 \x01(\x0c\x12\x16\n\x0esource_service\x18\x02 \x01(\t\x12\x16\n\x0esource_user_id\x18\x03 \x01(\t\"a\n\x13SubmitVoiceResponse\x12\x12\n\ntranscript\x18\x01 \x01(\t\x12\x0e\n\x06\x61nswer\x18\x02 \x01(\t\x12\x13\n\x0bintent_name\x18\x03 \x01(\t\x12\x11\n\taudio_ogg\x18\x04 \x01(\x0c\"Q\n\x0f\x41nnounceRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65vice\x18\x02 \x01(\t\x12\x0f\n\x07room_id\x18\x03 \x01(\t\x12\x0f\n\x07user_id\x18\x04 \x01(\x05\"\xfd\x01\n\tSatellite\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x0c\n\x04room\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x0f\n\x07room_id\x18\x06 \x01(\t\x12\x19\n\x11room_display_name\x18\x07 \x01(\t\x12\x11\n\tlast_seen\x18\x08 \x01(\t\x12\x11\n\tconnected\x18\t \x01(\x08\x12\x15\n\rroom_mismatch\x18\n \x01(\x08\x12\x15\n\rowner_user_id\x18\x0b \x01(\x05\x12\x1a\n\x12owner_display_name\x18\x0c \x01(\tJ\x04\x08\x04\x10\x05R\x06serial\">\n\x15GetSatellitesResponse\x12%\n\nsatellites\x18\x01 \x03(\x0b\x32\x11.hannah.Satellite\"S\n\x17SetSatelliteRoomRequest\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x0f\n\x07room_id\x18\x02 \x01(\t\x12\x14\n\x0crequestor_id\x18\x03 \x01(\x05\"_\n\x1eSetSatelliteDisplayNameRequest\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x14\n\x0crequestor_id\x18\x03 \x01(\x05\"T\n\x18SetSatelliteOwnerRequest\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\x05\x12\x14\n\x0crequestor_id\x18\x03 \x01(\x05\"A\n\x16\x44\x65leteSatelliteRequest\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x14\n\x0crequestor_id\x18\x02 \x01(\x05\"-\n\x04Room\x12\x0f\n\x07room_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"/\n\x10GetRoomsResponse\x12\x1b\n\x05rooms\x18\x01 \x03(\x0b\x32\x0c.hannah.Room\"L\n\x05Group\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x1b\n\x05rooms\x18\x03 \x03(\x0b\x32\x0c.hannah.Room\"2\n\x11GetGroupsResponse\x12\x1d\n\x06groups\x18\x01 \x03(\x0b\x32\r.hannah.Group\"<\n\x12\x43reateGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"<\n\x12UpdateGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"&\n\x12\x44\x65leteGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\":\n\x14SetGroupRoomsRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x10\n\x08room_ids\x18\x02 \x03(\t\"Z\n\x07Routine\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08triggers\x18\x03 \x03(\t\x12\x14\n\x0c\x61\x63tions_json\x18\x04 \x01(\t\x12\r\n\x05reply\x18\x05 \x01(\t\"8\n\x13GetRoutinesResponse\x12!\n\x08routines\x18\x01 \x03(\x0b\x32\x0f.hannah.Routine\"[\n\x14\x43reateRoutineRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08triggers\x18\x02 \x03(\t\x12\x14\n\x0c\x61\x63tions_json\x18\x03 \x01(\t\x12\r\n\x05reply\x18\x04 \x01(\t\"@\n\x15\x43reateRoutineResponse\x12\n\n\x02ok\x18\x01 \x01(\x08\x12\n\n\x02id\x18\x02 \x01(\x05\x12\x0f\n\x07message\x18\x03 \x01(\t\"g\n\x14UpdateRoutineRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08triggers\x18\x03 \x03(\t\x12\x14\n\x0c\x61\x63tions_json\x18\x04 \x01(\t\x12\r\n\x05reply\x18\x05 \x01(\t\"\"\n\x14\x44\x65leteRoutineRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xcd\x01\n\x07Trigger\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\twhen_json\x18\x02 \x01(\t\x12\x18\n\x10\x63\x61ncel_when_json\x18\x03 \x01(\t\x12\x18\n\x10on_response_json\x18\x04 \x01(\t\x12\x0b\n\x03say\x18\x05 \x01(\t\x12\x0b\n\x03\x61sk\x18\x06 \x01(\t\x12\x10\n\x08rephrase\x18\x07 \x01(\x08\x12\x0c\n\x04room\x18\x08 \x01(\t\x12\x10\n\x08\x63ooldown\x18\t \x01(\x05\x12\r\n\x05\x64\x65lay\x18\n \x01(\t\x12\x14\n\x0c\x61\x63tions_json\x18\x0b \x01(\t\"8\n\x13GetTriggersResponse\x12!\n\x08triggers\x18\x01 \x03(\x0b\x32\x0f.hannah.Trigger\"\xda\x01\n\x14\x43reateTriggerRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\twhen_json\x18\x02 \x01(\t\x12\x18\n\x10\x63\x61ncel_when_json\x18\x03 \x01(\t\x12\x18\n\x10on_response_json\x18\x04 \x01(\t\x12\x0b\n\x03say\x18\x05 \x01(\t\x12\x0b\n\x03\x61sk\x18\x06 \x01(\t\x12\x10\n\x08rephrase\x18\x07 \x01(\x08\x12\x0c\n\x04room\x18\x08 \x01(\t\x12\x10\n\x08\x63ooldown\x18\t \x01(\x05\x12\r\n\x05\x64\x65lay\x18\n \x01(\t\x12\x14\n\x0c\x61\x63tions_json\x18\x0b \x01(\t\"\xda\x01\n\x14UpdateTriggerRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\twhen_json\x18\x02 \x01(\t\x12\x18\n\x10\x63\x61ncel_when_json\x18\x03 \x01(\t\x12\x18\n\x10on_response_json\x18\x04 \x01(\t\x12\x0b\n\x03say\x18\x05 \x01(\t\x12\x0b\n\x03\x61sk\x18\x06 \x01(\t\x12\x10\n\x08rephrase\x18\x07 \x01(\x08\x12\x0c\n\x04room\x18\x08 \x01(\t\x12\x10\n\x08\x63ooldown\x18\t \x01(\x05\x12\r\n\x05\x64\x65lay\x18\n \x01(\t\x12\x14\n\x0c\x61\x63tions_json\x18\x0b \x01(\t\"\"\n\x14\x44\x65leteTriggerRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xa5\x01\n\x05\x41larm\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x14\n\x0csatellite_id\x18\x02 \x01(\t\x12\x0c\n\x04time\x18\x03 \x01(\t\x12\x10\n\x08weekdays\x18\x04 \x03(\x05\x12\x12\n\nskip_dates\x18\x05 \x03(\t\x12\x15\n\rone_shot_date\x18\x06 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x07 \x01(\x08\x12\r\n\x05label\x18\x08 \x01(\t\x12\x0f\n\x07user_id\x18\t \x01(\x05\"2\n\x11GetAlarmsResponse\x12\x1d\n\x06\x61larms\x18\x01 \x03(\x0b\x32\r.hannah.Alarm\"\x81\x01\n\x12\x43reateAlarmRequest\x12\x14\n\x0csatellite_id\x18\x01 \x01(\t\x12\x0c\n\x04time\x18\x02 \x01(\t\x12\x10\n\x08weekdays\x18\x03 \x03(\x05\x12\x15\n\rone_shot_date\x18\x04 \x01(\t\x12\r\n\x05label\x18\x05 \x01(\t\x12\x0f\n\x07user_id\x18\x06 \x01(\x05\">\n\x13\x43reateAlarmResponse\x12\n\n\x02ok\x18\x01 \x01(\x08\x12\n\n\x02id\x18\x02 \x01(\x05\x12\x0f\n\x07message\x18\x03 \x01(\t\"\xa1\x01\n\x12UpdateAlarmRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x14\n\x0csatellite_id\x18\x02 \x01(\t\x12\x0c\n\x04time\x18\x03 \x01(\t\x12\x10\n\x08weekdays\x18\x04 \x03(\x05\x12\x12\n\nskip_dates\x18\x05 \x03(\t\x12\x15\n\rone_shot_date\x18\x06 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x07 \x01(\x08\x12\r\n\x05label\x18\x08 \x01(\t\" \n\x12\x44\x65leteAlarmRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"7\n\x08\x43\x61tegory\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tparent_id\x18\x03 \x01(\x05\"G\n\x07Setting\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\r\n\x05value\x18\x04 \x01(\t\"^\n\x13GetSettingsResponse\x12$\n\ncategories\x18\x01 \x03(\x0b\x32\x10.hannah.Category\x12!\n\x08settings\x18\x02 \x03(\x0b\x32\x0f.hannah.Setting\"2\n\rSettingUpdate\x12\x12\n\nsetting_id\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t\"=\n\x13UpdateConfigRequest\x12&\n\x07updates\x18\x01 \x03(\x0b\x32\x15.hannah.SettingUpdate\"I\n\x06\x42leTag\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x0f\n\x07user_id\x18\x04 \x01(\x05\"2\n\x12GetBleTagsResponse\x12\x1c\n\x04tags\x18\x01 \x03(\x0b\x32\x0e.hannah.BleTag\"J\n\x13\x43reateBleTagRequest\x12\x13\n\x0bmac_address\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\x05\"?\n\x14\x43reateBleTagResponse\x12\n\n\x02ok\x18\x01 \x01(\x08\x12\n\n\x02id\x18\x02 \x01(\x05\x12\x0f\n\x07message\x18\x03 \x01(\t\"V\n\x13UpdateBleTagRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x0f\n\x07user_id\x18\x04 \x01(\x05\"!\n\x13\x44\x65leteBleTagRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"c\n\x03\x43\x61r\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x14\n\x0ctopic_prefix\x18\x02 \x01(\t\x12\x14\n\x0chome_address\x18\x03 \x01(\t\x12\x16\n\x0eowner_user_ids\x18\x04 \x03(\x05\x12\x0c\n\x04name\x18\x05 \x01(\t\",\n\x0fGetCarsResponse\x12\x19\n\x04\x63\x61rs\x18\x01 \x03(\x0b\x32\x0b.hannah.Car\"d\n\x10\x43reateCarRequest\x12\x14\n\x0ctopic_prefix\x18\x01 \x01(\t\x12\x14\n\x0chome_address\x18\x02 \x01(\t\x12\x16\n\x0eowner_user_ids\x18\x03 \x03(\x05\x12\x0c\n\x04name\x18\x04 \x01(\t\"<\n\x11\x43reateCarResponse\x12\n\n\x02ok\x18\x01 \x01(\x08\x12\n\n\x02id\x18\x02 \x01(\x05\x12\x0f\n\x07message\x18\x03 \x01(\t\"p\n\x10UpdateCarRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x14\n\x0ctopic_prefix\x18\x02 \x01(\t\x12\x14\n\x0chome_address\x18\x03 \x01(\t\x12\x16\n\x0eowner_user_ids\x18\x04 \x03(\x05\x12\x0c\n\x04name\x18\x05 \x01(\t\"\x1e\n\x10\x44\x65leteCarRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x42\x30Z.github.com/NurPech/hannah-proto-go;hannahprotob\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'control_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/NurPech/hannah-proto-go;hannahproto'
|
|
35
|
+
_globals['_SUBMITTEXTREQUEST']._serialized_start=25
|
|
36
|
+
_globals['_SUBMITTEXTREQUEST']._serialized_end=106
|
|
37
|
+
_globals['_SUBMITTEXTRESPONSE']._serialized_start=108
|
|
38
|
+
_globals['_SUBMITTEXTRESPONSE']._serialized_end=165
|
|
39
|
+
_globals['_SUBMITVOICEREQUEST']._serialized_start=167
|
|
40
|
+
_globals['_SUBMITVOICEREQUEST']._serialized_end=250
|
|
41
|
+
_globals['_SUBMITVOICERESPONSE']._serialized_start=252
|
|
42
|
+
_globals['_SUBMITVOICERESPONSE']._serialized_end=349
|
|
43
|
+
_globals['_ANNOUNCEREQUEST']._serialized_start=351
|
|
44
|
+
_globals['_ANNOUNCEREQUEST']._serialized_end=432
|
|
45
|
+
_globals['_SATELLITE']._serialized_start=435
|
|
46
|
+
_globals['_SATELLITE']._serialized_end=688
|
|
47
|
+
_globals['_GETSATELLITESRESPONSE']._serialized_start=690
|
|
48
|
+
_globals['_GETSATELLITESRESPONSE']._serialized_end=752
|
|
49
|
+
_globals['_SETSATELLITEROOMREQUEST']._serialized_start=754
|
|
50
|
+
_globals['_SETSATELLITEROOMREQUEST']._serialized_end=837
|
|
51
|
+
_globals['_SETSATELLITEDISPLAYNAMEREQUEST']._serialized_start=839
|
|
52
|
+
_globals['_SETSATELLITEDISPLAYNAMEREQUEST']._serialized_end=934
|
|
53
|
+
_globals['_SETSATELLITEOWNERREQUEST']._serialized_start=936
|
|
54
|
+
_globals['_SETSATELLITEOWNERREQUEST']._serialized_end=1020
|
|
55
|
+
_globals['_DELETESATELLITEREQUEST']._serialized_start=1022
|
|
56
|
+
_globals['_DELETESATELLITEREQUEST']._serialized_end=1087
|
|
57
|
+
_globals['_ROOM']._serialized_start=1089
|
|
58
|
+
_globals['_ROOM']._serialized_end=1134
|
|
59
|
+
_globals['_GETROOMSRESPONSE']._serialized_start=1136
|
|
60
|
+
_globals['_GETROOMSRESPONSE']._serialized_end=1183
|
|
61
|
+
_globals['_GROUP']._serialized_start=1185
|
|
62
|
+
_globals['_GROUP']._serialized_end=1261
|
|
63
|
+
_globals['_GETGROUPSRESPONSE']._serialized_start=1263
|
|
64
|
+
_globals['_GETGROUPSRESPONSE']._serialized_end=1313
|
|
65
|
+
_globals['_CREATEGROUPREQUEST']._serialized_start=1315
|
|
66
|
+
_globals['_CREATEGROUPREQUEST']._serialized_end=1375
|
|
67
|
+
_globals['_UPDATEGROUPREQUEST']._serialized_start=1377
|
|
68
|
+
_globals['_UPDATEGROUPREQUEST']._serialized_end=1437
|
|
69
|
+
_globals['_DELETEGROUPREQUEST']._serialized_start=1439
|
|
70
|
+
_globals['_DELETEGROUPREQUEST']._serialized_end=1477
|
|
71
|
+
_globals['_SETGROUPROOMSREQUEST']._serialized_start=1479
|
|
72
|
+
_globals['_SETGROUPROOMSREQUEST']._serialized_end=1537
|
|
73
|
+
_globals['_ROUTINE']._serialized_start=1539
|
|
74
|
+
_globals['_ROUTINE']._serialized_end=1629
|
|
75
|
+
_globals['_GETROUTINESRESPONSE']._serialized_start=1631
|
|
76
|
+
_globals['_GETROUTINESRESPONSE']._serialized_end=1687
|
|
77
|
+
_globals['_CREATEROUTINEREQUEST']._serialized_start=1689
|
|
78
|
+
_globals['_CREATEROUTINEREQUEST']._serialized_end=1780
|
|
79
|
+
_globals['_CREATEROUTINERESPONSE']._serialized_start=1782
|
|
80
|
+
_globals['_CREATEROUTINERESPONSE']._serialized_end=1846
|
|
81
|
+
_globals['_UPDATEROUTINEREQUEST']._serialized_start=1848
|
|
82
|
+
_globals['_UPDATEROUTINEREQUEST']._serialized_end=1951
|
|
83
|
+
_globals['_DELETEROUTINEREQUEST']._serialized_start=1953
|
|
84
|
+
_globals['_DELETEROUTINEREQUEST']._serialized_end=1987
|
|
85
|
+
_globals['_TRIGGER']._serialized_start=1990
|
|
86
|
+
_globals['_TRIGGER']._serialized_end=2195
|
|
87
|
+
_globals['_GETTRIGGERSRESPONSE']._serialized_start=2197
|
|
88
|
+
_globals['_GETTRIGGERSRESPONSE']._serialized_end=2253
|
|
89
|
+
_globals['_CREATETRIGGERREQUEST']._serialized_start=2256
|
|
90
|
+
_globals['_CREATETRIGGERREQUEST']._serialized_end=2474
|
|
91
|
+
_globals['_UPDATETRIGGERREQUEST']._serialized_start=2477
|
|
92
|
+
_globals['_UPDATETRIGGERREQUEST']._serialized_end=2695
|
|
93
|
+
_globals['_DELETETRIGGERREQUEST']._serialized_start=2697
|
|
94
|
+
_globals['_DELETETRIGGERREQUEST']._serialized_end=2731
|
|
95
|
+
_globals['_ALARM']._serialized_start=2734
|
|
96
|
+
_globals['_ALARM']._serialized_end=2899
|
|
97
|
+
_globals['_GETALARMSRESPONSE']._serialized_start=2901
|
|
98
|
+
_globals['_GETALARMSRESPONSE']._serialized_end=2951
|
|
99
|
+
_globals['_CREATEALARMREQUEST']._serialized_start=2954
|
|
100
|
+
_globals['_CREATEALARMREQUEST']._serialized_end=3083
|
|
101
|
+
_globals['_CREATEALARMRESPONSE']._serialized_start=3085
|
|
102
|
+
_globals['_CREATEALARMRESPONSE']._serialized_end=3147
|
|
103
|
+
_globals['_UPDATEALARMREQUEST']._serialized_start=3150
|
|
104
|
+
_globals['_UPDATEALARMREQUEST']._serialized_end=3311
|
|
105
|
+
_globals['_DELETEALARMREQUEST']._serialized_start=3313
|
|
106
|
+
_globals['_DELETEALARMREQUEST']._serialized_end=3345
|
|
107
|
+
_globals['_CATEGORY']._serialized_start=3347
|
|
108
|
+
_globals['_CATEGORY']._serialized_end=3402
|
|
109
|
+
_globals['_SETTING']._serialized_start=3404
|
|
110
|
+
_globals['_SETTING']._serialized_end=3475
|
|
111
|
+
_globals['_GETSETTINGSRESPONSE']._serialized_start=3477
|
|
112
|
+
_globals['_GETSETTINGSRESPONSE']._serialized_end=3571
|
|
113
|
+
_globals['_SETTINGUPDATE']._serialized_start=3573
|
|
114
|
+
_globals['_SETTINGUPDATE']._serialized_end=3623
|
|
115
|
+
_globals['_UPDATECONFIGREQUEST']._serialized_start=3625
|
|
116
|
+
_globals['_UPDATECONFIGREQUEST']._serialized_end=3686
|
|
117
|
+
_globals['_BLETAG']._serialized_start=3688
|
|
118
|
+
_globals['_BLETAG']._serialized_end=3761
|
|
119
|
+
_globals['_GETBLETAGSRESPONSE']._serialized_start=3763
|
|
120
|
+
_globals['_GETBLETAGSRESPONSE']._serialized_end=3813
|
|
121
|
+
_globals['_CREATEBLETAGREQUEST']._serialized_start=3815
|
|
122
|
+
_globals['_CREATEBLETAGREQUEST']._serialized_end=3889
|
|
123
|
+
_globals['_CREATEBLETAGRESPONSE']._serialized_start=3891
|
|
124
|
+
_globals['_CREATEBLETAGRESPONSE']._serialized_end=3954
|
|
125
|
+
_globals['_UPDATEBLETAGREQUEST']._serialized_start=3956
|
|
126
|
+
_globals['_UPDATEBLETAGREQUEST']._serialized_end=4042
|
|
127
|
+
_globals['_DELETEBLETAGREQUEST']._serialized_start=4044
|
|
128
|
+
_globals['_DELETEBLETAGREQUEST']._serialized_end=4077
|
|
129
|
+
_globals['_CAR']._serialized_start=4079
|
|
130
|
+
_globals['_CAR']._serialized_end=4178
|
|
131
|
+
_globals['_GETCARSRESPONSE']._serialized_start=4180
|
|
132
|
+
_globals['_GETCARSRESPONSE']._serialized_end=4224
|
|
133
|
+
_globals['_CREATECARREQUEST']._serialized_start=4226
|
|
134
|
+
_globals['_CREATECARREQUEST']._serialized_end=4326
|
|
135
|
+
_globals['_CREATECARRESPONSE']._serialized_start=4328
|
|
136
|
+
_globals['_CREATECARRESPONSE']._serialized_end=4388
|
|
137
|
+
_globals['_UPDATECARREQUEST']._serialized_start=4390
|
|
138
|
+
_globals['_UPDATECARREQUEST']._serialized_end=4502
|
|
139
|
+
_globals['_DELETECARREQUEST']._serialized_start=4504
|
|
140
|
+
_globals['_DELETECARREQUEST']._serialized_end=4534
|
|
141
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.81.1'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ ' but the generated code in control_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: device_control_menu.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'device_control_menu.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x64\x65vice_control_menu.proto\x12\x06hannah\"\xaa\x01\n\nDeviceInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x03 \x01(\t\x12\x0e\n\x06states\x18\x04 \x03(\t\x12\x30\n\x07\x63urrent\x18\x05 \x03(\x0b\x32\x1f.hannah.DeviceInfo.CurrentEntry\x1a.\n\x0c\x43urrentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"J\n\x08RoomInfo\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12#\n\x07\x64\x65vices\x18\x03 \x03(\x0b\x32\x12.hannah.DeviceInfo\"5\n\x12GetDevicesResponse\x12\x1f\n\x05rooms\x18\x01 \x03(\x0b\x32\x10.hannah.RoomInfo\"G\n\x14\x43ontrolDeviceRequest\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\r\n\x05state\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\tB0Z.github.com/NurPech/hannah-proto-go;hannahprotob\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'device_control_menu_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/NurPech/hannah-proto-go;hannahproto'
|
|
35
|
+
_globals['_DEVICEINFO_CURRENTENTRY']._loaded_options = None
|
|
36
|
+
_globals['_DEVICEINFO_CURRENTENTRY']._serialized_options = b'8\001'
|
|
37
|
+
_globals['_DEVICEINFO']._serialized_start=38
|
|
38
|
+
_globals['_DEVICEINFO']._serialized_end=208
|
|
39
|
+
_globals['_DEVICEINFO_CURRENTENTRY']._serialized_start=162
|
|
40
|
+
_globals['_DEVICEINFO_CURRENTENTRY']._serialized_end=208
|
|
41
|
+
_globals['_ROOMINFO']._serialized_start=210
|
|
42
|
+
_globals['_ROOMINFO']._serialized_end=284
|
|
43
|
+
_globals['_GETDEVICESRESPONSE']._serialized_start=286
|
|
44
|
+
_globals['_GETDEVICESRESPONSE']._serialized_end=339
|
|
45
|
+
_globals['_CONTROLDEVICEREQUEST']._serialized_start=341
|
|
46
|
+
_globals['_CONTROLDEVICEREQUEST']._serialized_end=412
|
|
47
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.81.1'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ ' but the generated code in device_control_menu_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: event_stream.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'event_stream.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from . import car_state_pb2 as car__state__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x65vent_stream.proto\x12\x06hannah\x1a\x0f\x63\x61r_state.proto\"\"\n\x0b\x45ventFilter\x12\x13\n\x0b\x65vent_types\x18\x01 \x03(\t\"\x97\x02\n\x0bHannahEvent\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\t\x12*\n\tcar_state\x18\n \x01(\x0b\x32\x15.hannah.CarStateProtoH\x00\x12\x34\n\x0eresident_event\x18\x0b \x01(\x0b\x32\x1a.hannah.ResidentEventProtoH\x00\x12>\n\x13system_notification\x18\x0c \x01(\x0b\x32\x1f.hannah.SystemNotificationEventH\x00\x12\x34\n\x0e\x66irmware_event\x18\r \x01(\x0b\x32\x1a.hannah.FirmwareEventProtoH\x00\x42\t\n\x07payload\"\'\n\x17SystemNotificationEvent\x12\x0c\n\x04text\x18\x01 \x01(\t\"5\n\x12\x46irmwareEventProto\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\".\n\x1cTriggerFirmwareUpdateRequest\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\"L\n\x12ResidentEventProto\x12\x11\n\troomie_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\r\n\x05\x65vent\x18\x03 \x01(\tB0Z.github.com/NurPech/hannah-proto-go;hannahprotob\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'event_stream_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/NurPech/hannah-proto-go;hannahproto'
|
|
36
|
+
_globals['_EVENTFILTER']._serialized_start=47
|
|
37
|
+
_globals['_EVENTFILTER']._serialized_end=81
|
|
38
|
+
_globals['_HANNAHEVENT']._serialized_start=84
|
|
39
|
+
_globals['_HANNAHEVENT']._serialized_end=363
|
|
40
|
+
_globals['_SYSTEMNOTIFICATIONEVENT']._serialized_start=365
|
|
41
|
+
_globals['_SYSTEMNOTIFICATIONEVENT']._serialized_end=404
|
|
42
|
+
_globals['_FIRMWAREEVENTPROTO']._serialized_start=406
|
|
43
|
+
_globals['_FIRMWAREEVENTPROTO']._serialized_end=459
|
|
44
|
+
_globals['_TRIGGERFIRMWAREUPDATEREQUEST']._serialized_start=461
|
|
45
|
+
_globals['_TRIGGERFIRMWAREUPDATEREQUEST']._serialized_end=507
|
|
46
|
+
_globals['_RESIDENTEVENTPROTO']._serialized_start=509
|
|
47
|
+
_globals['_RESIDENTEVENTPROTO']._serialized_end=585
|
|
48
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.81.1'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ ' but the generated code in event_stream_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: hannah.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'hannah.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from . import shared_pb2 as shared__pb2
|
|
26
|
+
from . import user_registry_pb2 as user__registry__pb2
|
|
27
|
+
from . import control_pb2 as control__pb2
|
|
28
|
+
from . import car_state_pb2 as car__state__pb2
|
|
29
|
+
from . import event_stream_pb2 as event__stream__pb2
|
|
30
|
+
from . import satellite_proxy_pb2 as satellite__proxy__pb2
|
|
31
|
+
from . import device_control_menu_pb2 as device__control__menu__pb2
|
|
32
|
+
from . import satellite_provisioning_pb2 as satellite__provisioning__pb2
|
|
33
|
+
from . import speaker_enrollment_pb2 as speaker__enrollment__pb2
|
|
34
|
+
from . import agent_pb2 as agent__pb2
|
|
35
|
+
from . import wakeword_capture_pb2 as wakeword__capture__pb2
|
|
36
|
+
from . import timer_service_pb2 as timer__service__pb2
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0channah.proto\x12\x06hannah\x1a\x0cshared.proto\x1a\x13user_registry.proto\x1a\rcontrol.proto\x1a\x0f\x63\x61r_state.proto\x1a\x12\x65vent_stream.proto\x1a\x15satellite_proxy.proto\x1a\x19\x64\x65vice_control_menu.proto\x1a\x1csatellite_provisioning.proto\x1a\x18speaker_enrollment.proto\x1a\x0b\x61gent.proto\x1a\x16wakeword_capture.proto\x1a\x13timer_service.proto2\xd7#\n\rHannahService\x12=\n\x08GetUsers\x12\x17.hannah.GetUsersRequest\x1a\x18.hannah.GetUsersResponse\x12\x37\n\x07GetUser\x12\x16.hannah.GetUserRequest\x1a\x14.hannah.UserResponse\x12\x41\n\x0bLinkAccount\x12\x1a.hannah.LinkAccountRequest\x1a\x16.hannah.StatusResponse\x12\x45\n\rUnlinkAccount\x12\x1c.hannah.UnlinkAccountRequest\x1a\x16.hannah.StatusResponse\x12\x45\n\rSetTrustLevel\x12\x1c.hannah.SetTrustLevelRequest\x1a\x16.hannah.StatusResponse\x12M\n\x11SetSystemMessages\x12 .hannah.SetSystemMessagesRequest\x1a\x16.hannah.StatusResponse\x12\x33\n\x05Login\x12\x14.hannah.LoginRequest\x1a\x14.hannah.UserResponse\x12\x43\n\nCreateUser\x12\x19.hannah.CreateUserRequest\x1a\x1a.hannah.CreateUserResponse\x12?\n\nUpdateUser\x12\x19.hannah.UpdateUserRequest\x1a\x16.hannah.StatusResponse\x12?\n\nDeleteUser\x12\x19.hannah.DeleteUserRequest\x1a\x16.hannah.StatusResponse\x12;\n\x0cGetResidents\x12\r.hannah.Empty\x1a\x1c.hannah.GetResidentsResponse\x12\x37\n\nGetDevices\x12\r.hannah.Empty\x1a\x1a.hannah.GetDevicesResponse\x12\x45\n\rControlDevice\x12\x1c.hannah.ControlDeviceRequest\x1a\x16.hannah.StatusResponse\x12\x43\n\nSubmitText\x12\x19.hannah.SubmitTextRequest\x1a\x1a.hannah.SubmitTextResponse\x12\x46\n\x0bSubmitVoice\x12\x1a.hannah.SubmitVoiceRequest\x1a\x1b.hannah.SubmitVoiceResponse\x12;\n\x08\x41nnounce\x12\x17.hannah.AnnounceRequest\x1a\x16.hannah.StatusResponse\x12;\n\x06Notify\x12\x19.hannah.AgentNotification\x1a\x16.hannah.StatusResponse\x12=\n\rGetSatellites\x12\r.hannah.Empty\x1a\x1d.hannah.GetSatellitesResponse\x12K\n\x10SetSatelliteRoom\x12\x1f.hannah.SetSatelliteRoomRequest\x1a\x16.hannah.StatusResponse\x12Y\n\x17SetSatelliteDisplayName\x12&.hannah.SetSatelliteDisplayNameRequest\x1a\x16.hannah.StatusResponse\x12M\n\x11SetSatelliteOwner\x12 .hannah.SetSatelliteOwnerRequest\x1a\x16.hannah.StatusResponse\x12I\n\x0f\x44\x65leteSatellite\x12\x1e.hannah.DeleteSatelliteRequest\x1a\x16.hannah.StatusResponse\x12\x33\n\x08GetRooms\x12\r.hannah.Empty\x1a\x18.hannah.GetRoomsResponse\x12\x35\n\tGetGroups\x12\r.hannah.Empty\x1a\x19.hannah.GetGroupsResponse\x12\x41\n\x0b\x43reateGroup\x12\x1a.hannah.CreateGroupRequest\x1a\x16.hannah.StatusResponse\x12\x41\n\x0bUpdateGroup\x12\x1a.hannah.UpdateGroupRequest\x1a\x16.hannah.StatusResponse\x12\x41\n\x0b\x44\x65leteGroup\x12\x1a.hannah.DeleteGroupRequest\x1a\x16.hannah.StatusResponse\x12\x45\n\rSetGroupRooms\x12\x1c.hannah.SetGroupRoomsRequest\x1a\x16.hannah.StatusResponse\x12\x39\n\x0bGetRoutines\x12\r.hannah.Empty\x1a\x1b.hannah.GetRoutinesResponse\x12L\n\rCreateRoutine\x12\x1c.hannah.CreateRoutineRequest\x1a\x1d.hannah.CreateRoutineResponse\x12\x45\n\rUpdateRoutine\x12\x1c.hannah.UpdateRoutineRequest\x1a\x16.hannah.StatusResponse\x12\x45\n\rDeleteRoutine\x12\x1c.hannah.DeleteRoutineRequest\x1a\x16.hannah.StatusResponse\x12\x39\n\x0bGetTriggers\x12\r.hannah.Empty\x1a\x1b.hannah.GetTriggersResponse\x12\x45\n\rCreateTrigger\x12\x1c.hannah.CreateTriggerRequest\x1a\x16.hannah.StatusResponse\x12\x45\n\rUpdateTrigger\x12\x1c.hannah.UpdateTriggerRequest\x1a\x16.hannah.StatusResponse\x12\x45\n\rDeleteTrigger\x12\x1c.hannah.DeleteTriggerRequest\x1a\x16.hannah.StatusResponse\x12\x35\n\tGetAlarms\x12\r.hannah.Empty\x1a\x19.hannah.GetAlarmsResponse\x12\x46\n\x0b\x43reateAlarm\x12\x1a.hannah.CreateAlarmRequest\x1a\x1b.hannah.CreateAlarmResponse\x12\x41\n\x0bUpdateAlarm\x12\x1a.hannah.UpdateAlarmRequest\x1a\x16.hannah.StatusResponse\x12\x41\n\x0b\x44\x65leteAlarm\x12\x1a.hannah.DeleteAlarmRequest\x1a\x16.hannah.StatusResponse\x12\x39\n\x0bGetSettings\x12\r.hannah.Empty\x1a\x1b.hannah.GetSettingsResponse\x12\x43\n\x0cUpdateConfig\x12\x1b.hannah.UpdateConfigRequest\x1a\x16.hannah.StatusResponse\x12\x37\n\nGetBleTags\x12\r.hannah.Empty\x1a\x1a.hannah.GetBleTagsResponse\x12I\n\x0c\x43reateBleTag\x12\x1b.hannah.CreateBleTagRequest\x1a\x1c.hannah.CreateBleTagResponse\x12\x43\n\x0cUpdateBleTag\x12\x1b.hannah.UpdateBleTagRequest\x1a\x16.hannah.StatusResponse\x12\x43\n\x0c\x44\x65leteBleTag\x12\x1b.hannah.DeleteBleTagRequest\x1a\x16.hannah.StatusResponse\x12\x31\n\x07GetCars\x12\r.hannah.Empty\x1a\x17.hannah.GetCarsResponse\x12@\n\tCreateCar\x12\x18.hannah.CreateCarRequest\x1a\x19.hannah.CreateCarResponse\x12=\n\tUpdateCar\x12\x18.hannah.UpdateCarRequest\x1a\x16.hannah.StatusResponse\x12=\n\tDeleteCar\x12\x18.hannah.DeleteCarRequest\x1a\x16.hannah.StatusResponse\x12\x36\n\x0bGetCarState\x12\r.hannah.Empty\x1a\x18.hannah.CarStateResponse\x12\x41\n\x0fGetAllCarStates\x12\r.hannah.Empty\x1a\x1f.hannah.GetAllCarStatesResponse\x12=\n\x0fSubscribeEvents\x12\x13.hannah.EventFilter\x1a\x13.hannah.HannahEvent0\x01\x12U\n\x15TriggerFirmwareUpdate\x12$.hannah.TriggerFirmwareUpdateRequest\x1a\x16.hannah.StatusResponse\x12\\\n\x17RequestSatelliteCapture\x12\x1f.hannah.SatelliteCaptureRequest\x1a .hannah.SatelliteCaptureResponse\x12R\n\x17ReleaseSatelliteCapture\x12\x1f.hannah.SatelliteCaptureRequest\x1a\x16.hannah.StatusResponse\x12V\n\x14StreamSatelliteAudio\x12\x1f.hannah.SatelliteCaptureRequest\x1a\x1b.hannah.SatelliteAudioChunk0\x01\x12\x43\n\x0cTriggerPlink\x12\x1b.hannah.TriggerPlinkRequest\x1a\x16.hannah.StatusResponse\x12\x41\n\rRegisterProxy\x12\x16.hannah.ProxyHeartbeat\x1a\x14.hannah.ProxyCommand(\x01\x30\x01\x12\x61\n\x14SubmitSatelliteAudio\x12#.hannah.SubmitSatelliteAudioRequest\x1a$.hannah.SubmitSatelliteAudioResponse\x12R\n\x19NotifySatelliteRegistered\x12\x1d.hannah.SatelliteRegistration\x1a\x16.hannah.StatusResponse\x12L\n\x13NotifySatelliteGone\x12\x1d.hannah.SatelliteRegistration\x1a\x16.hannah.StatusResponse\x12O\n\x12ProvisionSatellite\x12!.hannah.ProvisionSatelliteRequest\x1a\x16.hannah.StatusResponse\x12K\n\x10\x45nrollVoiceprint\x12\x1f.hannah.EnrollVoiceprintRequest\x1a\x16.hannah.StatusResponse\x12>\n\x0cTimerConnect\x12\x14.hannah.TimerMessage\x1a\x14.hannah.TimerCommand(\x01\x30\x01\x12>\n\x0c\x41gentConnect\x12\x14.hannah.AgentMessage\x1a\x14.hannah.AgentCommand(\x01\x30\x01\x42\x30Z.github.com/NurPech/hannah-proto-go;hannahprotob\x06proto3')
|
|
40
|
+
|
|
41
|
+
_globals = globals()
|
|
42
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
43
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'hannah_pb2', _globals)
|
|
44
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
45
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
46
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/NurPech/hannah-proto-go;hannahproto'
|
|
47
|
+
_globals['_HANNAHSERVICE']._serialized_start=276
|
|
48
|
+
_globals['_HANNAHSERVICE']._serialized_end=4843
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|