viam-sdk 0.3.0__py3-none-linux_armv6l.whl → 0.66.0__py3-none-linux_armv6l.whl

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.

Potentially problematic release.


This version of viam-sdk might be problematic. Click here for more details.

Files changed (452) hide show
  1. viam/__init__.py +29 -2
  2. viam/app/_logs.py +34 -0
  3. viam/app/app_client.py +2696 -0
  4. viam/app/billing_client.py +185 -0
  5. viam/app/data_client.py +2231 -0
  6. viam/app/ml_training_client.py +249 -0
  7. viam/app/provisioning_client.py +93 -0
  8. viam/app/viam_client.py +275 -0
  9. viam/components/arm/__init__.py +3 -26
  10. viam/components/arm/arm.py +123 -8
  11. viam/components/arm/client.py +37 -24
  12. viam/components/arm/service.py +35 -32
  13. viam/components/audio_in/__init__.py +24 -0
  14. viam/components/audio_in/audio_in.py +74 -0
  15. viam/components/audio_in/client.py +76 -0
  16. viam/components/audio_in/service.py +83 -0
  17. viam/components/audio_out/__init__.py +21 -0
  18. viam/components/audio_out/audio_out.py +72 -0
  19. viam/components/audio_out/client.py +67 -0
  20. viam/components/audio_out/service.py +63 -0
  21. viam/components/base/__init__.py +6 -11
  22. viam/components/base/base.py +134 -8
  23. viam/components/base/client.py +51 -23
  24. viam/components/base/service.py +33 -30
  25. viam/components/board/__init__.py +3 -12
  26. viam/components/board/board.py +247 -91
  27. viam/components/board/client.py +149 -83
  28. viam/components/board/service.py +63 -33
  29. viam/components/button/__init__.py +10 -0
  30. viam/components/button/button.py +41 -0
  31. viam/components/button/client.py +52 -0
  32. viam/components/button/service.py +46 -0
  33. viam/components/camera/__init__.py +3 -3
  34. viam/components/camera/camera.py +62 -27
  35. viam/components/camera/client.py +59 -27
  36. viam/components/camera/service.py +42 -65
  37. viam/components/component_base.py +28 -5
  38. viam/components/encoder/__init__.py +1 -1
  39. viam/components/encoder/client.py +25 -14
  40. viam/components/encoder/encoder.py +48 -10
  41. viam/components/encoder/service.py +14 -18
  42. viam/components/gantry/__init__.py +1 -13
  43. viam/components/gantry/client.py +80 -25
  44. viam/components/gantry/gantry.py +123 -9
  45. viam/components/gantry/service.py +51 -29
  46. viam/components/generic/__init__.py +1 -1
  47. viam/components/generic/client.py +21 -8
  48. viam/components/generic/generic.py +10 -2
  49. viam/components/generic/service.py +12 -7
  50. viam/components/gripper/__init__.py +3 -13
  51. viam/components/gripper/client.py +69 -21
  52. viam/components/gripper/gripper.py +123 -3
  53. viam/components/gripper/service.py +44 -22
  54. viam/components/input/__init__.py +1 -14
  55. viam/components/input/client.py +55 -23
  56. viam/components/input/input.py +106 -3
  57. viam/components/input/service.py +16 -21
  58. viam/components/motor/__init__.py +1 -21
  59. viam/components/motor/client.py +56 -33
  60. viam/components/motor/motor.py +127 -4
  61. viam/components/motor/service.py +33 -44
  62. viam/components/movement_sensor/__init__.py +1 -1
  63. viam/components/movement_sensor/client.py +102 -45
  64. viam/components/movement_sensor/movement_sensor.py +130 -61
  65. viam/components/movement_sensor/service.py +38 -41
  66. viam/components/pose_tracker/__init__.py +1 -1
  67. viam/components/pose_tracker/client.py +18 -7
  68. viam/components/pose_tracker/pose_tracker.py +4 -2
  69. viam/components/pose_tracker/service.py +12 -10
  70. viam/components/power_sensor/__init__.py +17 -0
  71. viam/components/power_sensor/client.py +86 -0
  72. viam/components/power_sensor/power_sensor.py +104 -0
  73. viam/components/power_sensor/service.py +72 -0
  74. viam/components/sensor/__init__.py +2 -1
  75. viam/components/sensor/client.py +26 -10
  76. viam/components/sensor/sensor.py +22 -4
  77. viam/components/sensor/service.py +20 -11
  78. viam/components/servo/__init__.py +1 -13
  79. viam/components/servo/client.py +47 -21
  80. viam/components/servo/service.py +15 -22
  81. viam/components/servo/servo.py +61 -2
  82. viam/components/switch/__init__.py +10 -0
  83. viam/components/switch/client.py +83 -0
  84. viam/components/switch/service.py +72 -0
  85. viam/components/switch/switch.py +98 -0
  86. viam/errors.py +10 -0
  87. viam/gen/app/agent/v1/agent_grpc.py +29 -0
  88. viam/gen/app/agent/v1/agent_pb2.py +47 -0
  89. viam/gen/app/agent/v1/agent_pb2.pyi +280 -0
  90. viam/gen/app/cloudslam/v1/__init__.py +0 -0
  91. viam/gen/app/cloudslam/v1/cloud_slam_grpc.py +70 -0
  92. viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +54 -0
  93. viam/gen/app/cloudslam/v1/cloud_slam_pb2.pyi +384 -0
  94. viam/gen/app/data/v1/data_grpc.py +197 -8
  95. viam/gen/app/data/v1/data_pb2.py +238 -99
  96. viam/gen/app/data/v1/data_pb2.pyi +1222 -259
  97. viam/gen/app/datapipelines/__init__.py +0 -0
  98. viam/gen/app/datapipelines/v1/__init__.py +0 -0
  99. viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +84 -0
  100. viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +57 -0
  101. viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +387 -0
  102. viam/gen/app/dataset/__init__.py +0 -0
  103. viam/gen/app/dataset/v1/__init__.py +0 -0
  104. viam/gen/app/dataset/v1/dataset_grpc.py +68 -0
  105. viam/gen/app/dataset/v1/dataset_pb2.py +44 -0
  106. viam/gen/app/dataset/v1/dataset_pb2.pyi +214 -0
  107. viam/gen/app/datasync/v1/data_sync_grpc.py +21 -4
  108. viam/gen/app/datasync/v1/data_sync_pb2.py +62 -128
  109. viam/gen/app/datasync/v1/data_sync_pb2.pyi +156 -199
  110. viam/gen/app/mlinference/__init__.py +0 -0
  111. viam/gen/app/mlinference/v1/__init__.py +0 -0
  112. viam/gen/app/mlinference/v1/ml_inference_grpc.py +28 -0
  113. viam/gen/app/mlinference/v1/ml_inference_pb2.py +23 -0
  114. viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +63 -0
  115. viam/gen/app/mltraining/v1/ml_training_grpc.py +51 -3
  116. viam/gen/app/mltraining/v1/ml_training_pb2.py +135 -58
  117. viam/gen/app/mltraining/v1/ml_training_pb2.pyi +328 -39
  118. viam/gen/app/packages/v1/packages_grpc.py +15 -1
  119. viam/gen/app/packages/v1/packages_pb2.py +44 -64
  120. viam/gen/app/packages/v1/packages_pb2.pyi +75 -85
  121. viam/gen/app/v1/app_grpc.py +644 -3
  122. viam/gen/app/v1/app_pb2.py +695 -295
  123. viam/gen/app/v1/app_pb2.pyi +4488 -635
  124. viam/gen/app/v1/billing_grpc.py +53 -11
  125. viam/gen/app/v1/billing_pb2.py +94 -39
  126. viam/gen/app/v1/billing_pb2.pyi +391 -191
  127. viam/gen/app/v1/end_user_grpc.py +59 -0
  128. viam/gen/app/v1/end_user_pb2.py +55 -0
  129. viam/gen/app/v1/end_user_pb2.pyi +181 -0
  130. viam/gen/app/v1/robot_grpc.py +16 -1
  131. viam/gen/app/v1/robot_pb2.py +122 -94
  132. viam/gen/app/v1/robot_pb2.pyi +463 -123
  133. viam/gen/common/v1/common_pb2.py +87 -58
  134. viam/gen/common/v1/common_pb2.pyi +456 -149
  135. viam/gen/component/arm/v1/arm_grpc.py +58 -2
  136. viam/gen/component/arm/v1/arm_pb2.py +68 -51
  137. viam/gen/component/arm/v1/arm_pb2.pyi +108 -42
  138. viam/gen/component/audioin/__init__.py +0 -0
  139. viam/gen/component/audioin/v1/__init__.py +0 -0
  140. viam/gen/component/audioin/v1/audioin_grpc.py +54 -0
  141. viam/gen/component/audioin/v1/audioin_pb2.py +34 -0
  142. viam/gen/component/audioin/v1/audioin_pb2.pyi +94 -0
  143. viam/gen/component/audioinput/v1/audioinput_grpc.py +25 -2
  144. viam/gen/component/audioinput/v1/audioinput_pb2.py +36 -31
  145. viam/gen/component/audioinput/v1/audioinput_pb2.pyi +22 -22
  146. viam/gen/component/audioout/__init__.py +0 -0
  147. viam/gen/component/audioout/v1/__init__.py +0 -0
  148. viam/gen/component/audioout/v1/audioout_grpc.py +54 -0
  149. viam/gen/component/audioout/v1/audioout_pb2.py +32 -0
  150. viam/gen/component/audioout/v1/audioout_pb2.pyi +47 -0
  151. viam/gen/component/base/v1/base_grpc.py +42 -2
  152. viam/gen/component/base/v1/base_pb2.py +58 -47
  153. viam/gen/component/base/v1/base_pb2.pyi +65 -30
  154. viam/gen/component/board/v1/board_grpc.py +59 -7
  155. viam/gen/component/board/v1/board_pb2.py +94 -73
  156. viam/gen/component/board/v1/board_pb2.pyi +165 -68
  157. viam/gen/component/button/__init__.py +0 -0
  158. viam/gen/component/button/v1/__init__.py +0 -0
  159. viam/gen/component/button/v1/button_grpc.py +38 -0
  160. viam/gen/component/button/v1/button_pb2.py +28 -0
  161. viam/gen/component/button/v1/button_pb2.pyi +39 -0
  162. viam/gen/component/camera/v1/camera_grpc.py +38 -2
  163. viam/gen/component/camera/v1/camera_pb2.py +60 -43
  164. viam/gen/component/camera/v1/camera_pb2.pyi +191 -37
  165. viam/gen/component/encoder/v1/encoder_grpc.py +25 -2
  166. viam/gen/component/encoder/v1/encoder_pb2.py +36 -31
  167. viam/gen/component/encoder/v1/encoder_pb2.pyi +15 -15
  168. viam/gen/component/gantry/v1/gantry_grpc.py +47 -2
  169. viam/gen/component/gantry/v1/gantry_pb2.py +56 -43
  170. viam/gen/component/gantry/v1/gantry_pb2.pyi +67 -31
  171. viam/gen/component/generic/v1/generic_grpc.py +16 -2
  172. viam/gen/component/generic/v1/generic_pb2.py +16 -11
  173. viam/gen/component/gripper/v1/gripper_grpc.py +44 -2
  174. viam/gen/component/gripper/v1/gripper_pb2.py +48 -35
  175. viam/gen/component/gripper/v1/gripper_pb2.pyi +62 -24
  176. viam/gen/component/inputcontroller/v1/input_controller_grpc.py +28 -2
  177. viam/gen/component/inputcontroller/v1/input_controller_pb2.py +46 -41
  178. viam/gen/component/inputcontroller/v1/input_controller_pb2.pyi +32 -36
  179. viam/gen/component/motor/v1/motor_grpc.py +51 -2
  180. viam/gen/component/motor/v1/motor_pb2.py +78 -67
  181. viam/gen/component/motor/v1/motor_pb2.pyi +75 -46
  182. viam/gen/component/movementsensor/v1/movementsensor_grpc.py +48 -2
  183. viam/gen/component/movementsensor/v1/movementsensor_pb2.py +70 -63
  184. viam/gen/component/movementsensor/v1/movementsensor_pb2.pyi +84 -57
  185. viam/gen/component/posetracker/v1/pose_tracker_grpc.py +19 -2
  186. viam/gen/component/posetracker/v1/pose_tracker_pb2.py +26 -21
  187. viam/gen/component/posetracker/v1/pose_tracker_pb2.pyi +9 -13
  188. viam/gen/component/powersensor/__init__.py +0 -0
  189. viam/gen/component/powersensor/v1/__init__.py +0 -0
  190. viam/gen/component/powersensor/v1/powersensor_grpc.py +62 -0
  191. viam/gen/component/powersensor/v1/powersensor_pb2.py +42 -0
  192. viam/gen/component/powersensor/v1/powersensor_pb2.pyi +124 -0
  193. viam/gen/component/sensor/v1/sensor_grpc.py +21 -5
  194. viam/gen/component/sensor/v1/sensor_pb2.py +18 -22
  195. viam/gen/component/sensor/v1/sensor_pb2.pyi +1 -69
  196. viam/gen/component/servo/v1/servo_grpc.py +28 -2
  197. viam/gen/component/servo/v1/servo_pb2.py +42 -37
  198. viam/gen/component/servo/v1/servo_pb2.pyi +22 -26
  199. viam/gen/component/switch/__init__.py +0 -0
  200. viam/gen/component/switch/v1/__init__.py +0 -0
  201. viam/gen/component/switch/v1/switch_grpc.py +54 -0
  202. viam/gen/component/switch/v1/switch_pb2.py +40 -0
  203. viam/gen/component/switch/v1/switch_pb2.pyi +116 -0
  204. viam/gen/component/testecho/v1/testecho_grpc.py +15 -0
  205. viam/gen/component/testecho/v1/testecho_pb2.py +29 -26
  206. viam/gen/component/testecho/v1/testecho_pb2.pyi +16 -20
  207. viam/gen/module/v1/module_grpc.py +18 -0
  208. viam/gen/module/v1/module_pb2.py +36 -33
  209. viam/gen/module/v1/module_pb2.pyi +39 -34
  210. viam/gen/opentelemetry/__init__.py +0 -0
  211. viam/gen/opentelemetry/proto/__init__.py +0 -0
  212. viam/gen/opentelemetry/proto/common/__init__.py +0 -0
  213. viam/gen/opentelemetry/proto/common/v1/__init__.py +0 -0
  214. viam/gen/opentelemetry/proto/common/v1/common_grpc.py +0 -0
  215. viam/gen/opentelemetry/proto/common/v1/common_pb2.py +27 -0
  216. viam/gen/opentelemetry/proto/common/v1/common_pb2.pyi +208 -0
  217. viam/gen/opentelemetry/proto/resource/__init__.py +0 -0
  218. viam/gen/opentelemetry/proto/resource/v1/__init__.py +0 -0
  219. viam/gen/opentelemetry/proto/resource/v1/resource_grpc.py +0 -0
  220. viam/gen/opentelemetry/proto/resource/v1/resource_pb2.py +18 -0
  221. viam/gen/opentelemetry/proto/resource/v1/resource_pb2.pyi +59 -0
  222. viam/gen/opentelemetry/proto/trace/__init__.py +0 -0
  223. viam/gen/opentelemetry/proto/trace/v1/__init__.py +0 -0
  224. viam/gen/opentelemetry/proto/trace/v1/trace_grpc.py +0 -0
  225. viam/gen/opentelemetry/proto/trace/v1/trace_pb2.py +37 -0
  226. viam/gen/opentelemetry/proto/trace/v1/trace_pb2.pyi +402 -0
  227. viam/gen/proto/rpc/examples/echo/v1/echo_grpc.py +12 -0
  228. viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +25 -22
  229. viam/gen/proto/rpc/examples/echo/v1/echo_pb2.pyi +13 -17
  230. viam/gen/proto/rpc/examples/echoresource/v1/echoresource_grpc.py +12 -0
  231. viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +23 -20
  232. viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.pyi +13 -17
  233. viam/gen/proto/rpc/v1/auth_grpc.py +11 -0
  234. viam/gen/proto/rpc/v1/auth_pb2.py +27 -24
  235. viam/gen/proto/rpc/v1/auth_pb2.pyi +12 -16
  236. viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +35 -32
  237. viam/gen/proto/rpc/webrtc/v1/grpc_pb2.pyi +37 -41
  238. viam/gen/proto/rpc/webrtc/v1/signaling_grpc.py +15 -0
  239. viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +62 -57
  240. viam/gen/proto/rpc/webrtc/v1/signaling_pb2.pyi +78 -69
  241. viam/gen/provisioning/__init__.py +0 -0
  242. viam/gen/provisioning/v1/__init__.py +0 -0
  243. viam/gen/provisioning/v1/provisioning_grpc.py +59 -0
  244. viam/gen/provisioning/v1/provisioning_pb2.py +45 -0
  245. viam/gen/provisioning/v1/provisioning_pb2.pyi +229 -0
  246. viam/gen/robot/v1/robot_grpc.py +144 -15
  247. viam/gen/robot/v1/robot_pb2.py +193 -119
  248. viam/gen/robot/v1/robot_pb2.pyi +565 -137
  249. viam/gen/service/datamanager/v1/data_manager_grpc.py +20 -2
  250. viam/gen/service/datamanager/v1/data_manager_pb2.py +27 -17
  251. viam/gen/service/datamanager/v1/data_manager_pb2.pyi +52 -10
  252. viam/gen/service/discovery/__init__.py +0 -0
  253. viam/gen/service/discovery/v1/__init__.py +0 -0
  254. viam/gen/service/discovery/v1/discovery_grpc.py +39 -0
  255. viam/gen/service/discovery/v1/discovery_pb2.py +29 -0
  256. viam/gen/service/discovery/v1/discovery_pb2.pyi +51 -0
  257. viam/gen/service/generic/__init__.py +0 -0
  258. viam/gen/service/generic/v1/__init__.py +0 -0
  259. viam/gen/service/generic/v1/generic_grpc.py +29 -0
  260. viam/gen/service/generic/v1/generic_pb2.py +21 -0
  261. viam/gen/service/generic/v1/generic_pb2.pyi +6 -0
  262. viam/gen/service/mlmodel/v1/mlmodel_grpc.py +9 -0
  263. viam/gen/service/mlmodel/v1/mlmodel_pb2.py +76 -29
  264. viam/gen/service/mlmodel/v1/mlmodel_pb2.pyi +307 -28
  265. viam/gen/service/motion/v1/motion_grpc.py +42 -4
  266. viam/gen/service/motion/v1/motion_pb2.py +119 -51
  267. viam/gen/service/motion/v1/motion_pb2.pyi +595 -120
  268. viam/gen/service/navigation/v1/navigation_grpc.py +49 -1
  269. viam/gen/service/navigation/v1/navigation_pb2.py +76 -51
  270. viam/gen/service/navigation/v1/navigation_pb2.pyi +188 -33
  271. viam/gen/service/sensors/v1/sensors_grpc.py +12 -0
  272. viam/gen/service/sensors/v1/sensors_pb2.py +60 -29
  273. viam/gen/service/sensors/v1/sensors_pb2.pyi +18 -21
  274. viam/gen/service/shell/v1/shell_grpc.py +27 -1
  275. viam/gen/service/shell/v1/shell_pb2.py +37 -15
  276. viam/gen/service/shell/v1/shell_pb2.pyi +260 -7
  277. viam/gen/service/slam/v1/slam_grpc.py +24 -2
  278. viam/gen/service/slam/v1/slam_pb2.py +44 -30
  279. viam/gen/service/slam/v1/slam_pb2.pyi +128 -27
  280. viam/gen/service/video/__init__.py +0 -0
  281. viam/gen/service/video/v1/__init__.py +0 -0
  282. viam/gen/service/video/v1/video_grpc.py +39 -0
  283. viam/gen/service/video/v1/video_pb2.py +29 -0
  284. viam/gen/service/video/v1/video_pb2.pyi +72 -0
  285. viam/gen/service/vision/v1/vision_grpc.py +39 -1
  286. viam/gen/service/vision/v1/vision_pb2.py +61 -45
  287. viam/gen/service/vision/v1/vision_pb2.pyi +180 -41
  288. viam/gen/service/worldstatestore/__init__.py +0 -0
  289. viam/gen/service/worldstatestore/v1/__init__.py +0 -0
  290. viam/gen/service/worldstatestore/v1/world_state_store_grpc.py +55 -0
  291. viam/gen/service/worldstatestore/v1/world_state_store_pb2.py +39 -0
  292. viam/gen/service/worldstatestore/v1/world_state_store_pb2.pyi +171 -0
  293. viam/gen/stream/__init__.py +0 -0
  294. viam/gen/stream/v1/__init__.py +0 -0
  295. viam/gen/stream/v1/stream_grpc.py +59 -0
  296. viam/gen/stream/v1/stream_pb2.py +39 -0
  297. viam/gen/stream/v1/stream_pb2.pyi +161 -0
  298. viam/gen/tagger/v1/tagger_pb2.py +9 -8
  299. viam/logging.py +160 -17
  300. viam/media/__init__.py +0 -9
  301. viam/media/audio.py +22 -10
  302. viam/media/utils/__init__.py +0 -0
  303. viam/media/utils/pil/__init__.py +55 -0
  304. viam/media/{viam_rgba_plugin.py → utils/pil/viam_rgba_plugin.py} +10 -16
  305. viam/media/viam_rgba.py +10 -0
  306. viam/media/video.py +197 -73
  307. viam/module/module.py +191 -44
  308. viam/module/resource_data_consumer.py +41 -0
  309. viam/module/service.py +9 -1
  310. viam/module/types.py +4 -5
  311. viam/operations.py +4 -3
  312. viam/proto/app/__init__.py +361 -5
  313. viam/proto/app/agent/__init__.py +28 -0
  314. viam/proto/app/billing.py +51 -27
  315. viam/proto/app/cloudslam/__init__.py +48 -0
  316. viam/proto/app/data/__init__.py +103 -17
  317. viam/proto/app/datapipelines/__init__.py +56 -0
  318. viam/proto/app/dataset/__init__.py +40 -0
  319. viam/proto/app/datasync/__init__.py +11 -5
  320. viam/proto/app/end_user.py +34 -0
  321. viam/proto/app/mlinference/__init__.py +15 -0
  322. viam/proto/app/mltraining/__init__.py +25 -1
  323. viam/proto/app/packages/__init__.py +3 -3
  324. viam/proto/app/robot.py +19 -1
  325. viam/proto/common/__init__.py +35 -8
  326. viam/proto/component/arm/__init__.py +9 -1
  327. viam/proto/component/audioin/__init__.py +16 -0
  328. viam/proto/component/audioinput/__init__.py +3 -1
  329. viam/proto/component/audioout/__init__.py +15 -0
  330. viam/proto/component/base/__init__.py +7 -1
  331. viam/proto/component/board/__init__.py +13 -5
  332. viam/proto/component/button/__init__.py +15 -0
  333. viam/proto/component/camera/__init__.py +9 -1
  334. viam/proto/component/encoder/__init__.py +3 -1
  335. viam/proto/component/gantry/__init__.py +7 -1
  336. viam/proto/component/generic/__init__.py +3 -1
  337. viam/proto/component/gripper/__init__.py +7 -1
  338. viam/proto/component/inputcontroller/__init__.py +7 -1
  339. viam/proto/component/motor/__init__.py +7 -1
  340. viam/proto/component/movementsensor/__init__.py +7 -1
  341. viam/proto/component/posetracker/__init__.py +7 -1
  342. viam/proto/component/powersensor/__init__.py +30 -0
  343. viam/proto/component/sensor/__init__.py +3 -4
  344. viam/proto/component/servo/__init__.py +3 -1
  345. viam/proto/component/switch/__init__.py +26 -0
  346. viam/proto/component/testecho/__init__.py +3 -1
  347. viam/proto/module/__init__.py +3 -1
  348. viam/proto/opentelemetry/__init__.py +0 -0
  349. viam/proto/opentelemetry/proto/__init__.py +0 -0
  350. viam/proto/opentelemetry/proto/common/__init__.py +15 -0
  351. viam/proto/opentelemetry/proto/resource/__init__.py +10 -0
  352. viam/proto/opentelemetry/proto/trace/__init__.py +15 -0
  353. viam/proto/provisioning/__init__.py +42 -0
  354. viam/proto/robot/__init__.py +57 -9
  355. viam/proto/rpc/auth.py +11 -1
  356. viam/proto/rpc/examples/echo/__init__.py +3 -1
  357. viam/proto/rpc/examples/echoresource/__init__.py +7 -1
  358. viam/proto/rpc/webrtc/grpc.py +3 -1
  359. viam/proto/rpc/webrtc/signaling.py +5 -1
  360. viam/proto/service/datamanager/__init__.py +15 -2
  361. viam/proto/service/discovery/__init__.py +15 -0
  362. viam/proto/service/generic/__init__.py +12 -0
  363. viam/proto/service/mlmodel/__init__.py +27 -1
  364. viam/proto/service/motion/__init__.py +35 -5
  365. viam/proto/service/navigation/__init__.py +19 -1
  366. viam/proto/service/sensors/__init__.py +3 -1
  367. viam/proto/service/shell/__init__.py +25 -2
  368. viam/proto/service/slam/__init__.py +13 -1
  369. viam/proto/service/video/__init__.py +15 -0
  370. viam/proto/service/vision/__init__.py +11 -1
  371. viam/proto/service/worldstatestore/__init__.py +32 -0
  372. viam/proto/stream/__init__.py +36 -0
  373. viam/py.typed +0 -0
  374. viam/resource/base.py +45 -8
  375. viam/resource/easy_resource.py +149 -0
  376. viam/resource/manager.py +35 -14
  377. viam/resource/registry.py +40 -52
  378. viam/resource/rpc_client_base.py +33 -1
  379. viam/resource/rpc_service_base.py +15 -8
  380. viam/resource/types.py +39 -26
  381. viam/robot/client.py +458 -91
  382. viam/robot/service.py +13 -107
  383. viam/rpc/dial.py +133 -15
  384. viam/rpc/libviam_rust_utils.so +0 -0
  385. viam/rpc/server.py +59 -15
  386. viam/rpc/types.py +2 -4
  387. viam/services/discovery/__init__.py +12 -0
  388. viam/services/discovery/client.py +55 -0
  389. viam/services/discovery/discovery.py +52 -0
  390. viam/services/discovery/service.py +43 -0
  391. viam/services/generic/__init__.py +18 -0
  392. viam/services/generic/client.py +58 -0
  393. viam/services/generic/generic.py +58 -0
  394. viam/services/generic/service.py +29 -0
  395. viam/services/mlmodel/__init__.py +15 -1
  396. viam/services/mlmodel/client.py +20 -15
  397. viam/services/mlmodel/mlmodel.py +44 -7
  398. viam/services/mlmodel/service.py +9 -13
  399. viam/services/mlmodel/utils.py +101 -0
  400. viam/services/motion/__init__.py +15 -3
  401. viam/services/motion/client.py +109 -150
  402. viam/services/motion/motion.py +380 -0
  403. viam/services/motion/service.py +132 -0
  404. viam/services/navigation/__init__.py +11 -0
  405. viam/services/navigation/client.py +99 -0
  406. viam/services/navigation/navigation.py +250 -0
  407. viam/services/navigation/service.py +137 -0
  408. viam/services/service_base.py +43 -4
  409. viam/services/service_client_base.py +4 -4
  410. viam/services/slam/__init__.py +4 -1
  411. viam/services/slam/client.py +21 -11
  412. viam/services/slam/service.py +16 -19
  413. viam/services/slam/slam.py +66 -5
  414. viam/services/vision/__init__.py +8 -0
  415. viam/services/vision/client.py +115 -111
  416. viam/services/vision/service.py +143 -0
  417. viam/services/vision/vision.py +317 -0
  418. viam/services/worldstatestore/__init__.py +18 -0
  419. viam/services/worldstatestore/client.py +94 -0
  420. viam/services/worldstatestore/service.py +55 -0
  421. viam/services/worldstatestore/worldstatestore.py +90 -0
  422. viam/sessions_client.py +254 -0
  423. viam/streams.py +44 -0
  424. viam/utils.py +143 -15
  425. viam/version_metadata.py +4 -0
  426. viam_sdk-0.66.0.dist-info/METADATA +157 -0
  427. viam_sdk-0.66.0.dist-info/RECORD +531 -0
  428. {viam_sdk-0.3.0.dist-info → viam_sdk-0.66.0.dist-info}/WHEEL +1 -1
  429. viam/components/audio_input/__init__.py +0 -18
  430. viam/components/audio_input/audio_input.py +0 -79
  431. viam/components/audio_input/client.py +0 -60
  432. viam/components/audio_input/service.py +0 -118
  433. viam/components/types.py +0 -5
  434. viam/gen/app/model/v1/model_grpc.py +0 -39
  435. viam/gen/app/model/v1/model_pb2.py +0 -71
  436. viam/gen/app/model/v1/model_pb2.pyi +0 -285
  437. viam/gen/proto/rpc/examples/fileupload/v1/fileupload_grpc.py +0 -21
  438. viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.py +0 -18
  439. viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.pyi +0 -49
  440. viam/media/media.py +0 -53
  441. viam/proto/app/model/__init__.py +0 -40
  442. viam/proto/rpc/examples/fileupload/__init__.py +0 -13
  443. viam/services/sensors/__init__.py +0 -5
  444. viam/services/sensors/client.py +0 -63
  445. viam_sdk-0.3.0.dist-info/LICENSE +0 -202
  446. viam_sdk-0.3.0.dist-info/METADATA +0 -122
  447. viam_sdk-0.3.0.dist-info/RECORD +0 -372
  448. /viam/{gen/app/model → app}/__init__.py +0 -0
  449. /viam/gen/app/{model/v1 → agent}/__init__.py +0 -0
  450. /viam/gen/{proto/rpc/examples/fileupload → app/agent/v1}/__init__.py +0 -0
  451. /viam/gen/{proto/rpc/examples/fileupload/v1 → app/cloudslam}/__init__.py +0 -0
  452. /LICENSE → /viam_sdk-0.66.0.dist-info/licenses/LICENSE +0 -0
