@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,185 @@
|
|
|
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
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
32
|
+
// @generated from file google/protobuf/struct.proto (package google.protobuf, syntax proto3)
|
|
33
|
+
/* eslint-disable */
|
|
34
|
+
|
|
35
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
36
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the file google/protobuf/struct.proto.
|
|
40
|
+
*/
|
|
41
|
+
export declare const file_google_protobuf_struct: GenFile;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* `Struct` represents a structured data value, consisting of fields
|
|
45
|
+
* which map to dynamically typed values. In some languages, `Struct`
|
|
46
|
+
* might be supported by a native representation. For example, in
|
|
47
|
+
* scripting languages like JS a struct is represented as an
|
|
48
|
+
* object. The details of that representation are described together
|
|
49
|
+
* with the proto support for the language.
|
|
50
|
+
*
|
|
51
|
+
* The JSON representation for `Struct` is JSON object.
|
|
52
|
+
*
|
|
53
|
+
* @generated from message google.protobuf.Struct
|
|
54
|
+
*/
|
|
55
|
+
export declare type Struct = Message<"google.protobuf.Struct"> & {
|
|
56
|
+
/**
|
|
57
|
+
* Unordered map of dynamically typed values.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: map<string, google.protobuf.Value> fields = 1;
|
|
60
|
+
*/
|
|
61
|
+
fields: { [key: string]: Value };
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message google.protobuf.Struct.
|
|
66
|
+
* Use `create(StructSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const StructSchema: GenMessage<Struct>;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* `Value` represents a dynamically typed value which can be either
|
|
72
|
+
* null, a number, a string, a boolean, a recursive struct value, or a
|
|
73
|
+
* list of values. A producer of value is expected to set one of these
|
|
74
|
+
* variants. Absence of any variant indicates an error.
|
|
75
|
+
*
|
|
76
|
+
* The JSON representation for `Value` is JSON value.
|
|
77
|
+
*
|
|
78
|
+
* @generated from message google.protobuf.Value
|
|
79
|
+
*/
|
|
80
|
+
export declare type Value = Message<"google.protobuf.Value"> & {
|
|
81
|
+
/**
|
|
82
|
+
* The kind of value.
|
|
83
|
+
*
|
|
84
|
+
* @generated from oneof google.protobuf.Value.kind
|
|
85
|
+
*/
|
|
86
|
+
kind: {
|
|
87
|
+
/**
|
|
88
|
+
* Represents a null value.
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: google.protobuf.NullValue null_value = 1;
|
|
91
|
+
*/
|
|
92
|
+
value: NullValue;
|
|
93
|
+
case: "nullValue";
|
|
94
|
+
} | {
|
|
95
|
+
/**
|
|
96
|
+
* Represents a double value.
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: double number_value = 2;
|
|
99
|
+
*/
|
|
100
|
+
value: number;
|
|
101
|
+
case: "numberValue";
|
|
102
|
+
} | {
|
|
103
|
+
/**
|
|
104
|
+
* Represents a string value.
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: string string_value = 3;
|
|
107
|
+
*/
|
|
108
|
+
value: string;
|
|
109
|
+
case: "stringValue";
|
|
110
|
+
} | {
|
|
111
|
+
/**
|
|
112
|
+
* Represents a boolean value.
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: bool bool_value = 4;
|
|
115
|
+
*/
|
|
116
|
+
value: boolean;
|
|
117
|
+
case: "boolValue";
|
|
118
|
+
} | {
|
|
119
|
+
/**
|
|
120
|
+
* Represents a structured value.
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: google.protobuf.Struct struct_value = 5;
|
|
123
|
+
*/
|
|
124
|
+
value: Struct;
|
|
125
|
+
case: "structValue";
|
|
126
|
+
} | {
|
|
127
|
+
/**
|
|
128
|
+
* Represents a repeated `Value`.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: google.protobuf.ListValue list_value = 6;
|
|
131
|
+
*/
|
|
132
|
+
value: ListValue;
|
|
133
|
+
case: "listValue";
|
|
134
|
+
} | { case: undefined; value?: undefined };
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message google.protobuf.Value.
|
|
139
|
+
* Use `create(ValueSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const ValueSchema: GenMessage<Value>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* `ListValue` is a wrapper around a repeated field of values.
|
|
145
|
+
*
|
|
146
|
+
* The JSON representation for `ListValue` is JSON array.
|
|
147
|
+
*
|
|
148
|
+
* @generated from message google.protobuf.ListValue
|
|
149
|
+
*/
|
|
150
|
+
export declare type ListValue = Message<"google.protobuf.ListValue"> & {
|
|
151
|
+
/**
|
|
152
|
+
* Repeated field of dynamically typed values.
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: repeated google.protobuf.Value values = 1;
|
|
155
|
+
*/
|
|
156
|
+
values: Value[];
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Describes the message google.protobuf.ListValue.
|
|
161
|
+
* Use `create(ListValueSchema)` to create a new message.
|
|
162
|
+
*/
|
|
163
|
+
export declare const ListValueSchema: GenMessage<ListValue>;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
167
|
+
* `Value` type union.
|
|
168
|
+
*
|
|
169
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
|
170
|
+
*
|
|
171
|
+
* @generated from enum google.protobuf.NullValue
|
|
172
|
+
*/
|
|
173
|
+
export enum NullValue {
|
|
174
|
+
/**
|
|
175
|
+
* Null value.
|
|
176
|
+
*
|
|
177
|
+
* @generated from enum value: NULL_VALUE = 0;
|
|
178
|
+
*/
|
|
179
|
+
NULL_VALUE = 0,
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Describes the enum google.protobuf.NullValue.
|
|
184
|
+
*/
|
|
185
|
+
export declare const NullValueSchema: GenEnum<NullValue>;
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
32
|
+
// @generated from file google/protobuf/struct.proto (package google.protobuf, syntax proto3)
|
|
33
|
+
/* eslint-disable */
|
|
34
|
+
|
|
35
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the file google/protobuf/struct.proto.
|
|
39
|
+
*/
|
|
40
|
+
export const file_google_protobuf_struct = /*@__PURE__*/
|
|
41
|
+
fileDesc("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM");
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message google.protobuf.Struct.
|
|
45
|
+
* Use `create(StructSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const StructSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_google_protobuf_struct, 0);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message google.protobuf.Value.
|
|
52
|
+
* Use `create(ValueSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const ValueSchema = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_google_protobuf_struct, 1);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message google.protobuf.ListValue.
|
|
59
|
+
* Use `create(ListValueSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const ListValueSchema = /*@__PURE__*/
|
|
62
|
+
messageDesc(file_google_protobuf_struct, 2);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the enum google.protobuf.NullValue.
|
|
66
|
+
*/
|
|
67
|
+
export const NullValueSchema = /*@__PURE__*/
|
|
68
|
+
enumDesc(file_google_protobuf_struct, 0);
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
72
|
+
* `Value` type union.
|
|
73
|
+
*
|
|
74
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
|
75
|
+
*
|
|
76
|
+
* @generated from enum google.protobuf.NullValue
|
|
77
|
+
*/
|
|
78
|
+
export const NullValue = /*@__PURE__*/
|
|
79
|
+
tsEnum(NullValueSchema);
|
|
@@ -0,0 +1,162 @@
|
|
|
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
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
32
|
+
// @generated from file google/protobuf/timestamp.proto (package google.protobuf, syntax proto3)
|
|
33
|
+
/* eslint-disable */
|
|
34
|
+
|
|
35
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
36
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the file google/protobuf/timestamp.proto.
|
|
40
|
+
*/
|
|
41
|
+
export declare const file_google_protobuf_timestamp: GenFile;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* A Timestamp represents a point in time independent of any time zone or local
|
|
45
|
+
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
46
|
+
* nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
47
|
+
* January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
48
|
+
* Gregorian calendar backwards to year one.
|
|
49
|
+
*
|
|
50
|
+
* All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
51
|
+
* second table is needed for interpretation, using a [24-hour linear
|
|
52
|
+
* smear](https://developers.google.com/time/smear).
|
|
53
|
+
*
|
|
54
|
+
* The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
55
|
+
* restricting to that range, we ensure that we can convert to and from [RFC
|
|
56
|
+
* 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
57
|
+
*
|
|
58
|
+
* # Examples
|
|
59
|
+
*
|
|
60
|
+
* Example 1: Compute Timestamp from POSIX `time()`.
|
|
61
|
+
*
|
|
62
|
+
* Timestamp timestamp;
|
|
63
|
+
* timestamp.set_seconds(time(NULL));
|
|
64
|
+
* timestamp.set_nanos(0);
|
|
65
|
+
*
|
|
66
|
+
* Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
67
|
+
*
|
|
68
|
+
* struct timeval tv;
|
|
69
|
+
* gettimeofday(&tv, NULL);
|
|
70
|
+
*
|
|
71
|
+
* Timestamp timestamp;
|
|
72
|
+
* timestamp.set_seconds(tv.tv_sec);
|
|
73
|
+
* timestamp.set_nanos(tv.tv_usec * 1000);
|
|
74
|
+
*
|
|
75
|
+
* Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
76
|
+
*
|
|
77
|
+
* FILETIME ft;
|
|
78
|
+
* GetSystemTimeAsFileTime(&ft);
|
|
79
|
+
* UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
80
|
+
*
|
|
81
|
+
* // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
|
82
|
+
* // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
|
83
|
+
* Timestamp timestamp;
|
|
84
|
+
* timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
85
|
+
* timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
86
|
+
*
|
|
87
|
+
* Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
88
|
+
*
|
|
89
|
+
* long millis = System.currentTimeMillis();
|
|
90
|
+
*
|
|
91
|
+
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
|
92
|
+
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
93
|
+
*
|
|
94
|
+
* Example 5: Compute Timestamp from Java `Instant.now()`.
|
|
95
|
+
*
|
|
96
|
+
* Instant now = Instant.now();
|
|
97
|
+
*
|
|
98
|
+
* Timestamp timestamp =
|
|
99
|
+
* Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
|
100
|
+
* .setNanos(now.getNano()).build();
|
|
101
|
+
*
|
|
102
|
+
* Example 6: Compute Timestamp from current time in Python.
|
|
103
|
+
*
|
|
104
|
+
* timestamp = Timestamp()
|
|
105
|
+
* timestamp.GetCurrentTime()
|
|
106
|
+
*
|
|
107
|
+
* # JSON Mapping
|
|
108
|
+
*
|
|
109
|
+
* In JSON format, the Timestamp type is encoded as a string in the
|
|
110
|
+
* [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
|
111
|
+
* format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
|
|
112
|
+
* where {year} is always expressed using four digits while {month}, {day},
|
|
113
|
+
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
|
114
|
+
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
|
115
|
+
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
|
116
|
+
* is required. A proto3 JSON serializer should always use UTC (as indicated by
|
|
117
|
+
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
|
118
|
+
* able to accept both UTC and other timezones (as indicated by an offset).
|
|
119
|
+
*
|
|
120
|
+
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
|
121
|
+
* 01:30 UTC on January 15, 2017.
|
|
122
|
+
*
|
|
123
|
+
* In JavaScript, one can convert a Date object to this format using the
|
|
124
|
+
* standard
|
|
125
|
+
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
|
126
|
+
* method. In Python, a standard `datetime.datetime` object can be converted
|
|
127
|
+
* to this format using
|
|
128
|
+
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
|
129
|
+
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
|
130
|
+
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
|
131
|
+
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
|
132
|
+
* ) to obtain a formatter capable of generating timestamps in this format.
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
* @generated from message google.protobuf.Timestamp
|
|
136
|
+
*/
|
|
137
|
+
export declare type Timestamp = Message<"google.protobuf.Timestamp"> & {
|
|
138
|
+
/**
|
|
139
|
+
* Represents seconds of UTC time since Unix epoch
|
|
140
|
+
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
|
141
|
+
* 9999-12-31T23:59:59Z inclusive.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: int64 seconds = 1;
|
|
144
|
+
*/
|
|
145
|
+
seconds: bigint;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Non-negative fractions of a second at nanosecond resolution. Negative
|
|
149
|
+
* second values with fractions must still have non-negative nanos values
|
|
150
|
+
* that count forward in time. Must be from 0 to 999,999,999
|
|
151
|
+
* inclusive.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: int32 nanos = 2;
|
|
154
|
+
*/
|
|
155
|
+
nanos: number;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Describes the message google.protobuf.Timestamp.
|
|
160
|
+
* Use `create(TimestampSchema)` to create a new message.
|
|
161
|
+
*/
|
|
162
|
+
export declare const TimestampSchema: GenMessage<Timestamp>;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
32
|
+
// @generated from file google/protobuf/timestamp.proto (package google.protobuf, syntax proto3)
|
|
33
|
+
/* eslint-disable */
|
|
34
|
+
|
|
35
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the file google/protobuf/timestamp.proto.
|
|
39
|
+
*/
|
|
40
|
+
export const file_google_protobuf_timestamp = /*@__PURE__*/
|
|
41
|
+
fileDesc("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM");
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message google.protobuf.Timestamp.
|
|
45
|
+
* Use `create(TimestampSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const TimestampSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_google_protobuf_timestamp, 0);
|