tesla-protocol 3.0.2__tar.gz → 4.0.0__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.
Files changed (146) hide show
  1. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/PKG-INFO +1 -1
  2. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/pyproject.toml +1 -1
  3. tesla_protocol-4.0.0/tesla_protocol/charging/charging_pb2.py +46 -0
  4. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/charging/charging_pb2.pyi +13 -24
  5. tesla_protocol-4.0.0/tesla_protocol/command/car_server_pb2.py +529 -0
  6. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/car_server_pb2.pyi +383 -854
  7. tesla_protocol-4.0.0/tesla_protocol/command/common_pb2.py +79 -0
  8. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/common_pb2.pyi +18 -35
  9. tesla_protocol-4.0.0/tesla_protocol/command/errors_pb2.py +41 -0
  10. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/errors_pb2.pyi +5 -8
  11. tesla_protocol-4.0.0/tesla_protocol/command/keys_pb2.py +37 -0
  12. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/keys_pb2.pyi +2 -1
  13. tesla_protocol-4.0.0/tesla_protocol/command/managed_charging_pb2.py +54 -0
  14. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/managed_charging_pb2.pyi +15 -28
  15. tesla_protocol-4.0.0/tesla_protocol/command/session_pb2.py +37 -0
  16. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/session_pb2.pyi +4 -4
  17. tesla_protocol-4.0.0/tesla_protocol/command/signatures_pb2.py +65 -0
  18. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/signatures_pb2.pyi +23 -44
  19. tesla_protocol-4.0.0/tesla_protocol/command/universal_message_pb2.py +54 -0
  20. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/universal_message_pb2.pyi +12 -21
  21. tesla_protocol-4.0.0/tesla_protocol/command/vcsec_pb2.py +121 -0
  22. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/vcsec_pb2.pyi +52 -102
  23. tesla_protocol-4.0.0/tesla_protocol/command/vehicle_pb2.py +249 -0
  24. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/vehicle_pb2.pyi +132 -318
  25. tesla_protocol-4.0.0/tesla_protocol/dashcam/dashcam_sei_pb2.py +40 -0
  26. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/dashcam/dashcam_sei_pb2.pyi +3 -6
  27. tesla_protocol-4.0.0/tesla_protocol/energy_command/identifier_type_pb2.py +37 -0
  28. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_command/identifier_type_pb2.pyi +2 -1
  29. tesla_protocol-4.0.0/tesla_protocol/energy_device/authorization_api_pb2.py +63 -0
  30. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/authorization_api_pb2.pyi +26 -50
  31. tesla_protocol-4.0.0/tesla_protocol/energy_device/authorization_types_pb2.py +48 -0
  32. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/authorization_types_pb2.pyi +4 -4
  33. tesla_protocol-4.0.0/tesla_protocol/energy_device/common_api_pb2.py +137 -0
  34. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/common_api_pb2.pyi +87 -179
  35. tesla_protocol-4.0.0/tesla_protocol/energy_device/device_pb2.py +61 -0
  36. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/device_pb2.pyi +15 -28
  37. tesla_protocol-4.0.0/tesla_protocol/energy_device/energy_pb2.py +52 -0
  38. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/energy_pb2.pyi +13 -24
  39. tesla_protocol-4.0.0/tesla_protocol/energy_device/energy_site_net_pb2.py +71 -0
  40. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/energy_site_net_pb2.pyi +27 -50
  41. tesla_protocol-4.0.0/tesla_protocol/energy_device/error_pb2.py +38 -0
  42. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/error_pb2.pyi +3 -4
  43. tesla_protocol-4.0.0/tesla_protocol/energy_device/filestore_api_pb2.py +53 -0
  44. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/filestore_api_pb2.pyi +17 -32
  45. tesla_protocol-4.0.0/tesla_protocol/energy_device/graphql_api_pb2.py +52 -0
  46. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/graphql_api_pb2.pyi +11 -20
  47. tesla_protocol-4.0.0/tesla_protocol/energy_device/intra_site_api_pb2.py +107 -0
  48. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/intra_site_api_pb2.pyi +46 -97
  49. tesla_protocol-4.0.0/tesla_protocol/energy_device/local_auth_api_pb2.py +56 -0
  50. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/local_auth_api_pb2.pyi +16 -33
  51. tesla_protocol-4.0.0/tesla_protocol/energy_device/networking_pb2.py +62 -0
  52. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/networking_pb2.pyi +17 -32
  53. tesla_protocol-4.0.0/tesla_protocol/energy_device/neurio_meter_api_pb2.py +88 -0
  54. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/neurio_meter_api_pb2.pyi +37 -74
  55. tesla_protocol-4.0.0/tesla_protocol/energy_device/pvi_api_pb2.py +143 -0
  56. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/pvi_api_pb2.pyi +86 -177
  57. tesla_protocol-4.0.0/tesla_protocol/energy_device/signed_message_pb2.py +61 -0
  58. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/signed_message_pb2.pyi +17 -32
  59. tesla_protocol-4.0.0/tesla_protocol/energy_device/teg_api_pb2.py +273 -0
  60. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/teg_api_pb2.pyi +158 -379
  61. tesla_protocol-4.0.0/tesla_protocol/energy_device/transport_pb2.py +65 -0
  62. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/transport_pb2.pyi +23 -32
  63. tesla_protocol-4.0.0/tesla_protocol/energy_device/update_pb2.py +51 -0
  64. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/update_pb2.pyi +11 -20
  65. tesla_protocol-4.0.0/tesla_protocol/energy_device/wall_connector_pb2.py +305 -0
  66. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/wall_connector_pb2.pyi +200 -412
  67. tesla_protocol-4.0.0/tesla_protocol/telemetry/vehicle_alert_pb2.py +42 -0
  68. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/telemetry/vehicle_alert_pb2.pyi +6 -8
  69. tesla_protocol-4.0.0/tesla_protocol/telemetry/vehicle_connectivity_pb2.py +40 -0
  70. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/telemetry/vehicle_connectivity_pb2.pyi +4 -4
  71. tesla_protocol-4.0.0/tesla_protocol/telemetry/vehicle_data_pb2.py +142 -0
  72. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/telemetry/vehicle_data_pb2.pyi +16 -28
  73. tesla_protocol-4.0.0/tesla_protocol/telemetry/vehicle_error_pb2.py +44 -0
  74. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/telemetry/vehicle_error_pb2.pyi +8 -13
  75. tesla_protocol-4.0.0/tesla_protocol/telemetry/vehicle_metric_pb2.py +44 -0
  76. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/telemetry/vehicle_metric_pb2.pyi +8 -13
  77. tesla_protocol-4.0.0/tesla_protocol/teslapower/teslapower_pb2.py +232 -0
  78. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/teslapower/teslapower_pb2.pyi +168 -356
  79. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol.egg-info/PKG-INFO +1 -1
  80. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol.egg-info/SOURCES.txt +2 -0
  81. tesla_protocol-4.0.0/tests/test_descriptor_namespace.py +71 -0
  82. tesla_protocol-4.0.0/tests/test_get_system_info_response.py +78 -0
  83. tesla_protocol-3.0.2/tesla_protocol/charging/charging_pb2.py +0 -26
  84. tesla_protocol-3.0.2/tesla_protocol/command/car_server_pb2.py +0 -509
  85. tesla_protocol-3.0.2/tesla_protocol/command/common_pb2.py +0 -59
  86. tesla_protocol-3.0.2/tesla_protocol/command/errors_pb2.py +0 -21
  87. tesla_protocol-3.0.2/tesla_protocol/command/keys_pb2.py +0 -17
  88. tesla_protocol-3.0.2/tesla_protocol/command/managed_charging_pb2.py +0 -34
  89. tesla_protocol-3.0.2/tesla_protocol/command/session_pb2.py +0 -17
  90. tesla_protocol-3.0.2/tesla_protocol/command/signatures_pb2.py +0 -45
  91. tesla_protocol-3.0.2/tesla_protocol/command/universal_message_pb2.py +0 -34
  92. tesla_protocol-3.0.2/tesla_protocol/command/vcsec_pb2.py +0 -101
  93. tesla_protocol-3.0.2/tesla_protocol/command/vehicle_pb2.py +0 -229
  94. tesla_protocol-3.0.2/tesla_protocol/dashcam/dashcam_sei_pb2.py +0 -20
  95. tesla_protocol-3.0.2/tesla_protocol/energy_command/identifier_type_pb2.py +0 -17
  96. tesla_protocol-3.0.2/tesla_protocol/energy_device/authorization_api_pb2.py +0 -43
  97. tesla_protocol-3.0.2/tesla_protocol/energy_device/authorization_types_pb2.py +0 -28
  98. tesla_protocol-3.0.2/tesla_protocol/energy_device/common_api_pb2.py +0 -117
  99. tesla_protocol-3.0.2/tesla_protocol/energy_device/device_pb2.py +0 -41
  100. tesla_protocol-3.0.2/tesla_protocol/energy_device/energy_pb2.py +0 -32
  101. tesla_protocol-3.0.2/tesla_protocol/energy_device/energy_site_net_pb2.py +0 -51
  102. tesla_protocol-3.0.2/tesla_protocol/energy_device/error_pb2.py +0 -18
  103. tesla_protocol-3.0.2/tesla_protocol/energy_device/filestore_api_pb2.py +0 -33
  104. tesla_protocol-3.0.2/tesla_protocol/energy_device/graphql_api_pb2.py +0 -32
  105. tesla_protocol-3.0.2/tesla_protocol/energy_device/intra_site_api_pb2.py +0 -87
  106. tesla_protocol-3.0.2/tesla_protocol/energy_device/local_auth_api_pb2.py +0 -36
  107. tesla_protocol-3.0.2/tesla_protocol/energy_device/networking_pb2.py +0 -42
  108. tesla_protocol-3.0.2/tesla_protocol/energy_device/neurio_meter_api_pb2.py +0 -68
  109. tesla_protocol-3.0.2/tesla_protocol/energy_device/pvi_api_pb2.py +0 -123
  110. tesla_protocol-3.0.2/tesla_protocol/energy_device/signed_message_pb2.py +0 -41
  111. tesla_protocol-3.0.2/tesla_protocol/energy_device/teg_api_pb2.py +0 -253
  112. tesla_protocol-3.0.2/tesla_protocol/energy_device/transport_pb2.py +0 -45
  113. tesla_protocol-3.0.2/tesla_protocol/energy_device/update_pb2.py +0 -31
  114. tesla_protocol-3.0.2/tesla_protocol/energy_device/wall_connector_pb2.py +0 -285
  115. tesla_protocol-3.0.2/tesla_protocol/telemetry/vehicle_alert_pb2.py +0 -22
  116. tesla_protocol-3.0.2/tesla_protocol/telemetry/vehicle_connectivity_pb2.py +0 -20
  117. tesla_protocol-3.0.2/tesla_protocol/telemetry/vehicle_data_pb2.py +0 -122
  118. tesla_protocol-3.0.2/tesla_protocol/telemetry/vehicle_error_pb2.py +0 -24
  119. tesla_protocol-3.0.2/tesla_protocol/telemetry/vehicle_metric_pb2.py +0 -24
  120. tesla_protocol-3.0.2/tesla_protocol/teslapower/teslapower_pb2.py +0 -212
  121. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/README.md +0 -0
  122. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/setup.cfg +0 -0
  123. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/__init__.py +0 -0
  124. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/charging/__init__.py +0 -0
  125. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/charging/__init__.pyi +0 -0
  126. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/__init__.py +0 -0
  127. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/command/__init__.pyi +0 -0
  128. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/dashcam/__init__.py +0 -0
  129. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/dashcam/__init__.pyi +0 -0
  130. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_command/__init__.py +0 -0
  131. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_command/__init__.pyi +0 -0
  132. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/__init__.py +0 -0
  133. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/energy_device/__init__.pyi +0 -0
  134. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/py.typed +0 -0
  135. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/telemetry/__init__.py +0 -0
  136. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/telemetry/__init__.pyi +0 -0
  137. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/teslapower/__init__.py +0 -0
  138. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol/teslapower/__init__.pyi +0 -0
  139. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol.egg-info/dependency_links.txt +0 -0
  140. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol.egg-info/requires.txt +0 -0
  141. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tesla_protocol.egg-info/top_level.txt +0 -0
  142. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tests/test_golden_fixtures.py +0 -0
  143. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tests/test_navigation_supercharger.py +0 -0
  144. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tests/test_navigation_supercharger_id.py +0 -0
  145. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tests/test_set_outlets_on_off.py +0 -0
  146. {tesla_protocol-3.0.2 → tesla_protocol-4.0.0}/tests/test_set_powershare_request.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tesla-protocol
