@devvit/protos 0.11.6-next-2025-01-28-ba7ef7fe2.0 → 0.11.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/package.json +4 -4
  2. package/schema/devvit/plugin/buildpack/buildpack_common.proto +1 -6
  3. package/schema/snootobuf.devenv.lock +102 -210
  4. package/schema/snootobuf.lock +102 -210
  5. package/schema/snootobuf.redditapi.lock +102 -210
  6. package/schema/snootobuf.ts.lock +102 -210
  7. package/types/devvit/dev_portal/dev_portal.d.ts +0 -2
  8. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  9. package/types/devvit/plugin/builder/builder.d.ts +0 -4
  10. package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
  11. package/types/devvit/plugin/buildpack/buildpack.d.ts +0 -8
  12. package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
  13. package/types/devvit/plugin/buildpack/buildpack_common.d.ts +0 -3
  14. package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
  15. package/types/devvit/plugin/buildpack/buildpack_common.js +1 -37
  16. package/types/devvit/plugin/linker/linker.d.ts +0 -2
  17. package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
  18. package/types/devvit/plugin/linker/resolver.d.ts +0 -2
  19. package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
  20. package/meta.min.json +0 -7820
  21. package/protos.min.js +0 -2
  22. package/protos.min.js.map +0 -7
  23. package/schema/.snootobuf/deps/buf/validate/expression.proto +0 -92
  24. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +0 -41
  25. package/schema/.snootobuf/deps/buf/validate/validate.proto +0 -4130
  26. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +0 -72
  27. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +0 -49
  28. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +0 -54
  29. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +0 -46
  30. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +0 -72
  31. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +0 -20
  32. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +0 -45
  33. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +0 -54
  34. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +0 -773
  35. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +0 -66
  36. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +0 -100
  37. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +0 -19
  38. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +0 -446
  39. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +0 -24
  40. package/schema/.snootobuf/deps/devvit/options/options.proto +0 -98
  41. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +0 -29
  42. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +0 -25
  43. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +0 -53
  44. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +0 -56
  45. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +0 -107
  46. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +0 -41
  47. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +0 -23
  48. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +0 -162
  49. package/schema/.snootobuf/deps/enum/account_gender_category.proto +0 -14
  50. package/schema/.snootobuf/deps/enum/approval_status.proto +0 -15
  51. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +0 -12
  52. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +0 -13
  53. package/schema/.snootobuf/deps/enum/ban_info_action.proto +0 -12
  54. package/schema/.snootobuf/deps/enum/block_relation_type.proto +0 -11
  55. package/schema/.snootobuf/deps/enum/comment_sort.proto +0 -18
  56. package/schema/.snootobuf/deps/enum/comment_type.proto +0 -11
  57. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +0 -12
  58. package/schema/.snootobuf/deps/enum/discussion_type.proto +0 -10
  59. package/schema/.snootobuf/deps/enum/distinguish_type.proto +0 -14
  60. package/schema/.snootobuf/deps/enum/flair_position.proto +0 -11
  61. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +0 -12
  62. package/schema/.snootobuf/deps/enum/link_content_type.proto +0 -11
  63. package/schema/.snootobuf/deps/enum/link_type.proto +0 -11
  64. package/schema/.snootobuf/deps/enum/link_visibility.proto +0 -11
  65. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +0 -11
  66. package/schema/.snootobuf/deps/enum/promo_layout.proto +0 -11
  67. package/schema/.snootobuf/deps/enum/removed_by_type.proto +0 -18
  68. package/schema/.snootobuf/deps/enum/spam_level.proto +0 -11
  69. package/schema/.snootobuf/deps/enum/subreddit_type.proto +0 -16
  70. package/schema/.snootobuf/deps/enum/verdict.proto +0 -14
  71. package/schema/.snootobuf/deps/enum/vote.proto +0 -12
  72. package/schema/.snootobuf/deps/enum/whitelist_status.proto +0 -17
  73. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +0 -12
  74. package/schema/.snootobuf/deps/evaluator/evaluator.proto +0 -203
  75. package/schema/.snootobuf/deps/google/api/annotations.proto +0 -31
  76. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +0 -288
  77. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +0 -175
  78. package/schema/.snootobuf/deps/google/api/auth.proto +0 -237
  79. package/schema/.snootobuf/deps/google/api/backend.proto +0 -185
  80. package/schema/.snootobuf/deps/google/api/billing.proto +0 -77
  81. package/schema/.snootobuf/deps/google/api/client.proto +0 -431
  82. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  83. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +0 -315
  84. package/schema/.snootobuf/deps/google/api/config_change.proto +0 -84
  85. package/schema/.snootobuf/deps/google/api/consumer.proto +0 -82
  86. package/schema/.snootobuf/deps/google/api/context.proto +0 -92
  87. package/schema/.snootobuf/deps/google/api/control.proto +0 -41
  88. package/schema/.snootobuf/deps/google/api/distribution.proto +0 -213
  89. package/schema/.snootobuf/deps/google/api/documentation.proto +0 -168
  90. package/schema/.snootobuf/deps/google/api/endpoint.proto +0 -69
  91. package/schema/.snootobuf/deps/google/api/error_reason.proto +0 -589
  92. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  93. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +0 -343
  94. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +0 -118
  95. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +0 -53
  96. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +0 -438
  97. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +0 -115
  98. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +0 -84
  99. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +0 -125
  100. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +0 -265
  101. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +0 -62
  102. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +0 -114
  103. package/schema/.snootobuf/deps/google/api/field_behavior.proto +0 -104
  104. package/schema/.snootobuf/deps/google/api/field_info.proto +0 -106
  105. package/schema/.snootobuf/deps/google/api/http.proto +0 -371
  106. package/schema/.snootobuf/deps/google/api/httpbody.proto +0 -81
  107. package/schema/.snootobuf/deps/google/api/label.proto +0 -48
  108. package/schema/.snootobuf/deps/google/api/launch_stage.proto +0 -72
  109. package/schema/.snootobuf/deps/google/api/log.proto +0 -54
  110. package/schema/.snootobuf/deps/google/api/logging.proto +0 -81
  111. package/schema/.snootobuf/deps/google/api/metric.proto +0 -268
  112. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +0 -130
  113. package/schema/.snootobuf/deps/google/api/monitoring.proto +0 -107
  114. package/schema/.snootobuf/deps/google/api/policy.proto +0 -85
  115. package/schema/.snootobuf/deps/google/api/quota.proto +0 -184
  116. package/schema/.snootobuf/deps/google/api/resource.proto +0 -243
  117. package/schema/.snootobuf/deps/google/api/routing.proto +0 -461
  118. package/schema/.snootobuf/deps/google/api/service.proto +0 -191
  119. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +0 -124
  120. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +0 -166
  121. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +0 -93
  122. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +0 -126
  123. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +0 -81
  124. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +0 -123
  125. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  126. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +0 -260
  127. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +0 -196
  128. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +0 -295
  129. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  130. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +0 -130
  131. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +0 -305
  132. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +0 -458
  133. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  134. package/schema/.snootobuf/deps/google/api/source_info.proto +0 -31
  135. package/schema/.snootobuf/deps/google/api/system_parameter.proto +0 -96
  136. package/schema/.snootobuf/deps/google/api/usage.proto +0 -96
  137. package/schema/.snootobuf/deps/google/api/visibility.proto +0 -113
  138. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +0 -150
  139. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +0 -1087
  140. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +0 -145
  141. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +0 -34
  142. package/schema/.snootobuf/deps/google/iam/v1/options.proto +0 -41
  143. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +0 -240
  144. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +0 -92
  145. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +0 -72
  146. package/schema/.snootobuf/deps/google/longrunning/operations.proto +0 -247
  147. package/schema/.snootobuf/deps/google/protobuf/any.proto +0 -158
  148. package/schema/.snootobuf/deps/google/protobuf/api.proto +0 -208
  149. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +0 -183
  150. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +0 -921
  151. package/schema/.snootobuf/deps/google/protobuf/duration.proto +0 -116
  152. package/schema/.snootobuf/deps/google/protobuf/empty.proto +0 -51
  153. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +0 -245
  154. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +0 -48
  155. package/schema/.snootobuf/deps/google/protobuf/struct.proto +0 -95
  156. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +0 -147
  157. package/schema/.snootobuf/deps/google/protobuf/type.proto +0 -187
  158. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +0 -123
  159. package/schema/.snootobuf/deps/google/rpc/code.proto +0 -186
  160. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +0 -287
  161. package/schema/.snootobuf/deps/google/rpc/error_details.proto +0 -246
  162. package/schema/.snootobuf/deps/google/rpc/status.proto +0 -47
  163. package/schema/.snootobuf/deps/google/type/calendar_period.proto +0 -57
  164. package/schema/.snootobuf/deps/google/type/color.proto +0 -170
  165. package/schema/.snootobuf/deps/google/type/date.proto +0 -50
  166. package/schema/.snootobuf/deps/google/type/datetime.proto +0 -97
  167. package/schema/.snootobuf/deps/google/type/dayofweek.proto +0 -51
  168. package/schema/.snootobuf/deps/google/type/expr.proto +0 -51
  169. package/schema/.snootobuf/deps/google/type/fraction.proto +0 -34
  170. package/schema/.snootobuf/deps/google/type/latlng.proto +0 -37
  171. package/schema/.snootobuf/deps/google/type/money.proto +0 -43
  172. package/schema/.snootobuf/deps/google/type/month.proto +0 -66
  173. package/schema/.snootobuf/deps/google/type/postal_address.proto +0 -135
  174. package/schema/.snootobuf/deps/google/type/quaternion.proto +0 -95
  175. package/schema/.snootobuf/deps/google/type/timeofday.proto +0 -44
  176. package/schema/.snootobuf/deps/openapi/helper.proto +0 -20
  177. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  178. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -118
  179. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +0 -55
  180. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +0 -579
  181. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +0 -43
  182. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +0 -82
  183. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +0 -221
  184. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +0 -78
  185. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +0 -189
  186. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +0 -29
  187. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +0 -417
  188. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +0 -72
  189. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +0 -25
  190. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +0 -52
  191. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +0 -16
  192. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +0 -20
  193. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +0 -149
  194. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +0 -197
  195. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +0 -116
  196. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +0 -25
  197. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +0 -101
  198. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +0 -34
  199. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +0 -798
  200. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +0 -186
  201. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +0 -110
  202. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +0 -51
  203. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +0 -1202
  204. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +0 -85
  205. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +0 -363
  206. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +0 -301
  207. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +0 -2869
  208. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +0 -15
  209. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +0 -11
  210. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +0 -48
  211. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +0 -70
  212. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +0 -11
  213. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +0 -17
  214. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +0 -89
  215. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +0 -322
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +0 -17
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +0 -14
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +0 -15
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +0 -48
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +0 -31
  221. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +0 -26
  222. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +0 -15
  223. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +0 -52
  224. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +0 -23
  225. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +0 -28
  226. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +0 -17
  227. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +0 -49
  228. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +0 -20
  229. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +0 -17
  230. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +0 -158
  231. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +0 -18
  232. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +0 -195
  233. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +0 -44
  234. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +0 -200
  235. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +0 -18
  236. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +0 -210
  237. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  238. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -135
  239. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +0 -29
  240. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +0 -3292
  241. package/schema/.snootobuf/deps/validate/validate.proto +0 -862
