@raystack/proton 0.1.0-00c55b6ba2a3f425eca16ca3d36e172952e4824d

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