3
- Version: 3.0.2
3
+ Version: 4.0.0
4
4
  Summary: Tesla vehicle-command, fleet-telemetry and energy protobuf bindings for Python
5
5
  Author-email: Teslemetry <hello@teslemetry.com>
6
6
  License-Expression: Apache-2.0
@@ -4,7 +4,7 @@ requires = ["setuptools>=77.0"]
4
4
 
5
5
  [project]
6
6
  name = "tesla-protocol"
7
- version = "3.0.2"
7
+ version = "4.0.0"
8
8
  license = "Apache-2.0"
9
9
  description = "Tesla vehicle-command, fleet-telemetry and energy protobuf bindings for Python"
10
10
  readme = "README.md"
@@ -0,0 +1,46 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: tesla_protocol/charging/charging.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
+ 'tesla_protocol/charging/charging.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&tesla_protocol/charging/charging.proto\x12*tesla_protocol.com.tesla.proto.charging.v1\"6\n\x06\x45nergy\x12\x12\n\nwatt_hours\x18\x01 \x01(\r\x12\x18\n\x10milli_watt_hours\x18\x02 \x01(\r\"\\\n\x08StemInfo\x12\x12\n\nfw_githash\x18\x01 \x01(\x0c\x12\x15\n\rserial_number\x18\x02 \x01(\t\x12\x13\n\x0bpart_number\x18\x03 \x01(\t\x12\x10\n\x08meter_id\x18\x04 \x01(\t\"W\n\rStemEventInfo\x12\x16\n\x0e\x65vent_occurred\x18\x01 \x01(\x08\x12\x13\n\x0binvalidated\x18\x02 \x01(\x08\x12\x19\n\x11time_synchronized\x18\x03 \x01(\x08\"\xef\x02\n\x17\x43hargeSessionTimeSeries\x12\x1a\n\x12start_time_epoch_s\x18\x01 \x01(\x04\x12\x18\n\x10\x65nd_time_epoch_s\x18\x02 \x01(\x04\x12\x1e\n\x16total_energy_vended_wh\x18\x03 \x01(\r\x12\x19\n\x11\x62ucket_duration_s\x18\x04 \x01(\r\x12\x1f\n\x17\x66irst_bucket_duration_s\x18\x05 \x01(\r\x12\x1f\n\x17\x62ucket_energy_vended_wh\x18\x06 \x03(\r\x12O\n\x13total_energy_vended\x18\x07 \x01(\x0b\x32\x32.tesla_protocol.com.tesla.proto.charging.v1.Energy\x12P\n\x14\x62ucket_energy_vended\x18\x08 \x03(\x0b\x32\x32.tesla_protocol.com.tesla.proto.charging.v1.Energy\"\xa3\x02\n\x06StemUi\x12G\n\tstem_info\x18\x01 \x01(\x0b\x32\x34.tesla_protocol.com.tesla.proto.charging.v1.StemInfo\x12\x12\n\nsession_id\x18\x02 \x01(\r\x12\x1b\n\x13system_time_epoch_s\x18\x03 \x01(\x04\x12\x13\n\x0bidle_time_s\x18\x04 \x01(\r\x12\x1a\n\x12start_time_epoch_s\x18\x05 \x01(\x04\x12R\n\x0fstem_event_info\x18\x06 \x01(\x0b\x32\x39.tesla_protocol.com.tesla.proto.charging.v1.StemEventInfo\x12\x1a\n\x12session_energy_kwh\x18\x07 \x01(\x02\"\x80\x03\n\x0bStemBilling\x12G\n\tstem_info\x18\x01 \x01(\x0b\x32\x34.tesla_protocol.com.tesla.proto.charging.v1.StemInfo\x12\x12\n\nsession_id\x18\x02 \x01(\r\x12R\n\x0fstem_event_info\x18\x03 \x01(\x0b\x32\x39.tesla_protocol.com.tesla.proto.charging.v1.StemEventInfo\x12!\n\x19lifetime_energy_start_kwh\x18\x04 \x01(\x02\x12\x1f\n\x17lifetime_energy_end_kwh\x18\x05 \x01(\x02\x12\x13\n\x0bidle_time_s\x18\x06 \x01(\r\x12g\n\x1a\x63harge_session_time_series\x18\x07 \x01(\x0b\x32\x43.tesla_protocol.com.tesla.proto.charging.v1.ChargeSessionTimeSeriesb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tesla_protocol.charging.charging_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_ENERGY']._serialized_start=86
35
+ _globals['_ENERGY']._serialized_end=140
36
+ _globals['_STEMINFO']._serialized_start=142
37
+ _globals['_STEMINFO']._serialized_end=234
38
+ _globals['_STEMEVENTINFO']._serialized_start=236
39
+ _globals['_STEMEVENTINFO']._serialized_end=323
40
+ _globals['_CHARGESESSIONTIMESERIES']._serialized_start=326
41
+ _globals['_CHARGESESSIONTIMESERIES']._serialized_end=693
42
+ _globals['_STEMUI']._serialized_start=696
43
+ _globals['_STEMUI']._serialized_end=987
44
+ _globals['_STEMBILLING']._serialized_start=990
45
+ _globals['_STEMBILLING']._serialized_end=1374
46
+ # @@protoc_insertion_point(module_scope)
@@ -3,20 +3,19 @@ from google.protobuf import descriptor as _descriptor
3
3
  from google.protobuf import message as _message
