@raystack/proton 0.1.0-00c55b6ba2a3f425eca16ca3d36e172952e4824d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/README.md +113 -0
  2. package/google/api/annotations_pb.d.ts +34 -0
  3. package/google/api/annotations_pb.js +36 -0
  4. package/google/api/annotations_pb.ts +39 -0
  5. package/google/api/field_behavior_pb.d.ts +134 -0
  6. package/google/api/field_behavior_pb.js +65 -0
  7. package/google/api/field_behavior_pb.ts +139 -0
  8. package/google/api/http_pb.d.ts +477 -0
  9. package/google/api/http_pb.js +47 -0
  10. package/google/api/http_pb.ts +482 -0
  11. package/google/api/httpbody_pb.d.ts +104 -0
  12. package/google/api/httpbody_pb.js +34 -0
  13. package/google/api/httpbody_pb.ts +108 -0
  14. package/index.d.ts +10 -0
  15. package/index.js +10 -0
  16. package/index.ts +10 -0
  17. package/package.json +94 -0
  18. package/protoc-gen-openapiv2/options/annotations_pb.d.ts +63 -0
  19. package/protoc-gen-openapiv2/options/annotations_pb.js +69 -0
  20. package/protoc-gen-openapiv2/options/annotations_pb.ts +72 -0
  21. package/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1497 -0
  22. package/protoc-gen-openapiv2/options/openapiv2_pb.js +232 -0
  23. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1525 -0
  24. package/raystack/assets/index.d.ts +29 -0
  25. package/raystack/assets/index.js +29 -0
  26. package/raystack/assets/index.ts +29 -0
  27. package/raystack/assets/v1beta1/bucket_pb.d.ts +180 -0
  28. package/raystack/assets/v1beta1/bucket_pb.js +32 -0
  29. package/raystack/assets/v1beta1/bucket_pb.ts +190 -0
  30. package/raystack/assets/v1beta1/dashboard_pb.d.ts +217 -0
  31. package/raystack/assets/v1beta1/dashboard_pb.js +32 -0
  32. package/raystack/assets/v1beta1/dashboard_pb.ts +227 -0
  33. package/raystack/assets/v1beta1/event_pb.d.ts +52 -0
  34. package/raystack/assets/v1beta1/event_pb.js +20 -0
  35. package/raystack/assets/v1beta1/event_pb.ts +56 -0
  36. package/raystack/assets/v1beta1/group_pb.d.ts +105 -0
  37. package/raystack/assets/v1beta1/group_pb.js +30 -0
  38. package/raystack/assets/v1beta1/group_pb.ts +113 -0
  39. package/raystack/assets/v1beta1/job_pb.d.ts +78 -0
  40. package/raystack/assets/v1beta1/job_pb.js +25 -0
  41. package/raystack/assets/v1beta1/job_pb.ts +87 -0
  42. package/raystack/assets/v1beta1/lineage_pb.d.ts +43 -0
  43. package/raystack/assets/v1beta1/lineage_pb.js +20 -0
  44. package/raystack/assets/v1beta1/lineage_pb.ts +47 -0
  45. package/raystack/assets/v1beta1/ownership_pb.d.ts +78 -0
  46. package/raystack/assets/v1beta1/ownership_pb.js +26 -0
  47. package/raystack/assets/v1beta1/ownership_pb.ts +82 -0
  48. package/raystack/assets/v1beta1/preview_pb.d.ts +41 -0
  49. package/raystack/assets/v1beta1/preview_pb.js +20 -0
  50. package/raystack/assets/v1beta1/preview_pb.ts +45 -0
  51. package/raystack/assets/v1beta1/properties_pb.d.ts +44 -0
  52. package/raystack/assets/v1beta1/properties_pb.js +20 -0
  53. package/raystack/assets/v1beta1/properties_pb.ts +48 -0
  54. package/raystack/assets/v1beta1/resource_pb.d.ts +74 -0
  55. package/raystack/assets/v1beta1/resource_pb.js +19 -0
  56. package/raystack/assets/v1beta1/resource_pb.ts +77 -0
  57. package/raystack/assets/v1beta1/schema_pb.d.ts +169 -0
  58. package/raystack/assets/v1beta1/schema_pb.js +41 -0
  59. package/raystack/assets/v1beta1/schema_pb.ts +176 -0
  60. package/raystack/assets/v1beta1/table_pb.d.ts +192 -0
  61. package/raystack/assets/v1beta1/table_pb.js +41 -0
  62. package/raystack/assets/v1beta1/table_pb.ts +205 -0
  63. package/raystack/assets/v1beta1/timestamp_pb.d.ts +68 -0
  64. package/raystack/assets/v1beta1/timestamp_pb.js +27 -0
  65. package/raystack/assets/v1beta1/timestamp_pb.ts +73 -0
  66. package/raystack/assets/v1beta1/topic_pb.d.ts +125 -0
  67. package/raystack/assets/v1beta1/topic_pb.js +33 -0
  68. package/raystack/assets/v1beta1/topic_pb.ts +136 -0
  69. package/raystack/assets/v1beta1/user_pb.d.ts +216 -0
  70. package/raystack/assets/v1beta1/user_pb.js +37 -0
  71. package/raystack/assets/v1beta1/user_pb.ts +225 -0
  72. package/raystack/assets/v1beta2/application_pb.d.ts +59 -0
  73. package/raystack/assets/v1beta2/application_pb.js +20 -0
  74. package/raystack/assets/v1beta2/application_pb.ts +63 -0
  75. package/raystack/assets/v1beta2/asset_pb.d.ts +129 -0
  76. package/raystack/assets/v1beta2/asset_pb.js +21 -0
  77. package/raystack/assets/v1beta2/asset_pb.ts +134 -0
  78. package/raystack/assets/v1beta2/bucket_pb.d.ts +163 -0
  79. package/raystack/assets/v1beta2/bucket_pb.js +28 -0
  80. package/raystack/assets/v1beta2/bucket_pb.ts +169 -0
  81. package/raystack/assets/v1beta2/common_pb.d.ts +170 -0
  82. package/raystack/assets/v1beta2/common_pb.js +41 -0
  83. package/raystack/assets/v1beta2/common_pb.ts +177 -0
  84. package/raystack/assets/v1beta2/dashboard_pb.d.ts +192 -0
  85. package/raystack/assets/v1beta2/dashboard_pb.js +28 -0
  86. package/raystack/assets/v1beta2/dashboard_pb.ts +198 -0
  87. package/raystack/assets/v1beta2/experiment_pb.d.ts +134 -0
  88. package/raystack/assets/v1beta2/experiment_pb.js +27 -0
  89. package/raystack/assets/v1beta2/experiment_pb.ts +139 -0
  90. package/raystack/assets/v1beta2/feature_table_pb.d.ts +167 -0
  91. package/raystack/assets/v1beta2/feature_table_pb.js +34 -0
  92. package/raystack/assets/v1beta2/feature_table_pb.ts +173 -0
  93. package/raystack/assets/v1beta2/group_pb.d.ts +77 -0
  94. package/raystack/assets/v1beta2/group_pb.js +27 -0
  95. package/raystack/assets/v1beta2/group_pb.ts +82 -0
  96. package/raystack/assets/v1beta2/job_pb.d.ts +47 -0
  97. package/raystack/assets/v1beta2/job_pb.js +20 -0
  98. package/raystack/assets/v1beta2/job_pb.ts +51 -0
  99. package/raystack/assets/v1beta2/metric_pb.d.ts +83 -0
  100. package/raystack/assets/v1beta2/metric_pb.js +20 -0
  101. package/raystack/assets/v1beta2/metric_pb.ts +87 -0
  102. package/raystack/assets/v1beta2/model_pb.d.ts +227 -0
  103. package/raystack/assets/v1beta2/model_pb.js +41 -0
  104. package/raystack/assets/v1beta2/model_pb.ts +234 -0
  105. package/raystack/assets/v1beta2/table_pb.d.ts +283 -0
  106. package/raystack/assets/v1beta2/table_pb.js +48 -0
  107. package/raystack/assets/v1beta2/table_pb.ts +291 -0
  108. package/raystack/assets/v1beta2/topic_pb.d.ts +117 -0
  109. package/raystack/assets/v1beta2/topic_pb.js +34 -0
  110. package/raystack/assets/v1beta2/topic_pb.ts +123 -0
  111. package/raystack/assets/v1beta2/user_pb.d.ts +203 -0
  112. package/raystack/assets/v1beta2/user_pb.js +34 -0
  113. package/raystack/assets/v1beta2/user_pb.ts +209 -0
  114. package/raystack/common/index.d.ts +2 -0
  115. package/raystack/common/index.js +2 -0
  116. package/raystack/common/index.ts +2 -0
  117. package/raystack/common/v1/service-CommonService_connectquery.d.ts +10 -0
  118. package/raystack/common/v1/service-CommonService_connectquery.js +10 -0
  119. package/raystack/common/v1/service-CommonService_connectquery.ts +10 -0
  120. package/raystack/common/v1/service_pb.d.ts +100 -0
  121. package/raystack/common/v1/service_pb.js +42 -0
  122. package/raystack/common/v1/service_pb.ts +109 -0
  123. package/raystack/compass/index.d.ts +2 -0
  124. package/raystack/compass/index.js +2 -0
  125. package/raystack/compass/index.ts +2 -0
  126. package/raystack/compass/v1beta1/service-CompassService_connectquery.d.ts +184 -0
  127. package/raystack/compass/v1beta1/service-CompassService_connectquery.js +225 -0
  128. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +225 -0
  129. package/raystack/compass/v1beta1/service_pb.d.ts +2994 -0
  130. package/raystack/compass/v1beta1/service_pb.js +745 -0
  131. package/raystack/compass/v1beta1/service_pb.ts +3104 -0
  132. package/raystack/entropy/index.d.ts +4 -0
  133. package/raystack/entropy/index.js +4 -0
  134. package/raystack/entropy/index.ts +4 -0
  135. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.d.ts +26 -0
  136. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.js +30 -0
  137. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +30 -0
  138. package/raystack/entropy/v1beta1/module_pb.d.ts +261 -0
  139. package/raystack/entropy/v1beta1/module_pb.js +97 -0
  140. package/raystack/entropy/v1beta1/module_pb.ts +277 -0
  141. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.d.ts +34 -0
  142. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.js +40 -0
  143. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +40 -0
  144. package/raystack/entropy/v1beta1/resource_pb.d.ts +636 -0
  145. package/raystack/entropy/v1beta1/resource_pb.js +200 -0
  146. package/raystack/entropy/v1beta1/resource_pb.ts +666 -0
  147. package/raystack/frontier/index.d.ts +5 -0
  148. package/raystack/frontier/index.js +5 -0
  149. package/raystack/frontier/index.ts +5 -0
  150. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.d.ts +263 -0
  151. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.js +316 -0
  152. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +316 -0
  153. package/raystack/frontier/v1beta1/admin_pb.d.ts +3550 -0
  154. package/raystack/frontier/v1beta1/admin_pb.js +914 -0
  155. package/raystack/frontier/v1beta1/admin_pb.ts +3687 -0
  156. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.d.ts +746 -0
  157. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.js +915 -0
  158. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +915 -0
  159. package/raystack/frontier/v1beta1/frontier_pb.d.ts +8883 -0
  160. package/raystack/frontier/v1beta1/frontier_pb.js +2635 -0
  161. package/raystack/frontier/v1beta1/frontier_pb.ts +9265 -0
  162. package/raystack/frontier/v1beta1/models_pb.d.ts +2861 -0
  163. package/raystack/frontier/v1beta1/models_pb.js +450 -0
  164. package/raystack/frontier/v1beta1/models_pb.ts +2928 -0
  165. package/raystack/guardian/index.d.ts +2 -0
  166. package/raystack/guardian/index.js +2 -0
  167. package/raystack/guardian/index.ts +2 -0
  168. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.d.ts +168 -0
  169. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.js +207 -0
  170. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +207 -0
  171. package/raystack/guardian/v1beta1/guardian_pb.d.ts +3537 -0
  172. package/raystack/guardian/v1beta1/guardian_pb.js +823 -0
  173. package/raystack/guardian/v1beta1/guardian_pb.ts +3659 -0
  174. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.d.ts +18 -0
  175. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.js +20 -0
  176. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +20 -0
  177. package/raystack/optimus/core/v1beta1/backup_pb.d.ts +256 -0
  178. package/raystack/optimus/core/v1beta1/backup_pb.js +77 -0
  179. package/raystack/optimus/core/v1beta1/backup_pb.ts +270 -0
  180. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.d.ts +30 -0
  181. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.js +33 -0
  182. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +33 -0
  183. package/raystack/optimus/core/v1beta1/job_run_pb.d.ts +410 -0
  184. package/raystack/optimus/core/v1beta1/job_run_pb.js +127 -0
  185. package/raystack/optimus/core/v1beta1/job_run_pb.ts +430 -0
  186. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.d.ts +98 -0
  187. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.js +112 -0
  188. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +112 -0
  189. package/raystack/optimus/core/v1beta1/job_spec_pb.d.ts +1953 -0
  190. package/raystack/optimus/core/v1beta1/job_spec_pb.js +487 -0
  191. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +2025 -0
  192. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.d.ts +24 -0
  193. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.js +26 -0
  194. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +26 -0
  195. package/raystack/optimus/core/v1beta1/namespace_pb.d.ts +180 -0
  196. package/raystack/optimus/core/v1beta1/namespace_pb.js +69 -0
  197. package/raystack/optimus/core/v1beta1/namespace_pb.ts +192 -0
  198. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.d.ts +24 -0
  199. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.js +26 -0
  200. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +26 -0
  201. package/raystack/optimus/core/v1beta1/project_pb.d.ts +166 -0
  202. package/raystack/optimus/core/v1beta1/project_pb.js +69 -0
  203. package/raystack/optimus/core/v1beta1/project_pb.ts +178 -0
  204. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.d.ts +22 -0
  205. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.js +25 -0
  206. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +25 -0
  207. package/raystack/optimus/core/v1beta1/replay_pb.d.ts +331 -0
  208. package/raystack/optimus/core/v1beta1/replay_pb.js +91 -0
  209. package/raystack/optimus/core/v1beta1/replay_pb.ts +347 -0
  210. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.d.ts +43 -0
  211. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.js +48 -0
  212. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +48 -0
  213. package/raystack/optimus/core/v1beta1/resource_pb.d.ts +507 -0
  214. package/raystack/optimus/core/v1beta1/resource_pb.js +134 -0
  215. package/raystack/optimus/core/v1beta1/resource_pb.ts +530 -0
  216. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.d.ts +12 -0
  217. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.js +12 -0
  218. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +12 -0
  219. package/raystack/optimus/core/v1beta1/runtime_pb.d.ts +62 -0
  220. package/raystack/optimus/core/v1beta1/runtime_pb.js +36 -0
  221. package/raystack/optimus/core/v1beta1/runtime_pb.ts +69 -0
  222. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.d.ts +30 -0
  223. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.js +33 -0
  224. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +33 -0
  225. package/raystack/optimus/core/v1beta1/secret_pb.d.ts +250 -0
  226. package/raystack/optimus/core/v1beta1/secret_pb.js +84 -0
  227. package/raystack/optimus/core/v1beta1/secret_pb.ts +265 -0
  228. package/raystack/optimus/core/v1beta1/status_pb.d.ts +78 -0
  229. package/raystack/optimus/core/v1beta1/status_pb.js +31 -0
  230. package/raystack/optimus/core/v1beta1/status_pb.ts +82 -0
  231. package/raystack/optimus/integration/v1beta1/event_pb.d.ts +239 -0
  232. package/raystack/optimus/integration/v1beta1/event_pb.js +62 -0
  233. package/raystack/optimus/integration/v1beta1/event_pb.ts +250 -0
  234. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.d.ts +31 -0
  235. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.js +34 -0
  236. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +34 -0
  237. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.d.ts +353 -0
  238. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.js +120 -0
  239. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +371 -0
  240. package/raystack/predator/index.d.ts +2 -0
  241. package/raystack/predator/index.js +2 -0
  242. package/raystack/predator/index.ts +2 -0
  243. package/raystack/predator/v1beta1/metrics_log_pb.d.ts +163 -0
  244. package/raystack/predator/v1beta1/metrics_log_pb.js +48 -0
  245. package/raystack/predator/v1beta1/metrics_log_pb.ts +171 -0
  246. package/raystack/predator/v1beta1/result_log_pb.d.ts +143 -0
  247. package/raystack/predator/v1beta1/result_log_pb.js +42 -0
  248. package/raystack/predator/v1beta1/result_log_pb.ts +151 -0
  249. package/raystack/raccoon/index.d.ts +2 -0
  250. package/raystack/raccoon/index.js +2 -0
  251. package/raystack/raccoon/index.ts +2 -0
  252. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.d.ts +10 -0
  253. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.js +10 -0
  254. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +10 -0
  255. package/raystack/raccoon/v1beta1/raccoon_pb.d.ts +268 -0
  256. package/raystack/raccoon/v1beta1/raccoon_pb.js +64 -0
  257. package/raystack/raccoon/v1beta1/raccoon_pb.ts +277 -0
  258. package/raystack/siren/index.d.ts +2 -0
  259. package/raystack/siren/index.js +2 -0
  260. package/raystack/siren/index.ts +2 -0
  261. package/raystack/siren/v1beta1/siren-SirenService_connectquery.d.ts +146 -0
  262. package/raystack/siren/v1beta1/siren-SirenService_connectquery.js +180 -0
  263. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +180 -0
  264. package/raystack/siren/v1beta1/siren_pb.d.ts +2281 -0
  265. package/raystack/siren/v1beta1/siren_pb.js +603 -0
  266. package/raystack/siren/v1beta1/siren_pb.ts +2371 -0
  267. package/raystack/stencil/index.d.ts +2 -0
  268. package/raystack/stencil/index.js +2 -0
  269. package/raystack/stencil/index.ts +2 -0
  270. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.d.ts +70 -0
  271. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.js +85 -0
  272. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +85 -0
  273. package/raystack/stencil/v1beta1/stencil_pb.d.ts +1057 -0
  274. package/raystack/stencil/v1beta1/stencil_pb.js +298 -0
  275. package/raystack/stencil/v1beta1/stencil_pb.ts +1102 -0
  276. package/validate/validate_pb.d.ts +1953 -0
  277. package/validate/validate_pb.js +223 -0
  278. package/validate/validate_pb.ts +1984 -0
