viam-sdk 0.25.2__py3-none-linux_armv7l.whl → 0.62.0__py3-none-linux_armv7l.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.
Files changed (328) hide show
  1. viam/app/_logs.py +3 -6
  2. viam/app/app_client.py +606 -262
  3. viam/app/billing_client.py +60 -18
  4. viam/app/data_client.py +1086 -315
  5. viam/app/ml_training_client.py +51 -48
  6. viam/app/provisioning_client.py +3 -5
  7. viam/app/viam_client.py +105 -11
  8. viam/components/arm/__init__.py +1 -25
  9. viam/components/arm/arm.py +21 -22
  10. viam/components/arm/client.py +27 -30
  11. viam/components/arm/service.py +3 -3
  12. viam/components/audio_in/__init__.py +24 -0
  13. viam/components/audio_in/audio_in.py +74 -0
  14. viam/components/audio_in/client.py +76 -0
  15. viam/components/audio_in/service.py +83 -0
  16. viam/components/audio_input/__init__.py +1 -1
  17. viam/components/audio_input/audio_input.py +4 -3
  18. viam/components/audio_input/client.py +19 -8
  19. viam/components/audio_input/service.py +10 -0
  20. viam/components/audio_out/__init__.py +21 -0
  21. viam/components/audio_out/audio_out.py +72 -0
  22. viam/components/audio_out/client.py +67 -0
  23. viam/components/audio_out/service.py +63 -0
  24. viam/components/base/__init__.py +2 -10
  25. viam/components/base/base.py +20 -20
  26. viam/components/base/client.py +27 -30
  27. viam/components/board/__init__.py +2 -25
  28. viam/components/board/board.py +39 -77
  29. viam/components/board/client.py +39 -73
  30. viam/components/button/__init__.py +10 -0
  31. viam/components/button/button.py +41 -0
  32. viam/components/button/client.py +52 -0
  33. viam/components/button/service.py +46 -0
  34. viam/components/camera/__init__.py +1 -1
  35. viam/components/camera/camera.py +31 -22
  36. viam/components/camera/client.py +30 -20
  37. viam/components/camera/service.py +14 -12
  38. viam/components/component_base.py +10 -7
  39. viam/components/encoder/__init__.py +1 -1
  40. viam/components/encoder/client.py +15 -16
  41. viam/components/encoder/encoder.py +9 -9
  42. viam/components/gantry/__init__.py +1 -13
  43. viam/components/gantry/client.py +41 -28
  44. viam/components/gantry/gantry.py +48 -17
  45. viam/components/gantry/service.py +21 -5
  46. viam/components/generic/__init__.py +1 -1
  47. viam/components/generic/client.py +11 -7
  48. viam/components/generic/generic.py +3 -3
  49. viam/components/gripper/__init__.py +3 -12
  50. viam/components/gripper/client.py +43 -20
  51. viam/components/gripper/gripper.py +87 -12
  52. viam/components/gripper/service.py +32 -3
  53. viam/components/input/__init__.py +1 -14
  54. viam/components/input/client.py +22 -23
  55. viam/components/input/input.py +18 -12
  56. viam/components/motor/__init__.py +1 -21
  57. viam/components/motor/client.py +36 -42
  58. viam/components/motor/motor.py +24 -24
  59. viam/components/movement_sensor/__init__.py +1 -1
  60. viam/components/movement_sensor/client.py +33 -40
  61. viam/components/movement_sensor/movement_sensor.py +12 -12
  62. viam/components/pose_tracker/__init__.py +1 -1
  63. viam/components/pose_tracker/client.py +9 -8
  64. viam/components/pose_tracker/pose_tracker.py +2 -2
  65. viam/components/power_sensor/__init__.py +1 -1
  66. viam/components/power_sensor/client.py +15 -18
  67. viam/components/power_sensor/power_sensor.py +12 -12
  68. viam/components/sensor/__init__.py +1 -1
  69. viam/components/sensor/client.py +9 -8
  70. viam/components/sensor/sensor.py +5 -5
  71. viam/components/servo/__init__.py +1 -13
  72. viam/components/servo/client.py +18 -18
  73. viam/components/servo/servo.py +12 -12
  74. viam/components/switch/__init__.py +10 -0
  75. viam/components/switch/client.py +83 -0
  76. viam/components/switch/service.py +72 -0
  77. viam/components/switch/switch.py +95 -0
  78. viam/gen/app/agent/v1/agent_pb2.py +40 -29
  79. viam/gen/app/agent/v1/agent_pb2.pyi +73 -11
  80. viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +45 -42
  81. viam/gen/app/data/v1/data_grpc.py +98 -2
  82. viam/gen/app/data/v1/data_pb2.py +238 -119
  83. viam/gen/app/data/v1/data_pb2.pyi +804 -34
  84. viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +84 -0
  85. viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +57 -0
  86. viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +387 -0
  87. viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
  88. viam/gen/app/dataset/v1/dataset_pb2.py +38 -31
  89. viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
  90. viam/gen/app/datasync/v1/data_sync_grpc.py +1 -1
  91. viam/gen/app/datasync/v1/data_sync_pb2.py +61 -51
  92. viam/gen/app/datasync/v1/data_sync_pb2.pyi +52 -12
  93. viam/gen/app/mlinference/__init__.py +0 -0
  94. viam/gen/app/mlinference/v1/__init__.py +0 -0
  95. viam/gen/app/mlinference/v1/ml_inference_grpc.py +28 -0
  96. viam/gen/app/mlinference/v1/ml_inference_pb2.py +23 -0
  97. viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +63 -0
  98. viam/gen/app/mltraining/v1/ml_training_grpc.py +18 -2
  99. viam/gen/app/mltraining/v1/ml_training_pb2.py +134 -101
  100. viam/gen/app/mltraining/v1/ml_training_pb2.pyi +193 -7
  101. viam/gen/app/packages/v1/packages_pb2.py +43 -40
  102. viam/gen/app/v1/app_grpc.py +290 -2
  103. viam/gen/app/v1/app_pb2.py +670 -453
  104. viam/gen/app/v1/app_pb2.pyi +3133 -947
  105. viam/gen/app/v1/billing_grpc.py +34 -2
  106. viam/gen/app/v1/billing_pb2.py +94 -35
  107. viam/gen/app/v1/billing_pb2.pyi +314 -61
  108. viam/gen/app/v1/end_user_pb2.py +50 -29
  109. viam/gen/app/v1/robot_pb2.py +120 -111
  110. viam/gen/app/v1/robot_pb2.pyi +137 -15
  111. viam/gen/common/v1/common_pb2.py +86 -66
  112. viam/gen/common/v1/common_pb2.pyi +184 -8
  113. viam/gen/component/arm/v1/arm_grpc.py +18 -2
  114. viam/gen/component/arm/v1/arm_pb2.py +68 -55
  115. viam/gen/component/arm/v1/arm_pb2.pyi +73 -3
  116. viam/gen/component/audioin/__init__.py +0 -0
  117. viam/gen/component/audioin/v1/__init__.py +0 -0
  118. viam/gen/component/audioin/v1/audioin_grpc.py +54 -0
  119. viam/gen/component/audioin/v1/audioin_pb2.py +34 -0
  120. viam/gen/component/audioin/v1/audioin_pb2.pyi +94 -0
  121. viam/gen/component/audioinput/v1/audioinput_pb2.py +35 -32
  122. viam/gen/component/audioout/__init__.py +0 -0
  123. viam/gen/component/audioout/v1/__init__.py +0 -0
  124. viam/gen/component/audioout/v1/audioout_grpc.py +54 -0
  125. viam/gen/component/audioout/v1/audioout_pb2.py +32 -0
  126. viam/gen/component/audioout/v1/audioout_pb2.pyi +47 -0
  127. viam/gen/component/base/v1/base_pb2.py +57 -54
  128. viam/gen/component/board/v1/board_pb2.py +93 -90
  129. viam/gen/component/button/__init__.py +0 -0
  130. viam/gen/component/button/v1/__init__.py +0 -0
  131. viam/gen/component/button/v1/button_grpc.py +38 -0
  132. viam/gen/component/button/v1/button_pb2.py +28 -0
  133. viam/gen/component/button/v1/button_pb2.pyi +39 -0
  134. viam/gen/component/camera/v1/camera_pb2.py +58 -55
  135. viam/gen/component/camera/v1/camera_pb2.pyi +31 -7
  136. viam/gen/component/encoder/v1/encoder_pb2.py +35 -32
  137. viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
  138. viam/gen/component/gantry/v1/gantry_pb2.py +56 -51
  139. viam/gen/component/generic/v1/generic_pb2.py +15 -12
  140. viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
  141. viam/gen/component/gripper/v1/gripper_pb2.py +48 -37
  142. viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
  143. viam/gen/component/inputcontroller/v1/input_controller_pb2.py +45 -42
  144. viam/gen/component/motor/v1/motor_pb2.py +77 -74
  145. viam/gen/component/movementsensor/v1/movementsensor_pb2.py +69 -66
  146. viam/gen/component/posetracker/v1/pose_tracker_pb2.py +25 -22
  147. viam/gen/component/powersensor/v1/powersensor_pb2.py +33 -30
  148. viam/gen/component/sensor/v1/sensor_pb2.py +17 -14
  149. viam/gen/component/servo/v1/servo_pb2.py +41 -38
  150. viam/gen/component/switch/__init__.py +0 -0
  151. viam/gen/component/switch/v1/__init__.py +0 -0
  152. viam/gen/component/switch/v1/switch_grpc.py +54 -0
  153. viam/gen/component/switch/v1/switch_pb2.py +40 -0
  154. viam/gen/component/switch/v1/switch_pb2.pyi +116 -0
  155. viam/gen/component/testecho/v1/testecho_pb2.py +29 -26
  156. viam/gen/module/v1/module_pb2.py +36 -33
  157. viam/gen/module/v1/module_pb2.pyi +7 -2
  158. viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +26 -23
  159. viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +23 -20
  160. viam/gen/proto/rpc/v1/auth_pb2.py +27 -24
  161. viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +35 -32
  162. viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +62 -57
  163. viam/gen/proto/rpc/webrtc/v1/signaling_pb2.pyi +18 -4
  164. viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
  165. viam/gen/provisioning/v1/provisioning_pb2.py +38 -31
  166. viam/gen/provisioning/v1/provisioning_pb2.pyi +20 -2
  167. viam/gen/robot/v1/robot_grpc.py +61 -29
  168. viam/gen/robot/v1/robot_pb2.py +186 -155
  169. viam/gen/robot/v1/robot_pb2.pyi +278 -59
  170. viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
  171. viam/gen/service/datamanager/v1/data_manager_pb2.py +27 -17
  172. viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
  173. viam/gen/service/discovery/__init__.py +0 -0
  174. viam/gen/service/discovery/v1/__init__.py +0 -0
  175. viam/gen/service/discovery/v1/discovery_grpc.py +39 -0
  176. viam/gen/service/discovery/v1/discovery_pb2.py +29 -0
  177. viam/gen/service/discovery/v1/discovery_pb2.pyi +51 -0
  178. viam/gen/service/generic/v1/generic_pb2.py +13 -10
  179. viam/gen/service/mlmodel/v1/mlmodel_pb2.py +75 -72
  180. viam/gen/service/motion/v1/motion_pb2.py +118 -85
  181. viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
  182. viam/gen/service/navigation/v1/navigation_pb2.py +75 -72
  183. viam/gen/service/sensors/v1/sensors_pb2.py +59 -56
  184. viam/gen/service/shell/v1/shell_pb2.py +35 -32
  185. viam/gen/service/slam/v1/slam_pb2.py +43 -40
  186. viam/gen/service/slam/v1/slam_pb2.pyi +1 -1
  187. viam/gen/service/video/__init__.py +0 -0
  188. viam/gen/service/video/v1/__init__.py +0 -0
  189. viam/gen/service/video/v1/video_grpc.py +39 -0
  190. viam/gen/service/video/v1/video_pb2.py +29 -0
  191. viam/gen/service/video/v1/video_pb2.pyi +72 -0
  192. viam/gen/service/vision/v1/vision_pb2.py +60 -57
  193. viam/gen/service/vision/v1/vision_pb2.pyi +28 -3
  194. viam/gen/service/worldstatestore/__init__.py +0 -0
  195. viam/gen/service/worldstatestore/v1/__init__.py +0 -0
  196. viam/gen/service/worldstatestore/v1/world_state_store_grpc.py +55 -0
  197. viam/gen/service/worldstatestore/v1/world_state_store_pb2.py +39 -0
  198. viam/gen/service/worldstatestore/v1/world_state_store_pb2.pyi +171 -0
  199. viam/gen/stream/v1/stream_grpc.py +17 -1
  200. viam/gen/stream/v1/stream_pb2.py +34 -21
  201. viam/gen/stream/v1/stream_pb2.pyi +79 -1
  202. viam/gen/tagger/v1/tagger_pb2.py +9 -8
  203. viam/logging.py +77 -18
  204. viam/media/audio.py +28 -0
  205. viam/media/utils/pil/__init__.py +7 -3
  206. viam/media/video.py +80 -17
  207. viam/module/module.py +111 -38
  208. viam/module/resource_data_consumer.py +41 -0
  209. viam/module/service.py +9 -1
  210. viam/module/types.py +2 -4
  211. viam/proto/app/__init__.py +199 -0
  212. viam/proto/app/agent/__init__.py +5 -2
  213. viam/proto/app/billing.py +31 -4
  214. viam/proto/app/cloudslam/__init__.py +1 -0
  215. viam/proto/app/data/__init__.py +63 -0
  216. viam/proto/app/datapipelines/__init__.py +56 -0
  217. viam/proto/app/dataset/__init__.py +5 -0
  218. viam/proto/app/datasync/__init__.py +3 -0
  219. viam/proto/app/end_user.py +1 -0
  220. viam/proto/app/mlinference/__init__.py +15 -0
  221. viam/proto/app/mltraining/__init__.py +13 -0
  222. viam/proto/app/packages/__init__.py +1 -0
  223. viam/proto/app/robot.py +7 -0
  224. viam/proto/common/__init__.py +15 -0
  225. viam/proto/component/arm/__init__.py +7 -0
  226. viam/proto/component/audioin/__init__.py +16 -0
  227. viam/proto/component/audioinput/__init__.py +1 -0
  228. viam/proto/component/audioout/__init__.py +15 -0
  229. viam/proto/component/base/__init__.py +1 -0
  230. viam/proto/component/board/__init__.py +1 -0
  231. viam/proto/component/button/__init__.py +15 -0
  232. viam/proto/component/camera/__init__.py +1 -0
  233. viam/proto/component/encoder/__init__.py +1 -0
  234. viam/proto/component/gantry/__init__.py +1 -0
  235. viam/proto/component/generic/__init__.py +1 -0
  236. viam/proto/component/gripper/__init__.py +5 -0
  237. viam/proto/component/inputcontroller/__init__.py +1 -0
  238. viam/proto/component/motor/__init__.py +1 -0
  239. viam/proto/component/movementsensor/__init__.py +1 -0
  240. viam/proto/component/posetracker/__init__.py +1 -0
  241. viam/proto/component/powersensor/__init__.py +1 -0
  242. viam/proto/component/sensor/__init__.py +1 -0
  243. viam/proto/component/servo/__init__.py +1 -0
  244. viam/proto/component/switch/__init__.py +26 -0
  245. viam/proto/component/testecho/__init__.py +1 -0
  246. viam/proto/module/__init__.py +1 -0
  247. viam/proto/provisioning/__init__.py +5 -0
  248. viam/proto/robot/__init__.py +29 -8
  249. viam/proto/rpc/auth.py +1 -0
  250. viam/proto/rpc/examples/echo/__init__.py +1 -0
  251. viam/proto/rpc/examples/echoresource/__init__.py +1 -0
  252. viam/proto/rpc/webrtc/grpc.py +1 -0
  253. viam/proto/rpc/webrtc/signaling.py +3 -0
  254. viam/proto/service/datamanager/__init__.py +9 -1
  255. viam/proto/service/discovery/__init__.py +15 -0
  256. viam/proto/service/generic/__init__.py +1 -0
  257. viam/proto/service/mlmodel/__init__.py +1 -0
  258. viam/proto/service/motion/__init__.py +3 -0
  259. viam/proto/service/navigation/__init__.py +1 -0
  260. viam/proto/service/sensors/__init__.py +1 -0
  261. viam/proto/service/shell/__init__.py +1 -0
  262. viam/proto/service/slam/__init__.py +1 -0
  263. viam/proto/service/video/__init__.py +15 -0
  264. viam/proto/service/vision/__init__.py +1 -0
  265. viam/proto/service/worldstatestore/__init__.py +32 -0
  266. viam/proto/stream/__init__.py +11 -0
  267. viam/py.typed +0 -0
  268. viam/resource/base.py +12 -8
  269. viam/resource/easy_resource.py +24 -13
  270. viam/resource/manager.py +6 -5
  271. viam/resource/registry.py +39 -51
  272. viam/resource/rpc_client_base.py +33 -1
  273. viam/resource/types.py +13 -14
  274. viam/robot/client.py +190 -122
  275. viam/robot/service.py +2 -50
  276. viam/rpc/dial.py +54 -4
  277. viam/rpc/libviam_rust_utils.so +0 -0
  278. viam/rpc/server.py +25 -11
  279. viam/rpc/types.py +2 -4
  280. viam/services/discovery/__init__.py +12 -0
  281. viam/services/discovery/client.py +55 -0
  282. viam/services/discovery/discovery.py +52 -0
  283. viam/services/discovery/service.py +43 -0
  284. viam/services/generic/__init__.py +1 -1
  285. viam/services/generic/client.py +8 -5
  286. viam/services/generic/generic.py +2 -2
  287. viam/services/mlmodel/__init__.py +1 -1
  288. viam/services/mlmodel/client.py +17 -7
  289. viam/services/mlmodel/mlmodel.py +23 -12
  290. viam/services/mlmodel/service.py +5 -2
  291. viam/services/mlmodel/utils.py +11 -1
  292. viam/services/motion/__init__.py +2 -2
  293. viam/services/motion/client.py +32 -32
  294. viam/services/motion/motion.py +66 -62
  295. viam/services/navigation/__init__.py +1 -1
  296. viam/services/navigation/client.py +30 -20
  297. viam/services/navigation/navigation.py +23 -23
  298. viam/services/service_base.py +13 -9
  299. viam/services/service_client_base.py +3 -3
  300. viam/services/slam/__init__.py +1 -1
  301. viam/services/slam/client.py +15 -10
  302. viam/services/slam/slam.py +11 -11
  303. viam/services/vision/__init__.py +1 -1
  304. viam/services/vision/client.py +31 -24
  305. viam/services/vision/service.py +8 -8
  306. viam/services/vision/vision.py +36 -53
  307. viam/services/worldstatestore/__init__.py +18 -0
  308. viam/services/worldstatestore/client.py +94 -0
  309. viam/services/worldstatestore/service.py +55 -0
  310. viam/services/worldstatestore/worldstatestore.py +90 -0
  311. viam/sessions_client.py +115 -46
  312. viam/streams.py +3 -6
  313. viam/utils.py +44 -14
  314. viam/version_metadata.py +4 -0
  315. {viam_sdk-0.25.2.dist-info → viam_sdk-0.62.0.dist-info}/METADATA +27 -28
  316. viam_sdk-0.62.0.dist-info/RECORD +514 -0
  317. {viam_sdk-0.25.2.dist-info → viam_sdk-0.62.0.dist-info}/WHEEL +1 -1
  318. viam/gen/proto/rpc/examples/fileupload/v1/fileupload_grpc.py +0 -27
  319. viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.py +0 -18
  320. viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.pyi +0 -45
  321. viam/proto/rpc/examples/fileupload/__init__.py +0 -18
  322. viam/services/sensors/__init__.py +0 -5
  323. viam/services/sensors/client.py +0 -65
  324. viam_sdk-0.25.2.dist-info/LICENSE +0 -202
  325. viam_sdk-0.25.2.dist-info/RECORD +0 -442
  326. /viam/gen/{proto/rpc/examples/fileupload → app/datapipelines}/__init__.py +0 -0
  327. /viam/gen/{proto/rpc/examples/fileupload → app/datapipelines}/v1/__init__.py +0 -0
  328. /LICENSE → /viam_sdk-0.62.0.dist-info/licenses/LICENSE +0 -0