4
4
  from collections.abc import Iterable as _Iterable, Mapping as _Mapping
5
5
  from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
6
+
6
7
  DESCRIPTOR: _descriptor.FileDescriptor
7
8
 
8
9
  class Energy(_message.Message):
9
- __slots__ = ('watt_hours', 'milli_watt_hours')
10
+ __slots__ = ("watt_hours", "milli_watt_hours")
10
11
  WATT_HOURS_FIELD_NUMBER: _ClassVar[int]
11
12
  MILLI_WATT_HOURS_FIELD_NUMBER: _ClassVar[int]
12
13
  watt_hours: int
13
14
  milli_watt_hours: int
14
-
15
- def __init__(self, watt_hours: _Optional[int]=..., milli_watt_hours: _Optional[int]=...) -> None:
16
- ...
15
+ def __init__(self, watt_hours: _Optional[int] = ..., milli_watt_hours: _Optional[int] = ...) -> None: ...
17
16
 
18
17
  class StemInfo(_message.Message):
19
- __slots__ = ('fw_githash', 'serial_number', 'part_number', 'meter_id')
18
+ __slots__ = ("fw_githash", "serial_number", "part_number", "meter_id")
20
19
  FW_GITHASH_FIELD_NUMBER: _ClassVar[int]
21
20
  SERIAL_NUMBER_FIELD_NUMBER: _ClassVar[int]