@@ -1,431 +0,0 @@
1
- // Copyright 2024 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
- syntax = "proto3";
16
-
17
- package google.api;
18
-
19
- import "google/api/launch_stage.proto";
20
- import "google/protobuf/descriptor.proto";
21
- import "google/protobuf/duration.proto";
22
-
23
- option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations";
24
- option java_multiple_files = true;
25
- option java_outer_classname = "ClientProto";
26
- option java_package = "com.google.api";
27
- option objc_class_prefix = "GAPI";
28
-
29
- extend google.protobuf.MethodOptions {
30
- // A definition of a client library method signature.
31
- //
32
- // In client libraries, each proto RPC corresponds to one or more methods
33
- // which the end user is able to call, and calls the underlying RPC.
34
- // Normally, this method receives a single argument (a struct or instance
35
- // corresponding to the RPC request object). Defining this field will
36
- // add one or more overloads providing flattened or simpler method signatures
37
- // in some languages.
38
- //
39
- // The fields on the method signature are provided as a comma-separated
40
- // string.
41
- //
42
- // For example, the proto RPC and annotation:
43
- //
44
- // rpc CreateSubscription(CreateSubscriptionRequest)
45
- // returns (Subscription) {
46
- // option (google.api.method_signature) = "name,topic";
47
- // }
48
- //
49
- // Would add the following Java overload (in addition to the method accepting
50
- // the request object):
51
- //
52
- // public final Subscription createSubscription(String name, String topic)
53
- //
54
- // The following backwards-compatibility guidelines apply:
55
- //
56
- // * Adding this annotation to an unannotated method is backwards
57
- // compatible.
58
- // * Adding this annotation to a method which already has existing
59
- // method signature annotations is backwards compatible if and only if
60
- // the new method signature annotation is last in the sequence.
61
- // * Modifying or removing an existing method signature annotation is
62
- // a breaking change.
63
- // * Re-ordering existing method signature annotations is a breaking
64
- // change.
65
- repeated string method_signature = 1051;
66
- }
67
-
68
- extend google.protobuf.ServiceOptions {
69
- // The hostname for this service.
70
- // This should be specified with no prefix or protocol.
71
- //
72
- // Example:
73
- //
74
- // service Foo {
75
- // option (google.api.default_host) = "foo.googleapi.com";
76
- // ...
77
- // }
78
- string default_host = 1049;
79
-
80
- // OAuth scopes needed for the client.
81
- //
82
- // Example:
83
- //
84
- // service Foo {
85
- // option (google.api.oauth_scopes) = \
86
- // "https://www.googleapis.com/auth/cloud-platform";
87
- // ...
88
- // }
89
- //
90
- // If there is more than one scope, use a comma-separated string:
91
- //
92
- // Example:
93
- //
94
- // service Foo {
95
- // option (google.api.oauth_scopes) = \
96
- // "https://www.googleapis.com/auth/cloud-platform,"
97
- // "https://www.googleapis.com/auth/monitoring";
98
- // ...
99
- // }
100
- string oauth_scopes = 1050;
101
-
102
- // The API version of this service, which should be sent by version-aware
103
- // clients to the service. This allows services to abide by the schema and
104
- // behavior of the service at the time this API version was deployed.
105
- // The format of the API version must be treated as opaque by clients.
106
- // Services may use a format with an apparent structure, but clients must
107
- // not rely on this to determine components within an API version, or attempt
108
- // to construct other valid API versions. Note that this is for upcoming
109
- // functionality and may not be implemented for all services.
110
- //
111
- // Example:
112
- //
113
- // service Foo {
114
- // option (google.api.api_version) = "v1_20230821_preview";
115
- // }
116
- string api_version = 525000001;
117
- }
118
-
119
- // Required information for every language.
120
- message CommonLanguageSettings {
121
- // Link to automatically generated reference documentation. Example:
122
- // https://cloud.google.com/nodejs/docs/reference/asset/latest
123
- string reference_docs_uri = 1 [deprecated = true];
124
-
125
- // The destination where API teams want this client library to be published.
126
- repeated ClientLibraryDestination destinations = 2;
127
- }
128
-
129
- // Details about how and where to publish client libraries.
130
- message ClientLibrarySettings {
131
- // Version of the API to apply these settings to. This is the full protobuf
132
- // package for the API, ending in the version element.
133
- // Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
134
- string version = 1;
135
-
136
- // Launch stage of this version of the API.
137
- LaunchStage launch_stage = 2;
138
-
139
- // When using transport=rest, the client request will encode enums as
140
- // numbers rather than strings.
141
- bool rest_numeric_enums = 3;
142
-
143
- // Settings for legacy Java features, supported in the Service YAML.
144
- JavaSettings java_settings = 21;
145
-
146
- // Settings for C++ client libraries.
147
- CppSettings cpp_settings = 22;
148
-
149
- // Settings for PHP client libraries.
150
- PhpSettings php_settings = 23;
151
-
152
- // Settings for Python client libraries.
153
- PythonSettings python_settings = 24;
154
-
155
- // Settings for Node client libraries.
156
- NodeSettings node_settings = 25;
157
-
158
- // Settings for .NET client libraries.
159
- DotnetSettings dotnet_settings = 26;
160
-
161
- // Settings for Ruby client libraries.
162
- RubySettings ruby_settings = 27;
163
-
164
- // Settings for Go client libraries.
165
- GoSettings go_settings = 28;
166
- }
167
-
168
- // This message configures the settings for publishing [Google Cloud Client
169
- // libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
170
- // generated from the service config.
171
- message Publishing {
172
- // A list of API method settings, e.g. the behavior for methods that use the
173
- // long-running operation pattern.
174
- repeated MethodSettings method_settings = 2;
175
-
176
- // Link to a *public* URI where users can report issues. Example:
177
- // https://issuetracker.google.com/issues/new?component=190865&template=1161103
178
- string new_issue_uri = 101;
179
-
180
- // Link to product home page. Example:
181
- // https://cloud.google.com/asset-inventory/docs/overview
182
- string documentation_uri = 102;
183
-
184
- // Used as a tracking tag when collecting data about the APIs developer
185
- // relations artifacts like docs, packages delivered to package managers,
186
- // etc. Example: "speech".
187
- string api_short_name = 103;
188
-
189
- // GitHub label to apply to issues and pull requests opened for this API.
190
- string github_label = 104;
191
-
192
- // GitHub teams to be added to CODEOWNERS in the directory in GitHub
193
- // containing source code for the client libraries for this API.
194
- repeated string codeowner_github_teams = 105;
195
-
196
- // A prefix used in sample code when demarking regions to be included in
197
- // documentation.
198
- string doc_tag_prefix = 106;
199
-
200
- // For whom the client library is being published.
201
- ClientLibraryOrganization organization = 107;
202
-
203
- // Client library settings. If the same version string appears multiple
204
- // times in this list, then the last one wins. Settings from earlier
205
- // settings with the same version string are discarded.
206
- repeated ClientLibrarySettings library_settings = 109;
207
-
208
- // Optional link to proto reference documentation. Example:
209
- // https://cloud.google.com/pubsub/lite/docs/reference/rpc
210
- string proto_reference_documentation_uri = 110;
211
-
212
- // Optional link to REST reference documentation. Example:
213
- // https://cloud.google.com/pubsub/lite/docs/reference/rest
214
- string rest_reference_documentation_uri = 111;
215
- }
216
-
217
- // Settings for Java client libraries.
218
- message JavaSettings {
219
- // The package name to use in Java. Clobbers the java_package option
220
- // set in the protobuf. This should be used **only** by APIs
221
- // who have already set the language_settings.java.package_name" field
222
- // in gapic.yaml. API teams should use the protobuf java_package option
223
- // where possible.
224
- //
225
- // Example of a YAML configuration::
226
- //
227
- // publishing:
228
- // java_settings:
229
- // library_package: com.google.cloud.pubsub.v1
230
- string library_package = 1;
231
-
232
- // Configure the Java class name to use instead of the service's for its
233
- // corresponding generated GAPIC client. Keys are fully-qualified
234
- // service names as they appear in the protobuf (including the full
235
- // the language_settings.java.interface_names" field in gapic.yaml. API
236
- // teams should otherwise use the service name as it appears in the
237
- // protobuf.
238
- //
239
- // Example of a YAML configuration::
240
- //
241
- // publishing:
242
- // java_settings:
243
- // service_class_names:
244
- // - google.pubsub.v1.Publisher: TopicAdmin
245
- // - google.pubsub.v1.Subscriber: SubscriptionAdmin
246
- map<string, string> service_class_names = 2;
247
-
248
- // Some settings.
249
- CommonLanguageSettings common = 3;
250
- }
251
-
252
- // Settings for C++ client libraries.
253
- message CppSettings {
254
- // Some settings.
255
- CommonLanguageSettings common = 1;
256
- }
257
-
258
- // Settings for Php client libraries.
259
- message PhpSettings {
260
- // Some settings.
261
- CommonLanguageSettings common = 1;
262
- }
263
-
264
- // Settings for Python client libraries.
265
- message PythonSettings {
266
- // Some settings.
267
- CommonLanguageSettings common = 1;
268
- }
269
-
270
- // Settings for Node client libraries.
271
- message NodeSettings {
272
- // Some settings.
273
- CommonLanguageSettings common = 1;
274
- }
275
-
276
- // Settings for Dotnet client libraries.
277
- message DotnetSettings {
278
- // Some settings.
279
- CommonLanguageSettings common = 1;
280
-
281
- // Map from original service names to renamed versions.
282
- // This is used when the default generated types
283
- // would cause a naming conflict. (Neither name is
284
- // fully-qualified.)
285
- // Example: Subscriber to SubscriberServiceApi.
286
- map<string, string> renamed_services = 2;
287
-
288
- // Map from full resource types to the effective short name
289
- // for the resource. This is used when otherwise resource
290
- // named from different services would cause naming collisions.
291
- // Example entry:
292
- // "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
293
- map<string, string> renamed_resources = 3;
294
-
295
- // List of full resource types to ignore during generation.
296
- // This is typically used for API-specific Location resources,
297
- // which should be handled by the generator as if they were actually
298
- // the common Location resources.
299
- // Example entry: "documentai.googleapis.com/Location"
300
- repeated string ignored_resources = 4;
301
-
302
- // Namespaces which must be aliased in snippets due to
303
- // a known (but non-generator-predictable) naming collision
304
- repeated string forced_namespace_aliases = 5;
305
-
306
- // Method signatures (in the form "service.method(signature)")
307
- // which are provided separately, so shouldn't be generated.
308
- // Snippets *calling* these methods are still generated, however.
309
- repeated string handwritten_signatures = 6;
310
- }
311
-
312
- // Settings for Ruby client libraries.
313
- message RubySettings {
314
- // Some settings.
315
- CommonLanguageSettings common = 1;
316
- }
317
-
318
- // Settings for Go client libraries.
319
- message GoSettings {
320
- // Some settings.
321
- CommonLanguageSettings common = 1;
322
- }
323
-
324
- // Describes the generator configuration for a method.
325
- message MethodSettings {
326
- // Describes settings to use when generating API methods that use the
327
- // long-running operation pattern.
328
- // All default values below are from those used in the client library
329
- // generators (e.g.
330
- // [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
331
- message LongRunning {
332
- // Initial delay after which the first poll request will be made.
333
- // Default value: 5 seconds.
334
- google.protobuf.Duration initial_poll_delay = 1;
335
-
336
- // Multiplier to gradually increase delay between subsequent polls until it
337
- // reaches max_poll_delay.
338
- // Default value: 1.5.
339
- float poll_delay_multiplier = 2;
340
-
341
- // Maximum time between two subsequent poll requests.
342
- // Default value: 45 seconds.
343
- google.protobuf.Duration max_poll_delay = 3;
344
-
345
- // Total polling timeout.
346
- // Default value: 5 minutes.
347
- google.protobuf.Duration total_poll_timeout = 4;
348
- }
349
-
350
- // The fully qualified name of the method, for which the options below apply.
351
- // This is used to find the method to apply the options.
352
- //
353
- // Example:
354
- //
355
- // publishing:
356
- // method_settings:
357
- // - selector: google.storage.control.v2.StorageControl.CreateFolder
358
- // # method settings for CreateFolder...
359
- string selector = 1;
360
-
361
- // Describes settings to use for long-running operations when generating
362
- // API methods for RPCs. Complements RPCs that use the annotations in
363
- // google/longrunning/operations.proto.
364
- //
365
- // Example of a YAML configuration::
366
- //
367
- // publishing:
368
- // method_settings:
369
- // - selector: google.cloud.speech.v2.Speech.BatchRecognize
370
- // long_running:
371
- // initial_poll_delay: 60s # 1 minute
372
- // poll_delay_multiplier: 1.5
373
- // max_poll_delay: 360s # 6 minutes
374
- // total_poll_timeout: 54000s # 90 minutes
375
- LongRunning long_running = 2;
376
-
377
- // List of top-level fields of the request message, that should be
378
- // automatically populated by the client libraries based on their
379
- // (google.api.field_info).format. Currently supported format: UUID4.
380
- //
381
- // Example of a YAML configuration:
382
- //
383
- // publishing:
384
- // method_settings:
385
- // - selector: google.example.v1.ExampleService.CreateExample
386
- // auto_populated_fields:
387
- // - request_id
388
- repeated string auto_populated_fields = 3;
389
- }
390
-
391
- // The organization for which the client libraries are being published.
392
- // Affects the url where generated docs are published, etc.
393
- enum ClientLibraryOrganization {
394
- // Not useful.
395
- CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0;
396
-
397
- // Google Cloud Platform Org.
398
- CLOUD = 1;
399
-
400
- // Ads (Advertising) Org.
401
- ADS = 2;
402
-
403
- // Photos Org.
404
- PHOTOS = 3;
405
-
406
- // Street View Org.
407
- STREET_VIEW = 4;
408
-
409
- // Shopping Org.
410
- SHOPPING = 5;
411
-
412
- // Geo Org.
413
- GEO = 6;
414
-
415
- // Generative AI - https://developers.generativeai.google
416
- GENERATIVE_AI = 7;
417
- }
418
-
419
- // To where should client libraries be published?
420
- enum ClientLibraryDestination {
421
- // Client libraries will neither be generated nor published to package
422
- // managers.
423
- CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0;
424
-
425
- // Generate the client library in a repo under github.com/googleapis,
426
- // but don't publish it to package managers.
427
- GITHUB = 10;
428
-
429
- // Publish the library to package managers like nuget.org and npmjs.com.
430
- PACKAGE_MANAGER = 20;
431
- }