@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.
Files changed (383) hide show
  1. package/README.md +2 -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 +15 -9
  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 +19 -19
  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 +43 -108
  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 +23 -37
  14. package/index.d.ts +10 -0
  15. package/index.js +10 -0
  16. package/index.ts +10 -0
  17. package/package.json +62 -17
  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 +23 -29
  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 +338 -808
  24. package/raystack/assets/index.d.ts +29 -0
  25. package/raystack/assets/index.js +29 -0
  26. package/raystack/assets/index.ts +29 -29
  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 +46 -89
  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 +49 -97
  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 +22 -36
  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 +38 -74
  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 +30 -43
  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 +22 -36
  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 +31 -68
  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 +21 -34
  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 +22 -37
  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 +24 -43
  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 +59 -145
  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 +59 -120
  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 +28 -62
  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 +43 -78
  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 +58 -125
  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 +23 -39
  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 +30 -53
  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 +41 -87
  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 +56 -137
  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 +44 -93
  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 +38 -79
  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 +51 -115
  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 +32 -68
  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 +21 -35
  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 +25 -43
  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 +59 -147
  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 +82 -200
  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 +41 -99
  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 +53 -121
  114. package/raystack/common/index.d.ts +2 -0
  115. package/raystack/common/index.js +2 -0
  116. package/raystack/common/index.ts +1 -2
  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 +3 -14
  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 +57 -97
  123. package/raystack/compass/index.d.ts +2 -0
  124. package/raystack/compass/index.js +2 -0
  125. package/raystack/compass/index.ts +1 -2
  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 +44 -424
  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 +1448 -3319
  132. package/raystack/entropy/index.d.ts +4 -0
  133. package/raystack/entropy/index.js +4 -0
  134. package/raystack/entropy/index.ts +2 -4
  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 +7 -54
  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 +156 -324
  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 +9 -74
  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 +330 -756
  147. package/raystack/frontier/index.d.ts +5 -0
  148. package/raystack/frontier/index.js +5 -0
  149. package/raystack/frontier/index.ts +3 -5
  150. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.d.ts +269 -0
  151. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.js +323 -0
  152. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +75 -524
  153. package/raystack/frontier/v1beta1/admin_pb.d.ts +3624 -0
  154. package/raystack/frontier/v1beta1/admin_pb.js +935 -0
  155. package/raystack/frontier/v1beta1/admin_pb.ts +1918 -3843
  156. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.d.ts +755 -0
  157. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.js +925 -0
  158. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +200 -1674
  159. package/raystack/frontier/v1beta1/frontier_pb.d.ts +8980 -0
  160. package/raystack/frontier/v1beta1/frontier_pb.js +2649 -0
  161. package/raystack/frontier/v1beta1/frontier_pb.ts +5062 -10956
  162. package/raystack/frontier/v1beta1/models_pb.d.ts +3043 -0
  163. package/raystack/frontier/v1beta1/models_pb.js +485 -0
  164. package/raystack/frontier/v1beta1/models_pb.ts +1053 -2283
  165. package/raystack/guardian/index.d.ts +2 -0
  166. package/raystack/guardian/index.js +2 -0
  167. package/raystack/guardian/index.ts +1 -2
  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 +42 -404
  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 +1584 -3783
  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 +5 -34
  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 +137 -273
  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 +6 -44
  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 +194 -376
  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 +17 -154
  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 +910 -2081
  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 +5 -34
  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 +113 -212
  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 +5 -34
  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 +104 -248
  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 +6 -44
  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 +160 -335
  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 +8 -64
  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 +266 -527
  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 +3 -14
  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 +48 -61
  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 +6 -44
  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 +155 -283
  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 +35 -54
  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 +75 -187
  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 +6 -44
  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 +193 -426
  240. package/raystack/predator/index.d.ts +2 -0
  241. package/raystack/predator/index.js +2 -0
  242. package/raystack/predator/index.ts +2 -2
  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 +67 -173
  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 +60 -144
  249. package/raystack/raccoon/index.d.ts +2 -0
  250. package/raystack/raccoon/index.js +2 -0
  251. package/raystack/raccoon/index.ts +1 -2
  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 +3 -14
  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 +142 -189
  258. package/raystack/siren/index.d.ts +2 -0
  259. package/raystack/siren/index.js +2 -0
  260. package/raystack/siren/index.ts +1 -2
  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 +37 -354
  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 +1155 -2637
  267. package/raystack/stencil/index.d.ts +2 -0
  268. package/raystack/stencil/index.js +2 -0
  269. package/raystack/stencil/index.ts +1 -2
  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 +18 -164
  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 +530 -1157
  276. package/validate/validate_pb.d.ts +1953 -0
  277. package/validate/validate_pb.js +223 -0
  278. package/validate/validate_pb.ts +401 -1038
  279. package/google/api/field_behavior.ts +0 -95
  280. package/google/api/http.ts +0 -695
  281. package/google/api/httpbody.ts +0 -159
  282. package/google/protobuf/any.ts +0 -322
  283. package/google/protobuf/descriptor.ts +0 -3475
  284. package/google/protobuf/duration.ts +0 -231
  285. package/google/protobuf/struct.ts +0 -484
  286. package/google/protobuf/timestamp.ts +0 -290
  287. package/google/protobuf/wrappers.ts +0 -752
  288. package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
  289. package/raystack/assets/v1beta1/bucket.ts +0 -362
  290. package/raystack/assets/v1beta1/dashboard.ts +0 -426
  291. package/raystack/assets/v1beta1/event.ts +0 -105
  292. package/raystack/assets/v1beta1/group.ts +0 -223
  293. package/raystack/assets/v1beta1/job.ts +0 -147
  294. package/raystack/assets/v1beta1/lineage.ts +0 -90
  295. package/raystack/assets/v1beta1/ownership.ts +0 -179
  296. package/raystack/assets/v1beta1/preview.ts +0 -87
  297. package/raystack/assets/v1beta1/properties.ts +0 -116
  298. package/raystack/assets/v1beta1/resource.ts +0 -149
  299. package/raystack/assets/v1beta1/schema.ts +0 -421
  300. package/raystack/assets/v1beta1/table.ts +0 -408
  301. package/raystack/assets/v1beta1/timestamp.ts +0 -158
  302. package/raystack/assets/v1beta1/topic.ts +0 -253
  303. package/raystack/assets/v1beta1/user.ts +0 -451
  304. package/raystack/assets/v1beta2/application.ts +0 -125
  305. package/raystack/assets/v1beta2/asset.ts +0 -269
  306. package/raystack/assets/v1beta2/bucket.ts +0 -341
  307. package/raystack/assets/v1beta2/common.ts +0 -392
  308. package/raystack/assets/v1beta2/dashboard.ts +0 -393
  309. package/raystack/assets/v1beta2/experiment.ts +0 -274
  310. package/raystack/assets/v1beta2/feature_table.ts +0 -387
  311. package/raystack/assets/v1beta2/group.ts +0 -178
  312. package/raystack/assets/v1beta2/job.ts +0 -99
  313. package/raystack/assets/v1beta2/metric.ts +0 -163
  314. package/raystack/assets/v1beta2/model.ts +0 -519
  315. package/raystack/assets/v1beta2/table.ts +0 -663
  316. package/raystack/assets/v1beta2/topic.ts +0 -275
  317. package/raystack/assets/v1beta2/user.ts +0 -433
  318. package/raystack/common/v1/service.client.ts +0 -37
  319. package/raystack/common/v1/service.ts +0 -245
  320. package/raystack/common/v1/service_connect.ts +0 -26
  321. package/raystack/compass/v1beta1/service.client.ts +0 -594
  322. package/raystack/compass/v1beta1/service.ts +0 -8169
  323. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  324. package/raystack/entropy/v1beta1/module.client.ts +0 -89
  325. package/raystack/entropy/v1beta1/module.ts +0 -692
  326. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  327. package/raystack/entropy/v1beta1/resource.client.ts +0 -129
  328. package/raystack/entropy/v1beta1/resource.ts +0 -1817
  329. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  330. package/raystack/frontier/v1beta1/admin.client.ts +0 -866
  331. package/raystack/frontier/v1beta1/admin.ts +0 -9117
  332. package/raystack/frontier/v1beta1/admin_connect.ts +0 -584
  333. package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
  334. package/raystack/frontier/v1beta1/frontier.ts +0 -23706
  335. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  336. package/raystack/frontier/v1beta1/models.ts +0 -7433
  337. package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
  338. package/raystack/guardian/v1beta1/guardian.ts +0 -9688
  339. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  340. package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
  341. package/raystack/optimus/core/v1beta1/backup.ts +0 -708
  342. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  343. package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
  344. package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
  345. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  346. package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
  347. package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
  348. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  349. package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
  350. package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
  351. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  352. package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
  353. package/raystack/optimus/core/v1beta1/project.ts +0 -520
  354. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  355. package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
  356. package/raystack/optimus/core/v1beta1/replay.ts +0 -881
  357. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  358. package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
  359. package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
  360. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  361. package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
  362. package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
  363. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  364. package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
  365. package/raystack/optimus/core/v1beta1/secret.ts +0 -619
  366. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  367. package/raystack/optimus/core/v1beta1/status.ts +0 -113
  368. package/raystack/optimus/integration/v1beta1/event.ts +0 -531
  369. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
  370. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
  371. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  372. package/raystack/predator/v1beta1/metrics_log.ts +0 -457
  373. package/raystack/predator/v1beta1/result_log.ts +0 -390
  374. package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
  375. package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
  376. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  377. package/raystack/siren/v1beta1/siren.client.ts +0 -479
  378. package/raystack/siren/v1beta1/siren.ts +0 -6507
  379. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  380. package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
  381. package/raystack/stencil/v1beta1/stencil.ts +0 -2716
  382. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
  383. package/validate/validate.ts +0 -4130
@@ -1,51 +1,18 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
1
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
2
2
  // @generated from file protoc-gen-openapiv2/options/openapiv2.proto (package grpc.gateway.protoc_gen_openapiv2.options, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3, protoInt64, Value } from "@bufbuild/protobuf";
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Value } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
8
10
 
9
11
  /**
10
- * Scheme describes the schemes supported by the OpenAPI Swagger
11
- * and Operation objects.
12
- *
13
- * @generated from enum grpc.gateway.protoc_gen_openapiv2.options.Scheme
12
+ * Describes the file protoc-gen-openapiv2/options/openapiv2.proto.
14
13
  */