@@ -2,7 +2,6 @@
2
2
  @generated by mypy-protobuf. Do not edit manually!
3
3
  isort:skip_file
4
4
  """
5
- from ... import app
6
5
  import builtins
7
6
  import collections.abc
8
7
  from ... import common
@@ -41,7 +40,7 @@ CREDENTIALS_TYPE_ROBOT_SECRET: CredentialsType.ValueType
41
40
  CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET: CredentialsType.ValueType
42
41
  global___CredentialsType = CredentialsType
43
42
 
44
- @typing_extensions.final
43
+ @typing.final
45
44
  class RobotConfig(google.protobuf.message.Message):
46
45
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
47
46
  CLOUD_FIELD_NUMBER: builtins.int
@@ -55,6 +54,23 @@ class RobotConfig(google.protobuf.message.Message):
55
54
  MODULES_FIELD_NUMBER: builtins.int
56
55
  DISABLE_PARTIAL_START_FIELD_NUMBER: builtins.int
57
56
  PACKAGES_FIELD_NUMBER: builtins.int
57
+ OVERWRITE_FRAGMENT_STATUS_FIELD_NUMBER: builtins.int
58
+ ENABLE_WEB_PROFILE_FIELD_NUMBER: builtins.int
59
+ LOG_FIELD_NUMBER: builtins.int
60
+ REVISION_FIELD_NUMBER: builtins.int
61
+ MAINTENANCE_FIELD_NUMBER: builtins.int
62
+ DISABLE_LOG_DEDUPLICATION_FIELD_NUMBER: builtins.int
63
+ JOBS_FIELD_NUMBER: builtins.int
64
+ TRACING_FIELD_NUMBER: builtins.int
65
+ debug: builtins.bool
66
+ 'Turns on debug mode for robot, adding an echo server and more logging and tracing. Only works after restart'
67
+ disable_partial_start: builtins.bool
68
+ enable_web_profile: builtins.bool
69
+ 'Turns on pprof http server on localhost. By default false.'
70
+ revision: builtins.str
71
+ 'Attributes a particular revision to the config.'
72
+ disable_log_deduplication: builtins.bool
73
+ "Disables the robot's log deduplication (identical, noisy logs will still\n be output individually instead of aggregated.)\n "
58
74
 
59
75
  @property
60
76
  def cloud(self) -> global___CloudConfig:
@@ -83,45 +99,152 @@ class RobotConfig(google.protobuf.message.Message):
83
99
  @property
84
100
  def auth(self) -> global___AuthConfig:
85
101
  ...
86
- debug: builtins.bool
87
- 'Turns on debug mode for robot, adding an echo server and more logging and tracing. Only works after restart'
88
102
 
89
103
  @property
90
104
  def modules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ModuleConfig]:
91
105
  ...
92
- disable_partial_start: builtins.bool
93
106
 
94
107
  @property
95
108
  def packages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PackageConfig]:
96
109
  ...
97
110
 
98
- def __init__(self, *, cloud: global___CloudConfig | None=..., remotes: collections.abc.Iterable[global___RemoteConfig] | None=..., components: collections.abc.Iterable[global___ComponentConfig] | None=..., processes: collections.abc.Iterable[global___ProcessConfig] | None=..., services: collections.abc.Iterable[global___ServiceConfig] | None=..., network: global___NetworkConfig | None=..., auth: global___AuthConfig | None=..., debug: builtins.bool | None=..., modules: collections.abc.Iterable[global___ModuleConfig] | None=..., disable_partial_start: builtins.bool | None=..., packages: collections.abc.Iterable[global___PackageConfig] | None=...) -> None:
111
+ @property
112
+ def overwrite_fragment_status(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AppValidationStatus]:
113
+ ...
114
+
115
+ @property
116
+ def log(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LogPatternConfig]:
117
+ ...
118
+
119
+ @property
120
+ def maintenance(self) -> global___MaintenanceConfig:
121
+ ...
122
+
123
+ @property
124
+ def jobs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___JobConfig]:
125
+ ...
126
+
127
+ @property
128
+ def tracing(self) -> global___TracingConfig:
129
+ ...
130
+
131
+ def __init__(self, *, cloud: global___CloudConfig | None=..., remotes: collections.abc.Iterable[global___RemoteConfig] | None=..., components: collections.abc.Iterable[global___ComponentConfig] | None=..., processes: collections.abc.Iterable[global___ProcessConfig] | None=..., services: collections.abc.Iterable[global___ServiceConfig] | None=..., network: global___NetworkConfig | None=..., auth: global___AuthConfig | None=..., debug: builtins.bool | None=..., modules: collections.abc.Iterable[global___ModuleConfig] | None=..., disable_partial_start: builtins.bool | None=..., packages: collections.abc.Iterable[global___PackageConfig] | None=..., overwrite_fragment_status: collections.abc.Iterable[global___AppValidationStatus] | None=..., enable_web_profile: builtins.bool=..., log: collections.abc.Iterable[global___LogPatternConfig] | None=..., revision: builtins.str=..., maintenance: global___MaintenanceConfig | None=..., disable_log_deduplication: builtins.bool=..., jobs: collections.abc.Iterable[global___JobConfig] | None=..., tracing: global___TracingConfig | None=...) -> None:
99
132
  ...
100
133
 
101
- def HasField(self, field_name: typing_extensions.Literal['_auth', b'_auth', '_debug', b'_debug', '_disable_partial_start', b'_disable_partial_start', '_network', b'_network', 'auth', b'auth', 'cloud', b'cloud', 'debug', b'debug', 'disable_partial_start', b'disable_partial_start', 'network', b'network']) -> builtins.bool:
134
+ def HasField(self, field_name: typing.Literal['_auth', b'_auth', '_debug', b'_debug', '_disable_partial_start', b'_disable_partial_start', '_maintenance', b'_maintenance', '_network', b'_network', '_tracing', b'_tracing', 'auth', b'auth', 'cloud', b'cloud', 'debug', b'debug', 'disable_partial_start', b'disable_partial_start', 'maintenance', b'maintenance', 'network', b'network', 'tracing', b'tracing']) -> builtins.bool:
102
135
  ...
103
136
 
104
- def ClearField(self, field_name: typing_extensions.Literal['_auth', b'_auth', '_debug', b'_debug', '_disable_partial_start', b'_disable_partial_start', '_network', b'_network', 'auth', b'auth', 'cloud', b'cloud', 'components', b'components', 'debug', b'debug', 'disable_partial_start', b'disable_partial_start', 'modules', b'modules', 'network', b'network', 'packages', b'packages', 'processes', b'processes', 'remotes', b'remotes', 'services', b'services']) -> None:
137
+ def ClearField(self, field_name: typing.Literal['_auth', b'_auth', '_debug', b'_debug', '_disable_partial_start', b'_disable_partial_start', '_maintenance', b'_maintenance', '_network', b'_network', '_tracing', b'_tracing', 'auth', b'auth', 'cloud', b'cloud', 'components', b'components', 'debug', b'debug', 'disable_log_deduplication', b'disable_log_deduplication', 'disable_partial_start', b'disable_partial_start', 'enable_web_profile', b'enable_web_profile', 'jobs', b'jobs', 'log', b'log', 'maintenance', b'maintenance', 'modules', b'modules', 'network', b'network', 'overwrite_fragment_status', b'overwrite_fragment_status', 'packages', b'packages', 'processes', b'processes', 'remotes', b'remotes', 'revision', b'revision', 'services', b'services', 'tracing', b'tracing']) -> None:
105
138
  ...
106
139
 
107
140
  @typing.overload
108
- def WhichOneof(self, oneof_group: typing_extensions.Literal['_auth', b'_auth']) -> typing_extensions.Literal['auth'] | None:
141
+ def WhichOneof(self, oneof_group: typing.Literal['_auth', b'_auth']) -> typing.Literal['auth'] | None:
109
142
  ...
110
143
 
111
144
  @typing.overload
112
- def WhichOneof(self, oneof_group: typing_extensions.Literal['_debug', b'_debug']) -> typing_extensions.Literal['debug'] | None:
145
+ def WhichOneof(self, oneof_group: typing.Literal['_debug', b'_debug']) -> typing.Literal['debug'] | None:
113
146
  ...
114
147
 
115
148
  @typing.overload
116
- def WhichOneof(self, oneof_group: typing_extensions.Literal['_disable_partial_start', b'_disable_partial_start']) -> typing_extensions.Literal['disable_partial_start'] | None:
149
+ def WhichOneof(self, oneof_group: typing.Literal['_disable_partial_start', b'_disable_partial_start']) -> typing.Literal['disable_partial_start'] | None:
117
150
  ...
118
151
 
119
152
  @typing.overload
120
- def WhichOneof(self, oneof_group: typing_extensions.Literal['_network', b'_network']) -> typing_extensions.Literal['network'] | None:
153
+ def WhichOneof(self, oneof_group: typing.Literal['_maintenance', b'_maintenance']) -> typing.Literal['maintenance'] | None:
154
+ ...
155
+
156
+ @typing.overload
157
+ def WhichOneof(self, oneof_group: typing.Literal['_network', b'_network']) -> typing.Literal['network'] | None:
158
+ ...
159
+
160
+ @typing.overload
161
+ def WhichOneof(self, oneof_group: typing.Literal['_tracing', b'_tracing']) -> typing.Literal['tracing'] | None:
121
162
  ...
122
163
  global___RobotConfig = RobotConfig
123
164
 
124
- @typing_extensions.final
165
+ @typing.final
166
+ class LogPatternConfig(google.protobuf.message.Message):
167
+ """LogPatternConfig allows you to specify a 2-tuple consisting
168
+ of a logger name and its corresponding log level.
169
+ """
170
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
171
+ PATTERN_FIELD_NUMBER: builtins.int
172
+ LEVEL_FIELD_NUMBER: builtins.int
173
+ pattern: builtins.str
174
+ level: builtins.str
175
+
176
+ def __init__(self, *, pattern: builtins.str=..., level: builtins.str=...) -> None:
177
+ ...
178
+
179
+ def ClearField(self, field_name: typing.Literal['level', b'level', 'pattern', b'pattern']) -> None:
180
+ ...
181
+ global___LogPatternConfig = LogPatternConfig
182
+
183
+ @typing.final
184
+ class JobConfig(google.protobuf.message.Message):
185
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
186
+ NAME_FIELD_NUMBER: builtins.int
187
+ SCHEDULE_FIELD_NUMBER: builtins.int
188
+ RESOURCE_FIELD_NUMBER: builtins.int
189
+ METHOD_FIELD_NUMBER: builtins.int
190
+ COMMAND_FIELD_NUMBER: builtins.int
191
+ LOG_CONFIGURATION_FIELD_NUMBER: builtins.int
192
+ name: builtins.str
193
+ 'unique name of the job.'
194
+ schedule: builtins.str
195
+ 'a unix-cron string or a Golang-parsable duration string,\n specifies the interval at which the job is run.\n '
196
+ resource: builtins.str
197
+ 'the resource associated with this job.'
198
+ method: builtins.str
199
+ "the gRPC request of this job's resource."
200
+
201
+ @property
202
+ def command(self) -> google.protobuf.struct_pb2.Struct:
203
+ """in case method is "DoCommand", specifies the
204
+ command argument of the gRPC request.
205
+ """
206
+
207
+ @property
208
+ def log_configuration(self) -> global___LogConfiguration:
209
+ """configuration for this job's logger."""
210
+
211
+ def __init__(self, *, name: builtins.str=..., schedule: builtins.str=..., resource: builtins.str=..., method: builtins.str=..., command: google.protobuf.struct_pb2.Struct | None=..., log_configuration: global___LogConfiguration | None=...) -> None:
212
+ ...
213
+
214
+ def HasField(self, field_name: typing.Literal['command', b'command', 'log_configuration', b'log_configuration']) -> builtins.bool:
215
+ ...
216
+
217
+ def ClearField(self, field_name: typing.Literal['command', b'command', 'log_configuration', b'log_configuration', 'method', b'method', 'name', b'name', 'resource', b'resource', 'schedule', b'schedule']) -> None:
218
+ ...
219
+ global___JobConfig = JobConfig
220
+
221
+ @typing.final
222
+ class TracingConfig(google.protobuf.message.Message):
223
+ """TracingConfig configures whether viam-server will record traces and if so
224
+ where it will export them.
225
+ """
226
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
227
+ ENABLED_FIELD_NUMBER: builtins.int
228
+ DISK_FIELD_NUMBER: builtins.int
229
+ CONSOLE_FIELD_NUMBER: builtins.int
230
+ OTLP_ENDPOINT_FIELD_NUMBER: builtins.int
231
+ enabled: builtins.bool
232
+ 'Globally enable or disable tracing support.'
233
+ disk: builtins.bool
234
+ 'Save trace spans to a file on disk.'
235
+ console: builtins.bool
236
+ 'Print trace spans to the console.'
237
+ otlp_endpoint: builtins.str
238
+ 'Send trace spans to an OTLP gRPC endpoint.'
239
+
240
+ def __init__(self, *, enabled: builtins.bool=..., disk: builtins.bool=..., console: builtins.bool=..., otlp_endpoint: builtins.str=...) -> None:
241
+ ...
242
+
243
+ def ClearField(self, field_name: typing.Literal['console', b'console', 'disk', b'disk', 'enabled', b'enabled', 'otlp_endpoint', b'otlp_endpoint']) -> None:
244
+ ...
245
+ global___TracingConfig = TracingConfig
246
+
247
+ @typing.final
125
248
  class LocationSecret(google.protobuf.message.Message):
