@viamrobotics/sdk 0.25.0 → 0.26.1

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 (330) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/app/app-client.d.ts +93 -90
  3. package/dist/app/billing-client.d.ts +7 -8
  4. package/dist/app/billing-client.spec.d.ts +1 -0
  5. package/dist/app/data-client.d.ts +42 -50
  6. package/dist/app/data-client.spec.d.ts +1 -0
  7. package/dist/app/ml-training-client.d.ts +9 -14
  8. package/dist/app/ml-training-client.spec.d.ts +1 -0
  9. package/dist/app/provisioning-client.d.ts +7 -7
  10. package/dist/app/provisioning-client.spec.d.ts +1 -0
  11. package/dist/app/viam-client.d.ts +13 -15
  12. package/dist/app/viam-transport.d.ts +4 -12
  13. package/dist/components/arm/arm.d.ts +10 -8
  14. package/dist/components/arm/client.d.ts +6 -6
  15. package/dist/components/arm.d.ts +1 -1
  16. package/dist/components/base/base.d.ts +11 -10
  17. package/dist/components/base/client.d.ts +4 -5
  18. package/dist/components/base.d.ts +1 -1
  19. package/dist/components/board/board.d.ts +17 -21
  20. package/dist/components/board/client.d.ts +7 -8
  21. package/dist/components/board/client.spec.d.ts +1 -0
  22. package/dist/components/board.d.ts +1 -1
  23. package/dist/components/camera/camera.d.ts +2 -2
  24. package/dist/components/camera/client.d.ts +4 -5
  25. package/dist/components/encoder/client.d.ts +6 -7
  26. package/dist/components/encoder/encoder.d.ts +9 -10
  27. package/dist/components/encoder.d.ts +1 -2
  28. package/dist/components/gantry/client.d.ts +3 -3
  29. package/dist/components/gantry/gantry.d.ts +7 -6
  30. package/dist/components/generic/client.d.ts +3 -3
  31. package/dist/components/gripper/client.d.ts +3 -3
  32. package/dist/components/gripper/gripper.d.ts +5 -4
  33. package/dist/components/input-controller/client.d.ts +5 -6
  34. package/dist/components/input-controller/input-controller.d.ts +7 -5
  35. package/dist/components/inputcontroller.d.ts +1 -1
  36. package/dist/components/motor/client.d.ts +3 -3
  37. package/dist/components/motor/motor.d.ts +11 -10
  38. package/dist/components/movement-sensor/client.d.ts +11 -12
  39. package/dist/components/movement-sensor/client.spec.d.ts +1 -0
  40. package/dist/components/movement-sensor/movement-sensor.d.ts +16 -14
  41. package/dist/components/movementsensor.d.ts +1 -1
  42. package/dist/components/power-sensor/client.d.ts +4 -4
  43. package/dist/components/power-sensor/client.spec.d.ts +1 -0
  44. package/dist/components/power-sensor/power-sensor.d.ts +5 -5
  45. package/dist/components/sensor/client.d.ts +4 -4
  46. package/dist/components/sensor/sensor.d.ts +3 -2
  47. package/dist/components/servo/client.d.ts +5 -5
  48. package/dist/components/servo/servo.d.ts +5 -4
  49. package/dist/extra/stream/client.d.ts +0 -1
  50. package/dist/extra/stream/client.spec.d.ts +1 -0
  51. package/dist/gen/app/agent/v1/agent_connect.d.ts +28 -0
  52. package/dist/gen/app/agent/v1/agent_pb.d.ts +244 -153
  53. package/dist/gen/app/build/v1/build_connect.d.ts +129 -0
  54. package/dist/gen/app/build/v1/build_pb.d.ts +668 -493
  55. package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +71 -0
  56. package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +548 -420
  57. package/dist/gen/app/data/v1/data_connect.d.ts +252 -0
  58. package/dist/gen/app/data/v1/data_pb.d.ts +1672 -1331
  59. package/dist/gen/app/dataset/v1/dataset_connect.d.ts +74 -0
  60. package/dist/gen/app/dataset/v1/dataset_pb.d.ts +272 -213
  61. package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +52 -0
  62. package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +457 -376
  63. package/dist/gen/app/mlinference/v1/ml_inference_connect.d.ts +26 -0
  64. package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +71 -0
  65. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +94 -0
  66. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +566 -429
  67. package/dist/gen/app/packages/v1/packages_connect.d.ts +64 -0
  68. package/dist/gen/app/packages/v1/packages_pb.d.ts +396 -336
  69. package/dist/gen/app/v1/app_connect.d.ts +788 -0
  70. package/dist/gen/app/v1/app_pb.d.ts +5593 -4578
  71. package/dist/gen/app/v1/billing_connect.d.ts +72 -0
  72. package/dist/gen/app/v1/billing_pb.d.ts +564 -394
  73. package/dist/gen/app/v1/end_user_connect.d.ts +73 -0
  74. package/dist/gen/app/v1/end_user_pb.d.ts +292 -244
  75. package/dist/gen/app/v1/robot_connect.d.ts +63 -0
  76. package/dist/gen/app/v1/robot_pb.d.ts +1608 -1289
  77. package/dist/gen/common/v1/common_pb.d.ts +886 -662
  78. package/dist/gen/component/arm/v1/arm_connect.d.ts +121 -0
  79. package/dist/gen/component/arm/v1/arm_pb.d.ts +371 -294
  80. package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +78 -0
  81. package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +246 -189
  82. package/dist/gen/component/base/v1/base_connect.d.ts +122 -0
  83. package/dist/gen/component/base/v1/base_pb.d.ts +393 -307
  84. package/dist/gen/component/board/v1/board_connect.d.ts +161 -0
  85. package/dist/gen/component/board/v1/board_pb.d.ts +684 -535
  86. package/dist/gen/component/camera/v1/camera_connect.d.ts +99 -0
  87. package/dist/gen/component/camera/v1/camera_pb.d.ts +549 -399
  88. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +71 -0
  89. package/dist/gen/component/encoder/v1/encoder_pb.d.ts +201 -144
  90. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +108 -0
  91. package/dist/gen/component/gantry/v1/gantry_pb.d.ts +334 -279
  92. package/dist/gen/component/generic/v1/generic_connect.d.ts +41 -0
  93. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +86 -0
  94. package/dist/gen/component/gripper/v1/gripper_pb.d.ts +188 -160
  95. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +87 -0
  96. package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +334 -264
  97. package/dist/gen/component/motor/v1/motor_connect.d.ts +162 -0
  98. package/dist/gen/component/motor/v1/motor_pb.d.ts +577 -432
  99. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +121 -0
  100. package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +476 -379
  101. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +53 -0
  102. package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +71 -53
  103. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +75 -0
  104. package/dist/gen/component/powersensor/v1/powersensor_pb.d.ts +181 -136
  105. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +52 -0
  106. package/dist/gen/component/servo/v1/servo_connect.d.ts +87 -0
  107. package/dist/gen/component/servo/v1/servo_pb.d.ts +228 -179
  108. package/dist/gen/component/testecho/v1/testecho_connect.d.ts +53 -0
  109. package/dist/gen/component/testecho/v1/testecho_pb.d.ts +186 -150
  110. package/dist/gen/google/api/annotations_pb.d.ts +26 -6
  111. package/dist/gen/google/api/client_pb.d.ts +895 -453
  112. package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +758 -438
  113. package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +236 -132
  114. package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +98 -54
  115. package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +943 -554
  116. package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +274 -197
  117. package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +200 -131
  118. package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +262 -151
  119. package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +614 -402
  120. package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +115 -56
  121. package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +275 -197
  122. package/dist/gen/google/api/field_behavior_pb.d.ts +139 -19
  123. package/dist/gen/google/api/field_info_pb.d.ts +169 -56
  124. package/dist/gen/google/api/http_pb.d.ts +480 -127
  125. package/dist/gen/google/api/httpbody_pb.d.ts +104 -35
  126. package/dist/gen/google/api/launch_stage_pb.d.ts +102 -16
  127. package/dist/gen/google/api/resource_pb.d.ts +334 -88
  128. package/dist/gen/google/api/visibility_pb.d.ts +157 -52
  129. package/dist/gen/google/bytestream/bytestream_connect.d.ts +124 -0
  130. package/dist/gen/google/bytestream/bytestream_pb.d.ts +241 -130
  131. package/dist/gen/google/geo/type/viewport_pb.d.ts +90 -31
  132. package/dist/gen/google/longrunning/operations_connect.d.ts +127 -0
  133. package/dist/gen/google/longrunning/operations_pb.d.ts +351 -202
  134. package/dist/gen/google/rpc/code_pb.d.ts +252 -25
  135. package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +664 -352
  136. package/dist/gen/google/rpc/error_details_pb.d.ts +604 -311
  137. package/dist/gen/google/rpc/status_pb.d.ts +72 -33
  138. package/dist/gen/google/type/calendar_period_pb.d.ts +86 -16
  139. package/dist/gen/google/type/color_pb.d.ts +201 -37
  140. package/dist/gen/google/type/date_pb.d.ts +72 -25
  141. package/dist/gen/google/type/datetime_pb.d.ts +176 -83
  142. package/dist/gen/google/type/dayofweek_pb.d.ts +80 -16
  143. package/dist/gen/google/type/decimal_pb.d.ts +112 -22
  144. package/dist/gen/google/type/expr_pb.d.ts +97 -28
  145. package/dist/gen/google/type/fraction_pb.d.ts +55 -26
  146. package/dist/gen/google/type/interval_pb.d.ts +65 -31
  147. package/dist/gen/google/type/latlng_pb.d.ts +58 -26
  148. package/dist/gen/google/type/localized_text_pb.d.ts +57 -26
  149. package/dist/gen/google/type/money_pb.d.ts +62 -25
  150. package/dist/gen/google/type/month_pb.d.ts +115 -21
  151. package/dist/gen/google/type/phone_number_pb.d.ts +169 -64
  152. package/dist/gen/google/type/postal_address_pb.d.ts +178 -53
  153. package/dist/gen/google/type/quaternion_pb.d.ts +117 -28
  154. package/dist/gen/google/type/timeofday_pb.d.ts +67 -28
  155. package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +44 -0
  156. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +134 -108
  157. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +44 -0
  158. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +149 -119
  159. package/dist/gen/proto/rpc/v1/auth_connect.d.ts +69 -0
  160. package/dist/gen/proto/rpc/v1/auth_pb.d.ts +145 -101
  161. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +349 -291
  162. package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +78 -0
  163. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +676 -529
  164. package/dist/gen/provisioning/v1/provisioning_connect.d.ts +63 -0
  165. package/dist/gen/provisioning/v1/provisioning_pb.d.ts +285 -231
  166. package/dist/gen/robot/v1/robot_connect.d.ts +239 -0
  167. package/dist/gen/robot/v1/robot_pb.d.ts +1332 -1087
  168. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +42 -0
  169. package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +52 -44
  170. package/dist/gen/service/generic/v1/generic_connect.d.ts +30 -0
  171. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +42 -0
  172. package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +620 -510
  173. package/dist/gen/service/motion/v1/motion_connect.d.ts +118 -0
  174. package/dist/gen/service/motion/v1/motion_pb.d.ts +1063 -795
  175. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +115 -0
  176. package/dist/gen/service/navigation/v1/navigation_pb.d.ts +567 -435
  177. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +58 -0
  178. package/dist/gen/service/sensors/v1/sensors_pb.d.ts +154 -120
  179. package/dist/gen/service/shell/v1/shell_connect.d.ts +78 -0
  180. package/dist/gen/service/shell/v1/shell_pb.d.ts +423 -309
  181. package/dist/gen/service/slam/v1/slam_connect.d.ts +81 -0
  182. package/dist/gen/service/slam/v1/slam_pb.d.ts +305 -204
  183. package/dist/gen/service/vision/v1/vision_connect.d.ts +108 -0
  184. package/dist/gen/service/vision/v1/vision_pb.d.ts +615 -471
  185. package/dist/gen/stream/v1/stream_connect.d.ts +56 -0
  186. package/dist/gen/stream/v1/stream_pb.d.ts +131 -97
  187. package/dist/gen/tagger/v1/tagger_pb.d.ts +17 -6
  188. package/dist/main.d.ts +81 -92
  189. package/dist/main.es.js +21120 -69216
  190. package/dist/main.umd.js +6 -13
  191. package/dist/robot/client.d.ts +990 -59
  192. package/dist/robot/dial.d.ts +2 -4
  193. package/dist/robot/grpc-connection-manager.d.ts +5 -7
  194. package/dist/robot/grpc-connection-manager.spec.d.ts +1 -0
  195. package/dist/robot/robot.d.ts +9 -10
  196. package/dist/robot/session-manager.d.ts +6 -8
  197. package/dist/robot/session-manager.spec.d.ts +1 -0
  198. package/dist/robot/session-transport.d.ts +8 -11
  199. package/dist/robot.d.ts +2 -2
  200. package/dist/rpc/base-channel.d.ts +2 -2
  201. package/dist/rpc/base-stream.d.ts +3 -6
  202. package/dist/rpc/client-channel.d.ts +5 -3
  203. package/dist/rpc/client-stream.d.ts +26 -12
  204. package/dist/rpc/dial.d.ts +49 -9
  205. package/dist/rpc/index.d.ts +3 -5
  206. package/dist/rpc/signaling-exchange.d.ts +33 -0
  207. package/dist/rpc/stream-client-stream.d.ts +16 -0
  208. package/dist/rpc/unary-client-stream.d.ts +13 -0
  209. package/dist/services/data-manager/client.d.ts +3 -3
  210. package/dist/services/data-manager/data-manager.d.ts +3 -2
  211. package/dist/services/generic/client.d.ts +3 -3
  212. package/dist/services/motion/client.d.ts +7 -8
  213. package/dist/services/motion/client.spec.d.ts +1 -0
  214. package/dist/services/motion/motion.d.ts +10 -9
  215. package/dist/services/motion/types.d.ts +12 -16
  216. package/dist/services/motion.d.ts +2 -2
  217. package/dist/services/navigation/client.d.ts +11 -12
  218. package/dist/services/navigation/client.spec.d.ts +1 -0
  219. package/dist/services/navigation/navigation.d.ts +11 -10
  220. package/dist/services/navigation/types.d.ts +8 -6
  221. package/dist/services/navigation.d.ts +2 -2
  222. package/dist/services/slam/client.d.ts +5 -6
  223. package/dist/services/slam/client.spec.d.ts +1 -0
  224. package/dist/services/slam/types.d.ts +4 -3
  225. package/dist/services/slam.d.ts +2 -2
  226. package/dist/services/vision/client.d.ts +13 -19
  227. package/dist/services/vision/types.d.ts +10 -7
  228. package/dist/services/vision/vision.d.ts +10 -9
  229. package/dist/services/vision.d.ts +2 -2
  230. package/dist/types.d.ts +21 -18
  231. package/dist/utils.d.ts +7 -37
  232. package/package.json +11 -8
  233. package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -63
  234. package/dist/gen/app/build/v1/build_pb_service.d.ts +0 -226
  235. package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -158
  236. package/dist/gen/app/data/v1/data_pb_service.d.ts +0 -443
  237. package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +0 -139
  238. package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +0 -85
  239. package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +0 -177
  240. package/dist/gen/app/packages/v1/packages_pb_service.d.ts +0 -112
  241. package/dist/gen/app/v1/app_pb_service.d.ts +0 -1415
  242. package/dist/gen/app/v1/billing_pb_service.d.ts +0 -131
  243. package/dist/gen/app/v1/end_user_pb_service.d.ts +0 -139
  244. package/dist/gen/app/v1/robot_pb_service.d.ts +0 -120
  245. package/dist/gen/common/v1/common_pb_service.d.ts +0 -3
  246. package/dist/gen/component/arm/v1/arm_pb_service.d.ts +0 -216
  247. package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +0 -133
  248. package/dist/gen/component/base/v1/base_pb_service.d.ts +0 -216
  249. package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -284
  250. package/dist/gen/component/camera/v1/camera_pb_service.d.ts +0 -179
  251. package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +0 -140
  252. package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +0 -197
  253. package/dist/gen/component/generic/v1/generic_pb.d.ts +0 -7
  254. package/dist/gen/component/generic/v1/generic_pb_service.d.ts +0 -83
  255. package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +0 -159
  256. package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +0 -151
  257. package/dist/gen/component/motor/v1/motor_pb_service.d.ts +0 -273
  258. package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +0 -254
  259. package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +0 -102
  260. package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +0 -140
  261. package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -7
  262. package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +0 -102
  263. package/dist/gen/component/servo/v1/servo_pb_service.d.ts +0 -159
  264. package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +0 -104
  265. package/dist/gen/google/api/annotations_pb_service.d.ts +0 -3
  266. package/dist/gen/google/api/client_pb_service.d.ts +0 -3
  267. package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +0 -3
  268. package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +0 -3
  269. package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +0 -3
  270. package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +0 -3
  271. package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +0 -3
  272. package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +0 -3
  273. package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +0 -3
  274. package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +0 -3
  275. package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +0 -3
  276. package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +0 -3
  277. package/dist/gen/google/api/field_behavior_pb_service.d.ts +0 -3
  278. package/dist/gen/google/api/field_info_pb_service.d.ts +0 -3
  279. package/dist/gen/google/api/http_pb_service.d.ts +0 -3
  280. package/dist/gen/google/api/httpbody_pb_service.d.ts +0 -3
  281. package/dist/gen/google/api/launch_stage_pb_service.d.ts +0 -3
  282. package/dist/gen/google/api/resource_pb_service.d.ts +0 -3
  283. package/dist/gen/google/api/visibility_pb_service.d.ts +0 -3
  284. package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +0 -85
  285. package/dist/gen/google/geo/type/viewport_pb_service.d.ts +0 -3
  286. package/dist/gen/google/longrunning/operations_pb_service.d.ts +0 -140
  287. package/dist/gen/google/rpc/code_pb_service.d.ts +0 -3
  288. package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +0 -3
  289. package/dist/gen/google/rpc/error_details_pb_service.d.ts +0 -3
  290. package/dist/gen/google/rpc/status_pb_service.d.ts +0 -3
  291. package/dist/gen/google/type/calendar_period_pb_service.d.ts +0 -3
  292. package/dist/gen/google/type/color_pb_service.d.ts +0 -3
  293. package/dist/gen/google/type/date_pb_service.d.ts +0 -3
  294. package/dist/gen/google/type/datetime_pb_service.d.ts +0 -3
  295. package/dist/gen/google/type/dayofweek_pb_service.d.ts +0 -3
  296. package/dist/gen/google/type/decimal_pb_service.d.ts +0 -3
  297. package/dist/gen/google/type/expr_pb_service.d.ts +0 -3
  298. package/dist/gen/google/type/fraction_pb_service.d.ts +0 -3
  299. package/dist/gen/google/type/interval_pb_service.d.ts +0 -3
  300. package/dist/gen/google/type/latlng_pb_service.d.ts +0 -3
  301. package/dist/gen/google/type/localized_text_pb_service.d.ts +0 -3
  302. package/dist/gen/google/type/money_pb_service.d.ts +0 -3
  303. package/dist/gen/google/type/month_pb_service.d.ts +0 -3
  304. package/dist/gen/google/type/phone_number_pb_service.d.ts +0 -3
  305. package/dist/gen/google/type/postal_address_pb_service.d.ts +0 -3
  306. package/dist/gen/google/type/quaternion_pb_service.d.ts +0 -3
  307. package/dist/gen/google/type/timeofday_pb_service.d.ts +0 -3
  308. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +0 -85
  309. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +0 -85
  310. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +0 -66
  311. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +0 -55
  312. package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +0 -92
  313. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +0 -3
  314. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +0 -104
  315. package/dist/gen/provisioning/v1/provisioning_pb_service.d.ts +0 -120
  316. package/dist/gen/robot/v1/robot_pb_service.d.ts +0 -435
  317. package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +0 -83
  318. package/dist/gen/service/generic/v1/generic_pb.d.ts +0 -7
  319. package/dist/gen/service/generic/v1/generic_pb_service.d.ts +0 -64
  320. package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +0 -82
  321. package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -197
  322. package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +0 -235
  323. package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +0 -102
  324. package/dist/gen/service/shell/v1/shell_pb_service.d.ts +0 -97
  325. package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -124
  326. package/dist/gen/service/vision/v1/vision_pb_service.d.ts +0 -197
  327. package/dist/gen/stream/v1/stream_pb_service.d.ts +0 -101
  328. package/dist/gen/tagger/v1/tagger_pb_service.d.ts +0 -3
  329. package/dist/responses.d.ts +0 -8
  330. package/dist/rpc/grpc-error.d.ts +0 -6