22
21
  PART_NUMBER_FIELD_NUMBER: _ClassVar[int]
@@ -25,24 +24,20 @@ class StemInfo(_message.Message):
25
24
  serial_number: str
26
25
  part_number: str
27
26
  meter_id: str
28
-
29
- def __init__(self, fw_githash: _Optional[bytes]=..., serial_number: _Optional[str]=..., part_number: _Optional[str]=..., meter_id: _Optional[str]=...) -> None:
30
- ...
27
+ def __init__(self, fw_githash: _Optional[bytes] = ..., serial_number: _Optional[str] = ..., part_number: _Optional[str] = ..., meter_id: _Optional[str] = ...) -> None: ...
31
28
 
32
29
  class StemEventInfo(_message.Message):
33
- __slots__ = ('event_occurred', 'invalidated', 'time_synchronized')
30
+ __slots__ = ("event_occurred", "invalidated", "time_synchronized")
34
31
  EVENT_OCCURRED_FIELD_NUMBER: _ClassVar[int]
35
32
  INVALIDATED_FIELD_NUMBER: _ClassVar[int]
36
33
  TIME_SYNCHRONIZED_FIELD_NUMBER: _ClassVar[int]
37
34
  event_occurred: bool
38
35
  invalidated: bool
39
36
  time_synchronized: bool