@@ -61,6 +61,65 @@ TAGS_FILTER_TYPE_UNTAGGED: TagsFilterType.ValueType
61
61
  'TAGS_FILTER_TYPE_UNTAGGED specifes that all untagged documents should be returned.'
62
62
  global___TagsFilterType = TagsFilterType
63
63
 
64
+ class _TabularDataSourceType:
65
+ ValueType = typing.NewType('ValueType', builtins.int)
66
+ V: typing_extensions.TypeAlias = ValueType
67
+
68
+ class _TabularDataSourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TabularDataSourceType.ValueType], builtins.type):
69
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
70
+ TABULAR_DATA_SOURCE_TYPE_UNSPECIFIED: _TabularDataSourceType.ValueType
71
+ TABULAR_DATA_SOURCE_TYPE_STANDARD: _TabularDataSourceType.ValueType
72
+ 'TABULAR_DATA_SOURCE_TYPE_STANDARD indicates reading from standard storage. This is\n the default option and available for all data synced to Viam.\n '
73
+ TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE: _TabularDataSourceType.ValueType
74
+ 'TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE indicates reading from hot storage. This is a\n premium feature requiring opting in specific data sources.\n See docs at https://docs.viam.com/data-ai/capture-data/advanced/advanced-data-capture-sync/#capture-to-the-hot-data-store\n '
75
+ TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK: _TabularDataSourceType.ValueType
76
+ 'TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK indicates reading the output data of\n a data pipeline. When using this, a pipeline ID needs to be specified.\n '
77
+
78
+ class TabularDataSourceType(_TabularDataSourceType, metaclass=_TabularDataSourceTypeEnumTypeWrapper):
79
+ """TabularDataSourceType specifies the data source type for TabularDataByMQL queries."""
80
+ TABULAR_DATA_SOURCE_TYPE_UNSPECIFIED: TabularDataSourceType.ValueType
81
+ TABULAR_DATA_SOURCE_TYPE_STANDARD: TabularDataSourceType.ValueType
82
+ 'TABULAR_DATA_SOURCE_TYPE_STANDARD indicates reading from standard storage. This is\nthe default option and available for all data synced to Viam.\n'
83
+ TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE: TabularDataSourceType.ValueType
84
+ 'TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE indicates reading from hot storage. This is a\npremium feature requiring opting in specific data sources.\nSee docs at https://docs.viam.com/data-ai/capture-data/advanced/advanced-data-capture-sync/#capture-to-the-hot-data-store\n'
85
+ TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK: TabularDataSourceType.ValueType
86
+ 'TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK indicates reading the output data of\na data pipeline. When using this, a pipeline ID needs to be specified.\n'
87
+ global___TabularDataSourceType = TabularDataSourceType
88
+
89
+ class _IndexableCollection:
90
+ ValueType = typing.NewType('ValueType', builtins.int)
91
+ V: typing_extensions.TypeAlias = ValueType
92
+
93
+ class _IndexableCollectionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IndexableCollection.ValueType], builtins.type):
94
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
95
+ INDEXABLE_COLLECTION_UNSPECIFIED: _IndexableCollection.ValueType
96
+ INDEXABLE_COLLECTION_HOT_STORE: _IndexableCollection.ValueType
97
+ INDEXABLE_COLLECTION_PIPELINE_SINK: _IndexableCollection.ValueType
98
+
99
+ class IndexableCollection(_IndexableCollection, metaclass=_IndexableCollectionEnumTypeWrapper):
100
+ """IndexableCollection specifies the types of collections available for custom indexes"""
101
+ INDEXABLE_COLLECTION_UNSPECIFIED: IndexableCollection.ValueType
102
+ INDEXABLE_COLLECTION_HOT_STORE: IndexableCollection.ValueType
103
+ INDEXABLE_COLLECTION_PIPELINE_SINK: IndexableCollection.ValueType
104
+ global___IndexableCollection = IndexableCollection
105
+
106
+ class _IndexCreator:
107
+ ValueType = typing.NewType('ValueType', builtins.int)
108
+ V: typing_extensions.TypeAlias = ValueType
109
+
110
+ class _IndexCreatorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IndexCreator.ValueType], builtins.type):
111
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
112
+ INDEX_CREATOR_UNSPECIFIED: _IndexCreator.ValueType
113
+ INDEX_CREATOR_VIAM: _IndexCreator.ValueType
114
+ INDEX_CREATOR_CUSTOMER: _IndexCreator.ValueType
115
+
116
+ class IndexCreator(_IndexCreator, metaclass=_IndexCreatorEnumTypeWrapper):
117
+ """IndexCreator specifies the entity that originally created the index"""
118
+ INDEX_CREATOR_UNSPECIFIED: IndexCreator.ValueType
119
+ INDEX_CREATOR_VIAM: IndexCreator.ValueType
120
+ INDEX_CREATOR_CUSTOMER: IndexCreator.ValueType
121
+ global___IndexCreator = IndexCreator
122
+
64
123
  @typing.final
