@viamrobotics/sdk 0.25.0 → 0.26.0

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. package/dist/app/app-client.d.ts +93 -90
  2. package/dist/app/billing-client.d.ts +7 -8
  3. package/dist/app/billing-client.spec.d.ts +1 -0
  4. package/dist/app/data-client.d.ts +42 -50
  5. package/dist/app/data-client.spec.d.ts +1 -0
  6. package/dist/app/ml-training-client.d.ts +9 -14
  7. package/dist/app/ml-training-client.spec.d.ts +1 -0
  8. package/dist/app/provisioning-client.d.ts +7 -7
  9. package/dist/app/provisioning-client.spec.d.ts +1 -0
  10. package/dist/app/viam-client.d.ts +13 -15
  11. package/dist/app/viam-transport.d.ts +4 -12
  12. package/dist/components/arm/arm.d.ts +10 -8
  13. package/dist/components/arm/client.d.ts +6 -6
  14. package/dist/components/arm.d.ts +1 -1
  15. package/dist/components/base/base.d.ts +11 -10
  16. package/dist/components/base/client.d.ts +4 -5
  17. package/dist/components/base.d.ts +1 -1
  18. package/dist/components/board/board.d.ts +17 -21
  19. package/dist/components/board/client.d.ts +7 -8
  20. package/dist/components/board/client.spec.d.ts +1 -0
  21. package/dist/components/board.d.ts +1 -1
  22. package/dist/components/camera/camera.d.ts +2 -2
  23. package/dist/components/camera/client.d.ts +4 -5
  24. package/dist/components/encoder/client.d.ts +6 -7
  25. package/dist/components/encoder/encoder.d.ts +9 -10
  26. package/dist/components/encoder.d.ts +1 -2
  27. package/dist/components/gantry/client.d.ts +3 -3
  28. package/dist/components/gantry/gantry.d.ts +7 -6
  29. package/dist/components/generic/client.d.ts +3 -3
  30. package/dist/components/gripper/client.d.ts +3 -3
  31. package/dist/components/gripper/gripper.d.ts +5 -4
  32. package/dist/components/input-controller/client.d.ts +5 -6
  33. package/dist/components/input-controller/input-controller.d.ts +7 -5
  34. package/dist/components/inputcontroller.d.ts +1 -1
  35. package/dist/components/motor/client.d.ts +3 -3
  36. package/dist/components/motor/motor.d.ts +11 -10
  37. package/dist/components/movement-sensor/client.d.ts +11 -12
  38. package/dist/components/movement-sensor/client.spec.d.ts +1 -0
  39. package/dist/components/movement-sensor/movement-sensor.d.ts +16 -14
  40. package/dist/components/movementsensor.d.ts +1 -1
  41. package/dist/components/power-sensor/client.d.ts +4 -4
  42. package/dist/components/power-sensor/client.spec.d.ts +1 -0
  43. package/dist/components/power-sensor/power-sensor.d.ts +5 -5
  44. package/dist/components/sensor/client.d.ts +4 -4
  45. package/dist/components/sensor/sensor.d.ts +3 -2
  46. package/dist/components/servo/client.d.ts +5 -5
  47. package/dist/components/servo/servo.d.ts +5 -4
  48. package/dist/extra/stream/client.d.ts +0 -1
  49. package/dist/extra/stream/client.spec.d.ts +1 -0
  50. package/dist/gen/app/agent/v1/agent_connect.d.ts +28 -0
  51. package/dist/gen/app/agent/v1/agent_pb.d.ts +244 -153
  52. package/dist/gen/app/build/v1/build_connect.d.ts +129 -0
  53. package/dist/gen/app/build/v1/build_pb.d.ts +654 -493
  54. package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +71 -0
  55. package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +548 -420
  56. package/dist/gen/app/data/v1/data_connect.d.ts +252 -0
  57. package/dist/gen/app/data/v1/data_pb.d.ts +1672 -1331
  58. package/dist/gen/app/dataset/v1/dataset_connect.d.ts +74 -0
  59. package/dist/gen/app/dataset/v1/dataset_pb.d.ts +272 -213
  60. package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +52 -0
  61. package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +457 -376
  62. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +94 -0
  63. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +566 -429
  64. package/dist/gen/app/packages/v1/packages_connect.d.ts +64 -0
  65. package/dist/gen/app/packages/v1/packages_pb.d.ts +396 -336
  66. package/dist/gen/app/v1/app_connect.d.ts +788 -0
  67. package/dist/gen/app/v1/app_pb.d.ts +5558 -4578
  68. package/dist/gen/app/v1/billing_connect.d.ts +72 -0
  69. package/dist/gen/app/v1/billing_pb.d.ts +479 -396
  70. package/dist/gen/app/v1/end_user_connect.d.ts +73 -0
  71. package/dist/gen/app/v1/end_user_pb.d.ts +292 -244
  72. package/dist/gen/app/v1/robot_connect.d.ts +63 -0
  73. package/dist/gen/app/v1/robot_pb.d.ts +1601 -1289
  74. package/dist/gen/common/v1/common_pb.d.ts +886 -662
  75. package/dist/gen/component/arm/v1/arm_connect.d.ts +121 -0
  76. package/dist/gen/component/arm/v1/arm_pb.d.ts +371 -294
  77. package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +78 -0
  78. package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +246 -189
  79. package/dist/gen/component/base/v1/base_connect.d.ts +122 -0
  80. package/dist/gen/component/base/v1/base_pb.d.ts +393 -307
  81. package/dist/gen/component/board/v1/board_connect.d.ts +161 -0
  82. package/dist/gen/component/board/v1/board_pb.d.ts +684 -535
  83. package/dist/gen/component/camera/v1/camera_connect.d.ts +99 -0
  84. package/dist/gen/component/camera/v1/camera_pb.d.ts +549 -399
  85. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +71 -0
  86. package/dist/gen/component/encoder/v1/encoder_pb.d.ts +201 -144
  87. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +108 -0
  88. package/dist/gen/component/gantry/v1/gantry_pb.d.ts +334 -279
  89. package/dist/gen/component/generic/v1/generic_connect.d.ts +41 -0
  90. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +86 -0
  91. package/dist/gen/component/gripper/v1/gripper_pb.d.ts +188 -160
  92. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +87 -0
  93. package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +334 -264
  94. package/dist/gen/component/motor/v1/motor_connect.d.ts +162 -0
  95. package/dist/gen/component/motor/v1/motor_pb.d.ts +577 -432
  96. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +121 -0
  97. package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +476 -379
  98. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +53 -0
  99. package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +71 -53
  100. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +75 -0
  101. package/dist/gen/component/powersensor/v1/powersensor_pb.d.ts +181 -136
  102. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +52 -0
  103. package/dist/gen/component/servo/v1/servo_connect.d.ts +87 -0
  104. package/dist/gen/component/servo/v1/servo_pb.d.ts +228 -179
  105. package/dist/gen/component/testecho/v1/testecho_connect.d.ts +53 -0
  106. package/dist/gen/component/testecho/v1/testecho_pb.d.ts +186 -150
  107. package/dist/gen/google/api/annotations_pb.d.ts +26 -6
  108. package/dist/gen/google/api/client_pb.d.ts +895 -453
  109. package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +758 -438
  110. package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +236 -132
  111. package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +98 -54
  112. package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +943 -554
  113. package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +274 -197
  114. package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +200 -131
  115. package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +262 -151
  116. package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +614 -402
  117. package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +115 -56
  118. package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +275 -197
  119. package/dist/gen/google/api/field_behavior_pb.d.ts +139 -19
  120. package/dist/gen/google/api/field_info_pb.d.ts +169 -56
  121. package/dist/gen/google/api/http_pb.d.ts +480 -127
  122. package/dist/gen/google/api/httpbody_pb.d.ts +104 -35
  123. package/dist/gen/google/api/launch_stage_pb.d.ts +102 -16
  124. package/dist/gen/google/api/resource_pb.d.ts +334 -88
  125. package/dist/gen/google/api/visibility_pb.d.ts +157 -52
  126. package/dist/gen/google/bytestream/bytestream_connect.d.ts +124 -0
  127. package/dist/gen/google/bytestream/bytestream_pb.d.ts +241 -130
  128. package/dist/gen/google/geo/type/viewport_pb.d.ts +90 -31
  129. package/dist/gen/google/longrunning/operations_connect.d.ts +127 -0
  130. package/dist/gen/google/longrunning/operations_pb.d.ts +351 -202
  131. package/dist/gen/google/rpc/code_pb.d.ts +252 -25
  132. package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +664 -352
  133. package/dist/gen/google/rpc/error_details_pb.d.ts +604 -311
  134. package/dist/gen/google/rpc/status_pb.d.ts +72 -33
  135. package/dist/gen/google/type/calendar_period_pb.d.ts +86 -16
  136. package/dist/gen/google/type/color_pb.d.ts +201 -37
  137. package/dist/gen/google/type/date_pb.d.ts +72 -25
  138. package/dist/gen/google/type/datetime_pb.d.ts +176 -83
  139. package/dist/gen/google/type/dayofweek_pb.d.ts +80 -16
  140. package/dist/gen/google/type/decimal_pb.d.ts +112 -22
  141. package/dist/gen/google/type/expr_pb.d.ts +97 -28
  142. package/dist/gen/google/type/fraction_pb.d.ts +55 -26
  143. package/dist/gen/google/type/interval_pb.d.ts +65 -31
  144. package/dist/gen/google/type/latlng_pb.d.ts +58 -26
  145. package/dist/gen/google/type/localized_text_pb.d.ts +57 -26
  146. package/dist/gen/google/type/money_pb.d.ts +62 -25
  147. package/dist/gen/google/type/month_pb.d.ts +115 -21
  148. package/dist/gen/google/type/phone_number_pb.d.ts +169 -64
  149. package/dist/gen/google/type/postal_address_pb.d.ts +178 -53
  150. package/dist/gen/google/type/quaternion_pb.d.ts +117 -28
  151. package/dist/gen/google/type/timeofday_pb.d.ts +67 -28
  152. package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +44 -0
  153. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +134 -108
  154. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +44 -0
  155. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +149 -119
  156. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_connect.d.ts +26 -0
  157. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +67 -60
  158. package/dist/gen/proto/rpc/v1/auth_connect.d.ts +69 -0
  159. package/dist/gen/proto/rpc/v1/auth_pb.d.ts +145 -101
  160. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +349 -291
  161. package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +78 -0
  162. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +647 -529
  163. package/dist/gen/provisioning/v1/provisioning_connect.d.ts +63 -0
  164. package/dist/gen/provisioning/v1/provisioning_pb.d.ts +285 -231
  165. package/dist/gen/robot/v1/robot_connect.d.ts +239 -0
  166. package/dist/gen/robot/v1/robot_pb.d.ts +1327 -1087
  167. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +42 -0
  168. package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +52 -44
  169. package/dist/gen/service/generic/v1/generic_connect.d.ts +30 -0
  170. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +42 -0
  171. package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +620 -510
  172. package/dist/gen/service/motion/v1/motion_connect.d.ts +118 -0
  173. package/dist/gen/service/motion/v1/motion_pb.d.ts +1063 -795
  174. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +115 -0
  175. package/dist/gen/service/navigation/v1/navigation_pb.d.ts +567 -435
  176. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +58 -0
  177. package/dist/gen/service/sensors/v1/sensors_pb.d.ts +154 -120
  178. package/dist/gen/service/shell/v1/shell_connect.d.ts +78 -0
  179. package/dist/gen/service/shell/v1/shell_pb.d.ts +423 -309
  180. package/dist/gen/service/slam/v1/slam_connect.d.ts +81 -0
  181. package/dist/gen/service/slam/v1/slam_pb.d.ts +305 -204
  182. package/dist/gen/service/vision/v1/vision_connect.d.ts +108 -0
  183. package/dist/gen/service/vision/v1/vision_pb.d.ts +615 -471
  184. package/dist/gen/stream/v1/stream_connect.d.ts +56 -0
  185. package/dist/gen/stream/v1/stream_pb.d.ts +131 -97
  186. package/dist/gen/tagger/v1/tagger_pb.d.ts +17 -6
  187. package/dist/main.d.ts +81 -92
  188. package/dist/main.es.js +21092 -69184
  189. package/dist/main.umd.js +6 -13
  190. package/dist/robot/client.d.ts +990 -59
  191. package/dist/robot/dial.d.ts +2 -4
  192. package/dist/robot/grpc-connection-manager.d.ts +5 -7
  193. package/dist/robot/grpc-connection-manager.spec.d.ts +1 -0
  194. package/dist/robot/robot.d.ts +9 -10
  195. package/dist/robot/session-manager.d.ts +6 -8
  196. package/dist/robot/session-manager.spec.d.ts +1 -0
  197. package/dist/robot/session-transport.d.ts +8 -11
  198. package/dist/robot.d.ts +2 -2
  199. package/dist/rpc/base-channel.d.ts +2 -2
  200. package/dist/rpc/base-stream.d.ts +3 -6
  201. package/dist/rpc/client-channel.d.ts +5 -3
  202. package/dist/rpc/client-stream.d.ts +26 -12
  203. package/dist/rpc/dial.d.ts +49 -9
  204. package/dist/rpc/index.d.ts +3 -5
  205. package/dist/rpc/signaling-exchange.d.ts +33 -0
  206. package/dist/rpc/stream-client-stream.d.ts +16 -0
  207. package/dist/rpc/unary-client-stream.d.ts +13 -0
  208. package/dist/services/data-manager/client.d.ts +3 -3
  209. package/dist/services/data-manager/data-manager.d.ts +3 -2
  210. package/dist/services/generic/client.d.ts +3 -3
  211. package/dist/services/motion/client.d.ts +7 -8
  212. package/dist/services/motion/client.spec.d.ts +1 -0
  213. package/dist/services/motion/motion.d.ts +10 -9
  214. package/dist/services/motion/types.d.ts +12 -16
  215. package/dist/services/motion.d.ts +2 -2
  216. package/dist/services/navigation/client.d.ts +11 -12
  217. package/dist/services/navigation/client.spec.d.ts +1 -0
  218. package/dist/services/navigation/navigation.d.ts +11 -10
  219. package/dist/services/navigation/types.d.ts +8 -6
  220. package/dist/services/navigation.d.ts +2 -2
  221. package/dist/services/slam/client.d.ts +5 -6
  222. package/dist/services/slam/client.spec.d.ts +1 -0
  223. package/dist/services/slam/types.d.ts +4 -3
  224. package/dist/services/slam.d.ts +2 -2
  225. package/dist/services/vision/client.d.ts +13 -19
  226. package/dist/services/vision/types.d.ts +10 -7
  227. package/dist/services/vision/vision.d.ts +10 -9
  228. package/dist/services/vision.d.ts +2 -2
  229. package/dist/types.d.ts +21 -18
  230. package/dist/utils.d.ts +7 -37
  231. package/package.json +6 -9
  232. package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -63
  233. package/dist/gen/app/build/v1/build_pb_service.d.ts +0 -226
  234. package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -158
  235. package/dist/gen/app/data/v1/data_pb_service.d.ts +0 -443
  236. package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +0 -139
  237. package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +0 -85
  238. package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +0 -177
  239. package/dist/gen/app/packages/v1/packages_pb_service.d.ts +0 -112
  240. package/dist/gen/app/v1/app_pb_service.d.ts +0 -1415
  241. package/dist/gen/app/v1/billing_pb_service.d.ts +0 -131
  242. package/dist/gen/app/v1/end_user_pb_service.d.ts +0 -139
  243. package/dist/gen/app/v1/robot_pb_service.d.ts +0 -120
  244. package/dist/gen/common/v1/common_pb_service.d.ts +0 -3
  245. package/dist/gen/component/arm/v1/arm_pb_service.d.ts +0 -216
  246. package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +0 -133
  247. package/dist/gen/component/base/v1/base_pb_service.d.ts +0 -216
  248. package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -284
  249. package/dist/gen/component/camera/v1/camera_pb_service.d.ts +0 -179
  250. package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +0 -140
  251. package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +0 -197
  252. package/dist/gen/component/generic/v1/generic_pb.d.ts +0 -7
  253. package/dist/gen/component/generic/v1/generic_pb_service.d.ts +0 -83
  254. package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +0 -159
  255. package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +0 -151
  256. package/dist/gen/component/motor/v1/motor_pb_service.d.ts +0 -273
  257. package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +0 -254
  258. package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +0 -102
  259. package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +0 -140
  260. package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -7
  261. package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +0 -102
  262. package/dist/gen/component/servo/v1/servo_pb_service.d.ts +0 -159
  263. package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +0 -104
  264. package/dist/gen/google/api/annotations_pb_service.d.ts +0 -3
  265. package/dist/gen/google/api/client_pb_service.d.ts +0 -3
  266. package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +0 -3
  267. package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +0 -3
  268. package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +0 -3
  269. package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +0 -3
  270. package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +0 -3
  271. package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +0 -3
  272. package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +0 -3
  273. package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +0 -3
  274. package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +0 -3
  275. package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +0 -3
  276. package/dist/gen/google/api/field_behavior_pb_service.d.ts +0 -3
  277. package/dist/gen/google/api/field_info_pb_service.d.ts +0 -3
  278. package/dist/gen/google/api/http_pb_service.d.ts +0 -3
  279. package/dist/gen/google/api/httpbody_pb_service.d.ts +0 -3
  280. package/dist/gen/google/api/launch_stage_pb_service.d.ts +0 -3
  281. package/dist/gen/google/api/resource_pb_service.d.ts +0 -3
  282. package/dist/gen/google/api/visibility_pb_service.d.ts +0 -3
  283. package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +0 -85
  284. package/dist/gen/google/geo/type/viewport_pb_service.d.ts +0 -3
  285. package/dist/gen/google/longrunning/operations_pb_service.d.ts +0 -140
  286. package/dist/gen/google/rpc/code_pb_service.d.ts +0 -3
  287. package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +0 -3
  288. package/dist/gen/google/rpc/error_details_pb_service.d.ts +0 -3
  289. package/dist/gen/google/rpc/status_pb_service.d.ts +0 -3
  290. package/dist/gen/google/type/calendar_period_pb_service.d.ts +0 -3
  291. package/dist/gen/google/type/color_pb_service.d.ts +0 -3
  292. package/dist/gen/google/type/date_pb_service.d.ts +0 -3
  293. package/dist/gen/google/type/datetime_pb_service.d.ts +0 -3
  294. package/dist/gen/google/type/dayofweek_pb_service.d.ts +0 -3
  295. package/dist/gen/google/type/decimal_pb_service.d.ts +0 -3
  296. package/dist/gen/google/type/expr_pb_service.d.ts +0 -3
  297. package/dist/gen/google/type/fraction_pb_service.d.ts +0 -3
  298. package/dist/gen/google/type/interval_pb_service.d.ts +0 -3
  299. package/dist/gen/google/type/latlng_pb_service.d.ts +0 -3
  300. package/dist/gen/google/type/localized_text_pb_service.d.ts +0 -3
  301. package/dist/gen/google/type/money_pb_service.d.ts +0 -3
  302. package/dist/gen/google/type/month_pb_service.d.ts +0 -3
  303. package/dist/gen/google/type/phone_number_pb_service.d.ts +0 -3
  304. package/dist/gen/google/type/postal_address_pb_service.d.ts +0 -3
  305. package/dist/gen/google/type/quaternion_pb_service.d.ts +0 -3
  306. package/dist/gen/google/type/timeofday_pb_service.d.ts +0 -3
  307. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +0 -85
  308. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +0 -85
  309. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +0 -55
  310. package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +0 -92
  311. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +0 -3
  312. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +0 -104
  313. package/dist/gen/provisioning/v1/provisioning_pb_service.d.ts +0 -120
  314. package/dist/gen/robot/v1/robot_pb_service.d.ts +0 -435
  315. package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +0 -83
  316. package/dist/gen/service/generic/v1/generic_pb.d.ts +0 -7
  317. package/dist/gen/service/generic/v1/generic_pb_service.d.ts +0 -64
  318. package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +0 -82
  319. package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -197
  320. package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +0 -235
  321. package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +0 -102
  322. package/dist/gen/service/shell/v1/shell_pb_service.d.ts +0 -97
  323. package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -124
  324. package/dist/gen/service/vision/v1/vision_pb_service.d.ts +0 -197
  325. package/dist/gen/stream/v1/stream_pb_service.d.ts +0 -101
  326. package/dist/gen/tagger/v1/tagger_pb_service.d.ts +0 -3
  327. package/dist/responses.d.ts +0 -8
  328. package/dist/rpc/grpc-error.d.ts +0 -6
