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