65
124
  class DataRequest(google.protobuf.message.Message):
66
125
  """DataRequest encapsulates the filter for the data, a limit on the maximum results returned,
@@ -370,26 +429,56 @@ global___TabularDataBySQLRequest = TabularDataBySQLRequest
370
429
  class TabularDataBySQLResponse(google.protobuf.message.Message):
371
430
  """TabularDataBySQLResponse provides unified tabular data and metadata, queried with SQL."""
372
431
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
373
- DATA_FIELD_NUMBER: builtins.int
432
+ RAW_DATA_FIELD_NUMBER: builtins.int
374
433
 
375
434
  @property
376
- def data(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
435
+ def raw_data(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
377
436
  ...
378
437
 
379
- def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=...) -> None:
438
+ def __init__(self, *, raw_data: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
380
439
  ...
381
440
 
382
- def ClearField(self, field_name: typing.Literal['data', b'data']) -> None:
441
+ def ClearField(self, field_name: typing.Literal['raw_data', b'raw_data']) -> None:
383
442
  ...
384
443
  global___TabularDataBySQLResponse = TabularDataBySQLResponse
385
444
 
445
+ @typing.final
446
+ class TabularDataSource(google.protobuf.message.Message):
447
+ """TabularDataSource specifies the data source for user queries to execute on."""
448
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
449
+ TYPE_FIELD_NUMBER: builtins.int
450
+ PIPELINE_ID_FIELD_NUMBER: builtins.int
451
+ type: global___TabularDataSourceType.ValueType
452
+ pipeline_id: builtins.str
453
+ 'pipeline_id is the ID of the pipeline to query. Required when using\n TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK.\n '
454
+
455
+ def __init__(self, *, type: global___TabularDataSourceType.ValueType=..., pipeline_id: builtins.str | None=...) -> None:
456
+ ...
457
+
458
+ def HasField(self, field_name: typing.Literal['_pipeline_id', b'_pipeline_id', 'pipeline_id', b'pipeline_id']) -> builtins.bool:
459
+ ...
460
+
461
+ def ClearField(self, field_name: typing.Literal['_pipeline_id', b'_pipeline_id', 'pipeline_id', b'pipeline_id', 'type', b'type']) -> None:
462
+ ...
463
+
464
+ def WhichOneof(self, oneof_group: typing.Literal['_pipeline_id', b'_pipeline_id']) -> typing.Literal['pipeline_id'] | None:
465
+ ...
466
+ global___TabularDataSource = TabularDataSource
467
+
386
468
  @typing.final
387
469
  class TabularDataByMQLRequest(google.protobuf.message.Message):
388
470
  """TabularDataByMQLRequest requests tabular data using an MQL query."""
389
471
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
390
472
  ORGANIZATION_ID_FIELD_NUMBER: builtins.int
391
473
  MQL_BINARY_FIELD_NUMBER: builtins.int
474
+ USE_RECENT_DATA_FIELD_NUMBER: builtins.int
475
+ DATA_SOURCE_FIELD_NUMBER: builtins.int
476
+ QUERY_PREFIX_NAME_FIELD_NUMBER: builtins.int
392
477
  organization_id: builtins.str
478
+ use_recent_data: builtins.bool
479
+ 'Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.'
480
+ query_prefix_name: builtins.str
481
+ 'query_prefix_name is an optional field that can be used to specify a saved query to run'
393
482
 
394
483
  @property
395
484
  def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
@@ -398,10 +487,31 @@ class TabularDataByMQLRequest(google.protobuf.message.Message):
398
487
  namespace, which holds the Viam organization's tabular data.
399
488
  """
400
489
 