40
-
41
- def __init__(self, event_occurred: _Optional[bool]=..., invalidated: _Optional[bool]=..., time_synchronized: _Optional[bool]=...) -> None:
42
- ...
37
+ def __init__(self, event_occurred: _Optional[bool] = ..., invalidated: _Optional[bool] = ..., time_synchronized: _Optional[bool] = ...) -> None: ...
43
38
 
44
39
  class ChargeSessionTimeSeries(_message.Message):
45
- __slots__ = ('start_time_epoch_s', 'end_time_epoch_s', 'total_energy_vended_wh', 'bucket_duration_s', 'first_bucket_duration_s', 'bucket_energy_vended_wh', 'total_energy_vended', 'bucket_energy_vended')
40
+ __slots__ = ("start_time_epoch_s", "end_time_epoch_s", "total_energy_vended_wh", "bucket_duration_s", "first_bucket_duration_s", "bucket_energy_vended_wh", "total_energy_vended", "bucket_energy_vended")
46
41
  START_TIME_EPOCH_S_FIELD_NUMBER: _ClassVar[int]
47
42
  END_TIME_EPOCH_S_FIELD_NUMBER: _ClassVar[int]
48
43
  TOTAL_ENERGY_VENDED_WH_FIELD_NUMBER: _ClassVar[int]