15
- export enum Scheme {
16
- /**
17
- * @generated from enum value: UNKNOWN = 0;
18
- */
19
- UNKNOWN = 0,
20
-
21
- /**
22
- * @generated from enum value: HTTP = 1;
23
- */
24
- HTTP = 1,
25
-
26
- /**
27
- * @generated from enum value: HTTPS = 2;
28
- */
29
- HTTPS = 2,
30
-
31
- /**
32
- * @generated from enum value: WS = 3;
33
- */
34
- WS = 3,
35
-
36
- /**
37
- * @generated from enum value: WSS = 4;
38
- */
39
- WSS = 4,
40
- }
41
- // Retrieve enum metadata with: proto3.getEnumType(Scheme)
42
- proto3.util.setEnumType(Scheme, "grpc.gateway.protoc_gen_openapiv2.options.Scheme", [
43
- { no: 0, name: "UNKNOWN" },
44
- { no: 1, name: "HTTP" },
45
- { no: 2, name: "HTTPS" },
46
- { no: 3, name: "WS" },
47
- { no: 4, name: "WSS" },
48
- ]);
14
+ export const file_protoc_gen_openapiv2_options_openapiv2: GenFile = /*@__PURE__*/
15
+ fileDesc("Cixwcm90b2MtZ2VuLW9wZW5hcGl2Mi9vcHRpb25zL29wZW5hcGl2Mi5wcm90bxIpZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMilQcKB1N3YWdnZXISDwoHc3dhZ2dlchgBIAEoCRI9CgRpbmZvGAIgASgLMi8uZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuSW5mbxIMCgRob3N0GAMgASgJEhEKCWJhc2VfcGF0aBgEIAEoCRJCCgdzY2hlbWVzGAUgAygOMjEuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuU2NoZW1lEhAKCGNvbnN1bWVzGAYgAygJEhAKCHByb2R1Y2VzGAcgAygJElQKCXJlc3BvbnNlcxgKIAMoCzJBLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2V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FVRVJZEAESDQoJSU5fSEVBREVSEAIiagoERmxvdxIQCgxGTE9XX0lOVkFMSUQQABIRCg1GTE9XX0lNUExJQ0lUEAESEQoNRkxPV19QQVNTV09SRBACEhQKEEZMT1dfQVBQTElDQVRJT04QAxIUChBGTE9XX0FDQ0VTU19DT0RFEAQizQIKE1NlY3VyaXR5UmVxdWlyZW1lbnQSdQoUc2VjdXJpdHlfcmVxdWlyZW1lbnQYASADKAsyVy5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5TZWN1cml0eVJlcXVpcmVtZW50LlNlY3VyaXR5UmVxdWlyZW1lbnRFbnRyeRopChhTZWN1cml0eVJlcXVpcmVtZW50VmFsdWUSDQoFc2NvcGUYASADKAkakwEKGFNlY3VyaXR5UmVxdWlyZW1lbnRFbnRyeRILCgNrZXkYASABKAkSZgoFdmFsdWUYAiABKAsyVy5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5TZWN1cml0eVJlcXVpcmVtZW50LlNlY3VyaXR5UmVxdWlyZW1lbnRWYWx1ZToCOAEigwEKBlNjb3BlcxJLCgVzY29wZRgBIAMoCzI8LmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLlNjb3Blcy5TY29wZUVudHJ5GiwKClNjb3BlRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASo7CgZTY2hlbWUSCwoHVU5LTk9XThAAEggKBEhUVFAQARIJCgVIVFRQUxACEgYKAldTEAMSBwoDV1NTEARCSFpGZ2l0aHViLmNvbS9ncnBjLWVjb3N5c3RlbS9ncnBjLWdhdGV3YXkvdjIvcHJvdG9jLWdlbi1vcGVuYXBpdjIvb3B0aW9uc2IGcHJvdG8z", [file_google_protobuf_struct]);
49
16
 
50
17
  /**
51
18
  * `Swagger` is a representation of OpenAPI v2 specification's Swagger object.
@@ -77,7 +44,7 @@ proto3.util.setEnumType(Scheme, "grpc.gateway.protoc_gen_openapiv2.options.Schem
77
44
  *
78
45
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Swagger
79
46
  */
