@raystack/proton 0.1.0-35dd68d487bfa7e7339c40e9b103ee7377aac6e6 → 0.1.0-434b8aec0c95625a6633f4e890be311d3e0fefef
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 +2 -0
- package/google/api/annotations_pb.d.ts +34 -0
- package/google/api/annotations_pb.js +36 -0
- package/google/api/annotations_pb.ts +15 -9
- 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 +19 -19
- package/google/api/http_pb.d.ts +477 -0
- package/google/api/http_pb.js +47 -0
- package/google/api/http_pb.ts +43 -108
- package/google/api/httpbody_pb.d.ts +104 -0
- package/google/api/httpbody_pb.js +34 -0
- package/google/api/httpbody_pb.ts +23 -37
- package/index.d.ts +10 -0
- package/index.js +10 -0
- package/index.ts +10 -0
- package/package.json +62 -17
- 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 +23 -29
- 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 +338 -808
- package/raystack/assets/index.d.ts +29 -0
- package/raystack/assets/index.js +29 -0
- package/raystack/assets/index.ts +29 -29
- 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 +46 -89
- 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 +49 -97
- 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 +22 -36
- 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 +38 -74
- 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 +30 -43
- 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 +22 -36
- 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 +31 -68
- 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 +21 -34
- 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 +22 -37
- 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 +24 -43
- 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 +59 -145
- 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 +59 -120
- 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 +28 -62
- 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 +43 -78
- 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 +58 -125
- 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 +23 -39
- 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 +30 -53
- 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 +41 -87
- 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 +56 -137
- 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 +44 -93
- 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 +38 -79
- 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 +51 -115
- 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 +32 -68
- 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 +21 -35
- 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 +25 -43
- 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 +59 -147
- 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 +82 -200
- 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 +41 -99
- 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 +53 -121
- package/raystack/common/index.d.ts +2 -0
- package/raystack/common/index.js +2 -0
- package/raystack/common/index.ts +1 -2
- 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 +3 -14
- 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 +57 -97
- package/raystack/compass/index.d.ts +2 -0
- package/raystack/compass/index.js +2 -0
- package/raystack/compass/index.ts +1 -2
- 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 +44 -424
- 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 +1448 -3319
- package/raystack/entropy/index.d.ts +4 -0
- package/raystack/entropy/index.js +4 -0
- package/raystack/entropy/index.ts +2 -4
- 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 +7 -54
- 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 +156 -324
- 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 +9 -74
- 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 +330 -756
- package/raystack/frontier/index.d.ts +5 -0
- package/raystack/frontier/index.js +5 -0
- package/raystack/frontier/index.ts +3 -5
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.d.ts +269 -0
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.js +323 -0
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +75 -524
- package/raystack/frontier/v1beta1/admin_pb.d.ts +3624 -0
- package/raystack/frontier/v1beta1/admin_pb.js +935 -0
- package/raystack/frontier/v1beta1/admin_pb.ts +1918 -3843
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.d.ts +755 -0
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.js +925 -0
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +200 -1674
- package/raystack/frontier/v1beta1/frontier_pb.d.ts +8980 -0
- package/raystack/frontier/v1beta1/frontier_pb.js +2649 -0
- package/raystack/frontier/v1beta1/frontier_pb.ts +5062 -10956
- package/raystack/frontier/v1beta1/models_pb.d.ts +3043 -0
- package/raystack/frontier/v1beta1/models_pb.js +485 -0
- package/raystack/frontier/v1beta1/models_pb.ts +1053 -2283
- package/raystack/guardian/index.d.ts +2 -0
- package/raystack/guardian/index.js +2 -0
- package/raystack/guardian/index.ts +1 -2
- 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 +42 -404
- 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 +1584 -3783
- 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 +5 -34
- 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 +137 -273
- 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 +6 -44
- 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 +194 -376
- 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 +17 -154
- 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 +910 -2081
- 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 +5 -34
- 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 +113 -212
- 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 +5 -34
- 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 +104 -248
- 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 +6 -44
- 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 +160 -335
- 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 +8 -64
- 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 +266 -527
- 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 +3 -14
- 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 +48 -61
- 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 +6 -44
- 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 +155 -283
- 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 +35 -54
- 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 +75 -187
- 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 +6 -44
- 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 +193 -426
- package/raystack/predator/index.d.ts +2 -0
- package/raystack/predator/index.js +2 -0
- package/raystack/predator/index.ts +2 -2
- 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 +67 -173
- 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 +60 -144
- package/raystack/raccoon/index.d.ts +2 -0
- package/raystack/raccoon/index.js +2 -0
- package/raystack/raccoon/index.ts +1 -2
- 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 +3 -14
- 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 +142 -189
- package/raystack/siren/index.d.ts +2 -0
- package/raystack/siren/index.js +2 -0
- package/raystack/siren/index.ts +1 -2
- 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 +37 -354
- 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 +1155 -2637
- package/raystack/stencil/index.d.ts +2 -0
- package/raystack/stencil/index.js +2 -0
- package/raystack/stencil/index.ts +1 -2
- 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 +18 -164
- 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 +530 -1157
- package/validate/validate_pb.d.ts +1953 -0
- package/validate/validate_pb.js +223 -0
- package/validate/validate_pb.ts +401 -1038
- package/google/api/field_behavior.ts +0 -95
- package/google/api/http.ts +0 -695
- package/google/api/httpbody.ts +0 -159
- package/google/protobuf/any.ts +0 -322
- package/google/protobuf/descriptor.ts +0 -3475
- package/google/protobuf/duration.ts +0 -231
- package/google/protobuf/struct.ts +0 -484
- package/google/protobuf/timestamp.ts +0 -290
- package/google/protobuf/wrappers.ts +0 -752
- package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
- package/raystack/assets/v1beta1/bucket.ts +0 -362
- package/raystack/assets/v1beta1/dashboard.ts +0 -426
- package/raystack/assets/v1beta1/event.ts +0 -105
- package/raystack/assets/v1beta1/group.ts +0 -223
- package/raystack/assets/v1beta1/job.ts +0 -147
- package/raystack/assets/v1beta1/lineage.ts +0 -90
- package/raystack/assets/v1beta1/ownership.ts +0 -179
- package/raystack/assets/v1beta1/preview.ts +0 -87
- package/raystack/assets/v1beta1/properties.ts +0 -116
- package/raystack/assets/v1beta1/resource.ts +0 -149
- package/raystack/assets/v1beta1/schema.ts +0 -421
- package/raystack/assets/v1beta1/table.ts +0 -408
- package/raystack/assets/v1beta1/timestamp.ts +0 -158
- package/raystack/assets/v1beta1/topic.ts +0 -253
- package/raystack/assets/v1beta1/user.ts +0 -451
- package/raystack/assets/v1beta2/application.ts +0 -125
- package/raystack/assets/v1beta2/asset.ts +0 -269
- package/raystack/assets/v1beta2/bucket.ts +0 -341
- package/raystack/assets/v1beta2/common.ts +0 -392
- package/raystack/assets/v1beta2/dashboard.ts +0 -393
- package/raystack/assets/v1beta2/experiment.ts +0 -274
- package/raystack/assets/v1beta2/feature_table.ts +0 -387
- package/raystack/assets/v1beta2/group.ts +0 -178
- package/raystack/assets/v1beta2/job.ts +0 -99
- package/raystack/assets/v1beta2/metric.ts +0 -163
- package/raystack/assets/v1beta2/model.ts +0 -519
- package/raystack/assets/v1beta2/table.ts +0 -663
- package/raystack/assets/v1beta2/topic.ts +0 -275
- package/raystack/assets/v1beta2/user.ts +0 -433
- package/raystack/common/v1/service.client.ts +0 -37
- package/raystack/common/v1/service.ts +0 -245
- package/raystack/common/v1/service_connect.ts +0 -26
- package/raystack/compass/v1beta1/service.client.ts +0 -594
- package/raystack/compass/v1beta1/service.ts +0 -8169
- package/raystack/compass/v1beta1/service_connect.ts +0 -407
- package/raystack/entropy/v1beta1/module.client.ts +0 -89
- package/raystack/entropy/v1beta1/module.ts +0 -692
- package/raystack/entropy/v1beta1/module_connect.ts +0 -62
- package/raystack/entropy/v1beta1/resource.client.ts +0 -129
- package/raystack/entropy/v1beta1/resource.ts +0 -1817
- package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
- package/raystack/frontier/v1beta1/admin.client.ts +0 -866
- package/raystack/frontier/v1beta1/admin.ts +0 -9117
- package/raystack/frontier/v1beta1/admin_connect.ts +0 -584
- package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
- package/raystack/frontier/v1beta1/frontier.ts +0 -23706
- package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
- package/raystack/frontier/v1beta1/models.ts +0 -7433
- package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
- package/raystack/guardian/v1beta1/guardian.ts +0 -9688
- package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
- package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
- package/raystack/optimus/core/v1beta1/backup.ts +0 -708
- package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
- package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
- package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
- package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
- package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
- package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
- package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
- package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
- package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
- package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
- package/raystack/optimus/core/v1beta1/project.ts +0 -520
- package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
- package/raystack/optimus/core/v1beta1/replay.ts +0 -881
- package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
- package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
- package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
- package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
- package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
- package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
- package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
- package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
- package/raystack/optimus/core/v1beta1/secret.ts +0 -619
- package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
- package/raystack/optimus/core/v1beta1/status.ts +0 -113
- package/raystack/optimus/integration/v1beta1/event.ts +0 -531
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
- package/raystack/predator/v1beta1/metrics_log.ts +0 -457
- package/raystack/predator/v1beta1/result_log.ts +0 -390
- package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
- package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
- package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
- package/raystack/siren/v1beta1/siren.client.ts +0 -479
- package/raystack/siren/v1beta1/siren.ts +0 -6507
- package/raystack/siren/v1beta1/siren_connect.ts +0 -332
- package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
- package/raystack/stencil/v1beta1/stencil.ts +0 -2716
- package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
- package/validate/validate.ts +0 -4130
package/validate/validate_pb.ts
CHANGED
|
@@ -1,42 +1,18 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
|
|
2
2
|
// @generated from file validate/validate.proto (package validate, syntax proto2)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
4
|
|
|
6
|
-
import type {
|
|
7
|
-
import {
|
|
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";
|
|
8
10
|
|
|
9
11
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* @generated from enum validate.KnownRegex
|
|
12
|
+
* Describes the file validate/validate.proto.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
* @generated from enum value: UNKNOWN = 0;
|
|
17
|
-
*/
|
|
18
|
-
UNKNOWN = 0,
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* HTTP header name as defined by RFC 7230.
|
|
22
|
-
*
|
|
23
|
-
* @generated from enum value: HTTP_HEADER_NAME = 1;
|
|
24
|
-
*/
|
|
25
|
-
HTTP_HEADER_NAME = 1,
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* HTTP header value as defined by RFC 7230.
|
|
29
|
-
*
|
|
30
|
-
* @generated from enum value: HTTP_HEADER_VALUE = 2;
|
|
31
|
-
*/
|
|
32
|
-
HTTP_HEADER_VALUE = 2,
|
|
33
|
-
}
|
|
34
|
-
// Retrieve enum metadata with: proto2.getEnumType(KnownRegex)
|
|
35
|
-
proto2.util.setEnumType(KnownRegex, "validate.KnownRegex", [
|
|
36
|
-
{ no: 0, name: "UNKNOWN" },
|
|
37
|
-
{ no: 1, name: "HTTP_HEADER_NAME" },
|
|
38
|
-
{ no: 2, name: "HTTP_HEADER_VALUE" },
|
|
39
|
-
]);
|
|
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]);
|
|
40
16
|
|
|
41
17
|
/**
|
|
42
18
|
* FieldRules encapsulates the rules for each type of field. Depending on the
|
|
@@ -44,7 +20,7 @@ proto2.util.setEnumType(KnownRegex, "validate.KnownRegex", [
|
|
|
44
20
|
*
|
|
45
21
|
* @generated from message validate.FieldRules
|
|
46
22
|
*/
|
|
47
|
-
export
|
|
23
|
+
export type FieldRules = Message<"validate.FieldRules"> & {
|
|
48
24
|
/**
|
|
49
25
|
* @generated from field: optional validate.MessageRules message = 17;
|
|
50
26
|
*/
|
|
@@ -185,69 +161,28 @@ export class FieldRules extends Message<FieldRules> {
|
|
|
185
161
|
*/
|
|
186
162
|
value: TimestampRules;
|
|
187
163
|
case: "timestamp";
|
|
188
|
-
} | { case: undefined; value?: undefined }
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
198
|
-
{ no: 17, name: "message", kind: "message", T: MessageRules, opt: true },
|
|
199
|
-
{ no: 1, name: "float", kind: "message", T: FloatRules, oneof: "type" },
|
|
200
|
-
{ no: 2, name: "double", kind: "message", T: DoubleRules, oneof: "type" },
|
|
201
|
-
{ no: 3, name: "int32", kind: "message", T: Int32Rules, oneof: "type" },
|
|
202
|
-
{ no: 4, name: "int64", kind: "message", T: Int64Rules, oneof: "type" },
|
|
203
|
-
{ no: 5, name: "uint32", kind: "message", T: UInt32Rules, oneof: "type" },
|
|
204
|
-
{ no: 6, name: "uint64", kind: "message", T: UInt64Rules, oneof: "type" },
|
|
205
|
-
{ no: 7, name: "sint32", kind: "message", T: SInt32Rules, oneof: "type" },
|
|
206
|
-
{ no: 8, name: "sint64", kind: "message", T: SInt64Rules, oneof: "type" },
|
|
207
|
-
{ no: 9, name: "fixed32", kind: "message", T: Fixed32Rules, oneof: "type" },
|
|
208
|
-
{ no: 10, name: "fixed64", kind: "message", T: Fixed64Rules, oneof: "type" },
|
|
209
|
-
{ no: 11, name: "sfixed32", kind: "message", T: SFixed32Rules, oneof: "type" },
|
|
210
|
-
{ no: 12, name: "sfixed64", kind: "message", T: SFixed64Rules, oneof: "type" },
|
|
211
|
-
{ no: 13, name: "bool", kind: "message", T: BoolRules, oneof: "type" },
|
|
212
|
-
{ no: 14, name: "string", kind: "message", T: StringRules, oneof: "type" },
|
|
213
|
-
{ no: 15, name: "bytes", kind: "message", T: BytesRules, oneof: "type" },
|
|
214
|
-
{ no: 16, name: "enum", kind: "message", T: EnumRules, oneof: "type" },
|
|
215
|
-
{ no: 18, name: "repeated", kind: "message", T: RepeatedRules, oneof: "type" },
|
|
216
|
-
{ no: 19, name: "map", kind: "message", T: MapRules, oneof: "type" },
|
|
217
|
-
{ no: 20, name: "any", kind: "message", T: AnyRules, oneof: "type" },
|
|
218
|
-
{ no: 21, name: "duration", kind: "message", T: DurationRules, oneof: "type" },
|
|
219
|
-
{ no: 22, name: "timestamp", kind: "message", T: TimestampRules, oneof: "type" },
|
|
220
|
-
]);
|
|
221
|
-
|
|
222
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldRules {
|
|
223
|
-
return new FieldRules().fromBinary(bytes, options);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldRules {
|
|
227
|
-
return new FieldRules().fromJson(jsonValue, options);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldRules {
|
|
231
|
-
return new FieldRules().fromJsonString(jsonString, options);
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
static equals(a: FieldRules | PlainMessage<FieldRules> | undefined, b: FieldRules | PlainMessage<FieldRules> | undefined): boolean {
|
|
235
|
-
return proto2.util.equals(FieldRules, a, b);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
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);
|
|
238
173
|
|
|
239
174
|
/**
|
|
240
175
|
* FloatRules describes the constraints applied to `float` values
|
|
241
176
|
*
|
|
242
177
|
* @generated from message validate.FloatRules
|
|
243
178
|
*/
|
|
244
|
-
export
|
|
179
|
+
export type FloatRules = Message<"validate.FloatRules"> & {
|
|
245
180
|
/**
|
|
246
181
|
* Const specifies that this field must be exactly the specified value
|
|
247
182
|
*
|
|
248
183
|
* @generated from field: optional float const = 1;
|
|
249
184
|
*/
|
|
250
|
-
const
|
|
185
|
+
const: number;
|
|
251
186
|
|
|
252
187
|
/**
|
|
253
188
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -255,7 +190,7 @@ export class FloatRules extends Message<FloatRules> {
|
|
|
255
190
|
*
|
|
256
191
|
* @generated from field: optional float lt = 2;
|
|
257
192
|
*/
|
|
258
|
-
lt
|
|
193
|
+
lt: number;
|
|
259
194
|
|
|
260
195
|
/**
|
|
261
196
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -263,7 +198,7 @@ export class FloatRules extends Message<FloatRules> {
|
|
|
263
198
|
*
|
|
264
199
|
* @generated from field: optional float lte = 3;
|
|
265
200
|
*/
|
|
266
|
-
lte
|
|
201
|
+
lte: number;
|
|
267
202
|
|
|
268
203
|
/**
|
|
269
204
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -272,7 +207,7 @@ export class FloatRules extends Message<FloatRules> {
|
|
|
272
207
|
*
|
|
273
208
|
* @generated from field: optional float gt = 4;
|
|
274
209
|
*/
|
|
275
|
-
gt
|
|
210
|
+
gt: number;
|
|
276
211
|
|
|
277
212
|
/**
|
|
278
213
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -281,7 +216,7 @@ export class FloatRules extends Message<FloatRules> {
|
|
|
281
216
|
*
|
|
282
217
|
* @generated from field: optional float gte = 5;
|
|
283
218
|
*/
|
|
284
|
-
gte
|
|
219
|
+
gte: number;
|
|
285
220
|
|
|
286
221
|
/**
|
|
287
222
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -289,7 +224,7 @@ export class FloatRules extends Message<FloatRules> {
|
|
|
289
224
|
*
|
|
290
225
|
* @generated from field: repeated float in = 6;
|
|
291
226
|
*/
|
|
292
|
-
in: number[]
|
|
227
|
+
in: number[];
|
|
293
228
|
|
|
294
229
|
/**
|
|
295
230
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -297,7 +232,7 @@ export class FloatRules extends Message<FloatRules> {
|
|
|
297
232
|
*
|
|
298
233
|
* @generated from field: repeated float not_in = 7;
|
|
299
234
|
*/
|
|
300
|
-
notIn: number[]
|
|
235
|
+
notIn: number[];
|
|
301
236
|
|
|
302
237
|
/**
|
|
303
238
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -305,55 +240,28 @@ export class FloatRules extends Message<FloatRules> {
|
|
|
305
240
|
*
|
|
306
241
|
* @generated from field: optional bool ignore_empty = 8;
|
|
307
242
|
*/
|
|
308
|
-
ignoreEmpty
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
318
|
-
{ no: 1, name: "const", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
319
|
-
{ no: 2, name: "lt", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
320
|
-
{ no: 3, name: "lte", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
321
|
-
{ no: 4, name: "gt", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
322
|
-
{ no: 5, name: "gte", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
323
|
-
{ no: 6, name: "in", kind: "scalar", T: 2 /* ScalarType.FLOAT */, repeated: true },
|
|
324
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 2 /* ScalarType.FLOAT */, repeated: true },
|
|
325
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
326
|
-
]);
|
|
327
|
-
|
|
328
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FloatRules {
|
|
329
|
-
return new FloatRules().fromBinary(bytes, options);
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FloatRules {
|
|
333
|
-
return new FloatRules().fromJson(jsonValue, options);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FloatRules {
|
|
337
|
-
return new FloatRules().fromJsonString(jsonString, options);
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
static equals(a: FloatRules | PlainMessage<FloatRules> | undefined, b: FloatRules | PlainMessage<FloatRules> | undefined): boolean {
|
|
341
|
-
return proto2.util.equals(FloatRules, a, b);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
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);
|
|
344
252
|
|
|
345
253
|
/**
|
|
346
254
|
* DoubleRules describes the constraints applied to `double` values
|
|
347
255
|
*
|
|
348
256
|
* @generated from message validate.DoubleRules
|
|
349
257
|
*/
|
|
350
|
-
export
|
|
258
|
+
export type DoubleRules = Message<"validate.DoubleRules"> & {
|
|
351
259
|
/**
|
|
352
260
|
* Const specifies that this field must be exactly the specified value
|
|
353
261
|
*
|
|
354
262
|
* @generated from field: optional double const = 1;
|
|
355
263
|
*/
|
|
356
|
-
const
|
|
264
|
+
const: number;
|
|
357
265
|
|
|
358
266
|
/**
|
|
359
267
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -361,7 +269,7 @@ export class DoubleRules extends Message<DoubleRules> {
|
|
|
361
269
|
*
|
|
362
270
|
* @generated from field: optional double lt = 2;
|
|
363
271
|
*/
|
|
364
|
-
lt
|
|
272
|
+
lt: number;
|
|
365
273
|
|
|
366
274
|
/**
|
|
367
275
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -369,7 +277,7 @@ export class DoubleRules extends Message<DoubleRules> {
|
|
|
369
277
|
*
|
|
370
278
|
* @generated from field: optional double lte = 3;
|
|
371
279
|
*/
|
|
372
|
-
lte
|
|
280
|
+
lte: number;
|
|
373
281
|
|
|
374
282
|
/**
|
|
375
283
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -378,7 +286,7 @@ export class DoubleRules extends Message<DoubleRules> {
|
|
|
378
286
|
*
|
|
379
287
|
* @generated from field: optional double gt = 4;
|
|
380
288
|
*/
|
|
381
|
-
gt
|
|
289
|
+
gt: number;
|
|
382
290
|
|
|
383
291
|
/**
|
|
384
292
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -387,7 +295,7 @@ export class DoubleRules extends Message<DoubleRules> {
|
|
|
387
295
|
*
|
|
388
296
|
* @generated from field: optional double gte = 5;
|
|
389
297
|
*/
|
|
390
|
-
gte
|
|
298
|
+
gte: number;
|
|
391
299
|
|
|
392
300
|
/**
|
|
393
301
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -395,7 +303,7 @@ export class DoubleRules extends Message<DoubleRules> {
|
|
|
395
303
|
*
|
|
396
304
|
* @generated from field: repeated double in = 6;
|
|
397
305
|
*/
|
|
398
|
-
in: number[]
|
|
306
|
+
in: number[];
|
|
399
307
|
|
|
400
308
|
/**
|
|
401
309
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -403,7 +311,7 @@ export class DoubleRules extends Message<DoubleRules> {
|
|
|
403
311
|
*
|
|
404
312
|
* @generated from field: repeated double not_in = 7;
|
|
405
313
|
*/
|
|
406
|
-
notIn: number[]
|
|
314
|
+
notIn: number[];
|
|
407
315
|
|
|
408
316
|
/**
|
|
409
317
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -411,55 +319,28 @@ export class DoubleRules extends Message<DoubleRules> {
|
|
|
411
319
|
*
|
|
412
320
|
* @generated from field: optional bool ignore_empty = 8;
|
|
413
321
|
*/
|
|
414
|
-
ignoreEmpty
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
424
|
-
{ no: 1, name: "const", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
425
|
-
{ no: 2, name: "lt", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
426
|
-
{ no: 3, name: "lte", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
427
|
-
{ no: 4, name: "gt", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
428
|
-
{ no: 5, name: "gte", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
429
|
-
{ no: 6, name: "in", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, repeated: true },
|
|
430
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, repeated: true },
|
|
431
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
432
|
-
]);
|
|
433
|
-
|
|
434
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DoubleRules {
|
|
435
|
-
return new DoubleRules().fromBinary(bytes, options);
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DoubleRules {
|
|
439
|
-
return new DoubleRules().fromJson(jsonValue, options);
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DoubleRules {
|
|
443
|
-
return new DoubleRules().fromJsonString(jsonString, options);
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
static equals(a: DoubleRules | PlainMessage<DoubleRules> | undefined, b: DoubleRules | PlainMessage<DoubleRules> | undefined): boolean {
|
|
447
|
-
return proto2.util.equals(DoubleRules, a, b);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
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);
|
|
450
331
|
|
|
451
332
|
/**
|
|
452
333
|
* Int32Rules describes the constraints applied to `int32` values
|
|
453
334
|
*
|
|
454
335
|
* @generated from message validate.Int32Rules
|
|
455
336
|
*/
|
|
456
|
-
export
|
|
337
|
+
export type Int32Rules = Message<"validate.Int32Rules"> & {
|
|
457
338
|
/**
|
|
458
339
|
* Const specifies that this field must be exactly the specified value
|
|
459
340
|
*
|
|
460
341
|
* @generated from field: optional int32 const = 1;
|
|
461
342
|
*/
|
|
462
|
-
const
|
|
343
|
+
const: number;
|
|
463
344
|
|
|
464
345
|
/**
|
|
465
346
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -467,7 +348,7 @@ export class Int32Rules extends Message<Int32Rules> {
|
|
|
467
348
|
*
|
|
468
349
|
* @generated from field: optional int32 lt = 2;
|
|
469
350
|
*/
|
|
470
|
-
lt
|
|
351
|
+
lt: number;
|
|
471
352
|
|
|
472
353
|
/**
|
|
473
354
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -475,7 +356,7 @@ export class Int32Rules extends Message<Int32Rules> {
|
|
|
475
356
|
*
|
|
476
357
|
* @generated from field: optional int32 lte = 3;
|
|
477
358
|
*/
|
|
478
|
-
lte
|
|
359
|
+
lte: number;
|
|
479
360
|
|
|
480
361
|
/**
|
|
481
362
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -484,7 +365,7 @@ export class Int32Rules extends Message<Int32Rules> {
|
|
|
484
365
|
*
|
|
485
366
|
* @generated from field: optional int32 gt = 4;
|
|
486
367
|
*/
|
|
487
|
-
gt
|
|
368
|
+
gt: number;
|
|
488
369
|
|
|
489
370
|
/**
|
|
490
371
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -493,7 +374,7 @@ export class Int32Rules extends Message<Int32Rules> {
|
|
|
493
374
|
*
|
|
494
375
|
* @generated from field: optional int32 gte = 5;
|
|
495
376
|
*/
|
|
496
|
-
gte
|
|
377
|
+
gte: number;
|
|
497
378
|
|
|
498
379
|
/**
|
|
499
380
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -501,7 +382,7 @@ export class Int32Rules extends Message<Int32Rules> {
|
|
|
501
382
|
*
|
|
502
383
|
* @generated from field: repeated int32 in = 6;
|
|
503
384
|
*/
|
|
504
|
-
in: number[]
|
|
385
|
+
in: number[];
|
|
505
386
|
|
|
506
387
|
/**
|
|
507
388
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -509,7 +390,7 @@ export class Int32Rules extends Message<Int32Rules> {
|
|
|
509
390
|
*
|
|
510
391
|
* @generated from field: repeated int32 not_in = 7;
|
|
511
392
|
*/
|
|
512
|
-
notIn: number[]
|
|
393
|
+
notIn: number[];
|
|
513
394
|
|
|
514
395
|
/**
|
|
515
396
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -517,55 +398,28 @@ export class Int32Rules extends Message<Int32Rules> {
|
|
|
517
398
|
*
|
|
518
399
|
* @generated from field: optional bool ignore_empty = 8;
|
|
519
400
|
*/
|
|
520
|
-
ignoreEmpty
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
530
|
-
{ no: 1, name: "const", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
531
|
-
{ no: 2, name: "lt", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
532
|
-
{ no: 3, name: "lte", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
533
|
-
{ no: 4, name: "gt", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
534
|
-
{ no: 5, name: "gte", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
535
|
-
{ no: 6, name: "in", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
536
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
537
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
538
|
-
]);
|
|
539
|
-
|
|
540
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Int32Rules {
|
|
541
|
-
return new Int32Rules().fromBinary(bytes, options);
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Int32Rules {
|
|
545
|
-
return new Int32Rules().fromJson(jsonValue, options);
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Int32Rules {
|
|
549
|
-
return new Int32Rules().fromJsonString(jsonString, options);
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
static equals(a: Int32Rules | PlainMessage<Int32Rules> | undefined, b: Int32Rules | PlainMessage<Int32Rules> | undefined): boolean {
|
|
553
|
-
return proto2.util.equals(Int32Rules, a, b);
|
|
554
|
-
}
|
|
555
|
-
}
|
|
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);
|
|
556
410
|
|
|
557
411
|
/**
|
|
558
412
|
* Int64Rules describes the constraints applied to `int64` values
|
|
559
413
|
*
|
|
560
414
|
* @generated from message validate.Int64Rules
|
|
561
415
|
*/
|
|
562
|
-
export
|
|
416
|
+
export type Int64Rules = Message<"validate.Int64Rules"> & {
|
|
563
417
|
/**
|
|
564
418
|
* Const specifies that this field must be exactly the specified value
|
|
565
419
|
*
|
|
566
420
|
* @generated from field: optional int64 const = 1;
|
|
567
421
|
*/
|
|
568
|
-
const
|
|
422
|
+
const: bigint;
|
|
569
423
|
|
|
570
424
|
/**
|
|
571
425
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -573,7 +427,7 @@ export class Int64Rules extends Message<Int64Rules> {
|
|
|
573
427
|
*
|
|
574
428
|
* @generated from field: optional int64 lt = 2;
|
|
575
429
|
*/
|
|
576
|
-
lt
|
|
430
|
+
lt: bigint;
|
|
577
431
|
|
|
578
432
|
/**
|
|
579
433
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -581,7 +435,7 @@ export class Int64Rules extends Message<Int64Rules> {
|
|
|
581
435
|
*
|
|
582
436
|
* @generated from field: optional int64 lte = 3;
|
|
583
437
|
*/
|
|
584
|
-
lte
|
|
438
|
+
lte: bigint;
|
|
585
439
|
|
|
586
440
|
/**
|
|
587
441
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -590,7 +444,7 @@ export class Int64Rules extends Message<Int64Rules> {
|
|
|
590
444
|
*
|
|
591
445
|
* @generated from field: optional int64 gt = 4;
|
|
592
446
|
*/
|
|
593
|
-
gt
|
|
447
|
+
gt: bigint;
|
|
594
448
|
|
|
595
449
|
/**
|
|
596
450
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -599,7 +453,7 @@ export class Int64Rules extends Message<Int64Rules> {
|
|
|
599
453
|
*
|
|
600
454
|
* @generated from field: optional int64 gte = 5;
|
|
601
455
|
*/
|
|
602
|
-
gte
|
|
456
|
+
gte: bigint;
|
|
603
457
|
|
|
604
458
|
/**
|
|
605
459
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -607,7 +461,7 @@ export class Int64Rules extends Message<Int64Rules> {
|
|
|
607
461
|
*
|
|
608
462
|
* @generated from field: repeated int64 in = 6;
|
|
609
463
|
*/
|
|
610
|
-
in: bigint[]
|
|
464
|
+
in: bigint[];
|
|
611
465
|
|
|
612
466
|
/**
|
|
613
467
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -615,7 +469,7 @@ export class Int64Rules extends Message<Int64Rules> {
|
|
|
615
469
|
*
|
|
616
470
|
* @generated from field: repeated int64 not_in = 7;
|
|
617
471
|
*/
|
|
618
|
-
notIn: bigint[]
|
|
472
|
+
notIn: bigint[];
|
|
619
473
|
|
|
620
474
|
/**
|
|
621
475
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -623,55 +477,28 @@ export class Int64Rules extends Message<Int64Rules> {
|
|
|
623
477
|
*
|
|
624
478
|
* @generated from field: optional bool ignore_empty = 8;
|
|
625
479
|
*/
|
|
626
|
-
ignoreEmpty
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
636
|
-
{ no: 1, name: "const", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
637
|
-
{ no: 2, name: "lt", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
638
|
-
{ no: 3, name: "lte", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
639
|
-
{ no: 4, name: "gt", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
640
|
-
{ no: 5, name: "gte", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
641
|
-
{ no: 6, name: "in", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
642
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
643
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
644
|
-
]);
|
|
645
|
-
|
|
646
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Int64Rules {
|
|
647
|
-
return new Int64Rules().fromBinary(bytes, options);
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Int64Rules {
|
|
651
|
-
return new Int64Rules().fromJson(jsonValue, options);
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Int64Rules {
|
|
655
|
-
return new Int64Rules().fromJsonString(jsonString, options);
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
static equals(a: Int64Rules | PlainMessage<Int64Rules> | undefined, b: Int64Rules | PlainMessage<Int64Rules> | undefined): boolean {
|
|
659
|
-
return proto2.util.equals(Int64Rules, a, b);
|
|
660
|
-
}
|
|
661
|
-
}
|
|
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);
|
|
662
489
|
|
|
663
490
|
/**
|
|
664
491
|
* UInt32Rules describes the constraints applied to `uint32` values
|
|
665
492
|
*
|
|
666
493
|
* @generated from message validate.UInt32Rules
|
|
667
494
|
*/
|
|
668
|
-
export
|
|
495
|
+
export type UInt32Rules = Message<"validate.UInt32Rules"> & {
|
|
669
496
|
/**
|
|
670
497
|
* Const specifies that this field must be exactly the specified value
|
|
671
498
|
*
|
|
672
499
|
* @generated from field: optional uint32 const = 1;
|
|
673
500
|
*/
|
|
674
|
-
const
|
|
501
|
+
const: number;
|
|
675
502
|
|
|
676
503
|
/**
|
|
677
504
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -679,7 +506,7 @@ export class UInt32Rules extends Message<UInt32Rules> {
|
|
|
679
506
|
*
|
|
680
507
|
* @generated from field: optional uint32 lt = 2;
|
|
681
508
|
*/
|
|
682
|
-
lt
|
|
509
|
+
lt: number;
|
|
683
510
|
|
|
684
511
|
/**
|
|
685
512
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -687,7 +514,7 @@ export class UInt32Rules extends Message<UInt32Rules> {
|
|
|
687
514
|
*
|
|
688
515
|
* @generated from field: optional uint32 lte = 3;
|
|
689
516
|
*/
|
|
690
|
-
lte
|
|
517
|
+
lte: number;
|
|
691
518
|
|
|
692
519
|
/**
|
|
693
520
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -696,7 +523,7 @@ export class UInt32Rules extends Message<UInt32Rules> {
|
|
|
696
523
|
*
|
|
697
524
|
* @generated from field: optional uint32 gt = 4;
|
|
698
525
|
*/
|
|
699
|
-
gt
|
|
526
|
+
gt: number;
|
|
700
527
|
|
|
701
528
|
/**
|
|
702
529
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -705,7 +532,7 @@ export class UInt32Rules extends Message<UInt32Rules> {
|
|
|
705
532
|
*
|
|
706
533
|
* @generated from field: optional uint32 gte = 5;
|
|
707
534
|
*/
|
|
708
|
-
gte
|
|
535
|
+
gte: number;
|
|
709
536
|
|
|
710
537
|
/**
|
|
711
538
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -713,7 +540,7 @@ export class UInt32Rules extends Message<UInt32Rules> {
|
|
|
713
540
|
*
|
|
714
541
|
* @generated from field: repeated uint32 in = 6;
|
|
715
542
|
*/
|
|
716
|
-
in: number[]
|
|
543
|
+
in: number[];
|
|
717
544
|
|
|
718
545
|
/**
|
|
719
546
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -721,7 +548,7 @@ export class UInt32Rules extends Message<UInt32Rules> {
|
|
|
721
548
|
*
|
|
722
549
|
* @generated from field: repeated uint32 not_in = 7;
|
|
723
550
|
*/
|
|
724
|
-
notIn: number[]
|
|
551
|
+
notIn: number[];
|
|
725
552
|
|
|
726
553
|
/**
|
|
727
554
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -729,55 +556,28 @@ export class UInt32Rules extends Message<UInt32Rules> {
|
|
|
729
556
|
*
|
|
730
557
|
* @generated from field: optional bool ignore_empty = 8;
|
|
731
558
|
*/
|
|
732
|
-
ignoreEmpty
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
742
|
-
{ no: 1, name: "const", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
743
|
-
{ no: 2, name: "lt", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
744
|
-
{ no: 3, name: "lte", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
745
|
-
{ no: 4, name: "gt", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
746
|
-
{ no: 5, name: "gte", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
747
|
-
{ no: 6, name: "in", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
748
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
749
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
750
|
-
]);
|
|
751
|
-
|
|
752
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UInt32Rules {
|
|
753
|
-
return new UInt32Rules().fromBinary(bytes, options);
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UInt32Rules {
|
|
757
|
-
return new UInt32Rules().fromJson(jsonValue, options);
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UInt32Rules {
|
|
761
|
-
return new UInt32Rules().fromJsonString(jsonString, options);
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
static equals(a: UInt32Rules | PlainMessage<UInt32Rules> | undefined, b: UInt32Rules | PlainMessage<UInt32Rules> | undefined): boolean {
|
|
765
|
-
return proto2.util.equals(UInt32Rules, a, b);
|
|
766
|
-
}
|
|
767
|
-
}
|
|
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);
|
|
768
568
|
|
|
769
569
|
/**
|
|
770
570
|
* UInt64Rules describes the constraints applied to `uint64` values
|
|
771
571
|
*
|
|
772
572
|
* @generated from message validate.UInt64Rules
|
|
773
573
|
*/
|
|
774
|
-
export
|
|
574
|
+
export type UInt64Rules = Message<"validate.UInt64Rules"> & {
|
|
775
575
|
/**
|
|
776
576
|
* Const specifies that this field must be exactly the specified value
|
|
777
577
|
*
|
|
778
578
|
* @generated from field: optional uint64 const = 1;
|
|
779
579
|
*/
|
|
780
|
-
const
|
|
580
|
+
const: bigint;
|
|
781
581
|
|
|
782
582
|
/**
|
|
783
583
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -785,7 +585,7 @@ export class UInt64Rules extends Message<UInt64Rules> {
|
|
|
785
585
|
*
|
|
786
586
|
* @generated from field: optional uint64 lt = 2;
|
|
787
587
|
*/
|
|
788
|
-
lt
|
|
588
|
+
lt: bigint;
|
|
789
589
|
|
|
790
590
|
/**
|
|
791
591
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -793,7 +593,7 @@ export class UInt64Rules extends Message<UInt64Rules> {
|
|
|
793
593
|
*
|
|
794
594
|
* @generated from field: optional uint64 lte = 3;
|
|
795
595
|
*/
|
|
796
|
-
lte
|
|
596
|
+
lte: bigint;
|
|
797
597
|
|
|
798
598
|
/**
|
|
799
599
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -802,7 +602,7 @@ export class UInt64Rules extends Message<UInt64Rules> {
|
|
|
802
602
|
*
|
|
803
603
|
* @generated from field: optional uint64 gt = 4;
|
|
804
604
|
*/
|
|
805
|
-
gt
|
|
605
|
+
gt: bigint;
|
|
806
606
|
|
|
807
607
|
/**
|
|
808
608
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -811,7 +611,7 @@ export class UInt64Rules extends Message<UInt64Rules> {
|
|
|
811
611
|
*
|
|
812
612
|
* @generated from field: optional uint64 gte = 5;
|
|
813
613
|
*/
|
|
814
|
-
gte
|
|
614
|
+
gte: bigint;
|
|
815
615
|
|
|
816
616
|
/**
|
|
817
617
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -819,7 +619,7 @@ export class UInt64Rules extends Message<UInt64Rules> {
|
|
|
819
619
|
*
|
|
820
620
|
* @generated from field: repeated uint64 in = 6;
|
|
821
621
|
*/
|
|
822
|
-
in: bigint[]
|
|
622
|
+
in: bigint[];
|
|
823
623
|
|
|
824
624
|
/**
|
|
825
625
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -827,7 +627,7 @@ export class UInt64Rules extends Message<UInt64Rules> {
|
|
|
827
627
|
*
|
|
828
628
|
* @generated from field: repeated uint64 not_in = 7;
|
|
829
629
|
*/
|
|
830
|
-
notIn: bigint[]
|
|
630
|
+
notIn: bigint[];
|
|
831
631
|
|
|
832
632
|
/**
|
|
833
633
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -835,55 +635,28 @@ export class UInt64Rules extends Message<UInt64Rules> {
|
|
|
835
635
|
*
|
|
836
636
|
* @generated from field: optional bool ignore_empty = 8;
|
|
837
637
|
*/
|
|
838
|
-
ignoreEmpty
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
848
|
-
{ no: 1, name: "const", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
849
|
-
{ no: 2, name: "lt", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
850
|
-
{ no: 3, name: "lte", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
851
|
-
{ no: 4, name: "gt", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
852
|
-
{ no: 5, name: "gte", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
853
|
-
{ no: 6, name: "in", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
854
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
855
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
856
|
-
]);
|
|
857
|
-
|
|
858
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UInt64Rules {
|
|
859
|
-
return new UInt64Rules().fromBinary(bytes, options);
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UInt64Rules {
|
|
863
|
-
return new UInt64Rules().fromJson(jsonValue, options);
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UInt64Rules {
|
|
867
|
-
return new UInt64Rules().fromJsonString(jsonString, options);
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
static equals(a: UInt64Rules | PlainMessage<UInt64Rules> | undefined, b: UInt64Rules | PlainMessage<UInt64Rules> | undefined): boolean {
|
|
871
|
-
return proto2.util.equals(UInt64Rules, a, b);
|
|
872
|
-
}
|
|
873
|
-
}
|
|
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);
|
|
874
647
|
|
|
875
648
|
/**
|
|
876
649
|
* SInt32Rules describes the constraints applied to `sint32` values
|
|
877
650
|
*
|
|
878
651
|
* @generated from message validate.SInt32Rules
|
|
879
652
|
*/
|
|
880
|
-
export
|
|
653
|
+
export type SInt32Rules = Message<"validate.SInt32Rules"> & {
|
|
881
654
|
/**
|
|
882
655
|
* Const specifies that this field must be exactly the specified value
|
|
883
656
|
*
|
|
884
657
|
* @generated from field: optional sint32 const = 1;
|
|
885
658
|
*/
|
|
886
|
-
const
|
|
659
|
+
const: number;
|
|
887
660
|
|
|
888
661
|
/**
|
|
889
662
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -891,7 +664,7 @@ export class SInt32Rules extends Message<SInt32Rules> {
|
|
|
891
664
|
*
|
|
892
665
|
* @generated from field: optional sint32 lt = 2;
|
|
893
666
|
*/
|
|
894
|
-
lt
|
|
667
|
+
lt: number;
|
|
895
668
|
|
|
896
669
|
/**
|
|
897
670
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -899,7 +672,7 @@ export class SInt32Rules extends Message<SInt32Rules> {
|
|
|
899
672
|
*
|
|
900
673
|
* @generated from field: optional sint32 lte = 3;
|
|
901
674
|
*/
|
|
902
|
-
lte
|
|
675
|
+
lte: number;
|
|
903
676
|
|
|
904
677
|
/**
|
|
905
678
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -908,7 +681,7 @@ export class SInt32Rules extends Message<SInt32Rules> {
|
|
|
908
681
|
*
|
|
909
682
|
* @generated from field: optional sint32 gt = 4;
|
|
910
683
|
*/
|
|
911
|
-
gt
|
|
684
|
+
gt: number;
|
|
912
685
|
|
|
913
686
|
/**
|
|
914
687
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -917,7 +690,7 @@ export class SInt32Rules extends Message<SInt32Rules> {
|
|
|
917
690
|
*
|
|
918
691
|
* @generated from field: optional sint32 gte = 5;
|
|
919
692
|
*/
|
|
920
|
-
gte
|
|
693
|
+
gte: number;
|
|
921
694
|
|
|
922
695
|
/**
|
|
923
696
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -925,7 +698,7 @@ export class SInt32Rules extends Message<SInt32Rules> {
|
|
|
925
698
|
*
|
|
926
699
|
* @generated from field: repeated sint32 in = 6;
|
|
927
700
|
*/
|
|
928
|
-
in: number[]
|
|
701
|
+
in: number[];
|
|
929
702
|
|
|
930
703
|
/**
|
|
931
704
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -933,7 +706,7 @@ export class SInt32Rules extends Message<SInt32Rules> {
|
|
|
933
706
|
*
|
|
934
707
|
* @generated from field: repeated sint32 not_in = 7;
|
|
935
708
|
*/
|
|
936
|
-
notIn: number[]
|
|
709
|
+
notIn: number[];
|
|
937
710
|
|
|
938
711
|
/**
|
|
939
712
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -941,55 +714,28 @@ export class SInt32Rules extends Message<SInt32Rules> {
|
|
|
941
714
|
*
|
|
942
715
|
* @generated from field: optional bool ignore_empty = 8;
|
|
943
716
|
*/
|
|
944
|
-
ignoreEmpty
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
954
|
-
{ no: 1, name: "const", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
955
|
-
{ no: 2, name: "lt", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
956
|
-
{ no: 3, name: "lte", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
957
|
-
{ no: 4, name: "gt", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
958
|
-
{ no: 5, name: "gte", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
959
|
-
{ no: 6, name: "in", kind: "scalar", T: 17 /* ScalarType.SINT32 */, repeated: true },
|
|
960
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 17 /* ScalarType.SINT32 */, repeated: true },
|
|
961
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
962
|
-
]);
|
|
963
|
-
|
|
964
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SInt32Rules {
|
|
965
|
-
return new SInt32Rules().fromBinary(bytes, options);
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SInt32Rules {
|
|
969
|
-
return new SInt32Rules().fromJson(jsonValue, options);
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SInt32Rules {
|
|
973
|
-
return new SInt32Rules().fromJsonString(jsonString, options);
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
static equals(a: SInt32Rules | PlainMessage<SInt32Rules> | undefined, b: SInt32Rules | PlainMessage<SInt32Rules> | undefined): boolean {
|
|
977
|
-
return proto2.util.equals(SInt32Rules, a, b);
|
|
978
|
-
}
|
|
979
|
-
}
|
|
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);
|
|
980
726
|
|
|
981
727
|
/**
|
|
982
728
|
* SInt64Rules describes the constraints applied to `sint64` values
|
|
983
729
|
*
|
|
984
730
|
* @generated from message validate.SInt64Rules
|
|
985
731
|
*/
|
|
986
|
-
export
|
|
732
|
+
export type SInt64Rules = Message<"validate.SInt64Rules"> & {
|
|
987
733
|
/**
|
|
988
734
|
* Const specifies that this field must be exactly the specified value
|
|
989
735
|
*
|
|
990
736
|
* @generated from field: optional sint64 const = 1;
|
|
991
737
|
*/
|
|
992
|
-
const
|
|
738
|
+
const: bigint;
|
|
993
739
|
|
|
994
740
|
/**
|
|
995
741
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -997,7 +743,7 @@ export class SInt64Rules extends Message<SInt64Rules> {
|
|
|
997
743
|
*
|
|
998
744
|
* @generated from field: optional sint64 lt = 2;
|
|
999
745
|
*/
|
|
1000
|
-
lt
|
|
746
|
+
lt: bigint;
|
|
1001
747
|
|
|
1002
748
|
/**
|
|
1003
749
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -1005,7 +751,7 @@ export class SInt64Rules extends Message<SInt64Rules> {
|
|
|
1005
751
|
*
|
|
1006
752
|
* @generated from field: optional sint64 lte = 3;
|
|
1007
753
|
*/
|
|
1008
|
-
lte
|
|
754
|
+
lte: bigint;
|
|
1009
755
|
|
|
1010
756
|
/**
|
|
1011
757
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -1014,7 +760,7 @@ export class SInt64Rules extends Message<SInt64Rules> {
|
|
|
1014
760
|
*
|
|
1015
761
|
* @generated from field: optional sint64 gt = 4;
|
|
1016
762
|
*/
|
|
1017
|
-
gt
|
|
763
|
+
gt: bigint;
|
|
1018
764
|
|
|
1019
765
|
/**
|
|
1020
766
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -1023,7 +769,7 @@ export class SInt64Rules extends Message<SInt64Rules> {
|
|
|
1023
769
|
*
|
|
1024
770
|
* @generated from field: optional sint64 gte = 5;
|
|
1025
771
|
*/
|
|
1026
|
-
gte
|
|
772
|
+
gte: bigint;
|
|
1027
773
|
|
|
1028
774
|
/**
|
|
1029
775
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -1031,7 +777,7 @@ export class SInt64Rules extends Message<SInt64Rules> {
|
|
|
1031
777
|
*
|
|
1032
778
|
* @generated from field: repeated sint64 in = 6;
|
|
1033
779
|
*/
|
|
1034
|
-
in: bigint[]
|
|
780
|
+
in: bigint[];
|
|
1035
781
|
|
|
1036
782
|
/**
|
|
1037
783
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -1039,7 +785,7 @@ export class SInt64Rules extends Message<SInt64Rules> {
|
|
|
1039
785
|
*
|
|
1040
786
|
* @generated from field: repeated sint64 not_in = 7;
|
|
1041
787
|
*/
|
|
1042
|
-
notIn: bigint[]
|
|
788
|
+
notIn: bigint[];
|
|
1043
789
|
|
|
1044
790
|
/**
|
|
1045
791
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -1047,55 +793,28 @@ export class SInt64Rules extends Message<SInt64Rules> {
|
|
|
1047
793
|
*
|
|
1048
794
|
* @generated from field: optional bool ignore_empty = 8;
|
|
1049
795
|
*/
|
|
1050
|
-
ignoreEmpty
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1060
|
-
{ no: 1, name: "const", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
1061
|
-
{ no: 2, name: "lt", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
1062
|
-
{ no: 3, name: "lte", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
1063
|
-
{ no: 4, name: "gt", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
1064
|
-
{ no: 5, name: "gte", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
1065
|
-
{ no: 6, name: "in", kind: "scalar", T: 18 /* ScalarType.SINT64 */, repeated: true },
|
|
1066
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 18 /* ScalarType.SINT64 */, repeated: true },
|
|
1067
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1068
|
-
]);
|
|
1069
|
-
|
|
1070
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SInt64Rules {
|
|
1071
|
-
return new SInt64Rules().fromBinary(bytes, options);
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SInt64Rules {
|
|
1075
|
-
return new SInt64Rules().fromJson(jsonValue, options);
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SInt64Rules {
|
|
1079
|
-
return new SInt64Rules().fromJsonString(jsonString, options);
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
static equals(a: SInt64Rules | PlainMessage<SInt64Rules> | undefined, b: SInt64Rules | PlainMessage<SInt64Rules> | undefined): boolean {
|
|
1083
|
-
return proto2.util.equals(SInt64Rules, a, b);
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
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);
|
|
1086
805
|
|
|
1087
806
|
/**
|
|
1088
807
|
* Fixed32Rules describes the constraints applied to `fixed32` values
|
|
1089
808
|
*
|
|
1090
809
|
* @generated from message validate.Fixed32Rules
|
|
1091
810
|
*/
|
|
1092
|
-
export
|
|
811
|
+
export type Fixed32Rules = Message<"validate.Fixed32Rules"> & {
|
|
1093
812
|
/**
|
|
1094
813
|
* Const specifies that this field must be exactly the specified value
|
|
1095
814
|
*
|
|
1096
815
|
* @generated from field: optional fixed32 const = 1;
|
|
1097
816
|
*/
|
|
1098
|
-
const
|
|
817
|
+
const: number;
|
|
1099
818
|
|
|
1100
819
|
/**
|
|
1101
820
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -1103,7 +822,7 @@ export class Fixed32Rules extends Message<Fixed32Rules> {
|
|
|
1103
822
|
*
|
|
1104
823
|
* @generated from field: optional fixed32 lt = 2;
|
|
1105
824
|
*/
|
|
1106
|
-
lt
|
|
825
|
+
lt: number;
|
|
1107
826
|
|
|
1108
827
|
/**
|
|
1109
828
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -1111,7 +830,7 @@ export class Fixed32Rules extends Message<Fixed32Rules> {
|
|
|
1111
830
|
*
|
|
1112
831
|
* @generated from field: optional fixed32 lte = 3;
|
|
1113
832
|
*/
|
|
1114
|
-
lte
|
|
833
|
+
lte: number;
|
|
1115
834
|
|
|
1116
835
|
/**
|
|
1117
836
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -1120,7 +839,7 @@ export class Fixed32Rules extends Message<Fixed32Rules> {
|
|
|
1120
839
|
*
|
|
1121
840
|
* @generated from field: optional fixed32 gt = 4;
|
|
1122
841
|
*/
|
|
1123
|
-
gt
|
|
842
|
+
gt: number;
|
|
1124
843
|
|
|
1125
844
|
/**
|
|
1126
845
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -1129,7 +848,7 @@ export class Fixed32Rules extends Message<Fixed32Rules> {
|
|
|
1129
848
|
*
|
|
1130
849
|
* @generated from field: optional fixed32 gte = 5;
|
|
1131
850
|
*/
|
|
1132
|
-
gte
|
|
851
|
+
gte: number;
|
|
1133
852
|
|
|
1134
853
|
/**
|
|
1135
854
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -1137,7 +856,7 @@ export class Fixed32Rules extends Message<Fixed32Rules> {
|
|
|
1137
856
|
*
|
|
1138
857
|
* @generated from field: repeated fixed32 in = 6;
|
|
1139
858
|
*/
|
|
1140
|
-
in: number[]
|
|
859
|
+
in: number[];
|
|
1141
860
|
|
|
1142
861
|
/**
|
|
1143
862
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -1145,7 +864,7 @@ export class Fixed32Rules extends Message<Fixed32Rules> {
|
|
|
1145
864
|
*
|
|
1146
865
|
* @generated from field: repeated fixed32 not_in = 7;
|
|
1147
866
|
*/
|
|
1148
|
-
notIn: number[]
|
|
867
|
+
notIn: number[];
|
|
1149
868
|
|
|
1150
869
|
/**
|
|
1151
870
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -1153,55 +872,28 @@ export class Fixed32Rules extends Message<Fixed32Rules> {
|
|
|
1153
872
|
*
|
|
1154
873
|
* @generated from field: optional bool ignore_empty = 8;
|
|
1155
874
|
*/
|
|
1156
|
-
ignoreEmpty
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1166
|
-
{ no: 1, name: "const", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
1167
|
-
{ no: 2, name: "lt", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
1168
|
-
{ no: 3, name: "lte", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
1169
|
-
{ no: 4, name: "gt", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
1170
|
-
{ no: 5, name: "gte", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
1171
|
-
{ no: 6, name: "in", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, repeated: true },
|
|
1172
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, repeated: true },
|
|
1173
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1174
|
-
]);
|
|
1175
|
-
|
|
1176
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Fixed32Rules {
|
|
1177
|
-
return new Fixed32Rules().fromBinary(bytes, options);
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Fixed32Rules {
|
|
1181
|
-
return new Fixed32Rules().fromJson(jsonValue, options);
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Fixed32Rules {
|
|
1185
|
-
return new Fixed32Rules().fromJsonString(jsonString, options);
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
static equals(a: Fixed32Rules | PlainMessage<Fixed32Rules> | undefined, b: Fixed32Rules | PlainMessage<Fixed32Rules> | undefined): boolean {
|
|
1189
|
-
return proto2.util.equals(Fixed32Rules, a, b);
|
|
1190
|
-
}
|
|
1191
|
-
}
|
|
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);
|
|
1192
884
|
|
|
1193
885
|
/**
|
|
1194
886
|
* Fixed64Rules describes the constraints applied to `fixed64` values
|
|
1195
887
|
*
|
|
1196
888
|
* @generated from message validate.Fixed64Rules
|
|
1197
889
|
*/
|
|
1198
|
-
export
|
|
890
|
+
export type Fixed64Rules = Message<"validate.Fixed64Rules"> & {
|
|
1199
891
|
/**
|
|
1200
892
|
* Const specifies that this field must be exactly the specified value
|
|
1201
893
|
*
|
|
1202
894
|
* @generated from field: optional fixed64 const = 1;
|
|
1203
895
|
*/
|
|
1204
|
-
const
|
|
896
|
+
const: bigint;
|
|
1205
897
|
|
|
1206
898
|
/**
|
|
1207
899
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -1209,7 +901,7 @@ export class Fixed64Rules extends Message<Fixed64Rules> {
|
|
|
1209
901
|
*
|
|
1210
902
|
* @generated from field: optional fixed64 lt = 2;
|
|
1211
903
|
*/
|
|
1212
|
-
lt
|
|
904
|
+
lt: bigint;
|
|
1213
905
|
|
|
1214
906
|
/**
|
|
1215
907
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -1217,7 +909,7 @@ export class Fixed64Rules extends Message<Fixed64Rules> {
|
|
|
1217
909
|
*
|
|
1218
910
|
* @generated from field: optional fixed64 lte = 3;
|
|
1219
911
|
*/
|
|
1220
|
-
lte
|
|
912
|
+
lte: bigint;
|
|
1221
913
|
|
|
1222
914
|
/**
|
|
1223
915
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -1226,7 +918,7 @@ export class Fixed64Rules extends Message<Fixed64Rules> {
|
|
|
1226
918
|
*
|
|
1227
919
|
* @generated from field: optional fixed64 gt = 4;
|
|
1228
920
|
*/
|
|
1229
|
-
gt
|
|
921
|
+
gt: bigint;
|
|
1230
922
|
|
|
1231
923
|
/**
|
|
1232
924
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -1235,7 +927,7 @@ export class Fixed64Rules extends Message<Fixed64Rules> {
|
|
|
1235
927
|
*
|
|
1236
928
|
* @generated from field: optional fixed64 gte = 5;
|
|
1237
929
|
*/
|
|
1238
|
-
gte
|
|
930
|
+
gte: bigint;
|
|
1239
931
|
|
|
1240
932
|
/**
|
|
1241
933
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -1243,7 +935,7 @@ export class Fixed64Rules extends Message<Fixed64Rules> {
|
|
|
1243
935
|
*
|
|
1244
936
|
* @generated from field: repeated fixed64 in = 6;
|
|
1245
937
|
*/
|
|
1246
|
-
in: bigint[]
|
|
938
|
+
in: bigint[];
|
|
1247
939
|
|
|
1248
940
|
/**
|
|
1249
941
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -1251,7 +943,7 @@ export class Fixed64Rules extends Message<Fixed64Rules> {
|
|
|
1251
943
|
*
|
|
1252
944
|
* @generated from field: repeated fixed64 not_in = 7;
|
|
1253
945
|
*/
|
|
1254
|
-
notIn: bigint[]
|
|
946
|
+
notIn: bigint[];
|
|
1255
947
|
|
|
1256
948
|
/**
|
|
1257
949
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -1259,55 +951,28 @@ export class Fixed64Rules extends Message<Fixed64Rules> {
|
|
|
1259
951
|
*
|
|
1260
952
|
* @generated from field: optional bool ignore_empty = 8;
|
|
1261
953
|
*/
|
|
1262
|
-
ignoreEmpty
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1272
|
-
{ no: 1, name: "const", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1273
|
-
{ no: 2, name: "lt", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1274
|
-
{ no: 3, name: "lte", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1275
|
-
{ no: 4, name: "gt", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1276
|
-
{ no: 5, name: "gte", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1277
|
-
{ no: 6, name: "in", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, repeated: true },
|
|
1278
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, repeated: true },
|
|
1279
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1280
|
-
]);
|
|
1281
|
-
|
|
1282
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Fixed64Rules {
|
|
1283
|
-
return new Fixed64Rules().fromBinary(bytes, options);
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Fixed64Rules {
|
|
1287
|
-
return new Fixed64Rules().fromJson(jsonValue, options);
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Fixed64Rules {
|
|
1291
|
-
return new Fixed64Rules().fromJsonString(jsonString, options);
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
static equals(a: Fixed64Rules | PlainMessage<Fixed64Rules> | undefined, b: Fixed64Rules | PlainMessage<Fixed64Rules> | undefined): boolean {
|
|
1295
|
-
return proto2.util.equals(Fixed64Rules, a, b);
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
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);
|
|
1298
963
|
|
|
1299
964
|
/**
|
|
1300
965
|
* SFixed32Rules describes the constraints applied to `sfixed32` values
|
|
1301
966
|
*
|
|
1302
967
|
* @generated from message validate.SFixed32Rules
|
|
1303
968
|
*/
|
|
1304
|
-
export
|
|
969
|
+
export type SFixed32Rules = Message<"validate.SFixed32Rules"> & {
|
|
1305
970
|
/**
|
|
1306
971
|
* Const specifies that this field must be exactly the specified value
|
|
1307
972
|
*
|
|
1308
973
|
* @generated from field: optional sfixed32 const = 1;
|
|
1309
974
|
*/
|
|
1310
|
-
const
|
|
975
|
+
const: number;
|
|
1311
976
|
|
|
1312
977
|
/**
|
|
1313
978
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -1315,7 +980,7 @@ export class SFixed32Rules extends Message<SFixed32Rules> {
|
|
|
1315
980
|
*
|
|
1316
981
|
* @generated from field: optional sfixed32 lt = 2;
|
|
1317
982
|
*/
|
|
1318
|
-
lt
|
|
983
|
+
lt: number;
|
|
1319
984
|
|
|
1320
985
|
/**
|
|
1321
986
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -1323,7 +988,7 @@ export class SFixed32Rules extends Message<SFixed32Rules> {
|
|
|
1323
988
|
*
|
|
1324
989
|
* @generated from field: optional sfixed32 lte = 3;
|
|
1325
990
|
*/
|
|
1326
|
-
lte
|
|
991
|
+
lte: number;
|
|
1327
992
|
|
|
1328
993
|
/**
|
|
1329
994
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -1332,7 +997,7 @@ export class SFixed32Rules extends Message<SFixed32Rules> {
|
|
|
1332
997
|
*
|
|
1333
998
|
* @generated from field: optional sfixed32 gt = 4;
|
|
1334
999
|
*/
|
|
1335
|
-
gt
|
|
1000
|
+
gt: number;
|
|
1336
1001
|
|
|
1337
1002
|
/**
|
|
1338
1003
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -1341,7 +1006,7 @@ export class SFixed32Rules extends Message<SFixed32Rules> {
|
|
|
1341
1006
|
*
|
|
1342
1007
|
* @generated from field: optional sfixed32 gte = 5;
|
|
1343
1008
|
*/
|
|
1344
|
-
gte
|
|
1009
|
+
gte: number;
|
|
1345
1010
|
|
|
1346
1011
|
/**
|
|
1347
1012
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -1349,7 +1014,7 @@ export class SFixed32Rules extends Message<SFixed32Rules> {
|
|
|
1349
1014
|
*
|
|
1350
1015
|
* @generated from field: repeated sfixed32 in = 6;
|
|
1351
1016
|
*/
|
|
1352
|
-
in: number[]
|
|
1017
|
+
in: number[];
|
|
1353
1018
|
|
|
1354
1019
|
/**
|
|
1355
1020
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -1357,7 +1022,7 @@ export class SFixed32Rules extends Message<SFixed32Rules> {
|
|
|
1357
1022
|
*
|
|
1358
1023
|
* @generated from field: repeated sfixed32 not_in = 7;
|
|
1359
1024
|
*/
|
|
1360
|
-
notIn: number[]
|
|
1025
|
+
notIn: number[];
|
|
1361
1026
|
|
|
1362
1027
|
/**
|
|
1363
1028
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -1365,55 +1030,28 @@ export class SFixed32Rules extends Message<SFixed32Rules> {
|
|
|
1365
1030
|
*
|
|
1366
1031
|
* @generated from field: optional bool ignore_empty = 8;
|
|
1367
1032
|
*/
|
|
1368
|
-
ignoreEmpty
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1378
|
-
{ no: 1, name: "const", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1379
|
-
{ no: 2, name: "lt", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1380
|
-
{ no: 3, name: "lte", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1381
|
-
{ no: 4, name: "gt", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1382
|
-
{ no: 5, name: "gte", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1383
|
-
{ no: 6, name: "in", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, repeated: true },
|
|
1384
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, repeated: true },
|
|
1385
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1386
|
-
]);
|
|
1387
|
-
|
|
1388
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SFixed32Rules {
|
|
1389
|
-
return new SFixed32Rules().fromBinary(bytes, options);
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SFixed32Rules {
|
|
1393
|
-
return new SFixed32Rules().fromJson(jsonValue, options);
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SFixed32Rules {
|
|
1397
|
-
return new SFixed32Rules().fromJsonString(jsonString, options);
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
static equals(a: SFixed32Rules | PlainMessage<SFixed32Rules> | undefined, b: SFixed32Rules | PlainMessage<SFixed32Rules> | undefined): boolean {
|
|
1401
|
-
return proto2.util.equals(SFixed32Rules, a, b);
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
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);
|
|
1404
1042
|
|
|
1405
1043
|
/**
|
|
1406
1044
|
* SFixed64Rules describes the constraints applied to `sfixed64` values
|
|
1407
1045
|
*
|
|
1408
1046
|
* @generated from message validate.SFixed64Rules
|
|
1409
1047
|
*/
|
|
1410
|
-
export
|
|
1048
|
+
export type SFixed64Rules = Message<"validate.SFixed64Rules"> & {
|
|
1411
1049
|
/**
|
|
1412
1050
|
* Const specifies that this field must be exactly the specified value
|
|
1413
1051
|
*
|
|
1414
1052
|
* @generated from field: optional sfixed64 const = 1;
|
|
1415
1053
|
*/
|
|
1416
|
-
const
|
|
1054
|
+
const: bigint;
|
|
1417
1055
|
|
|
1418
1056
|
/**
|
|
1419
1057
|
* Lt specifies that this field must be less than the specified value,
|
|
@@ -1421,7 +1059,7 @@ export class SFixed64Rules extends Message<SFixed64Rules> {
|
|
|
1421
1059
|
*
|
|
1422
1060
|
* @generated from field: optional sfixed64 lt = 2;
|
|
1423
1061
|
*/
|
|
1424
|
-
lt
|
|
1062
|
+
lt: bigint;
|
|
1425
1063
|
|
|
1426
1064
|
/**
|
|
1427
1065
|
* Lte specifies that this field must be less than or equal to the
|
|
@@ -1429,7 +1067,7 @@ export class SFixed64Rules extends Message<SFixed64Rules> {
|
|
|
1429
1067
|
*
|
|
1430
1068
|
* @generated from field: optional sfixed64 lte = 3;
|
|
1431
1069
|
*/
|
|
1432
|
-
lte
|
|
1070
|
+
lte: bigint;
|
|
1433
1071
|
|
|
1434
1072
|
/**
|
|
1435
1073
|
* Gt specifies that this field must be greater than the specified value,
|
|
@@ -1438,7 +1076,7 @@ export class SFixed64Rules extends Message<SFixed64Rules> {
|
|
|
1438
1076
|
*
|
|
1439
1077
|
* @generated from field: optional sfixed64 gt = 4;
|
|
1440
1078
|
*/
|
|
1441
|
-
gt
|
|
1079
|
+
gt: bigint;
|
|
1442
1080
|
|
|
1443
1081
|
/**
|
|
1444
1082
|
* Gte specifies that this field must be greater than or equal to the
|
|
@@ -1447,7 +1085,7 @@ export class SFixed64Rules extends Message<SFixed64Rules> {
|
|
|
1447
1085
|
*
|
|
1448
1086
|
* @generated from field: optional sfixed64 gte = 5;
|
|
1449
1087
|
*/
|
|
1450
|
-
gte
|
|
1088
|
+
gte: bigint;
|
|
1451
1089
|
|
|
1452
1090
|
/**
|
|
1453
1091
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -1455,7 +1093,7 @@ export class SFixed64Rules extends Message<SFixed64Rules> {
|
|
|
1455
1093
|
*
|
|
1456
1094
|
* @generated from field: repeated sfixed64 in = 6;
|
|
1457
1095
|
*/
|
|
1458
|
-
in: bigint[]
|
|
1096
|
+
in: bigint[];
|
|
1459
1097
|
|
|
1460
1098
|
/**
|
|
1461
1099
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -1463,7 +1101,7 @@ export class SFixed64Rules extends Message<SFixed64Rules> {
|
|
|
1463
1101
|
*
|
|
1464
1102
|
* @generated from field: repeated sfixed64 not_in = 7;
|
|
1465
1103
|
*/
|
|
1466
|
-
notIn: bigint[]
|
|
1104
|
+
notIn: bigint[];
|
|
1467
1105
|
|
|
1468
1106
|
/**
|
|
1469
1107
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -1471,96 +1109,49 @@ export class SFixed64Rules extends Message<SFixed64Rules> {
|
|
|
1471
1109
|
*
|
|
1472
1110
|
* @generated from field: optional bool ignore_empty = 8;
|
|
1473
1111
|
*/
|
|
1474
|
-
ignoreEmpty
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1484
|
-
{ no: 1, name: "const", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1485
|
-
{ no: 2, name: "lt", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1486
|
-
{ no: 3, name: "lte", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1487
|
-
{ no: 4, name: "gt", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1488
|
-
{ no: 5, name: "gte", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1489
|
-
{ no: 6, name: "in", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, repeated: true },
|
|
1490
|
-
{ no: 7, name: "not_in", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, repeated: true },
|
|
1491
|
-
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1492
|
-
]);
|
|
1493
|
-
|
|
1494
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SFixed64Rules {
|
|
1495
|
-
return new SFixed64Rules().fromBinary(bytes, options);
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SFixed64Rules {
|
|
1499
|
-
return new SFixed64Rules().fromJson(jsonValue, options);
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SFixed64Rules {
|
|
1503
|
-
return new SFixed64Rules().fromJsonString(jsonString, options);
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
static equals(a: SFixed64Rules | PlainMessage<SFixed64Rules> | undefined, b: SFixed64Rules | PlainMessage<SFixed64Rules> | undefined): boolean {
|
|
1507
|
-
return proto2.util.equals(SFixed64Rules, a, b);
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
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);
|
|
1510
1121
|
|
|
1511
1122
|
/**
|
|
1512
1123
|
* BoolRules describes the constraints applied to `bool` values
|
|
1513
1124
|
*
|
|
1514
1125
|
* @generated from message validate.BoolRules
|
|
1515
1126
|
*/
|
|
1516
|
-
export
|
|
1127
|
+
export type BoolRules = Message<"validate.BoolRules"> & {
|
|
1517
1128
|
/**
|
|
1518
1129
|
* Const specifies that this field must be exactly the specified value
|
|
1519
1130
|
*
|
|
1520
1131
|
* @generated from field: optional bool const = 1;
|
|
1521
1132
|
*/
|
|
1522
|
-
const
|
|
1523
|
-
|
|
1524
|
-
constructor(data?: PartialMessage<BoolRules>) {
|
|
1525
|
-
super();
|
|
1526
|
-
proto2.util.initPartial(data, this);
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1530
|
-
static readonly typeName = "validate.BoolRules";
|
|
1531
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1532
|
-
{ no: 1, name: "const", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1533
|
-
]);
|
|
1133
|
+
const: boolean;
|
|
1134
|
+
};
|
|
1534
1135
|
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BoolRules {
|
|
1544
|
-
return new BoolRules().fromJsonString(jsonString, options);
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
static equals(a: BoolRules | PlainMessage<BoolRules> | undefined, b: BoolRules | PlainMessage<BoolRules> | undefined): boolean {
|
|
1548
|
-
return proto2.util.equals(BoolRules, a, b);
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
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);
|
|
1551
1142
|
|
|
1552
1143
|
/**
|
|
1553
1144
|
* StringRules describe the constraints applied to `string` values
|
|
1554
1145
|
*
|
|
1555
1146
|
* @generated from message validate.StringRules
|
|
1556
1147
|
*/
|
|
1557
|
-
export
|
|
1148
|
+
export type StringRules = Message<"validate.StringRules"> & {
|
|
1558
1149
|
/**
|
|
1559
1150
|
* Const specifies that this field must be exactly the specified value
|
|
1560
1151
|
*
|
|
1561
1152
|
* @generated from field: optional string const = 1;
|
|
1562
1153
|
*/
|
|
1563
|
-
const
|
|
1154
|
+
const: string;
|
|
1564
1155
|
|
|
1565
1156
|
/**
|
|
1566
1157
|
* Len specifies that this field must be the specified number of
|
|
@@ -1569,7 +1160,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1569
1160
|
*
|
|
1570
1161
|
* @generated from field: optional uint64 len = 19;
|
|
1571
1162
|
*/
|
|
1572
|
-
len
|
|
1163
|
+
len: bigint;
|
|
1573
1164
|
|
|
1574
1165
|
/**
|
|
1575
1166
|
* MinLen specifies that this field must be the specified number of
|
|
@@ -1578,7 +1169,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1578
1169
|
*
|
|
1579
1170
|
* @generated from field: optional uint64 min_len = 2;
|
|
1580
1171
|
*/
|
|
1581
|
-
minLen
|
|
1172
|
+
minLen: bigint;
|
|
1582
1173
|
|
|
1583
1174
|
/**
|
|
1584
1175
|
* MaxLen specifies that this field must be the specified number of
|
|
@@ -1587,14 +1178,14 @@ export class StringRules extends Message<StringRules> {
|
|
|
1587
1178
|
*
|
|
1588
1179
|
* @generated from field: optional uint64 max_len = 3;
|
|
1589
1180
|
*/
|
|
1590
|
-
maxLen
|
|
1181
|
+
maxLen: bigint;
|
|
1591
1182
|
|
|
1592
1183
|
/**
|
|
1593
1184
|
* LenBytes specifies that this field must be the specified number of bytes
|
|
1594
1185
|
*
|
|
1595
1186
|
* @generated from field: optional uint64 len_bytes = 20;
|
|
1596
1187
|
*/
|
|
1597
|
-
lenBytes
|
|
1188
|
+
lenBytes: bigint;
|
|
1598
1189
|
|
|
1599
1190
|
/**
|
|
1600
1191
|
* MinBytes specifies that this field must be the specified number of bytes
|
|
@@ -1602,7 +1193,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1602
1193
|
*
|
|
1603
1194
|
* @generated from field: optional uint64 min_bytes = 4;
|
|
1604
1195
|
*/
|
|
1605
|
-
minBytes
|
|
1196
|
+
minBytes: bigint;
|
|
1606
1197
|
|
|
1607
1198
|
/**
|
|
1608
1199
|
* MaxBytes specifies that this field must be the specified number of bytes
|
|
@@ -1610,7 +1201,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1610
1201
|
*
|
|
1611
1202
|
* @generated from field: optional uint64 max_bytes = 5;
|
|
1612
1203
|
*/
|
|
1613
|
-
maxBytes
|
|
1204
|
+
maxBytes: bigint;
|
|
1614
1205
|
|
|
1615
1206
|
/**
|
|
1616
1207
|
* Pattern specifes that this field must match against the specified
|
|
@@ -1619,7 +1210,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1619
1210
|
*
|
|
1620
1211
|
* @generated from field: optional string pattern = 6;
|
|
1621
1212
|
*/
|
|
1622
|
-
pattern
|
|
1213
|
+
pattern: string;
|
|
1623
1214
|
|
|
1624
1215
|
/**
|
|
1625
1216
|
* Prefix specifies that this field must have the specified substring at
|
|
@@ -1627,7 +1218,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1627
1218
|
*
|
|
1628
1219
|
* @generated from field: optional string prefix = 7;
|
|
1629
1220
|
*/
|
|
1630
|
-
prefix
|
|
1221
|
+
prefix: string;
|
|
1631
1222
|
|
|
1632
1223
|
/**
|
|
1633
1224
|
* Suffix specifies that this field must have the specified substring at
|
|
@@ -1635,7 +1226,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1635
1226
|
*
|
|
1636
1227
|
* @generated from field: optional string suffix = 8;
|
|
1637
1228
|
*/
|
|
1638
|
-
suffix
|
|
1229
|
+
suffix: string;
|
|
1639
1230
|
|
|
1640
1231
|
/**
|
|
1641
1232
|
* Contains specifies that this field must have the specified substring
|
|
@@ -1643,7 +1234,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1643
1234
|
*
|
|
1644
1235
|
* @generated from field: optional string contains = 9;
|
|
1645
1236
|
*/
|
|
1646
|
-
contains
|
|
1237
|
+
contains: string;
|
|
1647
1238
|
|
|
1648
1239
|
/**
|
|
1649
1240
|
* NotContains specifies that this field cannot have the specified substring
|
|
@@ -1651,7 +1242,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1651
1242
|
*
|
|
1652
1243
|
* @generated from field: optional string not_contains = 23;
|
|
1653
1244
|
*/
|
|
1654
|
-
notContains
|
|
1245
|
+
notContains: string;
|
|
1655
1246
|
|
|
1656
1247
|
/**
|
|
1657
1248
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -1659,7 +1250,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1659
1250
|
*
|
|
1660
1251
|
* @generated from field: repeated string in = 10;
|
|
1661
1252
|
*/
|
|
1662
|
-
in: string[]
|
|
1253
|
+
in: string[];
|
|
1663
1254
|
|
|
1664
1255
|
/**
|
|
1665
1256
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -1667,7 +1258,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1667
1258
|
*
|
|
1668
1259
|
* @generated from field: repeated string not_in = 11;
|
|
1669
1260
|
*/
|
|
1670
|
-
notIn: string[]
|
|
1261
|
+
notIn: string[];
|
|
1671
1262
|
|
|
1672
1263
|
/**
|
|
1673
1264
|
* WellKnown rules provide advanced constraints against common string
|
|
@@ -1765,7 +1356,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1765
1356
|
*/
|
|
1766
1357
|
value: KnownRegex;
|
|
1767
1358
|
case: "wellKnownRegex";
|
|
1768
|
-
} | { case: undefined; value?: undefined }
|
|
1359
|
+
} | { case: undefined; value?: undefined };
|
|
1769
1360
|
|
|
1770
1361
|
/**
|
|
1771
1362
|
* This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable
|
|
@@ -1776,7 +1367,7 @@ export class StringRules extends Message<StringRules> {
|
|
|
1776
1367
|
*
|
|
1777
1368
|
* @generated from field: optional bool strict = 25 [default = true];
|
|
1778
1369
|
*/
|
|
1779
|
-
strict
|
|
1370
|
+
strict: boolean;
|
|
1780
1371
|
|
|
1781
1372
|
/**
|
|
1782
1373
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -1784,80 +1375,35 @@ export class StringRules extends Message<StringRules> {
|
|
|
1784
1375
|
*
|
|
1785
1376
|
* @generated from field: optional bool ignore_empty = 26;
|
|
1786
1377
|
*/
|
|
1787
|
-
ignoreEmpty
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1797
|
-
{ no: 1, name: "const", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1798
|
-
{ no: 19, name: "len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1799
|
-
{ no: 2, name: "min_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1800
|
-
{ no: 3, name: "max_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1801
|
-
{ no: 20, name: "len_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1802
|
-
{ no: 4, name: "min_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1803
|
-
{ no: 5, name: "max_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1804
|
-
{ no: 6, name: "pattern", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1805
|
-
{ no: 7, name: "prefix", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1806
|
-
{ no: 8, name: "suffix", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1807
|
-
{ no: 9, name: "contains", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1808
|
-
{ no: 23, name: "not_contains", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1809
|
-
{ no: 10, name: "in", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1810
|
-
{ no: 11, name: "not_in", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1811
|
-
{ no: 12, name: "email", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1812
|
-
{ no: 13, name: "hostname", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1813
|
-
{ no: 14, name: "ip", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1814
|
-
{ no: 15, name: "ipv4", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1815
|
-
{ no: 16, name: "ipv6", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1816
|
-
{ no: 17, name: "uri", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1817
|
-
{ no: 18, name: "uri_ref", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1818
|
-
{ no: 21, name: "address", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1819
|
-
{ no: 22, name: "uuid", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1820
|
-
{ no: 24, name: "well_known_regex", kind: "enum", T: proto2.getEnumType(KnownRegex), oneof: "well_known" },
|
|
1821
|
-
{ no: 25, name: "strict", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: true },
|
|
1822
|
-
{ no: 26, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1823
|
-
]);
|
|
1824
|
-
|
|
1825
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StringRules {
|
|
1826
|
-
return new StringRules().fromBinary(bytes, options);
|
|
1827
|
-
}
|
|
1828
|
-
|
|
1829
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StringRules {
|
|
1830
|
-
return new StringRules().fromJson(jsonValue, options);
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StringRules {
|
|
1834
|
-
return new StringRules().fromJsonString(jsonString, options);
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
static equals(a: StringRules | PlainMessage<StringRules> | undefined, b: StringRules | PlainMessage<StringRules> | undefined): boolean {
|
|
1838
|
-
return proto2.util.equals(StringRules, a, b);
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
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);
|
|
1841
1387
|
|
|
1842
1388
|
/**
|
|
1843
1389
|
* BytesRules describe the constraints applied to `bytes` values
|
|
1844
1390
|
*
|
|
1845
1391
|
* @generated from message validate.BytesRules
|
|
1846
1392
|
*/
|
|
1847
|
-
export
|
|
1393
|
+
export type BytesRules = Message<"validate.BytesRules"> & {
|
|
1848
1394
|
/**
|
|
1849
1395
|
* Const specifies that this field must be exactly the specified value
|
|
1850
1396
|
*
|
|
1851
1397
|
* @generated from field: optional bytes const = 1;
|
|
1852
1398
|
*/
|
|
1853
|
-
const
|
|
1399
|
+
const: Uint8Array;
|
|
1854
1400
|
|
|
1855
1401
|
/**
|
|
1856
1402
|
* Len specifies that this field must be the specified number of bytes
|
|
1857
1403
|
*
|
|
1858
1404
|
* @generated from field: optional uint64 len = 13;
|
|
1859
1405
|
*/
|
|
1860
|
-
len
|
|
1406
|
+
len: bigint;
|
|
1861
1407
|
|
|
1862
1408
|
/**
|
|
1863
1409
|
* MinLen specifies that this field must be the specified number of bytes
|
|
@@ -1865,7 +1411,7 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1865
1411
|
*
|
|
1866
1412
|
* @generated from field: optional uint64 min_len = 2;
|
|
1867
1413
|
*/
|
|
1868
|
-
minLen
|
|
1414
|
+
minLen: bigint;
|
|
1869
1415
|
|
|
1870
1416
|
/**
|
|
1871
1417
|
* MaxLen specifies that this field must be the specified number of bytes
|
|
@@ -1873,7 +1419,7 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1873
1419
|
*
|
|
1874
1420
|
* @generated from field: optional uint64 max_len = 3;
|
|
1875
1421
|
*/
|
|
1876
|
-
maxLen
|
|
1422
|
+
maxLen: bigint;
|
|
1877
1423
|
|
|
1878
1424
|
/**
|
|
1879
1425
|
* Pattern specifes that this field must match against the specified
|
|
@@ -1882,7 +1428,7 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1882
1428
|
*
|
|
1883
1429
|
* @generated from field: optional string pattern = 4;
|
|
1884
1430
|
*/
|
|
1885
|
-
pattern
|
|
1431
|
+
pattern: string;
|
|
1886
1432
|
|
|
1887
1433
|
/**
|
|
1888
1434
|
* Prefix specifies that this field must have the specified bytes at the
|
|
@@ -1890,7 +1436,7 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1890
1436
|
*
|
|
1891
1437
|
* @generated from field: optional bytes prefix = 5;
|
|
1892
1438
|
*/
|
|
1893
|
-
prefix
|
|
1439
|
+
prefix: Uint8Array;
|
|
1894
1440
|
|
|
1895
1441
|
/**
|
|
1896
1442
|
* Suffix specifies that this field must have the specified bytes at the
|
|
@@ -1898,7 +1444,7 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1898
1444
|
*
|
|
1899
1445
|
* @generated from field: optional bytes suffix = 6;
|
|
1900
1446
|
*/
|
|
1901
|
-
suffix
|
|
1447
|
+
suffix: Uint8Array;
|
|
1902
1448
|
|
|
1903
1449
|
/**
|
|
1904
1450
|
* Contains specifies that this field must have the specified bytes
|
|
@@ -1906,7 +1452,7 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1906
1452
|
*
|
|
1907
1453
|
* @generated from field: optional bytes contains = 7;
|
|
1908
1454
|
*/
|
|
1909
|
-
contains
|
|
1455
|
+
contains: Uint8Array;
|
|
1910
1456
|
|
|
1911
1457
|
/**
|
|
1912
1458
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -1914,7 +1460,7 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1914
1460
|
*
|
|
1915
1461
|
* @generated from field: repeated bytes in = 8;
|
|
1916
1462
|
*/
|
|
1917
|
-
in: Uint8Array[]
|
|
1463
|
+
in: Uint8Array[];
|
|
1918
1464
|
|
|
1919
1465
|
/**
|
|
1920
1466
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -1922,7 +1468,7 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1922
1468
|
*
|
|
1923
1469
|
* @generated from field: repeated bytes not_in = 9;
|
|
1924
1470
|
*/
|
|
1925
|
-
notIn: Uint8Array[]
|
|
1471
|
+
notIn: Uint8Array[];
|
|
1926
1472
|
|
|
1927
1473
|
/**
|
|
1928
1474
|
* WellKnown rules provide advanced constraints against common byte
|
|
@@ -1957,7 +1503,7 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1957
1503
|
*/
|
|
1958
1504
|
value: boolean;
|
|
1959
1505
|
case: "ipv6";
|
|
1960
|
-
} | { case: undefined; value?: undefined }
|
|
1506
|
+
} | { case: undefined; value?: undefined };
|
|
1961
1507
|
|
|
1962
1508
|
/**
|
|
1963
1509
|
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
@@ -1965,61 +1511,28 @@ export class BytesRules extends Message<BytesRules> {
|
|
|
1965
1511
|
*
|
|
1966
1512
|
* @generated from field: optional bool ignore_empty = 14;
|
|
1967
1513
|
*/
|
|
1968
|
-
ignoreEmpty
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1978
|
-
{ no: 1, name: "const", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
1979
|
-
{ no: 13, name: "len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1980
|
-
{ no: 2, name: "min_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1981
|
-
{ no: 3, name: "max_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1982
|
-
{ no: 4, name: "pattern", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1983
|
-
{ no: 5, name: "prefix", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
1984
|
-
{ no: 6, name: "suffix", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
1985
|
-
{ no: 7, name: "contains", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
1986
|
-
{ no: 8, name: "in", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
|
|
1987
|
-
{ no: 9, name: "not_in", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
|
|
1988
|
-
{ no: 10, name: "ip", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1989
|
-
{ no: 11, name: "ipv4", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1990
|
-
{ no: 12, name: "ipv6", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1991
|
-
{ no: 14, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1992
|
-
]);
|
|
1993
|
-
|
|
1994
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BytesRules {
|
|
1995
|
-
return new BytesRules().fromBinary(bytes, options);
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BytesRules {
|
|
1999
|
-
return new BytesRules().fromJson(jsonValue, options);
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BytesRules {
|
|
2003
|
-
return new BytesRules().fromJsonString(jsonString, options);
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
static equals(a: BytesRules | PlainMessage<BytesRules> | undefined, b: BytesRules | PlainMessage<BytesRules> | undefined): boolean {
|
|
2007
|
-
return proto2.util.equals(BytesRules, a, b);
|
|
2008
|
-
}
|
|
2009
|
-
}
|
|
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);
|
|
2010
1523
|
|
|
2011
1524
|
/**
|
|
2012
1525
|
* EnumRules describe the constraints applied to enum values
|
|
2013
1526
|
*
|
|
2014
1527
|
* @generated from message validate.EnumRules
|
|
2015
1528
|
*/
|
|
2016
|
-
export
|
|
1529
|
+
export type EnumRules = Message<"validate.EnumRules"> & {
|
|
2017
1530
|
/**
|
|
2018
1531
|
* Const specifies that this field must be exactly the specified value
|
|
2019
1532
|
*
|
|
2020
1533
|
* @generated from field: optional int32 const = 1;
|
|
2021
1534
|
*/
|
|
2022
|
-
const
|
|
1535
|
+
const: number;
|
|
2023
1536
|
|
|
2024
1537
|
/**
|
|
2025
1538
|
* DefinedOnly specifies that this field must be only one of the defined
|
|
@@ -2027,7 +1540,7 @@ export class EnumRules extends Message<EnumRules> {
|
|
|
2027
1540
|
*
|
|
2028
1541
|
* @generated from field: optional bool defined_only = 2;
|
|
2029
1542
|
*/
|
|
2030
|
-
definedOnly
|
|
1543
|
+
definedOnly: boolean;
|
|
2031
1544
|
|
|
2032
1545
|
/**
|
|
2033
1546
|
* In specifies that this field must be equal to one of the specified
|
|
@@ -2035,7 +1548,7 @@ export class EnumRules extends Message<EnumRules> {
|
|
|
2035
1548
|
*
|
|
2036
1549
|
* @generated from field: repeated int32 in = 3;
|
|
2037
1550
|
*/
|
|
2038
|
-
in: number[]
|
|
1551
|
+
in: number[];
|
|
2039
1552
|
|
|
2040
1553
|
/**
|
|
2041
1554
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -2043,38 +1556,15 @@ export class EnumRules extends Message<EnumRules> {
|
|
|
2043
1556
|
*
|
|
2044
1557
|
* @generated from field: repeated int32 not_in = 4;
|
|
2045
1558
|
*/
|
|
2046
|
-
notIn: number[]
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2056
|
-
{ no: 1, name: "const", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
2057
|
-
{ no: 2, name: "defined_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2058
|
-
{ no: 3, name: "in", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
2059
|
-
{ no: 4, name: "not_in", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
2060
|
-
]);
|
|
2061
|
-
|
|
2062
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumRules {
|
|
2063
|
-
return new EnumRules().fromBinary(bytes, options);
|
|
2064
|
-
}
|
|
2065
|
-
|
|
2066
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumRules {
|
|
2067
|
-
return new EnumRules().fromJson(jsonValue, options);
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumRules {
|
|
2071
|
-
return new EnumRules().fromJsonString(jsonString, options);
|
|
2072
|
-
}
|
|
2073
|
-
|
|
2074
|
-
static equals(a: EnumRules | PlainMessage<EnumRules> | undefined, b: EnumRules | PlainMessage<EnumRules> | undefined): boolean {
|
|
2075
|
-
return proto2.util.equals(EnumRules, a, b);
|
|
2076
|
-
}
|
|
2077
|
-
}
|
|
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);
|
|
2078
1568
|
|
|
2079
1569
|
/**
|
|
2080
1570
|
* MessageRules describe the constraints applied to embedded message values.
|
|
@@ -2082,64 +1572,43 @@ export class EnumRules extends Message<EnumRules> {
|
|
|
2082
1572
|
*
|
|
2083
1573
|
* @generated from message validate.MessageRules
|
|
2084
1574
|
*/
|
|
2085
|
-
export
|
|
1575
|
+
export type MessageRules = Message<"validate.MessageRules"> & {
|
|
2086
1576
|
/**
|
|
2087
1577
|
* Skip specifies that the validation rules of this field should not be
|
|
2088
1578
|
* evaluated
|
|
2089
1579
|
*
|
|
2090
1580
|
* @generated from field: optional bool skip = 1;
|
|
2091
1581
|
*/
|
|
2092
|
-
skip
|
|
1582
|
+
skip: boolean;
|
|
2093
1583
|
|
|
2094
1584
|
/**
|
|
2095
1585
|
* Required specifies that this field must be set
|
|
2096
1586
|
*
|
|
2097
1587
|
* @generated from field: optional bool required = 2;
|
|
2098
1588
|
*/
|
|
2099
|
-
required
|
|
2100
|
-
|
|
2101
|
-
constructor(data?: PartialMessage<MessageRules>) {
|
|
2102
|
-
super();
|
|
2103
|
-
proto2.util.initPartial(data, this);
|
|
2104
|
-
}
|
|
1589
|
+
required: boolean;
|
|
1590
|
+
};
|
|
2105
1591
|
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MessageRules {
|
|
2114
|
-
return new MessageRules().fromBinary(bytes, options);
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MessageRules {
|
|
2118
|
-
return new MessageRules().fromJson(jsonValue, options);
|
|
2119
|
-
}
|
|
2120
|
-
|
|
2121
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MessageRules {
|
|
2122
|
-
return new MessageRules().fromJsonString(jsonString, options);
|
|
2123
|
-
}
|
|
2124
|
-
|
|
2125
|
-
static equals(a: MessageRules | PlainMessage<MessageRules> | undefined, b: MessageRules | PlainMessage<MessageRules> | undefined): boolean {
|
|
2126
|
-
return proto2.util.equals(MessageRules, a, b);
|
|
2127
|
-
}
|
|
2128
|
-
}
|
|
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);
|
|
2129
1598
|
|
|
2130
1599
|
/**
|
|
2131
1600
|
* RepeatedRules describe the constraints applied to `repeated` values
|
|
2132
1601
|
*
|
|
2133
1602
|
* @generated from message validate.RepeatedRules
|
|
2134
1603
|
*/
|
|
2135
|
-
export
|
|
1604
|
+
export type RepeatedRules = Message<"validate.RepeatedRules"> & {
|
|
2136
1605
|
/**
|
|
2137
1606
|
* MinItems specifies that this field must have the specified number of
|
|
2138
1607
|
* items at a minimum
|
|
2139
1608
|
*
|
|
2140
1609
|
* @generated from field: optional uint64 min_items = 1;
|
|
2141
1610
|
*/
|
|
2142
|
-
minItems
|
|
1611
|
+
minItems: bigint;
|
|
2143
1612
|
|
|
2144
1613
|
/**
|
|
2145
1614
|
* MaxItems specifies that this field must have the specified number of
|
|
@@ -2147,7 +1616,7 @@ export class RepeatedRules extends Message<RepeatedRules> {
|
|
|
2147
1616
|
*
|
|
2148
1617
|
* @generated from field: optional uint64 max_items = 2;
|
|
2149
1618
|
*/
|
|
2150
|
-
maxItems
|
|
1619
|
+
maxItems: bigint;
|
|
2151
1620
|
|
|
2152
1621
|
/**
|
|
2153
1622
|
* Unique specifies that all elements in this field must be unique. This
|
|
@@ -2156,7 +1625,7 @@ export class RepeatedRules extends Message<RepeatedRules> {
|
|
|
2156
1625
|
*
|
|
2157
1626
|
* @generated from field: optional bool unique = 3;
|
|
2158
1627
|
*/
|
|
2159
|
-
unique
|
|
1628
|
+
unique: boolean;
|
|
2160
1629
|
|
|
2161
1630
|
/**
|
|
2162
1631
|
* Items specifies the contraints to be applied to each item in the field.
|
|
@@ -2173,53 +1642,29 @@ export class RepeatedRules extends Message<RepeatedRules> {
|
|
|
2173
1642
|
*
|
|
2174
1643
|
* @generated from field: optional bool ignore_empty = 5;
|
|
2175
1644
|
*/
|
|
2176
|
-
ignoreEmpty
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2186
|
-
{ no: 1, name: "min_items", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
2187
|
-
{ no: 2, name: "max_items", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
2188
|
-
{ no: 3, name: "unique", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2189
|
-
{ no: 4, name: "items", kind: "message", T: FieldRules, opt: true },
|
|
2190
|
-
{ no: 5, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2191
|
-
]);
|
|
2192
|
-
|
|
2193
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RepeatedRules {
|
|
2194
|
-
return new RepeatedRules().fromBinary(bytes, options);
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RepeatedRules {
|
|
2198
|
-
return new RepeatedRules().fromJson(jsonValue, options);
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RepeatedRules {
|
|
2202
|
-
return new RepeatedRules().fromJsonString(jsonString, options);
|
|
2203
|
-
}
|
|
2204
|
-
|
|
2205
|
-
static equals(a: RepeatedRules | PlainMessage<RepeatedRules> | undefined, b: RepeatedRules | PlainMessage<RepeatedRules> | undefined): boolean {
|
|
2206
|
-
return proto2.util.equals(RepeatedRules, a, b);
|
|
2207
|
-
}
|
|
2208
|
-
}
|
|
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);
|
|
2209
1654
|
|
|
2210
1655
|
/**
|
|
2211
1656
|
* MapRules describe the constraints applied to `map` values
|
|
2212
1657
|
*
|
|
2213
1658
|
* @generated from message validate.MapRules
|
|
2214
1659
|
*/
|
|
2215
|
-
export
|
|
1660
|
+
export type MapRules = Message<"validate.MapRules"> & {
|
|
2216
1661
|
/**
|
|
2217
1662
|
* MinPairs specifies that this field must have the specified number of
|
|
2218
1663
|
* KVs at a minimum
|
|
2219
1664
|
*
|
|
2220
1665
|
* @generated from field: optional uint64 min_pairs = 1;
|
|
2221
1666
|
*/
|
|
2222
|
-
minPairs
|
|
1667
|
+
minPairs: bigint;
|
|
2223
1668
|
|
|
2224
1669
|
/**
|
|
2225
1670
|
* MaxPairs specifies that this field must have the specified number of
|
|
@@ -2227,7 +1672,7 @@ export class MapRules extends Message<MapRules> {
|
|
|
2227
1672
|
*
|
|
2228
1673
|
* @generated from field: optional uint64 max_pairs = 2;
|
|
2229
1674
|
*/
|
|
2230
|
-
maxPairs
|
|
1675
|
+
maxPairs: bigint;
|
|
2231
1676
|
|
|
2232
1677
|
/**
|
|
2233
1678
|
* NoSparse specifies values in this field cannot be unset. This only
|
|
@@ -2235,7 +1680,7 @@ export class MapRules extends Message<MapRules> {
|
|
|
2235
1680
|
*
|
|
2236
1681
|
* @generated from field: optional bool no_sparse = 3;
|
|
2237
1682
|
*/
|
|
2238
|
-
noSparse
|
|
1683
|
+
noSparse: boolean;
|
|
2239
1684
|
|
|
2240
1685
|
/**
|
|
2241
1686
|
* Keys specifies the constraints to be applied to each key in the field.
|
|
@@ -2259,40 +1704,15 @@ export class MapRules extends Message<MapRules> {
|
|
|
2259
1704
|
*
|
|
2260
1705
|
* @generated from field: optional bool ignore_empty = 6;
|
|
2261
1706
|
*/
|
|
2262
|
-
ignoreEmpty
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2272
|
-
{ no: 1, name: "min_pairs", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
2273
|
-
{ no: 2, name: "max_pairs", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
2274
|
-
{ no: 3, name: "no_sparse", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2275
|
-
{ no: 4, name: "keys", kind: "message", T: FieldRules, opt: true },
|
|
2276
|
-
{ no: 5, name: "values", kind: "message", T: FieldRules, opt: true },
|
|
2277
|
-
{ no: 6, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2278
|
-
]);
|
|
2279
|
-
|
|
2280
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MapRules {
|
|
2281
|
-
return new MapRules().fromBinary(bytes, options);
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MapRules {
|
|
2285
|
-
return new MapRules().fromJson(jsonValue, options);
|
|
2286
|
-
}
|
|
2287
|
-
|
|
2288
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MapRules {
|
|
2289
|
-
return new MapRules().fromJsonString(jsonString, options);
|
|
2290
|
-
}
|
|
2291
|
-
|
|
2292
|
-
static equals(a: MapRules | PlainMessage<MapRules> | undefined, b: MapRules | PlainMessage<MapRules> | undefined): boolean {
|
|
2293
|
-
return proto2.util.equals(MapRules, a, b);
|
|
2294
|
-
}
|
|
2295
|
-
}
|
|
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);
|
|
2296
1716
|
|
|
2297
1717
|
/**
|
|
2298
1718
|
* AnyRules describe constraints applied exclusively to the
|
|
@@ -2300,13 +1720,13 @@ export class MapRules extends Message<MapRules> {
|
|
|
2300
1720
|
*
|
|
2301
1721
|
* @generated from message validate.AnyRules
|
|
2302
1722
|
*/
|
|
2303
|
-
export
|
|
1723
|
+
export type AnyRules = Message<"validate.AnyRules"> & {
|
|
2304
1724
|
/**
|
|
2305
1725
|
* Required specifies that this field must be set
|
|
2306
1726
|
*
|
|
2307
1727
|
* @generated from field: optional bool required = 1;
|
|
2308
1728
|
*/
|
|
2309
|
-
required
|
|
1729
|
+
required: boolean;
|
|
2310
1730
|
|
|
2311
1731
|
/**
|
|
2312
1732
|
* In specifies that this field's `type_url` must be equal to one of the
|
|
@@ -2314,7 +1734,7 @@ export class AnyRules extends Message<AnyRules> {
|
|
|
2314
1734
|
*
|
|
2315
1735
|
* @generated from field: repeated string in = 2;
|
|
2316
1736
|
*/
|
|
2317
|
-
in: string[]
|
|
1737
|
+
in: string[];
|
|
2318
1738
|
|
|
2319
1739
|
/**
|
|
2320
1740
|
* NotIn specifies that this field's `type_url` must not be equal to any of
|
|
@@ -2322,37 +1742,15 @@ export class AnyRules extends Message<AnyRules> {
|
|
|
2322
1742
|
*
|
|
2323
1743
|
* @generated from field: repeated string not_in = 3;
|
|
2324
1744
|
*/
|
|
2325
|
-
notIn: string[]
|
|
2326
|
-
|
|
2327
|
-
constructor(data?: PartialMessage<AnyRules>) {
|
|
2328
|
-
super();
|
|
2329
|
-
proto2.util.initPartial(data, this);
|
|
2330
|
-
}
|
|
2331
|
-
|
|
2332
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2333
|
-
static readonly typeName = "validate.AnyRules";
|
|
2334
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2335
|
-
{ no: 1, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2336
|
-
{ no: 2, name: "in", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2337
|
-
{ no: 3, name: "not_in", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2338
|
-
]);
|
|
2339
|
-
|
|
2340
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AnyRules {
|
|
2341
|
-
return new AnyRules().fromBinary(bytes, options);
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AnyRules {
|
|
2345
|
-
return new AnyRules().fromJson(jsonValue, options);
|
|
2346
|
-
}
|
|
1745
|
+
notIn: string[];
|
|
1746
|
+
};
|
|
2347
1747
|
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
}
|
|
2355
|
-
}
|
|
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);
|
|
2356
1754
|
|
|
2357
1755
|
/**
|
|
2358
1756
|
* DurationRules describe the constraints applied exclusively to the
|
|
@@ -2360,13 +1758,13 @@ export class AnyRules extends Message<AnyRules> {
|
|
|
2360
1758
|
*
|
|
2361
1759
|
* @generated from message validate.DurationRules
|
|
2362
1760
|
*/
|
|
2363
|
-
export
|
|
1761
|
+
export type DurationRules = Message<"validate.DurationRules"> & {
|
|
2364
1762
|
/**
|
|
2365
1763
|
* Required specifies that this field must be set
|
|
2366
1764
|
*
|
|
2367
1765
|
* @generated from field: optional bool required = 1;
|
|
2368
1766
|
*/
|
|
2369
|
-
required
|
|
1767
|
+
required: boolean;
|
|
2370
1768
|
|
|
2371
1769
|
/**
|
|
2372
1770
|
* Const specifies that this field must be exactly the specified value
|
|
@@ -2413,7 +1811,7 @@ export class DurationRules extends Message<DurationRules> {
|
|
|
2413
1811
|
*
|
|
2414
1812
|
* @generated from field: repeated google.protobuf.Duration in = 7;
|
|
2415
1813
|
*/
|
|
2416
|
-
in: Duration[]
|
|
1814
|
+
in: Duration[];
|
|
2417
1815
|
|
|
2418
1816
|
/**
|
|
2419
1817
|
* NotIn specifies that this field cannot be equal to one of the specified
|
|
@@ -2421,42 +1819,15 @@ export class DurationRules extends Message<DurationRules> {
|
|
|
2421
1819
|
*
|
|
2422
1820
|
* @generated from field: repeated google.protobuf.Duration not_in = 8;
|
|
2423
1821
|
*/
|
|
2424
|
-
notIn: Duration[]
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2434
|
-
{ no: 1, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2435
|
-
{ no: 2, name: "const", kind: "message", T: Duration, opt: true },
|
|
2436
|
-
{ no: 3, name: "lt", kind: "message", T: Duration, opt: true },
|
|
2437
|
-
{ no: 4, name: "lte", kind: "message", T: Duration, opt: true },
|
|
2438
|
-
{ no: 5, name: "gt", kind: "message", T: Duration, opt: true },
|
|
2439
|
-
{ no: 6, name: "gte", kind: "message", T: Duration, opt: true },
|
|
2440
|
-
{ no: 7, name: "in", kind: "message", T: Duration, repeated: true },
|
|
2441
|
-
{ no: 8, name: "not_in", kind: "message", T: Duration, repeated: true },
|
|
2442
|
-
]);
|
|
2443
|
-
|
|
2444
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DurationRules {
|
|
2445
|
-
return new DurationRules().fromBinary(bytes, options);
|
|
2446
|
-
}
|
|
2447
|
-
|
|
2448
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DurationRules {
|
|
2449
|
-
return new DurationRules().fromJson(jsonValue, options);
|
|
2450
|
-
}
|
|
2451
|
-
|
|
2452
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DurationRules {
|
|
2453
|
-
return new DurationRules().fromJsonString(jsonString, options);
|
|
2454
|
-
}
|
|
2455
|
-
|
|
2456
|
-
static equals(a: DurationRules | PlainMessage<DurationRules> | undefined, b: DurationRules | PlainMessage<DurationRules> | undefined): boolean {
|
|
2457
|
-
return proto2.util.equals(DurationRules, a, b);
|
|
2458
|
-
}
|
|
2459
|
-
}
|
|
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);
|
|
2460
1831
|
|
|
2461
1832
|
/**
|
|
2462
1833
|
* TimestampRules describe the constraints applied exclusively to the
|
|
@@ -2464,13 +1835,13 @@ export class DurationRules extends Message<DurationRules> {
|
|
|
2464
1835
|
*
|
|
2465
1836
|
* @generated from message validate.TimestampRules
|
|
2466
1837
|
*/
|
|
2467
|
-
export
|
|
1838
|
+
export type TimestampRules = Message<"validate.TimestampRules"> & {
|
|
2468
1839
|
/**
|
|
2469
1840
|
* Required specifies that this field must be set
|
|
2470
1841
|
*
|
|
2471
1842
|
* @generated from field: optional bool required = 1;
|
|
2472
1843
|
*/
|
|
2473
|
-
required
|
|
1844
|
+
required: boolean;
|
|
2474
1845
|
|
|
2475
1846
|
/**
|
|
2476
1847
|
* Const specifies that this field must be exactly the specified value
|
|
@@ -2517,7 +1888,7 @@ export class TimestampRules extends Message<TimestampRules> {
|
|
|
2517
1888
|
*
|
|
2518
1889
|
* @generated from field: optional bool lt_now = 7;
|
|
2519
1890
|
*/
|
|
2520
|
-
ltNow
|
|
1891
|
+
ltNow: boolean;
|
|
2521
1892
|
|
|
2522
1893
|
/**
|
|
2523
1894
|
* GtNow specifies that this must be greater than the current time. GtNow
|
|
@@ -2525,7 +1896,7 @@ export class TimestampRules extends Message<TimestampRules> {
|
|
|
2525
1896
|
*
|
|
2526
1897
|
* @generated from field: optional bool gt_now = 8;
|
|
2527
1898
|
*/
|
|
2528
|
-
gtNow
|
|
1899
|
+
gtNow: boolean;
|
|
2529
1900
|
|
|
2530
1901
|
/**
|
|
2531
1902
|
* Within specifies that this field must be within this duration of the
|
|
@@ -2535,65 +1906,63 @@ export class TimestampRules extends Message<TimestampRules> {
|
|
|
2535
1906
|
* @generated from field: optional google.protobuf.Duration within = 9;
|
|
2536
1907
|
*/
|
|
2537
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,
|
|
2538
1935
|
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
static readonly typeName = "validate.TimestampRules";
|
|
2546
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2547
|
-
{ no: 1, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2548
|
-
{ no: 2, name: "const", kind: "message", T: Timestamp, opt: true },
|
|
2549
|
-
{ no: 3, name: "lt", kind: "message", T: Timestamp, opt: true },
|
|
2550
|
-
{ no: 4, name: "lte", kind: "message", T: Timestamp, opt: true },
|
|
2551
|
-
{ no: 5, name: "gt", kind: "message", T: Timestamp, opt: true },
|
|
2552
|
-
{ no: 6, name: "gte", kind: "message", T: Timestamp, opt: true },
|
|
2553
|
-
{ no: 7, name: "lt_now", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2554
|
-
{ no: 8, name: "gt_now", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2555
|
-
{ no: 9, name: "within", kind: "message", T: Duration, opt: true },
|
|
2556
|
-
]);
|
|
2557
|
-
|
|
2558
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimestampRules {
|
|
2559
|
-
return new TimestampRules().fromBinary(bytes, options);
|
|
2560
|
-
}
|
|
2561
|
-
|
|
2562
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimestampRules {
|
|
2563
|
-
return new TimestampRules().fromJson(jsonValue, options);
|
|
2564
|
-
}
|
|
2565
|
-
|
|
2566
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimestampRules {
|
|
2567
|
-
return new TimestampRules().fromJsonString(jsonString, options);
|
|
2568
|
-
}
|
|
2569
|
-
|
|
2570
|
-
static equals(a: TimestampRules | PlainMessage<TimestampRules> | undefined, b: TimestampRules | PlainMessage<TimestampRules> | undefined): boolean {
|
|
2571
|
-
return proto2.util.equals(TimestampRules, a, b);
|
|
2572
|
-
}
|
|
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,
|
|
2573
1942
|
}
|
|
2574
1943
|
|
|
1944
|
+
/**
|
|
1945
|
+
* Describes the enum validate.KnownRegex.
|
|
1946
|
+
*/
|
|
1947
|
+
export const KnownRegexSchema: GenEnum<KnownRegex> = /*@__PURE__*/
|
|
1948
|
+
enumDesc(file_validate_validate, 0);
|
|
1949
|
+
|
|
2575
1950
|
/**
|
|
2576
1951
|
* Disabled nullifies any validation rules for this message, including any
|
|
2577
1952
|
* message fields associated with it that do support validation.
|
|
2578
1953
|
*
|
|
2579
1954
|
* @generated from extension: optional bool disabled = 1071;
|
|
2580
1955
|
*/
|
|
2581
|
-
export const disabled
|
|
2582
|
-
|
|
2583
|
-
MessageOptions,
|
|
2584
|
-
{ no: 1071, kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2585
|
-
);
|
|
1956
|
+
export const disabled: GenExtension<MessageOptions, boolean> = /*@__PURE__*/
|
|
1957
|
+
extDesc(file_validate_validate, 0);
|
|
2586
1958
|
|
|
2587
1959
|
/**
|
|
2588
1960
|
* Ignore skips generation of validation methods for this message.
|
|
2589
1961
|
*
|
|
2590
1962
|
* @generated from extension: optional bool ignored = 1072;
|
|
2591
1963
|
*/
|
|
2592
|
-
export const ignored
|
|
2593
|
-
|
|
2594
|
-
MessageOptions,
|
|
2595
|
-
{ no: 1072, kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2596
|
-
);
|
|
1964
|
+
export const ignored: GenExtension<MessageOptions, boolean> = /*@__PURE__*/
|
|
1965
|
+
extDesc(file_validate_validate, 1);
|
|
2597
1966
|
|
|
2598
1967
|
/**
|
|
2599
1968
|
* Required ensures that exactly one the field options in a oneof is set;
|
|
@@ -2601,11 +1970,8 @@ export const ignored = proto2.makeExtension<MessageOptions, boolean>(
|
|
|
2601
1970
|
*
|
|
2602
1971
|
* @generated from extension: optional bool required = 1071;
|
|
2603
1972
|
*/
|
|
2604
|
-
export const required
|
|
2605
|
-
|
|
2606
|
-
OneofOptions,
|
|
2607
|
-
{ no: 1071, kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2608
|
-
);
|
|
1973
|
+
export const required: GenExtension<OneofOptions, boolean> = /*@__PURE__*/
|
|
1974
|
+
extDesc(file_validate_validate, 2);
|
|
2609
1975
|
|
|
2610
1976
|
/**
|
|
2611
1977
|
* Rules specify the validations to be performed on this field. By default,
|
|
@@ -2613,9 +1979,6 @@ export const required = proto2.makeExtension<OneofOptions, boolean>(
|
|
|
2613
1979
|
*
|
|
2614
1980
|
* @generated from extension: optional validate.FieldRules rules = 1071;
|
|
2615
1981
|
*/
|
|
2616
|
-
export const rules
|
|
2617
|
-
|
|
2618
|
-
FieldOptions,
|
|
2619
|
-
() => ({ no: 1071, kind: "message", T: FieldRules, opt: true }),
|
|
2620
|
-
);
|
|
1982
|
+
export const rules: GenExtension<FieldOptions, FieldRules> = /*@__PURE__*/
|
|
1983
|
+
extDesc(file_validate_validate, 3);
|
|
2621
1984
|
|