126
249
  """Valid location secret that can be used for authentication to the robot."""
127
250
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -134,11 +257,24 @@ class LocationSecret(google.protobuf.message.Message):
134
257
  def __init__(self, *, id: builtins.str=..., secret: builtins.str=...) -> None:
135
258
  ...
136
259
 
137
- def ClearField(self, field_name: typing_extensions.Literal['id', b'id', 'secret', b'secret']) -> None:
260
+ def ClearField(self, field_name: typing.Literal['id', b'id', 'secret', b'secret']) -> None:
138
261
  ...
139
262
  global___LocationSecret = LocationSecret
140
263
 
141
- @typing_extensions.final
264
+ @typing.final
265
+ class AppValidationStatus(google.protobuf.message.Message):
266
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
267
+ ERROR_FIELD_NUMBER: builtins.int
268
+ error: builtins.str
269
+
270
+ def __init__(self, *, error: builtins.str=...) -> None:
271
+ ...
272
+
273
+ def ClearField(self, field_name: typing.Literal['error', b'error']) -> None:
274
+ ...
275
+ global___AppValidationStatus = AppValidationStatus
276
+
277
+ @typing.final
142
278
  class CloudConfig(google.protobuf.message.Message):
143
279
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
144
280
  ID_FIELD_NUMBER: builtins.int
