@viamrobotics/sdk 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +93 -90
- package/dist/app/billing-client.d.ts +7 -8
- package/dist/app/billing-client.spec.d.ts +1 -0
- package/dist/app/data-client.d.ts +42 -50
- package/dist/app/data-client.spec.d.ts +1 -0
- package/dist/app/ml-training-client.d.ts +9 -14
- package/dist/app/ml-training-client.spec.d.ts +1 -0
- package/dist/app/provisioning-client.d.ts +7 -7
- package/dist/app/provisioning-client.spec.d.ts +1 -0
- package/dist/app/viam-client.d.ts +13 -15
- package/dist/app/viam-transport.d.ts +4 -12
- package/dist/components/arm/arm.d.ts +10 -8
- package/dist/components/arm/client.d.ts +6 -6
- package/dist/components/arm.d.ts +1 -1
- package/dist/components/base/base.d.ts +11 -10
- package/dist/components/base/client.d.ts +4 -5
- package/dist/components/base.d.ts +1 -1
- package/dist/components/board/board.d.ts +17 -21
- package/dist/components/board/client.d.ts +7 -8
- package/dist/components/board/client.spec.d.ts +1 -0
- package/dist/components/board.d.ts +1 -1
- package/dist/components/camera/camera.d.ts +4 -2
- package/dist/components/camera/client.d.ts +4 -5
- package/dist/components/encoder/client.d.ts +6 -7
- package/dist/components/encoder/encoder.d.ts +9 -10
- package/dist/components/encoder.d.ts +1 -2
- package/dist/components/gantry/client.d.ts +3 -3
- package/dist/components/gantry/gantry.d.ts +7 -6
- package/dist/components/generic/client.d.ts +3 -3
- package/dist/components/gripper/client.d.ts +3 -3
- package/dist/components/gripper/gripper.d.ts +5 -4
- package/dist/components/input-controller/client.d.ts +5 -6
- package/dist/components/input-controller/input-controller.d.ts +7 -5
- package/dist/components/inputcontroller.d.ts +1 -1
- package/dist/components/motor/client.d.ts +3 -3
- package/dist/components/motor/motor.d.ts +11 -10
- package/dist/components/movement-sensor/client.d.ts +11 -12
- package/dist/components/movement-sensor/client.spec.d.ts +1 -0
- package/dist/components/movement-sensor/movement-sensor.d.ts +16 -14
- package/dist/components/movementsensor.d.ts +1 -1
- package/dist/components/power-sensor/client.d.ts +4 -4
- package/dist/components/power-sensor/client.spec.d.ts +1 -0
- package/dist/components/power-sensor/power-sensor.d.ts +5 -5
- package/dist/components/sensor/client.d.ts +4 -4
- package/dist/components/sensor/sensor.d.ts +3 -2
- package/dist/components/servo/client.d.ts +5 -5
- package/dist/components/servo/servo.d.ts +5 -4
- package/dist/extra/stream/client.d.ts +0 -1
- package/dist/extra/stream/client.spec.d.ts +1 -0
- package/dist/gen/app/agent/v1/agent_connect.d.ts +28 -0
- package/dist/gen/app/agent/v1/agent_pb.d.ts +244 -153
- package/dist/gen/app/build/v1/build_connect.d.ts +129 -0
- package/dist/gen/app/build/v1/build_pb.d.ts +654 -493
- package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +71 -0
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +548 -420
- package/dist/gen/app/data/v1/data_connect.d.ts +252 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +1672 -1331
- package/dist/gen/app/dataset/v1/dataset_connect.d.ts +74 -0
- package/dist/gen/app/dataset/v1/dataset_pb.d.ts +272 -213
- package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +52 -0
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +457 -376
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +94 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +566 -429
- package/dist/gen/app/packages/v1/packages_connect.d.ts +64 -0
- package/dist/gen/app/packages/v1/packages_pb.d.ts +396 -336
- package/dist/gen/app/v1/app_connect.d.ts +788 -0
- package/dist/gen/app/v1/app_pb.d.ts +5558 -4577
- package/dist/gen/app/v1/billing_connect.d.ts +72 -0
- package/dist/gen/app/v1/billing_pb.d.ts +479 -396
- package/dist/gen/app/v1/end_user_connect.d.ts +73 -0
- package/dist/gen/app/v1/end_user_pb.d.ts +292 -244
- package/dist/gen/app/v1/robot_connect.d.ts +63 -0
- package/dist/gen/app/v1/robot_pb.d.ts +1603 -1259
- package/dist/gen/common/v1/common_pb.d.ts +886 -662
- package/dist/gen/component/arm/v1/arm_connect.d.ts +121 -0
- package/dist/gen/component/arm/v1/arm_pb.d.ts +371 -294
- package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +78 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +246 -189
- package/dist/gen/component/base/v1/base_connect.d.ts +122 -0
- package/dist/gen/component/base/v1/base_pb.d.ts +393 -307
- package/dist/gen/component/board/v1/board_connect.d.ts +161 -0
- package/dist/gen/component/board/v1/board_pb.d.ts +684 -535
- package/dist/gen/component/camera/v1/camera_connect.d.ts +99 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +549 -393
- package/dist/gen/component/encoder/v1/encoder_connect.d.ts +71 -0
- package/dist/gen/component/encoder/v1/encoder_pb.d.ts +201 -144
- package/dist/gen/component/gantry/v1/gantry_connect.d.ts +108 -0
- package/dist/gen/component/gantry/v1/gantry_pb.d.ts +334 -279
- package/dist/gen/component/generic/v1/generic_connect.d.ts +41 -0
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +86 -0
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +188 -160
- package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +87 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +334 -264
- package/dist/gen/component/motor/v1/motor_connect.d.ts +162 -0
- package/dist/gen/component/motor/v1/motor_pb.d.ts +577 -432
- package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +121 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +476 -379
- package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +53 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +71 -53
- package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +75 -0
- package/dist/gen/component/powersensor/v1/powersensor_pb.d.ts +181 -136
- package/dist/gen/component/sensor/v1/sensor_connect.d.ts +52 -0
- package/dist/gen/component/servo/v1/servo_connect.d.ts +87 -0
- package/dist/gen/component/servo/v1/servo_pb.d.ts +228 -179
- package/dist/gen/component/testecho/v1/testecho_connect.d.ts +53 -0
- package/dist/gen/component/testecho/v1/testecho_pb.d.ts +186 -150
- package/dist/gen/google/api/annotations_pb.d.ts +26 -6
- package/dist/gen/google/api/client_pb.d.ts +895 -453
- package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +758 -438
- package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +236 -132
- package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +98 -54
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +943 -554
- package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +274 -197
- package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +200 -131
- package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +262 -151
- package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +614 -402
- package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +115 -56
- package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +275 -197
- package/dist/gen/google/api/field_behavior_pb.d.ts +139 -19
- package/dist/gen/google/api/field_info_pb.d.ts +169 -56
- package/dist/gen/google/api/http_pb.d.ts +480 -127
- package/dist/gen/google/api/httpbody_pb.d.ts +104 -35
- package/dist/gen/google/api/launch_stage_pb.d.ts +102 -16
- package/dist/gen/google/api/resource_pb.d.ts +334 -88
- package/dist/gen/google/api/visibility_pb.d.ts +157 -52
- package/dist/gen/google/bytestream/bytestream_connect.d.ts +124 -0
- package/dist/gen/google/bytestream/bytestream_pb.d.ts +241 -130
- package/dist/gen/google/geo/type/viewport_pb.d.ts +90 -31
- package/dist/gen/google/longrunning/operations_connect.d.ts +127 -0
- package/dist/gen/google/longrunning/operations_pb.d.ts +351 -202
- package/dist/gen/google/rpc/code_pb.d.ts +252 -25
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +664 -352
- package/dist/gen/google/rpc/error_details_pb.d.ts +604 -311
- package/dist/gen/google/rpc/status_pb.d.ts +72 -33
- package/dist/gen/google/type/calendar_period_pb.d.ts +86 -16
- package/dist/gen/google/type/color_pb.d.ts +201 -37
- package/dist/gen/google/type/date_pb.d.ts +72 -25
- package/dist/gen/google/type/datetime_pb.d.ts +176 -83
- package/dist/gen/google/type/dayofweek_pb.d.ts +80 -16
- package/dist/gen/google/type/decimal_pb.d.ts +112 -22
- package/dist/gen/google/type/expr_pb.d.ts +97 -28
- package/dist/gen/google/type/fraction_pb.d.ts +55 -26
- package/dist/gen/google/type/interval_pb.d.ts +65 -31
- package/dist/gen/google/type/latlng_pb.d.ts +58 -26
- package/dist/gen/google/type/localized_text_pb.d.ts +57 -26
- package/dist/gen/google/type/money_pb.d.ts +62 -25
- package/dist/gen/google/type/month_pb.d.ts +115 -21
- package/dist/gen/google/type/phone_number_pb.d.ts +169 -64
- package/dist/gen/google/type/postal_address_pb.d.ts +178 -53
- package/dist/gen/google/type/quaternion_pb.d.ts +117 -28
- package/dist/gen/google/type/timeofday_pb.d.ts +67 -28
- package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +44 -0
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +134 -108
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +44 -0
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +149 -119
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_connect.d.ts +26 -0
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +67 -60
- package/dist/gen/proto/rpc/v1/auth_connect.d.ts +69 -0
- package/dist/gen/proto/rpc/v1/auth_pb.d.ts +145 -101
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +349 -291
- package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +78 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +647 -529
- package/dist/gen/provisioning/v1/provisioning_connect.d.ts +63 -0
- package/dist/gen/provisioning/v1/provisioning_pb.d.ts +285 -231
- package/dist/gen/robot/v1/robot_connect.d.ts +239 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +1327 -1087
- package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +42 -0
- package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +52 -44
- package/dist/gen/service/generic/v1/generic_connect.d.ts +30 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +42 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +620 -510
- package/dist/gen/service/motion/v1/motion_connect.d.ts +118 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +1063 -795
- package/dist/gen/service/navigation/v1/navigation_connect.d.ts +115 -0
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +567 -435
- package/dist/gen/service/sensors/v1/sensors_connect.d.ts +58 -0
- package/dist/gen/service/sensors/v1/sensors_pb.d.ts +154 -120
- package/dist/gen/service/shell/v1/shell_connect.d.ts +78 -0
- package/dist/gen/service/shell/v1/shell_pb.d.ts +423 -309
- package/dist/gen/service/slam/v1/slam_connect.d.ts +81 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +305 -204
- package/dist/gen/service/vision/v1/vision_connect.d.ts +108 -0
- package/dist/gen/service/vision/v1/vision_pb.d.ts +615 -471
- package/dist/gen/stream/v1/stream_connect.d.ts +56 -0
- package/dist/gen/stream/v1/stream_pb.d.ts +131 -97
- package/dist/gen/tagger/v1/tagger_pb.d.ts +17 -6
- package/dist/main.d.ts +81 -92
- package/dist/main.es.js +20593 -79637
- package/dist/main.umd.js +6 -21
- package/dist/robot/client.d.ts +990 -59
- package/dist/robot/dial.d.ts +2 -4
- package/dist/robot/grpc-connection-manager.d.ts +5 -7
- package/dist/robot/grpc-connection-manager.spec.d.ts +1 -0
- package/dist/robot/robot.d.ts +9 -10
- package/dist/robot/session-manager.d.ts +6 -8
- package/dist/robot/session-manager.spec.d.ts +1 -0
- package/dist/robot/session-transport.d.ts +8 -11
- package/dist/robot.d.ts +2 -2
- package/dist/rpc/base-channel.d.ts +20 -0
- package/dist/rpc/base-stream.d.ts +11 -0
- package/dist/rpc/client-channel.d.ts +19 -0
- package/dist/rpc/client-stream.d.ts +35 -0
- package/dist/rpc/connection-closed-error.d.ts +5 -0
- package/dist/rpc/dial.d.ts +71 -0
- package/dist/rpc/index.d.ts +8 -0
- package/dist/rpc/peer.d.ts +10 -0
- package/dist/rpc/polyfills.d.ts +2 -0
- package/dist/rpc/signaling-exchange.d.ts +33 -0
- package/dist/rpc/stream-client-stream.d.ts +16 -0
- package/dist/rpc/unary-client-stream.d.ts +13 -0
- package/dist/services/data-manager/client.d.ts +3 -3
- package/dist/services/data-manager/data-manager.d.ts +3 -2
- package/dist/services/generic/client.d.ts +3 -3
- package/dist/services/motion/client.d.ts +7 -8
- package/dist/services/motion/client.spec.d.ts +1 -0
- package/dist/services/motion/motion.d.ts +10 -9
- package/dist/services/motion/types.d.ts +12 -16
- package/dist/services/motion.d.ts +2 -2
- package/dist/services/navigation/client.d.ts +11 -12
- package/dist/services/navigation/client.spec.d.ts +1 -0
- package/dist/services/navigation/navigation.d.ts +11 -10
- package/dist/services/navigation/types.d.ts +8 -6
- package/dist/services/navigation.d.ts +2 -2
- package/dist/services/slam/client.d.ts +5 -6
- package/dist/services/slam/client.spec.d.ts +1 -0
- package/dist/services/slam/types.d.ts +4 -3
- package/dist/services/slam.d.ts +2 -2
- package/dist/services/vision/client.d.ts +13 -19
- package/dist/services/vision/types.d.ts +10 -7
- package/dist/services/vision/vision.d.ts +10 -9
- package/dist/services/vision.d.ts +2 -2
- package/dist/types.d.ts +21 -18
- package/dist/utils.d.ts +7 -37
- package/package.json +6 -10
- package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -63
- package/dist/gen/app/build/v1/build_pb_service.d.ts +0 -226
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -158
- package/dist/gen/app/data/v1/data_pb_service.d.ts +0 -443
- package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +0 -139
- package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +0 -85
- package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +0 -177
- package/dist/gen/app/packages/v1/packages_pb_service.d.ts +0 -112
- package/dist/gen/app/v1/app_pb_service.d.ts +0 -1415
- package/dist/gen/app/v1/billing_pb_service.d.ts +0 -131
- package/dist/gen/app/v1/end_user_pb_service.d.ts +0 -139
- package/dist/gen/app/v1/robot_pb_service.d.ts +0 -120
- package/dist/gen/common/v1/common_pb_service.d.ts +0 -3
- package/dist/gen/component/arm/v1/arm_pb_service.d.ts +0 -216
- package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +0 -133
- package/dist/gen/component/base/v1/base_pb_service.d.ts +0 -216
- package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -284
- package/dist/gen/component/camera/v1/camera_pb_service.d.ts +0 -179
- package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +0 -140
- package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +0 -197
- package/dist/gen/component/generic/v1/generic_pb.d.ts +0 -7
- package/dist/gen/component/generic/v1/generic_pb_service.d.ts +0 -83
- package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +0 -159
- package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +0 -151
- package/dist/gen/component/motor/v1/motor_pb_service.d.ts +0 -273
- package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +0 -254
- package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +0 -102
- package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +0 -140
- package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -7
- package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +0 -102
- package/dist/gen/component/servo/v1/servo_pb_service.d.ts +0 -159
- package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +0 -104
- package/dist/gen/google/api/annotations_pb_service.d.ts +0 -3
- package/dist/gen/google/api/client_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +0 -3
- package/dist/gen/google/api/field_behavior_pb_service.d.ts +0 -3
- package/dist/gen/google/api/field_info_pb_service.d.ts +0 -3
- package/dist/gen/google/api/http_pb_service.d.ts +0 -3
- package/dist/gen/google/api/httpbody_pb_service.d.ts +0 -3
- package/dist/gen/google/api/launch_stage_pb_service.d.ts +0 -3
- package/dist/gen/google/api/resource_pb_service.d.ts +0 -3
- package/dist/gen/google/api/visibility_pb_service.d.ts +0 -3
- package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +0 -85
- package/dist/gen/google/geo/type/viewport_pb_service.d.ts +0 -3
- package/dist/gen/google/longrunning/operations_pb_service.d.ts +0 -140
- package/dist/gen/google/rpc/code_pb_service.d.ts +0 -3
- package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +0 -3
- package/dist/gen/google/rpc/error_details_pb_service.d.ts +0 -3
- package/dist/gen/google/rpc/status_pb_service.d.ts +0 -3
- package/dist/gen/google/type/calendar_period_pb_service.d.ts +0 -3
- package/dist/gen/google/type/color_pb_service.d.ts +0 -3
- package/dist/gen/google/type/date_pb_service.d.ts +0 -3
- package/dist/gen/google/type/datetime_pb_service.d.ts +0 -3
- package/dist/gen/google/type/dayofweek_pb_service.d.ts +0 -3
- package/dist/gen/google/type/decimal_pb_service.d.ts +0 -3
- package/dist/gen/google/type/expr_pb_service.d.ts +0 -3
- package/dist/gen/google/type/fraction_pb_service.d.ts +0 -3
- package/dist/gen/google/type/interval_pb_service.d.ts +0 -3
- package/dist/gen/google/type/latlng_pb_service.d.ts +0 -3
- package/dist/gen/google/type/localized_text_pb_service.d.ts +0 -3
- package/dist/gen/google/type/money_pb_service.d.ts +0 -3
- package/dist/gen/google/type/month_pb_service.d.ts +0 -3
- package/dist/gen/google/type/phone_number_pb_service.d.ts +0 -3
- package/dist/gen/google/type/postal_address_pb_service.d.ts +0 -3
- package/dist/gen/google/type/quaternion_pb_service.d.ts +0 -3
- package/dist/gen/google/type/timeofday_pb_service.d.ts +0 -3
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +0 -85
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +0 -85
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +0 -55
- package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +0 -92
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +0 -3
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +0 -104
- package/dist/gen/provisioning/v1/provisioning_pb_service.d.ts +0 -120
- package/dist/gen/robot/v1/robot_pb_service.d.ts +0 -435
- package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +0 -83
- package/dist/gen/service/generic/v1/generic_pb.d.ts +0 -7
- package/dist/gen/service/generic/v1/generic_pb_service.d.ts +0 -64
- package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +0 -82
- package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -197
- package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +0 -235
- package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +0 -102
- package/dist/gen/service/shell/v1/shell_pb_service.d.ts +0 -97
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -124
- package/dist/gen/service/vision/v1/vision_pb_service.d.ts +0 -197
- package/dist/gen/stream/v1/stream_pb_service.d.ts +0 -101
- package/dist/gen/tagger/v1/tagger_pb_service.d.ts +0 -3
- package/dist/responses.d.ts +0 -8
|
@@ -1,578 +1,967 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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/syntax.proto (package google.api.expr.v1alpha1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, NullValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* An expression together with source information as returned by the parser.
|
|
25
|
+
*
|
|
26
|
+
* @generated from message google.api.expr.v1alpha1.ParsedExpr
|
|
27
|
+
*/
|
|
28
|
+
export declare class ParsedExpr extends Message<ParsedExpr> {
|
|
29
|
+
/**
|
|
30
|
+
* The parsed expression.
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: google.api.expr.v1alpha1.Expr expr = 2;
|
|
33
|
+
*/
|
|
34
|
+
expr?: Expr;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The source info derived from input that generated the parsed `expr`.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: google.api.expr.v1alpha1.SourceInfo source_info = 3;
|
|
40
|
+
*/
|
|
41
|
+
sourceInfo?: SourceInfo;
|
|
42
|
+
|
|
43
|
+
constructor(data?: PartialMessage<ParsedExpr>);
|
|
44
|
+
|
|
45
|
+
static readonly runtime: typeof proto3;
|
|
46
|
+
static readonly typeName = "google.api.expr.v1alpha1.ParsedExpr";
|
|
47
|
+
static readonly fields: FieldList;
|
|
48
|
+
|
|
49
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParsedExpr;
|
|
50
|
+
|
|
51
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParsedExpr;
|
|
52
|
+
|
|
53
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParsedExpr;
|
|
54
|
+
|
|
55
|
+
static equals(a: ParsedExpr | PlainMessage<ParsedExpr> | undefined, b: ParsedExpr | PlainMessage<ParsedExpr> | undefined): boolean;
|
|
28
56
|
}
|
|
29
57
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
58
|
+
/**
|
|
59
|
+
* An abstract representation of a common expression.
|
|
60
|
+
*
|
|
61
|
+
* Expressions are abstractly represented as a collection of identifiers,
|
|
62
|
+
* select statements, function calls, literals, and comprehensions. All
|
|
63
|
+
* operators with the exception of the '.' operator are modelled as function
|
|
64
|
+
* calls. This makes it easy to represent new operators into the existing AST.
|
|
65
|
+
*
|
|
66
|
+
* All references within expressions must resolve to a
|
|
67
|
+
* [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an
|
|
68
|
+
* expression to be valid. A reference may either be a bare identifier `name` or
|
|
69
|
+
* a qualified identifier `google.api.name`. References may either refer to a
|
|
70
|
+
* value or a function declaration.
|
|
71
|
+
*
|
|
72
|
+
* For example, the expression `google.api.name.startsWith('expr')` references
|
|
73
|
+
* the declaration `google.api.name` within a
|
|
74
|
+
* [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the
|
|
75
|
+
* function declaration `startsWith`.
|
|
76
|
+
*
|
|
77
|
+
* @generated from message google.api.expr.v1alpha1.Expr
|
|
78
|
+
*/
|
|
79
|
+
export declare class Expr extends Message<Expr> {
|
|
80
|
+
/**
|
|
81
|
+
* Required. An id assigned to this node by the parser which is unique in a
|
|
82
|
+
* given expression tree. This is used to associate type information and other
|
|
83
|
+
* attributes to a node in the parse tree.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: int64 id = 2;
|
|
86
|
+
*/
|
|
87
|
+
id: bigint;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Required. Variants of expressions.
|
|
91
|
+
*
|
|
92
|
+
* @generated from oneof google.api.expr.v1alpha1.Expr.expr_kind
|
|
93
|
+
*/
|
|
94
|
+
exprKind: {
|
|
95
|
+
/**
|
|
96
|
+
* A literal expression.
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: google.api.expr.v1alpha1.Constant const_expr = 3;
|
|
99
|
+
*/
|
|
100
|
+
value: Constant;
|
|
101
|
+
case: "constExpr";
|
|
102
|
+
} | {
|
|
103
|
+
/**
|
|
104
|
+
* An identifier expression.
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Ident ident_expr = 4;
|
|
107
|
+
*/
|
|
108
|
+
value: Expr_Ident;
|
|
109
|
+
case: "identExpr";
|
|
110
|
+
} | {
|
|
111
|
+
/**
|
|
112
|
+
* A field selection expression, e.g. `request.auth`.
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Select select_expr = 5;
|
|
115
|
+
*/
|
|
116
|
+
value: Expr_Select;
|
|
117
|
+
case: "selectExpr";
|
|
118
|
+
} | {
|
|
119
|
+
/**
|
|
120
|
+
* A call expression, including calls to predefined functions and operators.
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Call call_expr = 6;
|
|
123
|
+
*/
|
|
124
|
+
value: Expr_Call;
|
|
125
|
+
case: "callExpr";
|
|
126
|
+
} | {
|
|
127
|
+
/**
|
|
128
|
+
* A list creation expression.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.CreateList list_expr = 7;
|
|
131
|
+
*/
|
|
132
|
+
value: Expr_CreateList;
|
|
133
|
+
case: "listExpr";
|
|
134
|
+
} | {
|
|
135
|
+
/**
|
|
136
|
+
* A map or message creation expression.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.CreateStruct struct_expr = 8;
|
|
139
|
+
*/
|
|
140
|
+
value: Expr_CreateStruct;
|
|
141
|
+
case: "structExpr";
|
|
142
|
+
} | {
|
|
143
|
+
/**
|
|
144
|
+
* A comprehension expression.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Comprehension comprehension_expr = 9;
|
|
147
|
+
*/
|
|
148
|
+
value: Expr_Comprehension;
|
|
149
|
+
case: "comprehensionExpr";
|
|
150
|
+
} | { case: undefined; value?: undefined };
|
|
151
|
+
|
|
152
|
+
constructor(data?: PartialMessage<Expr>);
|
|
153
|
+
|
|
154
|
+
static readonly runtime: typeof proto3;
|
|
155
|
+
static readonly typeName = "google.api.expr.v1alpha1.Expr";
|
|
156
|
+
static readonly fields: FieldList;
|
|
157
|
+
|
|
158
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Expr;
|
|
159
|
+
|
|
160
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Expr;
|
|
161
|
+
|
|
162
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Expr;
|
|
163
|
+
|
|
164
|
+
static equals(a: Expr | PlainMessage<Expr> | undefined, b: Expr | PlainMessage<Expr> | undefined): boolean;
|
|
35
165
|
}
|
|
36
166
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
clearStructExpr(): void;
|
|
68
|
-
getStructExpr(): Expr.CreateStruct | undefined;
|
|
69
|
-
setStructExpr(value?: Expr.CreateStruct): void;
|
|
70
|
-
|
|
71
|
-
hasComprehensionExpr(): boolean;
|
|
72
|
-
clearComprehensionExpr(): void;
|
|
73
|
-
getComprehensionExpr(): Expr.Comprehension | undefined;
|
|
74
|
-
setComprehensionExpr(value?: Expr.Comprehension): void;
|
|
75
|
-
|
|
76
|
-
getExprKindCase(): Expr.ExprKindCase;
|
|
77
|
-
serializeBinary(): Uint8Array;
|
|
78
|
-
toObject(includeInstance?: boolean): Expr.AsObject;
|
|
79
|
-
static toObject(includeInstance: boolean, msg: Expr): Expr.AsObject;
|
|
80
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
81
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
82
|
-
static serializeBinaryToWriter(message: Expr, writer: jspb.BinaryWriter): void;
|
|
83
|
-
static deserializeBinary(bytes: Uint8Array): Expr;
|
|
84
|
-
static deserializeBinaryFromReader(message: Expr, reader: jspb.BinaryReader): Expr;
|
|
167
|
+
/**
|
|
168
|
+
* An identifier expression. e.g. `request`.
|
|
169
|
+
*
|
|
170
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Ident
|
|
171
|
+
*/
|
|
172
|
+
export declare class Expr_Ident extends Message<Expr_Ident> {
|
|
173
|
+
/**
|
|
174
|
+
* Required. Holds a single, unqualified identifier, possibly preceded by a
|
|
175
|
+
* '.'.
|
|
176
|
+
*
|
|
177
|
+
* Qualified names are represented by the
|
|
178
|
+
* [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: string name = 1;
|
|
181
|
+
*/
|
|
182
|
+
name: string;
|
|
183
|
+
|
|
184
|
+
constructor(data?: PartialMessage<Expr_Ident>);
|
|
185
|
+
|
|
186
|
+
static readonly runtime: typeof proto3;
|
|
187
|
+
static readonly typeName = "google.api.expr.v1alpha1.Expr.Ident";
|
|
188
|
+
static readonly fields: FieldList;
|
|
189
|
+
|
|
190
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Expr_Ident;
|
|
191
|
+
|
|
192
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Expr_Ident;
|
|
193
|
+
|
|
194
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Expr_Ident;
|
|
195
|
+
|
|
196
|
+
static equals(a: Expr_Ident | PlainMessage<Expr_Ident> | undefined, b: Expr_Ident | PlainMessage<Expr_Ident> | undefined): boolean;
|
|
85
197
|
}
|
|
86
198
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
136
|
-
static serializeBinaryToWriter(message: Select, writer: jspb.BinaryWriter): void;
|
|
137
|
-
static deserializeBinary(bytes: Uint8Array): Select;
|
|
138
|
-
static deserializeBinaryFromReader(message: Select, reader: jspb.BinaryReader): Select;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export namespace Select {
|
|
142
|
-
export type AsObject = {
|
|
143
|
-
operand?: Expr.AsObject,
|
|
144
|
-
field: string,
|
|
145
|
-
testOnly: boolean,
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export class Call extends jspb.Message {
|
|
150
|
-
hasTarget(): boolean;
|
|
151
|
-
clearTarget(): void;
|
|
152
|
-
getTarget(): Expr | undefined;
|
|
153
|
-
setTarget(value?: Expr): void;
|
|
154
|
-
|
|
155
|
-
getFunction(): string;
|
|
156
|
-
setFunction(value: string): void;
|
|
157
|
-
|
|
158
|
-
clearArgsList(): void;
|
|
159
|
-
getArgsList(): Array<Expr>;
|
|
160
|
-
setArgsList(value: Array<Expr>): void;
|
|
161
|
-
addArgs(value?: Expr, index?: number): Expr;
|
|
162
|
-
|
|
163
|
-
serializeBinary(): Uint8Array;
|
|
164
|
-
toObject(includeInstance?: boolean): Call.AsObject;
|
|
165
|
-
static toObject(includeInstance: boolean, msg: Call): Call.AsObject;
|
|
166
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
167
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
168
|
-
static serializeBinaryToWriter(message: Call, writer: jspb.BinaryWriter): void;
|
|
169
|
-
static deserializeBinary(bytes: Uint8Array): Call;
|
|
170
|
-
static deserializeBinaryFromReader(message: Call, reader: jspb.BinaryReader): Call;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
export namespace Call {
|
|
174
|
-
export type AsObject = {
|
|
175
|
-
target?: Expr.AsObject,
|
|
176
|
-
pb_function: string,
|
|
177
|
-
argsList: Array<Expr.AsObject>,
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export class CreateList extends jspb.Message {
|
|
182
|
-
clearElementsList(): void;
|
|
183
|
-
getElementsList(): Array<Expr>;
|
|
184
|
-
setElementsList(value: Array<Expr>): void;
|
|
185
|
-
addElements(value?: Expr, index?: number): Expr;
|
|
186
|
-
|
|
187
|
-
clearOptionalIndicesList(): void;
|
|
188
|
-
getOptionalIndicesList(): Array<number>;
|
|
189
|
-
setOptionalIndicesList(value: Array<number>): void;
|
|
190
|
-
addOptionalIndices(value: number, index?: number): number;
|
|
191
|
-
|
|
192
|
-
serializeBinary(): Uint8Array;
|
|
193
|
-
toObject(includeInstance?: boolean): CreateList.AsObject;
|
|
194
|
-
static toObject(includeInstance: boolean, msg: CreateList): CreateList.AsObject;
|
|
195
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
196
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
197
|
-
static serializeBinaryToWriter(message: CreateList, writer: jspb.BinaryWriter): void;
|
|
198
|
-
static deserializeBinary(bytes: Uint8Array): CreateList;
|
|
199
|
-
static deserializeBinaryFromReader(message: CreateList, reader: jspb.BinaryReader): CreateList;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
export namespace CreateList {
|
|
203
|
-
export type AsObject = {
|
|
204
|
-
elementsList: Array<Expr.AsObject>,
|
|
205
|
-
optionalIndicesList: Array<number>,
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export class CreateStruct extends jspb.Message {
|
|
210
|
-
getMessageName(): string;
|
|
211
|
-
setMessageName(value: string): void;
|
|
212
|
-
|
|
213
|
-
clearEntriesList(): void;
|
|
214
|
-
getEntriesList(): Array<Expr.CreateStruct.Entry>;
|
|
215
|
-
setEntriesList(value: Array<Expr.CreateStruct.Entry>): void;
|
|
216
|
-
addEntries(value?: Expr.CreateStruct.Entry, index?: number): Expr.CreateStruct.Entry;
|
|
217
|
-
|
|
218
|
-
serializeBinary(): Uint8Array;
|
|
219
|
-
toObject(includeInstance?: boolean): CreateStruct.AsObject;
|
|
220
|
-
static toObject(includeInstance: boolean, msg: CreateStruct): CreateStruct.AsObject;
|
|
221
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
222
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
223
|
-
static serializeBinaryToWriter(message: CreateStruct, writer: jspb.BinaryWriter): void;
|
|
224
|
-
static deserializeBinary(bytes: Uint8Array): CreateStruct;
|
|
225
|
-
static deserializeBinaryFromReader(message: CreateStruct, reader: jspb.BinaryReader): CreateStruct;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
export namespace CreateStruct {
|
|
229
|
-
export type AsObject = {
|
|
230
|
-
messageName: string,
|
|
231
|
-
entriesList: Array<Expr.CreateStruct.Entry.AsObject>,
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
export class Entry extends jspb.Message {
|
|
235
|
-
getId(): number;
|
|
236
|
-
setId(value: number): void;
|
|
237
|
-
|
|
238
|
-
hasFieldKey(): boolean;
|
|
239
|
-
clearFieldKey(): void;
|
|
240
|
-
getFieldKey(): string;
|
|
241
|
-
setFieldKey(value: string): void;
|
|
242
|
-
|
|
243
|
-
hasMapKey(): boolean;
|
|
244
|
-
clearMapKey(): void;
|
|
245
|
-
getMapKey(): Expr | undefined;
|
|
246
|
-
setMapKey(value?: Expr): void;
|
|
247
|
-
|
|
248
|
-
hasValue(): boolean;
|
|
249
|
-
clearValue(): void;
|
|
250
|
-
getValue(): Expr | undefined;
|
|
251
|
-
setValue(value?: Expr): void;
|
|
252
|
-
|
|
253
|
-
getOptionalEntry(): boolean;
|
|
254
|
-
setOptionalEntry(value: boolean): void;
|
|
255
|
-
|
|
256
|
-
getKeyKindCase(): Entry.KeyKindCase;
|
|
257
|
-
serializeBinary(): Uint8Array;
|
|
258
|
-
toObject(includeInstance?: boolean): Entry.AsObject;
|
|
259
|
-
static toObject(includeInstance: boolean, msg: Entry): Entry.AsObject;
|
|
260
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
261
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
262
|
-
static serializeBinaryToWriter(message: Entry, writer: jspb.BinaryWriter): void;
|
|
263
|
-
static deserializeBinary(bytes: Uint8Array): Entry;
|
|
264
|
-
static deserializeBinaryFromReader(message: Entry, reader: jspb.BinaryReader): Entry;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
export namespace Entry {
|
|
268
|
-
export type AsObject = {
|
|
269
|
-
id: number,
|
|
270
|
-
fieldKey: string,
|
|
271
|
-
mapKey?: Expr.AsObject,
|
|
272
|
-
value?: Expr.AsObject,
|
|
273
|
-
optionalEntry: boolean,
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
export enum KeyKindCase {
|
|
277
|
-
KEY_KIND_NOT_SET = 0,
|
|
278
|
-
FIELD_KEY = 2,
|
|
279
|
-
MAP_KEY = 3,
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export class Comprehension extends jspb.Message {
|
|
285
|
-
getIterVar(): string;
|
|
286
|
-
setIterVar(value: string): void;
|
|
287
|
-
|
|
288
|
-
getIterVar2(): string;
|
|
289
|
-
setIterVar2(value: string): void;
|
|
290
|
-
|
|
291
|
-
hasIterRange(): boolean;
|
|
292
|
-
clearIterRange(): void;
|
|
293
|
-
getIterRange(): Expr | undefined;
|
|
294
|
-
setIterRange(value?: Expr): void;
|
|
295
|
-
|
|
296
|
-
getAccuVar(): string;
|
|
297
|
-
setAccuVar(value: string): void;
|
|
298
|
-
|
|
299
|
-
hasAccuInit(): boolean;
|
|
300
|
-
clearAccuInit(): void;
|
|
301
|
-
getAccuInit(): Expr | undefined;
|
|
302
|
-
setAccuInit(value?: Expr): void;
|
|
303
|
-
|
|
304
|
-
hasLoopCondition(): boolean;
|
|
305
|
-
clearLoopCondition(): void;
|
|
306
|
-
getLoopCondition(): Expr | undefined;
|
|
307
|
-
setLoopCondition(value?: Expr): void;
|
|
308
|
-
|
|
309
|
-
hasLoopStep(): boolean;
|
|
310
|
-
clearLoopStep(): void;
|
|
311
|
-
getLoopStep(): Expr | undefined;
|
|
312
|
-
setLoopStep(value?: Expr): void;
|
|
313
|
-
|
|
314
|
-
hasResult(): boolean;
|
|
315
|
-
clearResult(): void;
|
|
316
|
-
getResult(): Expr | undefined;
|
|
317
|
-
setResult(value?: Expr): void;
|
|
318
|
-
|
|
319
|
-
serializeBinary(): Uint8Array;
|
|
320
|
-
toObject(includeInstance?: boolean): Comprehension.AsObject;
|
|
321
|
-
static toObject(includeInstance: boolean, msg: Comprehension): Comprehension.AsObject;
|
|
322
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
323
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
324
|
-
static serializeBinaryToWriter(message: Comprehension, writer: jspb.BinaryWriter): void;
|
|
325
|
-
static deserializeBinary(bytes: Uint8Array): Comprehension;
|
|
326
|
-
static deserializeBinaryFromReader(message: Comprehension, reader: jspb.BinaryReader): Comprehension;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
export namespace Comprehension {
|
|
330
|
-
export type AsObject = {
|
|
331
|
-
iterVar: string,
|
|
332
|
-
iterVar2: string,
|
|
333
|
-
iterRange?: Expr.AsObject,
|
|
334
|
-
accuVar: string,
|
|
335
|
-
accuInit?: Expr.AsObject,
|
|
336
|
-
loopCondition?: Expr.AsObject,
|
|
337
|
-
loopStep?: Expr.AsObject,
|
|
338
|
-
result?: Expr.AsObject,
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
export enum ExprKindCase {
|
|
343
|
-
EXPR_KIND_NOT_SET = 0,
|
|
344
|
-
CONST_EXPR = 3,
|
|
345
|
-
IDENT_EXPR = 4,
|
|
346
|
-
SELECT_EXPR = 5,
|
|
347
|
-
CALL_EXPR = 6,
|
|
348
|
-
LIST_EXPR = 7,
|
|
349
|
-
STRUCT_EXPR = 8,
|
|
350
|
-
COMPREHENSION_EXPR = 9,
|
|
351
|
-
}
|
|
199
|
+
/**
|
|
200
|
+
* A field selection expression. e.g. `request.auth`.
|
|
201
|
+
*
|
|
202
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Select
|
|
203
|
+
*/
|
|
204
|
+
export declare class Expr_Select extends Message<Expr_Select> {
|
|
205
|
+
/**
|
|
206
|
+
* Required. The target of the selection expression.
|
|
207
|
+
*
|
|
208
|
+
* For example, in the select expression `request.auth`, the `request`
|
|
209
|
+
* portion of the expression is the `operand`.
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: google.api.expr.v1alpha1.Expr operand = 1;
|
|
212
|
+
*/
|
|
213
|
+
operand?: Expr;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Required. The name of the field to select.
|
|
217
|
+
*
|
|
218
|
+
* For example, in the select expression `request.auth`, the `auth` portion
|
|
219
|
+
* of the expression would be the `field`.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: string field = 2;
|
|
222
|
+
*/
|
|
223
|
+
field: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Whether the select is to be interpreted as a field presence test.
|
|
227
|
+
*
|
|
228
|
+
* This results from the macro `has(request.auth)`.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: bool test_only = 3;
|
|
231
|
+
*/
|
|
232
|
+
testOnly: boolean;
|
|
233
|
+
|
|
234
|
+
constructor(data?: PartialMessage<Expr_Select>);
|
|
235
|
+
|
|
236
|
+
static readonly runtime: typeof proto3;
|
|
237
|
+
static readonly typeName = "google.api.expr.v1alpha1.Expr.Select";
|
|
238
|
+
static readonly fields: FieldList;
|
|
239
|
+
|
|
240
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Expr_Select;
|
|
241
|
+
|
|
242
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Expr_Select;
|
|
243
|
+
|
|
244
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Expr_Select;
|
|
245
|
+
|
|
246
|
+
static equals(a: Expr_Select | PlainMessage<Expr_Select> | undefined, b: Expr_Select | PlainMessage<Expr_Select> | undefined): boolean;
|
|
352
247
|
}
|
|
353
248
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
hasTimestampValue(): boolean;
|
|
398
|
-
clearTimestampValue(): void;
|
|
399
|
-
getTimestampValue(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
400
|
-
setTimestampValue(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
401
|
-
|
|
402
|
-
getConstantKindCase(): Constant.ConstantKindCase;
|
|
403
|
-
serializeBinary(): Uint8Array;
|
|
404
|
-
toObject(includeInstance?: boolean): Constant.AsObject;
|
|
405
|
-
static toObject(includeInstance: boolean, msg: Constant): Constant.AsObject;
|
|
406
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
407
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
408
|
-
static serializeBinaryToWriter(message: Constant, writer: jspb.BinaryWriter): void;
|
|
409
|
-
static deserializeBinary(bytes: Uint8Array): Constant;
|
|
410
|
-
static deserializeBinaryFromReader(message: Constant, reader: jspb.BinaryReader): Constant;
|
|
249
|
+
/**
|
|
250
|
+
* A call expression, including calls to predefined functions and operators.
|
|
251
|
+
*
|
|
252
|
+
* For example, `value == 10`, `size(map_value)`.
|
|
253
|
+
*
|
|
254
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Call
|
|
255
|
+
*/
|
|
256
|
+
export declare class Expr_Call extends Message<Expr_Call> {
|
|
257
|
+
/**
|
|
258
|
+
* The target of an method call-style expression. For example, `x` in
|
|
259
|
+
* `x.f()`.
|
|
260
|
+
*
|
|
261
|
+
* @generated from field: google.api.expr.v1alpha1.Expr target = 1;
|
|
262
|
+
*/
|
|
263
|
+
target?: Expr;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Required. The name of the function or method being called.
|
|
267
|
+
*
|
|
268
|
+
* @generated from field: string function = 2;
|
|
269
|
+
*/
|
|
270
|
+
function: string;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* The arguments.
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Expr args = 3;
|
|
276
|
+
*/
|
|
277
|
+
args: Expr[];
|
|
278
|
+
|
|
279
|
+
constructor(data?: PartialMessage<Expr_Call>);
|
|
280
|
+
|
|
281
|
+
static readonly runtime: typeof proto3;
|
|
282
|
+
static readonly typeName = "google.api.expr.v1alpha1.Expr.Call";
|
|
283
|
+
static readonly fields: FieldList;
|
|
284
|
+
|
|
285
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Expr_Call;
|
|
286
|
+
|
|
287
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Expr_Call;
|
|
288
|
+
|
|
289
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Expr_Call;
|
|
290
|
+
|
|
291
|
+
static equals(a: Expr_Call | PlainMessage<Expr_Call> | undefined, b: Expr_Call | PlainMessage<Expr_Call> | undefined): boolean;
|
|
411
292
|
}
|
|
412
293
|
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
294
|
+
/**
|
|
295
|
+
* A list creation expression.
|
|
296
|
+
*
|
|
297
|
+
* Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g.
|
|
298
|
+
* `dyn([1, 'hello', 2.0])`
|
|
299
|
+
*
|
|
300
|
+
* @generated from message google.api.expr.v1alpha1.Expr.CreateList
|
|
301
|
+
*/
|
|
302
|
+
export declare class Expr_CreateList extends Message<Expr_CreateList> {
|
|
303
|
+
/**
|
|
304
|
+
* The elements part of the list.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Expr elements = 1;
|
|
307
|
+
*/
|
|
308
|
+
elements: Expr[];
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* The indices within the elements list which are marked as optional
|
|
312
|
+
* elements.
|
|
313
|
+
*
|
|
314
|
+
* When an optional-typed value is present, the value it contains
|
|
315
|
+
* is included in the list. If the optional-typed value is absent, the list
|
|
316
|
+
* element is omitted from the CreateList result.
|
|
317
|
+
*
|
|
318
|
+
* @generated from field: repeated int32 optional_indices = 2;
|
|
319
|
+
*/
|
|
320
|
+
optionalIndices: number[];
|
|
321
|
+
|
|
322
|
+
constructor(data?: PartialMessage<Expr_CreateList>);
|
|
323
|
+
|
|
324
|
+
static readonly runtime: typeof proto3;
|
|
325
|
+
static readonly typeName = "google.api.expr.v1alpha1.Expr.CreateList";
|
|
326
|
+
static readonly fields: FieldList;
|
|
327
|
+
|
|
328
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Expr_CreateList;
|
|
329
|
+
|
|
330
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Expr_CreateList;
|
|
331
|
+
|
|
332
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Expr_CreateList;
|
|
333
|
+
|
|
334
|
+
static equals(a: Expr_CreateList | PlainMessage<Expr_CreateList> | undefined, b: Expr_CreateList | PlainMessage<Expr_CreateList> | undefined): boolean;
|
|
438
335
|
}
|
|
439
336
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
static
|
|
468
|
-
static
|
|
337
|
+
/**
|
|
338
|
+
* A map or message creation expression.
|
|
339
|
+
*
|
|
340
|
+
* Maps are constructed as `{'key_name': 'value'}`. Message construction is
|
|
341
|
+
* similar, but prefixed with a type name and composed of field ids:
|
|
342
|
+
* `types.MyType{field_id: 'value'}`.
|
|
343
|
+
*
|
|
344
|
+
* @generated from message google.api.expr.v1alpha1.Expr.CreateStruct
|
|
345
|
+
*/
|
|
346
|
+
export declare class Expr_CreateStruct extends Message<Expr_CreateStruct> {
|
|
347
|
+
/**
|
|
348
|
+
* The type name of the message to be created, empty when creating map
|
|
349
|
+
* literals.
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: string message_name = 1;
|
|
352
|
+
*/
|
|
353
|
+
messageName: string;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* The entries in the creation expression.
|
|
357
|
+
*
|
|
358
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;
|
|
359
|
+
*/
|
|
360
|
+
entries: Expr_CreateStruct_Entry[];
|
|
361
|
+
|
|
362
|
+
constructor(data?: PartialMessage<Expr_CreateStruct>);
|
|
363
|
+
|
|
364
|
+
static readonly runtime: typeof proto3;
|
|
365
|
+
static readonly typeName = "google.api.expr.v1alpha1.Expr.CreateStruct";
|
|
366
|
+
static readonly fields: FieldList;
|
|
367
|
+
|
|
368
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Expr_CreateStruct;
|
|
369
|
+
|
|
370
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Expr_CreateStruct;
|
|
371
|
+
|
|
372
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Expr_CreateStruct;
|
|
373
|
+
|
|
374
|
+
static equals(a: Expr_CreateStruct | PlainMessage<Expr_CreateStruct> | undefined, b: Expr_CreateStruct | PlainMessage<Expr_CreateStruct> | undefined): boolean;
|
|
469
375
|
}
|
|
470
376
|
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
COMPONENT_RUNTIME: 3;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
export const Component: ComponentMap;
|
|
544
|
-
}
|
|
377
|
+
/**
|
|
378
|
+
* Represents an entry.
|
|
379
|
+
*
|
|
380
|
+
* @generated from message google.api.expr.v1alpha1.Expr.CreateStruct.Entry
|
|
381
|
+
*/
|
|
382
|
+
export declare class Expr_CreateStruct_Entry extends Message<Expr_CreateStruct_Entry> {
|
|
383
|
+
/**
|
|
384
|
+
* Required. An id assigned to this node by the parser which is unique
|
|
385
|
+
* in a given expression tree. This is used to associate type
|
|
386
|
+
* information and other attributes to the node.
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: int64 id = 1;
|
|
389
|
+
*/
|
|
390
|
+
id: bigint;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* The `Entry` key kinds.
|
|
394
|
+
*
|
|
395
|
+
* @generated from oneof google.api.expr.v1alpha1.Expr.CreateStruct.Entry.key_kind
|
|
396
|
+
*/
|
|
397
|
+
keyKind: {
|
|
398
|
+
/**
|
|
399
|
+
* The field key for a message creator statement.
|
|
400
|
+
*
|
|
401
|
+
* @generated from field: string field_key = 2;
|
|
402
|
+
*/
|
|
403
|
+
value: string;
|
|
404
|
+
case: "fieldKey";
|
|
405
|
+
} | {
|
|
406
|
+
/**
|
|
407
|
+
* The key expression for a map creation statement.
|
|
408
|
+
*
|
|
409
|
+
* @generated from field: google.api.expr.v1alpha1.Expr map_key = 3;
|
|
410
|
+
*/
|
|
411
|
+
value: Expr;
|
|
412
|
+
case: "mapKey";
|
|
413
|
+
} | { case: undefined; value?: undefined };
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Required. The value assigned to the key.
|
|
417
|
+
*
|
|
418
|
+
* If the optional_entry field is true, the expression must resolve to an
|
|
419
|
+
* optional-typed value. If the optional value is present, the key will be
|
|
420
|
+
* set; however, if the optional value is absent, the key will be unset.
|
|
421
|
+
*
|
|
422
|
+
* @generated from field: google.api.expr.v1alpha1.Expr value = 4;
|
|
423
|
+
*/
|
|
424
|
+
value?: Expr;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Whether the key-value pair is optional.
|
|
428
|
+
*
|
|
429
|
+
* @generated from field: bool optional_entry = 5;
|
|
430
|
+
*/
|
|
431
|
+
optionalEntry: boolean;
|
|
432
|
+
|
|
433
|
+
constructor(data?: PartialMessage<Expr_CreateStruct_Entry>);
|
|
434
|
+
|
|
435
|
+
static readonly runtime: typeof proto3;
|
|
436
|
+
static readonly typeName = "google.api.expr.v1alpha1.Expr.CreateStruct.Entry";
|
|
437
|
+
static readonly fields: FieldList;
|
|
438
|
+
|
|
439
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Expr_CreateStruct_Entry;
|
|
440
|
+
|
|
441
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Expr_CreateStruct_Entry;
|
|
442
|
+
|
|
443
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Expr_CreateStruct_Entry;
|
|
444
|
+
|
|
445
|
+
static equals(a: Expr_CreateStruct_Entry | PlainMessage<Expr_CreateStruct_Entry> | undefined, b: Expr_CreateStruct_Entry | PlainMessage<Expr_CreateStruct_Entry> | undefined): boolean;
|
|
545
446
|
}
|
|
546
447
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
448
|
+
/**
|
|
449
|
+
* A comprehension expression applied to a list or map.
|
|
450
|
+
*
|
|
451
|
+
* Comprehensions are not part of the core syntax, but enabled with macros.
|
|
452
|
+
* A macro matches a specific call signature within a parsed AST and replaces
|
|
453
|
+
* the call with an alternate AST block. Macro expansion happens at parse
|
|
454
|
+
* time.
|
|
455
|
+
*
|
|
456
|
+
* The following macros are supported within CEL:
|
|
457
|
+
*
|
|
458
|
+
* Aggregate type macros may be applied to all elements in a list or all keys
|
|
459
|
+
* in a map:
|
|
460
|
+
*
|
|
461
|
+
* * `all`, `exists`, `exists_one` - test a predicate expression against
|
|
462
|
+
* the inputs and return `true` if the predicate is satisfied for all,
|
|
463
|
+
* any, or only one value `list.all(x, x < 10)`.
|
|
464
|
+
* * `filter` - test a predicate expression against the inputs and return
|
|
465
|
+
* the subset of elements which satisfy the predicate:
|
|
466
|
+
* `payments.filter(p, p > 1000)`.
|
|
467
|
+
* * `map` - apply an expression to all elements in the input and return the
|
|
468
|
+
* output aggregate type: `[1, 2, 3].map(i, i * i)`.
|
|
469
|
+
*
|
|
470
|
+
* The `has(m.x)` macro tests whether the property `x` is present in struct
|
|
471
|
+
* `m`. The semantics of this macro depend on the type of `m`. For proto2
|
|
472
|
+
* messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the
|
|
473
|
+
* macro tests whether the property is set to its default. For map and struct
|
|
474
|
+
* types, the macro tests whether the property `x` is defined on `m`.
|
|
475
|
+
*
|
|
476
|
+
* Comprehensions for the standard environment macros evaluation can be best
|
|
477
|
+
* visualized as the following pseudocode:
|
|
478
|
+
*
|
|
479
|
+
* ```
|
|
480
|
+
* let `accu_var` = `accu_init`
|
|
481
|
+
* for (let `iter_var` in `iter_range`) {
|
|
482
|
+
* if (!`loop_condition`) {
|
|
483
|
+
* break
|
|
484
|
+
* }
|
|
485
|
+
* `accu_var` = `loop_step`
|
|
486
|
+
* }
|
|
487
|
+
* return `result`
|
|
488
|
+
* ```
|
|
489
|
+
*
|
|
490
|
+
* Comprehensions for the optional V2 macros which support map-to-map
|
|
491
|
+
* translation differ slightly from the standard environment macros in that
|
|
492
|
+
* they expose both the key or index in addition to the value for each list
|
|
493
|
+
* or map entry:
|
|
494
|
+
*
|
|
495
|
+
* ```
|
|
496
|
+
* let `accu_var` = `accu_init`
|
|
497
|
+
* for (let `iter_var`, `iter_var2` in `iter_range`) {
|
|
498
|
+
* if (!`loop_condition`) {
|
|
499
|
+
* break
|
|
500
|
+
* }
|
|
501
|
+
* `accu_var` = `loop_step`
|
|
502
|
+
* }
|
|
503
|
+
* return `result`
|
|
504
|
+
* ```
|
|
505
|
+
*
|
|
506
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Comprehension
|
|
507
|
+
*/
|
|
508
|
+
export declare class Expr_Comprehension extends Message<Expr_Comprehension> {
|
|
509
|
+
/**
|
|
510
|
+
* The name of the first iteration variable.
|
|
511
|
+
* When the iter_range is a list, this variable is the list element.
|
|
512
|
+
* When the iter_range is a map, this variable is the map entry key.
|
|
513
|
+
*
|
|
514
|
+
* @generated from field: string iter_var = 1;
|
|
515
|
+
*/
|
|
516
|
+
iterVar: string;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* The name of the second iteration variable, empty if not set.
|
|
520
|
+
* When the iter_range is a list, this variable is the integer index.
|
|
521
|
+
* When the iter_range is a map, this variable is the map entry value.
|
|
522
|
+
* This field is only set for comprehension v2 macros.
|
|
523
|
+
*
|
|
524
|
+
* @generated from field: string iter_var2 = 8;
|
|
525
|
+
*/
|
|
526
|
+
iterVar2: string;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* The range over which the comprehension iterates.
|
|
530
|
+
*
|
|
531
|
+
* @generated from field: google.api.expr.v1alpha1.Expr iter_range = 2;
|
|
532
|
+
*/
|
|
533
|
+
iterRange?: Expr;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* The name of the variable used for accumulation of the result.
|
|
537
|
+
*
|
|
538
|
+
* @generated from field: string accu_var = 3;
|
|
539
|
+
*/
|
|
540
|
+
accuVar: string;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* The initial value of the accumulator.
|
|
544
|
+
*
|
|
545
|
+
* @generated from field: google.api.expr.v1alpha1.Expr accu_init = 4;
|
|
546
|
+
*/
|
|
547
|
+
accuInit?: Expr;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* An expression which can contain iter_var, iter_var2, and accu_var.
|
|
551
|
+
*
|
|
552
|
+
* Returns false when the result has been computed and may be used as
|
|
553
|
+
* a hint to short-circuit the remainder of the comprehension.
|
|
554
|
+
*
|
|
555
|
+
* @generated from field: google.api.expr.v1alpha1.Expr loop_condition = 5;
|
|
556
|
+
*/
|
|
557
|
+
loopCondition?: Expr;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* An expression which can contain iter_var, iter_var2, and accu_var.
|
|
561
|
+
*
|
|
562
|
+
* Computes the next value of accu_var.
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: google.api.expr.v1alpha1.Expr loop_step = 6;
|
|
565
|
+
*/
|
|
566
|
+
loopStep?: Expr;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* An expression which can contain accu_var.
|
|
570
|
+
*
|
|
571
|
+
* Computes the result.
|
|
572
|
+
*
|
|
573
|
+
* @generated from field: google.api.expr.v1alpha1.Expr result = 7;
|
|
574
|
+
*/
|
|
575
|
+
result?: Expr;
|
|
576
|
+
|
|
577
|
+
constructor(data?: PartialMessage<Expr_Comprehension>);
|
|
578
|
+
|
|
579
|
+
static readonly runtime: typeof proto3;
|
|
580
|
+
static readonly typeName = "google.api.expr.v1alpha1.Expr.Comprehension";
|
|
581
|
+
static readonly fields: FieldList;
|
|
582
|
+
|
|
583
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Expr_Comprehension;
|
|
584
|
+
|
|
585
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Expr_Comprehension;
|
|
586
|
+
|
|
587
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Expr_Comprehension;
|
|
588
|
+
|
|
589
|
+
static equals(a: Expr_Comprehension | PlainMessage<Expr_Comprehension> | undefined, b: Expr_Comprehension | PlainMessage<Expr_Comprehension> | undefined): boolean;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Represents a primitive literal.
|
|
594
|
+
*
|
|
595
|
+
* Named 'Constant' here for backwards compatibility.
|
|
596
|
+
*
|
|
597
|
+
* This is similar as the primitives supported in the well-known type
|
|
598
|
+
* `google.protobuf.Value`, but richer so it can represent CEL's full range of
|
|
599
|
+
* primitives.
|
|
600
|
+
*
|
|
601
|
+
* Lists and structs are not included as constants as these aggregate types may
|
|
602
|
+
* contain [Expr][google.api.expr.v1alpha1.Expr] elements which require
|
|
603
|
+
* evaluation and are thus not constant.
|
|
604
|
+
*
|
|
605
|
+
* Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`,
|
|
606
|
+
* `true`, `null`.
|
|
607
|
+
*
|
|
608
|
+
* @generated from message google.api.expr.v1alpha1.Constant
|
|
609
|
+
*/
|
|
610
|
+
export declare class Constant extends Message<Constant> {
|
|
611
|
+
/**
|
|
612
|
+
* Required. The valid constant kinds.
|
|
613
|
+
*
|
|
614
|
+
* @generated from oneof google.api.expr.v1alpha1.Constant.constant_kind
|
|
615
|
+
*/
|
|
616
|
+
constantKind: {
|
|
617
|
+
/**
|
|
618
|
+
* null value.
|
|
619
|
+
*
|
|
620
|
+
* @generated from field: google.protobuf.NullValue null_value = 1;
|
|
621
|
+
*/
|
|
622
|
+
value: NullValue;
|
|
623
|
+
case: "nullValue";
|
|
624
|
+
} | {
|
|
625
|
+
/**
|
|
626
|
+
* boolean value.
|
|
627
|
+
*
|
|
628
|
+
* @generated from field: bool bool_value = 2;
|
|
629
|
+
*/
|
|
630
|
+
value: boolean;
|
|
631
|
+
case: "boolValue";
|
|
632
|
+
} | {
|
|
633
|
+
/**
|
|
634
|
+
* int64 value.
|
|
635
|
+
*
|
|
636
|
+
* @generated from field: int64 int64_value = 3;
|
|
637
|
+
*/
|
|
638
|
+
value: bigint;
|
|
639
|
+
case: "int64Value";
|
|
640
|
+
} | {
|
|
641
|
+
/**
|
|
642
|
+
* uint64 value.
|
|
643
|
+
*
|
|
644
|
+
* @generated from field: uint64 uint64_value = 4;
|
|
645
|
+
*/
|
|
646
|
+
value: bigint;
|
|
647
|
+
case: "uint64Value";
|
|
648
|
+
} | {
|
|
649
|
+
/**
|
|
650
|
+
* double value.
|
|
651
|
+
*
|
|
652
|
+
* @generated from field: double double_value = 5;
|
|
653
|
+
*/
|
|
654
|
+
value: number;
|
|
655
|
+
case: "doubleValue";
|
|
656
|
+
} | {
|
|
657
|
+
/**
|
|
658
|
+
* string value.
|
|
659
|
+
*
|
|
660
|
+
* @generated from field: string string_value = 6;
|
|
661
|
+
*/
|
|
662
|
+
value: string;
|
|
663
|
+
case: "stringValue";
|
|
664
|
+
} | {
|
|
665
|
+
/**
|
|
666
|
+
* bytes value.
|
|
667
|
+
*
|
|
668
|
+
* @generated from field: bytes bytes_value = 7;
|
|
669
|
+
*/
|
|
670
|
+
value: Uint8Array;
|
|
671
|
+
case: "bytesValue";
|
|
672
|
+
} | {
|
|
673
|
+
/**
|
|
674
|
+
* protobuf.Duration value.
|
|
675
|
+
*
|
|
676
|
+
* Deprecated: duration is no longer considered a builtin cel type.
|
|
677
|
+
*
|
|
678
|
+
* @generated from field: google.protobuf.Duration duration_value = 8 [deprecated = true];
|
|
679
|
+
* @deprecated
|
|
680
|
+
*/
|
|
681
|
+
value: Duration;
|
|
682
|
+
case: "durationValue";
|
|
683
|
+
} | {
|
|
684
|
+
/**
|
|
685
|
+
* protobuf.Timestamp value.
|
|
686
|
+
*
|
|
687
|
+
* Deprecated: timestamp is no longer considered a builtin cel type.
|
|
688
|
+
*
|
|
689
|
+
* @generated from field: google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
|
|
690
|
+
* @deprecated
|
|
691
|
+
*/
|
|
692
|
+
value: Timestamp;
|
|
693
|
+
case: "timestampValue";
|
|
694
|
+
} | { case: undefined; value?: undefined };
|
|
695
|
+
|
|
696
|
+
constructor(data?: PartialMessage<Constant>);
|
|
697
|
+
|
|
698
|
+
static readonly runtime: typeof proto3;
|
|
699
|
+
static readonly typeName = "google.api.expr.v1alpha1.Constant";
|
|
700
|
+
static readonly fields: FieldList;
|
|
701
|
+
|
|
702
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Constant;
|
|
703
|
+
|
|
704
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Constant;
|
|
705
|
+
|
|
706
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Constant;
|
|
707
|
+
|
|
708
|
+
static equals(a: Constant | PlainMessage<Constant> | undefined, b: Constant | PlainMessage<Constant> | undefined): boolean;
|
|
709
|
+
}
|
|
550
710
|
|
|
551
|
-
|
|
552
|
-
|
|
711
|
+
/**
|
|
712
|
+
* Source information collected at parse time.
|
|
713
|
+
*
|
|
714
|
+
* @generated from message google.api.expr.v1alpha1.SourceInfo
|
|
715
|
+
*/
|
|
716
|
+
export declare class SourceInfo extends Message<SourceInfo> {
|
|
717
|
+
/**
|
|
718
|
+
* The syntax version of the source, e.g. `cel1`.
|
|
719
|
+
*
|
|
720
|
+
* @generated from field: string syntax_version = 1;
|
|
721
|
+
*/
|
|
722
|
+
syntaxVersion: string;
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* The location name. All position information attached to an expression is
|
|
726
|
+
* relative to this location.
|
|
727
|
+
*
|
|
728
|
+
* The location could be a file, UI element, or similar. For example,
|
|
729
|
+
* `acme/app/AnvilPolicy.cel`.
|
|
730
|
+
*
|
|
731
|
+
* @generated from field: string location = 2;
|
|
732
|
+
*/
|
|
733
|
+
location: string;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Monotonically increasing list of code point offsets where newlines
|
|
737
|
+
* `\n` appear.
|
|
738
|
+
*
|
|
739
|
+
* The line number of a given position is the index `i` where for a given
|
|
740
|
+
* `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
|
|
741
|
+
* column may be derivd from `id_positions[id] - line_offsets[i]`.
|
|
742
|
+
*
|
|
743
|
+
* @generated from field: repeated int32 line_offsets = 3;
|
|
744
|
+
*/
|
|
745
|
+
lineOffsets: number[];
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* A map from the parse node id (e.g. `Expr.id`) to the code point offset
|
|
749
|
+
* within the source.
|
|
750
|
+
*
|
|
751
|
+
* @generated from field: map<int64, int32> positions = 4;
|
|
752
|
+
*/
|
|
753
|
+
positions: { [key: string]: number };
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* A map from the parse node id where a macro replacement was made to the
|
|
757
|
+
* call `Expr` that resulted in a macro expansion.
|
|
758
|
+
*
|
|
759
|
+
* For example, `has(value.field)` is a function call that is replaced by a
|
|
760
|
+
* `test_only` field selection in the AST. Likewise, the call
|
|
761
|
+
* `list.exists(e, e > 10)` translates to a comprehension expression. The key
|
|
762
|
+
* in the map corresponds to the expression id of the expanded macro, and the
|
|
763
|
+
* value is the call `Expr` that was replaced.
|
|
764
|
+
*
|
|
765
|
+
* @generated from field: map<int64, google.api.expr.v1alpha1.Expr> macro_calls = 5;
|
|
766
|
+
*/
|
|
767
|
+
macroCalls: { [key: string]: Expr };
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* A list of tags for extensions that were used while parsing or type checking
|
|
771
|
+
* the source expression. For example, optimizations that require special
|
|
772
|
+
* runtime support may be specified.
|
|
773
|
+
*
|
|
774
|
+
* These are used to check feature support between components in separate
|
|
775
|
+
* implementations. This can be used to either skip redundant work or
|
|
776
|
+
* report an error if the extension is unsupported.
|
|
777
|
+
*
|
|
778
|
+
* @generated from field: repeated google.api.expr.v1alpha1.SourceInfo.Extension extensions = 6;
|
|
779
|
+
*/
|
|
780
|
+
extensions: SourceInfo_Extension[];
|
|
781
|
+
|
|
782
|
+
constructor(data?: PartialMessage<SourceInfo>);
|
|
783
|
+
|
|
784
|
+
static readonly runtime: typeof proto3;
|
|
785
|
+
static readonly typeName = "google.api.expr.v1alpha1.SourceInfo";
|
|
786
|
+
static readonly fields: FieldList;
|
|
787
|
+
|
|
788
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceInfo;
|
|
789
|
+
|
|
790
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceInfo;
|
|
791
|
+
|
|
792
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceInfo;
|
|
793
|
+
|
|
794
|
+
static equals(a: SourceInfo | PlainMessage<SourceInfo> | undefined, b: SourceInfo | PlainMessage<SourceInfo> | undefined): boolean;
|
|
795
|
+
}
|
|
553
796
|
|
|
554
|
-
|
|
555
|
-
|
|
797
|
+
/**
|
|
798
|
+
* An extension that was requested for the source expression.
|
|
799
|
+
*
|
|
800
|
+
* @generated from message google.api.expr.v1alpha1.SourceInfo.Extension
|
|
801
|
+
*/
|
|
802
|
+
export declare class SourceInfo_Extension extends Message<SourceInfo_Extension> {
|
|
803
|
+
/**
|
|
804
|
+
* Identifier for the extension. Example: constant_folding
|
|
805
|
+
*
|
|
806
|
+
* @generated from field: string id = 1;
|
|
807
|
+
*/
|
|
808
|
+
id: string;
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* If set, the listed components must understand the extension for the
|
|
812
|
+
* expression to evaluate correctly.
|
|
813
|
+
*
|
|
814
|
+
* This field has set semantics, repeated values should be deduplicated.
|
|
815
|
+
*
|
|
816
|
+
* @generated from field: repeated google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2;
|
|
817
|
+
*/
|
|
818
|
+
affectedComponents: SourceInfo_Extension_Component[];
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Version info. May be skipped if it isn't meaningful for the extension.
|
|
822
|
+
* (for example constant_folding might always be v0.0).
|
|
823
|
+
*
|
|
824
|
+
* @generated from field: google.api.expr.v1alpha1.SourceInfo.Extension.Version version = 3;
|
|
825
|
+
*/
|
|
826
|
+
version?: SourceInfo_Extension_Version;
|
|
827
|
+
|
|
828
|
+
constructor(data?: PartialMessage<SourceInfo_Extension>);
|
|
829
|
+
|
|
830
|
+
static readonly runtime: typeof proto3;
|
|
831
|
+
static readonly typeName = "google.api.expr.v1alpha1.SourceInfo.Extension";
|
|
832
|
+
static readonly fields: FieldList;
|
|
833
|
+
|
|
834
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceInfo_Extension;
|
|
835
|
+
|
|
836
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceInfo_Extension;
|
|
837
|
+
|
|
838
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceInfo_Extension;
|
|
839
|
+
|
|
840
|
+
static equals(a: SourceInfo_Extension | PlainMessage<SourceInfo_Extension> | undefined, b: SourceInfo_Extension | PlainMessage<SourceInfo_Extension> | undefined): boolean;
|
|
841
|
+
}
|
|
556
842
|
|
|
557
|
-
|
|
558
|
-
|
|
843
|
+
/**
|
|
844
|
+
* CEL component specifier.
|
|
845
|
+
*
|
|
846
|
+
* @generated from enum google.api.expr.v1alpha1.SourceInfo.Extension.Component
|
|
847
|
+
*/
|
|
848
|
+
export declare enum SourceInfo_Extension_Component {
|
|
849
|
+
/**
|
|
850
|
+
* Unspecified, default.
|
|
851
|
+
*
|
|
852
|
+
* @generated from enum value: COMPONENT_UNSPECIFIED = 0;
|
|
853
|
+
*/
|
|
854
|
+
UNSPECIFIED = 0,
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Parser. Converts a CEL string to an AST.
|
|
858
|
+
*
|
|
859
|
+
* @generated from enum value: COMPONENT_PARSER = 1;
|
|
860
|
+
*/
|
|
861
|
+
PARSER = 1,
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* Type checker. Checks that references in an AST are defined and types
|
|
865
|
+
* agree.
|
|
866
|
+
*
|
|
867
|
+
* @generated from enum value: COMPONENT_TYPE_CHECKER = 2;
|
|
868
|
+
*/
|
|
869
|
+
TYPE_CHECKER = 2,
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Runtime. Evaluates a parsed and optionally checked CEL AST against a
|
|
873
|
+
* context.
|
|
874
|
+
*
|
|
875
|
+
* @generated from enum value: COMPONENT_RUNTIME = 3;
|
|
876
|
+
*/
|
|
877
|
+
RUNTIME = 3,
|
|
878
|
+
}
|
|
559
879
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
880
|
+
/**
|
|
881
|
+
* Version
|
|
882
|
+
*
|
|
883
|
+
* @generated from message google.api.expr.v1alpha1.SourceInfo.Extension.Version
|
|
884
|
+
*/
|
|
885
|
+
export declare class SourceInfo_Extension_Version extends Message<SourceInfo_Extension_Version> {
|
|
886
|
+
/**
|
|
887
|
+
* Major version changes indicate different required support level from
|
|
888
|
+
* the required components.
|
|
889
|
+
*
|
|
890
|
+
* @generated from field: int64 major = 1;
|
|
891
|
+
*/
|
|
892
|
+
major: bigint;
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* Minor version changes must not change the observed behavior from
|
|
896
|
+
* existing implementations, but may be provided informationally.
|
|
897
|
+
*
|
|
898
|
+
* @generated from field: int64 minor = 2;
|
|
899
|
+
*/
|
|
900
|
+
minor: bigint;
|
|
901
|
+
|
|
902
|
+
constructor(data?: PartialMessage<SourceInfo_Extension_Version>);
|
|
903
|
+
|
|
904
|
+
static readonly runtime: typeof proto3;
|
|
905
|
+
static readonly typeName = "google.api.expr.v1alpha1.SourceInfo.Extension.Version";
|
|
906
|
+
static readonly fields: FieldList;
|
|
907
|
+
|
|
908
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceInfo_Extension_Version;
|
|
909
|
+
|
|
910
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceInfo_Extension_Version;
|
|
911
|
+
|
|
912
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceInfo_Extension_Version;
|
|
913
|
+
|
|
914
|
+
static equals(a: SourceInfo_Extension_Version | PlainMessage<SourceInfo_Extension_Version> | undefined, b: SourceInfo_Extension_Version | PlainMessage<SourceInfo_Extension_Version> | undefined): boolean;
|
|
568
915
|
}
|
|
569
916
|
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
917
|
+
/**
|
|
918
|
+
* A specific position in source.
|
|
919
|
+
*
|
|
920
|
+
* @generated from message google.api.expr.v1alpha1.SourcePosition
|
|
921
|
+
*/
|
|
922
|
+
export declare class SourcePosition extends Message<SourcePosition> {
|
|
923
|
+
/**
|
|
924
|
+
* The soucre location name (e.g. file name).
|
|
925
|
+
*
|
|
926
|
+
* @generated from field: string location = 1;
|
|
927
|
+
*/
|
|
928
|
+
location: string;
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* The UTF-8 code unit offset.
|
|
932
|
+
*
|
|
933
|
+
* @generated from field: int32 offset = 2;
|
|
934
|
+
*/
|
|
935
|
+
offset: number;
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* The 1-based index of the starting line in the source text
|
|
939
|
+
* where the issue occurs, or 0 if unknown.
|
|
940
|
+
*
|
|
941
|
+
* @generated from field: int32 line = 3;
|
|
942
|
+
*/
|
|
943
|
+
line: number;
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* The 0-based index of the starting position within the line of source text
|
|
947
|
+
* where the issue occurs. Only meaningful if line is nonzero.
|
|
948
|
+
*
|
|
949
|
+
* @generated from field: int32 column = 4;
|
|
950
|
+
*/
|
|
951
|
+
column: number;
|
|
952
|
+
|
|
953
|
+
constructor(data?: PartialMessage<SourcePosition>);
|
|
954
|
+
|
|
955
|
+
static readonly runtime: typeof proto3;
|
|
956
|
+
static readonly typeName = "google.api.expr.v1alpha1.SourcePosition";
|
|
957
|
+
static readonly fields: FieldList;
|
|
958
|
+
|
|
959
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourcePosition;
|
|
960
|
+
|
|
961
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourcePosition;
|
|
962
|
+
|
|
963
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourcePosition;
|
|
964
|
+
|
|
965
|
+
static equals(a: SourcePosition | PlainMessage<SourcePosition> | undefined, b: SourcePosition | PlainMessage<SourcePosition> | undefined): boolean;
|
|
577
966
|
}
|
|
578
967
|
|