401
- def __init__(self, *, organization_id: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
490
+ @property
491
+ def data_source(self) -> global___TabularDataSource:
492
+ """data_source is an optional field that can be used to specify the data source for the query.
493
+ If not specified, the query will run on "standard" storage.
494
+ """
495
+
496
+ def __init__(self, *, organization_id: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=..., use_recent_data: builtins.bool | None=..., data_source: global___TabularDataSource | None=..., query_prefix_name: builtins.str | None=...) -> None:
497
+ ...
498
+
499
+ def HasField(self, field_name: typing.Literal['_data_source', b'_data_source', '_query_prefix_name', b'_query_prefix_name', '_use_recent_data', b'_use_recent_data', 'data_source', b'data_source', 'query_prefix_name', b'query_prefix_name', 'use_recent_data', b'use_recent_data']) -> builtins.bool:
500
+ ...
501
+
502
+ def ClearField(self, field_name: typing.Literal['_data_source', b'_data_source', '_query_prefix_name', b'_query_prefix_name', '_use_recent_data', b'_use_recent_data', 'data_source', b'data_source', 'mql_binary', b'mql_binary', 'organization_id', b'organization_id', 'query_prefix_name', b'query_prefix_name', 'use_recent_data', b'use_recent_data']) -> None:
503
+ ...
504
+
505
+ @typing.overload
506
+ def WhichOneof(self, oneof_group: typing.Literal['_data_source', b'_data_source']) -> typing.Literal['data_source'] | None:
507
+ ...
508
+
509
+ @typing.overload
510
+ def WhichOneof(self, oneof_group: typing.Literal['_query_prefix_name', b'_query_prefix_name']) -> typing.Literal['query_prefix_name'] | None:
402
511
  ...
403
512
 
404
- def ClearField(self, field_name: typing.Literal['mql_binary', b'mql_binary', 'organization_id', b'organization_id']) -> None:
513
+ @typing.overload
514
+ def WhichOneof(self, oneof_group: typing.Literal['_use_recent_data', b'_use_recent_data']) -> typing.Literal['use_recent_data'] | None:
405
515
  ...
406
516
  global___TabularDataByMQLRequest = TabularDataByMQLRequest
407
517
 
@@ -409,19 +519,171 @@ global___TabularDataByMQLRequest = TabularDataByMQLRequest
409
519
  class TabularDataByMQLResponse(google.protobuf.message.Message):
410
520
  """TabularDataByMQLResponse provides unified tabular data and metadata, queried with MQL."""
411
521
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
412
- DATA_FIELD_NUMBER: builtins.int
522
+ RAW_DATA_FIELD_NUMBER: builtins.int
413
523
 
414
524
  @property
415
- def data(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
525
+ def raw_data(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
416
526
  ...
417
527
 
418
- def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=...) -> None:
528
+ def __init__(self, *, raw_data: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
419
529
  ...
420
530
 
421
- def ClearField(self, field_name: typing.Literal['data', b'data']) -> None:
531
+ def ClearField(self, field_name: typing.Literal['raw_data', b'raw_data']) -> None:
422
532
  ...
423
533
  global___TabularDataByMQLResponse = TabularDataByMQLResponse
424
534
 
535
+ @typing.final
536
+ class ExportTabularDataRequest(google.protobuf.message.Message):
537
+ """ExportTabularDataRequest requests tabular data from the specified data source."""
538
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
539
+ PART_ID_FIELD_NUMBER: builtins.int
540
+ RESOURCE_NAME_FIELD_NUMBER: builtins.int
541
+ RESOURCE_SUBTYPE_FIELD_NUMBER: builtins.int
542
+ METHOD_NAME_FIELD_NUMBER: builtins.int
543
+ INTERVAL_FIELD_NUMBER: builtins.int
544
+ ADDITIONAL_PARAMETERS_FIELD_NUMBER: builtins.int
545
+ part_id: builtins.str
546
+ resource_name: builtins.str
547
+ resource_subtype: builtins.str
548
+ method_name: builtins.str
549
+
550
+ @property
551
+ def interval(self) -> global___CaptureInterval:
552
+ ...
553
+
554
+ @property
555
+ def additional_parameters(self) -> google.protobuf.struct_pb2.Struct:
556
+ ...
557
+
558
+ def __init__(self, *, part_id: builtins.str=..., resource_name: builtins.str=..., resource_subtype: builtins.str=..., method_name: builtins.str=..., interval: global___CaptureInterval | None=..., additional_parameters: google.protobuf.struct_pb2.Struct | None=...) -> None:
559
+ ...
560
+
561
+ def HasField(self, field_name: typing.Literal['_additional_parameters', b'_additional_parameters', 'additional_parameters', b'additional_parameters', 'interval', b'interval']) -> builtins.bool:
562
+ ...
563
+
564
+ def ClearField(self, field_name: typing.Literal['_additional_parameters', b'_additional_parameters', 'additional_parameters', b'additional_parameters', 'interval', b'interval', 'method_name', b'method_name', 'part_id', b'part_id', 'resource_name', b'resource_name', 'resource_subtype', b'resource_subtype']) -> None:
565
+ ...
566
+
567
+ def WhichOneof(self, oneof_group: typing.Literal['_additional_parameters', b'_additional_parameters']) -> typing.Literal['additional_parameters'] | None:
568
+ ...
569
+ global___ExportTabularDataRequest = ExportTabularDataRequest
570
+
571
+ @typing.final
572
+ class ExportTabularDataResponse(google.protobuf.message.Message):
573
+ """ExportTabularDataResponse provides unified tabular data and metadata for a single data point from the specified data source."""
574
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
575
+ PART_ID_FIELD_NUMBER: builtins.int
576
+ RESOURCE_NAME_FIELD_NUMBER: builtins.int
577
+ RESOURCE_SUBTYPE_FIELD_NUMBER: builtins.int
578
+ METHOD_NAME_FIELD_NUMBER: builtins.int
579
+ TIME_CAPTURED_FIELD_NUMBER: builtins.int
580
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
581
+ LOCATION_ID_FIELD_NUMBER: builtins.int
582
+ ROBOT_NAME_FIELD_NUMBER: builtins.int
583
+ ROBOT_ID_FIELD_NUMBER: builtins.int
584
+ PART_NAME_FIELD_NUMBER: builtins.int
585
+ METHOD_PARAMETERS_FIELD_NUMBER: builtins.int
586
+ TAGS_FIELD_NUMBER: builtins.int
587
+ PAYLOAD_FIELD_NUMBER: builtins.int
588
+ part_id: builtins.str
589
+ resource_name: builtins.str
590
+ resource_subtype: builtins.str
591
+ method_name: builtins.str
592
+ organization_id: builtins.str
593
+ location_id: builtins.str
594
+ robot_name: builtins.str
595
+ robot_id: builtins.str
596
+ part_name: builtins.str
597
+
598
+ @property
599
+ def time_captured(self) -> google.protobuf.timestamp_pb2.Timestamp:
600
+ ...
601
+
602
+ @property
603
+ def method_parameters(self) -> google.protobuf.struct_pb2.Struct:
604
+ ...
605
+
606
+ @property
607
+ def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
608
+ ...
609
+
610
+ @property
611
+ def payload(self) -> google.protobuf.struct_pb2.Struct:
612
+ ...
613
+
614
+ def __init__(self, *, part_id: builtins.str=..., resource_name: builtins.str=..., resource_subtype: builtins.str=..., method_name: builtins.str=..., time_captured: google.protobuf.timestamp_pb2.Timestamp | None=..., organization_id: builtins.str=..., location_id: builtins.str=..., robot_name: builtins.str=..., robot_id: builtins.str=..., part_name: builtins.str=..., method_parameters: google.protobuf.struct_pb2.Struct | None=..., tags: collections.abc.Iterable[builtins.str] | None=..., payload: google.protobuf.struct_pb2.Struct | None=...) -> None:
615
+ ...
616
+
617
+ def HasField(self, field_name: typing.Literal['method_parameters', b'method_parameters', 'payload', b'payload', 'time_captured', b'time_captured']) -> builtins.bool:
618
+ ...
619
+
620
+ def ClearField(self, field_name: typing.Literal['location_id', b'location_id', 'method_name', b'method_name', 'method_parameters', b'method_parameters', 'organization_id', b'organization_id', 'part_id', b'part_id', 'part_name', b'part_name', 'payload', b'payload', 'resource_name', b'resource_name', 'resource_subtype', b'resource_subtype', 'robot_id', b'robot_id', 'robot_name', b'robot_name', 'tags', b'tags', 'time_captured', b'time_captured']) -> None:
621
+ ...
622
+ global___ExportTabularDataResponse = ExportTabularDataResponse
623
+
624
+ @typing.final
625
+ class GetLatestTabularDataRequest(google.protobuf.message.Message):
626
+ """GetLatestTabularDataRequest requests the most recent tabular data captured from the specified data source."""
627
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
628
+ PART_ID_FIELD_NUMBER: builtins.int
629
+ RESOURCE_NAME_FIELD_NUMBER: builtins.int
630
+ METHOD_NAME_FIELD_NUMBER: builtins.int
631
+ RESOURCE_SUBTYPE_FIELD_NUMBER: builtins.int
632
+ ADDITIONAL_PARAMETERS_FIELD_NUMBER: builtins.int
633
+ part_id: builtins.str
634
+ resource_name: builtins.str
635
+ method_name: builtins.str
636
+ resource_subtype: builtins.str
637
+
638
+ @property
639
+ def additional_parameters(self) -> google.protobuf.struct_pb2.Struct:
640
+ ...
641
+
642
+ def __init__(self, *, part_id: builtins.str=..., resource_name: builtins.str=..., method_name: builtins.str=..., resource_subtype: builtins.str=..., additional_parameters: google.protobuf.struct_pb2.Struct | None=...) -> None:
643
+ ...
644
+
645
+ def HasField(self, field_name: typing.Literal['_additional_parameters', b'_additional_parameters', 'additional_parameters', b'additional_parameters']) -> builtins.bool:
646
+ ...
647
+
648
+ def ClearField(self, field_name: typing.Literal['_additional_parameters', b'_additional_parameters', 'additional_parameters', b'additional_parameters', 'method_name', b'method_name', 'part_id', b'part_id', 'resource_name', b'resource_name', 'resource_subtype', b'resource_subtype']) -> None:
649
+ ...
650
+
651
+ def WhichOneof(self, oneof_group: typing.Literal['_additional_parameters', b'_additional_parameters']) -> typing.Literal['additional_parameters'] | None:
652
+ ...
653
+ global___GetLatestTabularDataRequest = GetLatestTabularDataRequest
654
+
655
+ @typing.final
656
+ class GetLatestTabularDataResponse(google.protobuf.message.Message):
657
+ """GetLatestTabularDataResponse provides the data, time synced, and time captured of the most recent tabular data captured
658
+ from the requested data source, as long as it was synced within the last year.
659
+ """
660
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
661
+ TIME_CAPTURED_FIELD_NUMBER: builtins.int
662
+ TIME_SYNCED_FIELD_NUMBER: builtins.int
663
+ PAYLOAD_FIELD_NUMBER: builtins.int
664
+
665
+ @property
666
+ def time_captured(self) -> google.protobuf.timestamp_pb2.Timestamp:
667
+ ...
668
+
669
+ @property
670
+ def time_synced(self) -> google.protobuf.timestamp_pb2.Timestamp:
671
+ ...
672
+
673
+ @property
674
+ def payload(self) -> google.protobuf.struct_pb2.Struct:
675
+ ...
676
+
677
+ def __init__(self, *, time_captured: google.protobuf.timestamp_pb2.Timestamp | None=..., time_synced: google.protobuf.timestamp_pb2.Timestamp | None=..., payload: google.protobuf.struct_pb2.Struct | None=...) -> None:
678
+ ...
679
+
680
+ def HasField(self, field_name: typing.Literal['payload', b'payload', 'time_captured', b'time_captured', 'time_synced', b'time_synced']) -> builtins.bool:
681
+ ...
682
+
683
+ def ClearField(self, field_name: typing.Literal['payload', b'payload', 'time_captured', b'time_captured', 'time_synced', b'time_synced']) -> None:
684
+ ...
685
+ global___GetLatestTabularDataResponse = GetLatestTabularDataResponse
686
+
425
687
  @typing.final
426
688
  class BinaryData(google.protobuf.message.Message):
427
689
  """BinaryData contains data and metadata associated with binary data."""
@@ -517,16 +779,21 @@ class BinaryDataByIDsRequest(google.protobuf.message.Message):
517
779
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
518
780
  INCLUDE_BINARY_FIELD_NUMBER: builtins.int
519
781
  BINARY_IDS_FIELD_NUMBER: builtins.int
782
+ BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
520
783
  include_binary: builtins.bool
521
784
 
522
785
  @property
523
786
  def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
524
787
  ...
525
788
 
526
- def __init__(self, *, include_binary: builtins.bool=..., binary_ids: collections.abc.Iterable[global___BinaryID] | None=...) -> None:
789
+ @property
790
+ def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
527
791
  ...
528
792
 
529
- def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids', 'include_binary', b'include_binary']) -> None:
793
+ def __init__(self, *, include_binary: builtins.bool=..., binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=...) -> None:
794
+ ...
795
+
796
+ def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'include_binary', b'include_binary']) -> None:
530
797
  ...
531
798
  global___BinaryDataByIDsRequest = BinaryDataByIDsRequest
532
799
 
@@ -561,34 +828,73 @@ class BoundingBox(google.protobuf.message.Message):
561
828
  Y_MIN_NORMALIZED_FIELD_NUMBER: builtins.int
562
829
  X_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
563
830
  Y_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
831
+ CONFIDENCE_FIELD_NUMBER: builtins.int
564
832
  id: builtins.str
565
833
  label: builtins.str
566
834
  x_min_normalized: builtins.float
567
835
  y_min_normalized: builtins.float
568
836
  x_max_normalized: builtins.float
569
837
  y_max_normalized: builtins.float
838
+ confidence: builtins.float
839
+ 'confidence is an optional range from 0 - 1'
840
+
841
+ def __init__(self, *, id: builtins.str=..., label: builtins.str=..., x_min_normalized: builtins.float=..., y_min_normalized: builtins.float=..., x_max_normalized: builtins.float=..., y_max_normalized: builtins.float=..., confidence: builtins.float | None=...) -> None:
842
+ ...
570
843
 
571
- def __init__(self, *, id: builtins.str=..., label: builtins.str=..., x_min_normalized: builtins.float=..., y_min_normalized: builtins.float=..., x_max_normalized: builtins.float=..., y_max_normalized: builtins.float=...) -> None:
844
+ def HasField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence']) -> builtins.bool:
572
845
  ...
573
846
 
574
- def ClearField(self, field_name: typing.Literal['id', b'id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> None:
847
+ def ClearField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence', 'id', b'id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> None:
848
+ ...
849
+
850
+ def WhichOneof(self, oneof_group: typing.Literal['_confidence', b'_confidence']) -> typing.Literal['confidence'] | None:
575
851
  ...
576
852
  global___BoundingBox = BoundingBox
577
853
 
854
+ @typing.final
855
+ class Classification(google.protobuf.message.Message):
856
+ """Classification represents a confidence score with a label."""
857
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
858
+ ID_FIELD_NUMBER: builtins.int
859
+ LABEL_FIELD_NUMBER: builtins.int
860
+ CONFIDENCE_FIELD_NUMBER: builtins.int
861
+ id: builtins.str
862
+ label: builtins.str
863
+ confidence: builtins.float
864
+ 'confidence is an optional range from 0 - 1'
865
+
866
+ def __init__(self, *, id: builtins.str=..., label: builtins.str=..., confidence: builtins.float | None=...) -> None:
867
+ ...
868
+
869
+ def HasField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence']) -> builtins.bool:
870
+ ...
871
+
872
+ def ClearField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence', 'id', b'id', 'label', b'label']) -> None:
873
+ ...
874
+
875
+ def WhichOneof(self, oneof_group: typing.Literal['_confidence', b'_confidence']) -> typing.Literal['confidence'] | None:
876
+ ...
877
+ global___Classification = Classification
878
+
578
879
  @typing.final
579
880
  class Annotations(google.protobuf.message.Message):
580
881
  """Annotations are data annotations used for machine learning."""
581
882
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
582
883
  BBOXES_FIELD_NUMBER: builtins.int
884
+ CLASSIFICATIONS_FIELD_NUMBER: builtins.int
583
885
 
584
886
  @property
585
887
  def bboxes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BoundingBox]:
586
888
  ...
587
889
 
588
- def __init__(self, *, bboxes: collections.abc.Iterable[global___BoundingBox] | None=...) -> None:
890
+ @property
891
+ def classifications(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Classification]:
589
892
  ...
590
893
 
591
- def ClearField(self, field_name: typing.Literal['bboxes', b'bboxes']) -> None:
894
+ def __init__(self, *, bboxes: collections.abc.Iterable[global___BoundingBox] | None=..., classifications: collections.abc.Iterable[global___Classification] | None=...) -> None:
895
+ ...
896
+
897
+ def ClearField(self, field_name: typing.Literal['bboxes', b'bboxes', 'classifications', b'classifications']) -> None:
592
898
  ...
593
899
  global___Annotations = Annotations
594
900
 
@@ -605,10 +911,12 @@ class BinaryMetadata(google.protobuf.message.Message):
605
911
  URI_FIELD_NUMBER: builtins.int
606
912
  ANNOTATIONS_FIELD_NUMBER: builtins.int
607
913
  DATASET_IDS_FIELD_NUMBER: builtins.int
914
+ BINARY_DATA_ID_FIELD_NUMBER: builtins.int
608
915
  id: builtins.str
609
916
  file_name: builtins.str
610
917
  file_ext: builtins.str
611
918
  uri: builtins.str
919
+ binary_data_id: builtins.str
612
920
 
613
921
  @property
614
922
  def capture_metadata(self) -> global___CaptureMetadata:
@@ -630,13 +938,13 @@ class BinaryMetadata(google.protobuf.message.Message):
630
938
  def dataset_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
631
939
  ...
632
940
 
633
- def __init__(self, *, id: builtins.str=..., capture_metadata: global___CaptureMetadata | None=..., time_requested: google.protobuf.timestamp_pb2.Timestamp | None=..., time_received: google.protobuf.timestamp_pb2.Timestamp | None=..., file_name: builtins.str=..., file_ext: builtins.str=..., uri: builtins.str=..., annotations: global___Annotations | None=..., dataset_ids: collections.abc.Iterable[builtins.str] | None=...) -> None:
941
+ def __init__(self, *, id: builtins.str=..., capture_metadata: global___CaptureMetadata | None=..., time_requested: google.protobuf.timestamp_pb2.Timestamp | None=..., time_received: google.protobuf.timestamp_pb2.Timestamp | None=..., file_name: builtins.str=..., file_ext: builtins.str=..., uri: builtins.str=..., annotations: global___Annotations | None=..., dataset_ids: collections.abc.Iterable[builtins.str] | None=..., binary_data_id: builtins.str=...) -> None:
634
942
  ...
635
943
 
636
944
  def HasField(self, field_name: typing.Literal['annotations', b'annotations', 'capture_metadata', b'capture_metadata', 'time_received', b'time_received', 'time_requested', b'time_requested']) -> builtins.bool:
637
945
  ...
638
946
 
639
- def ClearField(self, field_name: typing.Literal['annotations', b'annotations', 'capture_metadata', b'capture_metadata', 'dataset_ids', b'dataset_ids', 'file_ext', b'file_ext', 'file_name', b'file_name', 'id', b'id', 'time_received', b'time_received', 'time_requested', b'time_requested', 'uri', b'uri']) -> None:
947
+ def ClearField(self, field_name: typing.Literal['annotations', b'annotations', 'binary_data_id', b'binary_data_id', 'capture_metadata', b'capture_metadata', 'dataset_ids', b'dataset_ids', 'file_ext', b'file_ext', 'file_name', b'file_name', 'id', b'id', 'time_received', b'time_received', 'time_requested', b'time_requested', 'uri', b'uri']) -> None:
640
948
  ...
641
949
  global___BinaryMetadata = BinaryMetadata
642
950
 
@@ -717,15 +1025,20 @@ class DeleteBinaryDataByIDsRequest(google.protobuf.message.Message):
717
1025
  """DeleteBinaryDataByIDsRequest deletes the data and metadata of binary data when binary ids are provided."""
718
1026
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
719
1027
  BINARY_IDS_FIELD_NUMBER: builtins.int
1028
+ BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
720
1029
 
721
1030
  @property
722
1031
  def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
723
1032
  ...
724
1033
 
725
- def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=...) -> None:
1034
+ @property
1035
+ def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1036
+ ...
1037
+
1038
+ def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=...) -> None:
726
1039
  ...