@@ -0,0 +1,477 @@
1
+ // Copyright 2023 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
16
+ // @generated from file google/api/http.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+
22
+ /**
23
+ * Describes the file google/api/http.proto.
24
+ */
25
+ export declare const file_google_api_http: GenFile;
26
+
27
+ /**
28
+ * Defines the HTTP configuration for an API service. It contains a list of
29
+ * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
30
+ * to one or more HTTP REST API methods.
31
+ *
32
+ * @generated from message google.api.Http
33
+ */
34
+ export declare type Http = Message<"google.api.Http"> & {
35
+ /**
36
+ * A list of HTTP configuration rules that apply to individual API methods.
37
+ *
38
+ * **NOTE:** All service configuration rules follow "last one wins" order.
39
+ *
40
+ * @generated from field: repeated google.api.HttpRule rules = 1;
41
+ */
42
+ rules: HttpRule[];
43
+
44
+ /**
45
+ * When set to true, URL path parameters will be fully URI-decoded except in
46
+ * cases of single segment matches in reserved expansion, where "%2F" will be
47
+ * left encoded.
48
+ *
49
+ * The default behavior is to not decode RFC 6570 reserved characters in multi
50
+ * segment matches.
51
+ *
52
+ * @generated from field: bool fully_decode_reserved_expansion = 2;
53
+ */
54
+ fullyDecodeReservedExpansion: boolean;
55
+ };
56
+
57
+ /**
58
+ * Describes the message google.api.Http.
59
+ * Use `create(HttpSchema)` to create a new message.
60
+ */
61
+ export declare const HttpSchema: GenMessage<Http>;
62
+
63
+ /**
64
+ * # gRPC Transcoding
65
+ *
66
+ * gRPC Transcoding is a feature for mapping between a gRPC method and one or
67
+ * more HTTP REST endpoints. It allows developers to build a single API service
68
+ * that supports both gRPC APIs and REST APIs. Many systems, including [Google
69
+ * APIs](https://github.com/googleapis/googleapis),
70
+ * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
71
+ * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
72
+ * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
73
+ * and use it for large scale production services.
74
+ *
75
+ * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
76
+ * how different portions of the gRPC request message are mapped to the URL
77
+ * path, URL query parameters, and HTTP request body. It also controls how the
78
+ * gRPC response message is mapped to the HTTP response body. `HttpRule` is
79
+ * typically specified as an `google.api.http` annotation on the gRPC method.
80
+ *
81
+ * Each mapping specifies a URL path template and an HTTP method. The path
82
+ * template may refer to one or more fields in the gRPC request message, as long
83
+ * as each field is a non-repeated field with a primitive (non-message) type.
84
+ * The path template controls how fields of the request message are mapped to
85
+ * the URL path.
86
+ *
87
+ * Example:
88
+ *
89
+ * service Messaging {
90
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
91
+ * option (google.api.http) = {
92
+ * get: "/v1/{name=messages/*}"
93
+ * };
94
+ * }
95
+ * }
96
+ * message GetMessageRequest {
97
+ * string name = 1; // Mapped to URL path.
98
+ * }
99
+ * message Message {
100
+ * string text = 1; // The resource content.
101
+ * }
102
+ *
103
+ * This enables an HTTP REST to gRPC mapping as below:
104
+ *
105
+ * HTTP | gRPC
106
+ * -----|-----
107
+ * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
108
+ *
109
+ * Any fields in the request message which are not bound by the path template
110
+ * automatically become HTTP query parameters if there is no HTTP request body.
111
+ * For example:
112
+ *
113
+ * service Messaging {
114
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
115
+ * option (google.api.http) = {
116
+ * get:"/v1/messages/{message_id}"
117
+ * };
118
+ * }
119
+ * }
120
+ * message GetMessageRequest {
121
+ * message SubMessage {
122
+ * string subfield = 1;
123
+ * }
124
+ * string message_id = 1; // Mapped to URL path.
125
+ * int64 revision = 2; // Mapped to URL query parameter `revision`.
126
+ * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
127
+ * }
128
+ *
129
+ * This enables a HTTP JSON to RPC mapping as below:
130
+ *
131
+ * HTTP | gRPC
132
+ * -----|-----
133
+ * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
134
+ * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
135
+ * "foo"))`
136
+ *
137
+ * Note that fields which are mapped to URL query parameters must have a
138
+ * primitive type or a repeated primitive type or a non-repeated message type.
139
+ * In the case of a repeated type, the parameter can be repeated in the URL
140
+ * as `...?param=A&param=B`. In the case of a message type, each field of the
141
+ * message is mapped to a separate parameter, such as
142
+ * `...?foo.a=A&foo.b=B&foo.c=C`.
143
+ *
144
+ * For HTTP methods that allow a request body, the `body` field
145
+ * specifies the mapping. Consider a REST update method on the
146
+ * message resource collection:
147
+ *
148
+ * service Messaging {
149
+ * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
150
+ * option (google.api.http) = {
151
+ * patch: "/v1/messages/{message_id}"
152
+ * body: "message"
153
+ * };
154
+ * }
155
+ * }
156
+ * message UpdateMessageRequest {
157
+ * string message_id = 1; // mapped to the URL
158
+ * Message message = 2; // mapped to the body
159
+ * }
160
+ *
161
+ * The following HTTP JSON to RPC mapping is enabled, where the
162
+ * representation of the JSON in the request body is determined by
163
+ * protos JSON encoding:
164
+ *
165
+ * HTTP | gRPC
166
+ * -----|-----
167
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
168
+ * "123456" message { text: "Hi!" })`
169
+ *
170
+ * The special name `*` can be used in the body mapping to define that
171
+ * every field not bound by the path template should be mapped to the
172
+ * request body. This enables the following alternative definition of
173
+ * the update method:
174
+ *
175
+ * service Messaging {
176
+ * rpc UpdateMessage(Message) returns (Message) {
177
+ * option (google.api.http) = {
178
+ * patch: "/v1/messages/{message_id}"
179
+ * body: "*"
180
+ * };
181
+ * }
182
+ * }
183
+ * message Message {
184
+ * string message_id = 1;
185
+ * string text = 2;
186
+ * }
187
+ *
188
+ *
189
+ * The following HTTP JSON to RPC mapping is enabled:
190
+ *
191
+ * HTTP | gRPC
192
+ * -----|-----
193
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
194
+ * "123456" text: "Hi!")`
195
+ *
196
+ * Note that when using `*` in the body mapping, it is not possible to
197
+ * have HTTP parameters, as all fields not bound by the path end in
198
+ * the body. This makes this option more rarely used in practice when
199
+ * defining REST APIs. The common usage of `*` is in custom methods
200
+ * which don't use the URL at all for transferring data.
201
+ *
202
+ * It is possible to define multiple HTTP methods for one RPC by using
203
+ * the `additional_bindings` option. Example:
204
+ *
205
+ * service Messaging {
206
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
207
+ * option (google.api.http) = {
208
+ * get: "/v1/messages/{message_id}"
209
+ * additional_bindings {
210
+ * get: "/v1/users/{user_id}/messages/{message_id}"
211
+ * }
212
+ * };
213
+ * }
214
+ * }
215
+ * message GetMessageRequest {
216
+ * string message_id = 1;
217
+ * string user_id = 2;
218
+ * }
219
+ *
220
+ * This enables the following two alternative HTTP JSON to RPC mappings:
221
+ *
222
+ * HTTP | gRPC
223
+ * -----|-----
224
+ * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
225
+ * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
226
+ * "123456")`
227
+ *
228
+ * ## Rules for HTTP mapping
229
+ *
230
+ * 1. Leaf request fields (recursive expansion nested messages in the request
231
+ * message) are classified into three categories:
232
+ * - Fields referred by the path template. They are passed via the URL path.
233
+ * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
234
+ * are passed via the HTTP
235
+ * request body.
236
+ * - All other fields are passed via the URL query parameters, and the
237
+ * parameter name is the field path in the request message. A repeated
238
+ * field can be represented as multiple query parameters under the same
239
+ * name.
240
+ * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
241
+ * query parameter, all fields
242
+ * are passed via URL path and HTTP request body.
243
+ * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
244
+ * request body, all
245
+ * fields are passed via URL path and URL query parameters.
246
+ *
247
+ * ### Path template syntax
248
+ *
249
+ * Template = "/" Segments [ Verb ] ;
250
+ * Segments = Segment { "/" Segment } ;
251
+ * Segment = "*" | "**" | LITERAL | Variable ;
252
+ * Variable = "{" FieldPath [ "=" Segments ] "}" ;
253
+ * FieldPath = IDENT { "." IDENT } ;
254
+ * Verb = ":" LITERAL ;
255
+ *
256
+ * The syntax `*` matches a single URL path segment. The syntax `**` matches
257
+ * zero or more URL path segments, which must be the last part of the URL path
258
+ * except the `Verb`.
259
+ *
260
+ * The syntax `Variable` matches part of the URL path as specified by its
261
+ * template. A variable template must not contain other variables. If a variable
262
+ * matches a single path segment, its template may be omitted, e.g. `{var}`
263
+ * is equivalent to `{var=*}`.
264
+ *
265
+ * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
266
+ * contains any reserved character, such characters should be percent-encoded
267
+ * before the matching.
268
+ *
269
+ * If a variable contains exactly one path segment, such as `"{var}"` or
270
+ * `"{var=*}"`, when such a variable is expanded into a URL path on the client
271
+ * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
272
+ * server side does the reverse decoding. Such variables show up in the
273
+ * [Discovery
274
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
275
+ * `{var}`.
276
+ *
277
+ * If a variable contains multiple path segments, such as `"{var=foo/*}"`
278
+ * or `"{var=**}"`, when such a variable is expanded into a URL path on the
279
+ * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
280
+ * The server side does the reverse decoding, except "%2F" and "%2f" are left
281
+ * unchanged. Such variables show up in the
282
+ * [Discovery
283
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
284
+ * `{+var}`.
285
+ *
286
+ * ## Using gRPC API Service Configuration
287
+ *
288
+ * gRPC API Service Configuration (service config) is a configuration language
289
+ * for configuring a gRPC service to become a user-facing product. The
290
+ * service config is simply the YAML representation of the `google.api.Service`
291
+ * proto message.
292
+ *
293
+ * As an alternative to annotating your proto file, you can configure gRPC
294
+ * transcoding in your service config YAML files. You do this by specifying a
295
+ * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
296
+ * effect as the proto annotation. This can be particularly useful if you
297
+ * have a proto that is reused in multiple services. Note that any transcoding
298
+ * specified in the service config will override any matching transcoding
299
+ * configuration in the proto.
300
+ *
301
+ * Example:
302
+ *
303
+ * http:
304
+ * rules:
305
+ * # Selects a gRPC method and applies HttpRule to it.
306
+ * - selector: example.v1.Messaging.GetMessage
307
+ * get: /v1/messages/{message_id}/{sub.subfield}
308
+ *
309
+ * ## Special notes
310
+ *
311
+ * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
312
+ * proto to JSON conversion must follow the [proto3
313
+ * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
314
+ *
315
+ * While the single segment variable follows the semantics of
316
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
317
+ * Expansion, the multi segment variable **does not** follow RFC 6570 Section
318
+ * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
319
+ * does not expand special characters like `?` and `#`, which would lead
320
+ * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
321
+ * for multi segment variables.
322
+ *
323
+ * The path variables **must not** refer to any repeated or mapped field,
324
+ * because client libraries are not capable of handling such variable expansion.
325
+ *
326
+ * The path variables **must not** capture the leading "/" character. The reason
327
+ * is that the most common use case "{var}" does not capture the leading "/"
328
+ * character. For consistency, all path variables must share the same behavior.
329
+ *
330
+ * Repeated message fields must not be mapped to URL query parameters, because
331
+ * no client library can support such complicated mapping.
332
+ *
333
+ * If an API needs to use a JSON array for request or response body, it can map
334
+ * the request or response body to a repeated field. However, some gRPC
335
+ * Transcoding implementations may not support this feature.
336
+ *
337
+ * @generated from message google.api.HttpRule
338
+ */
339
+ export declare type HttpRule = Message<"google.api.HttpRule"> & {
340
+ /**
341
+ * Selects a method to which this rule applies.
342
+ *
343
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax
344
+ * details.
345
+ *
346
+ * @generated from field: string selector = 1;
347
+ */
348
+ selector: string;
349
+
350
+ /**
351
+ * Determines the URL pattern is matched by this rules. This pattern can be
352
+ * used with any of the {get|put|post|delete|patch} methods. A custom method
353
+ * can be defined using the 'custom' field.
354
+ *
355
+ * @generated from oneof google.api.HttpRule.pattern
356
+ */
357
+ pattern: {
358
+ /**
359
+ * Maps to HTTP GET. Used for listing and getting information about
360
+ * resources.
361
+ *
362
+ * @generated from field: string get = 2;
363
+ */
364
+ value: string;
365
+ case: "get";
366
+ } | {
367
+ /**
368
+ * Maps to HTTP PUT. Used for replacing a resource.
369
+ *
370
+ * @generated from field: string put = 3;
371
+ */
372
+ value: string;
373
+ case: "put";
374
+ } | {
375
+ /**
376
+ * Maps to HTTP POST. Used for creating a resource or performing an action.
377
+ *
378
+ * @generated from field: string post = 4;
379
+ */
380
+ value: string;
381
+ case: "post";
382
+ } | {
383
+ /**
384
+ * Maps to HTTP DELETE. Used for deleting a resource.
385
+ *
386
+ * @generated from field: string delete = 5;
387
+ */
388
+ value: string;
389
+ case: "delete";
390
+ } | {
391
+ /**
392
+ * Maps to HTTP PATCH. Used for updating a resource.
393
+ *
394
+ * @generated from field: string patch = 6;
395
+ */
396
+ value: string;
397
+ case: "patch";
398
+ } | {
399
+ /**
400
+ * The custom pattern is used for specifying an HTTP method that is not
401
+ * included in the `pattern` field, such as HEAD, or "*" to leave the
402
+ * HTTP method unspecified for this rule. The wild-card rule is useful
403
+ * for services that provide content to Web (HTML) clients.
404
+ *
405
+ * @generated from field: google.api.CustomHttpPattern custom = 8;
406
+ */
407
+ value: CustomHttpPattern;
408
+ case: "custom";
409
+ } | { case: undefined; value?: undefined };
410
+
411
+ /**
412
+ * The name of the request field whose value is mapped to the HTTP request
413
+ * body, or `*` for mapping all request fields not captured by the path
414
+ * pattern to the HTTP body, or omitted for not having any HTTP request body.
415
+ *
416
+ * NOTE: the referred field must be present at the top-level of the request
417
+ * message type.
418
+ *
419
+ * @generated from field: string body = 7;
420
+ */
421
+ body: string;
422
+
423
+ /**
424
+ * Optional. The name of the response field whose value is mapped to the HTTP
425
+ * response body. When omitted, the entire response message will be used
426
+ * as the HTTP response body.
427
+ *
428
+ * NOTE: The referred field must be present at the top-level of the response
429
+ * message type.
430
+ *
431
+ * @generated from field: string response_body = 12;
432
+ */
433
+ responseBody: string;
434
+
435
+ /**
436
+ * Additional HTTP bindings for the selector. Nested bindings must
437
+ * not contain an `additional_bindings` field themselves (that is,
438
+ * the nesting may only be one level deep).
439
+ *
440
+ * @generated from field: repeated google.api.HttpRule additional_bindings = 11;
441
+ */
442
+ additionalBindings: HttpRule[];
443
+ };
444
+
445
+ /**
446
+ * Describes the message google.api.HttpRule.
447
+ * Use `create(HttpRuleSchema)` to create a new message.
448
+ */
449
+ export declare const HttpRuleSchema: GenMessage<HttpRule>;
450
+
451
+ /**
452
+ * A custom pattern is used for defining custom HTTP verb.
453
+ *
454
+ * @generated from message google.api.CustomHttpPattern
455
+ */
456
+ export declare type CustomHttpPattern = Message<"google.api.CustomHttpPattern"> & {
457
+ /**
458
+ * The name of this custom HTTP verb.
459
+ *
460
+ * @generated from field: string kind = 1;
461
+ */
462
+ kind: string;
463
+
464
+ /**
465
+ * The path matched by this custom verb.
466
+ *
467
+ * @generated from field: string path = 2;
468
+ */
469
+ path: string;
470
+ };
471
+
472
+ /**
473
+ * Describes the message google.api.CustomHttpPattern.
474
+ * Use `create(CustomHttpPatternSchema)` to create a new message.
475
+ */
476
+ export declare const CustomHttpPatternSchema: GenMessage<CustomHttpPattern>;
477
+
@@ -0,0 +1,47 @@
1
+ // Copyright 2023 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
16
+ // @generated from file google/api/http.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
20
+
21
+ /**
22
+ * Describes the file google/api/http.proto.
23
+ */
24
+ export const file_google_api_http = /*@__PURE__*/
25
+ fileDesc("ChVnb29nbGUvYXBpL2h0dHAucHJvdG8SCmdvb2dsZS5hcGkiVAoESHR0cBIjCgVydWxlcxgBIAMoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGUSJwofZnVsbHlfZGVjb2RlX3Jlc2VydmVkX2V4cGFuc2lvbhgCIAEoCCKBAgoISHR0cFJ1bGUSEAoIc2VsZWN0b3IYASABKAkSDQoDZ2V0GAIgASgJSAASDQoDcHV0GAMgASgJSAASDgoEcG9zdBgEIAEoCUgAEhAKBmRlbGV0ZRgFIAEoCUgAEg8KBXBhdGNoGAYgASgJSAASLwoGY3VzdG9tGAggASgLMh0uZ29vZ2xlLmFwaS5DdXN0b21IdHRwUGF0dGVybkgAEgwKBGJvZHkYByABKAkSFQoNcmVzcG9uc2VfYm9keRgMIAEoCRIxChNhZGRpdGlvbmFsX2JpbmRpbmdzGAsgAygLMhQuZ29vZ2xlLmFwaS5IdHRwUnVsZUIJCgdwYXR0ZXJuIi8KEUN1c3RvbUh0dHBQYXR0ZXJuEgwKBGtpbmQYASABKAkSDAoEcGF0aBgCIAEoCUJqCg5jb20uZ29vZ2xlLmFwaUIJSHR0cFByb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25z+AEBogIER0FQSWIGcHJvdG8z");
26
+
27
+ /**
28
+ * Describes the message google.api.Http.
29
+ * Use `create(HttpSchema)` to create a new message.
30
+ */
31
+ export const HttpSchema = /*@__PURE__*/
32
+ messageDesc(file_google_api_http, 0);
33
+
34
+ /**
35
+ * Describes the message google.api.HttpRule.
36
+ * Use `create(HttpRuleSchema)` to create a new message.
37
+ */
38
+ export const HttpRuleSchema = /*@__PURE__*/
39
+ messageDesc(file_google_api_http, 1);
40
+
41
+ /**
42
+ * Describes the message google.api.CustomHttpPattern.
43
+ * Use `create(CustomHttpPatternSchema)` to create a new message.
44
+ */
45
+ export const CustomHttpPatternSchema = /*@__PURE__*/
46
+ messageDesc(file_google_api_http, 2);
47
+