@@ -59,12 +54,10 @@ class ChargeSessionTimeSeries(_message.Message):
59
54
  bucket_energy_vended_wh: _containers.RepeatedScalarFieldContainer[int]
60
55
  total_energy_vended: Energy
61
56
  bucket_energy_vended: _containers.RepeatedCompositeFieldContainer[Energy]
62
-
63
- def __init__(self, start_time_epoch_s: _Optional[int]=..., end_time_epoch_s: _Optional[int]=..., total_energy_vended_wh: _Optional[int]=..., bucket_duration_s: _Optional[int]=..., first_bucket_duration_s: _Optional[int]=..., bucket_energy_vended_wh: _Optional[_Iterable[int]]=..., total_energy_vended: _Optional[_Union[Energy, _Mapping]]=..., bucket_energy_vended: _Optional[_Iterable[_Union[Energy, _Mapping]]]=...) -> None:
64
- ...
57
+ def __init__(self, start_time_epoch_s: _Optional[int] = ..., end_time_epoch_s: _Optional[int] = ..., total_energy_vended_wh: _Optional[int] = ..., bucket_duration_s: _Optional[int] = ..., first_bucket_duration_s: _Optional[int] = ..., bucket_energy_vended_wh: _Optional[_Iterable[int]] = ..., total_energy_vended: _Optional[_Union[Energy, _Mapping]] = ..., bucket_energy_vended: _Optional[_Iterable[_Union[Energy, _Mapping]]] = ...) -> None: ...
65
58
 