727
1040
 
728
- def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids']) -> None:
1041
+ def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids']) -> None:
729
1042
  ...
730
1043
  global___DeleteBinaryDataByIDsRequest = DeleteBinaryDataByIDsRequest
731
1044
 
@@ -748,20 +1061,25 @@ class AddTagsToBinaryDataByIDsRequest(google.protobuf.message.Message):
748
1061
  """AddTagsToBinaryDataByIDsRequest requests adding all specified tags to each of the files when binary ids are provided."""
749
1062
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
750
1063
  BINARY_IDS_FIELD_NUMBER: builtins.int
1064
+ BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
751
1065
  TAGS_FIELD_NUMBER: builtins.int
752
1066
 
753
1067
  @property
754
1068
  def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
755
1069
  ...
756
1070
 
1071
+ @property
1072
+ def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1073
+ ...
1074
+
757
1075
  @property
758
1076
  def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
759
1077
  ...
760
1078
 
761
- def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
1079
+ def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
762
1080
  ...
763
1081
 
764
- def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids', 'tags', b'tags']) -> None:
1082
+ def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'tags', b'tags']) -> None:
765
1083
  ...
766
1084
  global___AddTagsToBinaryDataByIDsRequest = AddTagsToBinaryDataByIDsRequest
767
1085
 
