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,34 @@
1
+ """Generated protocol buffer code."""
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import descriptor_pool as _descriptor_pool
4
+ from google.protobuf import runtime_version as _runtime_version
5
+ from google.protobuf import symbol_database as _symbol_database
6
+ from google.protobuf.internal import builder as _builder
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'proto/rpc/v1/auth.proto')
8
+ _sym_db = _symbol_database.Default()
9
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
10
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17proto/rpc/v1/auth.proto\x12\x0cproto.rpc.v1\x1a\x1cgoogle/api/annotations.proto";\n\x0bCredentials\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n\x07payload\x18\x02 \x01(\tR\x07payload"j\n\x13AuthenticateRequest\x12\x16\n\x06entity\x18\x01 \x01(\tR\x06entity\x12;\n\x0bcredentials\x18\x02 \x01(\x0b2\x19.proto.rpc.v1.CredentialsR\x0bcredentials"9\n\x14AuthenticateResponse\x12!\n\x0caccess_token\x18\x01 \x01(\tR\x0baccessToken"/\n\x15AuthenticateToRequest\x12\x16\n\x06entity\x18\x01 \x01(\tR\x06entity";\n\x16AuthenticateToResponse\x12!\n\x0caccess_token\x18\x01 \x01(\tR\x0baccessToken2\x82\x01\n\x0bAuthService\x12s\n\x0cAuthenticate\x12!.proto.rpc.v1.AuthenticateRequest\x1a".proto.rpc.v1.AuthenticateResponse"\x1c\x82\xd3\xe4\x93\x02\x16"\x14/rpc/v1/authenticate2\x93\x01\n\x13ExternalAuthService\x12|\n\x0eAuthenticateTo\x12#.proto.rpc.v1.AuthenticateToRequest\x1a$.proto.rpc.v1.AuthenticateToResponse"\x1f\x82\xd3\xe4\x93\x02\x19"\x17/rpc/v1/authenticate_toB Z\x1ego.viam.com/utils/proto/rpc/v1b\x06proto3')
11
+ _globals = globals()
12
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
13
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.rpc.v1.auth_pb2', _globals)
14
+ if not _descriptor._USE_C_DESCRIPTORS:
15
+ _globals['DESCRIPTOR']._loaded_options = None
16
+ _globals['DESCRIPTOR']._serialized_options = b'Z\x1ego.viam.com/utils/proto/rpc/v1'
17
+ _globals['_AUTHSERVICE'].methods_by_name['Authenticate']._loaded_options = None
18
+ _globals['_AUTHSERVICE'].methods_by_name['Authenticate']._serialized_options = b'\x82\xd3\xe4\x93\x02\x16"\x14/rpc/v1/authenticate'
19
+ _globals['_EXTERNALAUTHSERVICE'].methods_by_name['AuthenticateTo']._loaded_options = None
20
+ _globals['_EXTERNALAUTHSERVICE'].methods_by_name['AuthenticateTo']._serialized_options = b'\x82\xd3\xe4\x93\x02\x19"\x17/rpc/v1/authenticate_to'
21
+ _globals['_CREDENTIALS']._serialized_start = 71
22
+ _globals['_CREDENTIALS']._serialized_end = 130
23
+ _globals['_AUTHENTICATEREQUEST']._serialized_start = 132
24
+ _globals['_AUTHENTICATEREQUEST']._serialized_end = 238
25
+ _globals['_AUTHENTICATERESPONSE']._serialized_start = 240
26
+ _globals['_AUTHENTICATERESPONSE']._serialized_end = 297
27
+ _globals['_AUTHENTICATETOREQUEST']._serialized_start = 299
28
+ _globals['_AUTHENTICATETOREQUEST']._serialized_end = 346
29
+ _globals['_AUTHENTICATETORESPONSE']._serialized_start = 348
30
+ _globals['_AUTHENTICATETORESPONSE']._serialized_end = 407
31
+ _globals['_AUTHSERVICE']._serialized_start = 410
32
+ _globals['_AUTHSERVICE']._serialized_end = 540
33
+ _globals['_EXTERNALAUTHSERVICE']._serialized_start = 543
34
+ _globals['_EXTERNALAUTHSERVICE']._serialized_end = 690
@@ -0,0 +1,92 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import builtins
6
+ import google.protobuf.descriptor
7
+ import google.protobuf.message
8
+ import typing
9
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
10
+
11
+ @typing.final
12
+ class Credentials(google.protobuf.message.Message):
13
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
14
+ TYPE_FIELD_NUMBER: builtins.int
15
+ PAYLOAD_FIELD_NUMBER: builtins.int
16
+ type: builtins.str
17
+ 'type is the type of credentials being used.'
18
+ payload: builtins.str
19
+ 'payload is an opaque string used that are of the given type above.'
20
+
21
+ def __init__(self, *, type: builtins.str=..., payload: builtins.str=...) -> None:
22
+ ...
23
+
24
+ def ClearField(self, field_name: typing.Literal['payload', b'payload', 'type', b'type']) -> None:
25
+ ...
26
+ global___Credentials = Credentials
27
+
28
+ @typing.final
29
+ class AuthenticateRequest(google.protobuf.message.Message):
30
+ """An AuthenticateRequest contains the credentials used to authenticate."""
31
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
32
+ ENTITY_FIELD_NUMBER: builtins.int
33
+ CREDENTIALS_FIELD_NUMBER: builtins.int
34
+ entity: builtins.str
35
+
36
+ @property
37
+ def credentials(self) -> global___Credentials:
38
+ ...
39
+
40
+ def __init__(self, *, entity: builtins.str=..., credentials: global___Credentials | None=...) -> None:
41
+ ...
42
+
43
+ def HasField(self, field_name: typing.Literal['credentials', b'credentials']) -> builtins.bool:
44
+ ...
45
+
46
+ def ClearField(self, field_name: typing.Literal['credentials', b'credentials', 'entity', b'entity']) -> None:
47
+ ...
48
+ global___AuthenticateRequest = AuthenticateRequest
49
+
50
+ @typing.final
51
+ class AuthenticateResponse(google.protobuf.message.Message):
52
+ """An AuthenticateResponse is returned after successful authentication."""
53
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
54
+ ACCESS_TOKEN_FIELD_NUMBER: builtins.int
55
+ access_token: builtins.str
56
+ 'access_token is a JWT where only the expiration should be deemed\n important.\n Future(erd): maybe a refresh_token\n '
57
+
58
+ def __init__(self, *, access_token: builtins.str=...) -> None:
59
+ ...
60
+
61
+ def ClearField(self, field_name: typing.Literal['access_token', b'access_token']) -> None:
62
+ ...
63
+ global___AuthenticateResponse = AuthenticateResponse
64
+
65
+ @typing.final
66
+ class AuthenticateToRequest(google.protobuf.message.Message):
67
+ """An AuthenticateToRequest contains the entity to authenticate to."""
68
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
69
+ ENTITY_FIELD_NUMBER: builtins.int
70
+ entity: builtins.str
71
+
72
+ def __init__(self, *, entity: builtins.str=...) -> None:
73
+ ...
74
+
75
+ def ClearField(self, field_name: typing.Literal['entity', b'entity']) -> None:
76
+ ...
77
+ global___AuthenticateToRequest = AuthenticateToRequest
78
+
79
+ @typing.final
80
+ class AuthenticateToResponse(google.protobuf.message.Message):
81
+ """An AuthenticateResponse is returned after successful authentication."""
82
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
83
+ ACCESS_TOKEN_FIELD_NUMBER: builtins.int
84
+ access_token: builtins.str
85
+ 'access_token is a JWT where only the expiration should be deemed\n important.\n Future(erd): maybe a refresh_token\n '
86
+
87
+ def __init__(self, *, access_token: builtins.str=...) -> None:
88
+ ...
89
+
90
+ def ClearField(self, field_name: typing.Literal['access_token', b'access_token']) -> None:
91
+ ...
92
+ global___AuthenticateToResponse = AuthenticateToResponse
File without changes
File without changes
File without changes
@@ -0,0 +1,43 @@
1
+ """Generated protocol buffer code."""
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import descriptor_pool as _descriptor_pool
4
+ from google.protobuf import runtime_version as _runtime_version
5
+ from google.protobuf import symbol_database as _symbol_database
6
+ from google.protobuf.internal import builder as _builder
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'proto/rpc/webrtc/v1/grpc.proto')
8
+ _sym_db = _symbol_database.Default()
9
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
10
+ from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
11
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eproto/rpc/webrtc/v1/grpc.proto\x12\x13proto.rpc.webrtc.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x17google/rpc/status.proto"5\n\rPacketMessage\x12\x12\n\x04data\x18\x01 \x01(\x0cR\x04data\x12\x10\n\x03eom\x18\x02 \x01(\x08R\x03eom"\x18\n\x06Stream\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id"\xe9\x01\n\x07Request\x123\n\x06stream\x18\x01 \x01(\x0b2\x1b.proto.rpc.webrtc.v1.StreamR\x06stream\x12?\n\x07headers\x18\x02 \x01(\x0b2#.proto.rpc.webrtc.v1.RequestHeadersH\x00R\x07headers\x12?\n\x07message\x18\x03 \x01(\x0b2#.proto.rpc.webrtc.v1.RequestMessageH\x00R\x07message\x12\x1f\n\nrst_stream\x18\x04 \x01(\x08H\x00R\trstStreamB\x06\n\x04type"\x98\x01\n\x0eRequestHeaders\x12\x16\n\x06method\x18\x01 \x01(\tR\x06method\x129\n\x08metadata\x18\x02 \x01(\x0b2\x1d.proto.rpc.webrtc.v1.MetadataR\x08metadata\x123\n\x07timeout\x18\x03 \x01(\x0b2\x19.google.protobuf.DurationR\x07timeout"\x8e\x01\n\x0eRequestMessage\x12\x1f\n\x0bhas_message\x18\x01 \x01(\x08R\nhasMessage\x12I\n\x0epacket_message\x18\x02 \x01(\x0b2".proto.rpc.webrtc.v1.PacketMessageR\rpacketMessage\x12\x10\n\x03eos\x18\x03 \x01(\x08R\x03eos"\x90\x02\n\x08Response\x123\n\x06stream\x18\x01 \x01(\x0b2\x1b.proto.rpc.webrtc.v1.StreamR\x06stream\x12@\n\x07headers\x18\x02 \x01(\x0b2$.proto.rpc.webrtc.v1.ResponseHeadersH\x00R\x07headers\x12@\n\x07message\x18\x03 \x01(\x0b2$.proto.rpc.webrtc.v1.ResponseMessageH\x00R\x07message\x12C\n\x08trailers\x18\x04 \x01(\x0b2%.proto.rpc.webrtc.v1.ResponseTrailersH\x00R\x08trailersB\x06\n\x04type"L\n\x0fResponseHeaders\x129\n\x08metadata\x18\x01 \x01(\x0b2\x1d.proto.rpc.webrtc.v1.MetadataR\x08metadata"\\\n\x0fResponseMessage\x12I\n\x0epacket_message\x18\x01 \x01(\x0b2".proto.rpc.webrtc.v1.PacketMessageR\rpacketMessage"y\n\x10ResponseTrailers\x12*\n\x06status\x18\x01 \x01(\x0b2\x12.google.rpc.StatusR\x06status\x129\n\x08metadata\x18\x02 \x01(\x0b2\x1d.proto.rpc.webrtc.v1.MetadataR\x08metadata"!\n\x07Strings\x12\x16\n\x06values\x18\x01 \x03(\tR\x06values"\x96\x01\n\x08Metadata\x125\n\x02md\x18\x01 \x03(\x0b2%.proto.rpc.webrtc.v1.Metadata.MdEntryR\x02md\x1aS\n\x07MdEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x122\n\x05value\x18\x02 \x01(\x0b2\x1c.proto.rpc.webrtc.v1.StringsR\x05value:\x028\x01B\'Z%go.viam.com/utils/proto/rpc/webrtc/v1b\x06proto3')
12
+ _globals = globals()
13
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
14
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.rpc.webrtc.v1.grpc_pb2', _globals)
15
+ if not _descriptor._USE_C_DESCRIPTORS:
16
+ _globals['DESCRIPTOR']._loaded_options = None
17
+ _globals['DESCRIPTOR']._serialized_options = b'Z%go.viam.com/utils/proto/rpc/webrtc/v1'
18
+ _globals['_METADATA_MDENTRY']._loaded_options = None
19
+ _globals['_METADATA_MDENTRY']._serialized_options = b'8\x01'
20
+ _globals['_PACKETMESSAGE']._serialized_start = 112
21
+ _globals['_PACKETMESSAGE']._serialized_end = 165
22
+ _globals['_STREAM']._serialized_start = 167
23
+ _globals['_STREAM']._serialized_end = 191
24
+ _globals['_REQUEST']._serialized_start = 194
25
+ _globals['_REQUEST']._serialized_end = 427
26
+ _globals['_REQUESTHEADERS']._serialized_start = 430
27
+ _globals['_REQUESTHEADERS']._serialized_end = 582
28
+ _globals['_REQUESTMESSAGE']._serialized_start = 585
29
+ _globals['_REQUESTMESSAGE']._serialized_end = 727
30
+ _globals['_RESPONSE']._serialized_start = 730
31
+ _globals['_RESPONSE']._serialized_end = 1002
32
+ _globals['_RESPONSEHEADERS']._serialized_start = 1004
33
+ _globals['_RESPONSEHEADERS']._serialized_end = 1080
34
+ _globals['_RESPONSEMESSAGE']._serialized_start = 1082
35
+ _globals['_RESPONSEMESSAGE']._serialized_end = 1174
36
+ _globals['_RESPONSETRAILERS']._serialized_start = 1176
37
+ _globals['_RESPONSETRAILERS']._serialized_end = 1297
38
+ _globals['_STRINGS']._serialized_start = 1299
39
+ _globals['_STRINGS']._serialized_end = 1332
40
+ _globals['_METADATA']._serialized_start = 1335
41
+ _globals['_METADATA']._serialized_end = 1485
42
+ _globals['_METADATA_MDENTRY']._serialized_start = 1402
43
+ _globals['_METADATA_MDENTRY']._serialized_end = 1485
@@ -0,0 +1,304 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import builtins
6
+ import collections.abc
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.duration_pb2
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.message
11
+ import google.rpc.status_pb2
12
+ import typing
13
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
14
+
15
+ @typing.final
16
+ class PacketMessage(google.protobuf.message.Message):
17
+ """A PacketMessage is used to packetize large messages (> 64KiB) to be able to safely
18
+ transmit over WebRTC data channels.
19
+ """
20
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
21
+ DATA_FIELD_NUMBER: builtins.int
22
+ EOM_FIELD_NUMBER: builtins.int
23
+ data: builtins.bytes
24
+ eom: builtins.bool
25
+
26
+ def __init__(self, *, data: builtins.bytes=..., eom: builtins.bool=...) -> None:
27
+ ...
28
+
29
+ def ClearField(self, field_name: typing.Literal['data', b'data', 'eom', b'eom']) -> None:
30
+ ...
31
+ global___PacketMessage = PacketMessage
32
+
33
+ @typing.final
34
+ class Stream(google.protobuf.message.Message):
35
+ """A Stream represents an instance of a gRPC stream between
36
+ a client and a server.
37
+ """
38
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
39
+ ID_FIELD_NUMBER: builtins.int
40
+ id: builtins.int
41
+
42
+ def __init__(self, *, id: builtins.int=...) -> None:
43
+ ...
44
+
45
+ def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
46
+ ...
47
+ global___Stream = Stream
48
+
49
+ @typing.final
50
+ class Request(google.protobuf.message.Message):
51
+ """A Request is a frame coming from a client. It is always
52
+ associated with a stream where the client assigns the stream
53
+ identifier. Servers will drop frames where the stream identifier
54
+ has no association (if a non-header frames are sent).
55
+ """
56
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
57
+ STREAM_FIELD_NUMBER: builtins.int
58
+ HEADERS_FIELD_NUMBER: builtins.int
59
+ MESSAGE_FIELD_NUMBER: builtins.int
60
+ RST_STREAM_FIELD_NUMBER: builtins.int
61
+ rst_stream: builtins.bool
62
+
63
+ @property
64
+ def stream(self) -> global___Stream:
65
+ ...
66
+
67
+ @property
68
+ def headers(self) -> global___RequestHeaders:
69
+ ...
70
+
71
+ @property
72
+ def message(self) -> global___RequestMessage:
73
+ ...
74
+
75
+ def __init__(self, *, stream: global___Stream | None=..., headers: global___RequestHeaders | None=..., message: global___RequestMessage | None=..., rst_stream: builtins.bool=...) -> None:
76
+ ...
77
+
78
+ def HasField(self, field_name: typing.Literal['headers', b'headers', 'message', b'message', 'rst_stream', b'rst_stream', 'stream', b'stream', 'type', b'type']) -> builtins.bool:
79
+ ...
80
+
81
+ def ClearField(self, field_name: typing.Literal['headers', b'headers', 'message', b'message', 'rst_stream', b'rst_stream', 'stream', b'stream', 'type', b'type']) -> None:
82
+ ...
83
+
84
+ def WhichOneof(self, oneof_group: typing.Literal['type', b'type']) -> typing.Literal['headers', 'message', 'rst_stream'] | None:
85
+ ...
86
+ global___Request = Request
87
+
88
+ @typing.final
89
+ class RequestHeaders(google.protobuf.message.Message):
90
+ """RequestHeaders describe the unary or streaming call to make."""
91
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
92
+ METHOD_FIELD_NUMBER: builtins.int
93
+ METADATA_FIELD_NUMBER: builtins.int
94
+ TIMEOUT_FIELD_NUMBER: builtins.int
95
+ method: builtins.str
96
+
97
+ @property
98
+ def metadata(self) -> global___Metadata:
99
+ ...
100
+
101
+ @property
102
+ def timeout(self) -> google.protobuf.duration_pb2.Duration:
103
+ ...
104
+
105
+ def __init__(self, *, method: builtins.str=..., metadata: global___Metadata | None=..., timeout: google.protobuf.duration_pb2.Duration | None=...) -> None:
106
+ ...
107
+
108
+ def HasField(self, field_name: typing.Literal['metadata', b'metadata', 'timeout', b'timeout']) -> builtins.bool:
109
+ ...
110
+
111
+ def ClearField(self, field_name: typing.Literal['metadata', b'metadata', 'method', b'method', 'timeout', b'timeout']) -> None:
112
+ ...
113
+ global___RequestHeaders = RequestHeaders
114
+
115
+ @typing.final
116
+ class RequestMessage(google.protobuf.message.Message):
117
+ """A RequestMessage contains individual gRPC messages and a potential
118
+ end-of-stream (EOS) marker.
119
+ """
120
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
121
+ HAS_MESSAGE_FIELD_NUMBER: builtins.int
122
+ PACKET_MESSAGE_FIELD_NUMBER: builtins.int
123
+ EOS_FIELD_NUMBER: builtins.int
124
+ has_message: builtins.bool
125
+ eos: builtins.bool
126
+
127
+ @property
128
+ def packet_message(self) -> global___PacketMessage:
129
+ ...
130
+
131
+ def __init__(self, *, has_message: builtins.bool=..., packet_message: global___PacketMessage | None=..., eos: builtins.bool=...) -> None:
132
+ ...
133
+
134
+ def HasField(self, field_name: typing.Literal['packet_message', b'packet_message']) -> builtins.bool:
135
+ ...
136
+
137
+ def ClearField(self, field_name: typing.Literal['eos', b'eos', 'has_message', b'has_message', 'packet_message', b'packet_message']) -> None:
138
+ ...
139
+ global___RequestMessage = RequestMessage
140
+
141
+ @typing.final
142
+ class Response(google.protobuf.message.Message):
143
+ """A Response is a frame coming from a server. It is always
144
+ associated with a stream where the client assigns the stream
145
+ identifier. Clients will drop frames where the stream identifier
146
+ has no association.
147
+ """
148
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
149
+ STREAM_FIELD_NUMBER: builtins.int
150
+ HEADERS_FIELD_NUMBER: builtins.int
151
+ MESSAGE_FIELD_NUMBER: builtins.int
152
+ TRAILERS_FIELD_NUMBER: builtins.int
153
+
154
+ @property
155
+ def stream(self) -> global___Stream:
156
+ ...
157
+
158
+ @property
159
+ def headers(self) -> global___ResponseHeaders:
160
+ ...
161
+
162
+ @property
163
+ def message(self) -> global___ResponseMessage:
164
+ ...
165
+
166
+ @property
167
+ def trailers(self) -> global___ResponseTrailers:
168
+ ...
169
+
170
+ def __init__(self, *, stream: global___Stream | None=..., headers: global___ResponseHeaders | None=..., message: global___ResponseMessage | None=..., trailers: global___ResponseTrailers | None=...) -> None:
171
+ ...
172
+
173
+ def HasField(self, field_name: typing.Literal['headers', b'headers', 'message', b'message', 'stream', b'stream', 'trailers', b'trailers', 'type', b'type']) -> builtins.bool:
174
+ ...
175
+
176
+ def ClearField(self, field_name: typing.Literal['headers', b'headers', 'message', b'message', 'stream', b'stream', 'trailers', b'trailers', 'type', b'type']) -> None:
177
+ ...
178
+
179
+ def WhichOneof(self, oneof_group: typing.Literal['type', b'type']) -> typing.Literal['headers', 'message', 'trailers'] | None:
180
+ ...
181
+ global___Response = Response
182
+
183
+ @typing.final
184
+ class ResponseHeaders(google.protobuf.message.Message):
185
+ """ResponseHeaders contain custom metadata that are sent to the client
186
+ before any message or trailers (unless only trailers are sent).
187
+ """
188
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
189
+ METADATA_FIELD_NUMBER: builtins.int
190
+
191
+ @property
192
+ def metadata(self) -> global___Metadata:
193
+ ...
194
+
195
+ def __init__(self, *, metadata: global___Metadata | None=...) -> None:
196
+ ...
197
+
198
+ def HasField(self, field_name: typing.Literal['metadata', b'metadata']) -> builtins.bool:
199
+ ...
200
+
201
+ def ClearField(self, field_name: typing.Literal['metadata', b'metadata']) -> None:
202
+ ...
203
+ global___ResponseHeaders = ResponseHeaders
204
+
205
+ @typing.final
206
+ class ResponseMessage(google.protobuf.message.Message):
207
+ """ResponseMessage contains the data of a response to a call."""
208
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
209
+ PACKET_MESSAGE_FIELD_NUMBER: builtins.int
210
+
211
+ @property
212
+ def packet_message(self) -> global___PacketMessage:
213
+ ...
214
+
215
+ def __init__(self, *, packet_message: global___PacketMessage | None=...) -> None:
216
+ ...
217
+
218
+ def HasField(self, field_name: typing.Literal['packet_message', b'packet_message']) -> builtins.bool:
219
+ ...
220
+
221
+ def ClearField(self, field_name: typing.Literal['packet_message', b'packet_message']) -> None:
222
+ ...
223
+ global___ResponseMessage = ResponseMessage
224
+
225
+ @typing.final
226
+ class ResponseTrailers(google.protobuf.message.Message):
227
+ """ResponseTrailers contain the status of a response and any custom metadata."""
228
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
229
+ STATUS_FIELD_NUMBER: builtins.int
230
+ METADATA_FIELD_NUMBER: builtins.int
231
+
232
+ @property
233
+ def status(self) -> google.rpc.status_pb2.Status:
234
+ ...
235
+
236
+ @property
237
+ def metadata(self) -> global___Metadata:
238
+ ...
239
+
240
+ def __init__(self, *, status: google.rpc.status_pb2.Status | None=..., metadata: global___Metadata | None=...) -> None:
241
+ ...
242
+
243
+ def HasField(self, field_name: typing.Literal['metadata', b'metadata', 'status', b'status']) -> builtins.bool:
244
+ ...
245
+
246
+ def ClearField(self, field_name: typing.Literal['metadata', b'metadata', 'status', b'status']) -> None:
247
+ ...
248
+ global___ResponseTrailers = ResponseTrailers
249
+
250
+ @typing.final
251
+ class Strings(google.protobuf.message.Message):
252
+ """Strings are a series of values."""
253
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
254
+ VALUES_FIELD_NUMBER: builtins.int
255
+
256
+ @property
257
+ def values(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
258
+ ...
259
+
260
+ def __init__(self, *, values: collections.abc.Iterable[builtins.str] | None=...) -> None:
261
+ ...
262
+
263
+ def ClearField(self, field_name: typing.Literal['values', b'values']) -> None:
264
+ ...
265
+ global___Strings = Strings
266
+
267
+ @typing.final
268
+ class Metadata(google.protobuf.message.Message):
269
+ """Metadata is for custom key values provided by a client or server
270
+ during a stream.
271
+ """
272
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
273
+
274
+ @typing.final
275
+ class MdEntry(google.protobuf.message.Message):
276
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
277
+ KEY_FIELD_NUMBER: builtins.int
278
+ VALUE_FIELD_NUMBER: builtins.int
279
+ key: builtins.str
280
+
281
+ @property
282
+ def value(self) -> global___Strings:
283
+ ...
284
+
285
+ def __init__(self, *, key: builtins.str=..., value: global___Strings | None=...) -> None:
286
+ ...
287
+
288
+ def HasField(self, field_name: typing.Literal['value', b'value']) -> builtins.bool:
289
+ ...
290
+
291
+ def ClearField(self, field_name: typing.Literal['key', b'key', 'value', b'value']) -> None:
292
+ ...
293
+ MD_FIELD_NUMBER: builtins.int
294
+
295
+ @property
296
+ def md(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Strings]:
297
+ ...
298
+
299
+ def __init__(self, *, md: collections.abc.Mapping[builtins.str, global___Strings] | None=...) -> None:
300
+ ...
301
+
302
+ def ClearField(self, field_name: typing.Literal['md', b'md']) -> None:
303
+ ...
304
+ global___Metadata = Metadata
@@ -0,0 +1,54 @@
1
+ import abc
2
+ import typing
3
+ import grpclib.const
4
+ import grpclib.client
5
+ import grpclib.exceptions
6
+ if typing.TYPE_CHECKING:
7
+ import grpclib.server
8
+ import google.api.annotations_pb2
9
+ import google.protobuf.timestamp_pb2
10
+ import google.rpc.status_pb2
11
+ from ..... import proto
12
+
13
+ class SignalingServiceBase(abc.ABC):
14
+
15
+ @abc.abstractmethod
16
+ async def Call(self, stream: 'grpclib.server.Stream[proto.rpc.webrtc.v1.signaling_pb2.CallRequest, proto.rpc.webrtc.v1.signaling_pb2.CallResponse]') -> None:
17
+ pass
18
+
19
+ @abc.abstractmethod
20
+ async def CallUpdate(self, stream: 'grpclib.server.Stream[proto.rpc.webrtc.v1.signaling_pb2.CallUpdateRequest, proto.rpc.webrtc.v1.signaling_pb2.CallUpdateResponse]') -> None:
21
+ pass
22
+
23
+ @abc.abstractmethod
24
+ async def Answer(self, stream: 'grpclib.server.Stream[proto.rpc.webrtc.v1.signaling_pb2.AnswerResponse, proto.rpc.webrtc.v1.signaling_pb2.AnswerRequest]') -> None:
25
+ pass
26
+
27
+ @abc.abstractmethod
28
+ async def OptionalWebRTCConfig(self, stream: 'grpclib.server.Stream[proto.rpc.webrtc.v1.signaling_pb2.OptionalWebRTCConfigRequest, proto.rpc.webrtc.v1.signaling_pb2.OptionalWebRTCConfigResponse]') -> None:
29
+ pass
30
+
31
+ def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
32
+ return {'/proto.rpc.webrtc.v1.SignalingService/Call': grpclib.const.Handler(self.Call, grpclib.const.Cardinality.UNARY_STREAM, proto.rpc.webrtc.v1.signaling_pb2.CallRequest, proto.rpc.webrtc.v1.signaling_pb2.CallResponse), '/proto.rpc.webrtc.v1.SignalingService/CallUpdate': grpclib.const.Handler(self.CallUpdate, grpclib.const.Cardinality.UNARY_UNARY, proto.rpc.webrtc.v1.signaling_pb2.CallUpdateRequest, proto.rpc.webrtc.v1.signaling_pb2.CallUpdateResponse), '/proto.rpc.webrtc.v1.SignalingService/Answer': grpclib.const.Handler(self.Answer, grpclib.const.Cardinality.STREAM_STREAM, proto.rpc.webrtc.v1.signaling_pb2.AnswerResponse, proto.rpc.webrtc.v1.signaling_pb2.AnswerRequest), '/proto.rpc.webrtc.v1.SignalingService/OptionalWebRTCConfig': grpclib.const.Handler(self.OptionalWebRTCConfig, grpclib.const.Cardinality.UNARY_UNARY, proto.rpc.webrtc.v1.signaling_pb2.OptionalWebRTCConfigRequest, proto.rpc.webrtc.v1.signaling_pb2.OptionalWebRTCConfigResponse)}
33
+
34
+ class UnimplementedSignalingServiceBase(SignalingServiceBase):
35
+
36
+ async def Call(self, stream: 'grpclib.server.Stream[proto.rpc.webrtc.v1.signaling_pb2.CallRequest, proto.rpc.webrtc.v1.signaling_pb2.CallResponse]') -> None:
37
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
38
+
39
+ async def CallUpdate(self, stream: 'grpclib.server.Stream[proto.rpc.webrtc.v1.signaling_pb2.CallUpdateRequest, proto.rpc.webrtc.v1.signaling_pb2.CallUpdateResponse]') -> None:
40
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
41
+
42
+ async def Answer(self, stream: 'grpclib.server.Stream[proto.rpc.webrtc.v1.signaling_pb2.AnswerResponse, proto.rpc.webrtc.v1.signaling_pb2.AnswerRequest]') -> None:
43
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
44
+
45
+ async def OptionalWebRTCConfig(self, stream: 'grpclib.server.Stream[proto.rpc.webrtc.v1.signaling_pb2.OptionalWebRTCConfigRequest, proto.rpc.webrtc.v1.signaling_pb2.OptionalWebRTCConfigResponse]') -> None:
46
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
47
+
48
+ class SignalingServiceStub:
49
+
50
+ def __init__(self, channel: grpclib.client.Channel) -> None:
51
+ self.Call = grpclib.client.UnaryStreamMethod(channel, '/proto.rpc.webrtc.v1.SignalingService/Call', proto.rpc.webrtc.v1.signaling_pb2.CallRequest, proto.rpc.webrtc.v1.signaling_pb2.CallResponse)
52
+ self.CallUpdate = grpclib.client.UnaryUnaryMethod(channel, '/proto.rpc.webrtc.v1.SignalingService/CallUpdate', proto.rpc.webrtc.v1.signaling_pb2.CallUpdateRequest, proto.rpc.webrtc.v1.signaling_pb2.CallUpdateResponse)
53
+ self.Answer = grpclib.client.StreamStreamMethod(channel, '/proto.rpc.webrtc.v1.SignalingService/Answer', proto.rpc.webrtc.v1.signaling_pb2.AnswerResponse, proto.rpc.webrtc.v1.signaling_pb2.AnswerRequest)
54
+ self.OptionalWebRTCConfig = grpclib.client.UnaryUnaryMethod(channel, '/proto.rpc.webrtc.v1.SignalingService/OptionalWebRTCConfig', proto.rpc.webrtc.v1.signaling_pb2.OptionalWebRTCConfigRequest, proto.rpc.webrtc.v1.signaling_pb2.OptionalWebRTCConfigResponse)
@@ -0,0 +1,70 @@
1
+ """Generated protocol buffer code."""
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import descriptor_pool as _descriptor_pool
4
+ from google.protobuf import runtime_version as _runtime_version
5
+ from google.protobuf import symbol_database as _symbol_database
6
+ from google.protobuf.internal import builder as _builder
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'proto/rpc/webrtc/v1/signaling.proto')
8
+ _sym_db = _symbol_database.Default()
9
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
10
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
11
+ from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
12
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#proto/rpc/webrtc/v1/signaling.proto\x12\x13proto.rpc.webrtc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto"\xdf\x01\n\x0cICECandidate\x12\x1c\n\tcandidate\x18\x01 \x01(\tR\tcandidate\x12\x1c\n\x07sdp_mid\x18\x02 \x01(\tH\x00R\x06sdpMid\x88\x01\x01\x12+\n\x0fsdpm_line_index\x18\x03 \x01(\rH\x01R\rsdpmLineIndex\x88\x01\x01\x120\n\x11username_fragment\x18\x04 \x01(\tH\x02R\x10usernameFragment\x88\x01\x01B\n\n\x08_sdp_midB\x12\n\x10_sdpm_line_indexB\x14\n\x12_username_fragment"H\n\x0bCallRequest\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp\x12\'\n\x0fdisable_trickle\x18\x02 \x01(\x08R\x0edisableTrickle")\n\x15CallResponseInitStage\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp"Z\n\x17CallResponseUpdateStage\x12?\n\tcandidate\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateR\tcandidate"\xb5\x01\n\x0cCallResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12@\n\x04init\x18\x02 \x01(\x0b2*.proto.rpc.webrtc.v1.CallResponseInitStageH\x00R\x04init\x12F\n\x06update\x18\x03 \x01(\x0b2,.proto.rpc.webrtc.v1.CallResponseUpdateStageH\x00R\x06updateB\x07\n\x05stage"\xb6\x01\n\x11CallUpdateRequest\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12A\n\tcandidate\x18\x02 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateH\x00R\tcandidate\x12\x14\n\x04done\x18\x03 \x01(\x08H\x00R\x04done\x12*\n\x05error\x18\x04 \x01(\x0b2\x12.google.rpc.StatusH\x00R\x05errorB\x08\n\x06update"\x14\n\x12CallUpdateResponse"[\n\tICEServer\x12\x12\n\x04urls\x18\x01 \x03(\tR\x04urls\x12\x1a\n\x08username\x18\x02 \x01(\tR\x08username\x12\x1e\n\ncredential\x18\x03 \x01(\tR\ncredential"\x8d\x01\n\x0cWebRTCConfig\x12T\n\x16additional_ice_servers\x18\x01 \x03(\x0b2\x1e.proto.rpc.webrtc.v1.ICEServerR\x14additionalIceServers\x12\'\n\x0fdisable_trickle\x18\x02 \x01(\x08R\x0edisableTrickle"\xc0\x01\n\x16AnswerRequestInitStage\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp\x12J\n\x0foptional_config\x18\x02 \x01(\x0b2!.proto.rpc.webrtc.v1.WebRTCConfigR\x0eoptionalConfig\x12;\n\x08deadline\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampH\x00R\x08deadline\x88\x01\x01B\x0b\n\t_deadline"[\n\x18AnswerRequestUpdateStage\x12?\n\tcandidate\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateR\tcandidate"\x18\n\x16AnswerRequestDoneStage"E\n\x17AnswerRequestErrorStage\x12*\n\x06status\x18\x01 \x01(\x0b2\x12.google.rpc.StatusR\x06status"\x1d\n\x1bAnswerRequestHeartbeatStage"\x93\x03\n\rAnswerRequest\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12A\n\x04init\x18\x02 \x01(\x0b2+.proto.rpc.webrtc.v1.AnswerRequestInitStageH\x00R\x04init\x12G\n\x06update\x18\x03 \x01(\x0b2-.proto.rpc.webrtc.v1.AnswerRequestUpdateStageH\x00R\x06update\x12A\n\x04done\x18\x04 \x01(\x0b2+.proto.rpc.webrtc.v1.AnswerRequestDoneStageH\x00R\x04done\x12D\n\x05error\x18\x05 \x01(\x0b2,.proto.rpc.webrtc.v1.AnswerRequestErrorStageH\x00R\x05error\x12P\n\theartbeat\x18\x06 \x01(\x0b20.proto.rpc.webrtc.v1.AnswerRequestHeartbeatStageH\x00R\theartbeatB\x07\n\x05stage"+\n\x17AnswerResponseInitStage\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp"\\\n\x19AnswerResponseUpdateStage\x12?\n\tcandidate\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateR\tcandidate"\x19\n\x17AnswerResponseDoneStage"F\n\x18AnswerResponseErrorStage\x12*\n\x06status\x18\x01 \x01(\x0b2\x12.google.rpc.StatusR\x06status"\xc6\x02\n\x0eAnswerResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12B\n\x04init\x18\x02 \x01(\x0b2,.proto.rpc.webrtc.v1.AnswerResponseInitStageH\x00R\x04init\x12H\n\x06update\x18\x03 \x01(\x0b2..proto.rpc.webrtc.v1.AnswerResponseUpdateStageH\x00R\x06update\x12B\n\x04done\x18\x04 \x01(\x0b2,.proto.rpc.webrtc.v1.AnswerResponseDoneStageH\x00R\x04done\x12E\n\x05error\x18\x05 \x01(\x0b2-.proto.rpc.webrtc.v1.AnswerResponseErrorStageH\x00R\x05errorB\x07\n\x05stage"\x1d\n\x1bOptionalWebRTCConfigRequest"Y\n\x1cOptionalWebRTCConfigResponse\x129\n\x06config\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.WebRTCConfigR\x06config2\x86\x04\n\x10SignalingService\x12j\n\x04Call\x12 .proto.rpc.webrtc.v1.CallRequest\x1a!.proto.rpc.webrtc.v1.CallResponse"\x1b\x82\xd3\xe4\x93\x02\x15"\x13/rpc/webrtc/v1/call0\x01\x12\x81\x01\n\nCallUpdate\x12&.proto.rpc.webrtc.v1.CallUpdateRequest\x1a\'.proto.rpc.webrtc.v1.CallUpdateResponse""\x82\xd3\xe4\x93\x02\x1c\x1a\x1a/rpc/webrtc/v1/call_update\x12U\n\x06Answer\x12#.proto.rpc.webrtc.v1.AnswerResponse\x1a".proto.rpc.webrtc.v1.AnswerRequest(\x010\x01\x12\xaa\x01\n\x14OptionalWebRTCConfig\x120.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest\x1a1.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse"-\x82\xd3\xe4\x93\x02\'\x12%/rpc/webrtc/v1/optional_webrtc_configB\'Z%go.viam.com/utils/proto/rpc/webrtc/v1b\x06proto3')
13
+ _globals = globals()
14
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
15
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.rpc.webrtc.v1.signaling_pb2', _globals)
16
+ if not _descriptor._USE_C_DESCRIPTORS:
17
+ _globals['DESCRIPTOR']._loaded_options = None
18
+ _globals['DESCRIPTOR']._serialized_options = b'Z%go.viam.com/utils/proto/rpc/webrtc/v1'
19
+ _globals['_SIGNALINGSERVICE'].methods_by_name['Call']._loaded_options = None
20
+ _globals['_SIGNALINGSERVICE'].methods_by_name['Call']._serialized_options = b'\x82\xd3\xe4\x93\x02\x15"\x13/rpc/webrtc/v1/call'
21
+ _globals['_SIGNALINGSERVICE'].methods_by_name['CallUpdate']._loaded_options = None
22
+ _globals['_SIGNALINGSERVICE'].methods_by_name['CallUpdate']._serialized_options = b'\x82\xd3\xe4\x93\x02\x1c\x1a\x1a/rpc/webrtc/v1/call_update'
23
+ _globals['_SIGNALINGSERVICE'].methods_by_name['OptionalWebRTCConfig']._loaded_options = None
24
+ _globals['_SIGNALINGSERVICE'].methods_by_name['OptionalWebRTCConfig']._serialized_options = b"\x82\xd3\xe4\x93\x02'\x12%/rpc/webrtc/v1/optional_webrtc_config"
25
+ _globals['_ICECANDIDATE']._serialized_start = 149
26
+ _globals['_ICECANDIDATE']._serialized_end = 372
27
+ _globals['_CALLREQUEST']._serialized_start = 374
28
+ _globals['_CALLREQUEST']._serialized_end = 446
29
+ _globals['_CALLRESPONSEINITSTAGE']._serialized_start = 448
30
+ _globals['_CALLRESPONSEINITSTAGE']._serialized_end = 489
31
+ _globals['_CALLRESPONSEUPDATESTAGE']._serialized_start = 491
32
+ _globals['_CALLRESPONSEUPDATESTAGE']._serialized_end = 581
33
+ _globals['_CALLRESPONSE']._serialized_start = 584
34
+ _globals['_CALLRESPONSE']._serialized_end = 765
35
+ _globals['_CALLUPDATEREQUEST']._serialized_start = 768
36
+ _globals['_CALLUPDATEREQUEST']._serialized_end = 950
37
+ _globals['_CALLUPDATERESPONSE']._serialized_start = 952
38
+ _globals['_CALLUPDATERESPONSE']._serialized_end = 972
39
+ _globals['_ICESERVER']._serialized_start = 974
40
+ _globals['_ICESERVER']._serialized_end = 1065
41
+ _globals['_WEBRTCCONFIG']._serialized_start = 1068
42
+ _globals['_WEBRTCCONFIG']._serialized_end = 1209
43
+ _globals['_ANSWERREQUESTINITSTAGE']._serialized_start = 1212
44
+ _globals['_ANSWERREQUESTINITSTAGE']._serialized_end = 1404
45
+ _globals['_ANSWERREQUESTUPDATESTAGE']._serialized_start = 1406
46
+ _globals['_ANSWERREQUESTUPDATESTAGE']._serialized_end = 1497
47
+ _globals['_ANSWERREQUESTDONESTAGE']._serialized_start = 1499
48
+ _globals['_ANSWERREQUESTDONESTAGE']._serialized_end = 1523
49
+ _globals['_ANSWERREQUESTERRORSTAGE']._serialized_start = 1525
50
+ _globals['_ANSWERREQUESTERRORSTAGE']._serialized_end = 1594
51
+ _globals['_ANSWERREQUESTHEARTBEATSTAGE']._serialized_start = 1596
52
+ _globals['_ANSWERREQUESTHEARTBEATSTAGE']._serialized_end = 1625
53
+ _globals['_ANSWERREQUEST']._serialized_start = 1628
54
+ _globals['_ANSWERREQUEST']._serialized_end = 2031
55
+ _globals['_ANSWERRESPONSEINITSTAGE']._serialized_start = 2033
56
+ _globals['_ANSWERRESPONSEINITSTAGE']._serialized_end = 2076
57
+ _globals['_ANSWERRESPONSEUPDATESTAGE']._serialized_start = 2078
58
+ _globals['_ANSWERRESPONSEUPDATESTAGE']._serialized_end = 2170
59
+ _globals['_ANSWERRESPONSEDONESTAGE']._serialized_start = 2172
60
+ _globals['_ANSWERRESPONSEDONESTAGE']._serialized_end = 2197
61
+ _globals['_ANSWERRESPONSEERRORSTAGE']._serialized_start = 2199
62
+ _globals['_ANSWERRESPONSEERRORSTAGE']._serialized_end = 2269
63
+ _globals['_ANSWERRESPONSE']._serialized_start = 2272
64
+ _globals['_ANSWERRESPONSE']._serialized_end = 2598
65
+ _globals['_OPTIONALWEBRTCCONFIGREQUEST']._serialized_start = 2600
66
+ _globals['_OPTIONALWEBRTCCONFIGREQUEST']._serialized_end = 2629
67
+ _globals['_OPTIONALWEBRTCCONFIGRESPONSE']._serialized_start = 2631
68
+ _globals['_OPTIONALWEBRTCCONFIGRESPONSE']._serialized_end = 2720
69
+ _globals['_SIGNALINGSERVICE']._serialized_start = 2723
70
+ _globals['_SIGNALINGSERVICE']._serialized_end = 3241