66
59
  class StemUi(_message.Message):
67
- __slots__ = ('stem_info', 'session_id', 'system_time_epoch_s', 'idle_time_s', 'start_time_epoch_s', 'stem_event_info', 'session_energy_kwh')
60
+ __slots__ = ("stem_info", "session_id", "system_time_epoch_s", "idle_time_s", "start_time_epoch_s", "stem_event_info", "session_energy_kwh")
68
61
  STEM_INFO_FIELD_NUMBER: _ClassVar[int]
69
62
  SESSION_ID_FIELD_NUMBER: _ClassVar[int]
70
63
  SYSTEM_TIME_EPOCH_S_FIELD_NUMBER: _ClassVar[int]
@@ -79,12 +72,10 @@ class StemUi(_message.Message):
79
72
  start_time_epoch_s: int
80
73
  stem_event_info: StemEventInfo
81
74
  session_energy_kwh: float
82
-
83
- def __init__(self, stem_info: _Optional[_Union[StemInfo, _Mapping]]=..., session_id: _Optional[int]=..., system_time_epoch_s: _Optional[int]=..., idle_time_s: _Optional[int]=..., start_time_epoch_s: _Optional[int]=..., stem_event_info: _Optional[_Union[StemEventInfo, _Mapping]]=..., session_energy_kwh: _Optional[float]=...) -> None:
84
- ...
75
+ def __init__(self, stem_info: _Optional[_Union[StemInfo, _Mapping]] = ..., session_id: _Optional[int] = ..., system_time_epoch_s: _Optional[int] = ..., idle_time_s: _Optional[int] = ..., start_time_epoch_s: _Optional[int] = ..., stem_event_info: _Optional[_Union[StemEventInfo, _Mapping]] = ..., session_energy_kwh: _Optional[float] = ...) -> None: ...
85
76
 
86
77
  class StemBilling(_message.Message):
87
- __slots__ = ('stem_info', 'session_id', 'stem_event_info', 'lifetime_energy_start_kwh', 'lifetime_energy_end_kwh', 'idle_time_s', 'charge_session_time_series')
78
+ __slots__ = ("stem_info", "session_id", "stem_event_info", "lifetime_energy_start_kwh", "lifetime_energy_end_kwh", "idle_time_s", "charge_session_time_series")
88
79
  STEM_INFO_FIELD_NUMBER: _ClassVar[int]
89
80
  SESSION_ID_FIELD_NUMBER: _ClassVar[int]
90
81
  STEM_EVENT_INFO_FIELD_NUMBER: _ClassVar[int]
@@ -99,6 +90,4 @@ class StemBilling(_message.Message):
99
90
  lifetime_energy_end_kwh: float
100
91
  idle_time_s: int
101
92
  charge_session_time_series: ChargeSessionTimeSeries
102
-
103
- def __init__(self, stem_info: _Optional[_Union[StemInfo, _Mapping]]=..., session_id: _Optional[int]=..., stem_event_info: _Optional[_Union[StemEventInfo, _Mapping]]=..., lifetime_energy_start_kwh: _Optional[float]=..., lifetime_energy_end_kwh: _Optional[float]=..., idle_time_s: _Optional[int]=..., charge_session_time_series: _Optional[_Union[ChargeSessionTimeSeries, _Mapping]]=...) -> None:
104
- ...
93
+ def __init__(self, stem_info: _Optional[_Union[StemInfo, _Mapping]] = ..., session_id: _Optional[int] = ..., stem_event_info: _Optional[_Union[StemEventInfo, _Mapping]] = ..., lifetime_energy_start_kwh: _Optional[float] = ..., lifetime_energy_end_kwh: _Optional[float] = ..., idle_time_s: _Optional[int] = ..., charge_session_time_series: _Optional[_Union[ChargeSessionTimeSeries, _Mapping]] = ...) -> None: ...