@@ -150,6 +286,9 @@ class CloudConfig(google.protobuf.message.Message):
150
286
  LOCATION_SECRET_FIELD_NUMBER: builtins.int
151
287
  SECRET_FIELD_NUMBER: builtins.int
152
288
  LOCATION_SECRETS_FIELD_NUMBER: builtins.int
289
+ PRIMARY_ORG_ID_FIELD_NUMBER: builtins.int
290
+ LOCATION_ID_FIELD_NUMBER: builtins.int
291
+ MACHINE_ID_FIELD_NUMBER: builtins.int
153
292
  id: builtins.str
154
293
  'Robot part id.'
155
294
  fqdn: builtins.str
@@ -161,19 +300,22 @@ class CloudConfig(google.protobuf.message.Message):
161
300
  'Deprecated use location_secrets'
162
301
  secret: builtins.str
163
302
  'Robot part secret'
303
+ primary_org_id: builtins.str
304
+ location_id: builtins.str
305
+ machine_id: builtins.str
164
306
 
165
307
  @property
166
308
  def location_secrets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LocationSecret]:
167
309
  """All valid location secrets."""
168
310
 
169
- def __init__(self, *, id: builtins.str=..., fqdn: builtins.str=..., local_fqdn: builtins.str=..., managed_by: builtins.str=..., signaling_address: builtins.str=..., signaling_insecure: builtins.bool=..., location_secret: builtins.str=..., secret: builtins.str=..., location_secrets: collections.abc.Iterable[global___LocationSecret] | None=...) -> None:
311
+ def __init__(self, *, id: builtins.str=..., fqdn: builtins.str=..., local_fqdn: builtins.str=..., managed_by: builtins.str=..., signaling_address: builtins.str=..., signaling_insecure: builtins.bool=..., location_secret: builtins.str=..., secret: builtins.str=..., location_secrets: collections.abc.Iterable[global___LocationSecret] | None=..., primary_org_id: builtins.str=..., location_id: builtins.str=..., machine_id: builtins.str=...) -> None:
170
312
  ...
171
313
 
172
- def ClearField(self, field_name: typing_extensions.Literal['fqdn', b'fqdn', 'id', b'id', 'local_fqdn', b'local_fqdn', 'location_secret', b'location_secret', 'location_secrets', b'location_secrets', 'managed_by', b'managed_by', 'secret', b'secret', 'signaling_address', b'signaling_address', 'signaling_insecure', b'signaling_insecure']) -> None:
314
+ def ClearField(self, field_name: typing.Literal['fqdn', b'fqdn', 'id', b'id', 'local_fqdn', b'local_fqdn', 'location_id', b'location_id', 'location_secret', b'location_secret', 'location_secrets', b'location_secrets', 'machine_id', b'machine_id', 'managed_by', b'managed_by', 'primary_org_id', b'primary_org_id', 'secret', b'secret', 'signaling_address', b'signaling_address', 'signaling_insecure', b'signaling_insecure']) -> None:
173
315
  ...
174
316
  global___CloudConfig = CloudConfig
175
317
 
176
- @typing_extensions.final
318
+ @typing.final
177
319
  class ComponentConfig(google.protobuf.message.Message):
178
320
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
179
321
  NAME_FIELD_NUMBER: builtins.int
@@ -185,12 +327,14 @@ class ComponentConfig(google.protobuf.message.Message):
185
327
  SERVICE_CONFIGS_FIELD_NUMBER: builtins.int
186
328
  ATTRIBUTES_FIELD_NUMBER: builtins.int
187
329
  API_FIELD_NUMBER: builtins.int
330
+ LOG_CONFIGURATION_FIELD_NUMBER: builtins.int
188
331
  name: builtins.str
189
332
  namespace: builtins.str
190
333
  'deprecated; use api'
191
334
  type: builtins.str
192
335
  'deprecated; use api'
193
336
  model: builtins.str
337
+ api: builtins.str
194
338
 
195
339
  @property
196
340
  def frame(self) -> global___Frame:
@@ -207,19 +351,22 @@ class ComponentConfig(google.protobuf.message.Message):
207
351
  @property
208
352
  def attributes(self) -> google.protobuf.struct_pb2.Struct:
209
353
  ...
210
- api: builtins.str
211
354
 
212
- def __init__(self, *, name: builtins.str=..., namespace: builtins.str=..., type: builtins.str=..., model: builtins.str=..., frame: global___Frame | None=..., depends_on: collections.abc.Iterable[builtins.str] | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., attributes: google.protobuf.struct_pb2.Struct | None=..., api: builtins.str=...) -> None:
355
+ @property
356
+ def log_configuration(self) -> global___LogConfiguration:
357
+ ...
358
+
359
+ def __init__(self, *, name: builtins.str=..., namespace: builtins.str=..., type: builtins.str=..., model: builtins.str=..., frame: global___Frame | None=..., depends_on: collections.abc.Iterable[builtins.str] | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., attributes: google.protobuf.struct_pb2.Struct | None=..., api: builtins.str=..., log_configuration: global___LogConfiguration | None=...) -> None:
213
360
  ...
214
361
 
215
- def HasField(self, field_name: typing_extensions.Literal['attributes', b'attributes', 'frame', b'frame']) -> builtins.bool:
362
+ def HasField(self, field_name: typing.Literal['attributes', b'attributes', 'frame', b'frame', 'log_configuration', b'log_configuration']) -> builtins.bool:
216
363
  ...
217
364
 