80
- export class Swagger extends Message<Swagger> {
47
+ export type Swagger = Message<"grpc.gateway.protoc_gen_openapiv2.options.Swagger"> & {
81
48
  /**
82
49
  * Specifies the OpenAPI Specification version being used. It can be
83
50
  * used by the OpenAPI UI and other clients to interpret the API listing. The
@@ -85,7 +52,7 @@ export class Swagger extends Message<Swagger> {
85
52
  *
86
53
  * @generated from field: string swagger = 1;
87
54
  */
88
- swagger = "";
55
+ swagger: string;
89
56
 
90
57
  /**
91
58
  * Provides metadata about the API. The metadata can be used by the
@@ -103,7 +70,7 @@ export class Swagger extends Message<Swagger> {
103
70
  *
104
71
  * @generated from field: string host = 3;
105
72
  */
106
- host = "";
73
+ host: string;
107
74
 
108
75
  /**
109
76
  * The base path on which the API is served, which is relative to the host. If
@@ -118,7 +85,7 @@ export class Swagger extends Message<Swagger> {
118
85
  *
119
86
  * @generated from field: string base_path = 4;
120
87
  */
121
- basePath = "";
88
+ basePath: string;
122
89
 
123
90
  /**
124
91
  * The transfer protocol of the API. Values MUST be from the list: "http",
@@ -127,7 +94,7 @@ export class Swagger extends Message<Swagger> {
127
94
  *
128
95
  * @generated from field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5;
129
96
  */
130
- schemes: Scheme[] = [];
97
+ schemes: Scheme[];
131
98
 
132
99
  /**
133
100
  * A list of MIME types the APIs can consume. This is global to all APIs but
@@ -136,7 +103,7 @@ export class Swagger extends Message<Swagger> {
136
103
  *
137
104
  * @generated from field: repeated string consumes = 6;
138
105
  */
139
- consumes: string[] = [];
106
+ consumes: string[];
140
107
 
141
108
  /**
142
109
  * A list of MIME types the APIs can produce. This is global to all APIs but
@@ -145,7 +112,7 @@ export class Swagger extends Message<Swagger> {
145
112
  *
146
113
  * @generated from field: repeated string produces = 7;
147
114
  */
148
- produces: string[] = [];
115
+ produces: string[];
149
116
 
150
117
  /**
151
118
  * An object to hold responses that can be used across operations. This
@@ -153,7 +120,7 @@ export class Swagger extends Message<Swagger> {
153
120
  *
154
121
  * @generated from field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10;
155
122
  */
156
- responses: { [key: string]: Response } = {};
123
+ responses: { [key: string]: Response };
157
124
 
158
125
  /**
159
126
  * Security scheme definitions that can be used across the specification.
@@ -170,7 +137,7 @@ export class Swagger extends Message<Swagger> {
170
137
  *
171
138
  * @generated from field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12;
172
139
  */
173
- security: SecurityRequirement[] = [];
140
+ security: SecurityRequirement[];
174
141
 
175
142
  /**
176
143
  * A list of tags for API documentation control. Tags can be used for logical
@@ -178,7 +145,7 @@ export class Swagger extends Message<Swagger> {
178
145
  *
179
146
  * @generated from field: repeated grpc.gateway.protoc_gen_openapiv2.options.Tag tags = 13;
180
147
  */
181
- tags: Tag[] = [];
148
+ tags: Tag[];
182
149
 
183
150
  /**
184
151
  * Additional external documentation.
@@ -194,47 +161,15 @@ export class Swagger extends Message<Swagger> {
194
161
  *
195
162
  * @generated from field: map<string, google.protobuf.Value> extensions = 15;
196
163
  */
197
- extensions: { [key: string]: Value } = {};
198
-
199
- constructor(data?: PartialMessage<Swagger>) {
200
- super();
201
- proto3.util.initPartial(data, this);
202
- }
203
-
204
- static readonly runtime: typeof proto3 = proto3;
205
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Swagger";
206
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
207
- { no: 1, name: "swagger", kind: "scalar", T: 9 /* ScalarType.STRING */ },
208
- { no: 2, name: "info", kind: "message", T: Info },
209
- { no: 3, name: "host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
210
- { no: 4, name: "base_path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
211
- { no: 5, name: "schemes", kind: "enum", T: proto3.getEnumType(Scheme), repeated: true },
212
- { no: 6, name: "consumes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
213
- { no: 7, name: "produces", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
214
- { no: 10, name: "responses", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Response} },
215
- { no: 11, name: "security_definitions", kind: "message", T: SecurityDefinitions },
216
- { no: 12, name: "security", kind: "message", T: SecurityRequirement, repeated: true },
217
- { no: 13, name: "tags", kind: "message", T: Tag, repeated: true },
218
- { no: 14, name: "external_docs", kind: "message", T: ExternalDocumentation },
219
- { no: 15, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
220
- ]);
221
-
222
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Swagger {
223
- return new Swagger().fromBinary(bytes, options);
224
- }
225
-
226
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Swagger {
227
- return new Swagger().fromJson(jsonValue, options);
228
- }
229
-
230
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Swagger {
231
- return new Swagger().fromJsonString(jsonString, options);
232
- }
233
-
234
- static equals(a: Swagger | PlainMessage<Swagger> | undefined, b: Swagger | PlainMessage<Swagger> | undefined): boolean {
235
- return proto3.util.equals(Swagger, a, b);
236
- }
237
- }
164
+ extensions: { [key: string]: Value };
165
+ };
166
+
167
+ /**
168
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Swagger.
169
+ * Use `create(SwaggerSchema)` to create a new message.
170
+ */
171
+ export const SwaggerSchema: GenMessage<Swagger> = /*@__PURE__*/
172
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 0);
238
173
 
239
174
  /**
240
175
  * `Operation` is a representation of OpenAPI v2 specification's Operation object.
@@ -265,14 +200,14 @@ export class Swagger extends Message<Swagger> {
265
200
  *
266
201
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Operation
267
202
  */
268
- export class Operation extends Message<Operation> {
203
+ export type Operation = Message<"grpc.gateway.protoc_gen_openapiv2.options.Operation"> & {
269
204
  /**
270
205
  * A list of tags for API documentation control. Tags can be used for logical
271
206
  * grouping of operations by resources or any other qualifier.
272
207
  *
273
208
  * @generated from field: repeated string tags = 1;
274
209
  */
275
- tags: string[] = [];
210
+ tags: string[];
276
211
 
277
212
  /**
278
213
  * A short summary of what the operation does. For maximum readability in the
@@ -280,7 +215,7 @@ export class Operation extends Message<Operation> {
280
215
  *
281
216
  * @generated from field: string summary = 2;
282
217
  */
283
- summary = "";
218
+ summary: string;
284
219
 
285
220
  /**
286
221
  * A verbose explanation of the operation behavior. GFM syntax can be used for
@@ -288,7 +223,7 @@ export class Operation extends Message<Operation> {
288
223
  *
289
224
  * @generated from field: string description = 3;
290
225
  */
291
- description = "";
226
+ description: string;
292
227
 
293
228
  /**
294
229
  * Additional external documentation for this operation.
@@ -305,7 +240,7 @@ export class Operation extends Message<Operation> {
305
240
  *
306
241
  * @generated from field: string operation_id = 5;
307
242
  */
308
- operationId = "";
243
+ operationId: string;
309
244
 
310
245
  /**
311
246
  * A list of MIME types the operation can consume. This overrides the consumes
@@ -314,7 +249,7 @@ export class Operation extends Message<Operation> {
314
249
  *
315
250
  * @generated from field: repeated string consumes = 6;
316
251
  */
317
- consumes: string[] = [];
252
+ consumes: string[];
318
253
 
319
254
  /**
320
255
  * A list of MIME types the operation can produce. This overrides the produces
@@ -323,7 +258,7 @@ export class Operation extends Message<Operation> {
323
258
  *
324
259
  * @generated from field: repeated string produces = 7;
325
260
  */
326
- produces: string[] = [];
261
+ produces: string[];
327
262
 
328
263
  /**
329
264
  * The list of possible responses as they are returned from executing this
@@ -331,7 +266,7 @@ export class Operation extends Message<Operation> {
331
266
  *
332
267
  * @generated from field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9;
333
268
  */
334
- responses: { [key: string]: Response } = {};
269
+ responses: { [key: string]: Response };
335
270
 
336
271
  /**
337
272
  * The transfer protocol for the operation. Values MUST be from the list:
@@ -340,7 +275,7 @@ export class Operation extends Message<Operation> {
340
275
  *
341
276
  * @generated from field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;
342
277
  */
343
- schemes: Scheme[] = [];
278
+ schemes: Scheme[];
344
279
 
345
280
  /**
346
281
  * Declares this operation to be deprecated. Usage of the declared operation
@@ -348,7 +283,7 @@ export class Operation extends Message<Operation> {
348
283
  *
349
284
  * @generated from field: bool deprecated = 11;
350
285
  */
351
- deprecated = false;
286
+ deprecated: boolean;
352
287
 
353
288
  /**
354
289
  * A declaration of which security schemes are applied for this operation. The
@@ -359,7 +294,7 @@ export class Operation extends Message<Operation> {
359
294
  *
360
295
  * @generated from field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12;
361
296
  */
362
- security: SecurityRequirement[] = [];
297
+ security: SecurityRequirement[];
363
298
 
364
299
  /**
365
300
  * Custom properties that start with "x-" such as "x-foo" used to describe
@@ -368,7 +303,7 @@ export class Operation extends Message<Operation> {
368
303
  *
369
304
  * @generated from field: map<string, google.protobuf.Value> extensions = 13;
370
305
  */
371
- extensions: { [key: string]: Value } = {};
306
+ extensions: { [key: string]: Value };
372
307
 
373
308
  /**
374
309
  * Custom parameters such as HTTP request headers.
@@ -378,46 +313,14 @@ export class Operation extends Message<Operation> {
378
313
  * @generated from field: grpc.gateway.protoc_gen_openapiv2.options.Parameters parameters = 14;
379
314
  */
380
315
  parameters?: Parameters;
316
+ };
381
317
 
382
- constructor(data?: PartialMessage<Operation>) {
383
- super();
384
- proto3.util.initPartial(data, this);
385
- }
386
-
387
- static readonly runtime: typeof proto3 = proto3;
388
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Operation";
389
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
390
- { no: 1, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
391
- { no: 2, name: "summary", kind: "scalar", T: 9 /* ScalarType.STRING */ },
392
- { no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
393
- { no: 4, name: "external_docs", kind: "message", T: ExternalDocumentation },
394
- { no: 5, name: "operation_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
395
- { no: 6, name: "consumes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
396
- { no: 7, name: "produces", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
397
- { no: 9, name: "responses", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Response} },
398
- { no: 10, name: "schemes", kind: "enum", T: proto3.getEnumType(Scheme), repeated: true },
399
- { no: 11, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
400
- { no: 12, name: "security", kind: "message", T: SecurityRequirement, repeated: true },
401
- { no: 13, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
402
- { no: 14, name: "parameters", kind: "message", T: Parameters },
403
- ]);
404
-
405
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Operation {
406
- return new Operation().fromBinary(bytes, options);
407
- }
408
-
409
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Operation {
410
- return new Operation().fromJson(jsonValue, options);
411
- }
412
-
413
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Operation {
414
- return new Operation().fromJsonString(jsonString, options);
415
- }
416
-
417
- static equals(a: Operation | PlainMessage<Operation> | undefined, b: Operation | PlainMessage<Operation> | undefined): boolean {
418
- return proto3.util.equals(Operation, a, b);
419
- }
420
- }
318
+ /**
319
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Operation.
320
+ * Use `create(OperationSchema)` to create a new message.
321
+ */
322
+ export const OperationSchema: GenMessage<Operation> = /*@__PURE__*/
323
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 1);
421
324
 
422
325
  /**
423
326
  * `Parameters` is a representation of OpenAPI v2 specification's parameters object.
@@ -428,42 +331,22 @@ export class Operation extends Message<Operation> {
428
331
  *
429
332
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Parameters
430
333
  */
431
- export class Parameters extends Message<Parameters> {
334
+ export type Parameters = Message<"grpc.gateway.protoc_gen_openapiv2.options.Parameters"> & {
432
335
  /**
433
336
  * `Headers` is one or more HTTP header parameter.
434
337
  * See: https://swagger.io/docs/specification/2-0/describing-parameters/#header-parameters
435
338
  *
436
339
  * @generated from field: repeated grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter headers = 1;
437
340
  */
438
- headers: HeaderParameter[] = [];
439
-
440
- constructor(data?: PartialMessage<Parameters>) {
441
- super();
442
- proto3.util.initPartial(data, this);
443
- }
444
-
445
- static readonly runtime: typeof proto3 = proto3;
446
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Parameters";
447
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
448
- { no: 1, name: "headers", kind: "message", T: HeaderParameter, repeated: true },
449
- ]);
341
+ headers: HeaderParameter[];
342
+ };
450
343
 
451
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Parameters {
452
- return new Parameters().fromBinary(bytes, options);
453
- }
454
-
455
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Parameters {
456
- return new Parameters().fromJson(jsonValue, options);
457
- }
458
-
459
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Parameters {
460
- return new Parameters().fromJsonString(jsonString, options);
461
- }
462
-
463
- static equals(a: Parameters | PlainMessage<Parameters> | undefined, b: Parameters | PlainMessage<Parameters> | undefined): boolean {
464
- return proto3.util.equals(Parameters, a, b);
465
- }
466
- }
344
+ /**
345
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Parameters.
346
+ * Use `create(ParametersSchema)` to create a new message.
347
+ */
348
+ export const ParametersSchema: GenMessage<Parameters> = /*@__PURE__*/
349
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 2);
467
350
 
468
351
  /**
469
352
  * `HeaderParameter` a HTTP header parameter.
@@ -471,20 +354,20 @@ export class Parameters extends Message<Parameters> {
471
354
  *
472
355
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter
473
356
  */
474
- export class HeaderParameter extends Message<HeaderParameter> {
357
+ export type HeaderParameter = Message<"grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter"> & {
475
358
  /**
476
359
  * `Name` is the header name.
477
360
  *
478
361
  * @generated from field: string name = 1;
479
362
  */
480
- name = "";
363
+ name: string;
481
364
 
482
365
  /**
483
366
  * `Description` is a short description of the header.
484
367
  *
485
368
  * @generated from field: string description = 2;
486
369
  */
487
- description = "";
370
+ description: string;
488
371
 
489
372
  /**
490
373
  * `Type` is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
@@ -492,53 +375,29 @@ export class HeaderParameter extends Message<HeaderParameter> {
492
375
  *
493
376
  * @generated from field: grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type type = 3;
494
377
  */
495
- type = HeaderParameter_Type.UNKNOWN;
378
+ type: HeaderParameter_Type;
496
379
 
497
380
  /**
498
381
  * `Format` The extending format for the previously mentioned type.
499
382
  *
500
383
  * @generated from field: string format = 4;
501
384
  */
502
- format = "";
385
+ format: string;
503
386
 
504
387
  /**
505
388
  * `Required` indicates if the header is optional
506
389
  *
507
390
  * @generated from field: bool required = 5;
508
391
  */
509
- required = false;
510
-
511
- constructor(data?: PartialMessage<HeaderParameter>) {
512
- super();
513
- proto3.util.initPartial(data, this);
514
- }
515
-
516
- static readonly runtime: typeof proto3 = proto3;
517
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter";
518
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
519
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
520
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
521
- { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(HeaderParameter_Type) },
522
- { no: 4, name: "format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
523
- { no: 5, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
524
- ]);
525
-
526
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HeaderParameter {
527
- return new HeaderParameter().fromBinary(bytes, options);
528
- }
529
-
530
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HeaderParameter {
531
- return new HeaderParameter().fromJson(jsonValue, options);
532
- }
533
-
534
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HeaderParameter {
535
- return new HeaderParameter().fromJsonString(jsonString, options);
536
- }
537
-
538
- static equals(a: HeaderParameter | PlainMessage<HeaderParameter> | undefined, b: HeaderParameter | PlainMessage<HeaderParameter> | undefined): boolean {
539
- return proto3.util.equals(HeaderParameter, a, b);
540
- }
541
- }
392
+ required: boolean;
393
+ };
394
+
395
+ /**
396
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.
397
+ * Use `create(HeaderParameterSchema)` to create a new message.
398
+ */
399
+ export const HeaderParameterSchema: GenMessage<HeaderParameter> = /*@__PURE__*/
400
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 3);
542
401
 
543
402
  /**
544
403
  * `Type` is a a supported HTTP header type.
@@ -572,14 +431,12 @@ export enum HeaderParameter_Type {
572
431
  */
573
432
  BOOLEAN = 4,
574
433
  }
575
- // Retrieve enum metadata with: proto3.getEnumType(HeaderParameter_Type)
576
- proto3.util.setEnumType(HeaderParameter_Type, "grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type", [
577
- { no: 0, name: "UNKNOWN" },
578
- { no: 1, name: "STRING" },
579
- { no: 2, name: "NUMBER" },
580
- { no: 3, name: "INTEGER" },
581
- { no: 4, name: "BOOLEAN" },
582
- ]);
434
+
435
+ /**
436
+ * Describes the enum grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type.
437
+ */
438
+ export const HeaderParameter_TypeSchema: GenEnum<HeaderParameter_Type> = /*@__PURE__*/
439
+ enumDesc(file_protoc_gen_openapiv2_options_openapiv2, 3, 0);
583
440
 
