@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,454 +1,774 @@
1
- // package: google.api.expr.v1alpha1
2
- // file: google/api/expr/v1alpha1/checked.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as google_api_expr_v1alpha1_syntax_pb from "../../../../google/api/expr/v1alpha1/syntax_pb";
6
- import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
7
- import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
8
-
9
- export class CheckedExpr extends jspb.Message {
10
- getReferenceMapMap(): jspb.Map<number, Reference>;
11
- clearReferenceMapMap(): void;
12
- getTypeMapMap(): jspb.Map<number, Type>;
13
- clearTypeMapMap(): void;
14
- hasSourceInfo(): boolean;
15
- clearSourceInfo(): void;
16
- getSourceInfo(): google_api_expr_v1alpha1_syntax_pb.SourceInfo | undefined;
17
- setSourceInfo(value?: google_api_expr_v1alpha1_syntax_pb.SourceInfo): void;
18
-
19
- getExprVersion(): string;
20
- setExprVersion(value: string): void;
21
-
22
- hasExpr(): boolean;
23
- clearExpr(): void;
24
- getExpr(): google_api_expr_v1alpha1_syntax_pb.Expr | undefined;
25
- setExpr(value?: google_api_expr_v1alpha1_syntax_pb.Expr): void;
26
-
27
- serializeBinary(): Uint8Array;
28
- toObject(includeInstance?: boolean): CheckedExpr.AsObject;
29
- static toObject(includeInstance: boolean, msg: CheckedExpr): CheckedExpr.AsObject;
30
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
31
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
32
- static serializeBinaryToWriter(message: CheckedExpr, writer: jspb.BinaryWriter): void;
33
- static deserializeBinary(bytes: Uint8Array): CheckedExpr;
34
- static deserializeBinaryFromReader(message: CheckedExpr, reader: jspb.BinaryReader): CheckedExpr;
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/api/expr/v1alpha1/checked.proto (package google.api.expr.v1alpha1, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, Empty, FieldList, JsonReadOptions, JsonValue, NullValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+ import type { Constant, Expr, SourceInfo } from "./syntax_pb.js";
23
+
24
+ /**
25
+ * A CEL expression which has been successfully type checked.
26
+ *
27
+ * @generated from message google.api.expr.v1alpha1.CheckedExpr
28
+ */
29
+ export declare class CheckedExpr extends Message<CheckedExpr> {
30
+ /**
31
+ * A map from expression ids to resolved references.
32
+ *
33
+ * The following entries are in this table:
34
+ *
35
+ * - An Ident or Select expression is represented here if it resolves to a
36
+ * declaration. For instance, if `a.b.c` is represented by
37
+ * `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
38
+ * while `c` is a field selection, then the reference is attached to the
39
+ * nested select expression (but not to the id or or the outer select).
40
+ * In turn, if `a` resolves to a declaration and `b.c` are field selections,
41
+ * the reference is attached to the ident expression.
42
+ * - Every Call expression has an entry here, identifying the function being
43
+ * called.
44
+ * - Every CreateStruct expression for a message has an entry, identifying
45
+ * the message.
46
+ *
47
+ * @generated from field: map<int64, google.api.expr.v1alpha1.Reference> reference_map = 2;
48
+ */
49
+ referenceMap: { [key: string]: Reference };
50
+
51
+ /**
52
+ * A map from expression ids to types.
53
+ *
54
+ * Every expression node which has a type different than DYN has a mapping
55
+ * here. If an expression has type DYN, it is omitted from this map to save
56
+ * space.
57
+ *
58
+ * @generated from field: map<int64, google.api.expr.v1alpha1.Type> type_map = 3;
59
+ */
60
+ typeMap: { [key: string]: Type };
61
+
62
+ /**
63
+ * The source info derived from input that generated the parsed `expr` and
64
+ * any optimizations made during the type-checking pass.
65
+ *
66
+ * @generated from field: google.api.expr.v1alpha1.SourceInfo source_info = 5;
67
+ */
68
+ sourceInfo?: SourceInfo;
69
+
70
+ /**
71
+ * The expr version indicates the major / minor version number of the `expr`
72
+ * representation.
73
+ *
74
+ * The most common reason for a version change will be to indicate to the CEL
75
+ * runtimes that transformations have been performed on the expr during static
76
+ * analysis. In some cases, this will save the runtime the work of applying
77
+ * the same or similar transformations prior to evaluation.
78
+ *
79
+ * @generated from field: string expr_version = 6;
80
+ */
81
+ exprVersion: string;
82
+
83
+ /**
84
+ * The checked expression. Semantically equivalent to the parsed `expr`, but
85
+ * may have structural differences.
86
+ *
87
+ * @generated from field: google.api.expr.v1alpha1.Expr expr = 4;
88
+ */
89
+ expr?: Expr;
90
+
91
+ constructor(data?: PartialMessage<CheckedExpr>);
92
+
93
+ static readonly runtime: typeof proto3;
94
+ static readonly typeName = "google.api.expr.v1alpha1.CheckedExpr";
95
+ static readonly fields: FieldList;
96
+
97
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckedExpr;
98
+
99
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckedExpr;
100
+
101
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckedExpr;
102
+
103
+ static equals(a: CheckedExpr | PlainMessage<CheckedExpr> | undefined, b: CheckedExpr | PlainMessage<CheckedExpr> | undefined): boolean;
35
104
  }
36
105
 
37
- export namespace CheckedExpr {
38
- export type AsObject = {
39
- referenceMapMap: Array<[number, Reference.AsObject]>,
40
- typeMapMap: Array<[number, Type.AsObject]>,
41
- sourceInfo?: google_api_expr_v1alpha1_syntax_pb.SourceInfo.AsObject,
42
- exprVersion: string,
43
- expr?: google_api_expr_v1alpha1_syntax_pb.Expr.AsObject,
44
- }
106
+ /**
107
+ * Represents a CEL type.
108
+ *
109
+ * @generated from message google.api.expr.v1alpha1.Type
110
+ */
111
+ export declare class Type extends Message<Type> {
112
+ /**
113
+ * The kind of type.
114
+ *
115
+ * @generated from oneof google.api.expr.v1alpha1.Type.type_kind
116
+ */
117
+ typeKind: {
118
+ /**
119
+ * Dynamic type.
120
+ *
121
+ * @generated from field: google.protobuf.Empty dyn = 1;
122
+ */
123
+ value: Empty;
124
+ case: "dyn";
125
+ } | {
126
+ /**
127
+ * Null value.
128
+ *
129
+ * @generated from field: google.protobuf.NullValue null = 2;
130
+ */
131
+ value: NullValue;
132
+ case: "null";
133
+ } | {
134
+ /**
135
+ * Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
136
+ *
137
+ * @generated from field: google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
138
+ */
139
+ value: Type_PrimitiveType;
140
+ case: "primitive";
141
+ } | {
142
+ /**
143
+ * Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
144
+ *
145
+ * @generated from field: google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
146
+ */
147
+ value: Type_PrimitiveType;
148
+ case: "wrapper";
149
+ } | {
150
+ /**
151
+ * Well-known protobuf type such as `google.protobuf.Timestamp`.
152
+ *
153
+ * @generated from field: google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
154
+ */
155
+ value: Type_WellKnownType;
156
+ case: "wellKnown";
157
+ } | {
158
+ /**
159
+ * Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
160
+ *
161
+ * @generated from field: google.api.expr.v1alpha1.Type.ListType list_type = 6;
162
+ */
163
+ value: Type_ListType;
164
+ case: "listType";
165
+ } | {
166
+ /**
167
+ * Parameterized map with typed keys and values.
168
+ *
169
+ * @generated from field: google.api.expr.v1alpha1.Type.MapType map_type = 7;
170
+ */
171
+ value: Type_MapType;
172
+ case: "mapType";
173
+ } | {
174
+ /**
175
+ * Function type.
176
+ *
177
+ * @generated from field: google.api.expr.v1alpha1.Type.FunctionType function = 8;
178
+ */
179
+ value: Type_FunctionType;
180
+ case: "function";
181
+ } | {
182
+ /**
183
+ * Protocol buffer message type.
184
+ *
185
+ * The `message_type` string specifies the qualified message type name. For
186
+ * example, `google.plus.Profile`.
187
+ *
188
+ * @generated from field: string message_type = 9;
189
+ */
190
+ value: string;
191
+ case: "messageType";
192
+ } | {
193
+ /**
194
+ * Type param type.
195
+ *
196
+ * The `type_param` string specifies the type parameter name, e.g. `list<E>`
197
+ * would be a `list_type` whose element type was a `type_param` type
198
+ * named `E`.
199
+ *
200
+ * @generated from field: string type_param = 10;
201
+ */
202
+ value: string;
203
+ case: "typeParam";
204
+ } | {
205
+ /**
206
+ * Type type.
207
+ *
208
+ * The `type` value specifies the target type. e.g. int is type with a
209
+ * target type of `Primitive.INT`.
210
+ *
211
+ * @generated from field: google.api.expr.v1alpha1.Type type = 11;
212
+ */
213
+ value: Type;
214
+ case: "type";
215
+ } | {
216
+ /**
217
+ * Error type.
218
+ *
219
+ * During type-checking if an expression is an error, its type is propagated
220
+ * as the `ERROR` type. This permits the type-checker to discover other
221
+ * errors present in the expression.
222
+ *
223
+ * @generated from field: google.protobuf.Empty error = 12;
224
+ */
225
+ value: Empty;
226
+ case: "error";
227
+ } | {
228
+ /**
229
+ * Abstract, application defined type.
230
+ *
231
+ * @generated from field: google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
232
+ */
233
+ value: Type_AbstractType;
234
+ case: "abstractType";
235
+ } | { case: undefined; value?: undefined };
236
+
237
+ constructor(data?: PartialMessage<Type>);
238
+
239
+ static readonly runtime: typeof proto3;
240
+ static readonly typeName = "google.api.expr.v1alpha1.Type";
241
+ static readonly fields: FieldList;
242
+
243
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Type;
244
+
245
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Type;
246
+
247
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Type;
248
+
249
+ static equals(a: Type | PlainMessage<Type> | undefined, b: Type | PlainMessage<Type> | undefined): boolean;
45
250
  }
46
251
 
47
- export class Type extends jspb.Message {
48
- hasDyn(): boolean;
49
- clearDyn(): void;
50
- getDyn(): google_protobuf_empty_pb.Empty | undefined;
51
- setDyn(value?: google_protobuf_empty_pb.Empty): void;
52
-
53
- hasNull(): boolean;
54
- clearNull(): void;
55
- getNull(): google_protobuf_struct_pb.NullValueMap[keyof google_protobuf_struct_pb.NullValueMap];
56
- setNull(value: google_protobuf_struct_pb.NullValueMap[keyof google_protobuf_struct_pb.NullValueMap]): void;
57
-
58
- hasPrimitive(): boolean;
59
- clearPrimitive(): void;
60
- getPrimitive(): Type.PrimitiveTypeMap[keyof Type.PrimitiveTypeMap];
61
- setPrimitive(value: Type.PrimitiveTypeMap[keyof Type.PrimitiveTypeMap]): void;
62
-
63
- hasWrapper(): boolean;
64
- clearWrapper(): void;
65
- getWrapper(): Type.PrimitiveTypeMap[keyof Type.PrimitiveTypeMap];
66
- setWrapper(value: Type.PrimitiveTypeMap[keyof Type.PrimitiveTypeMap]): void;
67
-
68
- hasWellKnown(): boolean;
69
- clearWellKnown(): void;
70
- getWellKnown(): Type.WellKnownTypeMap[keyof Type.WellKnownTypeMap];
71
- setWellKnown(value: Type.WellKnownTypeMap[keyof Type.WellKnownTypeMap]): void;
72
-
73
- hasListType(): boolean;
74
- clearListType(): void;
75
- getListType(): Type.ListType | undefined;
76
- setListType(value?: Type.ListType): void;
77
-
78
- hasMapType(): boolean;
79
- clearMapType(): void;
80
- getMapType(): Type.MapType | undefined;
81
- setMapType(value?: Type.MapType): void;
82
-
83
- hasFunction(): boolean;
84
- clearFunction(): void;
85
- getFunction(): Type.FunctionType | undefined;
86
- setFunction(value?: Type.FunctionType): void;
87
-
88
- hasMessageType(): boolean;
89
- clearMessageType(): void;
90
- getMessageType(): string;
91
- setMessageType(value: string): void;
92
-
93
- hasTypeParam(): boolean;
94
- clearTypeParam(): void;
95
- getTypeParam(): string;
96
- setTypeParam(value: string): void;
97
-
98
- hasType(): boolean;
99
- clearType(): void;
100
- getType(): Type | undefined;
101
- setType(value?: Type): void;
102
-
103
- hasError(): boolean;
104
- clearError(): void;
105
- getError(): google_protobuf_empty_pb.Empty | undefined;
106
- setError(value?: google_protobuf_empty_pb.Empty): void;
107
-
108
- hasAbstractType(): boolean;
109
- clearAbstractType(): void;
110
- getAbstractType(): Type.AbstractType | undefined;
111
- setAbstractType(value?: Type.AbstractType): void;
112
-
113
- getTypeKindCase(): Type.TypeKindCase;
114
- serializeBinary(): Uint8Array;
115
- toObject(includeInstance?: boolean): Type.AsObject;
116
- static toObject(includeInstance: boolean, msg: Type): Type.AsObject;
117
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
118
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
119
- static serializeBinaryToWriter(message: Type, writer: jspb.BinaryWriter): void;
120
- static deserializeBinary(bytes: Uint8Array): Type;
121
- static deserializeBinaryFromReader(message: Type, reader: jspb.BinaryReader): Type;
252
+ /**
253
+ * CEL primitive types.
254
+ *
255
+ * @generated from enum google.api.expr.v1alpha1.Type.PrimitiveType
256
+ */
257
+ export declare enum Type_PrimitiveType {
258
+ /**
259
+ * Unspecified type.
260
+ *
261
+ * @generated from enum value: PRIMITIVE_TYPE_UNSPECIFIED = 0;
262
+ */
263
+ PRIMITIVE_TYPE_UNSPECIFIED = 0,
264
+
265
+ /**
266
+ * Boolean type.
267
+ *
268
+ * @generated from enum value: BOOL = 1;
269
+ */
270
+ BOOL = 1,
271
+
272
+ /**
273
+ * Int64 type.
274
+ *
275
+ * Proto-based integer values are widened to int64.
276
+ *
277
+ * @generated from enum value: INT64 = 2;
278
+ */
279
+ INT64 = 2,
280
+
281
+ /**
282
+ * Uint64 type.
283
+ *
284
+ * Proto-based unsigned integer values are widened to uint64.
285
+ *
286
+ * @generated from enum value: UINT64 = 3;
287
+ */
288
+ UINT64 = 3,
289
+
290
+ /**
291
+ * Double type.
292
+ *
293
+ * Proto-based float values are widened to double values.
294
+ *
295
+ * @generated from enum value: DOUBLE = 4;
296
+ */
297
+ DOUBLE = 4,
298
+
299
+ /**
300
+ * String type.
301
+ *
302
+ * @generated from enum value: STRING = 5;
303
+ */
304
+ STRING = 5,
305
+
306
+ /**
307
+ * Bytes type.
308
+ *
309
+ * @generated from enum value: BYTES = 6;
310
+ */
311
+ BYTES = 6,
122
312
  }
123
313
 
124
- export namespace Type {
125
- export type AsObject = {
126
- dyn?: google_protobuf_empty_pb.Empty.AsObject,
127
- pb_null: google_protobuf_struct_pb.NullValueMap[keyof google_protobuf_struct_pb.NullValueMap],
128
- primitive: Type.PrimitiveTypeMap[keyof Type.PrimitiveTypeMap],
129
- wrapper: Type.PrimitiveTypeMap[keyof Type.PrimitiveTypeMap],
130
- wellKnown: Type.WellKnownTypeMap[keyof Type.WellKnownTypeMap],
131
- listType?: Type.ListType.AsObject,
132
- mapType?: Type.MapType.AsObject,
133
- pb_function?: Type.FunctionType.AsObject,
134
- messageType: string,
135
- typeParam: string,
136
- type?: Type.AsObject,
137
- error?: google_protobuf_empty_pb.Empty.AsObject,
138
- abstractType?: Type.AbstractType.AsObject,
139
- }
140
-
141
- export class ListType extends jspb.Message {
142
- hasElemType(): boolean;
143
- clearElemType(): void;
144
- getElemType(): Type | undefined;
145
- setElemType(value?: Type): void;
146
-
147
- serializeBinary(): Uint8Array;
148
- toObject(includeInstance?: boolean): ListType.AsObject;
149
- static toObject(includeInstance: boolean, msg: ListType): ListType.AsObject;
150
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
151
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
152
- static serializeBinaryToWriter(message: ListType, writer: jspb.BinaryWriter): void;
153
- static deserializeBinary(bytes: Uint8Array): ListType;
154
- static deserializeBinaryFromReader(message: ListType, reader: jspb.BinaryReader): ListType;
155
- }
156
-
157
- export namespace ListType {
158
- export type AsObject = {
159
- elemType?: Type.AsObject,
160
- }
161
- }
162
-
163
- export class MapType extends jspb.Message {
164
- hasKeyType(): boolean;
165
- clearKeyType(): void;
166
- getKeyType(): Type | undefined;
167
- setKeyType(value?: Type): void;
168
-
169
- hasValueType(): boolean;
170
- clearValueType(): void;
171
- getValueType(): Type | undefined;
172
- setValueType(value?: Type): void;
173
-
174
- serializeBinary(): Uint8Array;
175
- toObject(includeInstance?: boolean): MapType.AsObject;
176
- static toObject(includeInstance: boolean, msg: MapType): MapType.AsObject;
177
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
178
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
179
- static serializeBinaryToWriter(message: MapType, writer: jspb.BinaryWriter): void;
180
- static deserializeBinary(bytes: Uint8Array): MapType;
181
- static deserializeBinaryFromReader(message: MapType, reader: jspb.BinaryReader): MapType;
182
- }
183
-
184
- export namespace MapType {
185
- export type AsObject = {
186
- keyType?: Type.AsObject,
187
- valueType?: Type.AsObject,
188
- }
189
- }
190
-
191
- export class FunctionType extends jspb.Message {
192
- hasResultType(): boolean;
193
- clearResultType(): void;
194
- getResultType(): Type | undefined;
195
- setResultType(value?: Type): void;
196
-
197
- clearArgTypesList(): void;
198
- getArgTypesList(): Array<Type>;
199
- setArgTypesList(value: Array<Type>): void;
200
- addArgTypes(value?: Type, index?: number): Type;
201
-
202
- serializeBinary(): Uint8Array;
203
- toObject(includeInstance?: boolean): FunctionType.AsObject;
204
- static toObject(includeInstance: boolean, msg: FunctionType): FunctionType.AsObject;
205
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
206
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
207
- static serializeBinaryToWriter(message: FunctionType, writer: jspb.BinaryWriter): void;
208
- static deserializeBinary(bytes: Uint8Array): FunctionType;
209
- static deserializeBinaryFromReader(message: FunctionType, reader: jspb.BinaryReader): FunctionType;
210
- }
211
-
212
- export namespace FunctionType {
213
- export type AsObject = {
214
- resultType?: Type.AsObject,
215
- argTypesList: Array<Type.AsObject>,
216
- }
217
- }
218
-
219
- export class AbstractType extends jspb.Message {
220
- getName(): string;
221
- setName(value: string): void;
222
-
223
- clearParameterTypesList(): void;
224
- getParameterTypesList(): Array<Type>;
225
- setParameterTypesList(value: Array<Type>): void;
226
- addParameterTypes(value?: Type, index?: number): Type;
227
-
228
- serializeBinary(): Uint8Array;
229
- toObject(includeInstance?: boolean): AbstractType.AsObject;
230
- static toObject(includeInstance: boolean, msg: AbstractType): AbstractType.AsObject;
231
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
232
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
233
- static serializeBinaryToWriter(message: AbstractType, writer: jspb.BinaryWriter): void;
234
- static deserializeBinary(bytes: Uint8Array): AbstractType;
235
- static deserializeBinaryFromReader(message: AbstractType, reader: jspb.BinaryReader): AbstractType;
236
- }
237
-
238
- export namespace AbstractType {
239
- export type AsObject = {
240
- name: string,
241
- parameterTypesList: Array<Type.AsObject>,
242
- }
243
- }
244
-
245
- export interface PrimitiveTypeMap {
246
- PRIMITIVE_TYPE_UNSPECIFIED: 0;
247
- BOOL: 1;
248
- INT64: 2;
249
- UINT64: 3;
250
- DOUBLE: 4;
251
- STRING: 5;
252
- BYTES: 6;
253
- }
254
-
255
- export const PrimitiveType: PrimitiveTypeMap;
256
-
257
- export interface WellKnownTypeMap {
258
- WELL_KNOWN_TYPE_UNSPECIFIED: 0;
259
- ANY: 1;
260
- TIMESTAMP: 2;
261
- DURATION: 3;
262
- }
263
-
264
- export const WellKnownType: WellKnownTypeMap;
265
-
266
- export enum TypeKindCase {
267
- TYPE_KIND_NOT_SET = 0,
268
- DYN = 1,
269
- NULL = 2,
270
- PRIMITIVE = 3,
271
- WRAPPER = 4,
272
- WELL_KNOWN = 5,
273
- LIST_TYPE = 6,
274
- MAP_TYPE = 7,
275
- FUNCTION = 8,
276
- MESSAGE_TYPE = 9,
277
- TYPE_PARAM = 10,
278
- TYPE = 11,
279
- ERROR = 12,
280
- ABSTRACT_TYPE = 14,
281
- }
314
+ /**
315
+ * Well-known protobuf types treated with first-class support in CEL.
316
+ *
317
+ * @generated from enum google.api.expr.v1alpha1.Type.WellKnownType
318
+ */
319
+ export declare enum Type_WellKnownType {
320
+ /**
321
+ * Unspecified type.
322
+ *
323
+ * @generated from enum value: WELL_KNOWN_TYPE_UNSPECIFIED = 0;
324
+ */
325
+ WELL_KNOWN_TYPE_UNSPECIFIED = 0,
326
+
327
+ /**
328
+ * Well-known protobuf.Any type.
329
+ *
330
+ * Any types are a polymorphic message type. During type-checking they are
331
+ * treated like `DYN` types, but at runtime they are resolved to a specific
332
+ * message type specified at evaluation time.
333
+ *
334
+ * @generated from enum value: ANY = 1;
335
+ */
336
+ ANY = 1,
337
+
338
+ /**
339
+ * Well-known protobuf.Timestamp type, internally referenced as `timestamp`.
340
+ *
341
+ * @generated from enum value: TIMESTAMP = 2;
342
+ */
343
+ TIMESTAMP = 2,
344
+
345
+ /**
346
+ * Well-known protobuf.Duration type, internally referenced as `duration`.
347
+ *
348
+ * @generated from enum value: DURATION = 3;
349
+ */
350
+ DURATION = 3,
282
351
  }
283
352
 
284
- export class Decl extends jspb.Message {
285
- getName(): string;
286
- setName(value: string): void;
287
-
288
- hasIdent(): boolean;
289
- clearIdent(): void;
290
- getIdent(): Decl.IdentDecl | undefined;
291
- setIdent(value?: Decl.IdentDecl): void;
292
-
293
- hasFunction(): boolean;
294
- clearFunction(): void;
295
- getFunction(): Decl.FunctionDecl | undefined;
296
- setFunction(value?: Decl.FunctionDecl): void;
297
-
298
- getDeclKindCase(): Decl.DeclKindCase;
299
- serializeBinary(): Uint8Array;
300
- toObject(includeInstance?: boolean): Decl.AsObject;
301
- static toObject(includeInstance: boolean, msg: Decl): Decl.AsObject;
302
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
303
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
304
- static serializeBinaryToWriter(message: Decl, writer: jspb.BinaryWriter): void;
305
- static deserializeBinary(bytes: Uint8Array): Decl;
306
- static deserializeBinaryFromReader(message: Decl, reader: jspb.BinaryReader): Decl;
353
+ /**
354
+ * List type with typed elements, e.g. `list<example.proto.MyMessage>`.
355
+ *
356
+ * @generated from message google.api.expr.v1alpha1.Type.ListType
357
+ */
358
+ export declare class Type_ListType extends Message<Type_ListType> {
359
+ /**
360
+ * The element type.
361
+ *
362
+ * @generated from field: google.api.expr.v1alpha1.Type elem_type = 1;
363
+ */
364
+ elemType?: Type;
365
+
366
+ constructor(data?: PartialMessage<Type_ListType>);
367
+
368
+ static readonly runtime: typeof proto3;
369
+ static readonly typeName = "google.api.expr.v1alpha1.Type.ListType";
370
+ static readonly fields: FieldList;
371
+
372
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Type_ListType;
373
+
374
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Type_ListType;
375
+
376
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Type_ListType;
377
+
378
+ static equals(a: Type_ListType | PlainMessage<Type_ListType> | undefined, b: Type_ListType | PlainMessage<Type_ListType> | undefined): boolean;
379
+ }
380
+
381
+ /**
382
+ * Map type with parameterized key and value types, e.g. `map<string, int>`.
383
+ *
384
+ * @generated from message google.api.expr.v1alpha1.Type.MapType
385
+ */
386
+ export declare class Type_MapType extends Message<Type_MapType> {
387
+ /**
388
+ * The type of the key.
389
+ *
390
+ * @generated from field: google.api.expr.v1alpha1.Type key_type = 1;
391
+ */
392
+ keyType?: Type;
393
+
394
+ /**
395
+ * The type of the value.
396
+ *
397
+ * @generated from field: google.api.expr.v1alpha1.Type value_type = 2;
398
+ */
399
+ valueType?: Type;
400
+
401
+ constructor(data?: PartialMessage<Type_MapType>);
402
+
403
+ static readonly runtime: typeof proto3;
404
+ static readonly typeName = "google.api.expr.v1alpha1.Type.MapType";
405
+ static readonly fields: FieldList;
406
+
407
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Type_MapType;
408
+
409
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Type_MapType;
410
+
411
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Type_MapType;
412
+
413
+ static equals(a: Type_MapType | PlainMessage<Type_MapType> | undefined, b: Type_MapType | PlainMessage<Type_MapType> | undefined): boolean;
307
414
  }
308
415
 
309
- export namespace Decl {
310
- export type AsObject = {
311
- name: string,
312
- ident?: Decl.IdentDecl.AsObject,
313
- pb_function?: Decl.FunctionDecl.AsObject,
314
- }
315
-
316
- export class IdentDecl extends jspb.Message {
317
- hasType(): boolean;
318
- clearType(): void;
319
- getType(): Type | undefined;
320
- setType(value?: Type): void;
321
-
322
- hasValue(): boolean;
323
- clearValue(): void;
324
- getValue(): google_api_expr_v1alpha1_syntax_pb.Constant | undefined;
325
- setValue(value?: google_api_expr_v1alpha1_syntax_pb.Constant): void;
326
-
327
- getDoc(): string;
328
- setDoc(value: string): void;
329
-
330
- serializeBinary(): Uint8Array;
331
- toObject(includeInstance?: boolean): IdentDecl.AsObject;
332
- static toObject(includeInstance: boolean, msg: IdentDecl): IdentDecl.AsObject;
333
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
334
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
335
- static serializeBinaryToWriter(message: IdentDecl, writer: jspb.BinaryWriter): void;
336
- static deserializeBinary(bytes: Uint8Array): IdentDecl;
337
- static deserializeBinaryFromReader(message: IdentDecl, reader: jspb.BinaryReader): IdentDecl;
338
- }
339
-
340
- export namespace IdentDecl {
341
- export type AsObject = {
342
- type?: Type.AsObject,
343
- value?: google_api_expr_v1alpha1_syntax_pb.Constant.AsObject,
344
- doc: string,
345
- }
346
- }
347
-
348
- export class FunctionDecl extends jspb.Message {
349
- clearOverloadsList(): void;
350
- getOverloadsList(): Array<Decl.FunctionDecl.Overload>;
351
- setOverloadsList(value: Array<Decl.FunctionDecl.Overload>): void;
352
- addOverloads(value?: Decl.FunctionDecl.Overload, index?: number): Decl.FunctionDecl.Overload;
353
-
354
- serializeBinary(): Uint8Array;
355
- toObject(includeInstance?: boolean): FunctionDecl.AsObject;
356
- static toObject(includeInstance: boolean, msg: FunctionDecl): FunctionDecl.AsObject;
357
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
358
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
359
- static serializeBinaryToWriter(message: FunctionDecl, writer: jspb.BinaryWriter): void;
360
- static deserializeBinary(bytes: Uint8Array): FunctionDecl;
361
- static deserializeBinaryFromReader(message: FunctionDecl, reader: jspb.BinaryReader): FunctionDecl;
362
- }
363
-
364
- export namespace FunctionDecl {
365
- export type AsObject = {
366
- overloadsList: Array<Decl.FunctionDecl.Overload.AsObject>,
367
- }
368
-
369
- export class Overload extends jspb.Message {
370
- getOverloadId(): string;
371
- setOverloadId(value: string): void;
372
-
373
- clearParamsList(): void;
374
- getParamsList(): Array<Type>;
375
- setParamsList(value: Array<Type>): void;
376
- addParams(value?: Type, index?: number): Type;
377
-
378
- clearTypeParamsList(): void;
379
- getTypeParamsList(): Array<string>;
380
- setTypeParamsList(value: Array<string>): void;
381
- addTypeParams(value: string, index?: number): string;
382
-
383
- hasResultType(): boolean;
384
- clearResultType(): void;
385
- getResultType(): Type | undefined;
386
- setResultType(value?: Type): void;
387
-
388
- getIsInstanceFunction(): boolean;
389
- setIsInstanceFunction(value: boolean): void;
390
-
391
- getDoc(): string;
392
- setDoc(value: string): void;
393
-
394
- serializeBinary(): Uint8Array;
395
- toObject(includeInstance?: boolean): Overload.AsObject;
396
- static toObject(includeInstance: boolean, msg: Overload): Overload.AsObject;
397
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
398
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
399
- static serializeBinaryToWriter(message: Overload, writer: jspb.BinaryWriter): void;
400
- static deserializeBinary(bytes: Uint8Array): Overload;
401
- static deserializeBinaryFromReader(message: Overload, reader: jspb.BinaryReader): Overload;
402
- }
403
-
404
- export namespace Overload {
405
- export type AsObject = {
406
- overloadId: string,
407
- paramsList: Array<Type.AsObject>,
408
- typeParamsList: Array<string>,
409
- resultType?: Type.AsObject,
410
- isInstanceFunction: boolean,
411
- doc: string,
412
- }
413
- }
414
- }
415
-
416
- export enum DeclKindCase {
417
- DECL_KIND_NOT_SET = 0,
418
- IDENT = 2,
419
- FUNCTION = 3,
420
- }
416
+ /**
417
+ * Function type with result and arg types.
418
+ *
419
+ * @generated from message google.api.expr.v1alpha1.Type.FunctionType
420
+ */
421
+ export declare class Type_FunctionType extends Message<Type_FunctionType> {
422
+ /**
423
+ * Result type of the function.
424
+ *
425
+ * @generated from field: google.api.expr.v1alpha1.Type result_type = 1;
426
+ */
427
+ resultType?: Type;
428
+
429
+ /**
430
+ * Argument types of the function.
431
+ *
432
+ * @generated from field: repeated google.api.expr.v1alpha1.Type arg_types = 2;
433
+ */
434
+ argTypes: Type[];
435
+
436
+ constructor(data?: PartialMessage<Type_FunctionType>);
437
+
438
+ static readonly runtime: typeof proto3;
439
+ static readonly typeName = "google.api.expr.v1alpha1.Type.FunctionType";
440
+ static readonly fields: FieldList;
441
+
442
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Type_FunctionType;
443
+
444
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Type_FunctionType;
445
+
446
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Type_FunctionType;
447
+
448
+ static equals(a: Type_FunctionType | PlainMessage<Type_FunctionType> | undefined, b: Type_FunctionType | PlainMessage<Type_FunctionType> | undefined): boolean;
449
+ }
450
+
451
+ /**
452
+ * Application defined abstract type.
453
+ *
454
+ * @generated from message google.api.expr.v1alpha1.Type.AbstractType
455
+ */
456
+ export declare class Type_AbstractType extends Message<Type_AbstractType> {
457
+ /**
458
+ * The fully qualified name of this abstract type.
459
+ *
460
+ * @generated from field: string name = 1;
461
+ */
462
+ name: string;
463
+
464
+ /**
465
+ * Parameter types for this abstract type.
466
+ *
467
+ * @generated from field: repeated google.api.expr.v1alpha1.Type parameter_types = 2;
468
+ */
469
+ parameterTypes: Type[];
470
+
471
+ constructor(data?: PartialMessage<Type_AbstractType>);
472
+
473
+ static readonly runtime: typeof proto3;
474
+ static readonly typeName = "google.api.expr.v1alpha1.Type.AbstractType";
475
+ static readonly fields: FieldList;
476
+
477
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Type_AbstractType;
478
+
479
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Type_AbstractType;
480
+
481
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Type_AbstractType;
482
+
483
+ static equals(a: Type_AbstractType | PlainMessage<Type_AbstractType> | undefined, b: Type_AbstractType | PlainMessage<Type_AbstractType> | undefined): boolean;
484
+ }
485
+
486
+ /**
487
+ * Represents a declaration of a named value or function.
488
+ *
489
+ * A declaration is part of the contract between the expression, the agent
490
+ * evaluating that expression, and the caller requesting evaluation.
491
+ *
492
+ * @generated from message google.api.expr.v1alpha1.Decl
493
+ */
494
+ export declare class Decl extends Message<Decl> {
495
+ /**
496
+ * The fully qualified name of the declaration.
497
+ *
498
+ * Declarations are organized in containers and this represents the full path
499
+ * to the declaration in its container, as in `google.api.expr.Decl`.
500
+ *
501
+ * Declarations used as
502
+ * [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload]
503
+ * parameters may or may not have a name depending on whether the overload is
504
+ * function declaration or a function definition containing a result
505
+ * [Expr][google.api.expr.v1alpha1.Expr].
506
+ *
507
+ * @generated from field: string name = 1;
508
+ */
509
+ name: string;
510
+
511
+ /**
512
+ * Required. The declaration kind.
513
+ *
514
+ * @generated from oneof google.api.expr.v1alpha1.Decl.decl_kind
515
+ */
516
+ declKind: {
517
+ /**
518
+ * Identifier declaration.
519
+ *
520
+ * @generated from field: google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;
521
+ */
522
+ value: Decl_IdentDecl;
523
+ case: "ident";
524
+ } | {
525
+ /**
526
+ * Function declaration.
527
+ *
528
+ * @generated from field: google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;
529
+ */
530
+ value: Decl_FunctionDecl;
531
+ case: "function";
532
+ } | { case: undefined; value?: undefined };
533
+
534
+ constructor(data?: PartialMessage<Decl>);
535
+
536
+ static readonly runtime: typeof proto3;
537
+ static readonly typeName = "google.api.expr.v1alpha1.Decl";
538
+ static readonly fields: FieldList;
539
+
540
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Decl;
541
+
542
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Decl;
543
+
544
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Decl;
545
+
546
+ static equals(a: Decl | PlainMessage<Decl> | undefined, b: Decl | PlainMessage<Decl> | undefined): boolean;
547
+ }
548
+
549
+ /**
550
+ * Identifier declaration which specifies its type and optional `Expr` value.
551
+ *
552
+ * An identifier without a value is a declaration that must be provided at
553
+ * evaluation time. An identifier with a value should resolve to a constant,
554
+ * but may be used in conjunction with other identifiers bound at evaluation
555
+ * time.
556
+ *
557
+ * @generated from message google.api.expr.v1alpha1.Decl.IdentDecl
558
+ */
559
+ export declare class Decl_IdentDecl extends Message<Decl_IdentDecl> {
560
+ /**
561
+ * Required. The type of the identifier.
562
+ *
563
+ * @generated from field: google.api.expr.v1alpha1.Type type = 1;
564
+ */
565
+ type?: Type;
566
+
567
+ /**
568
+ * The constant value of the identifier. If not specified, the identifier
569
+ * must be supplied at evaluation time.
570
+ *
571
+ * @generated from field: google.api.expr.v1alpha1.Constant value = 2;
572
+ */
573
+ value?: Constant;
574
+
575
+ /**
576
+ * Documentation string for the identifier.
577
+ *
578
+ * @generated from field: string doc = 3;
579
+ */
580
+ doc: string;
581
+
582
+ constructor(data?: PartialMessage<Decl_IdentDecl>);
583
+
584
+ static readonly runtime: typeof proto3;
585
+ static readonly typeName = "google.api.expr.v1alpha1.Decl.IdentDecl";
586
+ static readonly fields: FieldList;
587
+
588
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Decl_IdentDecl;
589
+
590
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Decl_IdentDecl;
591
+
592
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Decl_IdentDecl;
593
+
594
+ static equals(a: Decl_IdentDecl | PlainMessage<Decl_IdentDecl> | undefined, b: Decl_IdentDecl | PlainMessage<Decl_IdentDecl> | undefined): boolean;
595
+ }
596
+
597
+ /**
598
+ * Function declaration specifies one or more overloads which indicate the
599
+ * function's parameter types and return type.
600
+ *
601
+ * Functions have no observable side-effects (there may be side-effects like
602
+ * logging which are not observable from CEL).
603
+ *
604
+ * @generated from message google.api.expr.v1alpha1.Decl.FunctionDecl
605
+ */
606
+ export declare class Decl_FunctionDecl extends Message<Decl_FunctionDecl> {
607
+ /**
608
+ * Required. List of function overloads, must contain at least one overload.
609
+ *
610
+ * @generated from field: repeated google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1;
611
+ */
612
+ overloads: Decl_FunctionDecl_Overload[];
613
+
614
+ constructor(data?: PartialMessage<Decl_FunctionDecl>);
615
+
616
+ static readonly runtime: typeof proto3;
617
+ static readonly typeName = "google.api.expr.v1alpha1.Decl.FunctionDecl";
618
+ static readonly fields: FieldList;
619
+
620
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Decl_FunctionDecl;
621
+
622
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Decl_FunctionDecl;
623
+
624
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Decl_FunctionDecl;
625
+
626
+ static equals(a: Decl_FunctionDecl | PlainMessage<Decl_FunctionDecl> | undefined, b: Decl_FunctionDecl | PlainMessage<Decl_FunctionDecl> | undefined): boolean;
421
627
  }
422
628
 
423
- export class Reference extends jspb.Message {
424
- getName(): string;
425
- setName(value: string): void;
426
-
427
- clearOverloadIdList(): void;
428
- getOverloadIdList(): Array<string>;
429
- setOverloadIdList(value: Array<string>): void;
430
- addOverloadId(value: string, index?: number): string;
431
-
432
- hasValue(): boolean;
433
- clearValue(): void;
434
- getValue(): google_api_expr_v1alpha1_syntax_pb.Constant | undefined;
435
- setValue(value?: google_api_expr_v1alpha1_syntax_pb.Constant): void;
436
-
437
- serializeBinary(): Uint8Array;
438
- toObject(includeInstance?: boolean): Reference.AsObject;
439
- static toObject(includeInstance: boolean, msg: Reference): Reference.AsObject;
440
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
441
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
442
- static serializeBinaryToWriter(message: Reference, writer: jspb.BinaryWriter): void;
443
- static deserializeBinary(bytes: Uint8Array): Reference;
444
- static deserializeBinaryFromReader(message: Reference, reader: jspb.BinaryReader): Reference;
629
+ /**
630
+ * An overload indicates a function's parameter types and return type, and
631
+ * may optionally include a function body described in terms of
632
+ * [Expr][google.api.expr.v1alpha1.Expr] values.
633
+ *
634
+ * Functions overloads are declared in either a function or method
635
+ * call-style. For methods, the `params[0]` is the expected type of the
636
+ * target receiver.
637
+ *
638
+ * Overloads must have non-overlapping argument types after erasure of all
639
+ * parameterized type variables (similar as type erasure in Java).
640
+ *
641
+ * @generated from message google.api.expr.v1alpha1.Decl.FunctionDecl.Overload
642
+ */
643
+ export declare class Decl_FunctionDecl_Overload extends Message<Decl_FunctionDecl_Overload> {
644
+ /**
645
+ * Required. Globally unique overload name of the function which reflects
646
+ * the function name and argument types.
647
+ *
648
+ * This will be used by a [Reference][google.api.expr.v1alpha1.Reference]
649
+ * to indicate the `overload_id` that was resolved for the function
650
+ * `name`.
651
+ *
652
+ * @generated from field: string overload_id = 1;
653
+ */
654
+ overloadId: string;
655
+
656
+ /**
657
+ * List of function parameter [Type][google.api.expr.v1alpha1.Type]
658
+ * values.
659
+ *
660
+ * Param types are disjoint after generic type parameters have been
661
+ * replaced with the type `DYN`. Since the `DYN` type is compatible with
662
+ * any other type, this means that if `A` is a type parameter, the
663
+ * function types `int<A>` and `int<int>` are not disjoint. Likewise,
664
+ * `map<string, string>` is not disjoint from `map<K, V>`.
665
+ *
666
+ * When the `result_type` of a function is a generic type param, the
667
+ * type param name also appears as the `type` of on at least one params.
668
+ *
669
+ * @generated from field: repeated google.api.expr.v1alpha1.Type params = 2;
670
+ */
671
+ params: Type[];
672
+
673
+ /**
674
+ * The type param names associated with the function declaration.
675
+ *
676
+ * For example, `function ex<K,V>(K key, map<K, V> map) : V` would yield
677
+ * the type params of `K, V`.
678
+ *
679
+ * @generated from field: repeated string type_params = 3;
680
+ */
681
+ typeParams: string[];
682
+
683
+ /**
684
+ * Required. The result type of the function. For example, the operator
685
+ * `string.isEmpty()` would have `result_type` of `kind: BOOL`.
686
+ *
687
+ * @generated from field: google.api.expr.v1alpha1.Type result_type = 4;
688
+ */
689
+ resultType?: Type;
690
+
691
+ /**
692
+ * Whether the function is to be used in a method call-style `x.f(...)`
693
+ * or a function call-style `f(x, ...)`.
694
+ *
695
+ * For methods, the first parameter declaration, `params[0]` is the
696
+ * expected type of the target receiver.
697
+ *
698
+ * @generated from field: bool is_instance_function = 5;
699
+ */
700
+ isInstanceFunction: boolean;
701
+
702
+ /**
703
+ * Documentation string for the overload.
704
+ *
705
+ * @generated from field: string doc = 6;
706
+ */
707
+ doc: string;
708
+
709
+ constructor(data?: PartialMessage<Decl_FunctionDecl_Overload>);
710
+
711
+ static readonly runtime: typeof proto3;
712
+ static readonly typeName = "google.api.expr.v1alpha1.Decl.FunctionDecl.Overload";
713
+ static readonly fields: FieldList;
714
+
715
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Decl_FunctionDecl_Overload;
716
+
717
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Decl_FunctionDecl_Overload;
718
+
719
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Decl_FunctionDecl_Overload;
720
+
721
+ static equals(a: Decl_FunctionDecl_Overload | PlainMessage<Decl_FunctionDecl_Overload> | undefined, b: Decl_FunctionDecl_Overload | PlainMessage<Decl_FunctionDecl_Overload> | undefined): boolean;
445
722
  }
446
723
 
447
- export namespace Reference {
448
- export type AsObject = {
449
- name: string,
450
- overloadIdList: Array<string>,
451
- value?: google_api_expr_v1alpha1_syntax_pb.Constant.AsObject,
452
- }
724
+ /**
725
+ * Describes a resolved reference to a declaration.
726
+ *
727
+ * @generated from message google.api.expr.v1alpha1.Reference
728
+ */
729
+ export declare class Reference extends Message<Reference> {
730
+ /**
731
+ * The fully qualified name of the declaration.
732
+ *
733
+ * @generated from field: string name = 1;
734
+ */
735
+ name: string;
736
+
737
+ /**
738
+ * For references to functions, this is a list of `Overload.overload_id`
739
+ * values which match according to typing rules.
740
+ *
741
+ * If the list has more than one element, overload resolution among the
742
+ * presented candidates must happen at runtime because of dynamic types. The
743
+ * type checker attempts to narrow down this list as much as possible.
744
+ *
745
+ * Empty if this is not a reference to a
746
+ * [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
747
+ *
748
+ * @generated from field: repeated string overload_id = 3;
749
+ */
750
+ overloadId: string[];
751
+
752
+ /**
753
+ * For references to constants, this may contain the value of the
754
+ * constant if known at compile time.
755
+ *
756
+ * @generated from field: google.api.expr.v1alpha1.Constant value = 4;
757
+ */
758
+ value?: Constant;
759
+
760
+ constructor(data?: PartialMessage<Reference>);
761
+
762
+ static readonly runtime: typeof proto3;
763
+ static readonly typeName = "google.api.expr.v1alpha1.Reference";
764
+ static readonly fields: FieldList;
765
+
766
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Reference;
767
+
768
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Reference;
769
+
770
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Reference;
771
+
772
+ static equals(a: Reference | PlainMessage<Reference> | undefined, b: Reference | PlainMessage<Reference> | undefined): boolean;
453
773
  }
454
774