@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,48 @@
|
|
|
1
|
+
// Copyright 2020 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/error_reason.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { enumDesc, fileDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the file google/api/error_reason.proto.
|
|
23
|
+
*/
|
|
24
|
+
export const file_google_api_error_reason = /*@__PURE__*/
|
|
25
|
+
fileDesc("Ch1nb29nbGUvYXBpL2Vycm9yX3JlYXNvbi5wcm90bxIKZ29vZ2xlLmFwaSrABgoLRXJyb3JSZWFzb24SHAoYRVJST1JfUkVBU09OX1VOU1BFQ0lGSUVEEAASFAoQU0VSVklDRV9ESVNBQkxFRBABEhQKEEJJTExJTkdfRElTQUJMRUQQAhITCg9BUElfS0VZX0lOVkFMSUQQAxIbChdBUElfS0VZX1NFUlZJQ0VfQkxPQ0tFRBAEEiEKHUFQSV9LRVlfSFRUUF9SRUZFUlJFUl9CTE9DS0VEEAcSHgoaQVBJX0tFWV9JUF9BRERSRVNTX0JMT0NLRUQQCBIfChtBUElfS0VZX0FORFJPSURfQVBQX0JMT0NLRUQQCRIbChdBUElfS0VZX0lPU19BUFBfQkxPQ0tFRBANEhcKE1JBVEVfTElNSVRfRVhDRUVERUQQBRIbChdSRVNPVVJDRV9RVU9UQV9FWENFRURFRBAGEiAKHExPQ0FUSU9OX1RBWF9QT0xJQ1lfVklPTEFURUQQChIXChNVU0VSX1BST0pFQ1RfREVOSUVEEAsSFgoSQ09OU1VNRVJfU1VTUEVOREVEEAwSFAoQQ09OU1VNRVJfSU5WQUxJRBAOEhwKGFNFQ1VSSVRZX1BPTElDWV9WSU9MQVRFRBAPEhgKFEFDQ0VTU19UT0tFTl9FWFBJUkVEEBASIwofQUNDRVNTX1RPS0VOX1NDT1BFX0lOU1VGRklDSUVOVBAREhkKFUFDQ09VTlRfU1RBVEVfSU5WQUxJRBASEiEKHUFDQ0VTU19UT0tFTl9UWVBFX1VOU1VQUE9SVEVEEBMSFwoTQ1JFREVOVElBTFNfTUlTU0lORxAUEhwKGFJFU09VUkNFX1BST0pFQ1RfSU5WQUxJRBAVEhoKFlNFU1NJT05fQ09PS0lFX0lOVkFMSUQQFxIZChVVU0VSX0JMT0NLRURfQllfQURNSU4QGBInCiNSRVNPVVJDRV9VU0FHRV9SRVNUUklDVElPTl9WSU9MQVRFRBAZEiAKHFNZU1RFTV9QQVJBTUVURVJfVU5TVVBQT1JURUQQGhIdChlPUkdfUkVTVFJJQ1RJT05fVklPTEFUSU9OEBsSIgoeT1JHX1JFU1RSSUNUSU9OX0hFQURFUl9JTlZBTElEEBxCcAoOY29tLmdvb2dsZS5hcGlCEEVycm9yUmVhc29uUHJvdG9QAVpDZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvZXJyb3JfcmVhc29uO2Vycm9yX3JlYXNvbqICBEdBUEliBnByb3RvMw");
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the enum google.api.ErrorReason.
|
|
29
|
+
*/
|
|
30
|
+
export const ErrorReasonSchema = /*@__PURE__*/
|
|
31
|
+
enumDesc(file_google_api_error_reason, 0);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Defines the supported values for `google.rpc.ErrorInfo.reason` for the
|
|
35
|
+
* `googleapis.com` error domain. This error domain is reserved for [Service
|
|
36
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure/docs/overview).
|
|
37
|
+
* For each error info of this domain, the metadata key "service" refers to the
|
|
38
|
+
* logical identifier of an API service, such as "pubsub.googleapis.com". The
|
|
39
|
+
* "consumer" refers to the entity that consumes an API Service. It typically is
|
|
40
|
+
* a Google project that owns the client application or the server resource,
|
|
41
|
+
* such as "projects/123". Other metadata keys are specific to each error
|
|
42
|
+
* reason. For more information, see the definition of the specific error
|
|
43
|
+
* reason.
|
|
44
|
+
*
|
|
45
|
+
* @generated from enum google.api.ErrorReason
|
|
46
|
+
*/
|
|
47
|
+
export const ErrorReason = /*@__PURE__*/
|
|
48
|
+
tsEnum(ErrorReasonSchema);
|
|
@@ -0,0 +1,71 @@
|
|
|
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-connect-es v1.7.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/expr/conformance/v1alpha1/conformance_service.proto (package google.api.expr.conformance.v1alpha1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CheckRequest, CheckResponse, EvalRequest, EvalResponse, ParseRequest, ParseResponse } from "./conformance_service_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Access a CEL implementation from another process or machine.
|
|
25
|
+
* A CEL implementation is decomposed as a parser, a static checker,
|
|
26
|
+
* and an evaluator. Every CEL implementation is expected to provide
|
|
27
|
+
* a server for this API. The API will be used for conformance testing
|
|
28
|
+
* and other utilities.
|
|
29
|
+
*
|
|
30
|
+
* @generated from service google.api.expr.conformance.v1alpha1.ConformanceService
|
|
31
|
+
*/
|
|
32
|
+
export declare const ConformanceService: {
|
|
33
|
+
readonly typeName: "google.api.expr.conformance.v1alpha1.ConformanceService",
|
|
34
|
+
readonly methods: {
|
|
35
|
+
/**
|
|
36
|
+
* Transforms CEL source text into a parsed representation.
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc google.api.expr.conformance.v1alpha1.ConformanceService.Parse
|
|
39
|
+
*/
|
|
40
|
+
readonly parse: {
|
|
41
|
+
readonly name: "Parse",
|
|
42
|
+
readonly I: typeof ParseRequest,
|
|
43
|
+
readonly O: typeof ParseResponse,
|
|
44
|
+
readonly kind: MethodKind.Unary,
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* Runs static checks on a parsed CEL representation and return
|
|
48
|
+
* an annotated representation, or a set of issues.
|
|
49
|
+
*
|
|
50
|
+
* @generated from rpc google.api.expr.conformance.v1alpha1.ConformanceService.Check
|
|
51
|
+
*/
|
|
52
|
+
readonly check: {
|
|
53
|
+
readonly name: "Check",
|
|
54
|
+
readonly I: typeof CheckRequest,
|
|
55
|
+
readonly O: typeof CheckResponse,
|
|
56
|
+
readonly kind: MethodKind.Unary,
|
|
57
|
+
},
|
|
58
|
+
/**
|
|
59
|
+
* Evaluates a parsed or annotation CEL representation given
|
|
60
|
+
* values of external bindings.
|
|
61
|
+
*
|
|
62
|
+
* @generated from rpc google.api.expr.conformance.v1alpha1.ConformanceService.Eval
|
|
63
|
+
*/
|
|
64
|
+
readonly eval: {
|
|
65
|
+
readonly name: "Eval",
|
|
66
|
+
readonly I: typeof EvalRequest,
|
|
67
|
+
readonly O: typeof EvalResponse,
|
|
68
|
+
readonly kind: MethodKind.Unary,
|
|
69
|
+
},
|
|
70
|
+
}
|
|
71
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
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-connect-es v1.7.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/expr/conformance/v1alpha1/conformance_service.proto (package google.api.expr.conformance.v1alpha1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CheckRequest, CheckResponse, EvalRequest, EvalResponse, ParseRequest, ParseResponse } from "./conformance_service_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Access a CEL implementation from another process or machine.
|
|
25
|
+
* A CEL implementation is decomposed as a parser, a static checker,
|
|
26
|
+
* and an evaluator. Every CEL implementation is expected to provide
|
|
27
|
+
* a server for this API. The API will be used for conformance testing
|
|
28
|
+
* and other utilities.
|
|
29
|
+
*
|
|
30
|
+
* @generated from service google.api.expr.conformance.v1alpha1.ConformanceService
|
|
31
|
+
*/
|
|
32
|
+
export const ConformanceService = {
|
|
33
|
+
typeName: "google.api.expr.conformance.v1alpha1.ConformanceService",
|
|
34
|
+
methods: {
|
|
35
|
+
/**
|
|
36
|
+
* Transforms CEL source text into a parsed representation.
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc google.api.expr.conformance.v1alpha1.ConformanceService.Parse
|
|
39
|
+
*/
|
|
40
|
+
parse: {
|
|
41
|
+
name: "Parse",
|
|
42
|
+
I: ParseRequest,
|
|
43
|
+
O: ParseResponse,
|
|
44
|
+
kind: MethodKind.Unary,
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* Runs static checks on a parsed CEL representation and return
|
|
48
|
+
* an annotated representation, or a set of issues.
|
|
49
|
+
*
|
|
50
|
+
* @generated from rpc google.api.expr.conformance.v1alpha1.ConformanceService.Check
|
|
51
|
+
*/
|
|
52
|
+
check: {
|
|
53
|
+
name: "Check",
|
|
54
|
+
I: CheckRequest,
|
|
55
|
+
O: CheckResponse,
|
|
56
|
+
kind: MethodKind.Unary,
|
|
57
|
+
},
|
|
58
|
+
/**
|
|
59
|
+
* Evaluates a parsed or annotation CEL representation given
|
|
60
|
+
* values of external bindings.
|
|
61
|
+
*
|
|
62
|
+
* @generated from rpc google.api.expr.conformance.v1alpha1.ConformanceService.Eval
|
|
63
|
+
*/
|
|
64
|
+
eval: {
|
|
65
|
+
name: "Eval",
|
|
66
|
+
I: EvalRequest,
|
|
67
|
+
O: EvalResponse,
|
|
68
|
+
kind: MethodKind.Unary,
|
|
69
|
+
},
|
|
70
|
+
}
|
|
71
|
+
};
|
|
@@ -0,0 +1,415 @@
|
|
|
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/conformance/v1alpha1/conformance_service.proto (package google.api.expr.conformance.v1alpha1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { ParsedExpr } from "../../v1alpha1/syntax_pb";
|
|
22
|
+
import type { Status } from "../../../../rpc/status_pb";
|
|
23
|
+
import type { CheckedExpr, Decl } from "../../v1alpha1/checked_pb";
|
|
24
|
+
import type { ExprValue } from "../../v1alpha1/eval_pb";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file google/api/expr/conformance/v1alpha1/conformance_service.proto.
|
|
28
|
+
*/
|
|
29
|
+
export declare const file_google_api_expr_conformance_v1alpha1_conformance_service: GenFile;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Request message for the Parse method.
|
|
33
|
+
*
|
|
34
|
+
* @generated from message google.api.expr.conformance.v1alpha1.ParseRequest
|
|
35
|
+
*/
|
|
36
|
+
export declare type ParseRequest = Message<"google.api.expr.conformance.v1alpha1.ParseRequest"> & {
|
|
37
|
+
/**
|
|
38
|
+
* Required. Source text in CEL syntax.
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: string cel_source = 1;
|
|
41
|
+
*/
|
|
42
|
+
celSource: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Tag for version of CEL syntax, for future use.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: string syntax_version = 2;
|
|
48
|
+
*/
|
|
49
|
+
syntaxVersion: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* File or resource for source text, used in [SourceInfo][google.api.SourceInfo].
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: string source_location = 3;
|
|
55
|
+
*/
|
|
56
|
+
sourceLocation: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Prevent macro expansion. See "Macros" in Language Defiinition.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: bool disable_macros = 4;
|
|
62
|
+
*/
|
|
63
|
+
disableMacros: boolean;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message google.api.expr.conformance.v1alpha1.ParseRequest.
|
|
68
|
+
* Use `create(ParseRequestSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export declare const ParseRequestSchema: GenMessage<ParseRequest>;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Response message for the Parse method.
|
|
74
|
+
*
|
|
75
|
+
* @generated from message google.api.expr.conformance.v1alpha1.ParseResponse
|
|
76
|
+
*/
|
|
77
|
+
export declare type ParseResponse = Message<"google.api.expr.conformance.v1alpha1.ParseResponse"> & {
|
|
78
|
+
/**
|
|
79
|
+
* The parsed representation, or unset if parsing failed.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1;
|
|
82
|
+
*/
|
|
83
|
+
parsedExpr?: ParsedExpr;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Any number of issues with [StatusDetails][] as the details.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: repeated google.rpc.Status issues = 2;
|
|
89
|
+
*/
|
|
90
|
+
issues: Status[];
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message google.api.expr.conformance.v1alpha1.ParseResponse.
|
|
95
|
+
* Use `create(ParseResponseSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export declare const ParseResponseSchema: GenMessage<ParseResponse>;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Request message for the Check method.
|
|
101
|
+
*
|
|
102
|
+
* @generated from message google.api.expr.conformance.v1alpha1.CheckRequest
|
|
103
|
+
*/
|
|
104
|
+
export declare type CheckRequest = Message<"google.api.expr.conformance.v1alpha1.CheckRequest"> & {
|
|
105
|
+
/**
|
|
106
|
+
* Required. The parsed representation of the CEL program.
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1;
|
|
109
|
+
*/
|
|
110
|
+
parsedExpr?: ParsedExpr;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Declarations of types for external variables and functions.
|
|
114
|
+
* Required if program uses external variables or functions
|
|
115
|
+
* not in the default environment.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Decl type_env = 2;
|
|
118
|
+
*/
|
|
119
|
+
typeEnv: Decl[];
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* The protocol buffer context. See "Name Resolution" in the
|
|
123
|
+
* Language Definition.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: string container = 3;
|
|
126
|
+
*/
|
|
127
|
+
container: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* If true, use only the declarations in [type_env][google.api.expr.conformance.v1alpha1.CheckRequest.type_env]. If false (default),
|
|
131
|
+
* add declarations for the standard definitions to the type environment. See
|
|
132
|
+
* "Standard Definitions" in the Language Definition.
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: bool no_std_env = 4;
|
|
135
|
+
*/
|
|
136
|
+
noStdEnv: boolean;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message google.api.expr.conformance.v1alpha1.CheckRequest.
|
|
141
|
+
* Use `create(CheckRequestSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export declare const CheckRequestSchema: GenMessage<CheckRequest>;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Response message for the Check method.
|
|
147
|
+
*
|
|
148
|
+
* @generated from message google.api.expr.conformance.v1alpha1.CheckResponse
|
|
149
|
+
*/
|
|
150
|
+
export declare type CheckResponse = Message<"google.api.expr.conformance.v1alpha1.CheckResponse"> & {
|
|
151
|
+
/**
|
|
152
|
+
* The annotated representation, or unset if checking failed.
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: google.api.expr.v1alpha1.CheckedExpr checked_expr = 1;
|
|
155
|
+
*/
|
|
156
|
+
checkedExpr?: CheckedExpr;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Any number of issues with [StatusDetails][] as the details.
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: repeated google.rpc.Status issues = 2;
|
|
162
|
+
*/
|
|
163
|
+
issues: Status[];
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message google.api.expr.conformance.v1alpha1.CheckResponse.
|
|
168
|
+
* Use `create(CheckResponseSchema)` to create a new message.
|
|
169
|
+
*/
|
|
170
|
+
export declare const CheckResponseSchema: GenMessage<CheckResponse>;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Request message for the Eval method.
|
|
174
|
+
*
|
|
175
|
+
* @generated from message google.api.expr.conformance.v1alpha1.EvalRequest
|
|
176
|
+
*/
|
|
177
|
+
export declare type EvalRequest = Message<"google.api.expr.conformance.v1alpha1.EvalRequest"> & {
|
|
178
|
+
/**
|
|
179
|
+
* Required. Either the parsed or annotated representation of the CEL program.
|
|
180
|
+
*
|
|
181
|
+
* @generated from oneof google.api.expr.conformance.v1alpha1.EvalRequest.expr_kind
|
|
182
|
+
*/
|
|
183
|
+
exprKind: {
|
|
184
|
+
/**
|
|
185
|
+
* Evaluate based on the parsed representation.
|
|
186
|
+
*
|
|
187
|
+
* @generated from field: google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1;
|
|
188
|
+
*/
|
|
189
|
+
value: ParsedExpr;
|
|
190
|
+
case: "parsedExpr";
|
|
191
|
+
} | {
|
|
192
|
+
/**
|
|
193
|
+
* Evaluate based on the checked representation.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: google.api.expr.v1alpha1.CheckedExpr checked_expr = 2;
|
|
196
|
+
*/
|
|
197
|
+
value: CheckedExpr;
|
|
198
|
+
case: "checkedExpr";
|
|
199
|
+
} | { case: undefined; value?: undefined };
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Bindings for the external variables. The types SHOULD be compatible
|
|
203
|
+
* with the type environment in [CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest], if checked.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: map<string, google.api.expr.v1alpha1.ExprValue> bindings = 3;
|
|
206
|
+
*/
|
|
207
|
+
bindings: { [key: string]: ExprValue };
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* SHOULD be the same container as used in [CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest], if checked.
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string container = 4;
|
|
213
|
+
*/
|
|
214
|
+
container: string;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Describes the message google.api.expr.conformance.v1alpha1.EvalRequest.
|
|
219
|
+
* Use `create(EvalRequestSchema)` to create a new message.
|
|
220
|
+
*/
|
|
221
|
+
export declare const EvalRequestSchema: GenMessage<EvalRequest>;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Response message for the Eval method.
|
|
225
|
+
*
|
|
226
|
+
* @generated from message google.api.expr.conformance.v1alpha1.EvalResponse
|
|
227
|
+
*/
|
|
228
|
+
export declare type EvalResponse = Message<"google.api.expr.conformance.v1alpha1.EvalResponse"> & {
|
|
229
|
+
/**
|
|
230
|
+
* The execution result, or unset if execution couldn't start.
|
|
231
|
+
*
|
|
232
|
+
* @generated from field: google.api.expr.v1alpha1.ExprValue result = 1;
|
|
233
|
+
*/
|
|
234
|
+
result?: ExprValue;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Any number of issues with [StatusDetails][] as the details.
|
|
238
|
+
* Note that CEL execution errors are reified into [ExprValue][].
|
|
239
|
+
* Nevertheless, we'll allow out-of-band issues to be raised,
|
|
240
|
+
* which also makes the replies more regular.
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: repeated google.rpc.Status issues = 2;
|
|
243
|
+
*/
|
|
244
|
+
issues: Status[];
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Describes the message google.api.expr.conformance.v1alpha1.EvalResponse.
|
|
249
|
+
* Use `create(EvalResponseSchema)` to create a new message.
|
|
250
|
+
*/
|
|
251
|
+
export declare const EvalResponseSchema: GenMessage<EvalResponse>;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* A specific position in source.
|
|
255
|
+
*
|
|
256
|
+
* @generated from message google.api.expr.conformance.v1alpha1.SourcePosition
|
|
257
|
+
*/
|
|
258
|
+
export declare type SourcePosition = Message<"google.api.expr.conformance.v1alpha1.SourcePosition"> & {
|
|
259
|
+
/**
|
|
260
|
+
* The source location name (e.g. file name).
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: string location = 1;
|
|
263
|
+
*/
|
|
264
|
+
location: string;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* The UTF-8 code unit offset.
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: int32 offset = 2;
|
|
270
|
+
*/
|
|
271
|
+
offset: number;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* The 1-based index of the starting line in the source text
|
|
275
|
+
* where the issue occurs, or 0 if unknown.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: int32 line = 3;
|
|
278
|
+
*/
|
|
279
|
+
line: number;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* The 0-based index of the starting position within the line of source text
|
|
283
|
+
* where the issue occurs. Only meaningful if line is nonzero.
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: int32 column = 4;
|
|
286
|
+
*/
|
|
287
|
+
column: number;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Describes the message google.api.expr.conformance.v1alpha1.SourcePosition.
|
|
292
|
+
* Use `create(SourcePositionSchema)` to create a new message.
|
|
293
|
+
*/
|
|
294
|
+
export declare const SourcePositionSchema: GenMessage<SourcePosition>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Warnings or errors in service execution are represented by
|
|
298
|
+
* [google.rpc.Status][google.rpc.Status] messages, with the following message
|
|
299
|
+
* in the details field.
|
|
300
|
+
*
|
|
301
|
+
* @generated from message google.api.expr.conformance.v1alpha1.IssueDetails
|
|
302
|
+
*/
|
|
303
|
+
export declare type IssueDetails = Message<"google.api.expr.conformance.v1alpha1.IssueDetails"> & {
|
|
304
|
+
/**
|
|
305
|
+
* The severity of the issue.
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: google.api.expr.conformance.v1alpha1.IssueDetails.Severity severity = 1;
|
|
308
|
+
*/
|
|
309
|
+
severity: IssueDetails_Severity;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Position in the source, if known.
|
|
313
|
+
*
|
|
314
|
+
* @generated from field: google.api.expr.conformance.v1alpha1.SourcePosition position = 2;
|
|
315
|
+
*/
|
|
316
|
+
position?: SourcePosition;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Expression ID from [Expr][], 0 if unknown.
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: int64 id = 3;
|
|
322
|
+
*/
|
|
323
|
+
id: bigint;
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Describes the message google.api.expr.conformance.v1alpha1.IssueDetails.
|
|
328
|
+
* Use `create(IssueDetailsSchema)` to create a new message.
|
|
329
|
+
*/
|
|
330
|
+
export declare const IssueDetailsSchema: GenMessage<IssueDetails>;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Severities of issues.
|
|
334
|
+
*
|
|
335
|
+
* @generated from enum google.api.expr.conformance.v1alpha1.IssueDetails.Severity
|
|
336
|
+
*/
|
|
337
|
+
export enum IssueDetails_Severity {
|
|
338
|
+
/**
|
|
339
|
+
* An unspecified severity.
|
|
340
|
+
*
|
|
341
|
+
* @generated from enum value: SEVERITY_UNSPECIFIED = 0;
|
|
342
|
+
*/
|
|
343
|
+
SEVERITY_UNSPECIFIED = 0,
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Deprecation issue for statements and method that may no longer be
|
|
347
|
+
* supported or maintained.
|
|
348
|
+
*
|
|
349
|
+
* @generated from enum value: DEPRECATION = 1;
|
|
350
|
+
*/
|
|
351
|
+
DEPRECATION = 1,
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Warnings such as: unused variables.
|
|
355
|
+
*
|
|
356
|
+
* @generated from enum value: WARNING = 2;
|
|
357
|
+
*/
|
|
358
|
+
WARNING = 2,
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Errors such as: unmatched curly braces or variable redefinition.
|
|
362
|
+
*
|
|
363
|
+
* @generated from enum value: ERROR = 3;
|
|
364
|
+
*/
|
|
365
|
+
ERROR = 3,
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Describes the enum google.api.expr.conformance.v1alpha1.IssueDetails.Severity.
|
|
370
|
+
*/
|
|
371
|
+
export declare const IssueDetails_SeveritySchema: GenEnum<IssueDetails_Severity>;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Access a CEL implementation from another process or machine.
|
|
375
|
+
* A CEL implementation is decomposed as a parser, a static checker,
|
|
376
|
+
* and an evaluator. Every CEL implementation is expected to provide
|
|
377
|
+
* a server for this API. The API will be used for conformance testing
|
|
378
|
+
* and other utilities.
|
|
379
|
+
*
|
|
380
|
+
* @generated from service google.api.expr.conformance.v1alpha1.ConformanceService
|
|
381
|
+
*/
|
|
382
|
+
export declare const ConformanceService: GenService<{
|
|
383
|
+
/**
|
|
384
|
+
* Transforms CEL source text into a parsed representation.
|
|
385
|
+
*
|
|
386
|
+
* @generated from rpc google.api.expr.conformance.v1alpha1.ConformanceService.Parse
|
|
387
|
+
*/
|
|
388
|
+
parse: {
|
|
389
|
+
methodKind: "unary";
|
|
390
|
+
input: typeof ParseRequestSchema;
|
|
391
|
+
output: typeof ParseResponseSchema;
|
|
392
|
+
},
|
|
393
|
+
/**
|
|
394
|
+
* Runs static checks on a parsed CEL representation and return
|
|
395
|
+
* an annotated representation, or a set of issues.
|
|
396
|
+
*
|
|
397
|
+
* @generated from rpc google.api.expr.conformance.v1alpha1.ConformanceService.Check
|
|
398
|
+
*/
|
|
399
|
+
check: {
|
|
400
|
+
methodKind: "unary";
|
|
401
|
+
input: typeof CheckRequestSchema;
|
|
402
|
+
output: typeof CheckResponseSchema;
|
|
403
|
+
},
|
|
404
|
+
/**
|
|
405
|
+
* Evaluates a parsed or annotation CEL representation given
|
|
406
|
+
* values of external bindings.
|
|
407
|
+
*
|
|
408
|
+
* @generated from rpc google.api.expr.conformance.v1alpha1.ConformanceService.Eval
|
|
409
|
+
*/
|
|
410
|
+
eval: {
|
|
411
|
+
methodKind: "unary";
|
|
412
|
+
input: typeof EvalRequestSchema;
|
|
413
|
+
output: typeof EvalResponseSchema;
|
|
414
|
+
},
|
|
415
|
+
}>;
|