584
441
  /**
585
442
  * `Header` is a representation of OpenAPI v2 specification's Header object.
@@ -589,27 +446,27 @@ proto3.util.setEnumType(HeaderParameter_Type, "grpc.gateway.protoc_gen_openapiv2
589
446
  *
590
447
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Header
591
448
  */
592
- export class Header extends Message<Header> {
449
+ export type Header = Message<"grpc.gateway.protoc_gen_openapiv2.options.Header"> & {
593
450
  /**
594
451
  * `Description` is a short description of the header.
595
452
  *
596
453
  * @generated from field: string description = 1;
597
454
  */
598
- description = "";
455
+ description: string;
599
456
 
600
457
  /**
601
458
  * The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
602
459
  *
603
460
  * @generated from field: string type = 2;
604
461
  */
605
- type = "";
462
+ type: string;
606
463
 
607
464
  /**
608
465
  * `Format` The extending format for the previously mentioned type.
609
466
  *
610
467
  * @generated from field: string format = 3;
611
468
  */
612
- format = "";
469
+ format: string;
613
470
 
614
471
  /**
615
472
  * `Default` Declares the value of the header that the server will use if none is provided.
@@ -618,46 +475,22 @@ export class Header extends Message<Header> {
618
475
  *
619
476
  * @generated from field: string default = 6;
620
477
  */
621
- default = "";
478
+ default: string;
622
479
 
623
480
  /**
624
481
  * 'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.
625
482
  *
626
483
  * @generated from field: string pattern = 13;
627
484
  */
628
- pattern = "";
629
-
630
- constructor(data?: PartialMessage<Header>) {
631
- super();
632
- proto3.util.initPartial(data, this);
633
- }
634
-
635
- static readonly runtime: typeof proto3 = proto3;
636
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Header";
637
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
638
- { no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
639
- { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
640
- { no: 3, name: "format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
641
- { no: 6, name: "default", kind: "scalar", T: 9 /* ScalarType.STRING */ },
642
- { no: 13, name: "pattern", kind: "scalar", T: 9 /* ScalarType.STRING */ },
643
- ]);
644
-
645
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Header {
646
- return new Header().fromBinary(bytes, options);
647
- }
648
-
649
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Header {
650
- return new Header().fromJson(jsonValue, options);
651
- }
652
-
653
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Header {
654
- return new Header().fromJsonString(jsonString, options);
655
- }
656
-
657
- static equals(a: Header | PlainMessage<Header> | undefined, b: Header | PlainMessage<Header> | undefined): boolean {
658
- return proto3.util.equals(Header, a, b);
659
- }
660
- }
485
+ pattern: string;
486
+ };
487
+
488
+ /**
489
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Header.
490
+ * Use `create(HeaderSchema)` to create a new message.
491
+ */
492
+ export const HeaderSchema: GenMessage<Header> = /*@__PURE__*/
493
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 4);
661
494
 
662
495
  /**
663
496
  * `Response` is a representation of OpenAPI v2 specification's Response object.
@@ -667,14 +500,14 @@ export class Header extends Message<Header> {
667
500
  *
668
501
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Response
669
502
  */
670
- export class Response extends Message<Response> {
503
+ export type Response = Message<"grpc.gateway.protoc_gen_openapiv2.options.Response"> & {
671
504
  /**
672
505
  * `Description` is a short description of the response.
673
506
  * GFM syntax can be used for rich text representation.
674
507
  *
675
508
  * @generated from field: string description = 1;
676
509
  */
677
- description = "";
510
+ description: string;
678
511
 
679
512
  /**
680
513
  * `Schema` optionally defines the structure of the response.
@@ -691,7 +524,7 @@ export class Response extends Message<Response> {
691
524
  *
692
525
  * @generated from field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3;
693
526
  */
694
- headers: { [key: string]: Header } = {};
527
+ headers: { [key: string]: Header };
695
528
 
696
529
  /**
697
530
  * `Examples` gives per-mimetype response examples.
@@ -699,7 +532,7 @@ export class Response extends Message<Response> {
699
532
  *
700
533
  * @generated from field: map<string, string> examples = 4;
701
534
  */
702
- examples: { [key: string]: string } = {};
535
+ examples: { [key: string]: string };
703
536
 
704
537
  /**
705
538
  * Custom properties that start with "x-" such as "x-foo" used to describe
@@ -708,39 +541,15 @@ export class Response extends Message<Response> {
708
541
  *
709
542
  * @generated from field: map<string, google.protobuf.Value> extensions = 5;
710
543
  */
711
- extensions: { [key: string]: Value } = {};
712
-
713
- constructor(data?: PartialMessage<Response>) {
714
- super();
715
- proto3.util.initPartial(data, this);
716
- }
717
-
718
- static readonly runtime: typeof proto3 = proto3;
719
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Response";
720
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
721
- { no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
722
- { no: 2, name: "schema", kind: "message", T: Schema },
723
- { no: 3, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Header} },
724
- { no: 4, name: "examples", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
725
- { no: 5, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
726
- ]);
727
-
728
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Response {
729
- return new Response().fromBinary(bytes, options);
730
- }
731
-
732
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Response {
733
- return new Response().fromJson(jsonValue, options);
734
- }
735
-
736
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Response {
737
- return new Response().fromJsonString(jsonString, options);
738
- }
739
-
740
- static equals(a: Response | PlainMessage<Response> | undefined, b: Response | PlainMessage<Response> | undefined): boolean {
741
- return proto3.util.equals(Response, a, b);
742
- }
743
- }
544
+ extensions: { [key: string]: Value };
545
+ };
546
+
547
+ /**
548
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Response.
549
+ * Use `create(ResponseSchema)` to create a new message.
550
+ */
551
+ export const ResponseSchema: GenMessage<Response> = /*@__PURE__*/
552
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 5);
744
553
 
745
554
  /**
746
555
  * `Info` is a representation of OpenAPI v2 specification's Info object.
@@ -770,13 +579,13 @@ export class Response extends Message<Response> {
770
579
  *
771
580
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Info
772
581
  */
773
- export class Info extends Message<Info> {
582
+ export type Info = Message<"grpc.gateway.protoc_gen_openapiv2.options.Info"> & {
774
583
  /**
775
584
  * The title of the application.
776
585
  *
777
586
  * @generated from field: string title = 1;
778
587
  */
779
- title = "";
588
+ title: string;
780
589
 
781
590
  /**
782
591
  * A short description of the application. GFM syntax can be used for rich
@@ -784,14 +593,14 @@ export class Info extends Message<Info> {
784
593
  *
785
594
  * @generated from field: string description = 2;
786
595
  */
787
- description = "";
596
+ description: string;
788
597
 
789
598
  /**
790
599
  * The Terms of Service for the API.
791
600
  *
792
601
  * @generated from field: string terms_of_service = 3;
793
602
  */
794
- termsOfService = "";
603
+ termsOfService: string;
795
604
 
796
605
  /**
797
606
  * The contact information for the exposed API.
@@ -813,7 +622,7 @@ export class Info extends Message<Info> {
813
622
  *
814
623
  * @generated from field: string version = 6;
815
624
  */
816
- version = "";
625
+ version: string;
817
626
 
818
627
  /**
819
628
  * Custom properties that start with "x-" such as "x-foo" used to describe
@@ -822,41 +631,15 @@ export class Info extends Message<Info> {
822
631
  *
823
632
  * @generated from field: map<string, google.protobuf.Value> extensions = 7;
824
633
  */
825
- extensions: { [key: string]: Value } = {};
826
-
827
- constructor(data?: PartialMessage<Info>) {
828
- super();
829
- proto3.util.initPartial(data, this);
830
- }
831
-
832
- static readonly runtime: typeof proto3 = proto3;
833
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Info";
834
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
835
- { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
836
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
837
- { no: 3, name: "terms_of_service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
838
- { no: 4, name: "contact", kind: "message", T: Contact },
839
- { no: 5, name: "license", kind: "message", T: License },
840
- { no: 6, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
841
- { no: 7, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
842
- ]);
843
-
844
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Info {
845
- return new Info().fromBinary(bytes, options);
846
- }
847
-
848
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Info {
849
- return new Info().fromJson(jsonValue, options);
850
- }
851
-
852
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Info {
853
- return new Info().fromJsonString(jsonString, options);
854
- }
855
-
856
- static equals(a: Info | PlainMessage<Info> | undefined, b: Info | PlainMessage<Info> | undefined): boolean {
857
- return proto3.util.equals(Info, a, b);
858
- }
859
- }
634
+ extensions: { [key: string]: Value };
635
+ };
636
+
637
+ /**
638
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Info.
639
+ * Use `create(InfoSchema)` to create a new message.
640
+ */
641
+ export const InfoSchema: GenMessage<Info> = /*@__PURE__*/
642
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 6);
860
643
 
861
644
  /**
862
645
  * `Contact` is a representation of OpenAPI v2 specification's Contact object.
@@ -881,13 +664,13 @@ export class Info extends Message<Info> {
881
664
  *
882
665
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Contact
883
666
  */
884
- export class Contact extends Message<Contact> {
667
+ export type Contact = Message<"grpc.gateway.protoc_gen_openapiv2.options.Contact"> & {
885
668
  /**
886
669
  * The identifying name of the contact person/organization.
887
670
  *
888
671
  * @generated from field: string name = 1;
889
672
  */
890
- name = "";
673
+ name: string;
891
674
 
892
675
  /**
893
676
  * The URL pointing to the contact information. MUST be in the format of a
@@ -895,7 +678,7 @@ export class Contact extends Message<Contact> {
895
678
  *
896
679
  * @generated from field: string url = 2;
897
680
  */
898
- url = "";
681
+ url: string;
899
682
 
900
683
  /**
901
684
  * The email address of the contact person/organization. MUST be in the format
@@ -903,37 +686,15 @@ export class Contact extends Message<Contact> {
903
686
  *
904
687
  * @generated from field: string email = 3;
905
688
  */
906
- email = "";
907
-
908
- constructor(data?: PartialMessage<Contact>) {
909
- super();
910
- proto3.util.initPartial(data, this);
911
- }
689
+ email: string;
690
+ };
912
691
 
913
- static readonly runtime: typeof proto3 = proto3;
914
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Contact";
915
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
916
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
917
- { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
918
- { no: 3, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
919
- ]);
920
-
921
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Contact {
922
- return new Contact().fromBinary(bytes, options);
923
- }
924
-
925
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Contact {
926
- return new Contact().fromJson(jsonValue, options);
927
- }
928
-
929
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Contact {
930
- return new Contact().fromJsonString(jsonString, options);
931
- }
932
-
933
- static equals(a: Contact | PlainMessage<Contact> | undefined, b: Contact | PlainMessage<Contact> | undefined): boolean {
934
- return proto3.util.equals(Contact, a, b);
935
- }
936
- }
692
+ /**
693
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Contact.
694
+ * Use `create(ContactSchema)` to create a new message.
695
+ */
696
+ export const ContactSchema: GenMessage<Contact> = /*@__PURE__*/
697
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 7);
937
698
 
