@raystack/proton 0.1.0-00c55b6ba2a3f425eca16ca3d36e172952e4824d
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/README.md +113 -0
- package/google/api/annotations_pb.d.ts +34 -0
- package/google/api/annotations_pb.js +36 -0
- package/google/api/annotations_pb.ts +39 -0
- package/google/api/field_behavior_pb.d.ts +134 -0
- package/google/api/field_behavior_pb.js +65 -0
- package/google/api/field_behavior_pb.ts +139 -0
- package/google/api/http_pb.d.ts +477 -0
- package/google/api/http_pb.js +47 -0
- package/google/api/http_pb.ts +482 -0
- package/google/api/httpbody_pb.d.ts +104 -0
- package/google/api/httpbody_pb.js +34 -0
- package/google/api/httpbody_pb.ts +108 -0
- package/index.d.ts +10 -0
- package/index.js +10 -0
- package/index.ts +10 -0
- package/package.json +94 -0
- package/protoc-gen-openapiv2/options/annotations_pb.d.ts +63 -0
- package/protoc-gen-openapiv2/options/annotations_pb.js +69 -0
- package/protoc-gen-openapiv2/options/annotations_pb.ts +72 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1497 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.js +232 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1525 -0
- package/raystack/assets/index.d.ts +29 -0
- package/raystack/assets/index.js +29 -0
- package/raystack/assets/index.ts +29 -0
- package/raystack/assets/v1beta1/bucket_pb.d.ts +180 -0
- package/raystack/assets/v1beta1/bucket_pb.js +32 -0
- package/raystack/assets/v1beta1/bucket_pb.ts +190 -0
- package/raystack/assets/v1beta1/dashboard_pb.d.ts +217 -0
- package/raystack/assets/v1beta1/dashboard_pb.js +32 -0
- package/raystack/assets/v1beta1/dashboard_pb.ts +227 -0
- package/raystack/assets/v1beta1/event_pb.d.ts +52 -0
- package/raystack/assets/v1beta1/event_pb.js +20 -0
- package/raystack/assets/v1beta1/event_pb.ts +56 -0
- package/raystack/assets/v1beta1/group_pb.d.ts +105 -0
- package/raystack/assets/v1beta1/group_pb.js +30 -0
- package/raystack/assets/v1beta1/group_pb.ts +113 -0
- package/raystack/assets/v1beta1/job_pb.d.ts +78 -0
- package/raystack/assets/v1beta1/job_pb.js +25 -0
- package/raystack/assets/v1beta1/job_pb.ts +87 -0
- package/raystack/assets/v1beta1/lineage_pb.d.ts +43 -0
- package/raystack/assets/v1beta1/lineage_pb.js +20 -0
- package/raystack/assets/v1beta1/lineage_pb.ts +47 -0
- package/raystack/assets/v1beta1/ownership_pb.d.ts +78 -0
- package/raystack/assets/v1beta1/ownership_pb.js +26 -0
- package/raystack/assets/v1beta1/ownership_pb.ts +82 -0
- package/raystack/assets/v1beta1/preview_pb.d.ts +41 -0
- package/raystack/assets/v1beta1/preview_pb.js +20 -0
- package/raystack/assets/v1beta1/preview_pb.ts +45 -0
- package/raystack/assets/v1beta1/properties_pb.d.ts +44 -0
- package/raystack/assets/v1beta1/properties_pb.js +20 -0
- package/raystack/assets/v1beta1/properties_pb.ts +48 -0
- package/raystack/assets/v1beta1/resource_pb.d.ts +74 -0
- package/raystack/assets/v1beta1/resource_pb.js +19 -0
- package/raystack/assets/v1beta1/resource_pb.ts +77 -0
- package/raystack/assets/v1beta1/schema_pb.d.ts +169 -0
- package/raystack/assets/v1beta1/schema_pb.js +41 -0
- package/raystack/assets/v1beta1/schema_pb.ts +176 -0
- package/raystack/assets/v1beta1/table_pb.d.ts +192 -0
- package/raystack/assets/v1beta1/table_pb.js +41 -0
- package/raystack/assets/v1beta1/table_pb.ts +205 -0
- package/raystack/assets/v1beta1/timestamp_pb.d.ts +68 -0
- package/raystack/assets/v1beta1/timestamp_pb.js +27 -0
- package/raystack/assets/v1beta1/timestamp_pb.ts +73 -0
- package/raystack/assets/v1beta1/topic_pb.d.ts +125 -0
- package/raystack/assets/v1beta1/topic_pb.js +33 -0
- package/raystack/assets/v1beta1/topic_pb.ts +136 -0
- package/raystack/assets/v1beta1/user_pb.d.ts +216 -0
- package/raystack/assets/v1beta1/user_pb.js +37 -0
- package/raystack/assets/v1beta1/user_pb.ts +225 -0
- package/raystack/assets/v1beta2/application_pb.d.ts +59 -0
- package/raystack/assets/v1beta2/application_pb.js +20 -0
- package/raystack/assets/v1beta2/application_pb.ts +63 -0
- package/raystack/assets/v1beta2/asset_pb.d.ts +129 -0
- package/raystack/assets/v1beta2/asset_pb.js +21 -0
- package/raystack/assets/v1beta2/asset_pb.ts +134 -0
- package/raystack/assets/v1beta2/bucket_pb.d.ts +163 -0
- package/raystack/assets/v1beta2/bucket_pb.js +28 -0
- package/raystack/assets/v1beta2/bucket_pb.ts +169 -0
- package/raystack/assets/v1beta2/common_pb.d.ts +170 -0
- package/raystack/assets/v1beta2/common_pb.js +41 -0
- package/raystack/assets/v1beta2/common_pb.ts +177 -0
- package/raystack/assets/v1beta2/dashboard_pb.d.ts +192 -0
- package/raystack/assets/v1beta2/dashboard_pb.js +28 -0
- package/raystack/assets/v1beta2/dashboard_pb.ts +198 -0
- package/raystack/assets/v1beta2/experiment_pb.d.ts +134 -0
- package/raystack/assets/v1beta2/experiment_pb.js +27 -0
- package/raystack/assets/v1beta2/experiment_pb.ts +139 -0
- package/raystack/assets/v1beta2/feature_table_pb.d.ts +167 -0
- package/raystack/assets/v1beta2/feature_table_pb.js +34 -0
- package/raystack/assets/v1beta2/feature_table_pb.ts +173 -0
- package/raystack/assets/v1beta2/group_pb.d.ts +77 -0
- package/raystack/assets/v1beta2/group_pb.js +27 -0
- package/raystack/assets/v1beta2/group_pb.ts +82 -0
- package/raystack/assets/v1beta2/job_pb.d.ts +47 -0
- package/raystack/assets/v1beta2/job_pb.js +20 -0
- package/raystack/assets/v1beta2/job_pb.ts +51 -0
- package/raystack/assets/v1beta2/metric_pb.d.ts +83 -0
- package/raystack/assets/v1beta2/metric_pb.js +20 -0
- package/raystack/assets/v1beta2/metric_pb.ts +87 -0
- package/raystack/assets/v1beta2/model_pb.d.ts +227 -0
- package/raystack/assets/v1beta2/model_pb.js +41 -0
- package/raystack/assets/v1beta2/model_pb.ts +234 -0
- package/raystack/assets/v1beta2/table_pb.d.ts +283 -0
- package/raystack/assets/v1beta2/table_pb.js +48 -0
- package/raystack/assets/v1beta2/table_pb.ts +291 -0
- package/raystack/assets/v1beta2/topic_pb.d.ts +117 -0
- package/raystack/assets/v1beta2/topic_pb.js +34 -0
- package/raystack/assets/v1beta2/topic_pb.ts +123 -0
- package/raystack/assets/v1beta2/user_pb.d.ts +203 -0
- package/raystack/assets/v1beta2/user_pb.js +34 -0
- package/raystack/assets/v1beta2/user_pb.ts +209 -0
- package/raystack/common/index.d.ts +2 -0
- package/raystack/common/index.js +2 -0
- package/raystack/common/index.ts +2 -0
- package/raystack/common/v1/service-CommonService_connectquery.d.ts +10 -0
- package/raystack/common/v1/service-CommonService_connectquery.js +10 -0
- package/raystack/common/v1/service-CommonService_connectquery.ts +10 -0
- package/raystack/common/v1/service_pb.d.ts +100 -0
- package/raystack/common/v1/service_pb.js +42 -0
- package/raystack/common/v1/service_pb.ts +109 -0
- package/raystack/compass/index.d.ts +2 -0
- package/raystack/compass/index.js +2 -0
- package/raystack/compass/index.ts +2 -0
- package/raystack/compass/v1beta1/service-CompassService_connectquery.d.ts +184 -0
- package/raystack/compass/v1beta1/service-CompassService_connectquery.js +225 -0
- package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +225 -0
- package/raystack/compass/v1beta1/service_pb.d.ts +2994 -0
- package/raystack/compass/v1beta1/service_pb.js +745 -0
- package/raystack/compass/v1beta1/service_pb.ts +3104 -0
- package/raystack/entropy/index.d.ts +4 -0
- package/raystack/entropy/index.js +4 -0
- package/raystack/entropy/index.ts +4 -0
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.d.ts +26 -0
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.js +30 -0
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +30 -0
- package/raystack/entropy/v1beta1/module_pb.d.ts +261 -0
- package/raystack/entropy/v1beta1/module_pb.js +97 -0
- package/raystack/entropy/v1beta1/module_pb.ts +277 -0
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.d.ts +34 -0
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.js +40 -0
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +40 -0
- package/raystack/entropy/v1beta1/resource_pb.d.ts +636 -0
- package/raystack/entropy/v1beta1/resource_pb.js +200 -0
- package/raystack/entropy/v1beta1/resource_pb.ts +666 -0
- package/raystack/frontier/index.d.ts +5 -0
- package/raystack/frontier/index.js +5 -0
- package/raystack/frontier/index.ts +5 -0
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.d.ts +263 -0
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.js +316 -0
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +316 -0
- package/raystack/frontier/v1beta1/admin_pb.d.ts +3550 -0
- package/raystack/frontier/v1beta1/admin_pb.js +914 -0
- package/raystack/frontier/v1beta1/admin_pb.ts +3687 -0
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.d.ts +746 -0
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.js +915 -0
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +915 -0
- package/raystack/frontier/v1beta1/frontier_pb.d.ts +8883 -0
- package/raystack/frontier/v1beta1/frontier_pb.js +2635 -0
- package/raystack/frontier/v1beta1/frontier_pb.ts +9265 -0
- package/raystack/frontier/v1beta1/models_pb.d.ts +2861 -0
- package/raystack/frontier/v1beta1/models_pb.js +450 -0
- package/raystack/frontier/v1beta1/models_pb.ts +2928 -0
- package/raystack/guardian/index.d.ts +2 -0
- package/raystack/guardian/index.js +2 -0
- package/raystack/guardian/index.ts +2 -0
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.d.ts +168 -0
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.js +207 -0
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +207 -0
- package/raystack/guardian/v1beta1/guardian_pb.d.ts +3537 -0
- package/raystack/guardian/v1beta1/guardian_pb.js +823 -0
- package/raystack/guardian/v1beta1/guardian_pb.ts +3659 -0
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.d.ts +18 -0
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.js +20 -0
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +20 -0
- package/raystack/optimus/core/v1beta1/backup_pb.d.ts +256 -0
- package/raystack/optimus/core/v1beta1/backup_pb.js +77 -0
- package/raystack/optimus/core/v1beta1/backup_pb.ts +270 -0
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.d.ts +30 -0
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.js +33 -0
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +33 -0
- package/raystack/optimus/core/v1beta1/job_run_pb.d.ts +410 -0
- package/raystack/optimus/core/v1beta1/job_run_pb.js +127 -0
- package/raystack/optimus/core/v1beta1/job_run_pb.ts +430 -0
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.d.ts +98 -0
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.js +112 -0
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +112 -0
- package/raystack/optimus/core/v1beta1/job_spec_pb.d.ts +1953 -0
- package/raystack/optimus/core/v1beta1/job_spec_pb.js +487 -0
- package/raystack/optimus/core/v1beta1/job_spec_pb.ts +2025 -0
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.d.ts +24 -0
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.js +26 -0
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +26 -0
- package/raystack/optimus/core/v1beta1/namespace_pb.d.ts +180 -0
- package/raystack/optimus/core/v1beta1/namespace_pb.js +69 -0
- package/raystack/optimus/core/v1beta1/namespace_pb.ts +192 -0
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.d.ts +24 -0
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.js +26 -0
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +26 -0
- package/raystack/optimus/core/v1beta1/project_pb.d.ts +166 -0
- package/raystack/optimus/core/v1beta1/project_pb.js +69 -0
- package/raystack/optimus/core/v1beta1/project_pb.ts +178 -0
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.d.ts +22 -0
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.js +25 -0
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +25 -0
- package/raystack/optimus/core/v1beta1/replay_pb.d.ts +331 -0
- package/raystack/optimus/core/v1beta1/replay_pb.js +91 -0
- package/raystack/optimus/core/v1beta1/replay_pb.ts +347 -0
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.d.ts +43 -0
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.js +48 -0
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +48 -0
- package/raystack/optimus/core/v1beta1/resource_pb.d.ts +507 -0
- package/raystack/optimus/core/v1beta1/resource_pb.js +134 -0
- package/raystack/optimus/core/v1beta1/resource_pb.ts +530 -0
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.d.ts +12 -0
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.js +12 -0
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +12 -0
- package/raystack/optimus/core/v1beta1/runtime_pb.d.ts +62 -0
- package/raystack/optimus/core/v1beta1/runtime_pb.js +36 -0
- package/raystack/optimus/core/v1beta1/runtime_pb.ts +69 -0
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.d.ts +30 -0
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.js +33 -0
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +33 -0
- package/raystack/optimus/core/v1beta1/secret_pb.d.ts +250 -0
- package/raystack/optimus/core/v1beta1/secret_pb.js +84 -0
- package/raystack/optimus/core/v1beta1/secret_pb.ts +265 -0
- package/raystack/optimus/core/v1beta1/status_pb.d.ts +78 -0
- package/raystack/optimus/core/v1beta1/status_pb.js +31 -0
- package/raystack/optimus/core/v1beta1/status_pb.ts +82 -0
- package/raystack/optimus/integration/v1beta1/event_pb.d.ts +239 -0
- package/raystack/optimus/integration/v1beta1/event_pb.js +62 -0
- package/raystack/optimus/integration/v1beta1/event_pb.ts +250 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.d.ts +31 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.js +34 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +34 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.d.ts +353 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.js +120 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +371 -0
- package/raystack/predator/index.d.ts +2 -0
- package/raystack/predator/index.js +2 -0
- package/raystack/predator/index.ts +2 -0
- package/raystack/predator/v1beta1/metrics_log_pb.d.ts +163 -0
- package/raystack/predator/v1beta1/metrics_log_pb.js +48 -0
- package/raystack/predator/v1beta1/metrics_log_pb.ts +171 -0
- package/raystack/predator/v1beta1/result_log_pb.d.ts +143 -0
- package/raystack/predator/v1beta1/result_log_pb.js +42 -0
- package/raystack/predator/v1beta1/result_log_pb.ts +151 -0
- package/raystack/raccoon/index.d.ts +2 -0
- package/raystack/raccoon/index.js +2 -0
- package/raystack/raccoon/index.ts +2 -0
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.d.ts +10 -0
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.js +10 -0
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +10 -0
- package/raystack/raccoon/v1beta1/raccoon_pb.d.ts +268 -0
- package/raystack/raccoon/v1beta1/raccoon_pb.js +64 -0
- package/raystack/raccoon/v1beta1/raccoon_pb.ts +277 -0
- package/raystack/siren/index.d.ts +2 -0
- package/raystack/siren/index.js +2 -0
- package/raystack/siren/index.ts +2 -0
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.d.ts +146 -0
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.js +180 -0
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +180 -0
- package/raystack/siren/v1beta1/siren_pb.d.ts +2281 -0
- package/raystack/siren/v1beta1/siren_pb.js +603 -0
- package/raystack/siren/v1beta1/siren_pb.ts +2371 -0
- package/raystack/stencil/index.d.ts +2 -0
- package/raystack/stencil/index.js +2 -0
- package/raystack/stencil/index.ts +2 -0
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.d.ts +70 -0
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.js +85 -0
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +85 -0
- package/raystack/stencil/v1beta1/stencil_pb.d.ts +1057 -0
- package/raystack/stencil/v1beta1/stencil_pb.js +298 -0
- package/raystack/stencil/v1beta1/stencil_pb.ts +1102 -0
- package/validate/validate_pb.d.ts +1953 -0
- package/validate/validate_pb.js +223 -0
- package/validate/validate_pb.ts +1984 -0
|
@@ -0,0 +1,1984 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
|
|
2
|
+
// @generated from file validate/validate.proto (package validate, syntax proto2)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Duration, FieldOptions, MessageOptions, OneofOptions, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_descriptor, file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file validate/validate.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_validate_validate: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("Chd2YWxpZGF0ZS92YWxpZGF0ZS5wcm90bxIIdmFsaWRhdGUimAcKCkZpZWxkUnVsZXMSJwoHbWVzc2FnZRgRIAEoCzIWLnZhbGlkYXRlLk1lc3NhZ2VSdWxlcxIlCgVmbG9hdBgBIAEoCzIULnZhbGlkYXRlLkZsb2F0UnVsZXNIABInCgZkb3VibGUYAiABKAsyFS52YWxpZGF0ZS5Eb3VibGVSdWxlc0gAEiUKBWludDMyGAMgASgLMhQudmFsaWRhdGUuSW50MzJSdWxlc0gAEiUKBWludDY0GAQgASgLMhQudmFsaWRhdGUuSW50NjRSdWxlc0gAEicKBnVpbnQzMhgFIAEoCzIVLnZhbGlkYXRlLlVJbnQzMlJ1bGVzSAASJwoGdWludDY0GAYgASgLMhUudmFsaWRhdGUuVUludDY0UnVsZXNIABInCgZzaW50MzIYByABKAsyFS52YWxpZGF0ZS5TSW50MzJSdWxlc0gAEicKBnNpbnQ2NBgIIAEoCzIVLnZhbGlkYXRlLlNJbnQ2NFJ1bGVzSAASKQoHZml4ZWQzMhgJIAEoCzIWLnZhbGlkYXRlLkZpeGVkMzJSdWxlc0gAEikKB2ZpeGVkNjQYCiABKAsyFi52YWxpZGF0ZS5GaXhlZDY0UnVsZXNIABIrCghzZml4ZWQzMhgLIAEoCzIXLnZhbGlkYXRlLlNGaXhlZDMyUnVsZXNIABIrCghzZml4ZWQ2NBgMIAEoCzIXLnZhbGlkYXRlLlNGaXhlZDY0UnVsZXNIABIjCgRib29sGA0gASgLMhMudmFsaWRhdGUuQm9vbFJ1bGVzSAASJwoGc3RyaW5nGA4gASgLMhUudmFsaWRhdGUuU3RyaW5nUnVsZXNIABIlCgVieXRlcxgPIAEoCzIULnZhbGlkYXRlLkJ5dGVzUnVsZXNIABIjCgRlbnVtGBAgASgLMhMudmFsaWRhdGUuRW51bVJ1bGVzSAASKwoIcmVwZWF0ZWQYEiABKAsyFy52YWxpZGF0ZS5SZXBlYXRlZFJ1bGVzSAASIQoDbWFwGBMgASgLMhIudmFsaWRhdGUuTWFwUnVsZXNIABIhCgNhbnkYFCABKAsyEi52YWxpZGF0ZS5BbnlSdWxlc0gAEisKCGR1cmF0aW9uGBUgASgLMhcudmFsaWRhdGUuRHVyYXRpb25SdWxlc0gAEi0KCXRpbWVzdGFtcBgWIAEoCzIYLnZhbGlkYXRlLlRpbWVzdGFtcFJ1bGVzSABCBgoEdHlwZSJ/CgpGbG9hdFJ1bGVzEg0KBWNvbnN0GAEgASgCEgoKAmx0GAIgASgCEgsKA2x0ZRgDIAEoAhIKCgJndBgEIAEoAhILCgNndGUYBSABKAISCgoCaW4YBiADKAISDgoGbm90X2luGAcgAygCEhQKDGlnbm9yZV9lbXB0eRgIIAEoCCKAAQoLRG91YmxlUnVsZXMSDQoFY29uc3QYASABKAESCgoCbHQYAiABKAESCwoDbHRlGAMgASgBEgoKAmd0GAQgASgBEgsKA2d0ZRgFIAEoARIKCgJpbhgGIAMoARIOCgZub3RfaW4YByADKAESFAoMaWdub3JlX2VtcHR5GAggASgIIn8KCkludDMyUnVsZXMSDQoFY29uc3QYASABKAUSCgoCbHQYAiABKAUSCwoDbHRlGAMgASgFEgoKAmd0GAQgASgFEgsKA2d0ZRgFIAEoBRIKCgJpbhgGIAMoBRIOCgZub3RfaW4YByADKAUSFAoMaWdub3JlX2VtcHR5GAggASgIIn8KCkludDY0UnVsZXMSDQoFY29uc3QYASABKAMSCgoCbHQYAiABKAMSCwoDbHRlGAMgASgDEgoKAmd0GAQgASgDEgsKA2d0ZRgFIAEoAxIKCgJpbhgGIAMoAxIOCgZub3RfaW4YByADKAMSFAoMaWdub3JlX2VtcHR5GAggASgIIoABCgtVSW50MzJSdWxlcxINCgVjb25zdBgBIAEoDRIKCgJsdBgCIAEoDRILCgNsdGUYAyABKA0SCgoCZ3QYBCABKA0SCwoDZ3RlGAUgASgNEgoKAmluGAYgAygNEg4KBm5vdF9pbhgHIAMoDRIUCgxpZ25vcmVfZW1wdHkYCCABKAgigAEKC1VJbnQ2NFJ1bGVzEg0KBWNvbnN0GAEgASgEEgoKAmx0GAIgASgEEgsKA2x0ZRgDIAEoBBIKCgJndBgEIAEoBBILCgNndGUYBSABKAQSCgoCaW4YBiADKAQSDgoGbm90X2luGAcgAygEEhQKDGlnbm9yZV9lbXB0eRgIIAEoCCKAAQoLU0ludDMyUnVsZXMSDQoFY29uc3QYASABKBESCgoCbHQYAiABKBESCwoDbHRlGAMgASgREgoKAmd0GAQgASgREgsKA2d0ZRgFIAEoERIKCgJpbhgGIAMoERIOCgZub3RfaW4YByADKBESFAoMaWdub3JlX2VtcHR5GAggASgIIoABCgtTSW50NjRSdWxlcxINCgVjb25zdBgBIAEoEhIKCgJsdBgCIAEoEhILCgNsdGUYAyABKBISCgoCZ3QYBCABKBISCwoDZ3RlGAUgASgSEgoKAmluGAYgAygSEg4KBm5vdF9pbhgHIAMoEhIUCgxpZ25vcmVfZW1wdHkYCCABKAgigQEKDEZpeGVkMzJSdWxlcxINCgVjb25zdBgBIAEoBxIKCgJsdBgCIAEoBxILCgNsdGUYAyABKAcSCgoCZ3QYBCABKAcSCwoDZ3RlGAUgASgHEgoKAmluGAYgAygHEg4KBm5vdF9pbhgHIAMoBxIUCgxpZ25vcmVfZW1wdHkYCCABKAgigQEKDEZpeGVkNjRSdWxlcxINCgVjb25zdBgBIAEoBhIKCgJsdBgCIAEoBhILCgNsdGUYAyABKAYSCgoCZ3QYBCABKAYSCwoDZ3RlGAUgASgGEgoKAmluGAYgAygGEg4KBm5vdF9pbhgHIAMoBhIUCgxpZ25vcmVfZW1wdHkYCCABKAgiggEKDVNGaXhlZDMyUnVsZXMSDQoFY29uc3QYASABKA8SCgoCbHQYAiABKA8SCwoDbHRlGAMgASgPEgoKAmd0GAQgASgPEgsKA2d0ZRgFIAEoDxIKCgJpbhgGIAMoDxIOCgZub3RfaW4YByADKA8SFAoMaWdub3JlX2VtcHR5GAggASgIIoIBCg1TRml4ZWQ2NFJ1bGVzEg0KBWNvbnN0GAEgASgQEgoKAmx0GAIgASgQEgsKA2x0ZRgDIAEoEBIKCgJndBgEIAEoEBILCgNndGUYBSABKBASCgoCaW4YBiADKBASDgoGbm90X2luGAcgAygQEhQKDGlnbm9yZV9lbXB0eRgIIAEoCCIaCglCb29sUnVsZXMSDQoFY29uc3QYASABKAgi/QMKC1N0cmluZ1J1bGVzEg0KBWNvbnN0GAEgASgJEgsKA2xlbhgTIAEoBBIPCgdtaW5fbGVuGAIgASgEEg8KB21heF9sZW4YAyABKAQSEQoJbGVuX2J5dGVzGBQgASgEEhEKCW1pbl9ieXRlcxgEIAEoBBIRCgltYXhfYnl0ZXMYBSABKAQSDwoHcGF0dGVybhgGIAEoCRIOCgZwcmVmaXgYByABKAkSDgoGc3VmZml4GAggASgJEhAKCGNvbnRhaW5zGAkgASgJEhQKDG5vdF9jb250YWlucxgXIAEoCRIKCgJpbhgKIAMoCRIOCgZub3RfaW4YCyADKAkSDwoFZW1haWwYDCABKAhIABISCghob3N0bmFtZRgNIAEoCEgAEgwKAmlwGA4gASgISAASDgoEaXB2NBgPIAEoCEgAEg4KBGlwdjYYECABKAhIABINCgN1cmkYESABKAhIABIRCgd1cmlfcmVmGBIgASgISAASEQoHYWRkcmVzcxgVIAEoCEgAEg4KBHV1aWQYFiABKAhIABIwChB3ZWxsX2tub3duX3JlZ2V4GBggASgOMhQudmFsaWRhdGUuS25vd25SZWdleEgAEhQKBnN0cmljdBgZIAEoCDoEdHJ1ZRIUCgxpZ25vcmVfZW1wdHkYGiABKAhCDAoKd2VsbF9rbm93biL7AQoKQnl0ZXNSdWxlcxINCgVjb25zdBgBIAEoDBILCgNsZW4YDSABKAQSDwoHbWluX2xlbhgCIAEoBBIPCgdtYXhfbGVuGAMgASgEEg8KB3BhdHRlcm4YBCABKAkSDgoGcHJlZml4GAUgASgMEg4KBnN1ZmZpeBgGIAEoDBIQCghjb250YWlucxgHIAEoDBIKCgJpbhgIIAMoDBIOCgZub3RfaW4YCSADKAwSDAoCaXAYCiABKAhIABIOCgRpcHY0GAsgASgISAASDgoEaXB2NhgMIAEoCEgAEhQKDGlnbm9yZV9lbXB0eRgOIAEoCEIMCgp3ZWxsX2tub3duIkwKCUVudW1SdWxlcxINCgVjb25zdBgBIAEoBRIUCgxkZWZpbmVkX29ubHkYAiABKAgSCgoCaW4YAyADKAUSDgoGbm90X2luGAQgAygFIi4KDE1lc3NhZ2VSdWxlcxIMCgRza2lwGAEgASgIEhAKCHJlcXVpcmVkGAIgASgIIoABCg1SZXBlYXRlZFJ1bGVzEhEKCW1pbl9pdGVtcxgBIAEoBBIRCgltYXhfaXRlbXMYAiABKAQSDgoGdW5pcXVlGAMgASgIEiMKBWl0ZW1zGAQgASgLMhQudmFsaWRhdGUuRmllbGRSdWxlcxIUCgxpZ25vcmVfZW1wdHkYBSABKAgiowEKCE1hcFJ1bGVzEhEKCW1pbl9wYWlycxgBIAEoBBIRCgltYXhfcGFpcnMYAiABKAQSEQoJbm9fc3BhcnNlGAMgASgIEiIKBGtleXMYBCABKAsyFC52YWxpZGF0ZS5GaWVsZFJ1bGVzEiQKBnZhbHVlcxgFIAEoCzIULnZhbGlkYXRlLkZpZWxkUnVsZXMSFAoMaWdub3JlX2VtcHR5GAYgASgIIjgKCEFueVJ1bGVzEhAKCHJlcXVpcmVkGAEgASgIEgoKAmluGAIgAygJEg4KBm5vdF9pbhgDIAMoCSK7AgoNRHVyYXRpb25SdWxlcxIQCghyZXF1aXJlZBgBIAEoCBIoCgVjb25zdBgCIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhIlCgJsdBgDIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhImCgNsdGUYBCABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SJQoCZ3QYBSABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SJgoDZ3RlGAYgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEiUKAmluGAcgAygLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEikKBm5vdF9pbhgIIAMoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbiK6AgoOVGltZXN0YW1wUnVsZXMSEAoIcmVxdWlyZWQYASABKAgSKQoFY29uc3QYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEiYKAmx0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBInCgNsdGUYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEiYKAmd0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBInCgNndGUYBiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEg4KBmx0X25vdxgHIAEoCBIOCgZndF9ub3cYCCABKAgSKQoGd2l0aGluGAkgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uKkYKCktub3duUmVnZXgSCwoHVU5LTk9XThAAEhQKEEhUVFBfSEVBREVSX05BTUUQARIVChFIVFRQX0hFQURFUl9WQUxVRRACOjwKCGRpc2FibGVkEh8uZ29vZ2xlLnByb3RvYnVmLk1lc3NhZ2VPcHRpb25zGK8IIAEoCFIIZGlzYWJsZWQ6OgoHaWdub3JlZBIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxiwCCABKAhSB2lnbm9yZWQ6OgoIcmVxdWlyZWQSHS5nb29nbGUucHJvdG9idWYuT25lb2ZPcHRpb25zGK8IIAEoCFIIcmVxdWlyZWQ6SgoFcnVsZXMSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGK8IIAEoCzIULnZhbGlkYXRlLkZpZWxkUnVsZXNSBXJ1bGVzQlAKGmlvLmVudm95cHJveHkucGd2LnZhbGlkYXRlWjJnaXRodWIuY29tL2Vudm95cHJveHkvcHJvdG9jLWdlbi12YWxpZGF0ZS92YWxpZGF0ZQ", [file_google_protobuf_descriptor, file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* FieldRules encapsulates the rules for each type of field. Depending on the
|
|
19
|
+
* field, the correct set should be used to ensure proper validations.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message validate.FieldRules
|
|
22
|
+
*/
|
|
23
|
+
export type FieldRules = Message<"validate.FieldRules"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: optional validate.MessageRules message = 17;
|
|
26
|
+
*/
|
|
27
|
+
message?: MessageRules;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from oneof validate.FieldRules.type
|
|
31
|
+
*/
|
|
32
|
+
type: {
|
|
33
|
+
/**
|
|
34
|
+
* Scalar Field Types
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: validate.FloatRules float = 1;
|
|
37
|
+
*/
|
|
38
|
+
value: FloatRules;
|
|
39
|
+
case: "float";
|
|
40
|
+
} | {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: validate.DoubleRules double = 2;
|
|
43
|
+
*/
|
|
44
|
+
value: DoubleRules;
|
|
45
|
+
case: "double";
|
|
46
|
+
} | {
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: validate.Int32Rules int32 = 3;
|
|
49
|
+
*/
|
|
50
|
+
value: Int32Rules;
|
|
51
|
+
case: "int32";
|
|
52
|
+
} | {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: validate.Int64Rules int64 = 4;
|
|
55
|
+
*/
|
|
56
|
+
value: Int64Rules;
|
|
57
|
+
case: "int64";
|
|
58
|
+
} | {
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: validate.UInt32Rules uint32 = 5;
|
|
61
|
+
*/
|
|
62
|
+
value: UInt32Rules;
|
|
63
|
+
case: "uint32";
|
|
64
|
+
} | {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: validate.UInt64Rules uint64 = 6;
|
|
67
|
+
*/
|
|
68
|
+
value: UInt64Rules;
|
|
69
|
+
case: "uint64";
|
|
70
|
+
} | {
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: validate.SInt32Rules sint32 = 7;
|
|
73
|
+
*/
|
|
74
|
+
value: SInt32Rules;
|
|
75
|
+
case: "sint32";
|
|
76
|
+
} | {
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: validate.SInt64Rules sint64 = 8;
|
|
79
|
+
*/
|
|
80
|
+
value: SInt64Rules;
|
|
81
|
+
case: "sint64";
|
|
82
|
+
} | {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: validate.Fixed32Rules fixed32 = 9;
|
|
85
|
+
*/
|
|
86
|
+
value: Fixed32Rules;
|
|
87
|
+
case: "fixed32";
|
|
88
|
+
} | {
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: validate.Fixed64Rules fixed64 = 10;
|
|
91
|
+
*/
|
|
92
|
+
value: Fixed64Rules;
|
|
93
|
+
case: "fixed64";
|
|
94
|
+
} | {
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: validate.SFixed32Rules sfixed32 = 11;
|
|
97
|
+
*/
|
|
98
|
+
value: SFixed32Rules;
|
|
99
|
+
case: "sfixed32";
|
|
100
|
+
} | {
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: validate.SFixed64Rules sfixed64 = 12;
|
|
103
|
+
*/
|
|
104
|
+
value: SFixed64Rules;
|
|
105
|
+
case: "sfixed64";
|
|
106
|
+
} | {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: validate.BoolRules bool = 13;
|
|
109
|
+
*/
|
|
110
|
+
value: BoolRules;
|
|
111
|
+
case: "bool";
|
|
112
|
+
} | {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: validate.StringRules string = 14;
|
|
115
|
+
*/
|
|
116
|
+
value: StringRules;
|
|
117
|
+
case: "string";
|
|
118
|
+
} | {
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: validate.BytesRules bytes = 15;
|
|
121
|
+
*/
|
|
122
|
+
value: BytesRules;
|
|
123
|
+
case: "bytes";
|
|
124
|
+
} | {
|
|
125
|
+
/**
|
|
126
|
+
* Complex Field Types
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: validate.EnumRules enum = 16;
|
|
129
|
+
*/
|
|
130
|
+
value: EnumRules;
|
|
131
|
+
case: "enum";
|
|
132
|
+
} | {
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: validate.RepeatedRules repeated = 18;
|
|
135
|
+
*/
|
|
136
|
+
value: RepeatedRules;
|
|
137
|
+
case: "repeated";
|
|
138
|
+
} | {
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: validate.MapRules map = 19;
|
|
141
|
+
*/
|
|
142
|
+
value: MapRules;
|
|
143
|
+
case: "map";
|
|
144
|
+
} | {
|
|
145
|
+
/**
|
|
146
|
+
* Well-Known Field Types
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: validate.AnyRules any = 20;
|
|
149
|
+
*/
|
|
150
|
+
value: AnyRules;
|
|
151
|
+
case: "any";
|
|
152
|
+
} | {
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: validate.DurationRules duration = 21;
|
|
155
|
+
*/
|
|
156
|
+
value: DurationRules;
|
|
157
|
+
case: "duration";
|
|
158
|
+
} | {
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: validate.TimestampRules timestamp = 22;
|
|
161
|
+
*/
|
|
162
|
+
value: TimestampRules;
|
|
163
|
+
case: "timestamp";
|
|
164
|
+
} | { case: undefined; value?: undefined };
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Describes the message validate.FieldRules.
|
|
169
|
+
* Use `create(FieldRulesSchema)` to create a new message.
|
|
170
|
+
*/
|
|
171
|
+
export const FieldRulesSchema: GenMessage<FieldRules> = /*@__PURE__*/
|
|
172
|
+
messageDesc(file_validate_validate, 0);
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* FloatRules describes the constraints applied to `float` values
|
|
176
|
+
*
|
|
177
|
+
* @generated from message validate.FloatRules
|
|
178
|
+
*/
|
|
179
|
+
export type FloatRules = Message<"validate.FloatRules"> & {
|
|
180
|
+
/**
|
|
181
|
+
* Const specifies that this field must be exactly the specified value
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: optional float const = 1;
|
|
184
|
+
*/
|
|
185
|
+
const: number;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Lt specifies that this field must be less than the specified value,
|
|
189
|
+
* exclusive
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: optional float lt = 2;
|
|
192
|
+
*/
|
|
193
|
+
lt: number;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Lte specifies that this field must be less than or equal to the
|
|
197
|
+
* specified value, inclusive
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: optional float lte = 3;
|
|
200
|
+
*/
|
|
201
|
+
lte: number;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
205
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
206
|
+
* range is reversed.
|
|
207
|
+
*
|
|
208
|
+
* @generated from field: optional float gt = 4;
|
|
209
|
+
*/
|
|
210
|
+
gt: number;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
214
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
215
|
+
* specified Lt or Lte, the range is reversed.
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: optional float gte = 5;
|
|
218
|
+
*/
|
|
219
|
+
gte: number;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* In specifies that this field must be equal to one of the specified
|
|
223
|
+
* values
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: repeated float in = 6;
|
|
226
|
+
*/
|
|
227
|
+
in: number[];
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
231
|
+
* values
|
|
232
|
+
*
|
|
233
|
+
* @generated from field: repeated float not_in = 7;
|
|
234
|
+
*/
|
|
235
|
+
notIn: number[];
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
239
|
+
* evaluated only if the field is not empty
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
242
|
+
*/
|
|
243
|
+
ignoreEmpty: boolean;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Describes the message validate.FloatRules.
|
|
248
|
+
* Use `create(FloatRulesSchema)` to create a new message.
|
|
249
|
+
*/
|
|
250
|
+
export const FloatRulesSchema: GenMessage<FloatRules> = /*@__PURE__*/
|
|
251
|
+
messageDesc(file_validate_validate, 1);
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* DoubleRules describes the constraints applied to `double` values
|
|
255
|
+
*
|
|
256
|
+
* @generated from message validate.DoubleRules
|
|
257
|
+
*/
|
|
258
|
+
export type DoubleRules = Message<"validate.DoubleRules"> & {
|
|
259
|
+
/**
|
|
260
|
+
* Const specifies that this field must be exactly the specified value
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: optional double const = 1;
|
|
263
|
+
*/
|
|
264
|
+
const: number;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Lt specifies that this field must be less than the specified value,
|
|
268
|
+
* exclusive
|
|
269
|
+
*
|
|
270
|
+
* @generated from field: optional double lt = 2;
|
|
271
|
+
*/
|
|
272
|
+
lt: number;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Lte specifies that this field must be less than or equal to the
|
|
276
|
+
* specified value, inclusive
|
|
277
|
+
*
|
|
278
|
+
* @generated from field: optional double lte = 3;
|
|
279
|
+
*/
|
|
280
|
+
lte: number;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
284
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
285
|
+
* range is reversed.
|
|
286
|
+
*
|
|
287
|
+
* @generated from field: optional double gt = 4;
|
|
288
|
+
*/
|
|
289
|
+
gt: number;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
293
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
294
|
+
* specified Lt or Lte, the range is reversed.
|
|
295
|
+
*
|
|
296
|
+
* @generated from field: optional double gte = 5;
|
|
297
|
+
*/
|
|
298
|
+
gte: number;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* In specifies that this field must be equal to one of the specified
|
|
302
|
+
* values
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: repeated double in = 6;
|
|
305
|
+
*/
|
|
306
|
+
in: number[];
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
310
|
+
* values
|
|
311
|
+
*
|
|
312
|
+
* @generated from field: repeated double not_in = 7;
|
|
313
|
+
*/
|
|
314
|
+
notIn: number[];
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
318
|
+
* evaluated only if the field is not empty
|
|
319
|
+
*
|
|
320
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
321
|
+
*/
|
|
322
|
+
ignoreEmpty: boolean;
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Describes the message validate.DoubleRules.
|
|
327
|
+
* Use `create(DoubleRulesSchema)` to create a new message.
|
|
328
|
+
*/
|
|
329
|
+
export const DoubleRulesSchema: GenMessage<DoubleRules> = /*@__PURE__*/
|
|
330
|
+
messageDesc(file_validate_validate, 2);
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Int32Rules describes the constraints applied to `int32` values
|
|
334
|
+
*
|
|
335
|
+
* @generated from message validate.Int32Rules
|
|
336
|
+
*/
|
|
337
|
+
export type Int32Rules = Message<"validate.Int32Rules"> & {
|
|
338
|
+
/**
|
|
339
|
+
* Const specifies that this field must be exactly the specified value
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: optional int32 const = 1;
|
|
342
|
+
*/
|
|
343
|
+
const: number;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Lt specifies that this field must be less than the specified value,
|
|
347
|
+
* exclusive
|
|
348
|
+
*
|
|
349
|
+
* @generated from field: optional int32 lt = 2;
|
|
350
|
+
*/
|
|
351
|
+
lt: number;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Lte specifies that this field must be less than or equal to the
|
|
355
|
+
* specified value, inclusive
|
|
356
|
+
*
|
|
357
|
+
* @generated from field: optional int32 lte = 3;
|
|
358
|
+
*/
|
|
359
|
+
lte: number;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
363
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
364
|
+
* range is reversed.
|
|
365
|
+
*
|
|
366
|
+
* @generated from field: optional int32 gt = 4;
|
|
367
|
+
*/
|
|
368
|
+
gt: number;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
372
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
373
|
+
* specified Lt or Lte, the range is reversed.
|
|
374
|
+
*
|
|
375
|
+
* @generated from field: optional int32 gte = 5;
|
|
376
|
+
*/
|
|
377
|
+
gte: number;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* In specifies that this field must be equal to one of the specified
|
|
381
|
+
* values
|
|
382
|
+
*
|
|
383
|
+
* @generated from field: repeated int32 in = 6;
|
|
384
|
+
*/
|
|
385
|
+
in: number[];
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
389
|
+
* values
|
|
390
|
+
*
|
|
391
|
+
* @generated from field: repeated int32 not_in = 7;
|
|
392
|
+
*/
|
|
393
|
+
notIn: number[];
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
397
|
+
* evaluated only if the field is not empty
|
|
398
|
+
*
|
|
399
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
400
|
+
*/
|
|
401
|
+
ignoreEmpty: boolean;
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Describes the message validate.Int32Rules.
|
|
406
|
+
* Use `create(Int32RulesSchema)` to create a new message.
|
|
407
|
+
*/
|
|
408
|
+
export const Int32RulesSchema: GenMessage<Int32Rules> = /*@__PURE__*/
|
|
409
|
+
messageDesc(file_validate_validate, 3);
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Int64Rules describes the constraints applied to `int64` values
|
|
413
|
+
*
|
|
414
|
+
* @generated from message validate.Int64Rules
|
|
415
|
+
*/
|
|
416
|
+
export type Int64Rules = Message<"validate.Int64Rules"> & {
|
|
417
|
+
/**
|
|
418
|
+
* Const specifies that this field must be exactly the specified value
|
|
419
|
+
*
|
|
420
|
+
* @generated from field: optional int64 const = 1;
|
|
421
|
+
*/
|
|
422
|
+
const: bigint;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Lt specifies that this field must be less than the specified value,
|
|
426
|
+
* exclusive
|
|
427
|
+
*
|
|
428
|
+
* @generated from field: optional int64 lt = 2;
|
|
429
|
+
*/
|
|
430
|
+
lt: bigint;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Lte specifies that this field must be less than or equal to the
|
|
434
|
+
* specified value, inclusive
|
|
435
|
+
*
|
|
436
|
+
* @generated from field: optional int64 lte = 3;
|
|
437
|
+
*/
|
|
438
|
+
lte: bigint;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
442
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
443
|
+
* range is reversed.
|
|
444
|
+
*
|
|
445
|
+
* @generated from field: optional int64 gt = 4;
|
|
446
|
+
*/
|
|
447
|
+
gt: bigint;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
451
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
452
|
+
* specified Lt or Lte, the range is reversed.
|
|
453
|
+
*
|
|
454
|
+
* @generated from field: optional int64 gte = 5;
|
|
455
|
+
*/
|
|
456
|
+
gte: bigint;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* In specifies that this field must be equal to one of the specified
|
|
460
|
+
* values
|
|
461
|
+
*
|
|
462
|
+
* @generated from field: repeated int64 in = 6;
|
|
463
|
+
*/
|
|
464
|
+
in: bigint[];
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
468
|
+
* values
|
|
469
|
+
*
|
|
470
|
+
* @generated from field: repeated int64 not_in = 7;
|
|
471
|
+
*/
|
|
472
|
+
notIn: bigint[];
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
476
|
+
* evaluated only if the field is not empty
|
|
477
|
+
*
|
|
478
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
479
|
+
*/
|
|
480
|
+
ignoreEmpty: boolean;
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Describes the message validate.Int64Rules.
|
|
485
|
+
* Use `create(Int64RulesSchema)` to create a new message.
|
|
486
|
+
*/
|
|
487
|
+
export const Int64RulesSchema: GenMessage<Int64Rules> = /*@__PURE__*/
|
|
488
|
+
messageDesc(file_validate_validate, 4);
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* UInt32Rules describes the constraints applied to `uint32` values
|
|
492
|
+
*
|
|
493
|
+
* @generated from message validate.UInt32Rules
|
|
494
|
+
*/
|
|
495
|
+
export type UInt32Rules = Message<"validate.UInt32Rules"> & {
|
|
496
|
+
/**
|
|
497
|
+
* Const specifies that this field must be exactly the specified value
|
|
498
|
+
*
|
|
499
|
+
* @generated from field: optional uint32 const = 1;
|
|
500
|
+
*/
|
|
501
|
+
const: number;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Lt specifies that this field must be less than the specified value,
|
|
505
|
+
* exclusive
|
|
506
|
+
*
|
|
507
|
+
* @generated from field: optional uint32 lt = 2;
|
|
508
|
+
*/
|
|
509
|
+
lt: number;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Lte specifies that this field must be less than or equal to the
|
|
513
|
+
* specified value, inclusive
|
|
514
|
+
*
|
|
515
|
+
* @generated from field: optional uint32 lte = 3;
|
|
516
|
+
*/
|
|
517
|
+
lte: number;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
521
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
522
|
+
* range is reversed.
|
|
523
|
+
*
|
|
524
|
+
* @generated from field: optional uint32 gt = 4;
|
|
525
|
+
*/
|
|
526
|
+
gt: number;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
530
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
531
|
+
* specified Lt or Lte, the range is reversed.
|
|
532
|
+
*
|
|
533
|
+
* @generated from field: optional uint32 gte = 5;
|
|
534
|
+
*/
|
|
535
|
+
gte: number;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* In specifies that this field must be equal to one of the specified
|
|
539
|
+
* values
|
|
540
|
+
*
|
|
541
|
+
* @generated from field: repeated uint32 in = 6;
|
|
542
|
+
*/
|
|
543
|
+
in: number[];
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
547
|
+
* values
|
|
548
|
+
*
|
|
549
|
+
* @generated from field: repeated uint32 not_in = 7;
|
|
550
|
+
*/
|
|
551
|
+
notIn: number[];
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
555
|
+
* evaluated only if the field is not empty
|
|
556
|
+
*
|
|
557
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
558
|
+
*/
|
|
559
|
+
ignoreEmpty: boolean;
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Describes the message validate.UInt32Rules.
|
|
564
|
+
* Use `create(UInt32RulesSchema)` to create a new message.
|
|
565
|
+
*/
|
|
566
|
+
export const UInt32RulesSchema: GenMessage<UInt32Rules> = /*@__PURE__*/
|
|
567
|
+
messageDesc(file_validate_validate, 5);
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* UInt64Rules describes the constraints applied to `uint64` values
|
|
571
|
+
*
|
|
572
|
+
* @generated from message validate.UInt64Rules
|
|
573
|
+
*/
|
|
574
|
+
export type UInt64Rules = Message<"validate.UInt64Rules"> & {
|
|
575
|
+
/**
|
|
576
|
+
* Const specifies that this field must be exactly the specified value
|
|
577
|
+
*
|
|
578
|
+
* @generated from field: optional uint64 const = 1;
|
|
579
|
+
*/
|
|
580
|
+
const: bigint;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Lt specifies that this field must be less than the specified value,
|
|
584
|
+
* exclusive
|
|
585
|
+
*
|
|
586
|
+
* @generated from field: optional uint64 lt = 2;
|
|
587
|
+
*/
|
|
588
|
+
lt: bigint;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Lte specifies that this field must be less than or equal to the
|
|
592
|
+
* specified value, inclusive
|
|
593
|
+
*
|
|
594
|
+
* @generated from field: optional uint64 lte = 3;
|
|
595
|
+
*/
|
|
596
|
+
lte: bigint;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
600
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
601
|
+
* range is reversed.
|
|
602
|
+
*
|
|
603
|
+
* @generated from field: optional uint64 gt = 4;
|
|
604
|
+
*/
|
|
605
|
+
gt: bigint;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
609
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
610
|
+
* specified Lt or Lte, the range is reversed.
|
|
611
|
+
*
|
|
612
|
+
* @generated from field: optional uint64 gte = 5;
|
|
613
|
+
*/
|
|
614
|
+
gte: bigint;
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* In specifies that this field must be equal to one of the specified
|
|
618
|
+
* values
|
|
619
|
+
*
|
|
620
|
+
* @generated from field: repeated uint64 in = 6;
|
|
621
|
+
*/
|
|
622
|
+
in: bigint[];
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
626
|
+
* values
|
|
627
|
+
*
|
|
628
|
+
* @generated from field: repeated uint64 not_in = 7;
|
|
629
|
+
*/
|
|
630
|
+
notIn: bigint[];
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
634
|
+
* evaluated only if the field is not empty
|
|
635
|
+
*
|
|
636
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
637
|
+
*/
|
|
638
|
+
ignoreEmpty: boolean;
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Describes the message validate.UInt64Rules.
|
|
643
|
+
* Use `create(UInt64RulesSchema)` to create a new message.
|
|
644
|
+
*/
|
|
645
|
+
export const UInt64RulesSchema: GenMessage<UInt64Rules> = /*@__PURE__*/
|
|
646
|
+
messageDesc(file_validate_validate, 6);
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* SInt32Rules describes the constraints applied to `sint32` values
|
|
650
|
+
*
|
|
651
|
+
* @generated from message validate.SInt32Rules
|
|
652
|
+
*/
|
|
653
|
+
export type SInt32Rules = Message<"validate.SInt32Rules"> & {
|
|
654
|
+
/**
|
|
655
|
+
* Const specifies that this field must be exactly the specified value
|
|
656
|
+
*
|
|
657
|
+
* @generated from field: optional sint32 const = 1;
|
|
658
|
+
*/
|
|
659
|
+
const: number;
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Lt specifies that this field must be less than the specified value,
|
|
663
|
+
* exclusive
|
|
664
|
+
*
|
|
665
|
+
* @generated from field: optional sint32 lt = 2;
|
|
666
|
+
*/
|
|
667
|
+
lt: number;
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Lte specifies that this field must be less than or equal to the
|
|
671
|
+
* specified value, inclusive
|
|
672
|
+
*
|
|
673
|
+
* @generated from field: optional sint32 lte = 3;
|
|
674
|
+
*/
|
|
675
|
+
lte: number;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
679
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
680
|
+
* range is reversed.
|
|
681
|
+
*
|
|
682
|
+
* @generated from field: optional sint32 gt = 4;
|
|
683
|
+
*/
|
|
684
|
+
gt: number;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
688
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
689
|
+
* specified Lt or Lte, the range is reversed.
|
|
690
|
+
*
|
|
691
|
+
* @generated from field: optional sint32 gte = 5;
|
|
692
|
+
*/
|
|
693
|
+
gte: number;
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* In specifies that this field must be equal to one of the specified
|
|
697
|
+
* values
|
|
698
|
+
*
|
|
699
|
+
* @generated from field: repeated sint32 in = 6;
|
|
700
|
+
*/
|
|
701
|
+
in: number[];
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
705
|
+
* values
|
|
706
|
+
*
|
|
707
|
+
* @generated from field: repeated sint32 not_in = 7;
|
|
708
|
+
*/
|
|
709
|
+
notIn: number[];
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
713
|
+
* evaluated only if the field is not empty
|
|
714
|
+
*
|
|
715
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
716
|
+
*/
|
|
717
|
+
ignoreEmpty: boolean;
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Describes the message validate.SInt32Rules.
|
|
722
|
+
* Use `create(SInt32RulesSchema)` to create a new message.
|
|
723
|
+
*/
|
|
724
|
+
export const SInt32RulesSchema: GenMessage<SInt32Rules> = /*@__PURE__*/
|
|
725
|
+
messageDesc(file_validate_validate, 7);
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* SInt64Rules describes the constraints applied to `sint64` values
|
|
729
|
+
*
|
|
730
|
+
* @generated from message validate.SInt64Rules
|
|
731
|
+
*/
|
|
732
|
+
export type SInt64Rules = Message<"validate.SInt64Rules"> & {
|
|
733
|
+
/**
|
|
734
|
+
* Const specifies that this field must be exactly the specified value
|
|
735
|
+
*
|
|
736
|
+
* @generated from field: optional sint64 const = 1;
|
|
737
|
+
*/
|
|
738
|
+
const: bigint;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Lt specifies that this field must be less than the specified value,
|
|
742
|
+
* exclusive
|
|
743
|
+
*
|
|
744
|
+
* @generated from field: optional sint64 lt = 2;
|
|
745
|
+
*/
|
|
746
|
+
lt: bigint;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Lte specifies that this field must be less than or equal to the
|
|
750
|
+
* specified value, inclusive
|
|
751
|
+
*
|
|
752
|
+
* @generated from field: optional sint64 lte = 3;
|
|
753
|
+
*/
|
|
754
|
+
lte: bigint;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
758
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
759
|
+
* range is reversed.
|
|
760
|
+
*
|
|
761
|
+
* @generated from field: optional sint64 gt = 4;
|
|
762
|
+
*/
|
|
763
|
+
gt: bigint;
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
767
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
768
|
+
* specified Lt or Lte, the range is reversed.
|
|
769
|
+
*
|
|
770
|
+
* @generated from field: optional sint64 gte = 5;
|
|
771
|
+
*/
|
|
772
|
+
gte: bigint;
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* In specifies that this field must be equal to one of the specified
|
|
776
|
+
* values
|
|
777
|
+
*
|
|
778
|
+
* @generated from field: repeated sint64 in = 6;
|
|
779
|
+
*/
|
|
780
|
+
in: bigint[];
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
784
|
+
* values
|
|
785
|
+
*
|
|
786
|
+
* @generated from field: repeated sint64 not_in = 7;
|
|
787
|
+
*/
|
|
788
|
+
notIn: bigint[];
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
792
|
+
* evaluated only if the field is not empty
|
|
793
|
+
*
|
|
794
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
795
|
+
*/
|
|
796
|
+
ignoreEmpty: boolean;
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Describes the message validate.SInt64Rules.
|
|
801
|
+
* Use `create(SInt64RulesSchema)` to create a new message.
|
|
802
|
+
*/
|
|
803
|
+
export const SInt64RulesSchema: GenMessage<SInt64Rules> = /*@__PURE__*/
|
|
804
|
+
messageDesc(file_validate_validate, 8);
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Fixed32Rules describes the constraints applied to `fixed32` values
|
|
808
|
+
*
|
|
809
|
+
* @generated from message validate.Fixed32Rules
|
|
810
|
+
*/
|
|
811
|
+
export type Fixed32Rules = Message<"validate.Fixed32Rules"> & {
|
|
812
|
+
/**
|
|
813
|
+
* Const specifies that this field must be exactly the specified value
|
|
814
|
+
*
|
|
815
|
+
* @generated from field: optional fixed32 const = 1;
|
|
816
|
+
*/
|
|
817
|
+
const: number;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Lt specifies that this field must be less than the specified value,
|
|
821
|
+
* exclusive
|
|
822
|
+
*
|
|
823
|
+
* @generated from field: optional fixed32 lt = 2;
|
|
824
|
+
*/
|
|
825
|
+
lt: number;
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Lte specifies that this field must be less than or equal to the
|
|
829
|
+
* specified value, inclusive
|
|
830
|
+
*
|
|
831
|
+
* @generated from field: optional fixed32 lte = 3;
|
|
832
|
+
*/
|
|
833
|
+
lte: number;
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
837
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
838
|
+
* range is reversed.
|
|
839
|
+
*
|
|
840
|
+
* @generated from field: optional fixed32 gt = 4;
|
|
841
|
+
*/
|
|
842
|
+
gt: number;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
846
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
847
|
+
* specified Lt or Lte, the range is reversed.
|
|
848
|
+
*
|
|
849
|
+
* @generated from field: optional fixed32 gte = 5;
|
|
850
|
+
*/
|
|
851
|
+
gte: number;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* In specifies that this field must be equal to one of the specified
|
|
855
|
+
* values
|
|
856
|
+
*
|
|
857
|
+
* @generated from field: repeated fixed32 in = 6;
|
|
858
|
+
*/
|
|
859
|
+
in: number[];
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
863
|
+
* values
|
|
864
|
+
*
|
|
865
|
+
* @generated from field: repeated fixed32 not_in = 7;
|
|
866
|
+
*/
|
|
867
|
+
notIn: number[];
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
871
|
+
* evaluated only if the field is not empty
|
|
872
|
+
*
|
|
873
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
874
|
+
*/
|
|
875
|
+
ignoreEmpty: boolean;
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Describes the message validate.Fixed32Rules.
|
|
880
|
+
* Use `create(Fixed32RulesSchema)` to create a new message.
|
|
881
|
+
*/
|
|
882
|
+
export const Fixed32RulesSchema: GenMessage<Fixed32Rules> = /*@__PURE__*/
|
|
883
|
+
messageDesc(file_validate_validate, 9);
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* Fixed64Rules describes the constraints applied to `fixed64` values
|
|
887
|
+
*
|
|
888
|
+
* @generated from message validate.Fixed64Rules
|
|
889
|
+
*/
|
|
890
|
+
export type Fixed64Rules = Message<"validate.Fixed64Rules"> & {
|
|
891
|
+
/**
|
|
892
|
+
* Const specifies that this field must be exactly the specified value
|
|
893
|
+
*
|
|
894
|
+
* @generated from field: optional fixed64 const = 1;
|
|
895
|
+
*/
|
|
896
|
+
const: bigint;
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Lt specifies that this field must be less than the specified value,
|
|
900
|
+
* exclusive
|
|
901
|
+
*
|
|
902
|
+
* @generated from field: optional fixed64 lt = 2;
|
|
903
|
+
*/
|
|
904
|
+
lt: bigint;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Lte specifies that this field must be less than or equal to the
|
|
908
|
+
* specified value, inclusive
|
|
909
|
+
*
|
|
910
|
+
* @generated from field: optional fixed64 lte = 3;
|
|
911
|
+
*/
|
|
912
|
+
lte: bigint;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
916
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
917
|
+
* range is reversed.
|
|
918
|
+
*
|
|
919
|
+
* @generated from field: optional fixed64 gt = 4;
|
|
920
|
+
*/
|
|
921
|
+
gt: bigint;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
925
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
926
|
+
* specified Lt or Lte, the range is reversed.
|
|
927
|
+
*
|
|
928
|
+
* @generated from field: optional fixed64 gte = 5;
|
|
929
|
+
*/
|
|
930
|
+
gte: bigint;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* In specifies that this field must be equal to one of the specified
|
|
934
|
+
* values
|
|
935
|
+
*
|
|
936
|
+
* @generated from field: repeated fixed64 in = 6;
|
|
937
|
+
*/
|
|
938
|
+
in: bigint[];
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
942
|
+
* values
|
|
943
|
+
*
|
|
944
|
+
* @generated from field: repeated fixed64 not_in = 7;
|
|
945
|
+
*/
|
|
946
|
+
notIn: bigint[];
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
950
|
+
* evaluated only if the field is not empty
|
|
951
|
+
*
|
|
952
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
953
|
+
*/
|
|
954
|
+
ignoreEmpty: boolean;
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* Describes the message validate.Fixed64Rules.
|
|
959
|
+
* Use `create(Fixed64RulesSchema)` to create a new message.
|
|
960
|
+
*/
|
|
961
|
+
export const Fixed64RulesSchema: GenMessage<Fixed64Rules> = /*@__PURE__*/
|
|
962
|
+
messageDesc(file_validate_validate, 10);
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* SFixed32Rules describes the constraints applied to `sfixed32` values
|
|
966
|
+
*
|
|
967
|
+
* @generated from message validate.SFixed32Rules
|
|
968
|
+
*/
|
|
969
|
+
export type SFixed32Rules = Message<"validate.SFixed32Rules"> & {
|
|
970
|
+
/**
|
|
971
|
+
* Const specifies that this field must be exactly the specified value
|
|
972
|
+
*
|
|
973
|
+
* @generated from field: optional sfixed32 const = 1;
|
|
974
|
+
*/
|
|
975
|
+
const: number;
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Lt specifies that this field must be less than the specified value,
|
|
979
|
+
* exclusive
|
|
980
|
+
*
|
|
981
|
+
* @generated from field: optional sfixed32 lt = 2;
|
|
982
|
+
*/
|
|
983
|
+
lt: number;
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* Lte specifies that this field must be less than or equal to the
|
|
987
|
+
* specified value, inclusive
|
|
988
|
+
*
|
|
989
|
+
* @generated from field: optional sfixed32 lte = 3;
|
|
990
|
+
*/
|
|
991
|
+
lte: number;
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
995
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
996
|
+
* range is reversed.
|
|
997
|
+
*
|
|
998
|
+
* @generated from field: optional sfixed32 gt = 4;
|
|
999
|
+
*/
|
|
1000
|
+
gt: number;
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
1004
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
1005
|
+
* specified Lt or Lte, the range is reversed.
|
|
1006
|
+
*
|
|
1007
|
+
* @generated from field: optional sfixed32 gte = 5;
|
|
1008
|
+
*/
|
|
1009
|
+
gte: number;
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* In specifies that this field must be equal to one of the specified
|
|
1013
|
+
* values
|
|
1014
|
+
*
|
|
1015
|
+
* @generated from field: repeated sfixed32 in = 6;
|
|
1016
|
+
*/
|
|
1017
|
+
in: number[];
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1021
|
+
* values
|
|
1022
|
+
*
|
|
1023
|
+
* @generated from field: repeated sfixed32 not_in = 7;
|
|
1024
|
+
*/
|
|
1025
|
+
notIn: number[];
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1029
|
+
* evaluated only if the field is not empty
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
1032
|
+
*/
|
|
1033
|
+
ignoreEmpty: boolean;
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Describes the message validate.SFixed32Rules.
|
|
1038
|
+
* Use `create(SFixed32RulesSchema)` to create a new message.
|
|
1039
|
+
*/
|
|
1040
|
+
export const SFixed32RulesSchema: GenMessage<SFixed32Rules> = /*@__PURE__*/
|
|
1041
|
+
messageDesc(file_validate_validate, 11);
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* SFixed64Rules describes the constraints applied to `sfixed64` values
|
|
1045
|
+
*
|
|
1046
|
+
* @generated from message validate.SFixed64Rules
|
|
1047
|
+
*/
|
|
1048
|
+
export type SFixed64Rules = Message<"validate.SFixed64Rules"> & {
|
|
1049
|
+
/**
|
|
1050
|
+
* Const specifies that this field must be exactly the specified value
|
|
1051
|
+
*
|
|
1052
|
+
* @generated from field: optional sfixed64 const = 1;
|
|
1053
|
+
*/
|
|
1054
|
+
const: bigint;
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Lt specifies that this field must be less than the specified value,
|
|
1058
|
+
* exclusive
|
|
1059
|
+
*
|
|
1060
|
+
* @generated from field: optional sfixed64 lt = 2;
|
|
1061
|
+
*/
|
|
1062
|
+
lt: bigint;
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Lte specifies that this field must be less than or equal to the
|
|
1066
|
+
* specified value, inclusive
|
|
1067
|
+
*
|
|
1068
|
+
* @generated from field: optional sfixed64 lte = 3;
|
|
1069
|
+
*/
|
|
1070
|
+
lte: bigint;
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
1074
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
1075
|
+
* range is reversed.
|
|
1076
|
+
*
|
|
1077
|
+
* @generated from field: optional sfixed64 gt = 4;
|
|
1078
|
+
*/
|
|
1079
|
+
gt: bigint;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
1083
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
1084
|
+
* specified Lt or Lte, the range is reversed.
|
|
1085
|
+
*
|
|
1086
|
+
* @generated from field: optional sfixed64 gte = 5;
|
|
1087
|
+
*/
|
|
1088
|
+
gte: bigint;
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* In specifies that this field must be equal to one of the specified
|
|
1092
|
+
* values
|
|
1093
|
+
*
|
|
1094
|
+
* @generated from field: repeated sfixed64 in = 6;
|
|
1095
|
+
*/
|
|
1096
|
+
in: bigint[];
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1100
|
+
* values
|
|
1101
|
+
*
|
|
1102
|
+
* @generated from field: repeated sfixed64 not_in = 7;
|
|
1103
|
+
*/
|
|
1104
|
+
notIn: bigint[];
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1108
|
+
* evaluated only if the field is not empty
|
|
1109
|
+
*
|
|
1110
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
1111
|
+
*/
|
|
1112
|
+
ignoreEmpty: boolean;
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Describes the message validate.SFixed64Rules.
|
|
1117
|
+
* Use `create(SFixed64RulesSchema)` to create a new message.
|
|
1118
|
+
*/
|
|
1119
|
+
export const SFixed64RulesSchema: GenMessage<SFixed64Rules> = /*@__PURE__*/
|
|
1120
|
+
messageDesc(file_validate_validate, 12);
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* BoolRules describes the constraints applied to `bool` values
|
|
1124
|
+
*
|
|
1125
|
+
* @generated from message validate.BoolRules
|
|
1126
|
+
*/
|
|
1127
|
+
export type BoolRules = Message<"validate.BoolRules"> & {
|
|
1128
|
+
/**
|
|
1129
|
+
* Const specifies that this field must be exactly the specified value
|
|
1130
|
+
*
|
|
1131
|
+
* @generated from field: optional bool const = 1;
|
|
1132
|
+
*/
|
|
1133
|
+
const: boolean;
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* Describes the message validate.BoolRules.
|
|
1138
|
+
* Use `create(BoolRulesSchema)` to create a new message.
|
|
1139
|
+
*/
|
|
1140
|
+
export const BoolRulesSchema: GenMessage<BoolRules> = /*@__PURE__*/
|
|
1141
|
+
messageDesc(file_validate_validate, 13);
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* StringRules describe the constraints applied to `string` values
|
|
1145
|
+
*
|
|
1146
|
+
* @generated from message validate.StringRules
|
|
1147
|
+
*/
|
|
1148
|
+
export type StringRules = Message<"validate.StringRules"> & {
|
|
1149
|
+
/**
|
|
1150
|
+
* Const specifies that this field must be exactly the specified value
|
|
1151
|
+
*
|
|
1152
|
+
* @generated from field: optional string const = 1;
|
|
1153
|
+
*/
|
|
1154
|
+
const: string;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* Len specifies that this field must be the specified number of
|
|
1158
|
+
* characters (Unicode code points). Note that the number of
|
|
1159
|
+
* characters may differ from the number of bytes in the string.
|
|
1160
|
+
*
|
|
1161
|
+
* @generated from field: optional uint64 len = 19;
|
|
1162
|
+
*/
|
|
1163
|
+
len: bigint;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* MinLen specifies that this field must be the specified number of
|
|
1167
|
+
* characters (Unicode code points) at a minimum. Note that the number of
|
|
1168
|
+
* characters may differ from the number of bytes in the string.
|
|
1169
|
+
*
|
|
1170
|
+
* @generated from field: optional uint64 min_len = 2;
|
|
1171
|
+
*/
|
|
1172
|
+
minLen: bigint;
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* MaxLen specifies that this field must be the specified number of
|
|
1176
|
+
* characters (Unicode code points) at a maximum. Note that the number of
|
|
1177
|
+
* characters may differ from the number of bytes in the string.
|
|
1178
|
+
*
|
|
1179
|
+
* @generated from field: optional uint64 max_len = 3;
|
|
1180
|
+
*/
|
|
1181
|
+
maxLen: bigint;
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* LenBytes specifies that this field must be the specified number of bytes
|
|
1185
|
+
*
|
|
1186
|
+
* @generated from field: optional uint64 len_bytes = 20;
|
|
1187
|
+
*/
|
|
1188
|
+
lenBytes: bigint;
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* MinBytes specifies that this field must be the specified number of bytes
|
|
1192
|
+
* at a minimum
|
|
1193
|
+
*
|
|
1194
|
+
* @generated from field: optional uint64 min_bytes = 4;
|
|
1195
|
+
*/
|
|
1196
|
+
minBytes: bigint;
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* MaxBytes specifies that this field must be the specified number of bytes
|
|
1200
|
+
* at a maximum
|
|
1201
|
+
*
|
|
1202
|
+
* @generated from field: optional uint64 max_bytes = 5;
|
|
1203
|
+
*/
|
|
1204
|
+
maxBytes: bigint;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Pattern specifes that this field must match against the specified
|
|
1208
|
+
* regular expression (RE2 syntax). The included expression should elide
|
|
1209
|
+
* any delimiters.
|
|
1210
|
+
*
|
|
1211
|
+
* @generated from field: optional string pattern = 6;
|
|
1212
|
+
*/
|
|
1213
|
+
pattern: string;
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Prefix specifies that this field must have the specified substring at
|
|
1217
|
+
* the beginning of the string.
|
|
1218
|
+
*
|
|
1219
|
+
* @generated from field: optional string prefix = 7;
|
|
1220
|
+
*/
|
|
1221
|
+
prefix: string;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Suffix specifies that this field must have the specified substring at
|
|
1225
|
+
* the end of the string.
|
|
1226
|
+
*
|
|
1227
|
+
* @generated from field: optional string suffix = 8;
|
|
1228
|
+
*/
|
|
1229
|
+
suffix: string;
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* Contains specifies that this field must have the specified substring
|
|
1233
|
+
* anywhere in the string.
|
|
1234
|
+
*
|
|
1235
|
+
* @generated from field: optional string contains = 9;
|
|
1236
|
+
*/
|
|
1237
|
+
contains: string;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* NotContains specifies that this field cannot have the specified substring
|
|
1241
|
+
* anywhere in the string.
|
|
1242
|
+
*
|
|
1243
|
+
* @generated from field: optional string not_contains = 23;
|
|
1244
|
+
*/
|
|
1245
|
+
notContains: string;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* In specifies that this field must be equal to one of the specified
|
|
1249
|
+
* values
|
|
1250
|
+
*
|
|
1251
|
+
* @generated from field: repeated string in = 10;
|
|
1252
|
+
*/
|
|
1253
|
+
in: string[];
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1257
|
+
* values
|
|
1258
|
+
*
|
|
1259
|
+
* @generated from field: repeated string not_in = 11;
|
|
1260
|
+
*/
|
|
1261
|
+
notIn: string[];
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* WellKnown rules provide advanced constraints against common string
|
|
1265
|
+
* patterns
|
|
1266
|
+
*
|
|
1267
|
+
* @generated from oneof validate.StringRules.well_known
|
|
1268
|
+
*/
|
|
1269
|
+
wellKnown: {
|
|
1270
|
+
/**
|
|
1271
|
+
* Email specifies that the field must be a valid email address as
|
|
1272
|
+
* defined by RFC 5322
|
|
1273
|
+
*
|
|
1274
|
+
* @generated from field: bool email = 12;
|
|
1275
|
+
*/
|
|
1276
|
+
value: boolean;
|
|
1277
|
+
case: "email";
|
|
1278
|
+
} | {
|
|
1279
|
+
/**
|
|
1280
|
+
* Hostname specifies that the field must be a valid hostname as
|
|
1281
|
+
* defined by RFC 1034. This constraint does not support
|
|
1282
|
+
* internationalized domain names (IDNs).
|
|
1283
|
+
*
|
|
1284
|
+
* @generated from field: bool hostname = 13;
|
|
1285
|
+
*/
|
|
1286
|
+
value: boolean;
|
|
1287
|
+
case: "hostname";
|
|
1288
|
+
} | {
|
|
1289
|
+
/**
|
|
1290
|
+
* Ip specifies that the field must be a valid IP (v4 or v6) address.
|
|
1291
|
+
* Valid IPv6 addresses should not include surrounding square brackets.
|
|
1292
|
+
*
|
|
1293
|
+
* @generated from field: bool ip = 14;
|
|
1294
|
+
*/
|
|
1295
|
+
value: boolean;
|
|
1296
|
+
case: "ip";
|
|
1297
|
+
} | {
|
|
1298
|
+
/**
|
|
1299
|
+
* Ipv4 specifies that the field must be a valid IPv4 address.
|
|
1300
|
+
*
|
|
1301
|
+
* @generated from field: bool ipv4 = 15;
|
|
1302
|
+
*/
|
|
1303
|
+
value: boolean;
|
|
1304
|
+
case: "ipv4";
|
|
1305
|
+
} | {
|
|
1306
|
+
/**
|
|
1307
|
+
* Ipv6 specifies that the field must be a valid IPv6 address. Valid
|
|
1308
|
+
* IPv6 addresses should not include surrounding square brackets.
|
|
1309
|
+
*
|
|
1310
|
+
* @generated from field: bool ipv6 = 16;
|
|
1311
|
+
*/
|
|
1312
|
+
value: boolean;
|
|
1313
|
+
case: "ipv6";
|
|
1314
|
+
} | {
|
|
1315
|
+
/**
|
|
1316
|
+
* Uri specifies that the field must be a valid, absolute URI as defined
|
|
1317
|
+
* by RFC 3986
|
|
1318
|
+
*
|
|
1319
|
+
* @generated from field: bool uri = 17;
|
|
1320
|
+
*/
|
|
1321
|
+
value: boolean;
|
|
1322
|
+
case: "uri";
|
|
1323
|
+
} | {
|
|
1324
|
+
/**
|
|
1325
|
+
* UriRef specifies that the field must be a valid URI as defined by RFC
|
|
1326
|
+
* 3986 and may be relative or absolute.
|
|
1327
|
+
*
|
|
1328
|
+
* @generated from field: bool uri_ref = 18;
|
|
1329
|
+
*/
|
|
1330
|
+
value: boolean;
|
|
1331
|
+
case: "uriRef";
|
|
1332
|
+
} | {
|
|
1333
|
+
/**
|
|
1334
|
+
* Address specifies that the field must be either a valid hostname as
|
|
1335
|
+
* defined by RFC 1034 (which does not support internationalized domain
|
|
1336
|
+
* names or IDNs), or it can be a valid IP (v4 or v6).
|
|
1337
|
+
*
|
|
1338
|
+
* @generated from field: bool address = 21;
|
|
1339
|
+
*/
|
|
1340
|
+
value: boolean;
|
|
1341
|
+
case: "address";
|
|
1342
|
+
} | {
|
|
1343
|
+
/**
|
|
1344
|
+
* Uuid specifies that the field must be a valid UUID as defined by
|
|
1345
|
+
* RFC 4122
|
|
1346
|
+
*
|
|
1347
|
+
* @generated from field: bool uuid = 22;
|
|
1348
|
+
*/
|
|
1349
|
+
value: boolean;
|
|
1350
|
+
case: "uuid";
|
|
1351
|
+
} | {
|
|
1352
|
+
/**
|
|
1353
|
+
* WellKnownRegex specifies a common well known pattern defined as a regex.
|
|
1354
|
+
*
|
|
1355
|
+
* @generated from field: validate.KnownRegex well_known_regex = 24;
|
|
1356
|
+
*/
|
|
1357
|
+
value: KnownRegex;
|
|
1358
|
+
case: "wellKnownRegex";
|
|
1359
|
+
} | { case: undefined; value?: undefined };
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable
|
|
1363
|
+
* strict header validation.
|
|
1364
|
+
* By default, this is true, and HTTP header validations are RFC-compliant.
|
|
1365
|
+
* Setting to false will enable a looser validations that only disallows
|
|
1366
|
+
* \r\n\0 characters, which can be used to bypass header matching rules.
|
|
1367
|
+
*
|
|
1368
|
+
* @generated from field: optional bool strict = 25 [default = true];
|
|
1369
|
+
*/
|
|
1370
|
+
strict: boolean;
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1374
|
+
* evaluated only if the field is not empty
|
|
1375
|
+
*
|
|
1376
|
+
* @generated from field: optional bool ignore_empty = 26;
|
|
1377
|
+
*/
|
|
1378
|
+
ignoreEmpty: boolean;
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* Describes the message validate.StringRules.
|
|
1383
|
+
* Use `create(StringRulesSchema)` to create a new message.
|
|
1384
|
+
*/
|
|
1385
|
+
export const StringRulesSchema: GenMessage<StringRules> = /*@__PURE__*/
|
|
1386
|
+
messageDesc(file_validate_validate, 14);
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* BytesRules describe the constraints applied to `bytes` values
|
|
1390
|
+
*
|
|
1391
|
+
* @generated from message validate.BytesRules
|
|
1392
|
+
*/
|
|
1393
|
+
export type BytesRules = Message<"validate.BytesRules"> & {
|
|
1394
|
+
/**
|
|
1395
|
+
* Const specifies that this field must be exactly the specified value
|
|
1396
|
+
*
|
|
1397
|
+
* @generated from field: optional bytes const = 1;
|
|
1398
|
+
*/
|
|
1399
|
+
const: Uint8Array;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Len specifies that this field must be the specified number of bytes
|
|
1403
|
+
*
|
|
1404
|
+
* @generated from field: optional uint64 len = 13;
|
|
1405
|
+
*/
|
|
1406
|
+
len: bigint;
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* MinLen specifies that this field must be the specified number of bytes
|
|
1410
|
+
* at a minimum
|
|
1411
|
+
*
|
|
1412
|
+
* @generated from field: optional uint64 min_len = 2;
|
|
1413
|
+
*/
|
|
1414
|
+
minLen: bigint;
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* MaxLen specifies that this field must be the specified number of bytes
|
|
1418
|
+
* at a maximum
|
|
1419
|
+
*
|
|
1420
|
+
* @generated from field: optional uint64 max_len = 3;
|
|
1421
|
+
*/
|
|
1422
|
+
maxLen: bigint;
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Pattern specifes that this field must match against the specified
|
|
1426
|
+
* regular expression (RE2 syntax). The included expression should elide
|
|
1427
|
+
* any delimiters.
|
|
1428
|
+
*
|
|
1429
|
+
* @generated from field: optional string pattern = 4;
|
|
1430
|
+
*/
|
|
1431
|
+
pattern: string;
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* Prefix specifies that this field must have the specified bytes at the
|
|
1435
|
+
* beginning of the string.
|
|
1436
|
+
*
|
|
1437
|
+
* @generated from field: optional bytes prefix = 5;
|
|
1438
|
+
*/
|
|
1439
|
+
prefix: Uint8Array;
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* Suffix specifies that this field must have the specified bytes at the
|
|
1443
|
+
* end of the string.
|
|
1444
|
+
*
|
|
1445
|
+
* @generated from field: optional bytes suffix = 6;
|
|
1446
|
+
*/
|
|
1447
|
+
suffix: Uint8Array;
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* Contains specifies that this field must have the specified bytes
|
|
1451
|
+
* anywhere in the string.
|
|
1452
|
+
*
|
|
1453
|
+
* @generated from field: optional bytes contains = 7;
|
|
1454
|
+
*/
|
|
1455
|
+
contains: Uint8Array;
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* In specifies that this field must be equal to one of the specified
|
|
1459
|
+
* values
|
|
1460
|
+
*
|
|
1461
|
+
* @generated from field: repeated bytes in = 8;
|
|
1462
|
+
*/
|
|
1463
|
+
in: Uint8Array[];
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1467
|
+
* values
|
|
1468
|
+
*
|
|
1469
|
+
* @generated from field: repeated bytes not_in = 9;
|
|
1470
|
+
*/
|
|
1471
|
+
notIn: Uint8Array[];
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* WellKnown rules provide advanced constraints against common byte
|
|
1475
|
+
* patterns
|
|
1476
|
+
*
|
|
1477
|
+
* @generated from oneof validate.BytesRules.well_known
|
|
1478
|
+
*/
|
|
1479
|
+
wellKnown: {
|
|
1480
|
+
/**
|
|
1481
|
+
* Ip specifies that the field must be a valid IP (v4 or v6) address in
|
|
1482
|
+
* byte format
|
|
1483
|
+
*
|
|
1484
|
+
* @generated from field: bool ip = 10;
|
|
1485
|
+
*/
|
|
1486
|
+
value: boolean;
|
|
1487
|
+
case: "ip";
|
|
1488
|
+
} | {
|
|
1489
|
+
/**
|
|
1490
|
+
* Ipv4 specifies that the field must be a valid IPv4 address in byte
|
|
1491
|
+
* format
|
|
1492
|
+
*
|
|
1493
|
+
* @generated from field: bool ipv4 = 11;
|
|
1494
|
+
*/
|
|
1495
|
+
value: boolean;
|
|
1496
|
+
case: "ipv4";
|
|
1497
|
+
} | {
|
|
1498
|
+
/**
|
|
1499
|
+
* Ipv6 specifies that the field must be a valid IPv6 address in byte
|
|
1500
|
+
* format
|
|
1501
|
+
*
|
|
1502
|
+
* @generated from field: bool ipv6 = 12;
|
|
1503
|
+
*/
|
|
1504
|
+
value: boolean;
|
|
1505
|
+
case: "ipv6";
|
|
1506
|
+
} | { case: undefined; value?: undefined };
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1510
|
+
* evaluated only if the field is not empty
|
|
1511
|
+
*
|
|
1512
|
+
* @generated from field: optional bool ignore_empty = 14;
|
|
1513
|
+
*/
|
|
1514
|
+
ignoreEmpty: boolean;
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* Describes the message validate.BytesRules.
|
|
1519
|
+
* Use `create(BytesRulesSchema)` to create a new message.
|
|
1520
|
+
*/
|
|
1521
|
+
export const BytesRulesSchema: GenMessage<BytesRules> = /*@__PURE__*/
|
|
1522
|
+
messageDesc(file_validate_validate, 15);
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* EnumRules describe the constraints applied to enum values
|
|
1526
|
+
*
|
|
1527
|
+
* @generated from message validate.EnumRules
|
|
1528
|
+
*/
|
|
1529
|
+
export type EnumRules = Message<"validate.EnumRules"> & {
|
|
1530
|
+
/**
|
|
1531
|
+
* Const specifies that this field must be exactly the specified value
|
|
1532
|
+
*
|
|
1533
|
+
* @generated from field: optional int32 const = 1;
|
|
1534
|
+
*/
|
|
1535
|
+
const: number;
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* DefinedOnly specifies that this field must be only one of the defined
|
|
1539
|
+
* values for this enum, failing on any undefined value.
|
|
1540
|
+
*
|
|
1541
|
+
* @generated from field: optional bool defined_only = 2;
|
|
1542
|
+
*/
|
|
1543
|
+
definedOnly: boolean;
|
|
1544
|
+
|
|
1545
|
+
/**
|
|
1546
|
+
* In specifies that this field must be equal to one of the specified
|
|
1547
|
+
* values
|
|
1548
|
+
*
|
|
1549
|
+
* @generated from field: repeated int32 in = 3;
|
|
1550
|
+
*/
|
|
1551
|
+
in: number[];
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1555
|
+
* values
|
|
1556
|
+
*
|
|
1557
|
+
* @generated from field: repeated int32 not_in = 4;
|
|
1558
|
+
*/
|
|
1559
|
+
notIn: number[];
|
|
1560
|
+
};
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* Describes the message validate.EnumRules.
|
|
1564
|
+
* Use `create(EnumRulesSchema)` to create a new message.
|
|
1565
|
+
*/
|
|
1566
|
+
export const EnumRulesSchema: GenMessage<EnumRules> = /*@__PURE__*/
|
|
1567
|
+
messageDesc(file_validate_validate, 16);
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* MessageRules describe the constraints applied to embedded message values.
|
|
1571
|
+
* For message-type fields, validation is performed recursively.
|
|
1572
|
+
*
|
|
1573
|
+
* @generated from message validate.MessageRules
|
|
1574
|
+
*/
|
|
1575
|
+
export type MessageRules = Message<"validate.MessageRules"> & {
|
|
1576
|
+
/**
|
|
1577
|
+
* Skip specifies that the validation rules of this field should not be
|
|
1578
|
+
* evaluated
|
|
1579
|
+
*
|
|
1580
|
+
* @generated from field: optional bool skip = 1;
|
|
1581
|
+
*/
|
|
1582
|
+
skip: boolean;
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* Required specifies that this field must be set
|
|
1586
|
+
*
|
|
1587
|
+
* @generated from field: optional bool required = 2;
|
|
1588
|
+
*/
|
|
1589
|
+
required: boolean;
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* Describes the message validate.MessageRules.
|
|
1594
|
+
* Use `create(MessageRulesSchema)` to create a new message.
|
|
1595
|
+
*/
|
|
1596
|
+
export const MessageRulesSchema: GenMessage<MessageRules> = /*@__PURE__*/
|
|
1597
|
+
messageDesc(file_validate_validate, 17);
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* RepeatedRules describe the constraints applied to `repeated` values
|
|
1601
|
+
*
|
|
1602
|
+
* @generated from message validate.RepeatedRules
|
|
1603
|
+
*/
|
|
1604
|
+
export type RepeatedRules = Message<"validate.RepeatedRules"> & {
|
|
1605
|
+
/**
|
|
1606
|
+
* MinItems specifies that this field must have the specified number of
|
|
1607
|
+
* items at a minimum
|
|
1608
|
+
*
|
|
1609
|
+
* @generated from field: optional uint64 min_items = 1;
|
|
1610
|
+
*/
|
|
1611
|
+
minItems: bigint;
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* MaxItems specifies that this field must have the specified number of
|
|
1615
|
+
* items at a maximum
|
|
1616
|
+
*
|
|
1617
|
+
* @generated from field: optional uint64 max_items = 2;
|
|
1618
|
+
*/
|
|
1619
|
+
maxItems: bigint;
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* Unique specifies that all elements in this field must be unique. This
|
|
1623
|
+
* contraint is only applicable to scalar and enum types (messages are not
|
|
1624
|
+
* supported).
|
|
1625
|
+
*
|
|
1626
|
+
* @generated from field: optional bool unique = 3;
|
|
1627
|
+
*/
|
|
1628
|
+
unique: boolean;
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* Items specifies the contraints to be applied to each item in the field.
|
|
1632
|
+
* Repeated message fields will still execute validation against each item
|
|
1633
|
+
* unless skip is specified here.
|
|
1634
|
+
*
|
|
1635
|
+
* @generated from field: optional validate.FieldRules items = 4;
|
|
1636
|
+
*/
|
|
1637
|
+
items?: FieldRules;
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1641
|
+
* evaluated only if the field is not empty
|
|
1642
|
+
*
|
|
1643
|
+
* @generated from field: optional bool ignore_empty = 5;
|
|
1644
|
+
*/
|
|
1645
|
+
ignoreEmpty: boolean;
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* Describes the message validate.RepeatedRules.
|
|
1650
|
+
* Use `create(RepeatedRulesSchema)` to create a new message.
|
|
1651
|
+
*/
|
|
1652
|
+
export const RepeatedRulesSchema: GenMessage<RepeatedRules> = /*@__PURE__*/
|
|
1653
|
+
messageDesc(file_validate_validate, 18);
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* MapRules describe the constraints applied to `map` values
|
|
1657
|
+
*
|
|
1658
|
+
* @generated from message validate.MapRules
|
|
1659
|
+
*/
|
|
1660
|
+
export type MapRules = Message<"validate.MapRules"> & {
|
|
1661
|
+
/**
|
|
1662
|
+
* MinPairs specifies that this field must have the specified number of
|
|
1663
|
+
* KVs at a minimum
|
|
1664
|
+
*
|
|
1665
|
+
* @generated from field: optional uint64 min_pairs = 1;
|
|
1666
|
+
*/
|
|
1667
|
+
minPairs: bigint;
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* MaxPairs specifies that this field must have the specified number of
|
|
1671
|
+
* KVs at a maximum
|
|
1672
|
+
*
|
|
1673
|
+
* @generated from field: optional uint64 max_pairs = 2;
|
|
1674
|
+
*/
|
|
1675
|
+
maxPairs: bigint;
|
|
1676
|
+
|
|
1677
|
+
/**
|
|
1678
|
+
* NoSparse specifies values in this field cannot be unset. This only
|
|
1679
|
+
* applies to map's with message value types.
|
|
1680
|
+
*
|
|
1681
|
+
* @generated from field: optional bool no_sparse = 3;
|
|
1682
|
+
*/
|
|
1683
|
+
noSparse: boolean;
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* Keys specifies the constraints to be applied to each key in the field.
|
|
1687
|
+
*
|
|
1688
|
+
* @generated from field: optional validate.FieldRules keys = 4;
|
|
1689
|
+
*/
|
|
1690
|
+
keys?: FieldRules;
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Values specifies the constraints to be applied to the value of each key
|
|
1694
|
+
* in the field. Message values will still have their validations evaluated
|
|
1695
|
+
* unless skip is specified here.
|
|
1696
|
+
*
|
|
1697
|
+
* @generated from field: optional validate.FieldRules values = 5;
|
|
1698
|
+
*/
|
|
1699
|
+
values?: FieldRules;
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1703
|
+
* evaluated only if the field is not empty
|
|
1704
|
+
*
|
|
1705
|
+
* @generated from field: optional bool ignore_empty = 6;
|
|
1706
|
+
*/
|
|
1707
|
+
ignoreEmpty: boolean;
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* Describes the message validate.MapRules.
|
|
1712
|
+
* Use `create(MapRulesSchema)` to create a new message.
|
|
1713
|
+
*/
|
|
1714
|
+
export const MapRulesSchema: GenMessage<MapRules> = /*@__PURE__*/
|
|
1715
|
+
messageDesc(file_validate_validate, 19);
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* AnyRules describe constraints applied exclusively to the
|
|
1719
|
+
* `google.protobuf.Any` well-known type
|
|
1720
|
+
*
|
|
1721
|
+
* @generated from message validate.AnyRules
|
|
1722
|
+
*/
|
|
1723
|
+
export type AnyRules = Message<"validate.AnyRules"> & {
|
|
1724
|
+
/**
|
|
1725
|
+
* Required specifies that this field must be set
|
|
1726
|
+
*
|
|
1727
|
+
* @generated from field: optional bool required = 1;
|
|
1728
|
+
*/
|
|
1729
|
+
required: boolean;
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* In specifies that this field's `type_url` must be equal to one of the
|
|
1733
|
+
* specified values.
|
|
1734
|
+
*
|
|
1735
|
+
* @generated from field: repeated string in = 2;
|
|
1736
|
+
*/
|
|
1737
|
+
in: string[];
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* NotIn specifies that this field's `type_url` must not be equal to any of
|
|
1741
|
+
* the specified values.
|
|
1742
|
+
*
|
|
1743
|
+
* @generated from field: repeated string not_in = 3;
|
|
1744
|
+
*/
|
|
1745
|
+
notIn: string[];
|
|
1746
|
+
};
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* Describes the message validate.AnyRules.
|
|
1750
|
+
* Use `create(AnyRulesSchema)` to create a new message.
|
|
1751
|
+
*/
|
|
1752
|
+
export const AnyRulesSchema: GenMessage<AnyRules> = /*@__PURE__*/
|
|
1753
|
+
messageDesc(file_validate_validate, 20);
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* DurationRules describe the constraints applied exclusively to the
|
|
1757
|
+
* `google.protobuf.Duration` well-known type
|
|
1758
|
+
*
|
|
1759
|
+
* @generated from message validate.DurationRules
|
|
1760
|
+
*/
|
|
1761
|
+
export type DurationRules = Message<"validate.DurationRules"> & {
|
|
1762
|
+
/**
|
|
1763
|
+
* Required specifies that this field must be set
|
|
1764
|
+
*
|
|
1765
|
+
* @generated from field: optional bool required = 1;
|
|
1766
|
+
*/
|
|
1767
|
+
required: boolean;
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
* Const specifies that this field must be exactly the specified value
|
|
1771
|
+
*
|
|
1772
|
+
* @generated from field: optional google.protobuf.Duration const = 2;
|
|
1773
|
+
*/
|
|
1774
|
+
const?: Duration;
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* Lt specifies that this field must be less than the specified value,
|
|
1778
|
+
* exclusive
|
|
1779
|
+
*
|
|
1780
|
+
* @generated from field: optional google.protobuf.Duration lt = 3;
|
|
1781
|
+
*/
|
|
1782
|
+
lt?: Duration;
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* Lt specifies that this field must be less than the specified value,
|
|
1786
|
+
* inclusive
|
|
1787
|
+
*
|
|
1788
|
+
* @generated from field: optional google.protobuf.Duration lte = 4;
|
|
1789
|
+
*/
|
|
1790
|
+
lte?: Duration;
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
1794
|
+
* exclusive
|
|
1795
|
+
*
|
|
1796
|
+
* @generated from field: optional google.protobuf.Duration gt = 5;
|
|
1797
|
+
*/
|
|
1798
|
+
gt?: Duration;
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* Gte specifies that this field must be greater than the specified value,
|
|
1802
|
+
* inclusive
|
|
1803
|
+
*
|
|
1804
|
+
* @generated from field: optional google.protobuf.Duration gte = 6;
|
|
1805
|
+
*/
|
|
1806
|
+
gte?: Duration;
|
|
1807
|
+
|
|
1808
|
+
/**
|
|
1809
|
+
* In specifies that this field must be equal to one of the specified
|
|
1810
|
+
* values
|
|
1811
|
+
*
|
|
1812
|
+
* @generated from field: repeated google.protobuf.Duration in = 7;
|
|
1813
|
+
*/
|
|
1814
|
+
in: Duration[];
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1818
|
+
* values
|
|
1819
|
+
*
|
|
1820
|
+
* @generated from field: repeated google.protobuf.Duration not_in = 8;
|
|
1821
|
+
*/
|
|
1822
|
+
notIn: Duration[];
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1825
|
+
/**
|
|
1826
|
+
* Describes the message validate.DurationRules.
|
|
1827
|
+
* Use `create(DurationRulesSchema)` to create a new message.
|
|
1828
|
+
*/
|
|
1829
|
+
export const DurationRulesSchema: GenMessage<DurationRules> = /*@__PURE__*/
|
|
1830
|
+
messageDesc(file_validate_validate, 21);
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* TimestampRules describe the constraints applied exclusively to the
|
|
1834
|
+
* `google.protobuf.Timestamp` well-known type
|
|
1835
|
+
*
|
|
1836
|
+
* @generated from message validate.TimestampRules
|
|
1837
|
+
*/
|
|
1838
|
+
export type TimestampRules = Message<"validate.TimestampRules"> & {
|
|
1839
|
+
/**
|
|
1840
|
+
* Required specifies that this field must be set
|
|
1841
|
+
*
|
|
1842
|
+
* @generated from field: optional bool required = 1;
|
|
1843
|
+
*/
|
|
1844
|
+
required: boolean;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* Const specifies that this field must be exactly the specified value
|
|
1848
|
+
*
|
|
1849
|
+
* @generated from field: optional google.protobuf.Timestamp const = 2;
|
|
1850
|
+
*/
|
|
1851
|
+
const?: Timestamp;
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* Lt specifies that this field must be less than the specified value,
|
|
1855
|
+
* exclusive
|
|
1856
|
+
*
|
|
1857
|
+
* @generated from field: optional google.protobuf.Timestamp lt = 3;
|
|
1858
|
+
*/
|
|
1859
|
+
lt?: Timestamp;
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* Lte specifies that this field must be less than the specified value,
|
|
1863
|
+
* inclusive
|
|
1864
|
+
*
|
|
1865
|
+
* @generated from field: optional google.protobuf.Timestamp lte = 4;
|
|
1866
|
+
*/
|
|
1867
|
+
lte?: Timestamp;
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
1871
|
+
* exclusive
|
|
1872
|
+
*
|
|
1873
|
+
* @generated from field: optional google.protobuf.Timestamp gt = 5;
|
|
1874
|
+
*/
|
|
1875
|
+
gt?: Timestamp;
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* Gte specifies that this field must be greater than the specified value,
|
|
1879
|
+
* inclusive
|
|
1880
|
+
*
|
|
1881
|
+
* @generated from field: optional google.protobuf.Timestamp gte = 6;
|
|
1882
|
+
*/
|
|
1883
|
+
gte?: Timestamp;
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* LtNow specifies that this must be less than the current time. LtNow
|
|
1887
|
+
* can only be used with the Within rule.
|
|
1888
|
+
*
|
|
1889
|
+
* @generated from field: optional bool lt_now = 7;
|
|
1890
|
+
*/
|
|
1891
|
+
ltNow: boolean;
|
|
1892
|
+
|
|
1893
|
+
/**
|
|
1894
|
+
* GtNow specifies that this must be greater than the current time. GtNow
|
|
1895
|
+
* can only be used with the Within rule.
|
|
1896
|
+
*
|
|
1897
|
+
* @generated from field: optional bool gt_now = 8;
|
|
1898
|
+
*/
|
|
1899
|
+
gtNow: boolean;
|
|
1900
|
+
|
|
1901
|
+
/**
|
|
1902
|
+
* Within specifies that this field must be within this duration of the
|
|
1903
|
+
* current time. This constraint can be used alone or with the LtNow and
|
|
1904
|
+
* GtNow rules.
|
|
1905
|
+
*
|
|
1906
|
+
* @generated from field: optional google.protobuf.Duration within = 9;
|
|
1907
|
+
*/
|
|
1908
|
+
within?: Duration;
|
|
1909
|
+
};
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* Describes the message validate.TimestampRules.
|
|
1913
|
+
* Use `create(TimestampRulesSchema)` to create a new message.
|
|
1914
|
+
*/
|
|
1915
|
+
export const TimestampRulesSchema: GenMessage<TimestampRules> = /*@__PURE__*/
|
|
1916
|
+
messageDesc(file_validate_validate, 22);
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* WellKnownRegex contain some well-known patterns.
|
|
1920
|
+
*
|
|
1921
|
+
* @generated from enum validate.KnownRegex
|
|
1922
|
+
*/
|
|
1923
|
+
export enum KnownRegex {
|
|
1924
|
+
/**
|
|
1925
|
+
* @generated from enum value: UNKNOWN = 0;
|
|
1926
|
+
*/
|
|
1927
|
+
UNKNOWN = 0,
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
* HTTP header name as defined by RFC 7230.
|
|
1931
|
+
*
|
|
1932
|
+
* @generated from enum value: HTTP_HEADER_NAME = 1;
|
|
1933
|
+
*/
|
|
1934
|
+
HTTP_HEADER_NAME = 1,
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* HTTP header value as defined by RFC 7230.
|
|
1938
|
+
*
|
|
1939
|
+
* @generated from enum value: HTTP_HEADER_VALUE = 2;
|
|
1940
|
+
*/
|
|
1941
|
+
HTTP_HEADER_VALUE = 2,
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
/**
|
|
1945
|
+
* Describes the enum validate.KnownRegex.
|
|
1946
|
+
*/
|
|
1947
|
+
export const KnownRegexSchema: GenEnum<KnownRegex> = /*@__PURE__*/
|
|
1948
|
+
enumDesc(file_validate_validate, 0);
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* Disabled nullifies any validation rules for this message, including any
|
|
1952
|
+
* message fields associated with it that do support validation.
|
|
1953
|
+
*
|
|
1954
|
+
* @generated from extension: optional bool disabled = 1071;
|
|
1955
|
+
*/
|
|
1956
|
+
export const disabled: GenExtension<MessageOptions, boolean> = /*@__PURE__*/
|
|
1957
|
+
extDesc(file_validate_validate, 0);
|
|
1958
|
+
|
|
1959
|
+
/**
|
|
1960
|
+
* Ignore skips generation of validation methods for this message.
|
|
1961
|
+
*
|
|
1962
|
+
* @generated from extension: optional bool ignored = 1072;
|
|
1963
|
+
*/
|
|
1964
|
+
export const ignored: GenExtension<MessageOptions, boolean> = /*@__PURE__*/
|
|
1965
|
+
extDesc(file_validate_validate, 1);
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* Required ensures that exactly one the field options in a oneof is set;
|
|
1969
|
+
* validation fails if no fields in the oneof are set.
|
|
1970
|
+
*
|
|
1971
|
+
* @generated from extension: optional bool required = 1071;
|
|
1972
|
+
*/
|
|
1973
|
+
export const required: GenExtension<OneofOptions, boolean> = /*@__PURE__*/
|
|
1974
|
+
extDesc(file_validate_validate, 2);
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* Rules specify the validations to be performed on this field. By default,
|
|
1978
|
+
* no validation is performed against a field.
|
|
1979
|
+
*
|
|
1980
|
+
* @generated from extension: optional validate.FieldRules rules = 1071;
|
|
1981
|
+
*/
|
|
1982
|
+
export const rules: GenExtension<FieldOptions, FieldRules> = /*@__PURE__*/
|
|
1983
|
+
extDesc(file_validate_validate, 3);
|
|
1984
|
+
|