@@ -1,356 +1,668 @@
1
- // package: google.rpc.context
2
- // file: google/rpc/context/attribute_context.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
6
- import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
7
- import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
8
- import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
9
-
10
- export class AttributeContext extends jspb.Message {
11
- hasOrigin(): boolean;
12
- clearOrigin(): void;
13
- getOrigin(): AttributeContext.Peer | undefined;
14
- setOrigin(value?: AttributeContext.Peer): void;
15
-
16
- hasSource(): boolean;
17
- clearSource(): void;
18
- getSource(): AttributeContext.Peer | undefined;
19
- setSource(value?: AttributeContext.Peer): void;
20
-
21
- hasDestination(): boolean;
22
- clearDestination(): void;
23
- getDestination(): AttributeContext.Peer | undefined;
24
- setDestination(value?: AttributeContext.Peer): void;
25
-
26
- hasRequest(): boolean;
27
- clearRequest(): void;
28
- getRequest(): AttributeContext.Request | undefined;
29
- setRequest(value?: AttributeContext.Request): void;
30
-
31
- hasResponse(): boolean;
32
- clearResponse(): void;
33
- getResponse(): AttributeContext.Response | undefined;
34
- setResponse(value?: AttributeContext.Response): void;
35
-
36
- hasResource(): boolean;
37
- clearResource(): void;
38
- getResource(): AttributeContext.Resource | undefined;
39
- setResource(value?: AttributeContext.Resource): void;
40
-
41
- hasApi(): boolean;
42
- clearApi(): void;
43
- getApi(): AttributeContext.Api | undefined;
44
- setApi(value?: AttributeContext.Api): void;
45
-
46
- clearExtensionsList(): void;
47
- getExtensionsList(): Array<google_protobuf_any_pb.Any>;
48
- setExtensionsList(value: Array<google_protobuf_any_pb.Any>): void;
49
- addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any;
50
-
51
- serializeBinary(): Uint8Array;
52
- toObject(includeInstance?: boolean): AttributeContext.AsObject;
53
- static toObject(includeInstance: boolean, msg: AttributeContext): AttributeContext.AsObject;
54
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
55
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
56
- static serializeBinaryToWriter(message: AttributeContext, writer: jspb.BinaryWriter): void;
57
- static deserializeBinary(bytes: Uint8Array): AttributeContext;
58
- static deserializeBinaryFromReader(message: AttributeContext, reader: jspb.BinaryReader): AttributeContext;
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/context/attribute_context.proto (package google.rpc.context, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { Any, BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+
23
+ /**
24
+ * This message defines the standard attribute vocabulary for Google APIs.
25
+ *
26
+ * An attribute is a piece of metadata that describes an activity on a network
27
+ * service. For example, the size of an HTTP request, or the status code of
28
+ * an HTTP response.
29
+ *
30
+ * Each attribute has a type and a name, which is logically defined as
31
+ * a proto message field in `AttributeContext`. The field type becomes the
32
+ * attribute type, and the field path becomes the attribute name. For example,
33
+ * the attribute `source.ip` maps to field `AttributeContext.source.ip`.
34
+ *
35
+ * This message definition is guaranteed not to have any wire breaking change.
36
+ * So you can use it directly for passing attributes across different systems.
37
+ *
38
+ * NOTE: Different system may generate different subset of attributes. Please
39
+ * verify the system specification before relying on an attribute generated
40
+ * a system.
41
+ *
42
+ * @generated from message google.rpc.context.AttributeContext
43
+ */
44
+ export declare class AttributeContext extends Message<AttributeContext> {
45
+ /**
46
+ * The origin of a network activity. In a multi hop network activity,
47
+ * the origin represents the sender of the first hop. For the first hop,
48
+ * the `source` and the `origin` must have the same content.
49
+ *
50
+ * @generated from field: google.rpc.context.AttributeContext.Peer origin = 7;
51
+ */
52
+ origin?: AttributeContext_Peer;
53
+
54
+ /**
55
+ * The source of a network activity, such as starting a TCP connection.
56
+ * In a multi hop network activity, the source represents the sender of the
57
+ * last hop.
58
+ *
59
+ * @generated from field: google.rpc.context.AttributeContext.Peer source = 1;
60
+ */
61
+ source?: AttributeContext_Peer;
62
+
63
+ /**
64
+ * The destination of a network activity, such as accepting a TCP connection.
65
+ * In a multi hop network activity, the destination represents the receiver of
66
+ * the last hop.
67
+ *
68
+ * @generated from field: google.rpc.context.AttributeContext.Peer destination = 2;
69
+ */
70
+ destination?: AttributeContext_Peer;
71
+
72
+ /**
73
+ * Represents a network request, such as an HTTP request.
74
+ *
75
+ * @generated from field: google.rpc.context.AttributeContext.Request request = 3;
76
+ */
77
+ request?: AttributeContext_Request;
78
+
79
+ /**
80
+ * Represents a network response, such as an HTTP response.
81
+ *
82
+ * @generated from field: google.rpc.context.AttributeContext.Response response = 4;
83
+ */
84
+ response?: AttributeContext_Response;
85
+
86
+ /**
87
+ * Represents a target resource that is involved with a network activity.
88
+ * If multiple resources are involved with an activity, this must be the
89
+ * primary one.
90
+ *
91
+ * @generated from field: google.rpc.context.AttributeContext.Resource resource = 5;
92
+ */
93
+ resource?: AttributeContext_Resource;
94
+
95
+ /**
96
+ * Represents an API operation that is involved to a network activity.
97
+ *
98
+ * @generated from field: google.rpc.context.AttributeContext.Api api = 6;
99
+ */
100
+ api?: AttributeContext_Api;
101
+
102
+ /**
103
+ * Supports extensions for advanced use cases, such as logs and metrics.
104
+ *
105
+ * @generated from field: repeated google.protobuf.Any extensions = 8;
106
+ */
107
+ extensions: Any[];
108
+
109
+ constructor(data?: PartialMessage<AttributeContext>);
110
+
111
+ static readonly runtime: typeof proto3;
112
+ static readonly typeName = "google.rpc.context.AttributeContext";
113
+ static readonly fields: FieldList;
114
+
115
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeContext;
116
+
117
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeContext;
118
+
119
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeContext;
120
+
121
+ static equals(a: AttributeContext | PlainMessage<AttributeContext> | undefined, b: AttributeContext | PlainMessage<AttributeContext> | undefined): boolean;
59
122
  }
60
123
 
61
- export namespace AttributeContext {
62
- export type AsObject = {
63
- origin?: AttributeContext.Peer.AsObject,
64
- source?: AttributeContext.Peer.AsObject,
65
- destination?: AttributeContext.Peer.AsObject,
66
- request?: AttributeContext.Request.AsObject,
67
- response?: AttributeContext.Response.AsObject,
68
- resource?: AttributeContext.Resource.AsObject,
69
- api?: AttributeContext.Api.AsObject,
70
- extensionsList: Array<google_protobuf_any_pb.Any.AsObject>,
71
- }
72
-
73
- export class Peer extends jspb.Message {
74
- getIp(): string;
75
- setIp(value: string): void;
76
-
77
- getPort(): number;
78
- setPort(value: number): void;
79
-
80
- getLabelsMap(): jspb.Map<string, string>;
81
- clearLabelsMap(): void;
82
- getPrincipal(): string;
83
- setPrincipal(value: string): void;
84
-
85
- getRegionCode(): string;
86
- setRegionCode(value: string): void;
87
-
88
- serializeBinary(): Uint8Array;
89
- toObject(includeInstance?: boolean): Peer.AsObject;
90
- static toObject(includeInstance: boolean, msg: Peer): Peer.AsObject;
91
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
92
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
93
- static serializeBinaryToWriter(message: Peer, writer: jspb.BinaryWriter): void;
94
- static deserializeBinary(bytes: Uint8Array): Peer;
95
- static deserializeBinaryFromReader(message: Peer, reader: jspb.BinaryReader): Peer;
96
- }
97
-
98
- export namespace Peer {
99
- export type AsObject = {
100
- ip: string,
101
- port: number,
102
- labelsMap: Array<[string, string]>,
103
- principal: string,
104
- regionCode: string,
105
- }
106
- }
107
-
108
- export class Api extends jspb.Message {
109
- getService(): string;
110
- setService(value: string): void;
111
-
112
- getOperation(): string;
113
- setOperation(value: string): void;
114
-
115
- getProtocol(): string;
116
- setProtocol(value: string): void;
117
-
118
- getVersion(): string;
119
- setVersion(value: string): void;
120
-
121
- serializeBinary(): Uint8Array;
122
- toObject(includeInstance?: boolean): Api.AsObject;
123
- static toObject(includeInstance: boolean, msg: Api): Api.AsObject;
124
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
125
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
126
- static serializeBinaryToWriter(message: Api, writer: jspb.BinaryWriter): void;
127
- static deserializeBinary(bytes: Uint8Array): Api;
128
- static deserializeBinaryFromReader(message: Api, reader: jspb.BinaryReader): Api;
129
- }
130
-
131
- export namespace Api {
132
- export type AsObject = {
133
- service: string,
134
- operation: string,
135
- protocol: string,
136
- version: string,
137
- }
138
- }
139
-
140
- export class Auth extends jspb.Message {
141
- getPrincipal(): string;
142
- setPrincipal(value: string): void;
143
-
144
- clearAudiencesList(): void;
145
- getAudiencesList(): Array<string>;
146
- setAudiencesList(value: Array<string>): void;
147
- addAudiences(value: string, index?: number): string;
148
-
149
- getPresenter(): string;
150
- setPresenter(value: string): void;
151
-
152
- hasClaims(): boolean;
153
- clearClaims(): void;
154
- getClaims(): google_protobuf_struct_pb.Struct | undefined;
155
- setClaims(value?: google_protobuf_struct_pb.Struct): void;
156
-
157
- clearAccessLevelsList(): void;
158
- getAccessLevelsList(): Array<string>;
159
- setAccessLevelsList(value: Array<string>): void;
160
- addAccessLevels(value: string, index?: number): string;
161
-
162
- serializeBinary(): Uint8Array;
163
- toObject(includeInstance?: boolean): Auth.AsObject;
164
- static toObject(includeInstance: boolean, msg: Auth): Auth.AsObject;
165
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
166
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
167
- static serializeBinaryToWriter(message: Auth, writer: jspb.BinaryWriter): void;
168
- static deserializeBinary(bytes: Uint8Array): Auth;
169
- static deserializeBinaryFromReader(message: Auth, reader: jspb.BinaryReader): Auth;
170
- }
171
-
172
- export namespace Auth {
173
- export type AsObject = {
174
- principal: string,
175
- audiencesList: Array<string>,
176
- presenter: string,
177
- claims?: google_protobuf_struct_pb.Struct.AsObject,
178
- accessLevelsList: Array<string>,
179
- }
180
- }
181
-
182
- export class Request extends jspb.Message {
183
- getId(): string;
184
- setId(value: string): void;
185
-
186
- getMethod(): string;
187
- setMethod(value: string): void;
188
-
189
- getHeadersMap(): jspb.Map<string, string>;
190
- clearHeadersMap(): void;
191
- getPath(): string;
192
- setPath(value: string): void;
193
-
194
- getHost(): string;
195
- setHost(value: string): void;
196
-
197
- getScheme(): string;
198
- setScheme(value: string): void;
199
-
200
- getQuery(): string;
201
- setQuery(value: string): void;
202
-
203
- hasTime(): boolean;
204
- clearTime(): void;
205
- getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
206
- setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
207
-
208
- getSize(): number;
209
- setSize(value: number): void;
210
-
211
- getProtocol(): string;
212
- setProtocol(value: string): void;
213
-
214
- getReason(): string;
215
- setReason(value: string): void;
216
-
217
- hasAuth(): boolean;
218
- clearAuth(): void;
219
- getAuth(): AttributeContext.Auth | undefined;
220
- setAuth(value?: AttributeContext.Auth): void;
221
-
222
- serializeBinary(): Uint8Array;
223
- toObject(includeInstance?: boolean): Request.AsObject;
224
- static toObject(includeInstance: boolean, msg: Request): Request.AsObject;
225
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
226
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
227
- static serializeBinaryToWriter(message: Request, writer: jspb.BinaryWriter): void;
228
- static deserializeBinary(bytes: Uint8Array): Request;
229
- static deserializeBinaryFromReader(message: Request, reader: jspb.BinaryReader): Request;
230
- }
231
-
232
- export namespace Request {
233
- export type AsObject = {
234
- id: string,
235
- method: string,
236
- headersMap: Array<[string, string]>,
237
- path: string,
238
- host: string,
239
- scheme: string,
240
- query: string,
241
- time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
242
- size: number,
243
- protocol: string,
244
- reason: string,
245
- auth?: AttributeContext.Auth.AsObject,
246
- }
247
- }
248
-
249
- export class Response extends jspb.Message {
250
- getCode(): number;
251
- setCode(value: number): void;
252
-
253
- getSize(): number;
254
- setSize(value: number): void;
255
-
256
- getHeadersMap(): jspb.Map<string, string>;
257
- clearHeadersMap(): void;
258
- hasTime(): boolean;
259
- clearTime(): void;
260
- getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
261
- setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
262
-
263
- hasBackendLatency(): boolean;
264
- clearBackendLatency(): void;
265
- getBackendLatency(): google_protobuf_duration_pb.Duration | undefined;
266
- setBackendLatency(value?: google_protobuf_duration_pb.Duration): void;
267
-
268
- serializeBinary(): Uint8Array;
269
- toObject(includeInstance?: boolean): Response.AsObject;
270
- static toObject(includeInstance: boolean, msg: Response): Response.AsObject;
271
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
272
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
273
- static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void;
274
- static deserializeBinary(bytes: Uint8Array): Response;
275
- static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response;
276
- }
277
-
278
- export namespace Response {
279
- export type AsObject = {
280
- code: number,
281
- size: number,
282
- headersMap: Array<[string, string]>,
283
- time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
284
- backendLatency?: google_protobuf_duration_pb.Duration.AsObject,
285
- }
286
- }
287
-
288
- export class Resource extends jspb.Message {
289
- getService(): string;
290
- setService(value: string): void;
291
-
292
- getName(): string;
293
- setName(value: string): void;
294
-
295
- getType(): string;
296
- setType(value: string): void;
297
-
298
- getLabelsMap(): jspb.Map<string, string>;
299
- clearLabelsMap(): void;
300
- getUid(): string;
301
- setUid(value: string): void;
302
-
303
- getAnnotationsMap(): jspb.Map<string, string>;
304
- clearAnnotationsMap(): void;
305
- getDisplayName(): string;
306
- setDisplayName(value: string): void;
307
-
308
- hasCreateTime(): boolean;
309
- clearCreateTime(): void;
310
- getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
311
- setCreateTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
312
-
313
- hasUpdateTime(): boolean;
314
- clearUpdateTime(): void;
315
- getUpdateTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
316
- setUpdateTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
317
-
318
- hasDeleteTime(): boolean;
319
- clearDeleteTime(): void;
320
- getDeleteTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
321
- setDeleteTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
322
-
323
- getEtag(): string;
324
- setEtag(value: string): void;
325
-
326
- getLocation(): string;
327
- setLocation(value: string): void;
328
-
329
- serializeBinary(): Uint8Array;
330
- toObject(includeInstance?: boolean): Resource.AsObject;
331
- static toObject(includeInstance: boolean, msg: Resource): Resource.AsObject;
332
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
333
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
334
- static serializeBinaryToWriter(message: Resource, writer: jspb.BinaryWriter): void;
335
- static deserializeBinary(bytes: Uint8Array): Resource;
336
- static deserializeBinaryFromReader(message: Resource, reader: jspb.BinaryReader): Resource;
337
- }
338
-
339
- export namespace Resource {
340
- export type AsObject = {
341
- service: string,
342
- name: string,
343
- type: string,
344
- labelsMap: Array<[string, string]>,
345
- uid: string,
346
- annotationsMap: Array<[string, string]>,
347
- displayName: string,
348
- createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
349
- updateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
350
- deleteTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
351
- etag: string,
352
- location: string,
353
- }
354
- }
124
+ /**
125
+ * This message defines attributes for a node that handles a network request.
126
+ * The node can be either a service or an application that sends, forwards,
127
+ * or receives the request. Service peers should fill in
128
+ * `principal` and `labels` as appropriate.
129
+ *
130
+ * @generated from message google.rpc.context.AttributeContext.Peer
131
+ */
132
+ export declare class AttributeContext_Peer extends Message<AttributeContext_Peer> {
133
+ /**
134
+ * The IP address of the peer.
135
+ *
136
+ * @generated from field: string ip = 1;
137
+ */
138
+ ip: string;
139
+
140
+ /**
141
+ * The network port of the peer.
142
+ *
143
+ * @generated from field: int64 port = 2;
144
+ */
145
+ port: bigint;
146
+
147
+ /**
148
+ * The labels associated with the peer.
149
+ *
150
+ * @generated from field: map<string, string> labels = 6;
151
+ */
152
+ labels: { [key: string]: string };
153
+
154
+ /**
155
+ * The identity of this peer. Similar to `Request.auth.principal`, but
156
+ * relative to the peer instead of the request. For example, the
157
+ * identity associated with a load balancer that forwarded the request.
158
+ *
159
+ * @generated from field: string principal = 7;
160
+ */
161
+ principal: string;
162
+
163
+ /**
164
+ * The CLDR country/region code associated with the above IP address.
165
+ * If the IP address is private, the `region_code` should reflect the
166
+ * physical location where this peer is running.
167
+ *
168
+ * @generated from field: string region_code = 8;
169
+ */
170
+ regionCode: string;
171
+
172
+ constructor(data?: PartialMessage<AttributeContext_Peer>);
173
+
174
+ static readonly runtime: typeof proto3;
175
+ static readonly typeName = "google.rpc.context.AttributeContext.Peer";
176
+ static readonly fields: FieldList;
177
+
178
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeContext_Peer;
179
+
180
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeContext_Peer;
181
+
182
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeContext_Peer;
183
+
184
+ static equals(a: AttributeContext_Peer | PlainMessage<AttributeContext_Peer> | undefined, b: AttributeContext_Peer | PlainMessage<AttributeContext_Peer> | undefined): boolean;
185
+ }
186
+
187
+ /**
188
+ * This message defines attributes associated with API operations, such as
189
+ * a network API request. The terminology is based on the conventions used
190
+ * by Google APIs, Istio, and OpenAPI.
191
+ *
192
+ * @generated from message google.rpc.context.AttributeContext.Api
193
+ */
194
+ export declare class AttributeContext_Api extends Message<AttributeContext_Api> {
195
+ /**
196
+ * The API service name. It is a logical identifier for a networked API,
197
+ * such as "pubsub.googleapis.com". The naming syntax depends on the
198
+ * API management system being used for handling the request.
199
+ *
200
+ * @generated from field: string service = 1;
201
+ */
202
+ service: string;
203
+
204
+ /**
205
+ * The API operation name. For gRPC requests, it is the fully qualified API
206
+ * method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
207
+ * requests, it is the `operationId`, such as "getPet".
208
+ *
209
+ * @generated from field: string operation = 2;
210
+ */
211
+ operation: string;
212
+
213
+ /**
214
+ * The API protocol used for sending the request, such as "http", "https",
215
+ * "grpc", or "internal".
216
+ *
217
+ * @generated from field: string protocol = 3;
218
+ */
219
+ protocol: string;
220
+
221
+ /**
222
+ * The API version associated with the API operation above, such as "v1" or
223
+ * "v1alpha1".
224
+ *
225
+ * @generated from field: string version = 4;
226
+ */
227
+ version: string;
228
+
229
+ constructor(data?: PartialMessage<AttributeContext_Api>);
230
+
231
+ static readonly runtime: typeof proto3;
232
+ static readonly typeName = "google.rpc.context.AttributeContext.Api";
233
+ static readonly fields: FieldList;
234
+
235
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeContext_Api;
236
+
237
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeContext_Api;
238
+
239
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeContext_Api;
240
+
241
+ static equals(a: AttributeContext_Api | PlainMessage<AttributeContext_Api> | undefined, b: AttributeContext_Api | PlainMessage<AttributeContext_Api> | undefined): boolean;
242
+ }
243
+
244
+ /**
245
+ * This message defines request authentication attributes. Terminology is
246
+ * based on the JSON Web Token (JWT) standard, but the terms also
247
+ * correlate to concepts in other standards.
248
+ *
249
+ * @generated from message google.rpc.context.AttributeContext.Auth
250
+ */
251
+ export declare class AttributeContext_Auth extends Message<AttributeContext_Auth> {
252
+ /**
253
+ * The authenticated principal. Reflects the issuer (`iss`) and subject
254
+ * (`sub`) claims within a JWT. The issuer and subject should be `/`
255
+ * delimited, with `/` percent-encoded within the subject fragment. For
256
+ * Google accounts, the principal format is:
257
+ * "https://accounts.google.com/{id}"
258
+ *
259
+ * @generated from field: string principal = 1;
260
+ */
261
+ principal: string;
262
+
263
+ /**
264
+ * The intended audience(s) for this authentication information. Reflects
265
+ * the audience (`aud`) claim within a JWT. The audience
266
+ * value(s) depends on the `issuer`, but typically include one or more of
267
+ * the following pieces of information:
268
+ *
269
+ * * The services intended to receive the credential. For example,
270
+ * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"].
271
+ * * A set of service-based scopes. For example,
272
+ * ["https://www.googleapis.com/auth/cloud-platform"].
273
+ * * The client id of an app, such as the Firebase project id for JWTs
274
+ * from Firebase Auth.
275
+ *
276
+ * Consult the documentation for the credential issuer to determine the
277
+ * information provided.
278
+ *
279
+ * @generated from field: repeated string audiences = 2;
280
+ */
281
+ audiences: string[];
282
+
283
+ /**
284
+ * The authorized presenter of the credential. Reflects the optional
285
+ * Authorized Presenter (`azp`) claim within a JWT or the
286
+ * OAuth client id. For example, a Google Cloud Platform client id looks
287
+ * as follows: "123456789012.apps.googleusercontent.com".
288
+ *
289
+ * @generated from field: string presenter = 3;
290
+ */
291
+ presenter: string;
292
+
293
+ /**
294
+ * Structured claims presented with the credential. JWTs include
295
+ * `{key: value}` pairs for standard and private claims. The following
296
+ * is a subset of the standard required and optional claims that would
297
+ * typically be presented for a Google-based JWT:
298
+ *
299
+ * {'iss': 'accounts.google.com',
300
+ * 'sub': '113289723416554971153',
301
+ * 'aud': ['123456789012', 'pubsub.googleapis.com'],
302
+ * 'azp': '123456789012.apps.googleusercontent.com',
303
+ * 'email': 'jsmith@example.com',
304
+ * 'iat': 1353601026,
305
+ * 'exp': 1353604926}
306
+ *
307
+ * SAML assertions are similarly specified, but with an identity provider
308
+ * dependent structure.
309
+ *
310
+ * @generated from field: google.protobuf.Struct claims = 4;
311
+ */
312
+ claims?: Struct;
313
+
314
+ /**
315
+ * A list of access level resource names that allow resources to be
316
+ * accessed by authenticated requester. It is part of Secure GCP processing
317
+ * for the incoming request. An access level string has the format:
318
+ * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}"
319
+ *
320
+ * Example:
321
+ * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL"
322
+ *
323
+ * @generated from field: repeated string access_levels = 5;
324
+ */
325
+ accessLevels: string[];
326
+
327
+ constructor(data?: PartialMessage<AttributeContext_Auth>);
328
+
329
+ static readonly runtime: typeof proto3;
330
+ static readonly typeName = "google.rpc.context.AttributeContext.Auth";
331
+ static readonly fields: FieldList;
332
+
333
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeContext_Auth;
334
+
335
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeContext_Auth;
336
+
337
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeContext_Auth;
338
+
339
+ static equals(a: AttributeContext_Auth | PlainMessage<AttributeContext_Auth> | undefined, b: AttributeContext_Auth | PlainMessage<AttributeContext_Auth> | undefined): boolean;
340
+ }
341
+
342
+ /**
343
+ * This message defines attributes for an HTTP request. If the actual
344
+ * request is not an HTTP request, the runtime system should try to map
345
+ * the actual request to an equivalent HTTP request.
346
+ *
347
+ * @generated from message google.rpc.context.AttributeContext.Request
348
+ */
349
+ export declare class AttributeContext_Request extends Message<AttributeContext_Request> {
350
+ /**
351
+ * The unique ID for a request, which can be propagated to downstream
352
+ * systems. The ID should have low probability of collision
353
+ * within a single day for a specific service.
354
+ *
355
+ * @generated from field: string id = 1;
356
+ */
357
+ id: string;
358
+
359
+ /**
360
+ * The HTTP request method, such as `GET`, `POST`.
361
+ *
362
+ * @generated from field: string method = 2;
363
+ */
364
+ method: string;
365
+
366
+ /**
367
+ * The HTTP request headers. If multiple headers share the same key, they
368
+ * must be merged according to the HTTP spec. All header keys must be
369
+ * lowercased, because HTTP header keys are case-insensitive.
370
+ *
371
+ * @generated from field: map<string, string> headers = 3;
372
+ */
373
+ headers: { [key: string]: string };
374
+
375
+ /**
376
+ * The HTTP URL path, excluding the query parameters.
377
+ *
378
+ * @generated from field: string path = 4;
379
+ */
380
+ path: string;
381
+
382
+ /**
383
+ * The HTTP request `Host` header value.
384
+ *
385
+ * @generated from field: string host = 5;
386
+ */
387
+ host: string;
388
+
389
+ /**
390
+ * The HTTP URL scheme, such as `http` and `https`.
391
+ *
392
+ * @generated from field: string scheme = 6;
393
+ */
394
+ scheme: string;
395
+
396
+ /**
397
+ * The HTTP URL query in the format of `name1=value1&name2=value2`, as it
398
+ * appears in the first line of the HTTP request. No decoding is performed.
399
+ *
400
+ * @generated from field: string query = 7;
401
+ */
402
+ query: string;
403
+
404
+ /**
405
+ * The timestamp when the `destination` service receives the last byte of
406
+ * the request.
407
+ *
408
+ * @generated from field: google.protobuf.Timestamp time = 9;
409
+ */
410
+ time?: Timestamp;
411
+
412
+ /**
413
+ * The HTTP request size in bytes. If unknown, it must be -1.
414
+ *
415
+ * @generated from field: int64 size = 10;
416
+ */
417
+ size: bigint;
418
+
419
+ /**
420
+ * The network protocol used with the request, such as "http/1.1",
421
+ * "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See
422
+ * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
423
+ * for details.
424
+ *
425
+ * @generated from field: string protocol = 11;
426
+ */
427
+ protocol: string;
428
+
429
+ /**
430
+ * A special parameter for request reason. It is used by security systems
431
+ * to associate auditing information with a request.
432
+ *
433
+ * @generated from field: string reason = 12;
434
+ */
435
+ reason: string;
436
+
437
+ /**
438
+ * The request authentication. May be absent for unauthenticated requests.
439
+ * Derived from the HTTP request `Authorization` header or equivalent.
440
+ *
441
+ * @generated from field: google.rpc.context.AttributeContext.Auth auth = 13;
442
+ */
443
+ auth?: AttributeContext_Auth;
444
+
445
+ constructor(data?: PartialMessage<AttributeContext_Request>);
446
+
447
+ static readonly runtime: typeof proto3;
448
+ static readonly typeName = "google.rpc.context.AttributeContext.Request";
449
+ static readonly fields: FieldList;
450
+
451
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeContext_Request;
452
+
453
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeContext_Request;
454
+
455
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeContext_Request;
456
+
457
+ static equals(a: AttributeContext_Request | PlainMessage<AttributeContext_Request> | undefined, b: AttributeContext_Request | PlainMessage<AttributeContext_Request> | undefined): boolean;
458
+ }
459
+
460
+ /**
461
+ * This message defines attributes for a typical network response. It
462
+ * generally models semantics of an HTTP response.
463
+ *
464
+ * @generated from message google.rpc.context.AttributeContext.Response
465
+ */
466
+ export declare class AttributeContext_Response extends Message<AttributeContext_Response> {
467
+ /**
468
+ * The HTTP response status code, such as `200` and `404`.
469
+ *
470
+ * @generated from field: int64 code = 1;
471
+ */
472
+ code: bigint;
473
+
474
+ /**
475
+ * The HTTP response size in bytes. If unknown, it must be -1.
476
+ *
477
+ * @generated from field: int64 size = 2;
478
+ */
479
+ size: bigint;
480
+
481
+ /**
482
+ * The HTTP response headers. If multiple headers share the same key, they
483
+ * must be merged according to HTTP spec. All header keys must be
484
+ * lowercased, because HTTP header keys are case-insensitive.
485
+ *
486
+ * @generated from field: map<string, string> headers = 3;
487
+ */
488
+ headers: { [key: string]: string };
489
+
490
+ /**
491
+ * The timestamp when the `destination` service sends the last byte of
492
+ * the response.
493
+ *
494
+ * @generated from field: google.protobuf.Timestamp time = 4;
495
+ */
496
+ time?: Timestamp;
497
+
498
+ /**
499
+ * The amount of time it takes the backend service to fully respond to a
500
+ * request. Measured from when the destination service starts to send the
501
+ * request to the backend until when the destination service receives the
502
+ * complete response from the backend.
503
+ *
504
+ * @generated from field: google.protobuf.Duration backend_latency = 5;
505
+ */
506
+ backendLatency?: Duration;
507
+
508
+ constructor(data?: PartialMessage<AttributeContext_Response>);
509
+
510
+ static readonly runtime: typeof proto3;
511
+ static readonly typeName = "google.rpc.context.AttributeContext.Response";
512
+ static readonly fields: FieldList;
513
+
514
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeContext_Response;
515
+
516
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeContext_Response;
517
+
518
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeContext_Response;
519
+
520
+ static equals(a: AttributeContext_Response | PlainMessage<AttributeContext_Response> | undefined, b: AttributeContext_Response | PlainMessage<AttributeContext_Response> | undefined): boolean;
521
+ }
522
+
523
+ /**
524
+ * This message defines core attributes for a resource. A resource is an
525
+ * addressable (named) entity provided by the destination service. For
526
+ * example, a file stored on a network storage service.
527
+ *
528
+ * @generated from message google.rpc.context.AttributeContext.Resource
529
+ */
530
+ export declare class AttributeContext_Resource extends Message<AttributeContext_Resource> {
531
+ /**
532
+ * The name of the service that this resource belongs to, such as
533
+ * `pubsub.googleapis.com`. The service may be different from the DNS
534
+ * hostname that actually serves the request.
535
+ *
536
+ * @generated from field: string service = 1;
537
+ */
538
+ service: string;
539
+
540
+ /**
541
+ * The stable identifier (name) of a resource on the `service`. A resource
542
+ * can be logically identified as "//{resource.service}/{resource.name}".
543
+ * The differences between a resource name and a URI are:
544
+ *
545
+ * * Resource name is a logical identifier, independent of network
546
+ * protocol and API version. For example,
547
+ * `//pubsub.googleapis.com/projects/123/topics/news-feed`.
548
+ * * URI often includes protocol and version information, so it can
549
+ * be used directly by applications. For example,
550
+ * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
551
+ *
552
+ * See https://cloud.google.com/apis/design/resource_names for details.
553
+ *
554
+ * @generated from field: string name = 2;
555
+ */
556
+ name: string;
557
+
558
+ /**
559
+ * The type of the resource. The syntax is platform-specific because
560
+ * different platforms define their resources differently.
561
+ *
562
+ * For Google APIs, the type format must be "{service}/{kind}", such as
563
+ * "pubsub.googleapis.com/Topic".
564
+ *
565
+ * @generated from field: string type = 3;
566
+ */
567
+ type: string;
568
+
569
+ /**
570
+ * The labels or tags on the resource, such as AWS resource tags and
571
+ * Kubernetes resource labels.
572
+ *
573
+ * @generated from field: map<string, string> labels = 4;
574
+ */
575
+ labels: { [key: string]: string };
576
+
577
+ /**
578
+ * The unique identifier of the resource. UID is unique in the time
579
+ * and space for this resource within the scope of the service. It is
580
+ * typically generated by the server on successful creation of a resource
581
+ * and must not be changed. UID is used to uniquely identify resources
582
+ * with resource name reuses. This should be a UUID4.
583
+ *
584
+ * @generated from field: string uid = 5;
585
+ */
586
+ uid: string;
587
+
588
+ /**
589
+ * Annotations is an unstructured key-value map stored with a resource that
590
+ * may be set by external tools to store and retrieve arbitrary metadata.
591
+ * They are not queryable and should be preserved when modifying objects.
592
+ *
593
+ * More info: https://kubernetes.io/docs/user-guide/annotations
594
+ *
595
+ * @generated from field: map<string, string> annotations = 6;
596
+ */
597
+ annotations: { [key: string]: string };
598
+
599
+ /**
600
+ * Mutable. The display name set by clients. Must be <= 63 characters.
601
+ *
602
+ * @generated from field: string display_name = 7;
603
+ */
604
+ displayName: string;
605
+
606
+ /**
607
+ * Output only. The timestamp when the resource was created. This may
608
+ * be either the time creation was initiated or when it was completed.
609
+ *
610
+ * @generated from field: google.protobuf.Timestamp create_time = 8;
611
+ */
612
+ createTime?: Timestamp;
613
+
614
+ /**
615
+ * Output only. The timestamp when the resource was last updated. Any
616
+ * change to the resource made by users must refresh this value.
617
+ * Changes to a resource made by the service should refresh this value.
618
+ *
619
+ * @generated from field: google.protobuf.Timestamp update_time = 9;
620
+ */
621
+ updateTime?: Timestamp;
622
+
623
+ /**
624
+ * Output only. The timestamp when the resource was deleted.
625
+ * If the resource is not deleted, this must be empty.
626
+ *
627
+ * @generated from field: google.protobuf.Timestamp delete_time = 10;
628
+ */
629
+ deleteTime?: Timestamp;
630
+
631
+ /**
632
+ * Output only. An opaque value that uniquely identifies a version or
633
+ * generation of a resource. It can be used to confirm that the client
634
+ * and server agree on the ordering of a resource being written.
635
+ *
636
+ * @generated from field: string etag = 11;
637
+ */
638
+ etag: string;
639
+
640
+ /**
641
+ * Immutable. The location of the resource. The location encoding is
642
+ * specific to the service provider, and new encoding may be introduced
643
+ * as the service evolves.
644
+ *
645
+ * For Google Cloud products, the encoding is what is used by Google Cloud
646
+ * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The
647
+ * semantics of `location` is identical to the
648
+ * `cloud.googleapis.com/location` label used by some Google Cloud APIs.
649
+ *
650
+ * @generated from field: string location = 12;
651
+ */
652
+ location: string;
653
+
654
+ constructor(data?: PartialMessage<AttributeContext_Resource>);
655
+
656
+ static readonly runtime: typeof proto3;
657
+ static readonly typeName = "google.rpc.context.AttributeContext.Resource";
658
+ static readonly fields: FieldList;
659
+
660
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeContext_Resource;
661
+
662
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeContext_Resource;
663
+
664
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeContext_Resource;
665
+
666
+ static equals(a: AttributeContext_Resource | PlainMessage<AttributeContext_Resource> | undefined, b: AttributeContext_Resource | PlainMessage<AttributeContext_Resource> | undefined): boolean;
355
667
  }
356
668