218
- def ClearField(self, field_name: typing_extensions.Literal['api', b'api', 'attributes', b'attributes', 'depends_on', b'depends_on', 'frame', b'frame', 'model', b'model', 'name', b'name', 'namespace', b'namespace', 'service_configs', b'service_configs', 'type', b'type']) -> None:
365
+ def ClearField(self, field_name: typing.Literal['api', b'api', 'attributes', b'attributes', 'depends_on', b'depends_on', 'frame', b'frame', 'log_configuration', b'log_configuration', 'model', b'model', 'name', b'name', 'namespace', b'namespace', 'service_configs', b'service_configs', 'type', b'type']) -> None:
219
366
  ...
220
367
  global___ComponentConfig = ComponentConfig
221
368
 
222
- @typing_extensions.final
369
+ @typing.final
223
370
  class ResourceLevelServiceConfig(google.protobuf.message.Message):
224
371
  """A ResourceLevelServiceConfig describes component or remote configuration for a service."""
225
372
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -234,17 +381,31 @@ class ResourceLevelServiceConfig(google.protobuf.message.Message):
234
381
  def __init__(self, *, type: builtins.str=..., attributes: google.protobuf.struct_pb2.Struct | None=...) -> None:
235
382
  ...
236
383
 
237
- def HasField(self, field_name: typing_extensions.Literal['attributes', b'attributes']) -> builtins.bool:
384
+ def HasField(self, field_name: typing.Literal['attributes', b'attributes']) -> builtins.bool:
238
385
  ...
239
386
 
240
- def ClearField(self, field_name: typing_extensions.Literal['attributes', b'attributes', 'type', b'type']) -> None:
387
+ def ClearField(self, field_name: typing.Literal['attributes', b'attributes', 'type', b'type']) -> None:
241
388
  ...
242
389
  global___ResourceLevelServiceConfig = ResourceLevelServiceConfig
243
390
 
244
- @typing_extensions.final
391
+ @typing.final
245
392
  class ProcessConfig(google.protobuf.message.Message):
246
393
  """A ProcessConfig describes how to manage a system process."""
247
394
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
395
+
396
+ @typing.final
397
+ class EnvEntry(google.protobuf.message.Message):
398
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
399
+ KEY_FIELD_NUMBER: builtins.int
400
+ VALUE_FIELD_NUMBER: builtins.int
401
+ key: builtins.str
402
+ value: builtins.str
403
+
404
+ def __init__(self, *, key: builtins.str=..., value: builtins.str=...) -> None:
405
+ ...
406
+
407
+ def ClearField(self, field_name: typing.Literal['key', b'key', 'value', b'value']) -> None:
408
+ ...
248
409
  ID_FIELD_NUMBER: builtins.int
249
410
  NAME_FIELD_NUMBER: builtins.int
250
411
  ARGS_FIELD_NUMBER: builtins.int
@@ -253,32 +414,39 @@ class ProcessConfig(google.protobuf.message.Message):
253
414
  LOG_FIELD_NUMBER: builtins.int
254
415
  STOP_SIGNAL_FIELD_NUMBER: builtins.int
255
416
  STOP_TIMEOUT_FIELD_NUMBER: builtins.int
417
+ ENV_FIELD_NUMBER: builtins.int
418
+ USERNAME_FIELD_NUMBER: builtins.int
256
419
  id: builtins.str
257
420
  name: builtins.str
258
-
259
- @property
260
- def args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
261
- ...
262
421
  cwd: builtins.str
263
422
  one_shot: builtins.bool
264
423
  log: builtins.bool
265
424
  stop_signal: builtins.int
425
+ username: builtins.str
426
+
427
+ @property
428
+ def args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
429
+ ...
266
430
 
267
431
  @property
268
432
  def stop_timeout(self) -> google.protobuf.duration_pb2.Duration:
269
433
  ...
270
434
 