@@ -1,349 +1,642 @@
1
- // package: google.rpc
2
- // file: google/rpc/error_details.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
6
-
7
- export class ErrorInfo extends jspb.Message {
8
- getReason(): string;
9
- setReason(value: string): void;
10
-
11
- getDomain(): string;
12
- setDomain(value: string): void;
13
-
14
- getMetadataMap(): jspb.Map<string, string>;
15
- clearMetadataMap(): void;
16
- serializeBinary(): Uint8Array;
17
- toObject(includeInstance?: boolean): ErrorInfo.AsObject;
18
- static toObject(includeInstance: boolean, msg: ErrorInfo): ErrorInfo.AsObject;
19
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
20
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
21
- static serializeBinaryToWriter(message: ErrorInfo, writer: jspb.BinaryWriter): void;
22
- static deserializeBinary(bytes: Uint8Array): ErrorInfo;
23
- static deserializeBinaryFromReader(message: ErrorInfo, reader: jspb.BinaryReader): ErrorInfo;
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v1.10.0
16
+ // @generated from file google/rpc/error_details.proto (package google.rpc, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+
23
+ /**
24
+ * Describes the cause of the error with structured details.
25
+ *
26
+ * Example of an error when contacting the "pubsub.googleapis.com" API when it
27
+ * is not enabled:
28
+ *
29
+ * { "reason": "API_DISABLED"
30
+ * "domain": "googleapis.com"
31
+ * "metadata": {
32
+ * "resource": "projects/123",
33
+ * "service": "pubsub.googleapis.com"
34
+ * }
35
+ * }
36
+ *
37
+ * This response indicates that the pubsub.googleapis.com API is not enabled.
38
+ *
39
+ * Example of an error that is returned when attempting to create a Spanner
40
+ * instance in a region that is out of stock:
41
+ *
42
+ * { "reason": "STOCKOUT"
43
+ * "domain": "spanner.googleapis.com",
44
+ * "metadata": {
45
+ * "availableRegions": "us-central1,us-east2"
46
+ * }
47
+ * }
48
+ *
49
+ * @generated from message google.rpc.ErrorInfo
50
+ */
51
+ export declare class ErrorInfo extends Message<ErrorInfo> {
52
+ /**
53
+ * The reason of the error. This is a constant value that identifies the
54
+ * proximate cause of the error. Error reasons are unique within a particular
55
+ * domain of errors. This should be at most 63 characters and match a
56
+ * regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
57
+ * UPPER_SNAKE_CASE.
58
+ *
59
+ * @generated from field: string reason = 1;
60
+ */
61
+ reason: string;
62
+
63
+ /**
64
+ * The logical grouping to which the "reason" belongs. The error domain
65
+ * is typically the registered service name of the tool or product that
66
+ * generates the error. Example: "pubsub.googleapis.com". If the error is
67
+ * generated by some common infrastructure, the error domain must be a
68
+ * globally unique value that identifies the infrastructure. For Google API
69
+ * infrastructure, the error domain is "googleapis.com".
70
+ *
71
+ * @generated from field: string domain = 2;
72
+ */
73
+ domain: string;
74
+
75
+ /**
76
+ * Additional structured details about this error.
77
+ *
78
+ * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
79
+ * length. When identifying the current value of an exceeded limit, the units
80
+ * should be contained in the key, not the value. For example, rather than
81
+ * {"instanceLimit": "100/request"}, should be returned as,
82
+ * {"instanceLimitPerRequest": "100"}, if the client exceeds the number of
83
+ * instances that can be created in a single (batch) request.
84
+ *
85
+ * @generated from field: map<string, string> metadata = 3;
86
+ */
87
+ metadata: { [key: string]: string };
88
+
89
+ constructor(data?: PartialMessage<ErrorInfo>);
90
+
91
+ static readonly runtime: typeof proto3;
92
+ static readonly typeName = "google.rpc.ErrorInfo";
93
+ static readonly fields: FieldList;
94
+
95
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ErrorInfo;
96
+
97
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ErrorInfo;
98
+
99
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ErrorInfo;
100
+
101
+ static equals(a: ErrorInfo | PlainMessage<ErrorInfo> | undefined, b: ErrorInfo | PlainMessage<ErrorInfo> | undefined): boolean;
24
102
  }
25
103
 
26
- export namespace ErrorInfo {
27
- export type AsObject = {
28
- reason: string,
29
- domain: string,
30
- metadataMap: Array<[string, string]>,
31
- }
104
+ /**
105
+ * Describes when the clients can retry a failed request. Clients could ignore
106
+ * the recommendation here or retry when this information is missing from error
107
+ * responses.
108
+ *
109
+ * It's always recommended that clients should use exponential backoff when
110
+ * retrying.
111
+ *
112
+ * Clients should wait until `retry_delay` amount of time has passed since
113
+ * receiving the error response before retrying. If retrying requests also
114
+ * fail, clients should use an exponential backoff scheme to gradually increase
115
+ * the delay between retries based on `retry_delay`, until either a maximum
116
+ * number of retries have been reached or a maximum retry delay cap has been
117
+ * reached.
118
+ *
119
+ * @generated from message google.rpc.RetryInfo
120
+ */
121
+ export declare class RetryInfo extends Message<RetryInfo> {
122
+ /**
123
+ * Clients should wait at least this long between retrying the same request.
124
+ *
125
+ * @generated from field: google.protobuf.Duration retry_delay = 1;
126
+ */
127
+ retryDelay?: Duration;
128
+
129
+ constructor(data?: PartialMessage<RetryInfo>);
130
+
131
+ static readonly runtime: typeof proto3;
132
+ static readonly typeName = "google.rpc.RetryInfo";
133
+ static readonly fields: FieldList;
134
+
135
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RetryInfo;
136
+
137
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RetryInfo;
138
+
139
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RetryInfo;
140
+
141
+ static equals(a: RetryInfo | PlainMessage<RetryInfo> | undefined, b: RetryInfo | PlainMessage<RetryInfo> | undefined): boolean;
32
142
  }
33
143
 
34
- export class RetryInfo extends jspb.Message {
35
- hasRetryDelay(): boolean;
36
- clearRetryDelay(): void;
37
- getRetryDelay(): google_protobuf_duration_pb.Duration | undefined;
38
- setRetryDelay(value?: google_protobuf_duration_pb.Duration): void;
39
-
40
- serializeBinary(): Uint8Array;
41
- toObject(includeInstance?: boolean): RetryInfo.AsObject;
42
- static toObject(includeInstance: boolean, msg: RetryInfo): RetryInfo.AsObject;
43
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
44
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
45
- static serializeBinaryToWriter(message: RetryInfo, writer: jspb.BinaryWriter): void;
46
- static deserializeBinary(bytes: Uint8Array): RetryInfo;
47
- static deserializeBinaryFromReader(message: RetryInfo, reader: jspb.BinaryReader): RetryInfo;
48
- }
144
+ /**
145
+ * Describes additional debugging info.
146
+ *
147
+ * @generated from message google.rpc.DebugInfo
148
+ */
149
+ export declare class DebugInfo extends Message<DebugInfo> {
150
+ /**
151
+ * The stack trace entries indicating where the error occurred.
152
+ *
153
+ * @generated from field: repeated string stack_entries = 1;
154
+ */
155
+ stackEntries: string[];
49
156
 
50
- export namespace RetryInfo {
51
- export type AsObject = {
52
- retryDelay?: google_protobuf_duration_pb.Duration.AsObject,
53
- }
54
- }
157
+ /**
158
+ * Additional debugging information provided by the server.
159
+ *
160
+ * @generated from field: string detail = 2;
161
+ */
162
+ detail: string;
55
163
 
56
- export class DebugInfo extends jspb.Message {
57
- clearStackEntriesList(): void;
58
- getStackEntriesList(): Array<string>;
59
- setStackEntriesList(value: Array<string>): void;
60
- addStackEntries(value: string, index?: number): string;
61
-
62
- getDetail(): string;
63
- setDetail(value: string): void;
64
-
65
- serializeBinary(): Uint8Array;
66
- toObject(includeInstance?: boolean): DebugInfo.AsObject;
67
- static toObject(includeInstance: boolean, msg: DebugInfo): DebugInfo.AsObject;
68
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
69
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
70
- static serializeBinaryToWriter(message: DebugInfo, writer: jspb.BinaryWriter): void;
71
- static deserializeBinary(bytes: Uint8Array): DebugInfo;
72
- static deserializeBinaryFromReader(message: DebugInfo, reader: jspb.BinaryReader): DebugInfo;
73
- }
164
+ constructor(data?: PartialMessage<DebugInfo>);
165
+
166
+ static readonly runtime: typeof proto3;
167
+ static readonly typeName = "google.rpc.DebugInfo";
168
+ static readonly fields: FieldList;
169
+
170
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DebugInfo;
171
+
172
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DebugInfo;
173
+
174
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DebugInfo;
74
175
 
75
- export namespace DebugInfo {
76
- export type AsObject = {
77
- stackEntriesList: Array<string>,
78
- detail: string,
79
- }
176
+ static equals(a: DebugInfo | PlainMessage<DebugInfo> | undefined, b: DebugInfo | PlainMessage<DebugInfo> | undefined): boolean;
80
177
  }
81
178
 
82
- export class QuotaFailure extends jspb.Message {
83
- clearViolationsList(): void;
84
- getViolationsList(): Array<QuotaFailure.Violation>;
85
- setViolationsList(value: Array<QuotaFailure.Violation>): void;
86
- addViolations(value?: QuotaFailure.Violation, index?: number): QuotaFailure.Violation;
87
-
88
- serializeBinary(): Uint8Array;
89
- toObject(includeInstance?: boolean): QuotaFailure.AsObject;
90
- static toObject(includeInstance: boolean, msg: QuotaFailure): QuotaFailure.AsObject;
91
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
92
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
93
- static serializeBinaryToWriter(message: QuotaFailure, writer: jspb.BinaryWriter): void;
94
- static deserializeBinary(bytes: Uint8Array): QuotaFailure;
95
- static deserializeBinaryFromReader(message: QuotaFailure, reader: jspb.BinaryReader): QuotaFailure;
179
+ /**
180
+ * Describes how a quota check failed.
181
+ *
182
+ * For example if a daily limit was exceeded for the calling project,
183
+ * a service could respond with a QuotaFailure detail containing the project
184
+ * id and the description of the quota limit that was exceeded. If the
185
+ * calling project hasn't enabled the service in the developer console, then
186
+ * a service could respond with the project id and set `service_disabled`
187
+ * to true.
188
+ *
189
+ * Also see RetryInfo and Help types for other details about handling a
190
+ * quota failure.
191
+ *
192
+ * @generated from message google.rpc.QuotaFailure
193
+ */
194
+ export declare class QuotaFailure extends Message<QuotaFailure> {
195
+ /**
196
+ * Describes all quota violations.
197
+ *
198
+ * @generated from field: repeated google.rpc.QuotaFailure.Violation violations = 1;
199
+ */
200
+ violations: QuotaFailure_Violation[];
201
+
202
+ constructor(data?: PartialMessage<QuotaFailure>);
203
+
204
+ static readonly runtime: typeof proto3;
205
+ static readonly typeName = "google.rpc.QuotaFailure";
206
+ static readonly fields: FieldList;
207
+
208
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuotaFailure;
209
+
210
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuotaFailure;
211
+
212
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuotaFailure;
213
+
214
+ static equals(a: QuotaFailure | PlainMessage<QuotaFailure> | undefined, b: QuotaFailure | PlainMessage<QuotaFailure> | undefined): boolean;
96
215
  }
97
216
 
98
- export namespace QuotaFailure {
99
- export type AsObject = {
100
- violationsList: Array<QuotaFailure.Violation.AsObject>,
101
- }
102
-
103
- export class Violation extends jspb.Message {
104
- getSubject(): string;
105
- setSubject(value: string): void;
106
-
107
- getDescription(): string;
108
- setDescription(value: string): void;
109
-
110
- serializeBinary(): Uint8Array;
111
- toObject(includeInstance?: boolean): Violation.AsObject;
112
- static toObject(includeInstance: boolean, msg: Violation): Violation.AsObject;
113
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
114
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
115
- static serializeBinaryToWriter(message: Violation, writer: jspb.BinaryWriter): void;
116
- static deserializeBinary(bytes: Uint8Array): Violation;
117
- static deserializeBinaryFromReader(message: Violation, reader: jspb.BinaryReader): Violation;
118
- }
119
-
120
- export namespace Violation {
121
- export type AsObject = {
122
- subject: string,
123
- description: string,
124
- }
125
- }
217
+ /**
218
+ * A message type used to describe a single quota violation. For example, a
219
+ * daily quota or a custom quota that was exceeded.
220
+ *
221
+ * @generated from message google.rpc.QuotaFailure.Violation
222
+ */
223
+ export declare class QuotaFailure_Violation extends Message<QuotaFailure_Violation> {
224
+ /**
225
+ * The subject on which the quota check failed.
226
+ * For example, "clientip:<ip address of client>" or "project:<Google
227
+ * developer project id>".
228
+ *
229
+ * @generated from field: string subject = 1;
230
+ */
231
+ subject: string;
232
+
233
+ /**
234
+ * A description of how the quota check failed. Clients can use this
235
+ * description to find more about the quota configuration in the service's
236
+ * public documentation, or find the relevant quota limit to adjust through
237
+ * developer console.
238
+ *
239
+ * For example: "Service disabled" or "Daily Limit for read operations
240
+ * exceeded".
241
+ *
242
+ * @generated from field: string description = 2;
243
+ */
244
+ description: string;
245
+
246
+ constructor(data?: PartialMessage<QuotaFailure_Violation>);
247
+
248
+ static readonly runtime: typeof proto3;
249
+ static readonly typeName = "google.rpc.QuotaFailure.Violation";
250
+ static readonly fields: FieldList;
251
+
252
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuotaFailure_Violation;
253
+
254
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuotaFailure_Violation;
255
+
256
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuotaFailure_Violation;
257
+
258
+ static equals(a: QuotaFailure_Violation | PlainMessage<QuotaFailure_Violation> | undefined, b: QuotaFailure_Violation | PlainMessage<QuotaFailure_Violation> | undefined): boolean;
126
259
  }
127
260
 
128
- export class PreconditionFailure extends jspb.Message {
129
- clearViolationsList(): void;
130
- getViolationsList(): Array<PreconditionFailure.Violation>;
131
- setViolationsList(value: Array<PreconditionFailure.Violation>): void;
132
- addViolations(value?: PreconditionFailure.Violation, index?: number): PreconditionFailure.Violation;
133
-
134
- serializeBinary(): Uint8Array;
135
- toObject(includeInstance?: boolean): PreconditionFailure.AsObject;
136
- static toObject(includeInstance: boolean, msg: PreconditionFailure): PreconditionFailure.AsObject;
137
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
138
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
139
- static serializeBinaryToWriter(message: PreconditionFailure, writer: jspb.BinaryWriter): void;
140
- static deserializeBinary(bytes: Uint8Array): PreconditionFailure;
141
- static deserializeBinaryFromReader(message: PreconditionFailure, reader: jspb.BinaryReader): PreconditionFailure;
261
+ /**
262
+ * Describes what preconditions have failed.
263
+ *
264
+ * For example, if an RPC failed because it required the Terms of Service to be
265
+ * acknowledged, it could list the terms of service violation in the
266
+ * PreconditionFailure message.
267
+ *
268
+ * @generated from message google.rpc.PreconditionFailure
269
+ */
270
+ export declare class PreconditionFailure extends Message<PreconditionFailure> {
271
+ /**
272
+ * Describes all precondition violations.
273
+ *
274
+ * @generated from field: repeated google.rpc.PreconditionFailure.Violation violations = 1;
275
+ */
276
+ violations: PreconditionFailure_Violation[];
277
+
278
+ constructor(data?: PartialMessage<PreconditionFailure>);
279
+
280
+ static readonly runtime: typeof proto3;
281
+ static readonly typeName = "google.rpc.PreconditionFailure";
282
+ static readonly fields: FieldList;
283
+
284
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PreconditionFailure;
285
+
286
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PreconditionFailure;
287
+
288
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PreconditionFailure;
289
+
290
+ static equals(a: PreconditionFailure | PlainMessage<PreconditionFailure> | undefined, b: PreconditionFailure | PlainMessage<PreconditionFailure> | undefined): boolean;
142
291
  }
143
292
 
144
- export namespace PreconditionFailure {
145
- export type AsObject = {
146
- violationsList: Array<PreconditionFailure.Violation.AsObject>,
147
- }
148
-
149
- export class Violation extends jspb.Message {
150
- getType(): string;
151
- setType(value: string): void;
152
-
153
- getSubject(): string;
154
- setSubject(value: string): void;
155
-
156
- getDescription(): string;
157
- setDescription(value: string): void;
158
-
159
- serializeBinary(): Uint8Array;
160
- toObject(includeInstance?: boolean): Violation.AsObject;
161
- static toObject(includeInstance: boolean, msg: Violation): Violation.AsObject;
162
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
163
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
164
- static serializeBinaryToWriter(message: Violation, writer: jspb.BinaryWriter): void;
165
- static deserializeBinary(bytes: Uint8Array): Violation;
166
- static deserializeBinaryFromReader(message: Violation, reader: jspb.BinaryReader): Violation;
167
- }
168
-
169
- export namespace Violation {
170
- export type AsObject = {
171
- type: string,
172
- subject: string,
173
- description: string,
174
- }
175
- }
293
+ /**
294
+ * A message type used to describe a single precondition failure.
295
+ *
296
+ * @generated from message google.rpc.PreconditionFailure.Violation
297
+ */
298
+ export declare class PreconditionFailure_Violation extends Message<PreconditionFailure_Violation> {
299
+ /**
300
+ * The type of PreconditionFailure. We recommend using a service-specific
301
+ * enum type to define the supported precondition violation subjects. For
302
+ * example, "TOS" for "Terms of Service violation".
303
+ *
304
+ * @generated from field: string type = 1;
305
+ */
306
+ type: string;
307
+
308
+ /**
309
+ * The subject, relative to the type, that failed.
310
+ * For example, "google.com/cloud" relative to the "TOS" type would indicate
311
+ * which terms of service is being referenced.
312
+ *
313
+ * @generated from field: string subject = 2;
314
+ */
315
+ subject: string;
316
+
317
+ /**
318
+ * A description of how the precondition failed. Developers can use this
319
+ * description to understand how to fix the failure.
320
+ *
321
+ * For example: "Terms of service not accepted".
322
+ *
323
+ * @generated from field: string description = 3;
324
+ */
325
+ description: string;
326
+
327
+ constructor(data?: PartialMessage<PreconditionFailure_Violation>);
328
+
329
+ static readonly runtime: typeof proto3;
330
+ static readonly typeName = "google.rpc.PreconditionFailure.Violation";
331
+ static readonly fields: FieldList;
332
+
333
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PreconditionFailure_Violation;
334
+
335
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PreconditionFailure_Violation;
336
+
337
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PreconditionFailure_Violation;
338
+
339
+ static equals(a: PreconditionFailure_Violation | PlainMessage<PreconditionFailure_Violation> | undefined, b: PreconditionFailure_Violation | PlainMessage<PreconditionFailure_Violation> | undefined): boolean;
176
340
  }
177
341
 
178
- export class BadRequest extends jspb.Message {
179
- clearFieldViolationsList(): void;
180
- getFieldViolationsList(): Array<BadRequest.FieldViolation>;
181
- setFieldViolationsList(value: Array<BadRequest.FieldViolation>): void;
182
- addFieldViolations(value?: BadRequest.FieldViolation, index?: number): BadRequest.FieldViolation;
183
-
184
- serializeBinary(): Uint8Array;
185
- toObject(includeInstance?: boolean): BadRequest.AsObject;
186
- static toObject(includeInstance: boolean, msg: BadRequest): BadRequest.AsObject;
187
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
188
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
189
- static serializeBinaryToWriter(message: BadRequest, writer: jspb.BinaryWriter): void;
190
- static deserializeBinary(bytes: Uint8Array): BadRequest;
191
- static deserializeBinaryFromReader(message: BadRequest, reader: jspb.BinaryReader): BadRequest;
342
+ /**
343
+ * Describes violations in a client request. This error type focuses on the
344
+ * syntactic aspects of the request.
345
+ *
346
+ * @generated from message google.rpc.BadRequest
347
+ */
348
+ export declare class BadRequest extends Message<BadRequest> {
349
+ /**
350
+ * Describes all violations in a client request.
351
+ *
352
+ * @generated from field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1;
353
+ */
354
+ fieldViolations: BadRequest_FieldViolation[];
355
+
356
+ constructor(data?: PartialMessage<BadRequest>);
357
+
358
+ static readonly runtime: typeof proto3;
359
+ static readonly typeName = "google.rpc.BadRequest";
360
+ static readonly fields: FieldList;
361
+
362
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BadRequest;
363
+
364
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BadRequest;
365
+
366
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BadRequest;
367
+
368
+ static equals(a: BadRequest | PlainMessage<BadRequest> | undefined, b: BadRequest | PlainMessage<BadRequest> | undefined): boolean;
192
369
  }
193
370
 
194
- export namespace BadRequest {
195
- export type AsObject = {
196
- fieldViolationsList: Array<BadRequest.FieldViolation.AsObject>,
197
- }
198
-
199
- export class FieldViolation extends jspb.Message {
200
- getField(): string;
201
- setField(value: string): void;
202
-
203
- getDescription(): string;
204
- setDescription(value: string): void;
205
-
206
- serializeBinary(): Uint8Array;
207
- toObject(includeInstance?: boolean): FieldViolation.AsObject;
208
- static toObject(includeInstance: boolean, msg: FieldViolation): FieldViolation.AsObject;
209
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
210
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
211
- static serializeBinaryToWriter(message: FieldViolation, writer: jspb.BinaryWriter): void;
212
- static deserializeBinary(bytes: Uint8Array): FieldViolation;
213
- static deserializeBinaryFromReader(message: FieldViolation, reader: jspb.BinaryReader): FieldViolation;
214
- }
215
-
216
- export namespace FieldViolation {
217
- export type AsObject = {
218
- field: string,
219
- description: string,
220
- }
221
- }
371
+ /**
372
+ * A message type used to describe a single bad request field.
373
+ *
374
+ * @generated from message google.rpc.BadRequest.FieldViolation
375
+ */
376
+ export declare class BadRequest_FieldViolation extends Message<BadRequest_FieldViolation> {
377
+ /**
378
+ * A path that leads to a field in the request body. The value will be a
379
+ * sequence of dot-separated identifiers that identify a protocol buffer
380
+ * field.
381
+ *
382
+ * Consider the following:
383
+ *
384
+ * message CreateContactRequest {
385
+ * message EmailAddress {
386
+ * enum Type {
387
+ * TYPE_UNSPECIFIED = 0;
388
+ * HOME = 1;
389
+ * WORK = 2;
390
+ * }
391
+ *
392
+ * optional string email = 1;
393
+ * repeated EmailType type = 2;
394
+ * }
395
+ *
396
+ * string full_name = 1;
397
+ * repeated EmailAddress email_addresses = 2;
398
+ * }
399
+ *
400
+ * In this example, in proto `field` could take one of the following values:
401
+ *
402
+ * * `full_name` for a violation in the `full_name` value
403
+ * * `email_addresses[1].email` for a violation in the `email` field of the
404
+ * first `email_addresses` message
405
+ * * `email_addresses[3].type[2]` for a violation in the second `type`
406
+ * value in the third `email_addresses` message.
407
+ *
408
+ * In JSON, the same values are represented as:
409
+ *
410
+ * * `fullName` for a violation in the `fullName` value
411
+ * * `emailAddresses[1].email` for a violation in the `email` field of the
412
+ * first `emailAddresses` message
413
+ * * `emailAddresses[3].type[2]` for a violation in the second `type`
414
+ * value in the third `emailAddresses` message.
415
+ *
416
+ * @generated from field: string field = 1;
417
+ */
418
+ field: string;
419
+
420
+ /**
421
+ * A description of why the request element is bad.
422
+ *
423
+ * @generated from field: string description = 2;
424
+ */
425
+ description: string;
426
+
427
+ constructor(data?: PartialMessage<BadRequest_FieldViolation>);
428
+
429
+ static readonly runtime: typeof proto3;
430
+ static readonly typeName = "google.rpc.BadRequest.FieldViolation";
431
+ static readonly fields: FieldList;
432
+
433
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BadRequest_FieldViolation;
434
+
435
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BadRequest_FieldViolation;
436
+
437
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BadRequest_FieldViolation;
438
+
439
+ static equals(a: BadRequest_FieldViolation | PlainMessage<BadRequest_FieldViolation> | undefined, b: BadRequest_FieldViolation | PlainMessage<BadRequest_FieldViolation> | undefined): boolean;
222
440
  }
223
441
 
224
- export class RequestInfo extends jspb.Message {
225
- getRequestId(): string;
226
- setRequestId(value: string): void;
227
-
228
- getServingData(): string;
229
- setServingData(value: string): void;
230
-
231
- serializeBinary(): Uint8Array;
232
- toObject(includeInstance?: boolean): RequestInfo.AsObject;
233
- static toObject(includeInstance: boolean, msg: RequestInfo): RequestInfo.AsObject;
234
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
235
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
236
- static serializeBinaryToWriter(message: RequestInfo, writer: jspb.BinaryWriter): void;
237
- static deserializeBinary(bytes: Uint8Array): RequestInfo;
238
- static deserializeBinaryFromReader(message: RequestInfo, reader: jspb.BinaryReader): RequestInfo;
442
+ /**
443
+ * Contains metadata about the request that clients can attach when filing a bug
444
+ * or providing other forms of feedback.
445
+ *
446
+ * @generated from message google.rpc.RequestInfo
447
+ */
448
+ export declare class RequestInfo extends Message<RequestInfo> {
449
+ /**
450
+ * An opaque string that should only be interpreted by the service generating
451
+ * it. For example, it can be used to identify requests in the service's logs.
452
+ *
453
+ * @generated from field: string request_id = 1;
454
+ */
455
+ requestId: string;
456
+
457
+ /**
458
+ * Any data that was used to serve this request. For example, an encrypted
459
+ * stack trace that can be sent back to the service provider for debugging.
460
+ *
461
+ * @generated from field: string serving_data = 2;
462
+ */
463
+ servingData: string;
464
+
465
+ constructor(data?: PartialMessage<RequestInfo>);
466
+
467
+ static readonly runtime: typeof proto3;
468
+ static readonly typeName = "google.rpc.RequestInfo";
469
+ static readonly fields: FieldList;
470
+
471
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RequestInfo;
472
+
473
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RequestInfo;
474
+
475
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RequestInfo;
476
+
477
+ static equals(a: RequestInfo | PlainMessage<RequestInfo> | undefined, b: RequestInfo | PlainMessage<RequestInfo> | undefined): boolean;
239
478
  }
240
479
 
241
- export namespace RequestInfo {
242
- export type AsObject = {
243
- requestId: string,
244
- servingData: string,
245
- }
480
+ /**
481
+ * Describes the resource that is being accessed.
482
+ *
483
+ * @generated from message google.rpc.ResourceInfo
484
+ */
485
+ export declare class ResourceInfo extends Message<ResourceInfo> {
486
+ /**
487
+ * A name for the type of resource being accessed, e.g. "sql table",
488
+ * "cloud storage bucket", "file", "Google calendar"; or the type URL
489
+ * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
490
+ *
491
+ * @generated from field: string resource_type = 1;
492
+ */
493
+ resourceType: string;
494
+
495
+ /**
496
+ * The name of the resource being accessed. For example, a shared calendar
497
+ * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
498
+ * error is
499
+ * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
500
+ *
501
+ * @generated from field: string resource_name = 2;
502
+ */
503
+ resourceName: string;
504
+
505
+ /**
506
+ * The owner of the resource (optional).
507
+ * For example, "user:<owner email>" or "project:<Google developer project
508
+ * id>".
509
+ *
510
+ * @generated from field: string owner = 3;
511
+ */
512
+ owner: string;
513
+
514
+ /**
515
+ * Describes what error is encountered when accessing this resource.
516
+ * For example, updating a cloud project may require the `writer` permission
517
+ * on the developer console project.
518
+ *
519
+ * @generated from field: string description = 4;
520
+ */
521
+ description: string;
522
+
523
+ constructor(data?: PartialMessage<ResourceInfo>);
524
+
525
+ static readonly runtime: typeof proto3;
526
+ static readonly typeName = "google.rpc.ResourceInfo";
527
+ static readonly fields: FieldList;
528
+
529
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceInfo;
530
+
531
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResourceInfo;
532
+
533
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResourceInfo;
534
+
535
+ static equals(a: ResourceInfo | PlainMessage<ResourceInfo> | undefined, b: ResourceInfo | PlainMessage<ResourceInfo> | undefined): boolean;
246
536
  }
247
537
 
248
- export class ResourceInfo extends jspb.Message {
249
- getResourceType(): string;
250
- setResourceType(value: string): void;
538
+ /**
539
+ * Provides links to documentation or for performing an out of band action.
540
+ *
541
+ * For example, if a quota check failed with an error indicating the calling
542
+ * project hasn't enabled the accessed service, this can contain a URL pointing
543
+ * directly to the right place in the developer console to flip the bit.
544
+ *
545
+ * @generated from message google.rpc.Help
546
+ */
547
+ export declare class Help extends Message<Help> {
548
+ /**
549
+ * URL(s) pointing to additional information on handling the current error.
550
+ *
551
+ * @generated from field: repeated google.rpc.Help.Link links = 1;
552
+ */
553
+ links: Help_Link[];
251
554
 
252
- getResourceName(): string;
253
- setResourceName(value: string): void;
555
+ constructor(data?: PartialMessage<Help>);
254
556
 
255
- getOwner(): string;
256
- setOwner(value: string): void;
557
+ static readonly runtime: typeof proto3;
558
+ static readonly typeName = "google.rpc.Help";
559
+ static readonly fields: FieldList;
257
560
 
258
- getDescription(): string;
259
- setDescription(value: string): void;
561
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Help;
260
562
 
261
- serializeBinary(): Uint8Array;
262
- toObject(includeInstance?: boolean): ResourceInfo.AsObject;
263
- static toObject(includeInstance: boolean, msg: ResourceInfo): ResourceInfo.AsObject;
264
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
265
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
266
- static serializeBinaryToWriter(message: ResourceInfo, writer: jspb.BinaryWriter): void;
267
- static deserializeBinary(bytes: Uint8Array): ResourceInfo;
268
- static deserializeBinaryFromReader(message: ResourceInfo, reader: jspb.BinaryReader): ResourceInfo;
269
- }
563
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Help;
270
564
 
271
- export namespace ResourceInfo {
272
- export type AsObject = {
273
- resourceType: string,
274
- resourceName: string,
275
- owner: string,
276
- description: string,
277
- }
278
- }
565
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Help;
279
566
 
280
- export class Help extends jspb.Message {
281
- clearLinksList(): void;
282
- getLinksList(): Array<Help.Link>;
283
- setLinksList(value: Array<Help.Link>): void;
284
- addLinks(value?: Help.Link, index?: number): Help.Link;
285
-
286
- serializeBinary(): Uint8Array;
287
- toObject(includeInstance?: boolean): Help.AsObject;
288
- static toObject(includeInstance: boolean, msg: Help): Help.AsObject;
289
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
290
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
291
- static serializeBinaryToWriter(message: Help, writer: jspb.BinaryWriter): void;
292
- static deserializeBinary(bytes: Uint8Array): Help;
293
- static deserializeBinaryFromReader(message: Help, reader: jspb.BinaryReader): Help;
567
+ static equals(a: Help | PlainMessage<Help> | undefined, b: Help | PlainMessage<Help> | undefined): boolean;
294
568
  }
295
569
 
296
- export namespace Help {
297
- export type AsObject = {
298
- linksList: Array<Help.Link.AsObject>,
299
- }
300
-
301
- export class Link extends jspb.Message {
302
- getDescription(): string;
303
- setDescription(value: string): void;
304
-
305
- getUrl(): string;
306
- setUrl(value: string): void;
307
-
308
- serializeBinary(): Uint8Array;
309
- toObject(includeInstance?: boolean): Link.AsObject;
310
- static toObject(includeInstance: boolean, msg: Link): Link.AsObject;
311
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
312
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
313
- static serializeBinaryToWriter(message: Link, writer: jspb.BinaryWriter): void;
314
- static deserializeBinary(bytes: Uint8Array): Link;
315
- static deserializeBinaryFromReader(message: Link, reader: jspb.BinaryReader): Link;
316
- }
317
-
318
- export namespace Link {
319
- export type AsObject = {
320
- description: string,
321
- url: string,
322
- }
323
- }
324
- }
570
+ /**
571
+ * Describes a URL link.
572
+ *
573
+ * @generated from message google.rpc.Help.Link
574
+ */
575
+ export declare class Help_Link extends Message<Help_Link> {
576
+ /**
577
+ * Describes what the link offers.
578
+ *
579
+ * @generated from field: string description = 1;
580
+ */
581
+ description: string;
582
+
583
+ /**
584
+ * The URL of the link.
585
+ *
586
+ * @generated from field: string url = 2;
587
+ */
588
+ url: string;
589
+
590
+ constructor(data?: PartialMessage<Help_Link>);
591
+
592
+ static readonly runtime: typeof proto3;
593
+ static readonly typeName = "google.rpc.Help.Link";
594
+ static readonly fields: FieldList;
595
+
596
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Help_Link;
597
+
598
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Help_Link;
599
+
600
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Help_Link;
325
601
 
326
- export class LocalizedMessage extends jspb.Message {
327
- getLocale(): string;
328
- setLocale(value: string): void;
329
-
330
- getMessage(): string;
331
- setMessage(value: string): void;
332
-
333
- serializeBinary(): Uint8Array;
334
- toObject(includeInstance?: boolean): LocalizedMessage.AsObject;
335
- static toObject(includeInstance: boolean, msg: LocalizedMessage): LocalizedMessage.AsObject;
336
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
337
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
338
- static serializeBinaryToWriter(message: LocalizedMessage, writer: jspb.BinaryWriter): void;
339
- static deserializeBinary(bytes: Uint8Array): LocalizedMessage;
340
- static deserializeBinaryFromReader(message: LocalizedMessage, reader: jspb.BinaryReader): LocalizedMessage;
602
+ static equals(a: Help_Link | PlainMessage<Help_Link> | undefined, b: Help_Link | PlainMessage<Help_Link> | undefined): boolean;
341
603
  }
342
604
 
343
- export namespace LocalizedMessage {
344
- export type AsObject = {
345
- locale: string,
346
- message: string,
347
- }
605
+ /**
606
+ * Provides a localized error message that is safe to return to the user
607
+ * which can be attached to an RPC error.
608
+ *
609
+ * @generated from message google.rpc.LocalizedMessage
610
+ */
611
+ export declare class LocalizedMessage extends Message<LocalizedMessage> {
612
+ /**
613
+ * The locale used following the specification defined at
614
+ * https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
615
+ * Examples are: "en-US", "fr-CH", "es-MX"
616
+ *
617
+ * @generated from field: string locale = 1;
618
+ */
619
+ locale: string;
620
+
621
+ /**
622
+ * The localized error message in the above locale.
623
+ *
624
+ * @generated from field: string message = 2;
625
+ */
626
+ message: string;
627
+
628
+ constructor(data?: PartialMessage<LocalizedMessage>);
629
+
630
+ static readonly runtime: typeof proto3;
631
+ static readonly typeName = "google.rpc.LocalizedMessage";
632
+ static readonly fields: FieldList;
633
+
634
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocalizedMessage;
635
+
636
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocalizedMessage;
637
+
638
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocalizedMessage;
639
+
640
+ static equals(a: LocalizedMessage | PlainMessage<LocalizedMessage> | undefined, b: LocalizedMessage | PlainMessage<LocalizedMessage> | undefined): boolean;
348
641
  }
349
642