938
699
  /**
939
700
  * `License` is a representation of OpenAPI v2 specification's License object.
@@ -957,49 +718,28 @@ export class Contact extends Message<Contact> {
957
718
  *
958
719
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.License
959
720
  */
960
- export class License extends Message<License> {
721
+ export type License = Message<"grpc.gateway.protoc_gen_openapiv2.options.License"> & {
961
722
  /**
962
723
  * The license name used for the API.
963
724
  *
964
725
  * @generated from field: string name = 1;
965
726
  */
966
- name = "";
727
+ name: string;
967
728
 
968
729
  /**
969
730
  * A URL to the license used for the API. MUST be in the format of a URL.
970
731
  *
971
732
  * @generated from field: string url = 2;
972
733
  */
973
- url = "";
734
+ url: string;
735
+ };
974
736
 
975
- constructor(data?: PartialMessage<License>) {
976
- super();
977
- proto3.util.initPartial(data, this);
978
- }
979
-
980
- static readonly runtime: typeof proto3 = proto3;
981
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.License";
982
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
983
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
984
- { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
985
- ]);
986
-
987
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): License {
988
- return new License().fromBinary(bytes, options);
989
- }
990
-
991
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): License {
992
- return new License().fromJson(jsonValue, options);
993
- }
994
-
995
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): License {
996
- return new License().fromJsonString(jsonString, options);
997
- }
998
-
999
- static equals(a: License | PlainMessage<License> | undefined, b: License | PlainMessage<License> | undefined): boolean {
1000
- return proto3.util.equals(License, a, b);
1001
- }
1002
- }
737
+ /**
738
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.License.
739
+ * Use `create(LicenseSchema)` to create a new message.
740
+ */
741
+ export const LicenseSchema: GenMessage<License> = /*@__PURE__*/
742
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 8);
1003
743
 
1004
744
  /**
1005
745
  * `ExternalDocumentation` is a representation of OpenAPI v2 specification's
@@ -1021,14 +761,14 @@ export class License extends Message<License> {
1021
761
  *
1022
762
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
1023
763
  */
1024
- export class ExternalDocumentation extends Message<ExternalDocumentation> {
764
+ export type ExternalDocumentation = Message<"grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation"> & {
1025
765
  /**
1026
766
  * A short description of the target documentation. GFM syntax can be used for
1027
767
  * rich text representation.
1028
768
  *
1029
769
  * @generated from field: string description = 1;
1030
770
  */
1031
- description = "";
771
+ description: string;
1032
772
 
1033
773
  /**
1034
774
  * The URL for the target documentation. Value MUST be in the format
@@ -1036,36 +776,15 @@ export class ExternalDocumentation extends Message<ExternalDocumentation> {
1036
776
  *
1037
777
  * @generated from field: string url = 2;
1038
778
  */
1039
- url = "";
1040
-
1041
- constructor(data?: PartialMessage<ExternalDocumentation>) {
1042
- super();
1043
- proto3.util.initPartial(data, this);
1044
- }
1045
-
1046
- static readonly runtime: typeof proto3 = proto3;
1047
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation";
1048
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1049
- { no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1050
- { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1051
- ]);
1052
-
1053
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExternalDocumentation {
1054
- return new ExternalDocumentation().fromBinary(bytes, options);
1055
- }
1056
-
1057
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExternalDocumentation {
1058
- return new ExternalDocumentation().fromJson(jsonValue, options);
1059
- }
1060
-
1061
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExternalDocumentation {
1062
- return new ExternalDocumentation().fromJsonString(jsonString, options);
1063
- }
779
+ url: string;
780
+ };
1064
781
 
1065
- static equals(a: ExternalDocumentation | PlainMessage<ExternalDocumentation> | undefined, b: ExternalDocumentation | PlainMessage<ExternalDocumentation> | undefined): boolean {
1066
- return proto3.util.equals(ExternalDocumentation, a, b);
1067
- }
1068
- }
782
+ /**
783
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.
784
+ * Use `create(ExternalDocumentationSchema)` to create a new message.
785
+ */
786
+ export const ExternalDocumentationSchema: GenMessage<ExternalDocumentation> = /*@__PURE__*/
787
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 9);
1069
788
 
1070
789
  /**
1071
790
  * `Schema` is a representation of OpenAPI v2 specification's Schema object.
@@ -1075,7 +794,7 @@ export class ExternalDocumentation extends Message<ExternalDocumentation> {
1075
794
  *
1076
795
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Schema
1077
796
  */
