@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,2589 @@
|
|
|
1
|
+
// Protocol Buffers - Google's data interchange format
|
|
2
|
+
// Copyright 2008 Google Inc. All rights reserved.
|
|
3
|
+
// https://developers.google.com/protocol-buffers/
|
|
4
|
+
//
|
|
5
|
+
// Redistribution and use in source and binary forms, with or without
|
|
6
|
+
// modification, are permitted provided that the following conditions are
|
|
7
|
+
// met:
|
|
8
|
+
//
|
|
9
|
+
// * Redistributions of source code must retain the above copyright
|
|
10
|
+
// notice, this list of conditions and the following disclaimer.
|
|
11
|
+
// * Redistributions in binary form must reproduce the above
|
|
12
|
+
// copyright notice, this list of conditions and the following disclaimer
|
|
13
|
+
// in the documentation and/or other materials provided with the
|
|
14
|
+
// distribution.
|
|
15
|
+
// * Neither the name of Google Inc. nor the names of its
|
|
16
|
+
// contributors may be used to endorse or promote products derived from
|
|
17
|
+
// this software without specific prior written permission.
|
|
18
|
+
//
|
|
19
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
20
|
+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
21
|
+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
22
|
+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
23
|
+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
24
|
+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
25
|
+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
26
|
+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
27
|
+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
|
|
31
|
+
// Author: kenton@google.com (Kenton Varda)
|
|
32
|
+
// Based on original Protocol Buffers design by
|
|
33
|
+
// Sanjay Ghemawat, Jeff Dean, and others.
|
|
34
|
+
//
|
|
35
|
+
// The messages in this file describe the definitions found in .proto files.
|
|
36
|
+
// A valid .proto file can be translated directly to a FileDescriptorProto
|
|
37
|
+
// without any other information (e.g. without reading its imports).
|
|
38
|
+
|
|
39
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
40
|
+
// @generated from file google/protobuf/descriptor.proto (package google.protobuf, syntax proto2)
|
|
41
|
+
/* eslint-disable */
|
|
42
|
+
|
|
43
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
44
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the file google/protobuf/descriptor.proto.
|
|
48
|
+
*/
|
|
49
|
+
export declare const file_google_protobuf_descriptor: GenFile;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
53
|
+
* files it parses.
|
|
54
|
+
*
|
|
55
|
+
* @generated from message google.protobuf.FileDescriptorSet
|
|
56
|
+
*/
|
|
57
|
+
export declare type FileDescriptorSet = Message<"google.protobuf.FileDescriptorSet"> & {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: repeated google.protobuf.FileDescriptorProto file = 1;
|
|
60
|
+
*/
|
|
61
|
+
file: FileDescriptorProto[];
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message google.protobuf.FileDescriptorSet.
|
|
66
|
+
* Use `create(FileDescriptorSetSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const FileDescriptorSetSchema: GenMessage<FileDescriptorSet>;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes a complete .proto file.
|
|
72
|
+
*
|
|
73
|
+
* @generated from message google.protobuf.FileDescriptorProto
|
|
74
|
+
*/
|
|
75
|
+
export declare type FileDescriptorProto = Message<"google.protobuf.FileDescriptorProto"> & {
|
|
76
|
+
/**
|
|
77
|
+
* file name, relative to root of source tree
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: optional string name = 1;
|
|
80
|
+
*/
|
|
81
|
+
name: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* e.g. "foo", "foo.bar", etc.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: optional string package = 2;
|
|
87
|
+
*/
|
|
88
|
+
package: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Names of files imported by this file.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: repeated string dependency = 3;
|
|
94
|
+
*/
|
|
95
|
+
dependency: string[];
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Indexes of the public imported files in the dependency list above.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: repeated int32 public_dependency = 10;
|
|
101
|
+
*/
|
|
102
|
+
publicDependency: number[];
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Indexes of the weak imported files in the dependency list.
|
|
106
|
+
* For Google-internal migration only. Do not use.
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: repeated int32 weak_dependency = 11;
|
|
109
|
+
*/
|
|
110
|
+
weakDependency: number[];
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* All top-level definitions in this file.
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: repeated google.protobuf.DescriptorProto message_type = 4;
|
|
116
|
+
*/
|
|
117
|
+
messageType: DescriptorProto[];
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5;
|
|
121
|
+
*/
|
|
122
|
+
enumType: EnumDescriptorProto[];
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6;
|
|
126
|
+
*/
|
|
127
|
+
service: ServiceDescriptorProto[];
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7;
|
|
131
|
+
*/
|
|
132
|
+
extension: FieldDescriptorProto[];
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: optional google.protobuf.FileOptions options = 8;
|
|
136
|
+
*/
|
|
137
|
+
options?: FileOptions;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* This field contains optional information about the original source code.
|
|
141
|
+
* You may safely remove this entire field without harming runtime
|
|
142
|
+
* functionality of the descriptors -- the information is needed only by
|
|
143
|
+
* development tools.
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: optional google.protobuf.SourceCodeInfo source_code_info = 9;
|
|
146
|
+
*/
|
|
147
|
+
sourceCodeInfo?: SourceCodeInfo;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* The syntax of the proto file.
|
|
151
|
+
* The supported values are "proto2", "proto3", and "editions".
|
|
152
|
+
*
|
|
153
|
+
* If `edition` is present, this value must be "editions".
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: optional string syntax = 12;
|
|
156
|
+
*/
|
|
157
|
+
syntax: string;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* The edition of the proto file.
|
|
161
|
+
*
|
|
162
|
+
* @generated from field: optional google.protobuf.Edition edition = 14;
|
|
163
|
+
*/
|
|
164
|
+
edition: Edition;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Describes the message google.protobuf.FileDescriptorProto.
|
|
169
|
+
* Use `create(FileDescriptorProtoSchema)` to create a new message.
|
|
170
|
+
*/
|
|
171
|
+
export declare const FileDescriptorProtoSchema: GenMessage<FileDescriptorProto>;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Describes a message type.
|
|
175
|
+
*
|
|
176
|
+
* @generated from message google.protobuf.DescriptorProto
|
|
177
|
+
*/
|
|
178
|
+
export declare type DescriptorProto = Message<"google.protobuf.DescriptorProto"> & {
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: optional string name = 1;
|
|
181
|
+
*/
|
|
182
|
+
name: string;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2;
|
|
186
|
+
*/
|
|
187
|
+
field: FieldDescriptorProto[];
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6;
|
|
191
|
+
*/
|
|
192
|
+
extension: FieldDescriptorProto[];
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3;
|
|
196
|
+
*/
|
|
197
|
+
nestedType: DescriptorProto[];
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4;
|
|
201
|
+
*/
|
|
202
|
+
enumType: EnumDescriptorProto[];
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
|
|
206
|
+
*/
|
|
207
|
+
extensionRange: DescriptorProto_ExtensionRange[];
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8;
|
|
211
|
+
*/
|
|
212
|
+
oneofDecl: OneofDescriptorProto[];
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: optional google.protobuf.MessageOptions options = 7;
|
|
216
|
+
*/
|
|
217
|
+
options?: MessageOptions;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
|
|
221
|
+
*/
|
|
222
|
+
reservedRange: DescriptorProto_ReservedRange[];
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Reserved field names, which may not be used by fields in the same message.
|
|
226
|
+
* A given name may only be reserved once.
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: repeated string reserved_name = 10;
|
|
229
|
+
*/
|
|
230
|
+
reservedName: string[];
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message google.protobuf.DescriptorProto.
|
|
235
|
+
* Use `create(DescriptorProtoSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export declare const DescriptorProtoSchema: GenMessage<DescriptorProto>;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @generated from message google.protobuf.DescriptorProto.ExtensionRange
|
|
241
|
+
*/
|
|
242
|
+
export declare type DescriptorProto_ExtensionRange = Message<"google.protobuf.DescriptorProto.ExtensionRange"> & {
|
|
243
|
+
/**
|
|
244
|
+
* Inclusive.
|
|
245
|
+
*
|
|
246
|
+
* @generated from field: optional int32 start = 1;
|
|
247
|
+
*/
|
|
248
|
+
start: number;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Exclusive.
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: optional int32 end = 2;
|
|
254
|
+
*/
|
|
255
|
+
end: number;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: optional google.protobuf.ExtensionRangeOptions options = 3;
|
|
259
|
+
*/
|
|
260
|
+
options?: ExtensionRangeOptions;
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Describes the message google.protobuf.DescriptorProto.ExtensionRange.
|
|
265
|
+
* Use `create(DescriptorProto_ExtensionRangeSchema)` to create a new message.
|
|
266
|
+
*/
|
|
267
|
+
export declare const DescriptorProto_ExtensionRangeSchema: GenMessage<DescriptorProto_ExtensionRange>;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Range of reserved tag numbers. Reserved tag numbers may not be used by
|
|
271
|
+
* fields or extension ranges in the same message. Reserved ranges may
|
|
272
|
+
* not overlap.
|
|
273
|
+
*
|
|
274
|
+
* @generated from message google.protobuf.DescriptorProto.ReservedRange
|
|
275
|
+
*/
|
|
276
|
+
export declare type DescriptorProto_ReservedRange = Message<"google.protobuf.DescriptorProto.ReservedRange"> & {
|
|
277
|
+
/**
|
|
278
|
+
* Inclusive.
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: optional int32 start = 1;
|
|
281
|
+
*/
|
|
282
|
+
start: number;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Exclusive.
|
|
286
|
+
*
|
|
287
|
+
* @generated from field: optional int32 end = 2;
|
|
288
|
+
*/
|
|
289
|
+
end: number;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Describes the message google.protobuf.DescriptorProto.ReservedRange.
|
|
294
|
+
* Use `create(DescriptorProto_ReservedRangeSchema)` to create a new message.
|
|
295
|
+
*/
|
|
296
|
+
export declare const DescriptorProto_ReservedRangeSchema: GenMessage<DescriptorProto_ReservedRange>;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @generated from message google.protobuf.ExtensionRangeOptions
|
|
300
|
+
*/
|
|
301
|
+
export declare type ExtensionRangeOptions = Message<"google.protobuf.ExtensionRangeOptions"> & {
|
|
302
|
+
/**
|
|
303
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
304
|
+
*
|
|
305
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
306
|
+
*/
|
|
307
|
+
uninterpretedOption: UninterpretedOption[];
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* For external users: DO NOT USE. We are in the process of open sourcing
|
|
311
|
+
* extension declaration and executing internal cleanups before it can be
|
|
312
|
+
* used externally.
|
|
313
|
+
*
|
|
314
|
+
* @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2;
|
|
315
|
+
*/
|
|
316
|
+
declaration: ExtensionRangeOptions_Declaration[];
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Any features defined in the specific edition.
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 50;
|
|
322
|
+
*/
|
|
323
|
+
features?: FeatureSet;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* The verification state of the range.
|
|
327
|
+
* TODO: flip the default to DECLARATION once all empty ranges
|
|
328
|
+
* are marked as UNVERIFIED.
|
|
329
|
+
*
|
|
330
|
+
* @generated from field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED];
|
|
331
|
+
*/
|
|
332
|
+
verification: ExtensionRangeOptions_VerificationState;
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Describes the message google.protobuf.ExtensionRangeOptions.
|
|
337
|
+
* Use `create(ExtensionRangeOptionsSchema)` to create a new message.
|
|
338
|
+
*/
|
|
339
|
+
export declare const ExtensionRangeOptionsSchema: GenMessage<ExtensionRangeOptions>;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @generated from message google.protobuf.ExtensionRangeOptions.Declaration
|
|
343
|
+
*/
|
|
344
|
+
export declare type ExtensionRangeOptions_Declaration = Message<"google.protobuf.ExtensionRangeOptions.Declaration"> & {
|
|
345
|
+
/**
|
|
346
|
+
* The extension number declared within the extension range.
|
|
347
|
+
*
|
|
348
|
+
* @generated from field: optional int32 number = 1;
|
|
349
|
+
*/
|
|
350
|
+
number: number;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* The fully-qualified name of the extension field. There must be a leading
|
|
354
|
+
* dot in front of the full name.
|
|
355
|
+
*
|
|
356
|
+
* @generated from field: optional string full_name = 2;
|
|
357
|
+
*/
|
|
358
|
+
fullName: string;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* The fully-qualified type name of the extension field. Unlike
|
|
362
|
+
* Metadata.type, Declaration.type must have a leading dot for messages
|
|
363
|
+
* and enums.
|
|
364
|
+
*
|
|
365
|
+
* @generated from field: optional string type = 3;
|
|
366
|
+
*/
|
|
367
|
+
type: string;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* If true, indicates that the number is reserved in the extension range,
|
|
371
|
+
* and any extension field with the number will fail to compile. Set this
|
|
372
|
+
* when a declared extension field is deleted.
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: optional bool reserved = 5;
|
|
375
|
+
*/
|
|
376
|
+
reserved: boolean;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* If true, indicates that the extension must be defined as repeated.
|
|
380
|
+
* Otherwise the extension must be defined as optional.
|
|
381
|
+
*
|
|
382
|
+
* @generated from field: optional bool repeated = 6;
|
|
383
|
+
*/
|
|
384
|
+
repeated: boolean;
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Describes the message google.protobuf.ExtensionRangeOptions.Declaration.
|
|
389
|
+
* Use `create(ExtensionRangeOptions_DeclarationSchema)` to create a new message.
|
|
390
|
+
*/
|
|
391
|
+
export declare const ExtensionRangeOptions_DeclarationSchema: GenMessage<ExtensionRangeOptions_Declaration>;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* The verification state of the extension range.
|
|
395
|
+
*
|
|
396
|
+
* @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState
|
|
397
|
+
*/
|
|
398
|
+
export enum ExtensionRangeOptions_VerificationState {
|
|
399
|
+
/**
|
|
400
|
+
* All the extensions of the range must be declared.
|
|
401
|
+
*
|
|
402
|
+
* @generated from enum value: DECLARATION = 0;
|
|
403
|
+
*/
|
|
404
|
+
DECLARATION = 0,
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @generated from enum value: UNVERIFIED = 1;
|
|
408
|
+
*/
|
|
409
|
+
UNVERIFIED = 1,
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Describes the enum google.protobuf.ExtensionRangeOptions.VerificationState.
|
|
414
|
+
*/
|
|
415
|
+
export declare const ExtensionRangeOptions_VerificationStateSchema: GenEnum<ExtensionRangeOptions_VerificationState>;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Describes a field within a message.
|
|
419
|
+
*
|
|
420
|
+
* @generated from message google.protobuf.FieldDescriptorProto
|
|
421
|
+
*/
|
|
422
|
+
export declare type FieldDescriptorProto = Message<"google.protobuf.FieldDescriptorProto"> & {
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: optional string name = 1;
|
|
425
|
+
*/
|
|
426
|
+
name: string;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: optional int32 number = 3;
|
|
430
|
+
*/
|
|
431
|
+
number: number;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: optional google.protobuf.FieldDescriptorProto.Label label = 4;
|
|
435
|
+
*/
|
|
436
|
+
label: FieldDescriptorProto_Label;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* If type_name is set, this need not be set. If both this and type_name
|
|
440
|
+
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
|
441
|
+
*
|
|
442
|
+
* @generated from field: optional google.protobuf.FieldDescriptorProto.Type type = 5;
|
|
443
|
+
*/
|
|
444
|
+
type: FieldDescriptorProto_Type;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* For message and enum types, this is the name of the type. If the name
|
|
448
|
+
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
|
449
|
+
* rules are used to find the type (i.e. first the nested types within this
|
|
450
|
+
* message are searched, then within the parent, on up to the root
|
|
451
|
+
* namespace).
|
|
452
|
+
*
|
|
453
|
+
* @generated from field: optional string type_name = 6;
|
|
454
|
+
*/
|
|
455
|
+
typeName: string;
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* For extensions, this is the name of the type being extended. It is
|
|
459
|
+
* resolved in the same manner as type_name.
|
|
460
|
+
*
|
|
461
|
+
* @generated from field: optional string extendee = 2;
|
|
462
|
+
*/
|
|
463
|
+
extendee: string;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* For numeric types, contains the original text representation of the value.
|
|
467
|
+
* For booleans, "true" or "false".
|
|
468
|
+
* For strings, contains the default text contents (not escaped in any way).
|
|
469
|
+
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
|
470
|
+
*
|
|
471
|
+
* @generated from field: optional string default_value = 7;
|
|
472
|
+
*/
|
|
473
|
+
defaultValue: string;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* If set, gives the index of a oneof in the containing type's oneof_decl
|
|
477
|
+
* list. This field is a member of that oneof.
|
|
478
|
+
*
|
|
479
|
+
* @generated from field: optional int32 oneof_index = 9;
|
|
480
|
+
*/
|
|
481
|
+
oneofIndex: number;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* JSON name of this field. The value is set by protocol compiler. If the
|
|
485
|
+
* user has set a "json_name" option on this field, that option's value
|
|
486
|
+
* will be used. Otherwise, it's deduced from the field's name by converting
|
|
487
|
+
* it to camelCase.
|
|
488
|
+
*
|
|
489
|
+
* @generated from field: optional string json_name = 10;
|
|
490
|
+
*/
|
|
491
|
+
jsonName: string;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* @generated from field: optional google.protobuf.FieldOptions options = 8;
|
|
495
|
+
*/
|
|
496
|
+
options?: FieldOptions;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* If true, this is a proto3 "optional". When a proto3 field is optional, it
|
|
500
|
+
* tracks presence regardless of field type.
|
|
501
|
+
*
|
|
502
|
+
* When proto3_optional is true, this field must belong to a oneof to signal
|
|
503
|
+
* to old proto3 clients that presence is tracked for this field. This oneof
|
|
504
|
+
* is known as a "synthetic" oneof, and this field must be its sole member
|
|
505
|
+
* (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
|
|
506
|
+
* exist in the descriptor only, and do not generate any API. Synthetic oneofs
|
|
507
|
+
* must be ordered after all "real" oneofs.
|
|
508
|
+
*
|
|
509
|
+
* For message fields, proto3_optional doesn't create any semantic change,
|
|
510
|
+
* since non-repeated message fields always track presence. However it still
|
|
511
|
+
* indicates the semantic detail of whether the user wrote "optional" or not.
|
|
512
|
+
* This can be useful for round-tripping the .proto file. For consistency we
|
|
513
|
+
* give message fields a synthetic oneof also, even though it is not required
|
|
514
|
+
* to track presence. This is especially important because the parser can't
|
|
515
|
+
* tell if a field is a message or an enum, so it must always create a
|
|
516
|
+
* synthetic oneof.
|
|
517
|
+
*
|
|
518
|
+
* Proto2 optional fields do not set this flag, because they already indicate
|
|
519
|
+
* optional with `LABEL_OPTIONAL`.
|
|
520
|
+
*
|
|
521
|
+
* @generated from field: optional bool proto3_optional = 17;
|
|
522
|
+
*/
|
|
523
|
+
proto3Optional: boolean;
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Describes the message google.protobuf.FieldDescriptorProto.
|
|
528
|
+
* Use `create(FieldDescriptorProtoSchema)` to create a new message.
|
|
529
|
+
*/
|
|
530
|
+
export declare const FieldDescriptorProtoSchema: GenMessage<FieldDescriptorProto>;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* @generated from enum google.protobuf.FieldDescriptorProto.Type
|
|
534
|
+
*/
|
|
535
|
+
export enum FieldDescriptorProto_Type {
|
|
536
|
+
/**
|
|
537
|
+
* 0 is reserved for errors.
|
|
538
|
+
* Order is weird for historical reasons.
|
|
539
|
+
*
|
|
540
|
+
* @generated from enum value: TYPE_DOUBLE = 1;
|
|
541
|
+
*/
|
|
542
|
+
DOUBLE = 1,
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* @generated from enum value: TYPE_FLOAT = 2;
|
|
546
|
+
*/
|
|
547
|
+
FLOAT = 2,
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
|
551
|
+
* negative values are likely.
|
|
552
|
+
*
|
|
553
|
+
* @generated from enum value: TYPE_INT64 = 3;
|
|
554
|
+
*/
|
|
555
|
+
INT64 = 3,
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* @generated from enum value: TYPE_UINT64 = 4;
|
|
559
|
+
*/
|
|
560
|
+
UINT64 = 4,
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
|
564
|
+
* negative values are likely.
|
|
565
|
+
*
|
|
566
|
+
* @generated from enum value: TYPE_INT32 = 5;
|
|
567
|
+
*/
|
|
568
|
+
INT32 = 5,
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* @generated from enum value: TYPE_FIXED64 = 6;
|
|
572
|
+
*/
|
|
573
|
+
FIXED64 = 6,
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* @generated from enum value: TYPE_FIXED32 = 7;
|
|
577
|
+
*/
|
|
578
|
+
FIXED32 = 7,
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* @generated from enum value: TYPE_BOOL = 8;
|
|
582
|
+
*/
|
|
583
|
+
BOOL = 8,
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* @generated from enum value: TYPE_STRING = 9;
|
|
587
|
+
*/
|
|
588
|
+
STRING = 9,
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Tag-delimited aggregate.
|
|
592
|
+
* Group type is deprecated and not supported after google.protobuf. However, Proto3
|
|
593
|
+
* implementations should still be able to parse the group wire format and
|
|
594
|
+
* treat group fields as unknown fields. In Editions, the group wire format
|
|
595
|
+
* can be enabled via the `message_encoding` feature.
|
|
596
|
+
*
|
|
597
|
+
* @generated from enum value: TYPE_GROUP = 10;
|
|
598
|
+
*/
|
|
599
|
+
GROUP = 10,
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Length-delimited aggregate.
|
|
603
|
+
*
|
|
604
|
+
* @generated from enum value: TYPE_MESSAGE = 11;
|
|
605
|
+
*/
|
|
606
|
+
MESSAGE = 11,
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* New in version 2.
|
|
610
|
+
*
|
|
611
|
+
* @generated from enum value: TYPE_BYTES = 12;
|
|
612
|
+
*/
|
|
613
|
+
BYTES = 12,
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* @generated from enum value: TYPE_UINT32 = 13;
|
|
617
|
+
*/
|
|
618
|
+
UINT32 = 13,
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* @generated from enum value: TYPE_ENUM = 14;
|
|
622
|
+
*/
|
|
623
|
+
ENUM = 14,
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* @generated from enum value: TYPE_SFIXED32 = 15;
|
|
627
|
+
*/
|
|
628
|
+
SFIXED32 = 15,
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* @generated from enum value: TYPE_SFIXED64 = 16;
|
|
632
|
+
*/
|
|
633
|
+
SFIXED64 = 16,
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Uses ZigZag encoding.
|
|
637
|
+
*
|
|
638
|
+
* @generated from enum value: TYPE_SINT32 = 17;
|
|
639
|
+
*/
|
|
640
|
+
SINT32 = 17,
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Uses ZigZag encoding.
|
|
644
|
+
*
|
|
645
|
+
* @generated from enum value: TYPE_SINT64 = 18;
|
|
646
|
+
*/
|
|
647
|
+
SINT64 = 18,
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Describes the enum google.protobuf.FieldDescriptorProto.Type.
|
|
652
|
+
*/
|
|
653
|
+
export declare const FieldDescriptorProto_TypeSchema: GenEnum<FieldDescriptorProto_Type>;
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* @generated from enum google.protobuf.FieldDescriptorProto.Label
|
|
657
|
+
*/
|
|
658
|
+
export enum FieldDescriptorProto_Label {
|
|
659
|
+
/**
|
|
660
|
+
* 0 is reserved for errors
|
|
661
|
+
*
|
|
662
|
+
* @generated from enum value: LABEL_OPTIONAL = 1;
|
|
663
|
+
*/
|
|
664
|
+
OPTIONAL = 1,
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* @generated from enum value: LABEL_REPEATED = 3;
|
|
668
|
+
*/
|
|
669
|
+
REPEATED = 3,
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* The required label is only allowed in google.protobuf. In proto3 and Editions
|
|
673
|
+
* it's explicitly prohibited. In Editions, the `field_presence` feature
|
|
674
|
+
* can be used to get this behavior.
|
|
675
|
+
*
|
|
676
|
+
* @generated from enum value: LABEL_REQUIRED = 2;
|
|
677
|
+
*/
|
|
678
|
+
REQUIRED = 2,
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Describes the enum google.protobuf.FieldDescriptorProto.Label.
|
|
683
|
+
*/
|
|
684
|
+
export declare const FieldDescriptorProto_LabelSchema: GenEnum<FieldDescriptorProto_Label>;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Describes a oneof.
|
|
688
|
+
*
|
|
689
|
+
* @generated from message google.protobuf.OneofDescriptorProto
|
|
690
|
+
*/
|
|
691
|
+
export declare type OneofDescriptorProto = Message<"google.protobuf.OneofDescriptorProto"> & {
|
|
692
|
+
/**
|
|
693
|
+
* @generated from field: optional string name = 1;
|
|
694
|
+
*/
|
|
695
|
+
name: string;
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* @generated from field: optional google.protobuf.OneofOptions options = 2;
|
|
699
|
+
*/
|
|
700
|
+
options?: OneofOptions;
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* Describes the message google.protobuf.OneofDescriptorProto.
|
|
705
|
+
* Use `create(OneofDescriptorProtoSchema)` to create a new message.
|
|
706
|
+
*/
|
|
707
|
+
export declare const OneofDescriptorProtoSchema: GenMessage<OneofDescriptorProto>;
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Describes an enum type.
|
|
711
|
+
*
|
|
712
|
+
* @generated from message google.protobuf.EnumDescriptorProto
|
|
713
|
+
*/
|
|
714
|
+
export declare type EnumDescriptorProto = Message<"google.protobuf.EnumDescriptorProto"> & {
|
|
715
|
+
/**
|
|
716
|
+
* @generated from field: optional string name = 1;
|
|
717
|
+
*/
|
|
718
|
+
name: string;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2;
|
|
722
|
+
*/
|
|
723
|
+
value: EnumValueDescriptorProto[];
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* @generated from field: optional google.protobuf.EnumOptions options = 3;
|
|
727
|
+
*/
|
|
728
|
+
options?: EnumOptions;
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Range of reserved numeric values. Reserved numeric values may not be used
|
|
732
|
+
* by enum values in the same enum declaration. Reserved ranges may not
|
|
733
|
+
* overlap.
|
|
734
|
+
*
|
|
735
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
|
|
736
|
+
*/
|
|
737
|
+
reservedRange: EnumDescriptorProto_EnumReservedRange[];
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Reserved enum value names, which may not be reused. A given name may only
|
|
741
|
+
* be reserved once.
|
|
742
|
+
*
|
|
743
|
+
* @generated from field: repeated string reserved_name = 5;
|
|
744
|
+
*/
|
|
745
|
+
reservedName: string[];
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Describes the message google.protobuf.EnumDescriptorProto.
|
|
750
|
+
* Use `create(EnumDescriptorProtoSchema)` to create a new message.
|
|
751
|
+
*/
|
|
752
|
+
export declare const EnumDescriptorProtoSchema: GenMessage<EnumDescriptorProto>;
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Range of reserved numeric values. Reserved values may not be used by
|
|
756
|
+
* entries in the same enum. Reserved ranges may not overlap.
|
|
757
|
+
*
|
|
758
|
+
* Note that this is distinct from DescriptorProto.ReservedRange in that it
|
|
759
|
+
* is inclusive such that it can appropriately represent the entire int32
|
|
760
|
+
* domain.
|
|
761
|
+
*
|
|
762
|
+
* @generated from message google.protobuf.EnumDescriptorProto.EnumReservedRange
|
|
763
|
+
*/
|
|
764
|
+
export declare type EnumDescriptorProto_EnumReservedRange = Message<"google.protobuf.EnumDescriptorProto.EnumReservedRange"> & {
|
|
765
|
+
/**
|
|
766
|
+
* Inclusive.
|
|
767
|
+
*
|
|
768
|
+
* @generated from field: optional int32 start = 1;
|
|
769
|
+
*/
|
|
770
|
+
start: number;
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* Inclusive.
|
|
774
|
+
*
|
|
775
|
+
* @generated from field: optional int32 end = 2;
|
|
776
|
+
*/
|
|
777
|
+
end: number;
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* Describes the message google.protobuf.EnumDescriptorProto.EnumReservedRange.
|
|
782
|
+
* Use `create(EnumDescriptorProto_EnumReservedRangeSchema)` to create a new message.
|
|
783
|
+
*/
|
|
784
|
+
export declare const EnumDescriptorProto_EnumReservedRangeSchema: GenMessage<EnumDescriptorProto_EnumReservedRange>;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Describes a value within an enum.
|
|
788
|
+
*
|
|
789
|
+
* @generated from message google.protobuf.EnumValueDescriptorProto
|
|
790
|
+
*/
|
|
791
|
+
export declare type EnumValueDescriptorProto = Message<"google.protobuf.EnumValueDescriptorProto"> & {
|
|
792
|
+
/**
|
|
793
|
+
* @generated from field: optional string name = 1;
|
|
794
|
+
*/
|
|
795
|
+
name: string;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* @generated from field: optional int32 number = 2;
|
|
799
|
+
*/
|
|
800
|
+
number: number;
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* @generated from field: optional google.protobuf.EnumValueOptions options = 3;
|
|
804
|
+
*/
|
|
805
|
+
options?: EnumValueOptions;
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Describes the message google.protobuf.EnumValueDescriptorProto.
|
|
810
|
+
* Use `create(EnumValueDescriptorProtoSchema)` to create a new message.
|
|
811
|
+
*/
|
|
812
|
+
export declare const EnumValueDescriptorProtoSchema: GenMessage<EnumValueDescriptorProto>;
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Describes a service.
|
|
816
|
+
*
|
|
817
|
+
* @generated from message google.protobuf.ServiceDescriptorProto
|
|
818
|
+
*/
|
|
819
|
+
export declare type ServiceDescriptorProto = Message<"google.protobuf.ServiceDescriptorProto"> & {
|
|
820
|
+
/**
|
|
821
|
+
* @generated from field: optional string name = 1;
|
|
822
|
+
*/
|
|
823
|
+
name: string;
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2;
|
|
827
|
+
*/
|
|
828
|
+
method: MethodDescriptorProto[];
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* @generated from field: optional google.protobuf.ServiceOptions options = 3;
|
|
832
|
+
*/
|
|
833
|
+
options?: ServiceOptions;
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Describes the message google.protobuf.ServiceDescriptorProto.
|
|
838
|
+
* Use `create(ServiceDescriptorProtoSchema)` to create a new message.
|
|
839
|
+
*/
|
|
840
|
+
export declare const ServiceDescriptorProtoSchema: GenMessage<ServiceDescriptorProto>;
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* Describes a method of a service.
|
|
844
|
+
*
|
|
845
|
+
* @generated from message google.protobuf.MethodDescriptorProto
|
|
846
|
+
*/
|
|
847
|
+
export declare type MethodDescriptorProto = Message<"google.protobuf.MethodDescriptorProto"> & {
|
|
848
|
+
/**
|
|
849
|
+
* @generated from field: optional string name = 1;
|
|
850
|
+
*/
|
|
851
|
+
name: string;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Input and output type names. These are resolved in the same way as
|
|
855
|
+
* FieldDescriptorProto.type_name, but must refer to a message type.
|
|
856
|
+
*
|
|
857
|
+
* @generated from field: optional string input_type = 2;
|
|
858
|
+
*/
|
|
859
|
+
inputType: string;
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* @generated from field: optional string output_type = 3;
|
|
863
|
+
*/
|
|
864
|
+
outputType: string;
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* @generated from field: optional google.protobuf.MethodOptions options = 4;
|
|
868
|
+
*/
|
|
869
|
+
options?: MethodOptions;
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Identifies if client streams multiple client messages
|
|
873
|
+
*
|
|
874
|
+
* @generated from field: optional bool client_streaming = 5 [default = false];
|
|
875
|
+
*/
|
|
876
|
+
clientStreaming: boolean;
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Identifies if server streams multiple server messages
|
|
880
|
+
*
|
|
881
|
+
* @generated from field: optional bool server_streaming = 6 [default = false];
|
|
882
|
+
*/
|
|
883
|
+
serverStreaming: boolean;
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Describes the message google.protobuf.MethodDescriptorProto.
|
|
888
|
+
* Use `create(MethodDescriptorProtoSchema)` to create a new message.
|
|
889
|
+
*/
|
|
890
|
+
export declare const MethodDescriptorProtoSchema: GenMessage<MethodDescriptorProto>;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* @generated from message google.protobuf.FileOptions
|
|
894
|
+
*/
|
|
895
|
+
export declare type FileOptions = Message<"google.protobuf.FileOptions"> & {
|
|
896
|
+
/**
|
|
897
|
+
* Sets the Java package where classes generated from this .proto will be
|
|
898
|
+
* placed. By default, the proto package is used, but this is often
|
|
899
|
+
* inappropriate because proto packages do not normally start with backwards
|
|
900
|
+
* domain names.
|
|
901
|
+
*
|
|
902
|
+
* @generated from field: optional string java_package = 1;
|
|
903
|
+
*/
|
|
904
|
+
javaPackage: string;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Controls the name of the wrapper Java class generated for the .proto file.
|
|
908
|
+
* That class will always contain the .proto file's getDescriptor() method as
|
|
909
|
+
* well as any top-level extensions defined in the .proto file.
|
|
910
|
+
* If java_multiple_files is disabled, then all the other classes from the
|
|
911
|
+
* .proto file will be nested inside the single wrapper outer class.
|
|
912
|
+
*
|
|
913
|
+
* @generated from field: optional string java_outer_classname = 8;
|
|
914
|
+
*/
|
|
915
|
+
javaOuterClassname: string;
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* If enabled, then the Java code generator will generate a separate .java
|
|
919
|
+
* file for each top-level message, enum, and service defined in the .proto
|
|
920
|
+
* file. Thus, these types will *not* be nested inside the wrapper class
|
|
921
|
+
* named by java_outer_classname. However, the wrapper class will still be
|
|
922
|
+
* generated to contain the file's getDescriptor() method as well as any
|
|
923
|
+
* top-level extensions defined in the file.
|
|
924
|
+
*
|
|
925
|
+
* @generated from field: optional bool java_multiple_files = 10 [default = false];
|
|
926
|
+
*/
|
|
927
|
+
javaMultipleFiles: boolean;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* This option does nothing.
|
|
931
|
+
*
|
|
932
|
+
* @generated from field: optional bool java_generate_equals_and_hash = 20 [deprecated = true];
|
|
933
|
+
* @deprecated
|
|
934
|
+
*/
|
|
935
|
+
javaGenerateEqualsAndHash: boolean;
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* A proto2 file can set this to true to opt in to UTF-8 checking for Java,
|
|
939
|
+
* which will throw an exception if invalid UTF-8 is parsed from the wire or
|
|
940
|
+
* assigned to a string field.
|
|
941
|
+
*
|
|
942
|
+
* TODO: clarify exactly what kinds of field types this option
|
|
943
|
+
* applies to, and update these docs accordingly.
|
|
944
|
+
*
|
|
945
|
+
* Proto3 files already perform these checks. Setting the option explicitly to
|
|
946
|
+
* false has no effect: it cannot be used to opt proto3 files out of UTF-8
|
|
947
|
+
* checks.
|
|
948
|
+
*
|
|
949
|
+
* @generated from field: optional bool java_string_check_utf8 = 27 [default = false];
|
|
950
|
+
*/
|
|
951
|
+
javaStringCheckUtf8: boolean;
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* @generated from field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
|
|
955
|
+
*/
|
|
956
|
+
optimizeFor: FileOptions_OptimizeMode;
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* Sets the Go package where structs generated from this .proto will be
|
|
960
|
+
* placed. If omitted, the Go package will be derived from the following:
|
|
961
|
+
* - The basename of the package import path, if provided.
|
|
962
|
+
* - Otherwise, the package statement in the .proto file, if present.
|
|
963
|
+
* - Otherwise, the basename of the .proto file, without extension.
|
|
964
|
+
*
|
|
965
|
+
* @generated from field: optional string go_package = 11;
|
|
966
|
+
*/
|
|
967
|
+
goPackage: string;
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Should generic services be generated in each language? "Generic" services
|
|
971
|
+
* are not specific to any particular RPC system. They are generated by the
|
|
972
|
+
* main code generators in each language (without additional plugins).
|
|
973
|
+
* Generic services were the only kind of service generation supported by
|
|
974
|
+
* early versions of google.protobuf.
|
|
975
|
+
*
|
|
976
|
+
* Generic services are now considered deprecated in favor of using plugins
|
|
977
|
+
* that generate code specific to your particular RPC system. Therefore,
|
|
978
|
+
* these default to false. Old code which depends on generic services should
|
|
979
|
+
* explicitly set them to true.
|
|
980
|
+
*
|
|
981
|
+
* @generated from field: optional bool cc_generic_services = 16 [default = false];
|
|
982
|
+
*/
|
|
983
|
+
ccGenericServices: boolean;
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* @generated from field: optional bool java_generic_services = 17 [default = false];
|
|
987
|
+
*/
|
|
988
|
+
javaGenericServices: boolean;
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* @generated from field: optional bool py_generic_services = 18 [default = false];
|
|
992
|
+
*/
|
|
993
|
+
pyGenericServices: boolean;
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* Is this file deprecated?
|
|
997
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
998
|
+
* for everything in the file, or it will be completely ignored; in the very
|
|
999
|
+
* least, this is a formalization for deprecating files.
|
|
1000
|
+
*
|
|
1001
|
+
* @generated from field: optional bool deprecated = 23 [default = false];
|
|
1002
|
+
*/
|
|
1003
|
+
deprecated: boolean;
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Enables the use of arenas for the proto messages in this file. This applies
|
|
1007
|
+
* only to generated classes for C++.
|
|
1008
|
+
*
|
|
1009
|
+
* @generated from field: optional bool cc_enable_arenas = 31 [default = true];
|
|
1010
|
+
*/
|
|
1011
|
+
ccEnableArenas: boolean;
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* Sets the objective c class prefix which is prepended to all objective c
|
|
1015
|
+
* generated classes from this .proto. There is no default.
|
|
1016
|
+
*
|
|
1017
|
+
* @generated from field: optional string objc_class_prefix = 36;
|
|
1018
|
+
*/
|
|
1019
|
+
objcClassPrefix: string;
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* Namespace for generated classes; defaults to the package.
|
|
1023
|
+
*
|
|
1024
|
+
* @generated from field: optional string csharp_namespace = 37;
|
|
1025
|
+
*/
|
|
1026
|
+
csharpNamespace: string;
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* By default Swift generators will take the proto package and CamelCase it
|
|
1030
|
+
* replacing '.' with underscore and use that to prefix the types/symbols
|
|
1031
|
+
* defined. When this options is provided, they will use this value instead
|
|
1032
|
+
* to prefix the types/symbols defined.
|
|
1033
|
+
*
|
|
1034
|
+
* @generated from field: optional string swift_prefix = 39;
|
|
1035
|
+
*/
|
|
1036
|
+
swiftPrefix: string;
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* Sets the php class prefix which is prepended to all php generated classes
|
|
1040
|
+
* from this .proto. Default is empty.
|
|
1041
|
+
*
|
|
1042
|
+
* @generated from field: optional string php_class_prefix = 40;
|
|
1043
|
+
*/
|
|
1044
|
+
phpClassPrefix: string;
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* Use this option to change the namespace of php generated classes. Default
|
|
1048
|
+
* is empty. When this option is empty, the package name will be used for
|
|
1049
|
+
* determining the namespace.
|
|
1050
|
+
*
|
|
1051
|
+
* @generated from field: optional string php_namespace = 41;
|
|
1052
|
+
*/
|
|
1053
|
+
phpNamespace: string;
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* Use this option to change the namespace of php generated metadata classes.
|
|
1057
|
+
* Default is empty. When this option is empty, the proto file name will be
|
|
1058
|
+
* used for determining the namespace.
|
|
1059
|
+
*
|
|
1060
|
+
* @generated from field: optional string php_metadata_namespace = 44;
|
|
1061
|
+
*/
|
|
1062
|
+
phpMetadataNamespace: string;
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Use this option to change the package of ruby generated classes. Default
|
|
1066
|
+
* is empty. When this option is not set, the package name will be used for
|
|
1067
|
+
* determining the ruby package.
|
|
1068
|
+
*
|
|
1069
|
+
* @generated from field: optional string ruby_package = 45;
|
|
1070
|
+
*/
|
|
1071
|
+
rubyPackage: string;
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* Any features defined in the specific edition.
|
|
1075
|
+
*
|
|
1076
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 50;
|
|
1077
|
+
*/
|
|
1078
|
+
features?: FeatureSet;
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* The parser stores options it doesn't recognize here.
|
|
1082
|
+
* See the documentation for the "Options" section above.
|
|
1083
|
+
*
|
|
1084
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1085
|
+
*/
|
|
1086
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Describes the message google.protobuf.FileOptions.
|
|
1091
|
+
* Use `create(FileOptionsSchema)` to create a new message.
|
|
1092
|
+
*/
|
|
1093
|
+
export declare const FileOptionsSchema: GenMessage<FileOptions>;
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Generated classes can be optimized for speed or code size.
|
|
1097
|
+
*
|
|
1098
|
+
* @generated from enum google.protobuf.FileOptions.OptimizeMode
|
|
1099
|
+
*/
|
|
1100
|
+
export enum FileOptions_OptimizeMode {
|
|
1101
|
+
/**
|
|
1102
|
+
* Generate complete code for parsing, serialization,
|
|
1103
|
+
*
|
|
1104
|
+
* @generated from enum value: SPEED = 1;
|
|
1105
|
+
*/
|
|
1106
|
+
SPEED = 1,
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* etc.
|
|
1110
|
+
*
|
|
1111
|
+
* Use ReflectionOps to implement these methods.
|
|
1112
|
+
*
|
|
1113
|
+
* @generated from enum value: CODE_SIZE = 2;
|
|
1114
|
+
*/
|
|
1115
|
+
CODE_SIZE = 2,
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Generate code using MessageLite and the lite runtime.
|
|
1119
|
+
*
|
|
1120
|
+
* @generated from enum value: LITE_RUNTIME = 3;
|
|
1121
|
+
*/
|
|
1122
|
+
LITE_RUNTIME = 3,
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Describes the enum google.protobuf.FileOptions.OptimizeMode.
|
|
1127
|
+
*/
|
|
1128
|
+
export declare const FileOptions_OptimizeModeSchema: GenEnum<FileOptions_OptimizeMode>;
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* @generated from message google.protobuf.MessageOptions
|
|
1132
|
+
*/
|
|
1133
|
+
export declare type MessageOptions = Message<"google.protobuf.MessageOptions"> & {
|
|
1134
|
+
/**
|
|
1135
|
+
* Set true to use the old proto1 MessageSet wire format for extensions.
|
|
1136
|
+
* This is provided for backwards-compatibility with the MessageSet wire
|
|
1137
|
+
* format. You should not use this for any other reason: It's less
|
|
1138
|
+
* efficient, has fewer features, and is more complicated.
|
|
1139
|
+
*
|
|
1140
|
+
* The message must be defined exactly as follows:
|
|
1141
|
+
* message Foo {
|
|
1142
|
+
* option message_set_wire_format = true;
|
|
1143
|
+
* extensions 4 to max;
|
|
1144
|
+
* }
|
|
1145
|
+
* Note that the message cannot have any defined fields; MessageSets only
|
|
1146
|
+
* have extensions.
|
|
1147
|
+
*
|
|
1148
|
+
* All extensions of your type must be singular messages; e.g. they cannot
|
|
1149
|
+
* be int32s, enums, or repeated messages.
|
|
1150
|
+
*
|
|
1151
|
+
* Because this is an option, the above two restrictions are not enforced by
|
|
1152
|
+
* the protocol compiler.
|
|
1153
|
+
*
|
|
1154
|
+
* @generated from field: optional bool message_set_wire_format = 1 [default = false];
|
|
1155
|
+
*/
|
|
1156
|
+
messageSetWireFormat: boolean;
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Disables the generation of the standard "descriptor()" accessor, which can
|
|
1160
|
+
* conflict with a field of the same name. This is meant to make migration
|
|
1161
|
+
* from proto1 easier; new code should avoid fields named "descriptor".
|
|
1162
|
+
*
|
|
1163
|
+
* @generated from field: optional bool no_standard_descriptor_accessor = 2 [default = false];
|
|
1164
|
+
*/
|
|
1165
|
+
noStandardDescriptorAccessor: boolean;
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* Is this message deprecated?
|
|
1169
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1170
|
+
* for the message, or it will be completely ignored; in the very least,
|
|
1171
|
+
* this is a formalization for deprecating messages.
|
|
1172
|
+
*
|
|
1173
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1174
|
+
*/
|
|
1175
|
+
deprecated: boolean;
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* Whether the message is an automatically generated map entry type for the
|
|
1179
|
+
* maps field.
|
|
1180
|
+
*
|
|
1181
|
+
* For maps fields:
|
|
1182
|
+
* map<KeyType, ValueType> map_field = 1;
|
|
1183
|
+
* The parsed descriptor looks like:
|
|
1184
|
+
* message MapFieldEntry {
|
|
1185
|
+
* option map_entry = true;
|
|
1186
|
+
* optional KeyType key = 1;
|
|
1187
|
+
* optional ValueType value = 2;
|
|
1188
|
+
* }
|
|
1189
|
+
* repeated MapFieldEntry map_field = 1;
|
|
1190
|
+
*
|
|
1191
|
+
* Implementations may choose not to generate the map_entry=true message, but
|
|
1192
|
+
* use a native map in the target language to hold the keys and values.
|
|
1193
|
+
* The reflection APIs in such implementations still need to work as
|
|
1194
|
+
* if the field is a repeated message field.
|
|
1195
|
+
*
|
|
1196
|
+
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
|
1197
|
+
* instead. The option should only be implicitly set by the proto compiler
|
|
1198
|
+
* parser.
|
|
1199
|
+
*
|
|
1200
|
+
* @generated from field: optional bool map_entry = 7;
|
|
1201
|
+
*/
|
|
1202
|
+
mapEntry: boolean;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1206
|
+
* and strips underscored from the fields before comparison in proto3 only.
|
|
1207
|
+
* The new behavior takes `json_name` into account and applies to proto2 as
|
|
1208
|
+
* well.
|
|
1209
|
+
*
|
|
1210
|
+
* This should only be used as a temporary measure against broken builds due
|
|
1211
|
+
* to the change in behavior for JSON field name conflicts.
|
|
1212
|
+
*
|
|
1213
|
+
* TODO This is legacy behavior we plan to remove once downstream
|
|
1214
|
+
* teams have had time to migrate.
|
|
1215
|
+
*
|
|
1216
|
+
* @generated from field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
|
|
1217
|
+
* @deprecated
|
|
1218
|
+
*/
|
|
1219
|
+
deprecatedLegacyJsonFieldConflicts: boolean;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Any features defined in the specific edition.
|
|
1223
|
+
*
|
|
1224
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 12;
|
|
1225
|
+
*/
|
|
1226
|
+
features?: FeatureSet;
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1230
|
+
*
|
|
1231
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1232
|
+
*/
|
|
1233
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* Describes the message google.protobuf.MessageOptions.
|
|
1238
|
+
* Use `create(MessageOptionsSchema)` to create a new message.
|
|
1239
|
+
*/
|
|
1240
|
+
export declare const MessageOptionsSchema: GenMessage<MessageOptions>;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* @generated from message google.protobuf.FieldOptions
|
|
1244
|
+
*/
|
|
1245
|
+
export declare type FieldOptions = Message<"google.protobuf.FieldOptions"> & {
|
|
1246
|
+
/**
|
|
1247
|
+
* NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
|
|
1248
|
+
* The ctype option instructs the C++ code generator to use a different
|
|
1249
|
+
* representation of the field than it normally would. See the specific
|
|
1250
|
+
* options below. This option is only implemented to support use of
|
|
1251
|
+
* [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
|
|
1252
|
+
* type "bytes" in the open source release.
|
|
1253
|
+
* TODO: make ctype actually deprecated.
|
|
1254
|
+
*
|
|
1255
|
+
* @generated from field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
|
|
1256
|
+
*/
|
|
1257
|
+
ctype: FieldOptions_CType;
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* The packed option can be enabled for repeated primitive fields to enable
|
|
1261
|
+
* a more efficient representation on the wire. Rather than repeatedly
|
|
1262
|
+
* writing the tag and type for each element, the entire array is encoded as
|
|
1263
|
+
* a single length-delimited blob. In proto3, only explicit setting it to
|
|
1264
|
+
* false will avoid using packed encoding. This option is prohibited in
|
|
1265
|
+
* Editions, but the `repeated_field_encoding` feature can be used to control
|
|
1266
|
+
* the behavior.
|
|
1267
|
+
*
|
|
1268
|
+
* @generated from field: optional bool packed = 2;
|
|
1269
|
+
*/
|
|
1270
|
+
packed: boolean;
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* The jstype option determines the JavaScript type used for values of the
|
|
1274
|
+
* field. The option is permitted only for 64 bit integral and fixed types
|
|
1275
|
+
* (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
|
|
1276
|
+
* is represented as JavaScript string, which avoids loss of precision that
|
|
1277
|
+
* can happen when a large value is converted to a floating point JavaScript.
|
|
1278
|
+
* Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
|
|
1279
|
+
* use the JavaScript "number" type. The behavior of the default option
|
|
1280
|
+
* JS_NORMAL is implementation dependent.
|
|
1281
|
+
*
|
|
1282
|
+
* This option is an enum to permit additional types to be added, e.g.
|
|
1283
|
+
* goog.math.Integer.
|
|
1284
|
+
*
|
|
1285
|
+
* @generated from field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
|
|
1286
|
+
*/
|
|
1287
|
+
jstype: FieldOptions_JSType;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Should this field be parsed lazily? Lazy applies only to message-type
|
|
1291
|
+
* fields. It means that when the outer message is initially parsed, the
|
|
1292
|
+
* inner message's contents will not be parsed but instead stored in encoded
|
|
1293
|
+
* form. The inner message will actually be parsed when it is first accessed.
|
|
1294
|
+
*
|
|
1295
|
+
* This is only a hint. Implementations are free to choose whether to use
|
|
1296
|
+
* eager or lazy parsing regardless of the value of this option. However,
|
|
1297
|
+
* setting this option true suggests that the protocol author believes that
|
|
1298
|
+
* using lazy parsing on this field is worth the additional bookkeeping
|
|
1299
|
+
* overhead typically needed to implement it.
|
|
1300
|
+
*
|
|
1301
|
+
* This option does not affect the public interface of any generated code;
|
|
1302
|
+
* all method signatures remain the same. Furthermore, thread-safety of the
|
|
1303
|
+
* interface is not affected by this option; const methods remain safe to
|
|
1304
|
+
* call from multiple threads concurrently, while non-const methods continue
|
|
1305
|
+
* to require exclusive access.
|
|
1306
|
+
*
|
|
1307
|
+
* Note that lazy message fields are still eagerly verified to check
|
|
1308
|
+
* ill-formed wireformat or missing required fields. Calling IsInitialized()
|
|
1309
|
+
* on the outer message would fail if the inner message has missing required
|
|
1310
|
+
* fields. Failed verification would result in parsing failure (except when
|
|
1311
|
+
* uninitialized messages are acceptable).
|
|
1312
|
+
*
|
|
1313
|
+
* @generated from field: optional bool lazy = 5 [default = false];
|
|
1314
|
+
*/
|
|
1315
|
+
lazy: boolean;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* unverified_lazy does no correctness checks on the byte stream. This should
|
|
1319
|
+
* only be used where lazy with verification is prohibitive for performance
|
|
1320
|
+
* reasons.
|
|
1321
|
+
*
|
|
1322
|
+
* @generated from field: optional bool unverified_lazy = 15 [default = false];
|
|
1323
|
+
*/
|
|
1324
|
+
unverifiedLazy: boolean;
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* Is this field deprecated?
|
|
1328
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1329
|
+
* for accessors, or it will be completely ignored; in the very least, this
|
|
1330
|
+
* is a formalization for deprecating fields.
|
|
1331
|
+
*
|
|
1332
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1333
|
+
*/
|
|
1334
|
+
deprecated: boolean;
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* For Google-internal migration only. Do not use.
|
|
1338
|
+
*
|
|
1339
|
+
* @generated from field: optional bool weak = 10 [default = false];
|
|
1340
|
+
*/
|
|
1341
|
+
weak: boolean;
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* Indicate that the field value should not be printed out when using debug
|
|
1345
|
+
* formats, e.g. when the field contains sensitive credentials.
|
|
1346
|
+
*
|
|
1347
|
+
* @generated from field: optional bool debug_redact = 16 [default = false];
|
|
1348
|
+
*/
|
|
1349
|
+
debugRedact: boolean;
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* @generated from field: optional google.protobuf.FieldOptions.OptionRetention retention = 17;
|
|
1353
|
+
*/
|
|
1354
|
+
retention: FieldOptions_OptionRetention;
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19;
|
|
1358
|
+
*/
|
|
1359
|
+
targets: FieldOptions_OptionTargetType[];
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
|
|
1363
|
+
*/
|
|
1364
|
+
editionDefaults: FieldOptions_EditionDefault[];
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Any features defined in the specific edition.
|
|
1368
|
+
*
|
|
1369
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 21;
|
|
1370
|
+
*/
|
|
1371
|
+
features?: FeatureSet;
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
|
|
1375
|
+
*/
|
|
1376
|
+
featureSupport?: FieldOptions_FeatureSupport;
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1380
|
+
*
|
|
1381
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1382
|
+
*/
|
|
1383
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Describes the message google.protobuf.FieldOptions.
|
|
1388
|
+
* Use `create(FieldOptionsSchema)` to create a new message.
|
|
1389
|
+
*/
|
|
1390
|
+
export declare const FieldOptionsSchema: GenMessage<FieldOptions>;
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* @generated from message google.protobuf.FieldOptions.EditionDefault
|
|
1394
|
+
*/
|
|
1395
|
+
export declare type FieldOptions_EditionDefault = Message<"google.protobuf.FieldOptions.EditionDefault"> & {
|
|
1396
|
+
/**
|
|
1397
|
+
* @generated from field: optional google.protobuf.Edition edition = 3;
|
|
1398
|
+
*/
|
|
1399
|
+
edition: Edition;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Textproto value.
|
|
1403
|
+
*
|
|
1404
|
+
* @generated from field: optional string value = 2;
|
|
1405
|
+
*/
|
|
1406
|
+
value: string;
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* Describes the message google.protobuf.FieldOptions.EditionDefault.
|
|
1411
|
+
* Use `create(FieldOptions_EditionDefaultSchema)` to create a new message.
|
|
1412
|
+
*/
|
|
1413
|
+
export declare const FieldOptions_EditionDefaultSchema: GenMessage<FieldOptions_EditionDefault>;
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* Information about the support window of a feature.
|
|
1417
|
+
*
|
|
1418
|
+
* @generated from message google.protobuf.FieldOptions.FeatureSupport
|
|
1419
|
+
*/
|
|
1420
|
+
export declare type FieldOptions_FeatureSupport = Message<"google.protobuf.FieldOptions.FeatureSupport"> & {
|
|
1421
|
+
/**
|
|
1422
|
+
* The edition that this feature was first available in. In editions
|
|
1423
|
+
* earlier than this one, the default assigned to EDITION_LEGACY will be
|
|
1424
|
+
* used, and proto files will not be able to override it.
|
|
1425
|
+
*
|
|
1426
|
+
* @generated from field: optional google.protobuf.Edition edition_introduced = 1;
|
|
1427
|
+
*/
|
|
1428
|
+
editionIntroduced: Edition;
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* The edition this feature becomes deprecated in. Using this after this
|
|
1432
|
+
* edition may trigger warnings.
|
|
1433
|
+
*
|
|
1434
|
+
* @generated from field: optional google.protobuf.Edition edition_deprecated = 2;
|
|
1435
|
+
*/
|
|
1436
|
+
editionDeprecated: Edition;
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* The deprecation warning text if this feature is used after the edition it
|
|
1440
|
+
* was marked deprecated in.
|
|
1441
|
+
*
|
|
1442
|
+
* @generated from field: optional string deprecation_warning = 3;
|
|
1443
|
+
*/
|
|
1444
|
+
deprecationWarning: string;
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* The edition this feature is no longer available in. In editions after
|
|
1448
|
+
* this one, the last default assigned will be used, and proto files will
|
|
1449
|
+
* not be able to override it.
|
|
1450
|
+
*
|
|
1451
|
+
* @generated from field: optional google.protobuf.Edition edition_removed = 4;
|
|
1452
|
+
*/
|
|
1453
|
+
editionRemoved: Edition;
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Describes the message google.protobuf.FieldOptions.FeatureSupport.
|
|
1458
|
+
* Use `create(FieldOptions_FeatureSupportSchema)` to create a new message.
|
|
1459
|
+
*/
|
|
1460
|
+
export declare const FieldOptions_FeatureSupportSchema: GenMessage<FieldOptions_FeatureSupport>;
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* @generated from enum google.protobuf.FieldOptions.CType
|
|
1464
|
+
*/
|
|
1465
|
+
export enum FieldOptions_CType {
|
|
1466
|
+
/**
|
|
1467
|
+
* Default mode.
|
|
1468
|
+
*
|
|
1469
|
+
* @generated from enum value: STRING = 0;
|
|
1470
|
+
*/
|
|
1471
|
+
STRING = 0,
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* The option [ctype=CORD] may be applied to a non-repeated field of type
|
|
1475
|
+
* "bytes". It indicates that in C++, the data should be stored in a Cord
|
|
1476
|
+
* instead of a string. For very large strings, this may reduce memory
|
|
1477
|
+
* fragmentation. It may also allow better performance when parsing from a
|
|
1478
|
+
* Cord, or when parsing with aliasing enabled, as the parsed Cord may then
|
|
1479
|
+
* alias the original buffer.
|
|
1480
|
+
*
|
|
1481
|
+
* @generated from enum value: CORD = 1;
|
|
1482
|
+
*/
|
|
1483
|
+
CORD = 1,
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* @generated from enum value: STRING_PIECE = 2;
|
|
1487
|
+
*/
|
|
1488
|
+
STRING_PIECE = 2,
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Describes the enum google.protobuf.FieldOptions.CType.
|
|
1493
|
+
*/
|
|
1494
|
+
export declare const FieldOptions_CTypeSchema: GenEnum<FieldOptions_CType>;
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* @generated from enum google.protobuf.FieldOptions.JSType
|
|
1498
|
+
*/
|
|
1499
|
+
export enum FieldOptions_JSType {
|
|
1500
|
+
/**
|
|
1501
|
+
* Use the default type.
|
|
1502
|
+
*
|
|
1503
|
+
* @generated from enum value: JS_NORMAL = 0;
|
|
1504
|
+
*/
|
|
1505
|
+
JS_NORMAL = 0,
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Use JavaScript strings.
|
|
1509
|
+
*
|
|
1510
|
+
* @generated from enum value: JS_STRING = 1;
|
|
1511
|
+
*/
|
|
1512
|
+
JS_STRING = 1,
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Use JavaScript numbers.
|
|
1516
|
+
*
|
|
1517
|
+
* @generated from enum value: JS_NUMBER = 2;
|
|
1518
|
+
*/
|
|
1519
|
+
JS_NUMBER = 2,
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* Describes the enum google.protobuf.FieldOptions.JSType.
|
|
1524
|
+
*/
|
|
1525
|
+
export declare const FieldOptions_JSTypeSchema: GenEnum<FieldOptions_JSType>;
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
|
1529
|
+
*
|
|
1530
|
+
* @generated from enum google.protobuf.FieldOptions.OptionRetention
|
|
1531
|
+
*/
|
|
1532
|
+
export enum FieldOptions_OptionRetention {
|
|
1533
|
+
/**
|
|
1534
|
+
* @generated from enum value: RETENTION_UNKNOWN = 0;
|
|
1535
|
+
*/
|
|
1536
|
+
RETENTION_UNKNOWN = 0,
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* @generated from enum value: RETENTION_RUNTIME = 1;
|
|
1540
|
+
*/
|
|
1541
|
+
RETENTION_RUNTIME = 1,
|
|
1542
|
+
|
|
1543
|
+
/**
|
|
1544
|
+
* @generated from enum value: RETENTION_SOURCE = 2;
|
|
1545
|
+
*/
|
|
1546
|
+
RETENTION_SOURCE = 2,
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* Describes the enum google.protobuf.FieldOptions.OptionRetention.
|
|
1551
|
+
*/
|
|
1552
|
+
export declare const FieldOptions_OptionRetentionSchema: GenEnum<FieldOptions_OptionRetention>;
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* This indicates the types of entities that the field may apply to when used
|
|
1556
|
+
* as an option. If it is unset, then the field may be freely used as an
|
|
1557
|
+
* option on any kind of entity.
|
|
1558
|
+
*
|
|
1559
|
+
* @generated from enum google.protobuf.FieldOptions.OptionTargetType
|
|
1560
|
+
*/
|
|
1561
|
+
export enum FieldOptions_OptionTargetType {
|
|
1562
|
+
/**
|
|
1563
|
+
* @generated from enum value: TARGET_TYPE_UNKNOWN = 0;
|
|
1564
|
+
*/
|
|
1565
|
+
TARGET_TYPE_UNKNOWN = 0,
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* @generated from enum value: TARGET_TYPE_FILE = 1;
|
|
1569
|
+
*/
|
|
1570
|
+
TARGET_TYPE_FILE = 1,
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* @generated from enum value: TARGET_TYPE_EXTENSION_RANGE = 2;
|
|
1574
|
+
*/
|
|
1575
|
+
TARGET_TYPE_EXTENSION_RANGE = 2,
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* @generated from enum value: TARGET_TYPE_MESSAGE = 3;
|
|
1579
|
+
*/
|
|
1580
|
+
TARGET_TYPE_MESSAGE = 3,
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* @generated from enum value: TARGET_TYPE_FIELD = 4;
|
|
1584
|
+
*/
|
|
1585
|
+
TARGET_TYPE_FIELD = 4,
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* @generated from enum value: TARGET_TYPE_ONEOF = 5;
|
|
1589
|
+
*/
|
|
1590
|
+
TARGET_TYPE_ONEOF = 5,
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* @generated from enum value: TARGET_TYPE_ENUM = 6;
|
|
1594
|
+
*/
|
|
1595
|
+
TARGET_TYPE_ENUM = 6,
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* @generated from enum value: TARGET_TYPE_ENUM_ENTRY = 7;
|
|
1599
|
+
*/
|
|
1600
|
+
TARGET_TYPE_ENUM_ENTRY = 7,
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* @generated from enum value: TARGET_TYPE_SERVICE = 8;
|
|
1604
|
+
*/
|
|
1605
|
+
TARGET_TYPE_SERVICE = 8,
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* @generated from enum value: TARGET_TYPE_METHOD = 9;
|
|
1609
|
+
*/
|
|
1610
|
+
TARGET_TYPE_METHOD = 9,
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* Describes the enum google.protobuf.FieldOptions.OptionTargetType.
|
|
1615
|
+
*/
|
|
1616
|
+
export declare const FieldOptions_OptionTargetTypeSchema: GenEnum<FieldOptions_OptionTargetType>;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* @generated from message google.protobuf.OneofOptions
|
|
1620
|
+
*/
|
|
1621
|
+
export declare type OneofOptions = Message<"google.protobuf.OneofOptions"> & {
|
|
1622
|
+
/**
|
|
1623
|
+
* Any features defined in the specific edition.
|
|
1624
|
+
*
|
|
1625
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 1;
|
|
1626
|
+
*/
|
|
1627
|
+
features?: FeatureSet;
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1631
|
+
*
|
|
1632
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1633
|
+
*/
|
|
1634
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* Describes the message google.protobuf.OneofOptions.
|
|
1639
|
+
* Use `create(OneofOptionsSchema)` to create a new message.
|
|
1640
|
+
*/
|
|
1641
|
+
export declare const OneofOptionsSchema: GenMessage<OneofOptions>;
|
|
1642
|
+
|
|
1643
|
+
/**
|
|
1644
|
+
* @generated from message google.protobuf.EnumOptions
|
|
1645
|
+
*/
|
|
1646
|
+
export declare type EnumOptions = Message<"google.protobuf.EnumOptions"> & {
|
|
1647
|
+
/**
|
|
1648
|
+
* Set this option to true to allow mapping different tag names to the same
|
|
1649
|
+
* value.
|
|
1650
|
+
*
|
|
1651
|
+
* @generated from field: optional bool allow_alias = 2;
|
|
1652
|
+
*/
|
|
1653
|
+
allowAlias: boolean;
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* Is this enum deprecated?
|
|
1657
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1658
|
+
* for the enum, or it will be completely ignored; in the very least, this
|
|
1659
|
+
* is a formalization for deprecating enums.
|
|
1660
|
+
*
|
|
1661
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1662
|
+
*/
|
|
1663
|
+
deprecated: boolean;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1667
|
+
* and strips underscored from the fields before comparison in proto3 only.
|
|
1668
|
+
* The new behavior takes `json_name` into account and applies to proto2 as
|
|
1669
|
+
* well.
|
|
1670
|
+
* TODO Remove this legacy behavior once downstream teams have
|
|
1671
|
+
* had time to migrate.
|
|
1672
|
+
*
|
|
1673
|
+
* @generated from field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
|
|
1674
|
+
* @deprecated
|
|
1675
|
+
*/
|
|
1676
|
+
deprecatedLegacyJsonFieldConflicts: boolean;
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* Any features defined in the specific edition.
|
|
1680
|
+
*
|
|
1681
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 7;
|
|
1682
|
+
*/
|
|
1683
|
+
features?: FeatureSet;
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1687
|
+
*
|
|
1688
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1689
|
+
*/
|
|
1690
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* Describes the message google.protobuf.EnumOptions.
|
|
1695
|
+
* Use `create(EnumOptionsSchema)` to create a new message.
|
|
1696
|
+
*/
|
|
1697
|
+
export declare const EnumOptionsSchema: GenMessage<EnumOptions>;
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* @generated from message google.protobuf.EnumValueOptions
|
|
1701
|
+
*/
|
|
1702
|
+
export declare type EnumValueOptions = Message<"google.protobuf.EnumValueOptions"> & {
|
|
1703
|
+
/**
|
|
1704
|
+
* Is this enum value deprecated?
|
|
1705
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1706
|
+
* for the enum value, or it will be completely ignored; in the very least,
|
|
1707
|
+
* this is a formalization for deprecating enum values.
|
|
1708
|
+
*
|
|
1709
|
+
* @generated from field: optional bool deprecated = 1 [default = false];
|
|
1710
|
+
*/
|
|
1711
|
+
deprecated: boolean;
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* Any features defined in the specific edition.
|
|
1715
|
+
*
|
|
1716
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 2;
|
|
1717
|
+
*/
|
|
1718
|
+
features?: FeatureSet;
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* Indicate that fields annotated with this enum value should not be printed
|
|
1722
|
+
* out when using debug formats, e.g. when the field contains sensitive
|
|
1723
|
+
* credentials.
|
|
1724
|
+
*
|
|
1725
|
+
* @generated from field: optional bool debug_redact = 3 [default = false];
|
|
1726
|
+
*/
|
|
1727
|
+
debugRedact: boolean;
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* Information about the support window of a feature value.
|
|
1731
|
+
*
|
|
1732
|
+
* @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
|
|
1733
|
+
*/
|
|
1734
|
+
featureSupport?: FieldOptions_FeatureSupport;
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1738
|
+
*
|
|
1739
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1740
|
+
*/
|
|
1741
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* Describes the message google.protobuf.EnumValueOptions.
|
|
1746
|
+
* Use `create(EnumValueOptionsSchema)` to create a new message.
|
|
1747
|
+
*/
|
|
1748
|
+
export declare const EnumValueOptionsSchema: GenMessage<EnumValueOptions>;
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1751
|
+
* @generated from message google.protobuf.ServiceOptions
|
|
1752
|
+
*/
|
|
1753
|
+
export declare type ServiceOptions = Message<"google.protobuf.ServiceOptions"> & {
|
|
1754
|
+
/**
|
|
1755
|
+
* Any features defined in the specific edition.
|
|
1756
|
+
*
|
|
1757
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 34;
|
|
1758
|
+
*/
|
|
1759
|
+
features?: FeatureSet;
|
|
1760
|
+
|
|
1761
|
+
/**
|
|
1762
|
+
* Is this service deprecated?
|
|
1763
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1764
|
+
* for the service, or it will be completely ignored; in the very least,
|
|
1765
|
+
* this is a formalization for deprecating services.
|
|
1766
|
+
*
|
|
1767
|
+
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
1768
|
+
*/
|
|
1769
|
+
deprecated: boolean;
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1773
|
+
*
|
|
1774
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1775
|
+
*/
|
|
1776
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1777
|
+
};
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* Describes the message google.protobuf.ServiceOptions.
|
|
1781
|
+
* Use `create(ServiceOptionsSchema)` to create a new message.
|
|
1782
|
+
*/
|
|
1783
|
+
export declare const ServiceOptionsSchema: GenMessage<ServiceOptions>;
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* @generated from message google.protobuf.MethodOptions
|
|
1787
|
+
*/
|
|
1788
|
+
export declare type MethodOptions = Message<"google.protobuf.MethodOptions"> & {
|
|
1789
|
+
/**
|
|
1790
|
+
* Is this method deprecated?
|
|
1791
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1792
|
+
* for the method, or it will be completely ignored; in the very least,
|
|
1793
|
+
* this is a formalization for deprecating methods.
|
|
1794
|
+
*
|
|
1795
|
+
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
1796
|
+
*/
|
|
1797
|
+
deprecated: boolean;
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* @generated from field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
|
|
1801
|
+
*/
|
|
1802
|
+
idempotencyLevel: MethodOptions_IdempotencyLevel;
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* Any features defined in the specific edition.
|
|
1806
|
+
*
|
|
1807
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 35;
|
|
1808
|
+
*/
|
|
1809
|
+
features?: FeatureSet;
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1813
|
+
*
|
|
1814
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1815
|
+
*/
|
|
1816
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1817
|
+
};
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* Describes the message google.protobuf.MethodOptions.
|
|
1821
|
+
* Use `create(MethodOptionsSchema)` to create a new message.
|
|
1822
|
+
*/
|
|
1823
|
+
export declare const MethodOptionsSchema: GenMessage<MethodOptions>;
|
|
1824
|
+
|
|
1825
|
+
/**
|
|
1826
|
+
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
1827
|
+
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
1828
|
+
* methods, and PUT verb for idempotent methods instead of the default POST.
|
|
1829
|
+
*
|
|
1830
|
+
* @generated from enum google.protobuf.MethodOptions.IdempotencyLevel
|
|
1831
|
+
*/
|
|
1832
|
+
export enum MethodOptions_IdempotencyLevel {
|
|
1833
|
+
/**
|
|
1834
|
+
* @generated from enum value: IDEMPOTENCY_UNKNOWN = 0;
|
|
1835
|
+
*/
|
|
1836
|
+
IDEMPOTENCY_UNKNOWN = 0,
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* implies idempotent
|
|
1840
|
+
*
|
|
1841
|
+
* @generated from enum value: NO_SIDE_EFFECTS = 1;
|
|
1842
|
+
*/
|
|
1843
|
+
NO_SIDE_EFFECTS = 1,
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* idempotent, but may have side effects
|
|
1847
|
+
*
|
|
1848
|
+
* @generated from enum value: IDEMPOTENT = 2;
|
|
1849
|
+
*/
|
|
1850
|
+
IDEMPOTENT = 2,
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* Describes the enum google.protobuf.MethodOptions.IdempotencyLevel.
|
|
1855
|
+
*/
|
|
1856
|
+
export declare const MethodOptions_IdempotencyLevelSchema: GenEnum<MethodOptions_IdempotencyLevel>;
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* A message representing a option the parser does not recognize. This only
|
|
1860
|
+
* appears in options protos created by the compiler::Parser class.
|
|
1861
|
+
* DescriptorPool resolves these when building Descriptor objects. Therefore,
|
|
1862
|
+
* options protos in descriptor objects (e.g. returned by Descriptor::options(),
|
|
1863
|
+
* or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
|
|
1864
|
+
* in them.
|
|
1865
|
+
*
|
|
1866
|
+
* @generated from message google.protobuf.UninterpretedOption
|
|
1867
|
+
*/
|
|
1868
|
+
export declare type UninterpretedOption = Message<"google.protobuf.UninterpretedOption"> & {
|
|
1869
|
+
/**
|
|
1870
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2;
|
|
1871
|
+
*/
|
|
1872
|
+
name: UninterpretedOption_NamePart[];
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* The value of the uninterpreted option, in whatever type the tokenizer
|
|
1876
|
+
* identified it as during parsing. Exactly one of these should be set.
|
|
1877
|
+
*
|
|
1878
|
+
* @generated from field: optional string identifier_value = 3;
|
|
1879
|
+
*/
|
|
1880
|
+
identifierValue: string;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* @generated from field: optional uint64 positive_int_value = 4;
|
|
1884
|
+
*/
|
|
1885
|
+
positiveIntValue: bigint;
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* @generated from field: optional int64 negative_int_value = 5;
|
|
1889
|
+
*/
|
|
1890
|
+
negativeIntValue: bigint;
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* @generated from field: optional double double_value = 6;
|
|
1894
|
+
*/
|
|
1895
|
+
doubleValue: number;
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* @generated from field: optional bytes string_value = 7;
|
|
1899
|
+
*/
|
|
1900
|
+
stringValue: Uint8Array;
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* @generated from field: optional string aggregate_value = 8;
|
|
1904
|
+
*/
|
|
1905
|
+
aggregateValue: string;
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* Describes the message google.protobuf.UninterpretedOption.
|
|
1910
|
+
* Use `create(UninterpretedOptionSchema)` to create a new message.
|
|
1911
|
+
*/
|
|
1912
|
+
export declare const UninterpretedOptionSchema: GenMessage<UninterpretedOption>;
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* The name of the uninterpreted option. Each string represents a segment in
|
|
1916
|
+
* a dot-separated name. is_extension is true iff a segment represents an
|
|
1917
|
+
* extension (denoted with parentheses in options specs in .proto files).
|
|
1918
|
+
* E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
|
1919
|
+
* "foo.(bar.baz).moo".
|
|
1920
|
+
*
|
|
1921
|
+
* @generated from message google.protobuf.UninterpretedOption.NamePart
|
|
1922
|
+
*/
|
|
1923
|
+
export declare type UninterpretedOption_NamePart = Message<"google.protobuf.UninterpretedOption.NamePart"> & {
|
|
1924
|
+
/**
|
|
1925
|
+
* @generated from field: required string name_part = 1;
|
|
1926
|
+
*/
|
|
1927
|
+
namePart: string;
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
* @generated from field: required bool is_extension = 2;
|
|
1931
|
+
*/
|
|
1932
|
+
isExtension: boolean;
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* Describes the message google.protobuf.UninterpretedOption.NamePart.
|
|
1937
|
+
* Use `create(UninterpretedOption_NamePartSchema)` to create a new message.
|
|
1938
|
+
*/
|
|
1939
|
+
export declare const UninterpretedOption_NamePartSchema: GenMessage<UninterpretedOption_NamePart>;
|
|
1940
|
+
|
|
1941
|
+
/**
|
|
1942
|
+
* TODO Enums in C++ gencode (and potentially other languages) are
|
|
1943
|
+
* not well scoped. This means that each of the feature enums below can clash
|
|
1944
|
+
* with each other. The short names we've chosen maximize call-site
|
|
1945
|
+
* readability, but leave us very open to this scenario. A future feature will
|
|
1946
|
+
* be designed and implemented to handle this, hopefully before we ever hit a
|
|
1947
|
+
* conflict here.
|
|
1948
|
+
*
|
|
1949
|
+
* @generated from message google.protobuf.FeatureSet
|
|
1950
|
+
*/
|
|
1951
|
+
export declare type FeatureSet = Message<"google.protobuf.FeatureSet"> & {
|
|
1952
|
+
/**
|
|
1953
|
+
* @generated from field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1;
|
|
1954
|
+
*/
|
|
1955
|
+
fieldPresence: FeatureSet_FieldPresence;
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* @generated from field: optional google.protobuf.FeatureSet.EnumType enum_type = 2;
|
|
1959
|
+
*/
|
|
1960
|
+
enumType: FeatureSet_EnumType;
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* @generated from field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3;
|
|
1964
|
+
*/
|
|
1965
|
+
repeatedFieldEncoding: FeatureSet_RepeatedFieldEncoding;
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* @generated from field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4;
|
|
1969
|
+
*/
|
|
1970
|
+
utf8Validation: FeatureSet_Utf8Validation;
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* @generated from field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5;
|
|
1974
|
+
*/
|
|
1975
|
+
messageEncoding: FeatureSet_MessageEncoding;
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* @generated from field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6;
|
|
1979
|
+
*/
|
|
1980
|
+
jsonFormat: FeatureSet_JsonFormat;
|
|
1981
|
+
};
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* Describes the message google.protobuf.FeatureSet.
|
|
1985
|
+
* Use `create(FeatureSetSchema)` to create a new message.
|
|
1986
|
+
*/
|
|
1987
|
+
export declare const FeatureSetSchema: GenMessage<FeatureSet>;
|
|
1988
|
+
|
|
1989
|
+
/**
|
|
1990
|
+
* @generated from enum google.protobuf.FeatureSet.FieldPresence
|
|
1991
|
+
*/
|
|
1992
|
+
export enum FeatureSet_FieldPresence {
|
|
1993
|
+
/**
|
|
1994
|
+
* @generated from enum value: FIELD_PRESENCE_UNKNOWN = 0;
|
|
1995
|
+
*/
|
|
1996
|
+
FIELD_PRESENCE_UNKNOWN = 0,
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* @generated from enum value: EXPLICIT = 1;
|
|
2000
|
+
*/
|
|
2001
|
+
EXPLICIT = 1,
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* @generated from enum value: IMPLICIT = 2;
|
|
2005
|
+
*/
|
|
2006
|
+
IMPLICIT = 2,
|
|
2007
|
+
|
|
2008
|
+
/**
|
|
2009
|
+
* @generated from enum value: LEGACY_REQUIRED = 3;
|
|
2010
|
+
*/
|
|
2011
|
+
LEGACY_REQUIRED = 3,
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* Describes the enum google.protobuf.FeatureSet.FieldPresence.
|
|
2016
|
+
*/
|
|
2017
|
+
export declare const FeatureSet_FieldPresenceSchema: GenEnum<FeatureSet_FieldPresence>;
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* @generated from enum google.protobuf.FeatureSet.EnumType
|
|
2021
|
+
*/
|
|
2022
|
+
export enum FeatureSet_EnumType {
|
|
2023
|
+
/**
|
|
2024
|
+
* @generated from enum value: ENUM_TYPE_UNKNOWN = 0;
|
|
2025
|
+
*/
|
|
2026
|
+
ENUM_TYPE_UNKNOWN = 0,
|
|
2027
|
+
|
|
2028
|
+
/**
|
|
2029
|
+
* @generated from enum value: OPEN = 1;
|
|
2030
|
+
*/
|
|
2031
|
+
OPEN = 1,
|
|
2032
|
+
|
|
2033
|
+
/**
|
|
2034
|
+
* @generated from enum value: CLOSED = 2;
|
|
2035
|
+
*/
|
|
2036
|
+
CLOSED = 2,
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
/**
|
|
2040
|
+
* Describes the enum google.protobuf.FeatureSet.EnumType.
|
|
2041
|
+
*/
|
|
2042
|
+
export declare const FeatureSet_EnumTypeSchema: GenEnum<FeatureSet_EnumType>;
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* @generated from enum google.protobuf.FeatureSet.RepeatedFieldEncoding
|
|
2046
|
+
*/
|
|
2047
|
+
export enum FeatureSet_RepeatedFieldEncoding {
|
|
2048
|
+
/**
|
|
2049
|
+
* @generated from enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0;
|
|
2050
|
+
*/
|
|
2051
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
|
2052
|
+
|
|
2053
|
+
/**
|
|
2054
|
+
* @generated from enum value: PACKED = 1;
|
|
2055
|
+
*/
|
|
2056
|
+
PACKED = 1,
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* @generated from enum value: EXPANDED = 2;
|
|
2060
|
+
*/
|
|
2061
|
+
EXPANDED = 2,
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
/**
|
|
2065
|
+
* Describes the enum google.protobuf.FeatureSet.RepeatedFieldEncoding.
|
|
2066
|
+
*/
|
|
2067
|
+
export declare const FeatureSet_RepeatedFieldEncodingSchema: GenEnum<FeatureSet_RepeatedFieldEncoding>;
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* @generated from enum google.protobuf.FeatureSet.Utf8Validation
|
|
2071
|
+
*/
|
|
2072
|
+
export enum FeatureSet_Utf8Validation {
|
|
2073
|
+
/**
|
|
2074
|
+
* @generated from enum value: UTF8_VALIDATION_UNKNOWN = 0;
|
|
2075
|
+
*/
|
|
2076
|
+
UTF8_VALIDATION_UNKNOWN = 0,
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* @generated from enum value: VERIFY = 2;
|
|
2080
|
+
*/
|
|
2081
|
+
VERIFY = 2,
|
|
2082
|
+
|
|
2083
|
+
/**
|
|
2084
|
+
* @generated from enum value: NONE = 3;
|
|
2085
|
+
*/
|
|
2086
|
+
NONE = 3,
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* Describes the enum google.protobuf.FeatureSet.Utf8Validation.
|
|
2091
|
+
*/
|
|
2092
|
+
export declare const FeatureSet_Utf8ValidationSchema: GenEnum<FeatureSet_Utf8Validation>;
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* @generated from enum google.protobuf.FeatureSet.MessageEncoding
|
|
2096
|
+
*/
|
|
2097
|
+
export enum FeatureSet_MessageEncoding {
|
|
2098
|
+
/**
|
|
2099
|
+
* @generated from enum value: MESSAGE_ENCODING_UNKNOWN = 0;
|
|
2100
|
+
*/
|
|
2101
|
+
MESSAGE_ENCODING_UNKNOWN = 0,
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* @generated from enum value: LENGTH_PREFIXED = 1;
|
|
2105
|
+
*/
|
|
2106
|
+
LENGTH_PREFIXED = 1,
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* @generated from enum value: DELIMITED = 2;
|
|
2110
|
+
*/
|
|
2111
|
+
DELIMITED = 2,
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* Describes the enum google.protobuf.FeatureSet.MessageEncoding.
|
|
2116
|
+
*/
|
|
2117
|
+
export declare const FeatureSet_MessageEncodingSchema: GenEnum<FeatureSet_MessageEncoding>;
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* @generated from enum google.protobuf.FeatureSet.JsonFormat
|
|
2121
|
+
*/
|
|
2122
|
+
export enum FeatureSet_JsonFormat {
|
|
2123
|
+
/**
|
|
2124
|
+
* @generated from enum value: JSON_FORMAT_UNKNOWN = 0;
|
|
2125
|
+
*/
|
|
2126
|
+
JSON_FORMAT_UNKNOWN = 0,
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* @generated from enum value: ALLOW = 1;
|
|
2130
|
+
*/
|
|
2131
|
+
ALLOW = 1,
|
|
2132
|
+
|
|
2133
|
+
/**
|
|
2134
|
+
* @generated from enum value: LEGACY_BEST_EFFORT = 2;
|
|
2135
|
+
*/
|
|
2136
|
+
LEGACY_BEST_EFFORT = 2,
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
/**
|
|
2140
|
+
* Describes the enum google.protobuf.FeatureSet.JsonFormat.
|
|
2141
|
+
*/
|
|
2142
|
+
export declare const FeatureSet_JsonFormatSchema: GenEnum<FeatureSet_JsonFormat>;
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* A compiled specification for the defaults of a set of features. These
|
|
2146
|
+
* messages are generated from FeatureSet extensions and can be used to seed
|
|
2147
|
+
* feature resolution. The resolution with this object becomes a simple search
|
|
2148
|
+
* for the closest matching edition, followed by proto merges.
|
|
2149
|
+
*
|
|
2150
|
+
* @generated from message google.protobuf.FeatureSetDefaults
|
|
2151
|
+
*/
|
|
2152
|
+
export declare type FeatureSetDefaults = Message<"google.protobuf.FeatureSetDefaults"> & {
|
|
2153
|
+
/**
|
|
2154
|
+
* @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
|
|
2155
|
+
*/
|
|
2156
|
+
defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* The minimum supported edition (inclusive) when this was constructed.
|
|
2160
|
+
* Editions before this will not have defaults.
|
|
2161
|
+
*
|
|
2162
|
+
* @generated from field: optional google.protobuf.Edition minimum_edition = 4;
|
|
2163
|
+
*/
|
|
2164
|
+
minimumEdition: Edition;
|
|
2165
|
+
|
|
2166
|
+
/**
|
|
2167
|
+
* The maximum known edition (inclusive) when this was constructed. Editions
|
|
2168
|
+
* after this will not have reliable defaults.
|
|
2169
|
+
*
|
|
2170
|
+
* @generated from field: optional google.protobuf.Edition maximum_edition = 5;
|
|
2171
|
+
*/
|
|
2172
|
+
maximumEdition: Edition;
|
|
2173
|
+
};
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* Describes the message google.protobuf.FeatureSetDefaults.
|
|
2177
|
+
* Use `create(FeatureSetDefaultsSchema)` to create a new message.
|
|
2178
|
+
*/
|
|
2179
|
+
export declare const FeatureSetDefaultsSchema: GenMessage<FeatureSetDefaults>;
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* A map from every known edition with a unique set of defaults to its
|
|
2183
|
+
* defaults. Not all editions may be contained here. For a given edition,
|
|
2184
|
+
* the defaults at the closest matching edition ordered at or before it should
|
|
2185
|
+
* be used. This field must be in strict ascending order by edition.
|
|
2186
|
+
*
|
|
2187
|
+
* @generated from message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
2188
|
+
*/
|
|
2189
|
+
export declare type FeatureSetDefaults_FeatureSetEditionDefault = Message<"google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"> & {
|
|
2190
|
+
/**
|
|
2191
|
+
* @generated from field: optional google.protobuf.Edition edition = 3;
|
|
2192
|
+
*/
|
|
2193
|
+
edition: Edition;
|
|
2194
|
+
|
|
2195
|
+
/**
|
|
2196
|
+
* Defaults of features that can be overridden in this edition.
|
|
2197
|
+
*
|
|
2198
|
+
* @generated from field: optional google.protobuf.FeatureSet overridable_features = 4;
|
|
2199
|
+
*/
|
|
2200
|
+
overridableFeatures?: FeatureSet;
|
|
2201
|
+
|
|
2202
|
+
/**
|
|
2203
|
+
* Defaults of features that can't be overridden in this edition.
|
|
2204
|
+
*
|
|
2205
|
+
* @generated from field: optional google.protobuf.FeatureSet fixed_features = 5;
|
|
2206
|
+
*/
|
|
2207
|
+
fixedFeatures?: FeatureSet;
|
|
2208
|
+
};
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* Describes the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
|
2212
|
+
* Use `create(FeatureSetDefaults_FeatureSetEditionDefaultSchema)` to create a new message.
|
|
2213
|
+
*/
|
|
2214
|
+
export declare const FeatureSetDefaults_FeatureSetEditionDefaultSchema: GenMessage<FeatureSetDefaults_FeatureSetEditionDefault>;
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* Encapsulates information about the original source file from which a
|
|
2218
|
+
* FileDescriptorProto was generated.
|
|
2219
|
+
*
|
|
2220
|
+
* @generated from message google.protobuf.SourceCodeInfo
|
|
2221
|
+
*/
|
|
2222
|
+
export declare type SourceCodeInfo = Message<"google.protobuf.SourceCodeInfo"> & {
|
|
2223
|
+
/**
|
|
2224
|
+
* A Location identifies a piece of source code in a .proto file which
|
|
2225
|
+
* corresponds to a particular definition. This information is intended
|
|
2226
|
+
* to be useful to IDEs, code indexers, documentation generators, and similar
|
|
2227
|
+
* tools.
|
|
2228
|
+
*
|
|
2229
|
+
* For example, say we have a file like:
|
|
2230
|
+
* message Foo {
|
|
2231
|
+
* optional string foo = 1;
|
|
2232
|
+
* }
|
|
2233
|
+
* Let's look at just the field definition:
|
|
2234
|
+
* optional string foo = 1;
|
|
2235
|
+
* ^ ^^ ^^ ^ ^^^
|
|
2236
|
+
* a bc de f ghi
|
|
2237
|
+
* We have the following locations:
|
|
2238
|
+
* span path represents
|
|
2239
|
+
* [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
|
2240
|
+
* [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
|
2241
|
+
* [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
|
2242
|
+
* [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
|
2243
|
+
* [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
|
2244
|
+
*
|
|
2245
|
+
* Notes:
|
|
2246
|
+
* - A location may refer to a repeated field itself (i.e. not to any
|
|
2247
|
+
* particular index within it). This is used whenever a set of elements are
|
|
2248
|
+
* logically enclosed in a single code segment. For example, an entire
|
|
2249
|
+
* extend block (possibly containing multiple extension definitions) will
|
|
2250
|
+
* have an outer location whose path refers to the "extensions" repeated
|
|
2251
|
+
* field without an index.
|
|
2252
|
+
* - Multiple locations may have the same path. This happens when a single
|
|
2253
|
+
* logical declaration is spread out across multiple places. The most
|
|
2254
|
+
* obvious example is the "extend" block again -- there may be multiple
|
|
2255
|
+
* extend blocks in the same scope, each of which will have the same path.
|
|
2256
|
+
* - A location's span is not always a subset of its parent's span. For
|
|
2257
|
+
* example, the "extendee" of an extension declaration appears at the
|
|
2258
|
+
* beginning of the "extend" block and is shared by all extensions within
|
|
2259
|
+
* the block.
|
|
2260
|
+
* - Just because a location's span is a subset of some other location's span
|
|
2261
|
+
* does not mean that it is a descendant. For example, a "group" defines
|
|
2262
|
+
* both a type and a field in a single declaration. Thus, the locations
|
|
2263
|
+
* corresponding to the type and field and their components will overlap.
|
|
2264
|
+
* - Code which tries to interpret locations should probably be designed to
|
|
2265
|
+
* ignore those that it doesn't understand, as more types of locations could
|
|
2266
|
+
* be recorded in the future.
|
|
2267
|
+
*
|
|
2268
|
+
* @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1;
|
|
2269
|
+
*/
|
|
2270
|
+
location: SourceCodeInfo_Location[];
|
|
2271
|
+
};
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* Describes the message google.protobuf.SourceCodeInfo.
|
|
2275
|
+
* Use `create(SourceCodeInfoSchema)` to create a new message.
|
|
2276
|
+
*/
|
|
2277
|
+
export declare const SourceCodeInfoSchema: GenMessage<SourceCodeInfo>;
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* @generated from message google.protobuf.SourceCodeInfo.Location
|
|
2281
|
+
*/
|
|
2282
|
+
export declare type SourceCodeInfo_Location = Message<"google.protobuf.SourceCodeInfo.Location"> & {
|
|
2283
|
+
/**
|
|
2284
|
+
* Identifies which part of the FileDescriptorProto was defined at this
|
|
2285
|
+
* location.
|
|
2286
|
+
*
|
|
2287
|
+
* Each element is a field number or an index. They form a path from
|
|
2288
|
+
* the root FileDescriptorProto to the place where the definition appears.
|
|
2289
|
+
* For example, this path:
|
|
2290
|
+
* [ 4, 3, 2, 7, 1 ]
|
|
2291
|
+
* refers to:
|
|
2292
|
+
* file.message_type(3) // 4, 3
|
|
2293
|
+
* .field(7) // 2, 7
|
|
2294
|
+
* .name() // 1
|
|
2295
|
+
* This is because FileDescriptorProto.message_type has field number 4:
|
|
2296
|
+
* repeated DescriptorProto message_type = 4;
|
|
2297
|
+
* and DescriptorProto.field has field number 2:
|
|
2298
|
+
* repeated FieldDescriptorProto field = 2;
|
|
2299
|
+
* and FieldDescriptorProto.name has field number 1:
|
|
2300
|
+
* optional string name = 1;
|
|
2301
|
+
*
|
|
2302
|
+
* Thus, the above path gives the location of a field name. If we removed
|
|
2303
|
+
* the last element:
|
|
2304
|
+
* [ 4, 3, 2, 7 ]
|
|
2305
|
+
* this path refers to the whole field declaration (from the beginning
|
|
2306
|
+
* of the label to the terminating semicolon).
|
|
2307
|
+
*
|
|
2308
|
+
* @generated from field: repeated int32 path = 1 [packed = true];
|
|
2309
|
+
*/
|
|
2310
|
+
path: number[];
|
|
2311
|
+
|
|
2312
|
+
/**
|
|
2313
|
+
* Always has exactly three or four elements: start line, start column,
|
|
2314
|
+
* end line (optional, otherwise assumed same as start line), end column.
|
|
2315
|
+
* These are packed into a single field for efficiency. Note that line
|
|
2316
|
+
* and column numbers are zero-based -- typically you will want to add
|
|
2317
|
+
* 1 to each before displaying to a user.
|
|
2318
|
+
*
|
|
2319
|
+
* @generated from field: repeated int32 span = 2 [packed = true];
|
|
2320
|
+
*/
|
|
2321
|
+
span: number[];
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* If this SourceCodeInfo represents a complete declaration, these are any
|
|
2325
|
+
* comments appearing before and after the declaration which appear to be
|
|
2326
|
+
* attached to the declaration.
|
|
2327
|
+
*
|
|
2328
|
+
* A series of line comments appearing on consecutive lines, with no other
|
|
2329
|
+
* tokens appearing on those lines, will be treated as a single comment.
|
|
2330
|
+
*
|
|
2331
|
+
* leading_detached_comments will keep paragraphs of comments that appear
|
|
2332
|
+
* before (but not connected to) the current element. Each paragraph,
|
|
2333
|
+
* separated by empty lines, will be one comment element in the repeated
|
|
2334
|
+
* field.
|
|
2335
|
+
*
|
|
2336
|
+
* Only the comment content is provided; comment markers (e.g. //) are
|
|
2337
|
+
* stripped out. For block comments, leading whitespace and an asterisk
|
|
2338
|
+
* will be stripped from the beginning of each line other than the first.
|
|
2339
|
+
* Newlines are included in the output.
|
|
2340
|
+
*
|
|
2341
|
+
* Examples:
|
|
2342
|
+
*
|
|
2343
|
+
* optional int32 foo = 1; // Comment attached to foo.
|
|
2344
|
+
* // Comment attached to bar.
|
|
2345
|
+
* optional int32 bar = 2;
|
|
2346
|
+
*
|
|
2347
|
+
* optional string baz = 3;
|
|
2348
|
+
* // Comment attached to baz.
|
|
2349
|
+
* // Another line attached to baz.
|
|
2350
|
+
*
|
|
2351
|
+
* // Comment attached to moo.
|
|
2352
|
+
* //
|
|
2353
|
+
* // Another line attached to moo.
|
|
2354
|
+
* optional double moo = 4;
|
|
2355
|
+
*
|
|
2356
|
+
* // Detached comment for corge. This is not leading or trailing comments
|
|
2357
|
+
* // to moo or corge because there are blank lines separating it from
|
|
2358
|
+
* // both.
|
|
2359
|
+
*
|
|
2360
|
+
* // Detached comment for corge paragraph 2.
|
|
2361
|
+
*
|
|
2362
|
+
* optional string corge = 5;
|
|
2363
|
+
* /* Block comment attached
|
|
2364
|
+
* * to corge. Leading asterisks
|
|
2365
|
+
* * will be removed. *\/
|
|
2366
|
+
* /* Block comment attached to
|
|
2367
|
+
* * grault. *\/
|
|
2368
|
+
* optional int32 grault = 6;
|
|
2369
|
+
*
|
|
2370
|
+
* // ignored detached comments.
|
|
2371
|
+
*
|
|
2372
|
+
* @generated from field: optional string leading_comments = 3;
|
|
2373
|
+
*/
|
|
2374
|
+
leadingComments: string;
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* @generated from field: optional string trailing_comments = 4;
|
|
2378
|
+
*/
|
|
2379
|
+
trailingComments: string;
|
|
2380
|
+
|
|
2381
|
+
/**
|
|
2382
|
+
* @generated from field: repeated string leading_detached_comments = 6;
|
|
2383
|
+
*/
|
|
2384
|
+
leadingDetachedComments: string[];
|
|
2385
|
+
};
|
|
2386
|
+
|
|
2387
|
+
/**
|
|
2388
|
+
* Describes the message google.protobuf.SourceCodeInfo.Location.
|
|
2389
|
+
* Use `create(SourceCodeInfo_LocationSchema)` to create a new message.
|
|
2390
|
+
*/
|
|
2391
|
+
export declare const SourceCodeInfo_LocationSchema: GenMessage<SourceCodeInfo_Location>;
|
|
2392
|
+
|
|
2393
|
+
/**
|
|
2394
|
+
* Describes the relationship between generated code and its original source
|
|
2395
|
+
* file. A GeneratedCodeInfo message is associated with only one generated
|
|
2396
|
+
* source file, but may contain references to different source .proto files.
|
|
2397
|
+
*
|
|
2398
|
+
* @generated from message google.protobuf.GeneratedCodeInfo
|
|
2399
|
+
*/
|
|
2400
|
+
export declare type GeneratedCodeInfo = Message<"google.protobuf.GeneratedCodeInfo"> & {
|
|
2401
|
+
/**
|
|
2402
|
+
* An Annotation connects some span of text in generated code to an element
|
|
2403
|
+
* of its generating .proto file.
|
|
2404
|
+
*
|
|
2405
|
+
* @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
|
|
2406
|
+
*/
|
|
2407
|
+
annotation: GeneratedCodeInfo_Annotation[];
|
|
2408
|
+
};
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* Describes the message google.protobuf.GeneratedCodeInfo.
|
|
2412
|
+
* Use `create(GeneratedCodeInfoSchema)` to create a new message.
|
|
2413
|
+
*/
|
|
2414
|
+
export declare const GeneratedCodeInfoSchema: GenMessage<GeneratedCodeInfo>;
|
|
2415
|
+
|
|
2416
|
+
/**
|
|
2417
|
+
* @generated from message google.protobuf.GeneratedCodeInfo.Annotation
|
|
2418
|
+
*/
|
|
2419
|
+
export declare type GeneratedCodeInfo_Annotation = Message<"google.protobuf.GeneratedCodeInfo.Annotation"> & {
|
|
2420
|
+
/**
|
|
2421
|
+
* Identifies the element in the original source .proto file. This field
|
|
2422
|
+
* is formatted the same as SourceCodeInfo.Location.path.
|
|
2423
|
+
*
|
|
2424
|
+
* @generated from field: repeated int32 path = 1 [packed = true];
|
|
2425
|
+
*/
|
|
2426
|
+
path: number[];
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* Identifies the filesystem path to the original source .proto.
|
|
2430
|
+
*
|
|
2431
|
+
* @generated from field: optional string source_file = 2;
|
|
2432
|
+
*/
|
|
2433
|
+
sourceFile: string;
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Identifies the starting offset in bytes in the generated code
|
|
2437
|
+
* that relates to the identified object.
|
|
2438
|
+
*
|
|
2439
|
+
* @generated from field: optional int32 begin = 3;
|
|
2440
|
+
*/
|
|
2441
|
+
begin: number;
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* Identifies the ending offset in bytes in the generated code that
|
|
2445
|
+
* relates to the identified object. The end offset should be one past
|
|
2446
|
+
* the last relevant byte (so the length of the text = end - begin).
|
|
2447
|
+
*
|
|
2448
|
+
* @generated from field: optional int32 end = 4;
|
|
2449
|
+
*/
|
|
2450
|
+
end: number;
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
* @generated from field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
|
|
2454
|
+
*/
|
|
2455
|
+
semantic: GeneratedCodeInfo_Annotation_Semantic;
|
|
2456
|
+
};
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* Describes the message google.protobuf.GeneratedCodeInfo.Annotation.
|
|
2460
|
+
* Use `create(GeneratedCodeInfo_AnnotationSchema)` to create a new message.
|
|
2461
|
+
*/
|
|
2462
|
+
export declare const GeneratedCodeInfo_AnnotationSchema: GenMessage<GeneratedCodeInfo_Annotation>;
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* Represents the identified object's effect on the element in the original
|
|
2466
|
+
* .proto file.
|
|
2467
|
+
*
|
|
2468
|
+
* @generated from enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
|
|
2469
|
+
*/
|
|
2470
|
+
export enum GeneratedCodeInfo_Annotation_Semantic {
|
|
2471
|
+
/**
|
|
2472
|
+
* There is no effect or the effect is indescribable.
|
|
2473
|
+
*
|
|
2474
|
+
* @generated from enum value: NONE = 0;
|
|
2475
|
+
*/
|
|
2476
|
+
NONE = 0,
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* The element is set or otherwise mutated.
|
|
2480
|
+
*
|
|
2481
|
+
* @generated from enum value: SET = 1;
|
|
2482
|
+
*/
|
|
2483
|
+
SET = 1,
|
|
2484
|
+
|
|
2485
|
+
/**
|
|
2486
|
+
* An alias to the element is returned.
|
|
2487
|
+
*
|
|
2488
|
+
* @generated from enum value: ALIAS = 2;
|
|
2489
|
+
*/
|
|
2490
|
+
ALIAS = 2,
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* Describes the enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic.
|
|
2495
|
+
*/
|
|
2496
|
+
export declare const GeneratedCodeInfo_Annotation_SemanticSchema: GenEnum<GeneratedCodeInfo_Annotation_Semantic>;
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* The full set of known editions.
|
|
2500
|
+
*
|
|
2501
|
+
* @generated from enum google.protobuf.Edition
|
|
2502
|
+
*/
|
|
2503
|
+
export enum Edition {
|
|
2504
|
+
/**
|
|
2505
|
+
* A placeholder for an unknown edition value.
|
|
2506
|
+
*
|
|
2507
|
+
* @generated from enum value: EDITION_UNKNOWN = 0;
|
|
2508
|
+
*/
|
|
2509
|
+
EDITION_UNKNOWN = 0,
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* A placeholder edition for specifying default behaviors *before* a feature
|
|
2513
|
+
* was first introduced. This is effectively an "infinite past".
|
|
2514
|
+
*
|
|
2515
|
+
* @generated from enum value: EDITION_LEGACY = 900;
|
|
2516
|
+
*/
|
|
2517
|
+
EDITION_LEGACY = 900,
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* Legacy syntax "editions". These pre-date editions, but behave much like
|
|
2521
|
+
* distinct editions. These can't be used to specify the edition of proto
|
|
2522
|
+
* files, but feature definitions must supply proto2/proto3 defaults for
|
|
2523
|
+
* backwards compatibility.
|
|
2524
|
+
*
|
|
2525
|
+
* @generated from enum value: EDITION_PROTO2 = 998;
|
|
2526
|
+
*/
|
|
2527
|
+
EDITION_PROTO2 = 998,
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* @generated from enum value: EDITION_PROTO3 = 999;
|
|
2531
|
+
*/
|
|
2532
|
+
EDITION_PROTO3 = 999,
|
|
2533
|
+
|
|
2534
|
+
/**
|
|
2535
|
+
* Editions that have been released. The specific values are arbitrary and
|
|
2536
|
+
* should not be depended on, but they will always be time-ordered for easy
|
|
2537
|
+
* comparison.
|
|
2538
|
+
*
|
|
2539
|
+
* @generated from enum value: EDITION_2023 = 1000;
|
|
2540
|
+
*/
|
|
2541
|
+
EDITION_2023 = 1000,
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* @generated from enum value: EDITION_2024 = 1001;
|
|
2545
|
+
*/
|
|
2546
|
+
EDITION_2024 = 1001,
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* Placeholder editions for testing feature resolution. These should not be
|
|
2550
|
+
* used or relied on outside of tests.
|
|
2551
|
+
*
|
|
2552
|
+
* @generated from enum value: EDITION_1_TEST_ONLY = 1;
|
|
2553
|
+
*/
|
|
2554
|
+
EDITION_1_TEST_ONLY = 1,
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* @generated from enum value: EDITION_2_TEST_ONLY = 2;
|
|
2558
|
+
*/
|
|
2559
|
+
EDITION_2_TEST_ONLY = 2,
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* @generated from enum value: EDITION_99997_TEST_ONLY = 99997;
|
|
2563
|
+
*/
|
|
2564
|
+
EDITION_99997_TEST_ONLY = 99997,
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* @generated from enum value: EDITION_99998_TEST_ONLY = 99998;
|
|
2568
|
+
*/
|
|
2569
|
+
EDITION_99998_TEST_ONLY = 99998,
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* @generated from enum value: EDITION_99999_TEST_ONLY = 99999;
|
|
2573
|
+
*/
|
|
2574
|
+
EDITION_99999_TEST_ONLY = 99999,
|
|
2575
|
+
|
|
2576
|
+
/**
|
|
2577
|
+
* Placeholder for specifying unbounded edition support. This should only
|
|
2578
|
+
* ever be used by plugins that can expect to never require any changes to
|
|
2579
|
+
* support a new edition.
|
|
2580
|
+
*
|
|
2581
|
+
* @generated from enum value: EDITION_MAX = 2147483647;
|
|
2582
|
+
*/
|
|
2583
|
+
EDITION_MAX = 2147483647,
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
/**
|
|
2587
|
+
* Describes the enum google.protobuf.Edition.
|
|
2588
|
+
*/
|
|
2589
|
+
export declare const EditionSchema: GenEnum<Edition>;
|