271
- def __init__(self, *, id: builtins.str=..., name: builtins.str=..., args: collections.abc.Iterable[builtins.str] | None=..., cwd: builtins.str=..., one_shot: builtins.bool=..., log: builtins.bool=..., stop_signal: builtins.int=..., stop_timeout: google.protobuf.duration_pb2.Duration | None=...) -> None:
435
+ @property
436
+ def env(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
437
+ """additional environment variables passed to the process"""
438
+
439
+ def __init__(self, *, id: builtins.str=..., name: builtins.str=..., args: collections.abc.Iterable[builtins.str] | None=..., cwd: builtins.str=..., one_shot: builtins.bool=..., log: builtins.bool=..., stop_signal: builtins.int=..., stop_timeout: google.protobuf.duration_pb2.Duration | None=..., env: collections.abc.Mapping[builtins.str, builtins.str] | None=..., username: builtins.str=...) -> None:
272
440
  ...
273
441
 
274
- def HasField(self, field_name: typing_extensions.Literal['stop_timeout', b'stop_timeout']) -> builtins.bool:
442
+ def HasField(self, field_name: typing.Literal['stop_timeout', b'stop_timeout']) -> builtins.bool:
275
443
  ...
276
444
 
277
- def ClearField(self, field_name: typing_extensions.Literal['args', b'args', 'cwd', b'cwd', 'id', b'id', 'log', b'log', 'name', b'name', 'one_shot', b'one_shot', 'stop_signal', b'stop_signal', 'stop_timeout', b'stop_timeout']) -> None:
445
+ def ClearField(self, field_name: typing.Literal['args', b'args', 'cwd', b'cwd', 'env', b'env', 'id', b'id', 'log', b'log', 'name', b'name', 'one_shot', b'one_shot', 'stop_signal', b'stop_signal', 'stop_timeout', b'stop_timeout', 'username', b'username']) -> None:
278
446
  ...
279
447
  global___ProcessConfig = ProcessConfig
280
448
 
281
- @typing_extensions.final
449
+ @typing.final
282
450
  class ServiceConfig(google.protobuf.message.Message):
283
451
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
284
452
  NAME_FIELD_NUMBER: builtins.int
@@ -288,11 +456,15 @@ class ServiceConfig(google.protobuf.message.Message):
288
456
  DEPENDS_ON_FIELD_NUMBER: builtins.int
289
457
  MODEL_FIELD_NUMBER: builtins.int
290
458
  API_FIELD_NUMBER: builtins.int
459
+ SERVICE_CONFIGS_FIELD_NUMBER: builtins.int
460
+ LOG_CONFIGURATION_FIELD_NUMBER: builtins.int
291
461
  name: builtins.str
292
462
  namespace: builtins.str
293
463
  'deprecated; use api'
294
464
  type: builtins.str
295
465
  'deprecated; use api'
466
+ model: builtins.str
467
+ api: builtins.str
296
468
 
297
469
  @property
298
470
  def attributes(self) -> google.protobuf.struct_pb2.Struct:
@@ -301,39 +473,100 @@ class ServiceConfig(google.protobuf.message.Message):
301
473
  @property
302
474
  def depends_on(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
303
475
  ...
304
- model: builtins.str
305
- api: builtins.str
306
476
 
307
- def __init__(self, *, name: builtins.str=..., namespace: builtins.str=..., type: builtins.str=..., attributes: google.protobuf.struct_pb2.Struct | None=..., depends_on: collections.abc.Iterable[builtins.str] | None=..., model: builtins.str=..., api: builtins.str=...) -> None:
477
+ @property
478
+ def service_configs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResourceLevelServiceConfig]:
479
+ ...
480
+
481
+ @property
482
+ def log_configuration(self) -> global___LogConfiguration:
308
483
  ...
309
484
 
310
- def HasField(self, field_name: typing_extensions.Literal['attributes', b'attributes']) -> builtins.bool:
485
+ def __init__(self, *, name: builtins.str=..., namespace: builtins.str=..., type: builtins.str=..., attributes: google.protobuf.struct_pb2.Struct | None=..., depends_on: collections.abc.Iterable[builtins.str] | None=..., model: builtins.str=..., api: builtins.str=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., log_configuration: global___LogConfiguration | None=...) -> None:
311
486
  ...
312
487
 
313
- def ClearField(self, field_name: typing_extensions.Literal['api', b'api', 'attributes', b'attributes', 'depends_on', b'depends_on', 'model', b'model', 'name', b'name', 'namespace', b'namespace', 'type', b'type']) -> None:
488
+ def HasField(self, field_name: typing.Literal['attributes', b'attributes', 'log_configuration', b'log_configuration']) -> builtins.bool:
489
+ ...
490
+
491
+ def ClearField(self, field_name: typing.Literal['api', b'api', 'attributes', b'attributes', 'depends_on', b'depends_on', 'log_configuration', b'log_configuration', 'model', b'model', 'name', b'name', 'namespace', b'namespace', 'service_configs', b'service_configs', 'type', b'type']) -> None:
314
492
  ...
315
493
  global___ServiceConfig = ServiceConfig
316
494
 
317
- @typing_extensions.final
495
+ @typing.final
318
496
  class NetworkConfig(google.protobuf.message.Message):
319
497
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
320
498
  FQDN_FIELD_NUMBER: builtins.int
321
499
  BIND_ADDRESS_FIELD_NUMBER: builtins.int
322
500
  TLS_CERT_FILE_FIELD_NUMBER: builtins.int
323
501
  TLS_KEY_FILE_FIELD_NUMBER: builtins.int
502
+ SESSIONS_FIELD_NUMBER: builtins.int
503
+ TRAFFIC_TUNNEL_ENDPOINTS_FIELD_NUMBER: builtins.int
504
+ NO_TLS_FIELD_NUMBER: builtins.int
324
505
  fqdn: builtins.str
325
506
  bind_address: builtins.str
326
507
  tls_cert_file: builtins.str
327
508
  tls_key_file: builtins.str
509
+ no_tls: builtins.bool
510
+
511
+ @property
512
+ def sessions(self) -> global___SessionsConfig:
513
+ ...
514
+
515
+ @property
516
+ def traffic_tunnel_endpoints(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TrafficTunnelEndpoint]:
517
+ ...
518
+
519
+ def __init__(self, *, fqdn: builtins.str=..., bind_address: builtins.str=..., tls_cert_file: builtins.str=..., tls_key_file: builtins.str=..., sessions: global___SessionsConfig | None=..., traffic_tunnel_endpoints: collections.abc.Iterable[global___TrafficTunnelEndpoint] | None=..., no_tls: builtins.bool=...) -> None:
520
+ ...
328
521
 
329
- def __init__(self, *, fqdn: builtins.str=..., bind_address: builtins.str=..., tls_cert_file: builtins.str=..., tls_key_file: builtins.str=...) -> None:
522
+ def HasField(self, field_name: typing.Literal['sessions', b'sessions']) -> builtins.bool:
330
523
  ...
331
524
 
332
- def ClearField(self, field_name: typing_extensions.Literal['bind_address', b'bind_address', 'fqdn', b'fqdn', 'tls_cert_file', b'tls_cert_file', 'tls_key_file', b'tls_key_file']) -> None:
525
+ def ClearField(self, field_name: typing.Literal['bind_address', b'bind_address', 'fqdn', b'fqdn', 'no_tls', b'no_tls', 'sessions', b'sessions', 'tls_cert_file', b'tls_cert_file', 'tls_key_file', b'tls_key_file', 'traffic_tunnel_endpoints', b'traffic_tunnel_endpoints']) -> None:
333
526
  ...
334
527
  global___NetworkConfig = NetworkConfig
335
528
 
336
- @typing_extensions.final
529
+ @typing.final
530
+ class SessionsConfig(google.protobuf.message.Message):
531
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
532
+ HEARTBEAT_WINDOW_FIELD_NUMBER: builtins.int
533
+
534
+ @property
535
+ def heartbeat_window(self) -> google.protobuf.duration_pb2.Duration:
536
+ ...
537
+
538
+ def __init__(self, *, heartbeat_window: google.protobuf.duration_pb2.Duration | None=...) -> None:
539
+ ...
540
+
541
+ def HasField(self, field_name: typing.Literal['heartbeat_window', b'heartbeat_window']) -> builtins.bool:
542
+ ...
543
+
544
+ def ClearField(self, field_name: typing.Literal['heartbeat_window', b'heartbeat_window']) -> None:
545
+ ...
546
+ global___SessionsConfig = SessionsConfig
547
+
548
+ @typing.final
549
+ class TrafficTunnelEndpoint(google.protobuf.message.Message):
550
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
551
+ PORT_FIELD_NUMBER: builtins.int
552
+ CONNECTION_TIMEOUT_FIELD_NUMBER: builtins.int
553
+ port: builtins.int
554
+
555
+ @property
556
+ def connection_timeout(self) -> google.protobuf.duration_pb2.Duration:
557
+ ...
558
+
559
+ def __init__(self, *, port: builtins.int=..., connection_timeout: google.protobuf.duration_pb2.Duration | None=...) -> None:
560
+ ...
561
+
562
+ def HasField(self, field_name: typing.Literal['connection_timeout', b'connection_timeout']) -> builtins.bool:
563
+ ...
564
+
565
+ def ClearField(self, field_name: typing.Literal['connection_timeout', b'connection_timeout', 'port', b'port']) -> None:
566
+ ...
567
+ global___TrafficTunnelEndpoint = TrafficTunnelEndpoint
568
+
569
+ @typing.final
337
570
  class AuthConfig(google.protobuf.message.Message):
338
571
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
339
572
  HANDLERS_FIELD_NUMBER: builtins.int
@@ -355,17 +588,17 @@ class AuthConfig(google.protobuf.message.Message):
355
588
  def __init__(self, *, handlers: collections.abc.Iterable[global___AuthHandlerConfig] | None=..., tls_auth_entities: collections.abc.Iterable[builtins.str] | None=..., external_auth_config: global___ExternalAuthConfig | None=...) -> None:
356
589
  ...
357
590
 
358
- def HasField(self, field_name: typing_extensions.Literal['_external_auth_config', b'_external_auth_config', 'external_auth_config', b'external_auth_config']) -> builtins.bool:
591
+ def HasField(self, field_name: typing.Literal['_external_auth_config', b'_external_auth_config', 'external_auth_config', b'external_auth_config']) -> builtins.bool:
359
592
  ...
360
593
 
361
- def ClearField(self, field_name: typing_extensions.Literal['_external_auth_config', b'_external_auth_config', 'external_auth_config', b'external_auth_config', 'handlers', b'handlers', 'tls_auth_entities', b'tls_auth_entities']) -> None:
594
+ def ClearField(self, field_name: typing.Literal['_external_auth_config', b'_external_auth_config', 'external_auth_config', b'external_auth_config', 'handlers', b'handlers', 'tls_auth_entities', b'tls_auth_entities']) -> None:
362
595
  ...
363
596
 
364
- def WhichOneof(self, oneof_group: typing_extensions.Literal['_external_auth_config', b'_external_auth_config']) -> typing_extensions.Literal['external_auth_config'] | None:
597
+ def WhichOneof(self, oneof_group: typing.Literal['_external_auth_config', b'_external_auth_config']) -> typing.Literal['external_auth_config'] | None:
365
598
  ...
366
599
  global___AuthConfig = AuthConfig
367
600
 
368
- @typing_extensions.final
601
+ @typing.final
369
602
  class JWKSFile(google.protobuf.message.Message):
370
603
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
371
604
  JSON_FIELD_NUMBER: builtins.int
@@ -379,14 +612,14 @@ class JWKSFile(google.protobuf.message.Message):
379
612
  def __init__(self, *, json: google.protobuf.struct_pb2.Struct | None=...) -> None:
380
613
  ...
381
614
 
382
- def HasField(self, field_name: typing_extensions.Literal['json', b'json']) -> builtins.bool:
615
+ def HasField(self, field_name: typing.Literal['json', b'json']) -> builtins.bool:
383
616
  ...
384
617
 
385
- def ClearField(self, field_name: typing_extensions.Literal['json', b'json']) -> None:
618
+ def ClearField(self, field_name: typing.Literal['json', b'json']) -> None:
386
619
  ...
387
620
  global___JWKSFile = JWKSFile
388
621
 
389
- @typing_extensions.final
622
+ @typing.final
390
623
  class ExternalAuthConfig(google.protobuf.message.Message):
391
624
  """ExternalAuthConfig describes how a viam managed robot can accept
392
625
  credentials signed by the cloud app.
@@ -401,14 +634,14 @@ class ExternalAuthConfig(google.protobuf.message.Message):
401
634
  def __init__(self, *, jwks: global___JWKSFile | None=...) -> None:
402
635
  ...
403
636
 
404
- def HasField(self, field_name: typing_extensions.Literal['jwks', b'jwks']) -> builtins.bool:
637
+ def HasField(self, field_name: typing.Literal['jwks', b'jwks']) -> builtins.bool:
405
638
  ...
406
639
 
407
- def ClearField(self, field_name: typing_extensions.Literal['jwks', b'jwks']) -> None:
640
+ def ClearField(self, field_name: typing.Literal['jwks', b'jwks']) -> None:
408
641
  ...
409
642
  global___ExternalAuthConfig = ExternalAuthConfig
410
643
 
411
- @typing_extensions.final
644
+ @typing.final
412
645
  class AuthHandlerConfig(google.protobuf.message.Message):
413
646
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
414
647
  TYPE_FIELD_NUMBER: builtins.int
@@ -422,14 +655,14 @@ class AuthHandlerConfig(google.protobuf.message.Message):
422
655
  def __init__(self, *, type: global___CredentialsType.ValueType=..., config: google.protobuf.struct_pb2.Struct | None=...) -> None:
423
656
  ...
424
657
 
425
- def HasField(self, field_name: typing_extensions.Literal['config', b'config']) -> builtins.bool:
658
+ def HasField(self, field_name: typing.Literal['config', b'config']) -> builtins.bool:
426
659
  ...
427
660
 
428
- def ClearField(self, field_name: typing_extensions.Literal['config', b'config', 'type', b'type']) -> None:
661
+ def ClearField(self, field_name: typing.Literal['config', b'config', 'type', b'type']) -> None:
429
662
  ...
430
663
  global___AuthHandlerConfig = AuthHandlerConfig
431
664
 
432
- @typing_extensions.final
665
+ @typing.final
433
666
  class Frame(google.protobuf.message.Message):
434
667
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
435
668
  PARENT_FIELD_NUMBER: builtins.int
@@ -453,14 +686,27 @@ class Frame(google.protobuf.message.Message):
453
686
  def __init__(self, *, parent: builtins.str=..., translation: global___Translation | None=..., orientation: global___Orientation | None=..., geometry: common.v1.common_pb2.Geometry | None=...) -> None:
454
687
  ...
455
688
 
456
- def HasField(self, field_name: typing_extensions.Literal['geometry', b'geometry', 'orientation', b'orientation', 'translation', b'translation']) -> builtins.bool:
689
+ def HasField(self, field_name: typing.Literal['geometry', b'geometry', 'orientation', b'orientation', 'translation', b'translation']) -> builtins.bool:
457
690
  ...
458
691
 
459
- def ClearField(self, field_name: typing_extensions.Literal['geometry', b'geometry', 'orientation', b'orientation', 'parent', b'parent', 'translation', b'translation']) -> None:
692
+ def ClearField(self, field_name: typing.Literal['geometry', b'geometry', 'orientation', b'orientation', 'parent', b'parent', 'translation', b'translation']) -> None:
460
693
  ...
461
694
  global___Frame = Frame
462
695
 
463
- @typing_extensions.final
696
+ @typing.final
697
+ class LogConfiguration(google.protobuf.message.Message):
698
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
699
+ LEVEL_FIELD_NUMBER: builtins.int
700
+ level: builtins.str
701
+
702
+ def __init__(self, *, level: builtins.str=...) -> None:
703
+ ...
704
+
705
+ def ClearField(self, field_name: typing.Literal['level', b'level']) -> None:
706
+ ...
707
+ global___LogConfiguration = LogConfiguration
708
+
709
+ @typing.final
464
710
  class Translation(google.protobuf.message.Message):
465
711
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
466
712
  X_FIELD_NUMBER: builtins.int
@@ -473,22 +719,22 @@ class Translation(google.protobuf.message.Message):
473
719
  def __init__(self, *, x: builtins.float=..., y: builtins.float=..., z: builtins.float=...) -> None:
474
720
  ...
475
721
 
476
- def ClearField(self, field_name: typing_extensions.Literal['x', b'x', 'y', b'y', 'z', b'z']) -> None:
722
+ def ClearField(self, field_name: typing.Literal['x', b'x', 'y', b'y', 'z', b'z']) -> None:
477
723
  ...
478
724
  global___Translation = Translation
479
725
 
480
- @typing_extensions.final
726
+ @typing.final
481
727
  class Orientation(google.protobuf.message.Message):
482
728
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
483
729
 
484
- @typing_extensions.final
730
+ @typing.final
485
731
  class NoOrientation(google.protobuf.message.Message):
486
732
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
487
733
 
488
734
  def __init__(self) -> None:
489
735
  ...
490
736
 
491
- @typing_extensions.final
737
+ @typing.final
492
738
  class OrientationVectorRadians(google.protobuf.message.Message):
493
739
  """OrientationVector containing ox, oy, oz, theta represents an orientation vector
494
740
  Structured similarly to an angle axis, an orientation vector works differently. Rather than representing an orientation
@@ -513,10 +759,10 @@ class Orientation(google.protobuf.message.Message):
513
759
  def __init__(self, *, theta: builtins.float=..., x: builtins.float=..., y: builtins.float=..., z: builtins.float=...) -> None:
514
760
  ...
515
761
 
516
- def ClearField(self, field_name: typing_extensions.Literal['theta', b'theta', 'x', b'x', 'y', b'y', 'z', b'z']) -> None:
762
+ def ClearField(self, field_name: typing.Literal['theta', b'theta', 'x', b'x', 'y', b'y', 'z', b'z']) -> None:
517
763
  ...
518
764
 
519
- @typing_extensions.final
765
+ @typing.final
520
766
  class OrientationVectorDegrees(google.protobuf.message.Message):
521
767
  """OrientationVectorDegrees is the orientation vector between two objects, but expressed in degrees rather than radians.
522
768
  Because protobuf Pose is in degrees, this is necessary.
@@ -534,10 +780,10 @@ class Orientation(google.protobuf.message.Message):
534
780
  def __init__(self, *, theta: builtins.float=..., x: builtins.float=..., y: builtins.float=..., z: builtins.float=...) -> None:
535
781
  ...
536
782
 
537
- def ClearField(self, field_name: typing_extensions.Literal['theta', b'theta', 'x', b'x', 'y', b'y', 'z', b'z']) -> None:
783
+ def ClearField(self, field_name: typing.Literal['theta', b'theta', 'x', b'x', 'y', b'y', 'z', b'z']) -> None:
538
784
  ...
539
785
 
540
- @typing_extensions.final
786
+ @typing.final
541
787
  class EulerAngles(google.protobuf.message.Message):
542
788
  """EulerAngles are three angles (in radians) used to represent the rotation of an object in 3D Euclidean space
543
789
  The Tait–Bryan angle formalism is used, with rotations around three distinct axes in the z-y′-x″ sequence.
@@ -553,10 +799,10 @@ class Orientation(google.protobuf.message.Message):
553
799
  def __init__(self, *, roll: builtins.float=..., pitch: builtins.float=..., yaw: builtins.float=...) -> None:
554
800
  ...
555
801
 
556
- def ClearField(self, field_name: typing_extensions.Literal['pitch', b'pitch', 'roll', b'roll', 'yaw', b'yaw']) -> None:
802
+ def ClearField(self, field_name: typing.Literal['pitch', b'pitch', 'roll', b'roll', 'yaw', b'yaw']) -> None:
557
803
  ...
558
804
 
559
- @typing_extensions.final
805
+ @typing.final
560
806
  class AxisAngles(google.protobuf.message.Message):
561
807
  """See here for a thorough explanation: https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representation
562
808
  Basic explanation: Imagine a 3d cartesian grid centered at 0,0,0, and a sphere of radius 1 centered at
@@ -579,10 +825,10 @@ class Orientation(google.protobuf.message.Message):
579
825
  def __init__(self, *, theta: builtins.float=..., x: builtins.float=..., y: builtins.float=..., z: builtins.float=...) -> None:
580
826
  ...
581
827
 
582
- def ClearField(self, field_name: typing_extensions.Literal['theta', b'theta', 'x', b'x', 'y', b'y', 'z', b'z']) -> None:
828
+ def ClearField(self, field_name: typing.Literal['theta', b'theta', 'x', b'x', 'y', b'y', 'z', b'z']) -> None:
583
829
  ...
584
830
 
585
- @typing_extensions.final
831
+ @typing.final
586
832
  class Quaternion(google.protobuf.message.Message):
587
833
  """Quaternion is a float64 precision quaternion."""
588
834
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -598,7 +844,7 @@ class Orientation(google.protobuf.message.Message):
598
844
  def __init__(self, *, w: builtins.float=..., x: builtins.float=..., y: builtins.float=..., z: builtins.float=...) -> None:
599
845
  ...
600
846
 
601
- def ClearField(self, field_name: typing_extensions.Literal['w', b'w', 'x', b'x', 'y', b'y', 'z', b'z']) -> None:
847
+ def ClearField(self, field_name: typing.Literal['w', b'w', 'x', b'x', 'y', b'y', 'z', b'z']) -> None:
602
848
  ...
603
849
  NO_ORIENTATION_FIELD_NUMBER: builtins.int
604
850
  VECTOR_RADIANS_FIELD_NUMBER: builtins.int
@@ -634,17 +880,17 @@ class Orientation(google.protobuf.message.Message):
634
880
  def __init__(self, *, no_orientation: global___Orientation.NoOrientation | None=..., vector_radians: global___Orientation.OrientationVectorRadians | None=..., vector_degrees: global___Orientation.OrientationVectorDegrees | None=..., euler_angles: global___Orientation.EulerAngles | None=..., axis_angles: global___Orientation.AxisAngles | None=..., quaternion: global___Orientation.Quaternion | None=...) -> None:
635
881
  ...
636
882
 
637
- def HasField(self, field_name: typing_extensions.Literal['axis_angles', b'axis_angles', 'euler_angles', b'euler_angles', 'no_orientation', b'no_orientation', 'quaternion', b'quaternion', 'type', b'type', 'vector_degrees', b'vector_degrees', 'vector_radians', b'vector_radians']) -> builtins.bool:
883
+ def HasField(self, field_name: typing.Literal['axis_angles', b'axis_angles', 'euler_angles', b'euler_angles', 'no_orientation', b'no_orientation', 'quaternion', b'quaternion', 'type', b'type', 'vector_degrees', b'vector_degrees', 'vector_radians', b'vector_radians']) -> builtins.bool:
638
884
  ...
639
885
 
640
- def ClearField(self, field_name: typing_extensions.Literal['axis_angles', b'axis_angles', 'euler_angles', b'euler_angles', 'no_orientation', b'no_orientation', 'quaternion', b'quaternion', 'type', b'type', 'vector_degrees', b'vector_degrees', 'vector_radians', b'vector_radians']) -> None:
886
+ def ClearField(self, field_name: typing.Literal['axis_angles', b'axis_angles', 'euler_angles', b'euler_angles', 'no_orientation', b'no_orientation', 'quaternion', b'quaternion', 'type', b'type', 'vector_degrees', b'vector_degrees', 'vector_radians', b'vector_radians']) -> None:
641
887
  ...
642
888
 
643
- def WhichOneof(self, oneof_group: typing_extensions.Literal['type', b'type']) -> typing_extensions.Literal['no_orientation', 'vector_radians', 'vector_degrees', 'euler_angles', 'axis_angles', 'quaternion'] | None:
889
+ def WhichOneof(self, oneof_group: typing.Literal['type', b'type']) -> typing.Literal['no_orientation', 'vector_radians', 'vector_degrees', 'euler_angles', 'axis_angles', 'quaternion'] | None:
644
890
  ...
645
891
  global___Orientation = Orientation
646
892
 
647
- @typing_extensions.final
893
+ @typing.final
648
894
  class RemoteConfig(google.protobuf.message.Message):
649
895
  """A RemoteConfig describes a remote robot that should be integrated.
650
896
  The Frame field defines how the "world" node of the remote robot should be reconciled with the "world" node of the
@@ -662,8 +908,15 @@ class RemoteConfig(google.protobuf.message.Message):
662
908
  RECONNECT_INTERVAL_FIELD_NUMBER: builtins.int
663
909
  SERVICE_CONFIGS_FIELD_NUMBER: builtins.int
664
910
  SECRET_FIELD_NUMBER: builtins.int
911
+ PREFIX_FIELD_NUMBER: builtins.int
665
912
  name: builtins.str
666
913
  address: builtins.str
914
+ managed_by: builtins.str
915
+ insecure: builtins.bool
916
+ secret: builtins.str
917
+ 'Secret is a helper for a robot location secret.'
918
+ prefix: builtins.str
919
+ 'A string with which to prefix all resource names fetched from this remote.'
667
920
 
668
921
  @property
669
922
  def frame(self) -> global___Frame:
@@ -672,8 +925,6 @@ class RemoteConfig(google.protobuf.message.Message):
672
925
  @property
673
926
  def auth(self) -> global___RemoteAuth:
674
927
  ...
675
- managed_by: builtins.str
676
- insecure: builtins.bool
677
928
 
678
929
  @property
679
930
  def connection_check_interval(self) -> google.protobuf.duration_pb2.Duration:
@@ -686,20 +937,18 @@ class RemoteConfig(google.protobuf.message.Message):
686
937
  @property
687
938
  def service_configs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResourceLevelServiceConfig]:
688
939
  ...
689
- secret: builtins.str
690
- 'Secret is a helper for a robot location secret.'
691
940
 
692
- def __init__(self, *, name: builtins.str=..., address: builtins.str=..., frame: global___Frame | None=..., auth: global___RemoteAuth | None=..., managed_by: builtins.str=..., insecure: builtins.bool=..., connection_check_interval: google.protobuf.duration_pb2.Duration | None=..., reconnect_interval: google.protobuf.duration_pb2.Duration | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., secret: builtins.str=...) -> None:
941
+ def __init__(self, *, name: builtins.str=..., address: builtins.str=..., frame: global___Frame | None=..., auth: global___RemoteAuth | None=..., managed_by: builtins.str=..., insecure: builtins.bool=..., connection_check_interval: google.protobuf.duration_pb2.Duration | None=..., reconnect_interval: google.protobuf.duration_pb2.Duration | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., secret: builtins.str=..., prefix: builtins.str=...) -> None:
693
942
  ...
694
943
 
695
- def HasField(self, field_name: typing_extensions.Literal['auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'reconnect_interval', b'reconnect_interval']) -> builtins.bool:
944
+ def HasField(self, field_name: typing.Literal['auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'reconnect_interval', b'reconnect_interval']) -> builtins.bool:
696
945
  ...
697
946
 
698
- def ClearField(self, field_name: typing_extensions.Literal['address', b'address', 'auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'insecure', b'insecure', 'managed_by', b'managed_by', 'name', b'name', 'reconnect_interval', b'reconnect_interval', 'secret', b'secret', 'service_configs', b'service_configs']) -> None:
947
+ def ClearField(self, field_name: typing.Literal['address', b'address', 'auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'insecure', b'insecure', 'managed_by', b'managed_by', 'name', b'name', 'prefix', b'prefix', 'reconnect_interval', b'reconnect_interval', 'secret', b'secret', 'service_configs', b'service_configs']) -> None:
699
948
  ...
700
949
  global___RemoteConfig = RemoteConfig
701
950
 
702
- @typing_extensions.final
951
+ @typing.final
703
952
  class RemoteAuth(google.protobuf.message.Message):
704
953
  """RemoteAuth specifies how to authenticate against a remote. If no credentials are
705
954
  specified, authentication does not happen. If an entity is specified, the
@@ -707,7 +956,7 @@ class RemoteAuth(google.protobuf.message.Message):
707
956
  """
708
957
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
709
958
 
710
- @typing_extensions.final
959
+ @typing.final
711
960
  class Credentials(google.protobuf.message.Message):
712
961
  """Credentials packages up both a type of credential along with its payload which
713
962
  is formatted specific to the type.
@@ -721,27 +970,27 @@ class RemoteAuth(google.protobuf.message.Message):
721
970
  def __init__(self, *, type: global___CredentialsType.ValueType=..., payload: builtins.str=...) -> None:
722
971
  ...
723
972
 
724
- def ClearField(self, field_name: typing_extensions.Literal['payload', b'payload', 'type', b'type']) -> None:
973
+ def ClearField(self, field_name: typing.Literal['payload', b'payload', 'type', b'type']) -> None:
725
974
  ...
726
975
  CREDENTIALS_FIELD_NUMBER: builtins.int
727
976
  ENTITY_FIELD_NUMBER: builtins.int
977
+ entity: builtins.str
728
978
 
729
979
  @property
730
980
  def credentials(self) -> global___RemoteAuth.Credentials:
731
981
  ...
732
- entity: builtins.str
733
982
 
734
983
  def __init__(self, *, credentials: global___RemoteAuth.Credentials | None=..., entity: builtins.str=...) -> None:
735
984
  ...
736
985
 
737
- def HasField(self, field_name: typing_extensions.Literal['credentials', b'credentials']) -> builtins.bool:
986
+ def HasField(self, field_name: typing.Literal['credentials', b'credentials']) -> builtins.bool:
738
987
  ...
739
988
 
740
- def ClearField(self, field_name: typing_extensions.Literal['credentials', b'credentials', 'entity', b'entity']) -> None:
989
+ def ClearField(self, field_name: typing.Literal['credentials', b'credentials', 'entity', b'entity']) -> None:
741
990
  ...
742
991
  global___RemoteAuth = RemoteAuth
743
992
 
744
- @typing_extensions.final
993
+ @typing.final
745
994
  class AgentInfo(google.protobuf.message.Message):
746
995
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
747
996
  HOST_FIELD_NUMBER: builtins.int
@@ -749,24 +998,39 @@ class AgentInfo(google.protobuf.message.Message):
749
998
  IPS_FIELD_NUMBER: builtins.int
750
999
  VERSION_FIELD_NUMBER: builtins.int
751
1000
  GIT_REVISION_FIELD_NUMBER: builtins.int
1001
+ PLATFORM_FIELD_NUMBER: builtins.int
1002
+ PLATFORM_TAGS_FIELD_NUMBER: builtins.int
752
1003
  host: builtins.str
753
1004
  os: builtins.str
1005
+ 'Will soon be deprecated, use platform instead'
1006
+ version: builtins.str
1007
+ 'RDK version'
1008
+ git_revision: builtins.str
1009
+ platform: builtins.str
1010
+ 'The platform the RDK is running on. For example linux/amd64'
754
1011
 
755
1012
  @property
756
1013
  def ips(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
757
1014
  """list of all ipv4 ips."""
758
- version: builtins.str
759
- 'RDK version'
760
- git_revision: builtins.str
761
1015
 
762
- def __init__(self, *, host: builtins.str=..., os: builtins.str=..., ips: collections.abc.Iterable[builtins.str] | None=..., version: builtins.str=..., git_revision: builtins.str=...) -> None:
1016
+ @property
1017
+ def platform_tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1018
+ """Optional tags to further constrain which artifact is returned for modules."""
1019
+
1020
+ def __init__(self, *, host: builtins.str=..., os: builtins.str=..., ips: collections.abc.Iterable[builtins.str] | None=..., version: builtins.str=..., git_revision: builtins.str=..., platform: builtins.str | None=..., platform_tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
763
1021
  ...
764
1022
 
765
- def ClearField(self, field_name: typing_extensions.Literal['git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'version', b'version']) -> None:
1023
+ def HasField(self, field_name: typing.Literal['_platform', b'_platform', 'platform', b'platform']) -> builtins.bool:
1024
+ ...
1025
+
1026
+ def ClearField(self, field_name: typing.Literal['_platform', b'_platform', 'git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'platform', b'platform', 'platform_tags', b'platform_tags', 'version', b'version']) -> None:
1027
+ ...
1028
+
1029
+ def WhichOneof(self, oneof_group: typing.Literal['_platform', b'_platform']) -> typing.Literal['platform'] | None:
766
1030
  ...
767
1031
  global___AgentInfo = AgentInfo
768
1032
 
769
- @typing_extensions.final
1033
+ @typing.final
770
1034
  class ConfigRequest(google.protobuf.message.Message):
771
1035
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
772
1036
  ID_FIELD_NUMBER: builtins.int
@@ -781,17 +1045,17 @@ class ConfigRequest(google.protobuf.message.Message):
781
1045
  def __init__(self, *, id: builtins.str=..., agent_info: global___AgentInfo | None=...) -> None:
782
1046
  ...
783
1047
 
784
- def HasField(self, field_name: typing_extensions.Literal['_agent_info', b'_agent_info', 'agent_info', b'agent_info']) -> builtins.bool:
1048
+ def HasField(self, field_name: typing.Literal['_agent_info', b'_agent_info', 'agent_info', b'agent_info']) -> builtins.bool:
785
1049
  ...
786
1050
 
787
- def ClearField(self, field_name: typing_extensions.Literal['_agent_info', b'_agent_info', 'agent_info', b'agent_info', 'id', b'id']) -> None:
1051
+ def ClearField(self, field_name: typing.Literal['_agent_info', b'_agent_info', 'agent_info', b'agent_info', 'id', b'id']) -> None:
788
1052
  ...
789
1053
 
790
- def WhichOneof(self, oneof_group: typing_extensions.Literal['_agent_info', b'_agent_info']) -> typing_extensions.Literal['agent_info'] | None:
1054
+ def WhichOneof(self, oneof_group: typing.Literal['_agent_info', b'_agent_info']) -> typing.Literal['agent_info'] | None:
791
1055
  ...
792
1056
  global___ConfigRequest = ConfigRequest
793
1057
 
794
- @typing_extensions.final
1058
+ @typing.final
795
1059
  class ConfigResponse(google.protobuf.message.Message):
796
1060
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
797
1061
  CONFIG_FIELD_NUMBER: builtins.int
@@ -803,14 +1067,14 @@ class ConfigResponse(google.protobuf.message.Message):
803
1067
  def __init__(self, *, config: global___RobotConfig | None=...) -> None:
804
1068
  ...
805
1069
 
806
- def HasField(self, field_name: typing_extensions.Literal['config', b'config']) -> builtins.bool:
1070
+ def HasField(self, field_name: typing.Literal['config', b'config']) -> builtins.bool:
807
1071
  ...
808
1072
 
809
- def ClearField(self, field_name: typing_extensions.Literal['config', b'config']) -> None:
1073
+ def ClearField(self, field_name: typing.Literal['config', b'config']) -> None:
810
1074
  ...
811
1075
  global___ConfigResponse = ConfigResponse
812
1076
 
813
- @typing_extensions.final
1077
+ @typing.final
814
1078
  class CertificateRequest(google.protobuf.message.Message):
815
1079
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
816
1080
  ID_FIELD_NUMBER: builtins.int
@@ -820,11 +1084,11 @@ class CertificateRequest(google.protobuf.message.Message):
820
1084
  def __init__(self, *, id: builtins.str=...) -> None:
821
1085
  ...
822
1086
 
823
- def ClearField(self, field_name: typing_extensions.Literal['id', b'id']) -> None:
1087
+ def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
824
1088
  ...
825
1089
  global___CertificateRequest = CertificateRequest
826
1090
 
827
- @typing_extensions.final
1091
+ @typing.final
828
1092
  class CertificateResponse(google.protobuf.message.Message):
829
1093
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
830
1094
  ID_FIELD_NUMBER: builtins.int
@@ -838,11 +1102,11 @@ class CertificateResponse(google.protobuf.message.Message):
838
1102
  def __init__(self, *, id: builtins.str=..., tls_certificate: builtins.str=..., tls_private_key: builtins.str=...) -> None:
839
1103
  ...
840
1104
 
841
- def ClearField(self, field_name: typing_extensions.Literal['id', b'id', 'tls_certificate', b'tls_certificate', 'tls_private_key', b'tls_private_key']) -> None:
1105
+ def ClearField(self, field_name: typing.Literal['id', b'id', 'tls_certificate', b'tls_certificate', 'tls_private_key', b'tls_private_key']) -> None:
842
1106
  ...
843
1107
  global___CertificateResponse = CertificateResponse
844
1108
 
845
- @typing_extensions.final
1109
+ @typing.final
846
1110
  class LogRequest(google.protobuf.message.Message):
847
1111
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
848
1112
  ID_FIELD_NUMBER: builtins.int
@@ -851,17 +1115,17 @@ class LogRequest(google.protobuf.message.Message):
851
1115
  'Robot part id.'
852
1116
 
853
1117
  @property
854
- def logs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[app.v1.app_pb2.LogEntry]:
1118
+ def logs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[common.v1.common_pb2.LogEntry]:
855
1119
  ...
856
1120
 
857
- def __init__(self, *, id: builtins.str=..., logs: collections.abc.Iterable[app.v1.app_pb2.LogEntry] | None=...) -> None:
1121
+ def __init__(self, *, id: builtins.str=..., logs: collections.abc.Iterable[common.v1.common_pb2.LogEntry] | None=...) -> None:
858
1122
  ...
859
1123
 
860
- def ClearField(self, field_name: typing_extensions.Literal['id', b'id', 'logs', b'logs']) -> None:
1124
+ def ClearField(self, field_name: typing.Literal['id', b'id', 'logs', b'logs']) -> None:
861
1125
  ...
862
1126
  global___LogRequest = LogRequest
863
1127
 
864
- @typing_extensions.final
1128
+ @typing.final
865
1129
  class LogResponse(google.protobuf.message.Message):
866
1130
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
867
1131
 
@@ -869,7 +1133,7 @@ class LogResponse(google.protobuf.message.Message):
869
1133
  ...
870
1134
  global___LogResponse = LogResponse
871
1135
 
872
- @typing_extensions.final
1136
+ @typing.final
873
1137
  class NeedsRestartRequest(google.protobuf.message.Message):
874
1138
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
875
1139
  ID_FIELD_NUMBER: builtins.int
@@ -879,11 +1143,11 @@ class NeedsRestartRequest(google.protobuf.message.Message):
879
1143
  def __init__(self, *, id: builtins.str=...) -> None:
880
1144
  ...
881
1145
 
882
- def ClearField(self, field_name: typing_extensions.Literal['id', b'id']) -> None:
1146
+ def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
883
1147
  ...
884
1148
  global___NeedsRestartRequest = NeedsRestartRequest
885
1149
 
886
- @typing_extensions.final
1150
+ @typing.final
887
1151
  class NeedsRestartResponse(google.protobuf.message.Message):
888
1152
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
889
1153
  ID_FIELD_NUMBER: builtins.int
@@ -900,47 +1164,123 @@ class NeedsRestartResponse(google.protobuf.message.Message):
900
1164
  def __init__(self, *, id: builtins.str=..., must_restart: builtins.bool=..., restart_check_interval: google.protobuf.duration_pb2.Duration | None=...) -> None:
901
1165
  ...
902
1166
 
903
- def HasField(self, field_name: typing_extensions.Literal['restart_check_interval', b'restart_check_interval']) -> builtins.bool:
1167
+ def HasField(self, field_name: typing.Literal['restart_check_interval', b'restart_check_interval']) -> builtins.bool:
904
1168
  ...
905
1169
 
906
- def ClearField(self, field_name: typing_extensions.Literal['id', b'id', 'must_restart', b'must_restart', 'restart_check_interval', b'restart_check_interval']) -> None:
1170
+ def ClearField(self, field_name: typing.Literal['id', b'id', 'must_restart', b'must_restart', 'restart_check_interval', b'restart_check_interval']) -> None:
907
1171
  ...
908
1172
  global___NeedsRestartResponse = NeedsRestartResponse
909
1173
 
910
- @typing_extensions.final
1174
+ @typing.final
911
1175
  class ModuleConfig(google.protobuf.message.Message):
912
1176
  """ModuleConfig is the configuration for a module."""
913
1177
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
1178
+
1179
+ @typing.final
1180
+ class EnvEntry(google.protobuf.message.Message):
1181
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1182
+ KEY_FIELD_NUMBER: builtins.int
1183
+ VALUE_FIELD_NUMBER: builtins.int
1184
+ key: builtins.str
1185
+ value: builtins.str
1186
+
1187
+ def __init__(self, *, key: builtins.str=..., value: builtins.str=...) -> None:
1188
+ ...
1189
+
1190
+ def ClearField(self, field_name: typing.Literal['key', b'key', 'value', b'value']) -> None:
1191
+ ...
914
1192
  NAME_FIELD_NUMBER: builtins.int
915
1193
  PATH_FIELD_NUMBER: builtins.int
1194
+ LOG_LEVEL_FIELD_NUMBER: builtins.int
1195
+ TYPE_FIELD_NUMBER: builtins.int
1196
+ MODULE_ID_FIELD_NUMBER: builtins.int
1197
+ ENV_FIELD_NUMBER: builtins.int
1198
+ STATUS_FIELD_NUMBER: builtins.int
1199
+ FIRST_RUN_TIMEOUT_FIELD_NUMBER: builtins.int
1200
+ TCP_MODE_FIELD_NUMBER: builtins.int
916
1201
  name: builtins.str
917
1202
  path: builtins.str
918
1203
  'path to the executable'
1204
+ log_level: builtins.str
1205
+ 'log level for module'
1206
+ type: builtins.str
1207
+ 'type of the module ("local" or "registry")'
1208
+ module_id: builtins.str
1209
+ 'the id of the module if it is a registry module'
1210
+ tcp_mode: builtins.bool
1211
+ 'whether we are starting a module in TCP mode'
1212
+
1213
+ @property
1214
+ def env(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
1215
+ """additional environment variables passed to the module process"""
919
1216
 
920
- def __init__(self, *, name: builtins.str=..., path: builtins.str=...) -> None:
1217
+ @property
1218
+ def status(self) -> global___AppValidationStatus:
1219
+ """info about the validity of the module"""
1220
+
1221
+ @property
1222
+ def first_run_timeout(self) -> google.protobuf.duration_pb2.Duration:
1223
+ """timeout for first_run script"""
1224
+
1225
+ def __init__(self, *, name: builtins.str=..., path: builtins.str=..., log_level: builtins.str=..., type: builtins.str=..., module_id: builtins.str=..., env: collections.abc.Mapping[builtins.str, builtins.str] | None=..., status: global___AppValidationStatus | None=..., first_run_timeout: google.protobuf.duration_pb2.Duration | None=..., tcp_mode: builtins.bool=...) -> None:
1226
+ ...
1227
+
1228
+ def HasField(self, field_name: typing.Literal['first_run_timeout', b'first_run_timeout', 'status', b'status']) -> builtins.bool:
921
1229
  ...
922
1230
 
923
- def ClearField(self, field_name: typing_extensions.Literal['name', b'name', 'path', b'path']) -> None:
1231
+ def ClearField(self, field_name: typing.Literal['env', b'env', 'first_run_timeout', b'first_run_timeout', 'log_level', b'log_level', 'module_id', b'module_id', 'name', b'name', 'path', b'path', 'status', b'status', 'tcp_mode', b'tcp_mode', 'type', b'type']) -> None:
924
1232
  ...
925
1233
  global___ModuleConfig = ModuleConfig
926
1234
 
927
- @typing_extensions.final
1235
+ @typing.final
928
1236
  class PackageConfig(google.protobuf.message.Message):
929
1237
  """PackageConfig is the configration for deployed Packages."""
930
1238
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
931
1239
  NAME_FIELD_NUMBER: builtins.int
932
1240
  PACKAGE_FIELD_NUMBER: builtins.int
933
1241
  VERSION_FIELD_NUMBER: builtins.int
1242
+ TYPE_FIELD_NUMBER: builtins.int
1243
+ STATUS_FIELD_NUMBER: builtins.int
934
1244
  name: builtins.str
935
1245
  'Name is the local name of the package on the RDK. Must be unique across Packages. Must not be empty.'
936
1246
  package: builtins.str
937
1247
  'Package is the unique package name hosted by Viam. Must not be empty.'
938
1248
  version: builtins.str
939
1249
  'version of the package ID hosted by Viam. If not specified "latest" is assumed.'
1250
+ type: builtins.str
1251
+ 'type of the package'
1252
+
1253
+ @property
1254
+ def status(self) -> global___AppValidationStatus:
1255
+ """info about the validity of the package"""
1256
+
1257
+ def __init__(self, *, name: builtins.str=..., package: builtins.str=..., version: builtins.str=..., type: builtins.str=..., status: global___AppValidationStatus | None=...) -> None:
1258
+ ...
1259
+
1260
+ def HasField(self, field_name: typing.Literal['status', b'status']) -> builtins.bool:
1261
+ ...
1262
+
1263
+ def ClearField(self, field_name: typing.Literal['name', b'name', 'package', b'package', 'status', b'status', 'type', b'type', 'version', b'version']) -> None:
1264
+ ...
1265
+ global___PackageConfig = PackageConfig
1266
+
1267
+ @typing.final
1268
+ class MaintenanceConfig(google.protobuf.message.Message):
1269
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1270
+ SENSOR_NAME_FIELD_NUMBER: builtins.int
1271
+ MAINTENANCE_ALLOWED_KEY_FIELD_NUMBER: builtins.int
1272
+ maintenance_allowed_key: builtins.str
1273
+
1274
+ @property
1275
+ def sensor_name(self) -> common.v1.common_pb2.ResourceName:
1276
+ ...
1277
+
1278
+ def __init__(self, *, sensor_name: common.v1.common_pb2.ResourceName | None=..., maintenance_allowed_key: builtins.str=...) -> None:
1279
+ ...
940
1280
 
941
- def __init__(self, *, name: builtins.str=..., package: builtins.str=..., version: builtins.str=...) -> None:
1281
+ def HasField(self, field_name: typing.Literal['sensor_name', b'sensor_name']) -> builtins.bool:
942
1282
  ...
943
1283
 
944
- def ClearField(self, field_name: typing_extensions.Literal['name', b'name', 'package', b'package', 'version', b'version']) -> None:
1284
+ def ClearField(self, field_name: typing.Literal['maintenance_allowed_key', b'maintenance_allowed_key', 'sensor_name', b'sensor_name']) -> None:
945
1285
  ...
946
- global___PackageConfig = PackageConfig
1286
+ global___MaintenanceConfig = MaintenanceConfig