@alis-build/common-es 1.0.3
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/LICENSE +21 -0
- package/README.md +1 -0
- package/alis/a2a/extension/history/v1/history_connect.d.ts +155 -0
- package/alis/a2a/extension/history/v1/history_connect.js +155 -0
- package/alis/a2a/extension/history/v1/history_pb.d.ts +550 -0
- package/alis/a2a/extension/history/v1/history_pb.js +111 -0
- package/alis/open/agent/v1/agent_connect.d.ts +155 -0
- package/alis/open/agent/v1/agent_connect.js +155 -0
- package/alis/open/agent/v1/agent_pb.d.ts +2129 -0
- package/alis/open/agent/v1/agent_pb.js +390 -0
- package/alis/open/agent/v2/a2a_connect.d.ts +155 -0
- package/alis/open/agent/v2/a2a_connect.js +155 -0
- package/alis/open/agent/v2/a2a_pb.d.ts +2181 -0
- package/alis/open/agent/v2/a2a_pb.js +390 -0
- package/alis/open/config/v1/config_pb.d.ts +61 -0
- package/alis/open/config/v1/config_pb.js +19 -0
- package/alis/open/cx/v1/cx_pb.d.ts +2153 -0
- package/alis/open/cx/v1/cx_pb.js +230 -0
- package/alis/open/flows/v1/flows_connect.d.ts +94 -0
- package/alis/open/flows/v1/flows_connect.js +94 -0
- package/alis/open/flows/v1/flows_pb.d.ts +546 -0
- package/alis/open/flows/v1/flows_pb.js +104 -0
- package/alis/open/iam/v1/group_connect.d.ts +143 -0
- package/alis/open/iam/v1/group_connect.js +143 -0
- package/alis/open/iam/v1/group_pb.d.ts +385 -0
- package/alis/open/iam/v1/group_pb.js +88 -0
- package/alis/open/iam/v1/iam_pb.d.ts +171 -0
- package/alis/open/iam/v1/iam_pb.js +46 -0
- package/alis/open/iam/v1/oauth_pb.d.ts +564 -0
- package/alis/open/iam/v1/oauth_pb.js +111 -0
- package/alis/open/iam/v1/role_pb.d.ts +95 -0
- package/alis/open/iam/v1/role_pb.js +19 -0
- package/alis/open/iam/v1/user_connect.d.ts +327 -0
- package/alis/open/iam/v1/user_connect.js +327 -0
- package/alis/open/iam/v1/user_pb.d.ts +1580 -0
- package/alis/open/iam/v1/user_pb.js +279 -0
- package/alis/open/in/v1/in_pb.d.ts +902 -0
- package/alis/open/in/v1/in_pb.js +113 -0
- package/alis/open/notifications/v1/devices_connect.d.ts +161 -0
- package/alis/open/notifications/v1/devices_connect.js +161 -0
- package/alis/open/notifications/v1/devices_pb.d.ts +362 -0
- package/alis/open/notifications/v1/devices_pb.js +75 -0
- package/alis/open/notifications/v1/notifications_connect.d.ts +77 -0
- package/alis/open/notifications/v1/notifications_connect.js +77 -0
- package/alis/open/notifications/v1/notifications_pb.d.ts +196 -0
- package/alis/open/notifications/v1/notifications_pb.js +49 -0
- package/alis/open/operations/v1/operations_pb.d.ts +194 -0
- package/alis/open/operations/v1/operations_pb.js +28 -0
- package/alis/open/options/v1/options_pb.d.ts +274 -0
- package/alis/open/options/v1/options_pb.js +85 -0
- package/alis/open/pubsub/v1/pubsub_pb.d.ts +124 -0
- package/alis/open/pubsub/v1/pubsub_pb.js +26 -0
- package/alis/open/px/v1/px_pb.d.ts +2169 -0
- package/alis/open/px/v1/px_pb.js +281 -0
- package/alis/open/support/v1/attachments_connect.d.ts +30 -0
- package/alis/open/support/v1/attachments_connect.js +30 -0
- package/alis/open/support/v1/attachments_pb.d.ts +84 -0
- package/alis/open/support/v1/attachments_pb.js +34 -0
- package/alis/open/support/v1/events_connect.d.ts +30 -0
- package/alis/open/support/v1/events_connect.js +30 -0
- package/alis/open/support/v1/events_pb.d.ts +236 -0
- package/alis/open/support/v1/events_pb.js +84 -0
- package/alis/open/support/v1/guide_connect.d.ts +76 -0
- package/alis/open/support/v1/guide_connect.js +76 -0
- package/alis/open/support/v1/guide_pb.d.ts +853 -0
- package/alis/open/support/v1/guide_pb.js +169 -0
- package/alis/open/support/v1/issue_connect.d.ts +216 -0
- package/alis/open/support/v1/issue_connect.js +216 -0
- package/alis/open/support/v1/issue_pb.d.ts +1030 -0
- package/alis/open/support/v1/issue_pb.js +215 -0
- package/alis/open/support/v1/issueactivity_connect.d.ts +139 -0
- package/alis/open/support/v1/issueactivity_connect.js +139 -0
- package/alis/open/support/v1/issueactivity_pb.d.ts +551 -0
- package/alis/open/support/v1/issueactivity_pb.js +108 -0
- package/alis/open/support/v1/issuesubscriber_connect.d.ts +146 -0
- package/alis/open/support/v1/issuesubscriber_connect.js +146 -0
- package/alis/open/support/v1/issuesubscriber_pb.d.ts +341 -0
- package/alis/open/support/v1/issuesubscriber_pb.js +68 -0
- package/alis/open/validation/v1/test_connect.d.ts +74 -0
- package/alis/open/validation/v1/test_connect.js +74 -0
- package/alis/open/validation/v1/test_pb.d.ts +345 -0
- package/alis/open/validation/v1/test_pb.js +84 -0
- package/alis/open/validation/v1/validation_connect.d.ts +39 -0
- package/alis/open/validation/v1/validation_connect.js +39 -0
- package/alis/open/validation/v1/validation_pb.d.ts +207 -0
- package/alis/open/validation/v1/validation_pb.js +59 -0
- package/alis/test/v1/test_pb.d.ts +32 -0
- package/alis/test/v1/test_pb.js +18 -0
- package/common/test/v1/test_pb.d.ts +32 -0
- package/common/test/v1/test_pb.js +18 -0
- package/google/api/annotations_pb.d.ts +33 -0
- package/google/api/annotations_pb.js +35 -0
- package/google/api/apikeys/v2/apikeys_connect.d.ts +151 -0
- package/google/api/apikeys/v2/apikeys_connect.js +151 -0
- package/google/api/apikeys/v2/apikeys_pb.d.ts +449 -0
- package/google/api/apikeys/v2/apikeys_pb.js +117 -0
- package/google/api/apikeys/v2/resources_pb.d.ts +341 -0
- package/google/api/apikeys/v2/resources_pb.js +84 -0
- package/google/api/auth_pb.d.ts +380 -0
- package/google/api/auth_pb.js +67 -0
- package/google/api/backend_pb.d.ts +269 -0
- package/google/api/backend_pb.js +59 -0
- package/google/api/billing_pb.d.ts +109 -0
- package/google/api/billing_pb.js +39 -0
- package/google/api/client_pb.d.ts +691 -0
- package/google/api/client_pb.js +233 -0
- package/google/api/config_change_pb.d.ts +155 -0
- package/google/api/config_change_pb.js +54 -0
- package/google/api/consumer_pb.d.ts +150 -0
- package/google/api/consumer_pb.js +53 -0
- package/google/api/context_pb.d.ts +135 -0
- package/google/api/context_pb.js +39 -0
- package/google/api/control_pb.d.ts +52 -0
- package/google/api/control_pb.js +32 -0
- package/google/api/distribution_pb.d.ts +377 -0
- package/google/api/distribution_pb.js +76 -0
- package/google/api/documentation_pb.d.ts +248 -0
- package/google/api/documentation_pb.js +46 -0
- package/google/api/endpoint_pb.d.ts +102 -0
- package/google/api/endpoint_pb.js +32 -0
- package/google/api/error_reason_pb.d.ts +657 -0
- package/google/api/error_reason_pb.js +48 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_connect.d.ts +71 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_connect.js +71 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_pb.d.ts +415 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_pb.js +112 -0
- package/google/api/expr/v1alpha1/checked_pb.d.ts +701 -0
- package/google/api/expr/v1alpha1/checked_pb.js +133 -0
- package/google/api/expr/v1alpha1/eval_pb.d.ts +212 -0
- package/google/api/expr/v1alpha1/eval_pb.js +62 -0
- package/google/api/expr/v1alpha1/explain_pb.d.ts +92 -0
- package/google/api/expr/v1alpha1/explain_pb.js +42 -0
- package/google/api/expr/v1alpha1/syntax_pb.d.ts +698 -0
- package/google/api/expr/v1alpha1/syntax_pb.js +112 -0
- package/google/api/expr/v1alpha1/value_pb.d.ts +252 -0
- package/google/api/expr/v1alpha1/value_pb.js +62 -0
- package/google/api/expr/v1beta1/decl_pb.d.ts +183 -0
- package/google/api/expr/v1beta1/decl_pb.js +55 -0
- package/google/api/expr/v1beta1/eval_pb.d.ts +233 -0
- package/google/api/expr/v1beta1/eval_pb.js +70 -0
- package/google/api/expr/v1beta1/expr_pb.d.ts +550 -0
- package/google/api/expr/v1beta1/expr_pb.js +98 -0
- package/google/api/expr/v1beta1/source_pb.d.ts +112 -0
- package/google/api/expr/v1beta1/source_pb.js +40 -0
- package/google/api/expr/v1beta1/value_pb.d.ts +253 -0
- package/google/api/expr/v1beta1/value_pb.js +63 -0
- package/google/api/field_behavior_pb.d.ts +133 -0
- package/google/api/field_behavior_pb.js +64 -0
- package/google/api/http_pb.d.ts +472 -0
- package/google/api/http_pb.js +46 -0
- package/google/api/httpbody_pb.d.ts +103 -0
- package/google/api/httpbody_pb.js +33 -0
- package/google/api/label_pb.d.ts +92 -0
- package/google/api/label_pb.js +46 -0
- package/google/api/launch_stage_pb.d.ts +114 -0
- package/google/api/launch_stage_pb.js +40 -0
- package/google/api/log_pb.d.ts +81 -0
- package/google/api/log_pb.js +33 -0
- package/google/api/logging_pb.d.ts +118 -0
- package/google/api/logging_pb.js +39 -0
- package/google/api/metric_pb.d.ts +422 -0
- package/google/api/metric_pb.js +79 -0
- package/google/api/monitored_resource_pb.d.ts +194 -0
- package/google/api/monitored_resource_pb.js +49 -0
- package/google/api/monitoring_pb.d.ts +143 -0
- package/google/api/monitoring_pb.js +39 -0
- package/google/api/quota_pb.d.ts +271 -0
- package/google/api/quota_pb.js +46 -0
- package/google/api/resource_pb.d.ts +338 -0
- package/google/api/resource_pb.js +96 -0
- package/google/api/routing_pb.d.ts +496 -0
- package/google/api/routing_pb.js +48 -0
- package/google/api/service_pb.d.ts +304 -0
- package/google/api/service_pb.js +53 -0
- package/google/api/servicecontrol/v1/check_error_pb.d.ts +241 -0
- package/google/api/servicecontrol/v1/check_error_pb.js +47 -0
- package/google/api/servicecontrol/v1/distribution_pb.d.ts +279 -0
- package/google/api/servicecontrol/v1/distribution_pb.js +54 -0
- package/google/api/servicecontrol/v1/http_request_pb.d.ts +162 -0
- package/google/api/servicecontrol/v1/http_request_pb.js +33 -0
- package/google/api/servicecontrol/v1/log_entry_pb.d.ts +237 -0
- package/google/api/servicecontrol/v1/log_entry_pb.js +51 -0
- package/google/api/servicecontrol/v1/metric_value_pb.d.ts +148 -0
- package/google/api/servicecontrol/v1/metric_value_pb.js +41 -0
- package/google/api/servicecontrol/v1/operation_pb.d.ts +188 -0
- package/google/api/servicecontrol/v1/operation_pb.js +50 -0
- package/google/api/servicecontrol/v1/quota_controller_connect.d.ts +56 -0
- package/google/api/servicecontrol/v1/quota_controller_connect.js +56 -0
- package/google/api/servicecontrol/v1/quota_controller_pb.d.ts +417 -0
- package/google/api/servicecontrol/v1/quota_controller_pb.js +100 -0
- package/google/api/servicecontrol/v1/service_controller_connect.d.ts +87 -0
- package/google/api/servicecontrol/v1/service_controller_connect.js +87 -0
- package/google/api/servicecontrol/v1/service_controller_pb.d.ts +437 -0
- package/google/api/servicecontrol/v1/service_controller_pb.js +105 -0
- package/google/api/servicecontrol/v2/service_controller_connect.d.ts +99 -0
- package/google/api/servicecontrol/v2/service_controller_connect.js +99 -0
- package/google/api/servicecontrol/v2/service_controller_pb.d.ts +300 -0
- package/google/api/servicecontrol/v2/service_controller_pb.js +79 -0
- package/google/api/servicemanagement/v1/resources_pb.d.ts +632 -0
- package/google/api/servicemanagement/v1/resources_pb.js +159 -0
- package/google/api/servicemanagement/v1/servicemanager_connect.d.ts +252 -0
- package/google/api/servicemanagement/v1/servicemanager_connect.js +252 -0
- package/google/api/servicemanagement/v1/servicemanager_pb.d.ts +854 -0
- package/google/api/servicemanagement/v1/servicemanager_pb.js +186 -0
- package/google/api/serviceusage/v1/resources_pb.d.ts +231 -0
- package/google/api/serviceusage/v1/resources_pb.js +68 -0
- package/google/api/serviceusage/v1/serviceusage_connect.d.ts +125 -0
- package/google/api/serviceusage/v1/serviceusage_connect.js +125 -0
- package/google/api/serviceusage/v1/serviceusage_pb.d.ts +529 -0
- package/google/api/serviceusage/v1/serviceusage_pb.js +140 -0
- package/google/api/serviceusage/v1beta1/resources_pb.d.ts +748 -0
- package/google/api/serviceusage/v1beta1/resources_pb.js +146 -0
- package/google/api/serviceusage/v1beta1/serviceusage_connect.d.ts +285 -0
- package/google/api/serviceusage/v1beta1/serviceusage_connect.js +285 -0
- package/google/api/serviceusage/v1beta1/serviceusage_pb.d.ts +1446 -0
- package/google/api/serviceusage/v1beta1/serviceusage_pb.js +304 -0
- package/google/api/source_info_pb.d.ts +46 -0
- package/google/api/source_info_pb.js +33 -0
- package/google/api/system_parameter_pb.d.ts +151 -0
- package/google/api/system_parameter_pb.js +46 -0
- package/google/api/usage_pb.d.ts +141 -0
- package/google/api/usage_pb.js +39 -0
- package/google/api/visibility_pb.d.ts +157 -0
- package/google/api/visibility_pb.js +88 -0
- package/google/iam/admin/v1/audit_data_pb.d.ts +75 -0
- package/google/iam/admin/v1/audit_data_pb.js +39 -0
- package/google/iam/admin/v1/iam_connect.d.ts +534 -0
- package/google/iam/admin/v1/iam_connect.js +534 -0
- package/google/iam/admin/v1/iam_pb.d.ts +2699 -0
- package/google/iam/admin/v1/iam_pb.js +528 -0
- package/google/iam/credentials/v1/common_pb.d.ts +319 -0
- package/google/iam/credentials/v1/common_pb.js +85 -0
- package/google/iam/credentials/v1/iamcredentials_connect.d.ts +84 -0
- package/google/iam/credentials/v1/iamcredentials_connect.js +84 -0
- package/google/iam/credentials/v1/iamcredentials_pb.d.ts +81 -0
- package/google/iam/credentials/v1/iamcredentials_pb.js +44 -0
- package/google/iam/v1/iam_policy_connect.d.ts +102 -0
- package/google/iam/v1/iam_policy_connect.js +102 -0
- package/google/iam/v1/iam_policy_pb.d.ts +225 -0
- package/google/iam/v1/iam_policy_pb.js +93 -0
- package/google/iam/v1/logging/audit_data_pb.d.ts +48 -0
- package/google/iam/v1/logging/audit_data_pb.js +33 -0
- package/google/iam/v1/options_pb.d.ts +62 -0
- package/google/iam/v1/options_pb.js +32 -0
- package/google/iam/v1/policy_pb.d.ts +622 -0
- package/google/iam/v1/policy_pb.js +118 -0
- package/google/iam/v1beta/workload_identity_pool_connect.d.ts +203 -0
- package/google/iam/v1beta/workload_identity_pool_connect.js +203 -0
- package/google/iam/v1beta/workload_identity_pool_pb.d.ts +996 -0
- package/google/iam/v1beta/workload_identity_pool_pb.js +207 -0
- package/google/iam/v2/deny_pb.d.ts +139 -0
- package/google/iam/v2/deny_pb.js +33 -0
- package/google/iam/v2/policy_connect.d.ts +102 -0
- package/google/iam/v2/policy_connect.js +102 -0
- package/google/iam/v2/policy_pb.d.ts +481 -0
- package/google/iam/v2/policy_pb.js +102 -0
- package/google/iam/v2beta/deny_pb.d.ts +139 -0
- package/google/iam/v2beta/deny_pb.js +33 -0
- package/google/iam/v2beta/policy_connect.d.ts +102 -0
- package/google/iam/v2beta/policy_connect.js +102 -0
- package/google/iam/v2beta/policy_pb.d.ts +473 -0
- package/google/iam/v2beta/policy_pb.js +102 -0
- package/google/logging/type/http_request_pb.d.ts +164 -0
- package/google/logging/type/http_request_pb.js +33 -0
- package/google/logging/type/log_severity_pb.d.ts +114 -0
- package/google/logging/type/log_severity_pb.js +53 -0
- package/google/logging/v2/log_entry_pb.d.ts +382 -0
- package/google/logging/v2/log_entry_pb.js +61 -0
- package/google/logging/v2/logging_config_connect.d.ts +401 -0
- package/google/logging/v2/logging_config_connect.js +401 -0
- package/google/logging/v2/logging_config_pb.d.ts +2422 -0
- package/google/logging/v2/logging_config_pb.js +360 -0
- package/google/logging/v2/logging_connect.d.ts +113 -0
- package/google/logging/v2/logging_connect.js +113 -0
- package/google/logging/v2/logging_metrics_connect.d.ts +88 -0
- package/google/logging/v2/logging_metrics_connect.js +88 -0
- package/google/logging/v2/logging_metrics_pb.d.ts +467 -0
- package/google/logging/v2/logging_metrics_pb.js +104 -0
- package/google/logging/v2/logging_pb.d.ts +718 -0
- package/google/logging/v2/logging_pb.js +147 -0
- package/google/longrunning/operations_connect.d.ts +127 -0
- package/google/longrunning/operations_connect.js +127 -0
- package/google/longrunning/operations_pb.d.ts +420 -0
- package/google/longrunning/operations_pb.js +117 -0
- package/google/protobuf/any_pb.d.ts +181 -0
- package/google/protobuf/any_pb.js +48 -0
- package/google/protobuf/api_pb.d.ts +301 -0
- package/google/protobuf/api_pb.js +64 -0
- package/google/protobuf/descriptor_pb.d.ts +2589 -0
- package/google/protobuf/descriptor_pb.js +503 -0
- package/google/protobuf/duration_pb.d.ts +133 -0
- package/google/protobuf/duration_pb.js +48 -0
- package/google/protobuf/empty_pb.d.ts +62 -0
- package/google/protobuf/empty_pb.js +48 -0
- package/google/protobuf/field_mask_pb.d.ts +259 -0
- package/google/protobuf/field_mask_pb.js +48 -0
- package/google/protobuf/source_context_pb.d.ts +63 -0
- package/google/protobuf/source_context_pb.js +48 -0
- package/google/protobuf/struct_pb.d.ts +185 -0
- package/google/protobuf/struct_pb.js +79 -0
- package/google/protobuf/timestamp_pb.d.ts +162 -0
- package/google/protobuf/timestamp_pb.js +48 -0
- package/google/protobuf/type_pb.d.ts +531 -0
- package/google/protobuf/type_pb.js +120 -0
- package/google/protobuf/wrappers_pb.d.ts +249 -0
- package/google/protobuf/wrappers_pb.js +114 -0
- package/google/rpc/code_pb.d.ts +264 -0
- package/google/rpc/code_pb.js +45 -0
- package/google/rpc/context/attribute_context_pb.d.ts +618 -0
- package/google/rpc/context/attribute_context_pb.js +78 -0
- package/google/rpc/context/audit_context_pb.d.ts +79 -0
- package/google/rpc/context/audit_context_pb.js +33 -0
- package/google/rpc/error_details_pb.d.ts +534 -0
- package/google/rpc/error_details_pb.js +124 -0
- package/google/rpc/http_pb.d.ts +136 -0
- package/google/rpc/http_pb.js +46 -0
- package/google/rpc/status_pb.d.ts +71 -0
- package/google/rpc/status_pb.js +33 -0
- package/google/type/calendar_period_pb.d.ts +98 -0
- package/google/type/calendar_period_pb.js +41 -0
- package/google/type/color_pb.d.ts +199 -0
- package/google/type/color_pb.js +33 -0
- package/google/type/date_pb.d.ts +75 -0
- package/google/type/date_pb.js +32 -0
- package/google/type/datetime_pb.d.ts +174 -0
- package/google/type/datetime_pb.js +40 -0
- package/google/type/dayofweek_pb.d.ts +92 -0
- package/google/type/dayofweek_pb.js +39 -0
- package/google/type/decimal_pb.d.ts +110 -0
- package/google/type/decimal_pb.js +32 -0
- package/google/type/expr_pb.d.ts +101 -0
- package/google/type/expr_pb.js +32 -0
- package/google/type/fraction_pb.d.ts +53 -0
- package/google/type/fraction_pb.js +32 -0
- package/google/type/interval_pb.d.ts +64 -0
- package/google/type/interval_pb.js +33 -0
- package/google/type/latlng_pb.d.ts +56 -0
- package/google/type/latlng_pb.js +32 -0
- package/google/type/localized_text_pb.d.ts +55 -0
- package/google/type/localized_text_pb.js +32 -0
- package/google/type/money_pb.d.ts +65 -0
- package/google/type/money_pb.js +32 -0
- package/google/type/month_pb.d.ts +127 -0
- package/google/type/month_pb.js +39 -0
- package/google/type/phone_number_pb.d.ts +160 -0
- package/google/type/phone_number_pb.js +39 -0
- package/google/type/postal_address_pb.d.ts +189 -0
- package/google/type/postal_address_pb.js +32 -0
- package/google/type/quaternion_pb.d.ts +121 -0
- package/google/type/quaternion_pb.js +32 -0
- package/google/type/timeofday_pb.d.ts +71 -0
- package/google/type/timeofday_pb.js +32 -0
- package/lf/a2a/v1/a2a_connect.d.ts +148 -0
- package/lf/a2a/v1/a2a_connect.js +148 -0
- package/lf/a2a/v1/a2a_pb.d.ts +2184 -0
- package/lf/a2a/v1/a2a_pb.js +363 -0
- package/package.json +10 -0
|
@@ -0,0 +1,698 @@
|
|
|
1
|
+
// Copyright 2022 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 v2.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/expr/v1alpha1/syntax.proto (package google.api.expr.v1alpha1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { NullValue } from "../../../protobuf/struct_pb";
|
|
22
|
+
import type { Duration } from "../../../protobuf/duration_pb";
|
|
23
|
+
import type { Timestamp } from "../../../protobuf/timestamp_pb";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file google/api/expr/v1alpha1/syntax.proto.
|
|
27
|
+
*/
|
|
28
|
+
export declare const file_google_api_expr_v1alpha1_syntax: GenFile;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* An expression together with source information as returned by the parser.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message google.api.expr.v1alpha1.ParsedExpr
|
|
34
|
+
*/
|
|
35
|
+
export declare type ParsedExpr = Message<"google.api.expr.v1alpha1.ParsedExpr"> & {
|
|
36
|
+
/**
|
|
37
|
+
* The parsed expression.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: google.api.expr.v1alpha1.Expr expr = 2;
|
|
40
|
+
*/
|
|
41
|
+
expr?: Expr;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* The source info derived from input that generated the parsed `expr`.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: google.api.expr.v1alpha1.SourceInfo source_info = 3;
|
|
47
|
+
*/
|
|
48
|
+
sourceInfo?: SourceInfo;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message google.api.expr.v1alpha1.ParsedExpr.
|
|
53
|
+
* Use `create(ParsedExprSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export declare const ParsedExprSchema: GenMessage<ParsedExpr>;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* An abstract representation of a common expression.
|
|
59
|
+
*
|
|
60
|
+
* Expressions are abstractly represented as a collection of identifiers,
|
|
61
|
+
* select statements, function calls, literals, and comprehensions. All
|
|
62
|
+
* operators with the exception of the '.' operator are modelled as function
|
|
63
|
+
* calls. This makes it easy to represent new operators into the existing AST.
|
|
64
|
+
*
|
|
65
|
+
* All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at
|
|
66
|
+
* type-check for an expression to be valid. A reference may either be a bare
|
|
67
|
+
* identifier `name` or a qualified identifier `google.api.name`. References
|
|
68
|
+
* may either refer to a value or a function declaration.
|
|
69
|
+
*
|
|
70
|
+
* For example, the expression `google.api.name.startsWith('expr')` references
|
|
71
|
+
* the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and
|
|
72
|
+
* the function declaration `startsWith`.
|
|
73
|
+
*
|
|
74
|
+
* @generated from message google.api.expr.v1alpha1.Expr
|
|
75
|
+
*/
|
|
76
|
+
export declare type Expr = Message<"google.api.expr.v1alpha1.Expr"> & {
|
|
77
|
+
/**
|
|
78
|
+
* Required. An id assigned to this node by the parser which is unique in a
|
|
79
|
+
* given expression tree. This is used to associate type information and other
|
|
80
|
+
* attributes to a node in the parse tree.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: int64 id = 2;
|
|
83
|
+
*/
|
|
84
|
+
id: bigint;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Required. Variants of expressions.
|
|
88
|
+
*
|
|
89
|
+
* @generated from oneof google.api.expr.v1alpha1.Expr.expr_kind
|
|
90
|
+
*/
|
|
91
|
+
exprKind: {
|
|
92
|
+
/**
|
|
93
|
+
* A literal expression.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: google.api.expr.v1alpha1.Constant const_expr = 3;
|
|
96
|
+
*/
|
|
97
|
+
value: Constant;
|
|
98
|
+
case: "constExpr";
|
|
99
|
+
} | {
|
|
100
|
+
/**
|
|
101
|
+
* An identifier expression.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Ident ident_expr = 4;
|
|
104
|
+
*/
|
|
105
|
+
value: Expr_Ident;
|
|
106
|
+
case: "identExpr";
|
|
107
|
+
} | {
|
|
108
|
+
/**
|
|
109
|
+
* A field selection expression, e.g. `request.auth`.
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Select select_expr = 5;
|
|
112
|
+
*/
|
|
113
|
+
value: Expr_Select;
|
|
114
|
+
case: "selectExpr";
|
|
115
|
+
} | {
|
|
116
|
+
/**
|
|
117
|
+
* A call expression, including calls to predefined functions and operators.
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Call call_expr = 6;
|
|
120
|
+
*/
|
|
121
|
+
value: Expr_Call;
|
|
122
|
+
case: "callExpr";
|
|
123
|
+
} | {
|
|
124
|
+
/**
|
|
125
|
+
* A list creation expression.
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.CreateList list_expr = 7;
|
|
128
|
+
*/
|
|
129
|
+
value: Expr_CreateList;
|
|
130
|
+
case: "listExpr";
|
|
131
|
+
} | {
|
|
132
|
+
/**
|
|
133
|
+
* A map or message creation expression.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.CreateStruct struct_expr = 8;
|
|
136
|
+
*/
|
|
137
|
+
value: Expr_CreateStruct;
|
|
138
|
+
case: "structExpr";
|
|
139
|
+
} | {
|
|
140
|
+
/**
|
|
141
|
+
* A comprehension expression.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Comprehension comprehension_expr = 9;
|
|
144
|
+
*/
|
|
145
|
+
value: Expr_Comprehension;
|
|
146
|
+
case: "comprehensionExpr";
|
|
147
|
+
} | { case: undefined; value?: undefined };
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Describes the message google.api.expr.v1alpha1.Expr.
|
|
152
|
+
* Use `create(ExprSchema)` to create a new message.
|
|
153
|
+
*/
|
|
154
|
+
export declare const ExprSchema: GenMessage<Expr>;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* An identifier expression. e.g. `request`.
|
|
158
|
+
*
|
|
159
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Ident
|
|
160
|
+
*/
|
|
161
|
+
export declare type Expr_Ident = Message<"google.api.expr.v1alpha1.Expr.Ident"> & {
|
|
162
|
+
/**
|
|
163
|
+
* Required. Holds a single, unqualified identifier, possibly preceded by a
|
|
164
|
+
* '.'.
|
|
165
|
+
*
|
|
166
|
+
* Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: string name = 1;
|
|
169
|
+
*/
|
|
170
|
+
name: string;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message google.api.expr.v1alpha1.Expr.Ident.
|
|
175
|
+
* Use `create(Expr_IdentSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export declare const Expr_IdentSchema: GenMessage<Expr_Ident>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* A field selection expression. e.g. `request.auth`.
|
|
181
|
+
*
|
|
182
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Select
|
|
183
|
+
*/
|
|
184
|
+
export declare type Expr_Select = Message<"google.api.expr.v1alpha1.Expr.Select"> & {
|
|
185
|
+
/**
|
|
186
|
+
* Required. The target of the selection expression.
|
|
187
|
+
*
|
|
188
|
+
* For example, in the select expression `request.auth`, the `request`
|
|
189
|
+
* portion of the expression is the `operand`.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: google.api.expr.v1alpha1.Expr operand = 1;
|
|
192
|
+
*/
|
|
193
|
+
operand?: Expr;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Required. The name of the field to select.
|
|
197
|
+
*
|
|
198
|
+
* For example, in the select expression `request.auth`, the `auth` portion
|
|
199
|
+
* of the expression would be the `field`.
|
|
200
|
+
*
|
|
201
|
+
* @generated from field: string field = 2;
|
|
202
|
+
*/
|
|
203
|
+
field: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Whether the select is to be interpreted as a field presence test.
|
|
207
|
+
*
|
|
208
|
+
* This results from the macro `has(request.auth)`.
|
|
209
|
+
*
|
|
210
|
+
* @generated from field: bool test_only = 3;
|
|
211
|
+
*/
|
|
212
|
+
testOnly: boolean;
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Describes the message google.api.expr.v1alpha1.Expr.Select.
|
|
217
|
+
* Use `create(Expr_SelectSchema)` to create a new message.
|
|
218
|
+
*/
|
|
219
|
+
export declare const Expr_SelectSchema: GenMessage<Expr_Select>;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* A call expression, including calls to predefined functions and operators.
|
|
223
|
+
*
|
|
224
|
+
* For example, `value == 10`, `size(map_value)`.
|
|
225
|
+
*
|
|
226
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Call
|
|
227
|
+
*/
|
|
228
|
+
export declare type Expr_Call = Message<"google.api.expr.v1alpha1.Expr.Call"> & {
|
|
229
|
+
/**
|
|
230
|
+
* The target of an method call-style expression. For example, `x` in
|
|
231
|
+
* `x.f()`.
|
|
232
|
+
*
|
|
233
|
+
* @generated from field: google.api.expr.v1alpha1.Expr target = 1;
|
|
234
|
+
*/
|
|
235
|
+
target?: Expr;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Required. The name of the function or method being called.
|
|
239
|
+
*
|
|
240
|
+
* @generated from field: string function = 2;
|
|
241
|
+
*/
|
|
242
|
+
function: string;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* The arguments.
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Expr args = 3;
|
|
248
|
+
*/
|
|
249
|
+
args: Expr[];
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message google.api.expr.v1alpha1.Expr.Call.
|
|
254
|
+
* Use `create(Expr_CallSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export declare const Expr_CallSchema: GenMessage<Expr_Call>;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* A list creation expression.
|
|
260
|
+
*
|
|
261
|
+
* Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g.
|
|
262
|
+
* `dyn([1, 'hello', 2.0])`
|
|
263
|
+
*
|
|
264
|
+
* @generated from message google.api.expr.v1alpha1.Expr.CreateList
|
|
265
|
+
*/
|
|
266
|
+
export declare type Expr_CreateList = Message<"google.api.expr.v1alpha1.Expr.CreateList"> & {
|
|
267
|
+
/**
|
|
268
|
+
* The elements part of the list.
|
|
269
|
+
*
|
|
270
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Expr elements = 1;
|
|
271
|
+
*/
|
|
272
|
+
elements: Expr[];
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* The indices within the elements list which are marked as optional
|
|
276
|
+
* elements.
|
|
277
|
+
*
|
|
278
|
+
* When an optional-typed value is present, the value it contains
|
|
279
|
+
* is included in the list. If the optional-typed value is absent, the list
|
|
280
|
+
* element is omitted from the CreateList result.
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: repeated int32 optional_indices = 2;
|
|
283
|
+
*/
|
|
284
|
+
optionalIndices: number[];
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Describes the message google.api.expr.v1alpha1.Expr.CreateList.
|
|
289
|
+
* Use `create(Expr_CreateListSchema)` to create a new message.
|
|
290
|
+
*/
|
|
291
|
+
export declare const Expr_CreateListSchema: GenMessage<Expr_CreateList>;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* A map or message creation expression.
|
|
295
|
+
*
|
|
296
|
+
* Maps are constructed as `{'key_name': 'value'}`. Message construction is
|
|
297
|
+
* similar, but prefixed with a type name and composed of field ids:
|
|
298
|
+
* `types.MyType{field_id: 'value'}`.
|
|
299
|
+
*
|
|
300
|
+
* @generated from message google.api.expr.v1alpha1.Expr.CreateStruct
|
|
301
|
+
*/
|
|
302
|
+
export declare type Expr_CreateStruct = Message<"google.api.expr.v1alpha1.Expr.CreateStruct"> & {
|
|
303
|
+
/**
|
|
304
|
+
* The type name of the message to be created, empty when creating map
|
|
305
|
+
* literals.
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: string message_name = 1;
|
|
308
|
+
*/
|
|
309
|
+
messageName: string;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* The entries in the creation expression.
|
|
313
|
+
*
|
|
314
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;
|
|
315
|
+
*/
|
|
316
|
+
entries: Expr_CreateStruct_Entry[];
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Describes the message google.api.expr.v1alpha1.Expr.CreateStruct.
|
|
321
|
+
* Use `create(Expr_CreateStructSchema)` to create a new message.
|
|
322
|
+
*/
|
|
323
|
+
export declare const Expr_CreateStructSchema: GenMessage<Expr_CreateStruct>;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Represents an entry.
|
|
327
|
+
*
|
|
328
|
+
* @generated from message google.api.expr.v1alpha1.Expr.CreateStruct.Entry
|
|
329
|
+
*/
|
|
330
|
+
export declare type Expr_CreateStruct_Entry = Message<"google.api.expr.v1alpha1.Expr.CreateStruct.Entry"> & {
|
|
331
|
+
/**
|
|
332
|
+
* Required. An id assigned to this node by the parser which is unique
|
|
333
|
+
* in a given expression tree. This is used to associate type
|
|
334
|
+
* information and other attributes to the node.
|
|
335
|
+
*
|
|
336
|
+
* @generated from field: int64 id = 1;
|
|
337
|
+
*/
|
|
338
|
+
id: bigint;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* The `Entry` key kinds.
|
|
342
|
+
*
|
|
343
|
+
* @generated from oneof google.api.expr.v1alpha1.Expr.CreateStruct.Entry.key_kind
|
|
344
|
+
*/
|
|
345
|
+
keyKind: {
|
|
346
|
+
/**
|
|
347
|
+
* The field key for a message creator statement.
|
|
348
|
+
*
|
|
349
|
+
* @generated from field: string field_key = 2;
|
|
350
|
+
*/
|
|
351
|
+
value: string;
|
|
352
|
+
case: "fieldKey";
|
|
353
|
+
} | {
|
|
354
|
+
/**
|
|
355
|
+
* The key expression for a map creation statement.
|
|
356
|
+
*
|
|
357
|
+
* @generated from field: google.api.expr.v1alpha1.Expr map_key = 3;
|
|
358
|
+
*/
|
|
359
|
+
value: Expr;
|
|
360
|
+
case: "mapKey";
|
|
361
|
+
} | { case: undefined; value?: undefined };
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Required. The value assigned to the key.
|
|
365
|
+
*
|
|
366
|
+
* If the optional_entry field is true, the expression must resolve to an
|
|
367
|
+
* optional-typed value. If the optional value is present, the key will be
|
|
368
|
+
* set; however, if the optional value is absent, the key will be unset.
|
|
369
|
+
*
|
|
370
|
+
* @generated from field: google.api.expr.v1alpha1.Expr value = 4;
|
|
371
|
+
*/
|
|
372
|
+
value?: Expr;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Whether the key-value pair is optional.
|
|
376
|
+
*
|
|
377
|
+
* @generated from field: bool optional_entry = 5;
|
|
378
|
+
*/
|
|
379
|
+
optionalEntry: boolean;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Describes the message google.api.expr.v1alpha1.Expr.CreateStruct.Entry.
|
|
384
|
+
* Use `create(Expr_CreateStruct_EntrySchema)` to create a new message.
|
|
385
|
+
*/
|
|
386
|
+
export declare const Expr_CreateStruct_EntrySchema: GenMessage<Expr_CreateStruct_Entry>;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* A comprehension expression applied to a list or map.
|
|
390
|
+
*
|
|
391
|
+
* Comprehensions are not part of the core syntax, but enabled with macros.
|
|
392
|
+
* A macro matches a specific call signature within a parsed AST and replaces
|
|
393
|
+
* the call with an alternate AST block. Macro expansion happens at parse
|
|
394
|
+
* time.
|
|
395
|
+
*
|
|
396
|
+
* The following macros are supported within CEL:
|
|
397
|
+
*
|
|
398
|
+
* Aggregate type macros may be applied to all elements in a list or all keys
|
|
399
|
+
* in a map:
|
|
400
|
+
*
|
|
401
|
+
* * `all`, `exists`, `exists_one` - test a predicate expression against
|
|
402
|
+
* the inputs and return `true` if the predicate is satisfied for all,
|
|
403
|
+
* any, or only one value `list.all(x, x < 10)`.
|
|
404
|
+
* * `filter` - test a predicate expression against the inputs and return
|
|
405
|
+
* the subset of elements which satisfy the predicate:
|
|
406
|
+
* `payments.filter(p, p > 1000)`.
|
|
407
|
+
* * `map` - apply an expression to all elements in the input and return the
|
|
408
|
+
* output aggregate type: `[1, 2, 3].map(i, i * i)`.
|
|
409
|
+
*
|
|
410
|
+
* The `has(m.x)` macro tests whether the property `x` is present in struct
|
|
411
|
+
* `m`. The semantics of this macro depend on the type of `m`. For proto2
|
|
412
|
+
* messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the
|
|
413
|
+
* macro tests whether the property is set to its default. For map and struct
|
|
414
|
+
* types, the macro tests whether the property `x` is defined on `m`.
|
|
415
|
+
*
|
|
416
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Comprehension
|
|
417
|
+
*/
|
|
418
|
+
export declare type Expr_Comprehension = Message<"google.api.expr.v1alpha1.Expr.Comprehension"> & {
|
|
419
|
+
/**
|
|
420
|
+
* The name of the iteration variable.
|
|
421
|
+
*
|
|
422
|
+
* @generated from field: string iter_var = 1;
|
|
423
|
+
*/
|
|
424
|
+
iterVar: string;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* The range over which var iterates.
|
|
428
|
+
*
|
|
429
|
+
* @generated from field: google.api.expr.v1alpha1.Expr iter_range = 2;
|
|
430
|
+
*/
|
|
431
|
+
iterRange?: Expr;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* The name of the variable used for accumulation of the result.
|
|
435
|
+
*
|
|
436
|
+
* @generated from field: string accu_var = 3;
|
|
437
|
+
*/
|
|
438
|
+
accuVar: string;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* The initial value of the accumulator.
|
|
442
|
+
*
|
|
443
|
+
* @generated from field: google.api.expr.v1alpha1.Expr accu_init = 4;
|
|
444
|
+
*/
|
|
445
|
+
accuInit?: Expr;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* An expression which can contain iter_var and accu_var.
|
|
449
|
+
*
|
|
450
|
+
* Returns false when the result has been computed and may be used as
|
|
451
|
+
* a hint to short-circuit the remainder of the comprehension.
|
|
452
|
+
*
|
|
453
|
+
* @generated from field: google.api.expr.v1alpha1.Expr loop_condition = 5;
|
|
454
|
+
*/
|
|
455
|
+
loopCondition?: Expr;
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* An expression which can contain iter_var and accu_var.
|
|
459
|
+
*
|
|
460
|
+
* Computes the next value of accu_var.
|
|
461
|
+
*
|
|
462
|
+
* @generated from field: google.api.expr.v1alpha1.Expr loop_step = 6;
|
|
463
|
+
*/
|
|
464
|
+
loopStep?: Expr;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* An expression which can contain accu_var.
|
|
468
|
+
*
|
|
469
|
+
* Computes the result.
|
|
470
|
+
*
|
|
471
|
+
* @generated from field: google.api.expr.v1alpha1.Expr result = 7;
|
|
472
|
+
*/
|
|
473
|
+
result?: Expr;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Describes the message google.api.expr.v1alpha1.Expr.Comprehension.
|
|
478
|
+
* Use `create(Expr_ComprehensionSchema)` to create a new message.
|
|
479
|
+
*/
|
|
480
|
+
export declare const Expr_ComprehensionSchema: GenMessage<Expr_Comprehension>;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Represents a primitive literal.
|
|
484
|
+
*
|
|
485
|
+
* Named 'Constant' here for backwards compatibility.
|
|
486
|
+
*
|
|
487
|
+
* This is similar as the primitives supported in the well-known type
|
|
488
|
+
* `google.protobuf.Value`, but richer so it can represent CEL's full range of
|
|
489
|
+
* primitives.
|
|
490
|
+
*
|
|
491
|
+
* Lists and structs are not included as constants as these aggregate types may
|
|
492
|
+
* contain [Expr][google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant.
|
|
493
|
+
*
|
|
494
|
+
* Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`,
|
|
495
|
+
* `true`, `null`.
|
|
496
|
+
*
|
|
497
|
+
* @generated from message google.api.expr.v1alpha1.Constant
|
|
498
|
+
*/
|
|
499
|
+
export declare type Constant = Message<"google.api.expr.v1alpha1.Constant"> & {
|
|
500
|
+
/**
|
|
501
|
+
* Required. The valid constant kinds.
|
|
502
|
+
*
|
|
503
|
+
* @generated from oneof google.api.expr.v1alpha1.Constant.constant_kind
|
|
504
|
+
*/
|
|
505
|
+
constantKind: {
|
|
506
|
+
/**
|
|
507
|
+
* null value.
|
|
508
|
+
*
|
|
509
|
+
* @generated from field: google.protobuf.NullValue null_value = 1;
|
|
510
|
+
*/
|
|
511
|
+
value: NullValue;
|
|
512
|
+
case: "nullValue";
|
|
513
|
+
} | {
|
|
514
|
+
/**
|
|
515
|
+
* boolean value.
|
|
516
|
+
*
|
|
517
|
+
* @generated from field: bool bool_value = 2;
|
|
518
|
+
*/
|
|
519
|
+
value: boolean;
|
|
520
|
+
case: "boolValue";
|
|
521
|
+
} | {
|
|
522
|
+
/**
|
|
523
|
+
* int64 value.
|
|
524
|
+
*
|
|
525
|
+
* @generated from field: int64 int64_value = 3;
|
|
526
|
+
*/
|
|
527
|
+
value: bigint;
|
|
528
|
+
case: "int64Value";
|
|
529
|
+
} | {
|
|
530
|
+
/**
|
|
531
|
+
* uint64 value.
|
|
532
|
+
*
|
|
533
|
+
* @generated from field: uint64 uint64_value = 4;
|
|
534
|
+
*/
|
|
535
|
+
value: bigint;
|
|
536
|
+
case: "uint64Value";
|
|
537
|
+
} | {
|
|
538
|
+
/**
|
|
539
|
+
* double value.
|
|
540
|
+
*
|
|
541
|
+
* @generated from field: double double_value = 5;
|
|
542
|
+
*/
|
|
543
|
+
value: number;
|
|
544
|
+
case: "doubleValue";
|
|
545
|
+
} | {
|
|
546
|
+
/**
|
|
547
|
+
* string value.
|
|
548
|
+
*
|
|
549
|
+
* @generated from field: string string_value = 6;
|
|
550
|
+
*/
|
|
551
|
+
value: string;
|
|
552
|
+
case: "stringValue";
|
|
553
|
+
} | {
|
|
554
|
+
/**
|
|
555
|
+
* bytes value.
|
|
556
|
+
*
|
|
557
|
+
* @generated from field: bytes bytes_value = 7;
|
|
558
|
+
*/
|
|
559
|
+
value: Uint8Array;
|
|
560
|
+
case: "bytesValue";
|
|
561
|
+
} | {
|
|
562
|
+
/**
|
|
563
|
+
* protobuf.Duration value.
|
|
564
|
+
*
|
|
565
|
+
* Deprecated: duration is no longer considered a builtin cel type.
|
|
566
|
+
*
|
|
567
|
+
* @generated from field: google.protobuf.Duration duration_value = 8 [deprecated = true];
|
|
568
|
+
* @deprecated
|
|
569
|
+
*/
|
|
570
|
+
value: Duration;
|
|
571
|
+
case: "durationValue";
|
|
572
|
+
} | {
|
|
573
|
+
/**
|
|
574
|
+
* protobuf.Timestamp value.
|
|
575
|
+
*
|
|
576
|
+
* Deprecated: timestamp is no longer considered a builtin cel type.
|
|
577
|
+
*
|
|
578
|
+
* @generated from field: google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
|
|
579
|
+
* @deprecated
|
|
580
|
+
*/
|
|
581
|
+
value: Timestamp;
|
|
582
|
+
case: "timestampValue";
|
|
583
|
+
} | { case: undefined; value?: undefined };
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Describes the message google.api.expr.v1alpha1.Constant.
|
|
588
|
+
* Use `create(ConstantSchema)` to create a new message.
|
|
589
|
+
*/
|
|
590
|
+
export declare const ConstantSchema: GenMessage<Constant>;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Source information collected at parse time.
|
|
594
|
+
*
|
|
595
|
+
* @generated from message google.api.expr.v1alpha1.SourceInfo
|
|
596
|
+
*/
|
|
597
|
+
export declare type SourceInfo = Message<"google.api.expr.v1alpha1.SourceInfo"> & {
|
|
598
|
+
/**
|
|
599
|
+
* The syntax version of the source, e.g. `cel1`.
|
|
600
|
+
*
|
|
601
|
+
* @generated from field: string syntax_version = 1;
|
|
602
|
+
*/
|
|
603
|
+
syntaxVersion: string;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* The location name. All position information attached to an expression is
|
|
607
|
+
* relative to this location.
|
|
608
|
+
*
|
|
609
|
+
* The location could be a file, UI element, or similar. For example,
|
|
610
|
+
* `acme/app/AnvilPolicy.cel`.
|
|
611
|
+
*
|
|
612
|
+
* @generated from field: string location = 2;
|
|
613
|
+
*/
|
|
614
|
+
location: string;
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Monotonically increasing list of code point offsets where newlines
|
|
618
|
+
* `\n` appear.
|
|
619
|
+
*
|
|
620
|
+
* The line number of a given position is the index `i` where for a given
|
|
621
|
+
* `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
|
|
622
|
+
* column may be derivd from `id_positions[id] - line_offsets[i]`.
|
|
623
|
+
*
|
|
624
|
+
* @generated from field: repeated int32 line_offsets = 3;
|
|
625
|
+
*/
|
|
626
|
+
lineOffsets: number[];
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* A map from the parse node id (e.g. `Expr.id`) to the code point offset
|
|
630
|
+
* within the source.
|
|
631
|
+
*
|
|
632
|
+
* @generated from field: map<int64, int32> positions = 4;
|
|
633
|
+
*/
|
|
634
|
+
positions: { [key: string]: number };
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* A map from the parse node id where a macro replacement was made to the
|
|
638
|
+
* call `Expr` that resulted in a macro expansion.
|
|
639
|
+
*
|
|
640
|
+
* For example, `has(value.field)` is a function call that is replaced by a
|
|
641
|
+
* `test_only` field selection in the AST. Likewise, the call
|
|
642
|
+
* `list.exists(e, e > 10)` translates to a comprehension expression. The key
|
|
643
|
+
* in the map corresponds to the expression id of the expanded macro, and the
|
|
644
|
+
* value is the call `Expr` that was replaced.
|
|
645
|
+
*
|
|
646
|
+
* @generated from field: map<int64, google.api.expr.v1alpha1.Expr> macro_calls = 5;
|
|
647
|
+
*/
|
|
648
|
+
macroCalls: { [key: string]: Expr };
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Describes the message google.api.expr.v1alpha1.SourceInfo.
|
|
653
|
+
* Use `create(SourceInfoSchema)` to create a new message.
|
|
654
|
+
*/
|
|
655
|
+
export declare const SourceInfoSchema: GenMessage<SourceInfo>;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* A specific position in source.
|
|
659
|
+
*
|
|
660
|
+
* @generated from message google.api.expr.v1alpha1.SourcePosition
|
|
661
|
+
*/
|
|
662
|
+
export declare type SourcePosition = Message<"google.api.expr.v1alpha1.SourcePosition"> & {
|
|
663
|
+
/**
|
|
664
|
+
* The soucre location name (e.g. file name).
|
|
665
|
+
*
|
|
666
|
+
* @generated from field: string location = 1;
|
|
667
|
+
*/
|
|
668
|
+
location: string;
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* The UTF-8 code unit offset.
|
|
672
|
+
*
|
|
673
|
+
* @generated from field: int32 offset = 2;
|
|
674
|
+
*/
|
|
675
|
+
offset: number;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* The 1-based index of the starting line in the source text
|
|
679
|
+
* where the issue occurs, or 0 if unknown.
|
|
680
|
+
*
|
|
681
|
+
* @generated from field: int32 line = 3;
|
|
682
|
+
*/
|
|
683
|
+
line: number;
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* The 0-based index of the starting position within the line of source text
|
|
687
|
+
* where the issue occurs. Only meaningful if line is nonzero.
|
|
688
|
+
*
|
|
689
|
+
* @generated from field: int32 column = 4;
|
|
690
|
+
*/
|
|
691
|
+
column: number;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Describes the message google.api.expr.v1alpha1.SourcePosition.
|
|
696
|
+
* Use `create(SourcePositionSchema)` to create a new message.
|
|
697
|
+
*/
|
|
698
|
+
export declare const SourcePositionSchema: GenMessage<SourcePosition>;
|