1078
- export class Schema extends Message<Schema> {
797
+ export type Schema = Message<"grpc.gateway.protoc_gen_openapiv2.options.Schema"> & {
1079
798
  /**
1080
799
  * @generated from field: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1;
1081
800
  */
@@ -1090,7 +809,7 @@ export class Schema extends Message<Schema> {
1090
809
  *
1091
810
  * @generated from field: string discriminator = 2;
1092
811
  */
1093
- discriminator = "";
812
+ discriminator: string;
1094
813
 
1095
814
  /**
1096
815
  * Relevant only for Schema "properties" definitions. Declares the property as
@@ -1101,7 +820,7 @@ export class Schema extends Message<Schema> {
1101
820
  *
1102
821
  * @generated from field: bool read_only = 3;
1103
822
  */
1104
- readOnly = false;
823
+ readOnly: boolean;
1105
824
 
1106
825
  /**
1107
826
  * Additional external documentation for this schema.
@@ -1116,39 +835,15 @@ export class Schema extends Message<Schema> {
1116
835
  *
1117
836
  * @generated from field: string example = 6;
1118
837
  */
1119
- example = "";
1120
-
1121
- constructor(data?: PartialMessage<Schema>) {
1122
- super();
1123
- proto3.util.initPartial(data, this);
1124
- }
1125
-
1126
- static readonly runtime: typeof proto3 = proto3;
1127
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Schema";
1128
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1129
- { no: 1, name: "json_schema", kind: "message", T: JSONSchema },
1130
- { no: 2, name: "discriminator", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1131
- { no: 3, name: "read_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1132
- { no: 5, name: "external_docs", kind: "message", T: ExternalDocumentation },
1133
- { no: 6, name: "example", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1134
- ]);
1135
-
1136
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Schema {
1137
- return new Schema().fromBinary(bytes, options);
1138
- }
1139
-
1140
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Schema {
1141
- return new Schema().fromJson(jsonValue, options);
1142
- }
1143
-
1144
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Schema {
1145
- return new Schema().fromJsonString(jsonString, options);
1146
- }
1147
-
1148
- static equals(a: Schema | PlainMessage<Schema> | undefined, b: Schema | PlainMessage<Schema> | undefined): boolean {
1149
- return proto3.util.equals(Schema, a, b);
1150
- }
1151
- }
838
+ example: string;
839
+ };
840
+
841
+ /**
842
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Schema.
843
+ * Use `create(SchemaSchema)` to create a new message.
844
+ */
845
+ export const SchemaSchema: GenMessage<Schema> = /*@__PURE__*/
846
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 10);
1152
847
 
1153
848
  /**
1154
849
  * `JSONSchema` represents properties from JSON Schema taken, and as used, in
@@ -1182,7 +877,7 @@ export class Schema extends Message<Schema> {
1182
877
  *
1183
878
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.JSONSchema
1184
879
  */
1185
- export class JSONSchema extends Message<JSONSchema> {
880
+ export type JSONSchema = Message<"grpc.gateway.protoc_gen_openapiv2.options.JSONSchema"> & {
1186
881
  /**
1187
882
  * Ref is used to define an external reference to include in the message.
1188
883
  * This could be a fully qualified proto message reference, and that type must
@@ -1193,31 +888,31 @@ export class JSONSchema extends Message<JSONSchema> {
1193
888
  *
1194
889
  * @generated from field: string ref = 3;
1195
890
  */
1196
- ref = "";
891
+ ref: string;
1197
892
 
1198
893
  /**
1199
894
  * The title of the schema.
1200
895
  *
1201
896
  * @generated from field: string title = 5;
1202
897
  */
1203
- title = "";
898
+ title: string;
1204
899
 
1205
900
  /**
1206
901
  * A short description of the schema.
1207
902
  *
1208
903
  * @generated from field: string description = 6;
1209
904
  */
1210
- description = "";
905
+ description: string;
1211
906
 
1212
907
  /**
1213
908
  * @generated from field: string default = 7;
1214
909
  */
1215
- default = "";
910
+ default: string;
1216
911
 
1217
912
  /**
1218
913
  * @generated from field: bool read_only = 8;
1219
914
  */
1220
- readOnly = false;
915
+ readOnly: boolean;
1221
916
 
1222
917
  /**
1223
918
  * A free-form property to include a JSON example of this field. This is copied
@@ -1226,12 +921,12 @@ export class JSONSchema extends Message<JSONSchema> {
1226
921
  *
1227
922
  * @generated from field: string example = 9;
1228
923
  */
1229
- example = "";
924
+ example: string;
1230
925
 
1231
926
  /**
1232
927
  * @generated from field: double multiple_of = 10;
1233
928
  */
1234
- multipleOf = 0;
929
+ multipleOf: number;
1235
930
 
1236
931
  /**
1237
932
  * Maximum represents an inclusive upper limit for a numeric instance. The
@@ -1239,12 +934,12 @@ export class JSONSchema extends Message<JSONSchema> {
1239
934
  *
1240
935
  * @generated from field: double maximum = 11;
1241
936
  */
1242
- maximum = 0;
937
+ maximum: number;
1243
938
 
1244
939
  /**
1245
940
  * @generated from field: bool exclusive_maximum = 12;
1246
941
  */
1247
- exclusiveMaximum = false;
942
+ exclusiveMaximum: boolean;
1248
943
 
1249
944
  /**
1250
945
  * minimum represents an inclusive lower limit for a numeric instance. The
@@ -1252,83 +947,83 @@ export class JSONSchema extends Message<JSONSchema> {
1252
947
  *
1253
948
  * @generated from field: double minimum = 13;
1254
949
  */
1255
- minimum = 0;
950
+ minimum: number;
1256
951
 
1257
952
  /**
1258
953
  * @generated from field: bool exclusive_minimum = 14;
1259
954
  */
1260
- exclusiveMinimum = false;
955
+ exclusiveMinimum: boolean;
1261
956
 
1262
957
  /**
1263
958
  * @generated from field: uint64 max_length = 15;
1264
959
  */
1265
- maxLength = protoInt64.zero;
960
+ maxLength: bigint;
1266
961
 
1267
962
  /**
1268
963
  * @generated from field: uint64 min_length = 16;
1269
964
  */
1270
- minLength = protoInt64.zero;
965
+ minLength: bigint;
1271
966
 
1272
967
  /**
1273
968
  * @generated from field: string pattern = 17;
1274
969
  */
1275
- pattern = "";
970
+ pattern: string;
1276
971
 
1277
972
  /**
1278
973
  * @generated from field: uint64 max_items = 20;
1279
974
  */
1280
- maxItems = protoInt64.zero;
975
+ maxItems: bigint;
1281
976
 
1282
977
  /**
1283
978
  * @generated from field: uint64 min_items = 21;
1284
979
  */
1285
- minItems = protoInt64.zero;
980
+ minItems: bigint;
1286
981
 
1287
982
  /**
1288
983
  * @generated from field: bool unique_items = 22;
1289
984
  */
1290
- uniqueItems = false;
985
+ uniqueItems: boolean;
1291
986
 
1292
987
  /**
1293
988
  * @generated from field: uint64 max_properties = 24;
1294
989
  */
1295
- maxProperties = protoInt64.zero;
990
+ maxProperties: bigint;
1296
991
 
1297
992
  /**
1298
993
  * @generated from field: uint64 min_properties = 25;
1299
994
  */
1300
- minProperties = protoInt64.zero;
995
+ minProperties: bigint;
1301
996
 
1302
997
  /**
1303
998
  * @generated from field: repeated string required = 26;
1304
999
  */
1305
- required: string[] = [];
1000
+ required: string[];
1306
1001
 
1307
1002
  /**
1308
1003
  * Items in 'array' must be unique.
1309
1004
  *
1310
1005
  * @generated from field: repeated string array = 34;
1311
1006
  */
1312
- array: string[] = [];
1007
+ array: string[];
1313
1008
 
1314
1009
  /**
1315
1010
  * @generated from field: repeated grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;
1316
1011
  */
1317
- type: JSONSchema_JSONSchemaSimpleTypes[] = [];
1012
+ type: JSONSchema_JSONSchemaSimpleTypes[];
1318
1013
 
1319
1014
  /**
1320
1015
  * `Format`
1321
1016
  *
1322
1017
  * @generated from field: string format = 36;
1323
1018
  */
1324
- format = "";
1019
+ format: string;
1325
1020
 
1326
1021
  /**
1327
1022
  * Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
1328
1023
  *
1329
1024
  * @generated from field: repeated string enum = 46;
1330
1025
  */
1331
- enum: string[] = [];
1026
+ enum: string[];
1332
1027
 
1333
1028
  /**
1334
1029
  * Additional field level properties used when generating the OpenAPI v2 file.
@@ -1344,60 +1039,40 @@ export class JSONSchema extends Message<JSONSchema> {
1344
1039
  *
1345
1040
  * @generated from field: map<string, google.protobuf.Value> extensions = 48;
1346
1041
  */
1347
- extensions: { [key: string]: Value } = {};
1348
-
1349
- constructor(data?: PartialMessage<JSONSchema>) {
1350
- super();
1351
- proto3.util.initPartial(data, this);
1352
- }
1353
-
1354
- static readonly runtime: typeof proto3 = proto3;
1355
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema";
1356
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1357
- { no: 3, name: "ref", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1358
- { no: 5, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1359
- { no: 6, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1360
- { no: 7, name: "default", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1361
- { no: 8, name: "read_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1362
- { no: 9, name: "example", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1363
- { no: 10, name: "multiple_of", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1364
- { no: 11, name: "maximum", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1365
- { no: 12, name: "exclusive_maximum", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1366
- { no: 13, name: "minimum", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1367
- { no: 14, name: "exclusive_minimum", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1368
- { no: 15, name: "max_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1369
- { no: 16, name: "min_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1370
- { no: 17, name: "pattern", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1371
- { no: 20, name: "max_items", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1372
- { no: 21, name: "min_items", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1373
- { no: 22, name: "unique_items", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1374
- { no: 24, name: "max_properties", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1375
- { no: 25, name: "min_properties", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1376
- { no: 26, name: "required", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1377
- { no: 34, name: "array", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1378
- { no: 35, name: "type", kind: "enum", T: proto3.getEnumType(JSONSchema_JSONSchemaSimpleTypes), repeated: true },
1379
- { no: 36, name: "format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1380
- { no: 46, name: "enum", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1381
- { no: 1001, name: "field_configuration", kind: "message", T: JSONSchema_FieldConfiguration },
1382
- { no: 48, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
1383
- ]);
1384
-
1385
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JSONSchema {
1386
- return new JSONSchema().fromBinary(bytes, options);
1387
- }
1388
-
1389
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JSONSchema {
1390
- return new JSONSchema().fromJson(jsonValue, options);
1391
- }
1392
-
1393
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JSONSchema {
1394
- return new JSONSchema().fromJsonString(jsonString, options);
1395
- }
1396
-
1397
- static equals(a: JSONSchema | PlainMessage<JSONSchema> | undefined, b: JSONSchema | PlainMessage<JSONSchema> | undefined): boolean {
1398
- return proto3.util.equals(JSONSchema, a, b);
1399
- }
1400
- }
1042
+ extensions: { [key: string]: Value };
1043
+ };
1044
+
1045
+ /**
1046
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.
1047
+ * Use `create(JSONSchemaSchema)` to create a new message.
1048
+ */
1049
+ export const JSONSchemaSchema: GenMessage<JSONSchema> = /*@__PURE__*/
1050
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 11);
1051
+
1052
+ /**
1053
+ * 'FieldConfiguration' provides additional field level properties used when generating the OpenAPI v2 file.
1054
+ * These properties are not defined by OpenAPIv2, but they are used to control the generation.
1055
+ *
1056
+ * @generated from message grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration
1057
+ */
1058
+ export type JSONSchema_FieldConfiguration = Message<"grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration"> & {
1059
+ /**
1060
+ * Alternative parameter name when used as path parameter. If set, this will
1061
+ * be used as the complete parameter name when this field is used as a path
1062
+ * parameter. Use this to avoid having auto generated path parameter names
1063
+ * for overlapping paths.
1064
+ *
1065
+ * @generated from field: string path_param_name = 47;
1066
+ */
1067
+ pathParamName: string;
1068
+ };
1069
+
1070
+ /**
1071
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.
1072
+ * Use `create(JSONSchema_FieldConfigurationSchema)` to create a new message.
1073
+ */
1074
+ export const JSONSchema_FieldConfigurationSchema: GenMessage<JSONSchema_FieldConfiguration> = /*@__PURE__*/
1075
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 11, 0);
1401
1076
 
1402
1077
  /**
1403
1078
  * @generated from enum grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes
@@ -1443,62 +1118,12 @@ export enum JSONSchema_JSONSchemaSimpleTypes {
1443
1118
  */
1444
1119
  STRING = 7,
1445
1120
  }
1446
- // Retrieve enum metadata with: proto3.getEnumType(JSONSchema_JSONSchemaSimpleTypes)
1447
- proto3.util.setEnumType(JSONSchema_JSONSchemaSimpleTypes, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes", [
1448
- { no: 0, name: "UNKNOWN" },
1449
- { no: 1, name: "ARRAY" },
1450
- { no: 2, name: "BOOLEAN" },
1451
- { no: 3, name: "INTEGER" },
1452
- { no: 4, name: "NULL" },
1453
- { no: 5, name: "NUMBER" },
1454
- { no: 6, name: "OBJECT" },
1455
- { no: 7, name: "STRING" },
1456
- ]);
1457
1121
 
1458
1122
  /**
1459
- * 'FieldConfiguration' provides additional field level properties used when generating the OpenAPI v2 file.
1460
- * These properties are not defined by OpenAPIv2, but they are used to control the generation.
1461
- *
1462
- * @generated from message grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration
1123
+ * Describes the enum grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes.
1463
1124
  */
1464
- export class JSONSchema_FieldConfiguration extends Message<JSONSchema_FieldConfiguration> {
1465
- /**
1466
- * Alternative parameter name when used as path parameter. If set, this will
1467
- * be used as the complete parameter name when this field is used as a path
1468
- * parameter. Use this to avoid having auto generated path parameter names
1469
- * for overlapping paths.
1470
- *
1471
- * @generated from field: string path_param_name = 47;
1472
- */
1473
- pathParamName = "";
1474
-
1475
- constructor(data?: PartialMessage<JSONSchema_FieldConfiguration>) {
1476
- super();
1477
- proto3.util.initPartial(data, this);
1478
- }
1479
-
1480
- static readonly runtime: typeof proto3 = proto3;
1481
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration";
1482
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1483
- { no: 47, name: "path_param_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1484
- ]);
1485
-
1486
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JSONSchema_FieldConfiguration {
1487
- return new JSONSchema_FieldConfiguration().fromBinary(bytes, options);
1488
- }
1489
-
1490
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JSONSchema_FieldConfiguration {
1491
- return new JSONSchema_FieldConfiguration().fromJson(jsonValue, options);
1492
- }
1493
-
1494
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JSONSchema_FieldConfiguration {
1495
- return new JSONSchema_FieldConfiguration().fromJsonString(jsonString, options);
1496
- }
1497
-
1498
- static equals(a: JSONSchema_FieldConfiguration | PlainMessage<JSONSchema_FieldConfiguration> | undefined, b: JSONSchema_FieldConfiguration | PlainMessage<JSONSchema_FieldConfiguration> | undefined): boolean {
1499
- return proto3.util.equals(JSONSchema_FieldConfiguration, a, b);
1500
- }
1501
- }
1125
+ export const JSONSchema_JSONSchemaSimpleTypesSchema: GenEnum<JSONSchema_JSONSchemaSimpleTypes> = /*@__PURE__*/
1126
+ enumDesc(file_protoc_gen_openapiv2_options_openapiv2, 11, 0);
1502
1127
 
1503
1128
  /**
1504
1129
  * `Tag` is a representation of OpenAPI v2 specification's Tag object.
@@ -1508,7 +1133,7 @@ export class JSONSchema_FieldConfiguration extends Message<JSONSchema_FieldConfi
1508
1133
  *
1509
1134
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Tag
1510
1135
  */
1511
- export class Tag extends Message<Tag> {
1136
+ export type Tag = Message<"grpc.gateway.protoc_gen_openapiv2.options.Tag"> & {
1512
1137
  /**
1513
1138
  * The name of the tag. Use it to allow override of the name of a
1514
1139
  * global Tag object, then use that name to reference the tag throughout the
@@ -1516,7 +1141,7 @@ export class Tag extends Message<Tag> {
1516
1141
  *
1517
1142
  * @generated from field: string name = 1;
1518
1143
  */
1519
- name = "";
1144
+ name: string;
1520
1145
 
1521
1146
  /**
1522
1147
  * A short description for the tag. GFM syntax can be used for rich text
@@ -1524,7 +1149,7 @@ export class Tag extends Message<Tag> {
1524
1149
  *
1525
1150
  * @generated from field: string description = 2;
1526
1151
  */
1527
- description = "";
1152
+ description: string;
1528
1153
 
1529
1154
  /**
1530
1155
  * Additional external documentation for this tag.
@@ -1540,38 +1165,15 @@ export class Tag extends Message<Tag> {
1540
1165
  *
1541
1166
  * @generated from field: map<string, google.protobuf.Value> extensions = 4;
1542
1167
  */
1543
- extensions: { [key: string]: Value } = {};
1544
-
1545
- constructor(data?: PartialMessage<Tag>) {
1546
- super();
1547
- proto3.util.initPartial(data, this);
1548
- }
1549
-
1550
- static readonly runtime: typeof proto3 = proto3;
1551
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Tag";
1552
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1553
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1554
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1555
- { no: 3, name: "external_docs", kind: "message", T: ExternalDocumentation },
1556
- { no: 4, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
1557
- ]);
1558
-
1559
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Tag {
1560
- return new Tag().fromBinary(bytes, options);
1561
- }
1562
-
1563
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Tag {
1564
- return new Tag().fromJson(jsonValue, options);
1565
- }
1566
-
1567
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Tag {
1568
- return new Tag().fromJsonString(jsonString, options);
1569
- }
1570
-
1571
- static equals(a: Tag | PlainMessage<Tag> | undefined, b: Tag | PlainMessage<Tag> | undefined): boolean {
1572
- return proto3.util.equals(Tag, a, b);
1573
- }
1574
- }
1168
+ extensions: { [key: string]: Value };
1169
+ };
1170
+
1171
+ /**
1172
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Tag.
1173
+ * Use `create(TagSchema)` to create a new message.
1174
+ */
1175
+ export const TagSchema: GenMessage<Tag> = /*@__PURE__*/
1176
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 12);
1575
1177
 
1576
1178
  /**
1577
1179
  * `SecurityDefinitions` is a representation of OpenAPI v2 specification's
@@ -1585,42 +1187,22 @@ export class Tag extends Message<Tag> {
1585
1187
  *
1586
1188
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions
1587
1189
  */
1588
- export class SecurityDefinitions extends Message<SecurityDefinitions> {
1190
+ export type SecurityDefinitions = Message<"grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions"> & {
1589
1191
  /**
1590
1192
  * A single security scheme definition, mapping a "name" to the scheme it
1591
1193
  * defines.
1592
1194
  *
1593
1195
  * @generated from field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
1594
1196
  */
1595
- security: { [key: string]: SecurityScheme } = {};
1596
-
1597
- constructor(data?: PartialMessage<SecurityDefinitions>) {
1598
- super();
1599
- proto3.util.initPartial(data, this);
1600
- }
1601
-
1602
- static readonly runtime: typeof proto3 = proto3;
1603
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions";
1604
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1605
- { no: 1, name: "security", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: SecurityScheme} },
1606
- ]);
1607
-
1608
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecurityDefinitions {
1609
- return new SecurityDefinitions().fromBinary(bytes, options);
1610
- }
1611
-
1612
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecurityDefinitions {
1613
- return new SecurityDefinitions().fromJson(jsonValue, options);
1614
- }
1615
-
1616
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecurityDefinitions {
1617
- return new SecurityDefinitions().fromJsonString(jsonString, options);
1618
- }
1197
+ security: { [key: string]: SecurityScheme };
1198
+ };
1619
1199
 
1620
- static equals(a: SecurityDefinitions | PlainMessage<SecurityDefinitions> | undefined, b: SecurityDefinitions | PlainMessage<SecurityDefinitions> | undefined): boolean {
1621
- return proto3.util.equals(SecurityDefinitions, a, b);
1622
- }
1623
- }
1200
+ /**
1201
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.
1202
+ * Use `create(SecurityDefinitionsSchema)` to create a new message.
1203
+ */
1204
+ export const SecurityDefinitionsSchema: GenMessage<SecurityDefinitions> = /*@__PURE__*/
1205
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 13);
1624
1206
 
1625
1207
  /**
1626
1208
  * `SecurityScheme` is a representation of OpenAPI v2 specification's
@@ -1635,21 +1217,21 @@ export class SecurityDefinitions extends Message<SecurityDefinitions> {
1635
1217
  *
1636
1218
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme
1637
1219
  */
1638
- export class SecurityScheme extends Message<SecurityScheme> {
1220
+ export type SecurityScheme = Message<"grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme"> & {
1639
1221
  /**
1640
1222
  * The type of the security scheme. Valid values are "basic",
1641
1223
  * "apiKey" or "oauth2".
1642
1224
  *
1643
1225
  * @generated from field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1;
1644
1226
  */
1645
- type = SecurityScheme_Type.INVALID;
1227
+ type: SecurityScheme_Type;
1646
1228
 
1647
1229
  /**
1648
1230
  * A short description for security scheme.
1649
1231
  *
1650
1232
  * @generated from field: string description = 2;
1651
1233
  */
1652
- description = "";
1234
+ description: string;
1653
1235
 
1654
1236
  /**
1655
1237
  * The name of the header or query parameter to be used.
@@ -1657,7 +1239,7 @@ export class SecurityScheme extends Message<SecurityScheme> {
1657
1239
  *
1658
1240
  * @generated from field: string name = 3;
1659
1241
  */
1660
- name = "";
1242
+ name: string;
1661
1243
 
1662
1244
  /**
1663
1245
  * The location of the API key. Valid values are "query" or
@@ -1666,7 +1248,7 @@ export class SecurityScheme extends Message<SecurityScheme> {
1666
1248
  *
1667
1249
  * @generated from field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4;
1668
1250
  */
1669
- in = SecurityScheme_In.INVALID;
1251
+ in: SecurityScheme_In;
1670
1252
 
1671
1253
  /**
1672
1254
  * The flow used by the OAuth2 security scheme. Valid values are
@@ -1675,7 +1257,7 @@ export class SecurityScheme extends Message<SecurityScheme> {
1675
1257
  *
1676
1258
  * @generated from field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5;
1677
1259
  */
1678
- flow = SecurityScheme_Flow.INVALID;
1260
+ flow: SecurityScheme_Flow;
1679
1261
 
1680
1262
  /**
1681
1263
  * The authorization URL to be used for this flow. This SHOULD be in
@@ -1684,7 +1266,7 @@ export class SecurityScheme extends Message<SecurityScheme> {
1684
1266
  *
1685
1267
  * @generated from field: string authorization_url = 6;
1686
1268
  */
1687
- authorizationUrl = "";
1269
+ authorizationUrl: string;
1688
1270
 
1689
1271
  /**
1690
1272
  * The token URL to be used for this flow. This SHOULD be in the
@@ -1693,7 +1275,7 @@ export class SecurityScheme extends Message<SecurityScheme> {
1693
1275
  *
1694
1276
  * @generated from field: string token_url = 7;
1695
1277
  */
1696
- tokenUrl = "";
1278
+ tokenUrl: string;
1697
1279
 
1698
1280
  /**
1699
1281
  * The available scopes for the OAuth2 security scheme.
@@ -1710,43 +1292,15 @@ export class SecurityScheme extends Message<SecurityScheme> {
1710
1292
  *
1711
1293
  * @generated from field: map<string, google.protobuf.Value> extensions = 9;
1712
1294
  */
1713
- extensions: { [key: string]: Value } = {};
1714
-
1715
- constructor(data?: PartialMessage<SecurityScheme>) {
1716
- super();
1717
- proto3.util.initPartial(data, this);
1718
- }
1719
-
1720
- static readonly runtime: typeof proto3 = proto3;
1721
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme";
1722
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1723
- { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(SecurityScheme_Type) },
1724
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1725
- { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1726
- { no: 4, name: "in", kind: "enum", T: proto3.getEnumType(SecurityScheme_In) },
1727
- { no: 5, name: "flow", kind: "enum", T: proto3.getEnumType(SecurityScheme_Flow) },
1728
- { no: 6, name: "authorization_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1729
- { no: 7, name: "token_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1730
- { no: 8, name: "scopes", kind: "message", T: Scopes },
1731
- { no: 9, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
1732
- ]);
1733
-
1734
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecurityScheme {
1735
- return new SecurityScheme().fromBinary(bytes, options);
1736
- }
1737
-
1738
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecurityScheme {
1739
- return new SecurityScheme().fromJson(jsonValue, options);
1740
- }
1741
-
1742
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecurityScheme {
1743
- return new SecurityScheme().fromJsonString(jsonString, options);
1744
- }
1745
-
1746
- static equals(a: SecurityScheme | PlainMessage<SecurityScheme> | undefined, b: SecurityScheme | PlainMessage<SecurityScheme> | undefined): boolean {
1747
- return proto3.util.equals(SecurityScheme, a, b);
1748
- }
1749
- }
1295
+ extensions: { [key: string]: Value };
1296
+ };
1297
+
1298
+ /**
1299
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.
1300
+ * Use `create(SecuritySchemeSchema)` to create a new message.
1301
+ */
1302
+ export const SecuritySchemeSchema: GenMessage<SecurityScheme> = /*@__PURE__*/
1303
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 14);
1750
1304
 
1751
1305
  /**
1752
1306
  * The type of the security scheme. Valid values are "basic",
@@ -1775,13 +1329,12 @@ export enum SecurityScheme_Type {
1775
1329
  */
1776
1330
  OAUTH2 = 3,
1777
1331
  }
1778
- // Retrieve enum metadata with: proto3.getEnumType(SecurityScheme_Type)
1779
- proto3.util.setEnumType(SecurityScheme_Type, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type", [
1780
- { no: 0, name: "TYPE_INVALID" },
1781
- { no: 1, name: "TYPE_BASIC" },
1782
- { no: 2, name: "TYPE_API_KEY" },
1783
- { no: 3, name: "TYPE_OAUTH2" },
1784
- ]);
1332
+
1333
+ /**
1334
+ * Describes the enum grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type.
1335
+ */
1336
+ export const SecurityScheme_TypeSchema: GenEnum<SecurityScheme_Type> = /*@__PURE__*/
1337
+ enumDesc(file_protoc_gen_openapiv2_options_openapiv2, 14, 0);
1785
1338
 
1786
1339
  /**
1787
1340
  * The location of the API key. Valid values are "query" or "header".
@@ -1804,12 +1357,12 @@ export enum SecurityScheme_In {
1804
1357
  */
1805
1358
  HEADER = 2,
1806
1359
  }
1807
- // Retrieve enum metadata with: proto3.getEnumType(SecurityScheme_In)
1808
- proto3.util.setEnumType(SecurityScheme_In, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In", [
1809
- { no: 0, name: "IN_INVALID" },
1810
- { no: 1, name: "IN_QUERY" },
1811
- { no: 2, name: "IN_HEADER" },
1812
- ]);
1360
+
1361
+ /**
1362
+ * Describes the enum grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In.
1363
+ */
1364
+ export const SecurityScheme_InSchema: GenEnum<SecurityScheme_In> = /*@__PURE__*/
1365
+ enumDesc(file_protoc_gen_openapiv2_options_openapiv2, 14, 1);
1813
1366
 
1814
1367
  /**
1815
1368
  * The flow used by the OAuth2 security scheme. Valid values are
@@ -1843,14 +1396,12 @@ export enum SecurityScheme_Flow {
1843
1396
  */
1844
1397
  ACCESS_CODE = 4,
1845
1398
  }
1846
- // Retrieve enum metadata with: proto3.getEnumType(SecurityScheme_Flow)
1847
- proto3.util.setEnumType(SecurityScheme_Flow, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow", [
1848
- { no: 0, name: "FLOW_INVALID" },
1849
- { no: 1, name: "FLOW_IMPLICIT" },
1850
- { no: 2, name: "FLOW_PASSWORD" },
1851
- { no: 3, name: "FLOW_APPLICATION" },
1852
- { no: 4, name: "FLOW_ACCESS_CODE" },
1853
- ]);
1399
+
1400
+ /**
1401
+ * Describes the enum grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow.
1402
+ */
1403
+ export const SecurityScheme_FlowSchema: GenEnum<SecurityScheme_Flow> = /*@__PURE__*/
1404
+ enumDesc(file_protoc_gen_openapiv2_options_openapiv2, 14, 2);
1854
1405
 
1855
1406
  /**
1856
1407
  * `SecurityRequirement` is a representation of OpenAPI v2 specification's
@@ -1867,7 +1418,7 @@ proto3.util.setEnumType(SecurityScheme_Flow, "grpc.gateway.protoc_gen_openapiv2.
1867
1418
  *
1868
1419
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement
1869
1420
  */
1870
- export class SecurityRequirement extends Message<SecurityRequirement> {
1421
+ export type SecurityRequirement = Message<"grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement"> & {
1871
1422
  /**
1872
1423
  * Each name must correspond to a security scheme which is declared in
1873
1424
  * the Security Definitions. If the security scheme is of type "oauth2",
@@ -1876,35 +1427,15 @@ export class SecurityRequirement extends Message<SecurityRequirement> {
1876
1427
  *
1877
1428
  * @generated from field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1;
1878
1429
  */
1879
- securityRequirement: { [key: string]: SecurityRequirement_SecurityRequirementValue } = {};
1880
-
1881
- constructor(data?: PartialMessage<SecurityRequirement>) {
1882
- super();
1883
- proto3.util.initPartial(data, this);
1884
- }
1885
-
1886
- static readonly runtime: typeof proto3 = proto3;
1887
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement";
1888
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1889
- { no: 1, name: "security_requirement", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: SecurityRequirement_SecurityRequirementValue} },
1890
- ]);
1891
-
1892
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecurityRequirement {
1893
- return new SecurityRequirement().fromBinary(bytes, options);
1894
- }
1895
-
1896
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecurityRequirement {
1897
- return new SecurityRequirement().fromJson(jsonValue, options);
1898
- }
1430
+ securityRequirement: { [key: string]: SecurityRequirement_SecurityRequirementValue };
1431
+ };
1899
1432
 
1900
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecurityRequirement {
1901
- return new SecurityRequirement().fromJsonString(jsonString, options);
1902
- }
1903
-
1904
- static equals(a: SecurityRequirement | PlainMessage<SecurityRequirement> | undefined, b: SecurityRequirement | PlainMessage<SecurityRequirement> | undefined): boolean {
1905
- return proto3.util.equals(SecurityRequirement, a, b);
1906
- }
1907
- }
1433
+ /**
1434
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.
1435
+ * Use `create(SecurityRequirementSchema)` to create a new message.
1436
+ */
1437
+ export const SecurityRequirementSchema: GenMessage<SecurityRequirement> = /*@__PURE__*/
1438
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 15);
1908
1439
 
1909
1440
  /**
1910
1441
  * If the security scheme is of type "oauth2", then the value is a list of
@@ -1913,39 +1444,19 @@ export class SecurityRequirement extends Message<SecurityRequirement> {
1913
1444
  *
1914
1445
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue
1915
1446
  */
1916
- export class SecurityRequirement_SecurityRequirementValue extends Message<SecurityRequirement_SecurityRequirementValue> {
1447
+ export type SecurityRequirement_SecurityRequirementValue = Message<"grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue"> & {
1917
1448
  /**
1918
1449
  * @generated from field: repeated string scope = 1;
1919
1450
  */
1920
- scope: string[] = [];
1921
-
1922
- constructor(data?: PartialMessage<SecurityRequirement_SecurityRequirementValue>) {
1923
- super();
1924
- proto3.util.initPartial(data, this);
1925
- }
1926
-
1927
- static readonly runtime: typeof proto3 = proto3;
1928
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue";
1929
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1930
- { no: 1, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1931
- ]);
1451
+ scope: string[];
1452
+ };
1932
1453
 
1933
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecurityRequirement_SecurityRequirementValue {
1934
- return new SecurityRequirement_SecurityRequirementValue().fromBinary(bytes, options);
1935
- }
1936
-
1937
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecurityRequirement_SecurityRequirementValue {
1938
- return new SecurityRequirement_SecurityRequirementValue().fromJson(jsonValue, options);
1939
- }
1940
-
1941
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecurityRequirement_SecurityRequirementValue {
1942
- return new SecurityRequirement_SecurityRequirementValue().fromJsonString(jsonString, options);
1943
- }
1944
-
1945
- static equals(a: SecurityRequirement_SecurityRequirementValue | PlainMessage<SecurityRequirement_SecurityRequirementValue> | undefined, b: SecurityRequirement_SecurityRequirementValue | PlainMessage<SecurityRequirement_SecurityRequirementValue> | undefined): boolean {
1946
- return proto3.util.equals(SecurityRequirement_SecurityRequirementValue, a, b);
1947
- }
1948
- }
1454
+ /**
1455
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.
1456
+ * Use `create(SecurityRequirement_SecurityRequirementValueSchema)` to create a new message.
1457
+ */
1458
+ export const SecurityRequirement_SecurityRequirementValueSchema: GenMessage<SecurityRequirement_SecurityRequirementValue> = /*@__PURE__*/
1459
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 15, 0);
1949
1460
 
1950
1461
  /**
1951
1462
  * `Scopes` is a representation of OpenAPI v2 specification's Scopes object.
@@ -1956,40 +1467,59 @@ export class SecurityRequirement_SecurityRequirementValue extends Message<Securi
1956
1467
  *
1957
1468
  * @generated from message grpc.gateway.protoc_gen_openapiv2.options.Scopes
1958
1469
  */
1959
- export class Scopes extends Message<Scopes> {
1470
+ export type Scopes = Message<"grpc.gateway.protoc_gen_openapiv2.options.Scopes"> & {
1960
1471
  /**
1961
1472
  * Maps between a name of a scope to a short description of it (as the value
1962
1473
  * of the property).
1963
1474
  *
1964
1475
  * @generated from field: map<string, string> scope = 1;
1965
1476
  */
1966
- scope: { [key: string]: string } = {};
1477
+ scope: { [key: string]: string };
1478
+ };
1967
1479
 
1968
- constructor(data?: PartialMessage<Scopes>) {
1969
- super();
1970
- proto3.util.initPartial(data, this);
1971
- }
1480
+ /**
1481
+ * Describes the message grpc.gateway.protoc_gen_openapiv2.options.Scopes.
1482
+ * Use `create(ScopesSchema)` to create a new message.
1483
+ */
1484
+ export const ScopesSchema: GenMessage<Scopes> = /*@__PURE__*/
1485
+ messageDesc(file_protoc_gen_openapiv2_options_openapiv2, 16);
1972
1486
 
1973
- static readonly runtime: typeof proto3 = proto3;
1974
- static readonly typeName = "grpc.gateway.protoc_gen_openapiv2.options.Scopes";
1975
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1976
- { no: 1, name: "scope", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
1977
- ]);
1487
+ /**
1488
+ * Scheme describes the schemes supported by the OpenAPI Swagger
1489
+ * and Operation objects.
1490
+ *
1491
+ * @generated from enum grpc.gateway.protoc_gen_openapiv2.options.Scheme
1492
+ */
1493
+ export enum Scheme {
1494
+ /**
1495
+ * @generated from enum value: UNKNOWN = 0;
1496
+ */
1497
+ UNKNOWN = 0,
1978
1498
 
1979
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scopes {
1980
- return new Scopes().fromBinary(bytes, options);
1981
- }
1499
+ /**
1500
+ * @generated from enum value: HTTP = 1;
1501
+ */
1502
+ HTTP = 1,
1982
1503
 
1983
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scopes {
1984
- return new Scopes().fromJson(jsonValue, options);
1985
- }
1504
+ /**
1505
+ * @generated from enum value: HTTPS = 2;
1506
+ */
1507
+ HTTPS = 2,
1986
1508
 
1987
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scopes {
1988
- return new Scopes().fromJsonString(jsonString, options);
1989
- }
1509
+ /**
1510
+ * @generated from enum value: WS = 3;
1511
+ */
1512
+ WS = 3,
1990
1513
 
1991
- static equals(a: Scopes | PlainMessage<Scopes> | undefined, b: Scopes | PlainMessage<Scopes> | undefined): boolean {
1992
- return proto3.util.equals(Scopes, a, b);
1993
- }
1514
+ /**
1515
+ * @generated from enum value: WSS = 4;
1516
+ */
1517
+ WSS = 4,
1994
1518
  }
1995
1519
 
1520
+ /**
1521
+ * Describes the enum grpc.gateway.protoc_gen_openapiv2.options.Scheme.
1522
+ */
1523
+ export const SchemeSchema: GenEnum<Scheme> = /*@__PURE__*/
1524
+ enumDesc(file_protoc_gen_openapiv2_options_openapiv2, 0);
1525
+