@@ -811,20 +1129,25 @@ class RemoveTagsFromBinaryDataByIDsRequest(google.protobuf.message.Message):
811
1129
  """RemoveTagsFromBinaryDataByIDsRequest requests removing the given tags value from each file when binary ids are provided."""
812
1130
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
813
1131
  BINARY_IDS_FIELD_NUMBER: builtins.int
1132
+ BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
814
1133
  TAGS_FIELD_NUMBER: builtins.int
815
1134
 
816
1135
  @property
817
1136
  def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
818
1137
  ...
819
1138
 
1139
+ @property
1140
+ def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1141
+ ...
1142
+
820
1143
  @property
821
1144
  def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
822
1145
  ...
823
1146
 
824
- def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
1147
+ def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
825
1148
  ...
826
1149
 
827
- def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids', 'tags', b'tags']) -> None:
1150
+ def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'tags', b'tags']) -> None:
828
1151
  ...
829
1152
  global___RemoveTagsFromBinaryDataByIDsRequest = RemoveTagsFromBinaryDataByIDsRequest
830
1153
 
@@ -925,11 +1248,13 @@ class AddBoundingBoxToImageByIDRequest(google.protobuf.message.Message):
925
1248
  """
926
1249
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
927
1250
  BINARY_ID_FIELD_NUMBER: builtins.int
1251
+ BINARY_DATA_ID_FIELD_NUMBER: builtins.int
928
1252
  LABEL_FIELD_NUMBER: builtins.int
929
1253
  X_MIN_NORMALIZED_FIELD_NUMBER: builtins.int
930
1254
  Y_MIN_NORMALIZED_FIELD_NUMBER: builtins.int
931
1255
  X_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
932
1256
  Y_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
1257
+ binary_data_id: builtins.str
933
1258
  label: builtins.str
934
1259
  x_min_normalized: builtins.float
935
1260
  y_min_normalized: builtins.float
@@ -940,13 +1265,13 @@ class AddBoundingBoxToImageByIDRequest(google.protobuf.message.Message):
940
1265
  def binary_id(self) -> global___BinaryID:
941
1266
  ...
942
1267
 
943
- def __init__(self, *, binary_id: global___BinaryID | None=..., label: builtins.str=..., x_min_normalized: builtins.float=..., y_min_normalized: builtins.float=..., x_max_normalized: builtins.float=..., y_max_normalized: builtins.float=...) -> None:
1268
+ def __init__(self, *, binary_id: global___BinaryID | None=..., binary_data_id: builtins.str=..., label: builtins.str=..., x_min_normalized: builtins.float=..., y_min_normalized: builtins.float=..., x_max_normalized: builtins.float=..., y_max_normalized: builtins.float=...) -> None:
944
1269
  ...
945
1270
 
946
1271
  def HasField(self, field_name: typing.Literal['binary_id', b'binary_id']) -> builtins.bool:
947
1272
  ...
948
1273
 
949
- def ClearField(self, field_name: typing.Literal['binary_id', b'binary_id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> None:
1274
+ def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'binary_id', b'binary_id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> None:
950
1275
  ...
951
1276
  global___AddBoundingBoxToImageByIDRequest = AddBoundingBoxToImageByIDRequest
952
1277
 
@@ -966,23 +1291,25 @@ global___AddBoundingBoxToImageByIDResponse = AddBoundingBoxToImageByIDResponse
966
1291
 
967
1292
  @typing.final
968
1293
  class RemoveBoundingBoxFromImageByIDRequest(google.protobuf.message.Message):
969
- """RemoveBoundingBoxFromImageByIDRequest removes the bounding box with specified bbox ID for the file represented by the binary id."""
1294
+ """RemoveBoundingBoxFromImageByIDRequest removes the bounding box with specified bounding box ID for the file represented by the binary ID."""
970
1295
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
971
1296
  BINARY_ID_FIELD_NUMBER: builtins.int
1297
+ BINARY_DATA_ID_FIELD_NUMBER: builtins.int
972
1298
  BBOX_ID_FIELD_NUMBER: builtins.int
1299
+ binary_data_id: builtins.str
973
1300
  bbox_id: builtins.str
974
1301
 
975
1302
  @property
976
1303
  def binary_id(self) -> global___BinaryID:
977
1304
  ...
978
1305
 
979
- def __init__(self, *, binary_id: global___BinaryID | None=..., bbox_id: builtins.str=...) -> None:
1306
+ def __init__(self, *, binary_id: global___BinaryID | None=..., binary_data_id: builtins.str=..., bbox_id: builtins.str=...) -> None:
980
1307
  ...
981
1308
 
982
1309
  def HasField(self, field_name: typing.Literal['binary_id', b'binary_id']) -> builtins.bool:
983
1310
  ...
984
1311
 
985
- def ClearField(self, field_name: typing.Literal['bbox_id', b'bbox_id', 'binary_id', b'binary_id']) -> None:
1312
+ def ClearField(self, field_name: typing.Literal['bbox_id', b'bbox_id', 'binary_data_id', b'binary_data_id', 'binary_id', b'binary_id']) -> None:
986
1313
  ...
987
1314
  global___RemoveBoundingBoxFromImageByIDRequest = RemoveBoundingBoxFromImageByIDRequest
988
1315
 
@@ -994,6 +1321,68 @@ class RemoveBoundingBoxFromImageByIDResponse(google.protobuf.message.Message):
994
1321
  ...
995
1322
  global___RemoveBoundingBoxFromImageByIDResponse = RemoveBoundingBoxFromImageByIDResponse
996
1323
 
1324
+ @typing.final
1325
+ class UpdateBoundingBoxRequest(google.protobuf.message.Message):
1326
+ """UpdateBoundingBoxRequest updates the bounding box with specified bounding box ID for the file represented by the binary ID."""
1327
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1328
+ BINARY_ID_FIELD_NUMBER: builtins.int
1329
+ BINARY_DATA_ID_FIELD_NUMBER: builtins.int
1330
+ BBOX_ID_FIELD_NUMBER: builtins.int
1331
+ LABEL_FIELD_NUMBER: builtins.int
1332
+ X_MIN_NORMALIZED_FIELD_NUMBER: builtins.int
1333
+ Y_MIN_NORMALIZED_FIELD_NUMBER: builtins.int
1334
+ X_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
1335
+ Y_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
1336
+ binary_data_id: builtins.str
1337
+ bbox_id: builtins.str
1338
+ label: builtins.str
1339
+ x_min_normalized: builtins.float
1340
+ y_min_normalized: builtins.float
1341
+ x_max_normalized: builtins.float
1342
+ y_max_normalized: builtins.float
1343
+
1344
+ @property
1345
+ def binary_id(self) -> global___BinaryID:
1346
+ ...
1347
+
1348
+ def __init__(self, *, binary_id: global___BinaryID | None=..., binary_data_id: builtins.str=..., bbox_id: builtins.str=..., label: builtins.str | None=..., x_min_normalized: builtins.float | None=..., y_min_normalized: builtins.float | None=..., x_max_normalized: builtins.float | None=..., y_max_normalized: builtins.float | None=...) -> None:
1349
+ ...
1350
+
1351
+ def HasField(self, field_name: typing.Literal['_label', b'_label', '_x_max_normalized', b'_x_max_normalized', '_x_min_normalized', b'_x_min_normalized', '_y_max_normalized', b'_y_max_normalized', '_y_min_normalized', b'_y_min_normalized', 'binary_id', b'binary_id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> builtins.bool:
1352
+ ...
1353
+
1354
+ def ClearField(self, field_name: typing.Literal['_label', b'_label', '_x_max_normalized', b'_x_max_normalized', '_x_min_normalized', b'_x_min_normalized', '_y_max_normalized', b'_y_max_normalized', '_y_min_normalized', b'_y_min_normalized', 'bbox_id', b'bbox_id', 'binary_data_id', b'binary_data_id', 'binary_id', b'binary_id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> None:
1355
+ ...
1356
+
1357
+ @typing.overload
1358
+ def WhichOneof(self, oneof_group: typing.Literal['_label', b'_label']) -> typing.Literal['label'] | None:
1359
+ ...
1360
+
1361
+ @typing.overload
1362
+ def WhichOneof(self, oneof_group: typing.Literal['_x_max_normalized', b'_x_max_normalized']) -> typing.Literal['x_max_normalized'] | None:
1363
+ ...
1364
+
1365
+ @typing.overload
1366
+ def WhichOneof(self, oneof_group: typing.Literal['_x_min_normalized', b'_x_min_normalized']) -> typing.Literal['x_min_normalized'] | None:
1367
+ ...
1368
+
1369
+ @typing.overload
1370
+ def WhichOneof(self, oneof_group: typing.Literal['_y_max_normalized', b'_y_max_normalized']) -> typing.Literal['y_max_normalized'] | None:
1371
+ ...
1372
+
1373
+ @typing.overload
1374
+ def WhichOneof(self, oneof_group: typing.Literal['_y_min_normalized', b'_y_min_normalized']) -> typing.Literal['y_min_normalized'] | None:
1375
+ ...
1376
+ global___UpdateBoundingBoxRequest = UpdateBoundingBoxRequest
1377
+
1378
+ @typing.final
1379
+ class UpdateBoundingBoxResponse(google.protobuf.message.Message):
1380
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1381
+
1382
+ def __init__(self) -> None:
1383
+ ...
1384
+ global___UpdateBoundingBoxResponse = UpdateBoundingBoxResponse
1385
+
997
1386
  @typing.final
998
1387
  class BoundingBoxLabelsByFilterRequest(google.protobuf.message.Message):
999
1388
  """BoundingBoxLabelsByFilterRequest requests all the labels of the bounding boxes from files from a given filter."""
@@ -1098,6 +1487,7 @@ class AddBinaryDataToDatasetByIDsRequest(google.protobuf.message.Message):
1098
1487
  """AddBinaryDataToDatasetByIDsRequest adds the binary data with the given binary IDs to a dataset with dataset_id."""
1099
1488
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
1100
1489
  BINARY_IDS_FIELD_NUMBER: builtins.int
1490
+ BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
1101
1491
  DATASET_ID_FIELD_NUMBER: builtins.int
1102
1492
  dataset_id: builtins.str
1103
1493
 
@@ -1105,10 +1495,14 @@ class AddBinaryDataToDatasetByIDsRequest(google.protobuf.message.Message):
1105
1495
  def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
1106
1496
  ...
1107
1497
 
1108
- def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., dataset_id: builtins.str=...) -> None:
1498
+ @property
1499
+ def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1109
1500
  ...
1110
1501
 
1111
- def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids', 'dataset_id', b'dataset_id']) -> None:
1502
+ def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=..., dataset_id: builtins.str=...) -> None:
1503
+ ...
1504
+
1505
+ def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'dataset_id', b'dataset_id']) -> None:
1112
1506
  ...
1113
1507
  global___AddBinaryDataToDatasetByIDsRequest = AddBinaryDataToDatasetByIDsRequest
1114
1508
 
@@ -1125,6 +1519,7 @@ class RemoveBinaryDataFromDatasetByIDsRequest(google.protobuf.message.Message):
1125
1519
  """RemoveBinaryDataFromDatasetByIDsRequest removes the specified binary IDs from a dataset with dataset_id."""
1126
1520
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
1127
1521
  BINARY_IDS_FIELD_NUMBER: builtins.int
1522
+ BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
1128
1523
  DATASET_ID_FIELD_NUMBER: builtins.int
1129
1524
  dataset_id: builtins.str
1130
1525
 
@@ -1132,10 +1527,14 @@ class RemoveBinaryDataFromDatasetByIDsRequest(google.protobuf.message.Message):
1132
1527
  def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
1133
1528
  ...
1134
1529
 
1135
- def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., dataset_id: builtins.str=...) -> None:
1530
+ @property
1531
+ def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1532
+ ...
1533
+
1534
+ def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=..., dataset_id: builtins.str=...) -> None:
1136
1535
  ...
1137
1536
 
1138
- def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids', 'dataset_id', b'dataset_id']) -> None:
1537
+ def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'dataset_id', b'dataset_id']) -> None:
1139
1538
  ...
1140
1539
  global___RemoveBinaryDataFromDatasetByIDsRequest = RemoveBinaryDataFromDatasetByIDsRequest
1141
1540
 
@@ -1145,4 +1544,375 @@ class RemoveBinaryDataFromDatasetByIDsResponse(google.protobuf.message.Message):
1145
1544
 
1146
1545
  def __init__(self) -> None:
1147
1546
  ...
1148
- global___RemoveBinaryDataFromDatasetByIDsResponse = RemoveBinaryDataFromDatasetByIDsResponse
1547
+ global___RemoveBinaryDataFromDatasetByIDsResponse = RemoveBinaryDataFromDatasetByIDsResponse
1548
+
1549
+ @typing.final
1550
+ class CreateIndexRequest(google.protobuf.message.Message):
1551
+ """CreateIndexRequest starts a custom index build"""
1552
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1553
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
1554
+ COLLECTION_TYPE_FIELD_NUMBER: builtins.int
1555
+ PIPELINE_NAME_FIELD_NUMBER: builtins.int
1556
+ INDEX_SPEC_FIELD_NUMBER: builtins.int
1557
+ organization_id: builtins.str
1558
+ collection_type: global___IndexableCollection.ValueType
1559
+ pipeline_name: builtins.str
1560
+
1561
+ @property
1562
+ def index_spec(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
1563
+ """index_spec accepts a MongoDB index specification defined in JSON format"""
1564
+
1565
+ def __init__(self, *, organization_id: builtins.str=..., collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=..., index_spec: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
1566
+ ...
1567
+
1568
+ def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
1569
+ ...
1570
+
1571
+ def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'index_spec', b'index_spec', 'organization_id', b'organization_id', 'pipeline_name', b'pipeline_name']) -> None:
1572
+ ...
1573
+
1574
+ def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
1575
+ ...
1576
+ global___CreateIndexRequest = CreateIndexRequest
1577
+
1578
+ @typing.final
1579
+ class CreateIndexResponse(google.protobuf.message.Message):
1580
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1581
+
1582
+ def __init__(self) -> None:
1583
+ ...
1584
+ global___CreateIndexResponse = CreateIndexResponse
1585
+
1586
+ @typing.final
1587
+ class DeleteIndexRequest(google.protobuf.message.Message):
1588
+ """DeleteIndexRequest drops the specified custom index from a collection"""
1589
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1590
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
1591
+ COLLECTION_TYPE_FIELD_NUMBER: builtins.int
1592
+ PIPELINE_NAME_FIELD_NUMBER: builtins.int
1593
+ INDEX_NAME_FIELD_NUMBER: builtins.int
1594
+ organization_id: builtins.str
1595
+ collection_type: global___IndexableCollection.ValueType
1596
+ pipeline_name: builtins.str
1597
+ index_name: builtins.str
1598
+
1599
+ def __init__(self, *, organization_id: builtins.str=..., collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=..., index_name: builtins.str=...) -> None:
1600
+ ...
1601
+
1602
+ def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
1603
+ ...
1604
+
1605
+ def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'index_name', b'index_name', 'organization_id', b'organization_id', 'pipeline_name', b'pipeline_name']) -> None:
1606
+ ...
1607
+
1608
+ def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
1609
+ ...
1610
+ global___DeleteIndexRequest = DeleteIndexRequest
1611
+
1612
+ @typing.final
1613
+ class DeleteIndexResponse(google.protobuf.message.Message):
1614
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1615
+
1616
+ def __init__(self) -> None:
1617
+ ...
1618
+ global___DeleteIndexResponse = DeleteIndexResponse
1619
+
1620
+ @typing.final
1621
+ class ListIndexesRequest(google.protobuf.message.Message):
1622
+ """ListIndexesRequest returns all the indexes for a given collection"""
1623
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1624
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
1625
+ COLLECTION_TYPE_FIELD_NUMBER: builtins.int
1626
+ PIPELINE_NAME_FIELD_NUMBER: builtins.int
1627
+ organization_id: builtins.str
1628
+ collection_type: global___IndexableCollection.ValueType
1629
+ pipeline_name: builtins.str
1630
+
1631
+ def __init__(self, *, organization_id: builtins.str=..., collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=...) -> None:
1632
+ ...
1633
+
1634
+ def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
1635
+ ...
1636
+
1637
+ def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'organization_id', b'organization_id', 'pipeline_name', b'pipeline_name']) -> None:
1638
+ ...
1639
+
1640
+ def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
1641
+ ...
1642
+ global___ListIndexesRequest = ListIndexesRequest
1643
+
1644
+ @typing.final
1645
+ class ListIndexesResponse(google.protobuf.message.Message):
1646
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1647
+ INDEXES_FIELD_NUMBER: builtins.int
1648
+
1649
+ @property
1650
+ def indexes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Index]:
1651
+ ...
1652
+
1653
+ def __init__(self, *, indexes: collections.abc.Iterable[global___Index] | None=...) -> None:
1654
+ ...
1655
+
1656
+ def ClearField(self, field_name: typing.Literal['indexes', b'indexes']) -> None:
1657
+ ...
1658
+ global___ListIndexesResponse = ListIndexesResponse
1659
+
1660
+ @typing.final
1661
+ class Index(google.protobuf.message.Message):
1662
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1663
+ COLLECTION_TYPE_FIELD_NUMBER: builtins.int
1664
+ PIPELINE_NAME_FIELD_NUMBER: builtins.int
1665
+ INDEX_NAME_FIELD_NUMBER: builtins.int
1666
+ INDEX_SPEC_FIELD_NUMBER: builtins.int
1667
+ CREATED_BY_FIELD_NUMBER: builtins.int
1668
+ collection_type: global___IndexableCollection.ValueType
1669
+ pipeline_name: builtins.str
1670
+ index_name: builtins.str
1671
+ created_by: global___IndexCreator.ValueType
1672
+
1673
+ @property
1674
+ def index_spec(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
1675
+ """index_spec defines a MongoDB index in JSON format"""
1676
+
1677
+ def __init__(self, *, collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=..., index_name: builtins.str=..., index_spec: collections.abc.Iterable[builtins.bytes] | None=..., created_by: global___IndexCreator.ValueType=...) -> None:
1678
+ ...
1679
+
1680
+ def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
1681
+ ...
1682
+
1683
+ def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'created_by', b'created_by', 'index_name', b'index_name', 'index_spec', b'index_spec', 'pipeline_name', b'pipeline_name']) -> None:
1684
+ ...
1685
+
1686
+ def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
1687
+ ...
1688
+ global___Index = Index
1689
+
1690
+ @typing.final
1691
+ class CreateSavedQueryRequest(google.protobuf.message.Message):
1692
+ """CreateSavedQueryRequest saves a mql query."""
1693
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1694
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
1695
+ NAME_FIELD_NUMBER: builtins.int
1696
+ MQL_BINARY_FIELD_NUMBER: builtins.int
1697
+ organization_id: builtins.str
1698
+ name: builtins.str
1699
+
1700
+ @property
1701
+ def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
1702
+ ...
1703
+
1704
+ def __init__(self, *, organization_id: builtins.str=..., name: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
1705
+ ...
1706
+
1707
+ def ClearField(self, field_name: typing.Literal['mql_binary', b'mql_binary', 'name', b'name', 'organization_id', b'organization_id']) -> None:
1708
+ ...
1709
+ global___CreateSavedQueryRequest = CreateSavedQueryRequest
1710
+
1711
+ @typing.final
1712
+ class CreateSavedQueryResponse(google.protobuf.message.Message):
1713
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1714
+ ID_FIELD_NUMBER: builtins.int
1715
+ id: builtins.str
1716
+
1717
+ def __init__(self, *, id: builtins.str=...) -> None:
1718
+ ...
1719
+
1720
+ def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
1721
+ ...
1722
+ global___CreateSavedQueryResponse = CreateSavedQueryResponse
1723
+
1724
+ @typing.final
1725
+ class Query(google.protobuf.message.Message):
1726
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1727
+ ID_FIELD_NUMBER: builtins.int
1728
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
1729
+ NAME_FIELD_NUMBER: builtins.int
1730
+ MQL_BINARY_FIELD_NUMBER: builtins.int
1731
+ CREATED_ON_FIELD_NUMBER: builtins.int
1732
+ UPDATED_AT_FIELD_NUMBER: builtins.int
1733
+ id: builtins.str
1734
+ organization_id: builtins.str
1735
+ name: builtins.str
1736
+
1737
+ @property
1738
+ def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
1739
+ ...
1740
+
1741
+ @property
1742
+ def created_on(self) -> google.protobuf.timestamp_pb2.Timestamp:
1743
+ ...
1744
+
1745
+ @property
1746
+ def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
1747
+ ...
1748
+
1749
+ def __init__(self, *, id: builtins.str=..., organization_id: builtins.str=..., name: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=..., created_on: google.protobuf.timestamp_pb2.Timestamp | None=..., updated_at: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None:
1750
+ ...
1751
+
1752
+ def HasField(self, field_name: typing.Literal['created_on', b'created_on', 'updated_at', b'updated_at']) -> builtins.bool:
1753
+ ...
1754
+
1755
+ def ClearField(self, field_name: typing.Literal['created_on', b'created_on', 'id', b'id', 'mql_binary', b'mql_binary', 'name', b'name', 'organization_id', b'organization_id', 'updated_at', b'updated_at']) -> None:
1756
+ ...
1757
+ global___Query = Query
1758
+
1759
+ @typing.final
1760
+ class DeleteSavedQueryRequest(google.protobuf.message.Message):
1761
+ """DeleteSavedQuery deletes a saved query based on the given id."""
1762
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1763
+ ID_FIELD_NUMBER: builtins.int
1764
+ id: builtins.str
1765
+
1766
+ def __init__(self, *, id: builtins.str=...) -> None:
1767
+ ...
1768
+
1769
+ def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
1770
+ ...
1771
+ global___DeleteSavedQueryRequest = DeleteSavedQueryRequest
1772
+
1773
+ @typing.final
1774
+ class DeleteSavedQueryResponse(google.protobuf.message.Message):
1775
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1776
+
1777
+ def __init__(self) -> None:
1778
+ ...
1779
+ global___DeleteSavedQueryResponse = DeleteSavedQueryResponse
1780
+
1781
+ @typing.final
1782
+ class GetSavedQueryRequest(google.protobuf.message.Message):
1783
+ """GetSavedQuery retrieves a saved query by id."""
1784
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1785
+ ID_FIELD_NUMBER: builtins.int
1786
+ id: builtins.str
1787
+
1788
+ def __init__(self, *, id: builtins.str=...) -> None:
1789
+ ...
1790
+
1791
+ def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
1792
+ ...
1793
+ global___GetSavedQueryRequest = GetSavedQueryRequest
1794
+
1795
+ @typing.final
1796
+ class GetSavedQueryResponse(google.protobuf.message.Message):
1797
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1798
+ SAVED_QUERY_FIELD_NUMBER: builtins.int
1799
+
1800
+ @property
1801
+ def saved_query(self) -> global___Query:
1802
+ ...
1803
+
1804
+ def __init__(self, *, saved_query: global___Query | None=...) -> None:
1805
+ ...
1806
+
1807
+ def HasField(self, field_name: typing.Literal['saved_query', b'saved_query']) -> builtins.bool:
1808
+ ...
1809
+
1810
+ def ClearField(self, field_name: typing.Literal['saved_query', b'saved_query']) -> None:
1811
+ ...
1812
+ global___GetSavedQueryResponse = GetSavedQueryResponse
1813
+
1814
+ @typing.final
1815
+ class UpdateSavedQueryRequest(google.protobuf.message.Message):
1816
+ """UpdateSavedQuery updates the saved query with the given id."""
1817
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1818
+ ID_FIELD_NUMBER: builtins.int
1819
+ NAME_FIELD_NUMBER: builtins.int
1820
+ MQL_BINARY_FIELD_NUMBER: builtins.int
1821
+ id: builtins.str
1822
+ name: builtins.str
1823
+
1824
+ @property
1825
+ def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
1826
+ ...
1827
+
1828
+ def __init__(self, *, id: builtins.str=..., name: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
1829
+ ...
1830
+
1831
+ def ClearField(self, field_name: typing.Literal['id', b'id', 'mql_binary', b'mql_binary', 'name', b'name']) -> None:
1832
+ ...
1833
+ global___UpdateSavedQueryRequest = UpdateSavedQueryRequest
1834
+
1835
+ @typing.final
1836
+ class UpdateSavedQueryResponse(google.protobuf.message.Message):
1837
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1838
+
1839
+ def __init__(self) -> None:
1840
+ ...
1841
+ global___UpdateSavedQueryResponse = UpdateSavedQueryResponse
1842
+
1843
+ @typing.final
1844
+ class ListSavedQueriesRequest(google.protobuf.message.Message):
1845
+ """ListSavedQueries lists saved queries for a given organization."""
1846
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1847
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
1848
+ LIMIT_FIELD_NUMBER: builtins.int
1849
+ organization_id: builtins.str
1850
+ limit: builtins.int
1851
+
1852
+ def __init__(self, *, organization_id: builtins.str=..., limit: builtins.int=...) -> None:
1853
+ ...
1854
+
1855
+ def ClearField(self, field_name: typing.Literal['limit', b'limit', 'organization_id', b'organization_id']) -> None:
1856
+ ...
1857
+ global___ListSavedQueriesRequest = ListSavedQueriesRequest
1858
+
1859
+ @typing.final
1860
+ class ListSavedQueriesResponse(google.protobuf.message.Message):
1861
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1862
+ QUERIES_FIELD_NUMBER: builtins.int
1863
+
1864
+ @property
1865
+ def queries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Query]:
1866
+ ...
1867
+
1868
+ def __init__(self, *, queries: collections.abc.Iterable[global___Query] | None=...) -> None:
1869
+ ...
1870
+
1871
+ def ClearField(self, field_name: typing.Literal['queries', b'queries']) -> None:
1872
+ ...
1873
+ global___ListSavedQueriesResponse = ListSavedQueriesResponse
1874
+
1875
+ @typing.final
1876
+ class CreateBinaryDataSignedURLRequest(google.protobuf.message.Message):
1877
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1878
+ BINARY_DATA_ID_FIELD_NUMBER: builtins.int
1879
+ EXPIRATION_MINUTES_FIELD_NUMBER: builtins.int
1880
+ binary_data_id: builtins.str
1881
+ 'The binary data ID of the file to create a signed URL for.'
1882
+ expiration_minutes: builtins.int
1883
+ 'Expiration time in minutes. Defaults to 15 minutes if not specified.\n Maximum allowed is 10080 minutes (7 days).\n '
1884
+
1885
+ def __init__(self, *, binary_data_id: builtins.str=..., expiration_minutes: builtins.int | None=...) -> None:
1886
+ ...
1887
+
1888
+ def HasField(self, field_name: typing.Literal['_expiration_minutes', b'_expiration_minutes', 'expiration_minutes', b'expiration_minutes']) -> builtins.bool:
1889
+ ...
1890
+
1891
+ def ClearField(self, field_name: typing.Literal['_expiration_minutes', b'_expiration_minutes', 'binary_data_id', b'binary_data_id', 'expiration_minutes', b'expiration_minutes']) -> None:
1892
+ ...
1893
+
1894
+ def WhichOneof(self, oneof_group: typing.Literal['_expiration_minutes', b'_expiration_minutes']) -> typing.Literal['expiration_minutes'] | None:
1895
+ ...
1896
+ global___CreateBinaryDataSignedURLRequest = CreateBinaryDataSignedURLRequest
1897
+
1898
+ @typing.final
1899
+ class CreateBinaryDataSignedURLResponse(google.protobuf.message.Message):
1900
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1901
+ SIGNED_URL_FIELD_NUMBER: builtins.int
1902
+ EXPIRES_AT_FIELD_NUMBER: builtins.int
1903
+ signed_url: builtins.str
1904
+ 'The signed URL for the binary data file.'
1905
+
1906
+ @property
1907
+ def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
1908
+ """Expiration time of the signed URL token."""
1909
+
1910
+ def __init__(self, *, signed_url: builtins.str=..., expires_at: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None:
1911
+ ...
1912
+
1913
+ def HasField(self, field_name: typing.Literal['expires_at', b'expires_at']) -> builtins.bool:
1914
+ ...
1915
+
1916
+ def ClearField(self, field_name: typing.Literal['expires_at', b'expires_at', 'signed_url', b'signed_url']) -> None:
1917
+ ...
1918
+ global___CreateBinaryDataSignedURLResponse = CreateBinaryDataSignedURLResponse