@devvit/protos 0.12.1-next-2025-09-08-20-55-43-6ce1b439e.0 → 0.12.1-next-2025-09-09-13-45-18-0f0a506a2.0

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 (491) hide show
  1. package/json/devvit/data/api/admin/v1alpha/organization.d.ts +7 -0
  2. package/json/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
  3. package/json/devvit/data/api/v1alpha/admin.d.ts +3 -0
  4. package/json/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  5. package/json/devvit/data/api/v1alpha/filter.d.ts +81 -0
  6. package/json/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
  7. package/json/devvit/data/api/v1alpha/filter.js +21 -0
  8. package/package.json +4 -4
  9. package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/expression.proto +92 -0
  10. package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
  11. package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/validate.proto +4130 -0
  12. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/automation/v1alpha/event_handlers.proto +105 -0
  13. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/hello/hello.proto +18 -0
  14. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/payments/v1alpha/payments.proto +41 -0
  15. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/producer/producer.proto +22 -0
  16. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_action.proto +92 -0
  17. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_type.proto +14 -0
  18. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/post_filter.proto +20 -0
  19. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/action.proto +15 -0
  20. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/handler.proto +15 -0
  21. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/app_settings.proto +21 -0
  22. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/installation_settings.proto +21 -0
  23. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/instance_settings.proto +20 -0
  24. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/shared.proto +34 -0
  25. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/test/wrappertypes.proto +18 -0
  26. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/user_configurable/user_configurable.proto +55 -0
  27. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/webbit/webbit.proto +34 -0
  28. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/analytics/v1/analytics.proto +32 -0
  29. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/init.proto +14 -0
  30. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/playtest.proto +41 -0
  31. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
  32. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
  33. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
  34. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
  35. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
  36. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
  37. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
  38. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
  39. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +804 -0
  40. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/fetcher.proto +20 -0
  41. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
  42. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +138 -0
  43. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
  44. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/debug/v1alpha/debug.proto +18 -0
  45. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/actor/actor_type.proto +12 -0
  46. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin/waitlist_admin.proto +72 -0
  47. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin_portal.proto +38 -0
  48. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/app.proto +365 -0
  49. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/categories/categories.proto +60 -0
  50. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/info/app_info.proto +88 -0
  51. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/app_publish_request.proto +121 -0
  52. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto +29 -0
  53. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto +27 -0
  54. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_settings/app_settings.proto +48 -0
  55. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/app_version.proto +168 -0
  56. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/info/app_version_info.proto +88 -0
  57. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/audit/audit.proto +75 -0
  58. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/auth/auth.proto +41 -0
  59. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/organization/organization.proto +41 -0
  60. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/subscription/subscription.proto +91 -0
  61. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/user/user.proto +44 -0
  62. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/dev_portal.proto +193 -0
  63. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/developer_account/developer_account.proto +46 -0
  64. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/feedback/feedback.proto +10 -0
  65. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain/fetch_domain.proto +19 -0
  66. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain_request/fetch_domain_request.proto +64 -0
  67. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation/installation.proto +230 -0
  68. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation_settings/installation_settings.proto +51 -0
  69. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/authorization/v1alpha/authorization.proto +45 -0
  70. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/community_drawer/community_drawer.proto +24 -0
  71. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.proto +26 -0
  72. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.proto +19 -0
  73. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/media/media.proto +43 -0
  74. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/nutrition/nutrition.proto +64 -0
  75. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/payments_verification.proto +29 -0
  76. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/product.proto +11 -0
  77. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/reddit/redditor.proto +14 -0
  78. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/waitlist/waitlist.proto +61 -0
  79. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
  80. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/realtime.proto +25 -0
  81. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/wqcleanup.proto +10 -0
  82. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +14 -0
  83. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/custom_post_snapshot.proto +15 -0
  84. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/playtest_subreddit/playtest_subreddit.proto +24 -0
  85. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/resolvers.proto +15 -0
  86. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/app_health.proto +18 -0
  87. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +58 -0
  88. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
  89. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/triggers.proto +37 -0
  90. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/snapshot.proto +11 -0
  91. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/subreddit_metadata.proto +54 -0
  92. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/options/options.proto +98 -0
  93. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/common.proto +13 -0
  94. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/order.proto +48 -0
  95. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/product.proto +65 -0
  96. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/assetresolver/assetresolver.proto +51 -0
  97. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/buildpack/buildpack_common.proto +64 -0
  98. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/clock/clock.proto +13 -0
  99. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/http/http.proto +29 -0
  100. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/inspector/inspector.proto +17 -0
  101. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/kvstore/kvstore.proto +28 -0
  102. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/logger/logger.proto +116 -0
  103. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/media/media.proto +20 -0
  104. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/modlog/modlog.proto +31 -0
  105. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/payments/v1alpha/payments.proto +72 -0
  106. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +671 -0
  107. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_msg.proto +284 -0
  108. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_svc.proto +120 -0
  109. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_msg.proto +35 -0
  110. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_svc.proto +19 -0
  111. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto +291 -0
  112. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.proto +253 -0
  113. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_msg.proto +214 -0
  114. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_svc.proto +80 -0
  115. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_msg.proto +137 -0
  116. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_svc.proto +178 -0
  117. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_msg.proto +104 -0
  118. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_svc.proto +45 -0
  119. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_msg.proto +348 -0
  120. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_svc.proto +142 -0
  121. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_msg.proto +48 -0
  122. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_svc.proto +84 -0
  123. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_msg.proto +1087 -0
  124. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +196 -0
  125. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_msg.proto +192 -0
  126. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_svc.proto +101 -0
  127. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_msg.proto +383 -0
  128. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_svc.proto +171 -0
  129. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_msg.proto +217 -0
  130. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_svc.proto +91 -0
  131. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redis/redisapi.proto +434 -0
  132. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/scheduler/scheduler.proto +80 -0
  133. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/settings/v1alpha/settings.proto +33 -0
  134. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/timer/timer.proto +16 -0
  135. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/useractions/useractions.proto +18 -0
  136. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +52 -0
  137. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v2events/v2events.proto +43 -0
  138. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/comment.proto +104 -0
  139. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/common.proto +104 -0
  140. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_actions/v2alpha/custom_actions.proto +73 -0
  141. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_post/v1alpha/custom_post.proto +84 -0
  142. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/post.proto +192 -0
  143. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/subreddit.proto +138 -0
  144. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/thing_type.proto +16 -0
  145. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/user.proto +138 -0
  146. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +30 -0
  147. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
  148. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
  149. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
  150. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +109 -0
  151. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
  152. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
  153. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/remote_logger/remote_logger.proto +65 -0
  154. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/bootstrap.proto +15 -0
  155. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/v1alpha/health.proto +18 -0
  156. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/bundle.proto +171 -0
  157. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/runtime_common.proto +10 -0
  158. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/serializable.proto +28 -0
  159. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/service/bundle_service.proto +22 -0
  160. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
  161. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/attributes.proto +69 -0
  162. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/block.proto +212 -0
  163. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/enums.proto +221 -0
  164. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/rendering.proto +27 -0
  165. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/ui.proto +100 -0
  166. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/common/v1alpha/common.proto +21 -0
  167. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effect_types/v1alpha/realtime_subscription.proto +26 -0
  168. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +19 -0
  169. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/create_order.proto +39 -0
  170. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +71 -0
  171. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/interval.proto +31 -0
  172. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/navigate_to_url.proto +12 -0
  173. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/realtime_subscriptions.proto +26 -0
  174. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/reload_part.proto +48 -0
  175. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/rerender_ui.proto +12 -0
  176. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_form.proto +26 -0
  177. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
  178. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +150 -0
  179. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +21 -0
  180. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/immersive_mode.proto +16 -0
  181. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +104 -0
  182. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/share.proto +22 -0
  183. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/web_view.proto +17 -0
  184. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +113 -0
  185. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/handle_ui.proto +30 -0
  186. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +55 -0
  187. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/field.proto +134 -0
  188. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/form.proto +27 -0
  189. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/type.proto +32 -0
  190. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/value.proto +52 -0
  191. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/toast/toast.proto +48 -0
  192. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/uuid.proto +12 -0
  193. package/schema/.snootobuf/deps/.snootobuf/deps/enum/account_gender_category.proto +14 -0
  194. package/schema/.snootobuf/deps/.snootobuf/deps/enum/approval_status.proto +15 -0
  195. package/schema/.snootobuf/deps/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
  196. package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
  197. package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_info_action.proto +12 -0
  198. package/schema/.snootobuf/deps/.snootobuf/deps/enum/block_relation_type.proto +11 -0
  199. package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_sort.proto +18 -0
  200. package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_type.proto +11 -0
  201. package/schema/.snootobuf/deps/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
  202. package/schema/.snootobuf/deps/.snootobuf/deps/enum/discussion_type.proto +10 -0
  203. package/schema/.snootobuf/deps/.snootobuf/deps/enum/distinguish_type.proto +14 -0
  204. package/schema/.snootobuf/deps/.snootobuf/deps/enum/flair_position.proto +11 -0
  205. package/schema/.snootobuf/deps/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
  206. package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_content_type.proto +11 -0
  207. package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_type.proto +11 -0
  208. package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_visibility.proto +11 -0
  209. package/schema/.snootobuf/deps/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
  210. package/schema/.snootobuf/deps/.snootobuf/deps/enum/promo_layout.proto +11 -0
  211. package/schema/.snootobuf/deps/.snootobuf/deps/enum/removed_by_type.proto +18 -0
  212. package/schema/.snootobuf/deps/.snootobuf/deps/enum/spam_level.proto +11 -0
  213. package/schema/.snootobuf/deps/.snootobuf/deps/enum/subreddit_type.proto +16 -0
  214. package/schema/.snootobuf/deps/.snootobuf/deps/enum/verdict.proto +14 -0
  215. package/schema/.snootobuf/deps/.snootobuf/deps/enum/vote.proto +12 -0
  216. package/schema/.snootobuf/deps/.snootobuf/deps/enum/whitelist_status.proto +17 -0
  217. package/schema/.snootobuf/deps/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
  218. package/schema/.snootobuf/deps/.snootobuf/deps/evaluator/evaluator.proto +203 -0
  219. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/annotations.proto +31 -0
  220. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +274 -0
  221. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/resources.proto +172 -0
  222. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/auth.proto +180 -0
  223. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/backend.proto +50 -0
  224. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/billing.proto +66 -0
  225. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/client.proto +99 -0
  226. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +290 -0
  227. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +312 -0
  228. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/config_change.proto +84 -0
  229. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/consumer.proto +82 -0
  230. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/context.proto +62 -0
  231. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/control.proto +32 -0
  232. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/distribution.proto +212 -0
  233. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/documentation.proto +156 -0
  234. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/endpoint.proto +70 -0
  235. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/error_reason.proto +589 -0
  236. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +180 -0
  237. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
  238. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
  239. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
  240. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
  241. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
  242. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
  243. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
  244. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
  245. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
  246. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
  247. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_behavior.proto +84 -0
  248. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_info.proto +106 -0
  249. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/http.proto +317 -0
  250. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/httpbody.proto +75 -0
  251. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/label.proto +48 -0
  252. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/launch_stage.proto +67 -0
  253. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/log.proto +54 -0
  254. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/logging.proto +82 -0
  255. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/metric.proto +191 -0
  256. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitored_resource.proto +115 -0
  257. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitoring.proto +88 -0
  258. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/policy.proto +85 -0
  259. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/quota.proto +258 -0
  260. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/resource.proto +299 -0
  261. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/routing.proto +461 -0
  262. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/service.proto +174 -0
  263. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
  264. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
  265. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
  266. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
  267. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
  268. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
  269. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
  270. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
  271. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
  272. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
  273. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +483 -0
  274. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
  275. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +295 -0
  276. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
  277. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +756 -0
  278. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/source_info.proto +31 -0
  279. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/system_parameter.proto +95 -0
  280. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/usage.proto +91 -0
  281. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/visibility.proto +113 -0
  282. package/schema/.snootobuf/deps/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
  283. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/admin/v1/iam.proto +1043 -0
  284. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/iam_policy.proto +148 -0
  285. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
  286. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/options.proto +41 -0
  287. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
  288. package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/http_request.proto +91 -0
  289. package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/log_severity.proto +71 -0
  290. package/schema/.snootobuf/deps/.snootobuf/deps/google/longrunning/operations.proto +240 -0
  291. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/any.proto +158 -0
  292. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/api.proto +208 -0
  293. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/compiler/plugin.proto +182 -0
  294. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/descriptor.proto +902 -0
  295. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/duration.proto +116 -0
  296. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/empty.proto +51 -0
  297. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
  298. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
  299. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/struct.proto +95 -0
  300. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
  301. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/type.proto +187 -0
  302. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
  303. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/code.proto +186 -0
  304. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
  305. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/error_details.proto +246 -0
  306. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/status.proto +47 -0
  307. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/calendar_period.proto +57 -0
  308. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/color.proto +170 -0
  309. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/date.proto +50 -0
  310. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/datetime.proto +97 -0
  311. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/dayofweek.proto +51 -0
  312. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/expr.proto +51 -0
  313. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/fraction.proto +34 -0
  314. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/latlng.proto +37 -0
  315. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/money.proto +43 -0
  316. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/month.proto +66 -0
  317. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/postal_address.proto +135 -0
  318. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/quaternion.proto +95 -0
  319. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/timeofday.proto +44 -0
  320. package/schema/.snootobuf/deps/.snootobuf/deps/openapi/helper.proto +50 -0
  321. package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/annotations.proto +51 -0
  322. package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/openapiv2.proto +759 -0
  323. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
  324. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +585 -0
  325. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
  326. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
  327. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
  328. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/callback/v1/callback_service.proto +92 -0
  329. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/event/v1/event.proto +52 -0
  330. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/experimental/v1/experimental.proto +71 -0
  331. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/analytics/v1/analytics.proto +12 -0
  332. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/generic/v1/generic.proto +12 -0
  333. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/loadbalancing/v1/loadbalancing.proto +43 -0
  334. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/metadata/v1/metadata.proto +20 -0
  335. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/operation/v1/operation.proto +148 -0
  336. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/publication/v1/publication_service.proto +56 -0
  337. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/offsets.proto +17 -0
  338. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/scheduling.proto +25 -0
  339. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/testing/v1/testing.proto +72 -0
  340. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/workerpool/v1/workerpool.proto +213 -0
  341. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
  342. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
  343. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
  344. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +446 -0
  345. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
  346. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
  347. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
  348. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
  349. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
  350. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
  351. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
  352. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
  353. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
  354. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
  355. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account.proto +56 -0
  356. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account_relations.proto +93 -0
  357. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/cloudevent/v1/cloudevent.proto +67 -0
  358. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/comments/v1/comments.proto +59 -0
  359. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/actor.proto +43 -0
  360. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_attr_key.proto +19 -0
  361. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_extensions.proto +26 -0
  362. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/eventcontext.proto +69 -0
  363. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/links/v1/links.proto +59 -0
  364. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit.proto +86 -0
  365. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit_member_relations.proto +52 -0
  366. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
  367. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +805 -0
  368. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
  369. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
  370. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
  371. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
  372. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
  373. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
  374. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
  375. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
  376. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/data/engagement/v1/engagement.proto +117 -0
  377. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/ads/v1/ads.proto +14 -0
  378. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/app_permission.proto +76 -0
  379. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/service.proto +13 -0
  380. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +39 -0
  381. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/service.proto +12 -0
  382. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/post.proto +119 -0
  383. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/service.proto +14 -0
  384. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +92 -0
  385. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/metadata_service.proto +22 -0
  386. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +12 -0
  387. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/useractions/v1/useractions.proto +13 -0
  388. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
  389. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/cancel_subscription.proto +16 -0
  390. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/change_payment_method.proto +21 -0
  391. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +86 -0
  392. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +426 -0
  393. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/contributor_program.proto +40 -0
  394. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
  395. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/deposit_gold.proto +28 -0
  396. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +35 -0
  397. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_aggregated_transactions_list.proto +37 -0
  398. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
  399. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +56 -0
  400. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +15 -0
  401. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
  402. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +16 -0
  403. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +51 -0
  404. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +24 -0
  405. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_subscriptions.proto +66 -0
  406. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_transaction_list.proto +28 -0
  407. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
  408. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +19 -0
  409. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/revoke_subscription.proto +15 -0
  410. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +86 -0
  411. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +55 -0
  412. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/transfer_subscription.proto +16 -0
  413. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
  414. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/environment.proto +12 -0
  415. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/order_status_reason.proto +29 -0
  416. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +304 -0
  417. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/events.proto +14 -0
  418. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/order.proto +80 -0
  419. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
  420. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +168 -0
  421. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
  422. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +254 -0
  423. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +43 -0
  424. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +293 -0
  425. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  426. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payments_data_compliance.proto +18 -0
  427. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +220 -0
  428. package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
  429. package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
  430. package/schema/.snootobuf/deps/.snootobuf/deps/validate/validate.proto +862 -0
  431. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +26 -1
  432. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +1 -1
  433. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +10 -1
  434. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +2 -1
  435. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +16 -1
  436. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +1 -1
  437. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +1 -1
  438. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +4 -1
  439. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +1 -1
  440. package/schema/.snootobuf/deps/devvit/dev_portal/v1/installation.proto +12 -0
  441. package/schema/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +1 -4
  442. package/schema/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +0 -1
  443. package/schema/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +0 -3
  444. package/schema/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +0 -2
  445. package/schema/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +0 -55
  446. package/schema/.snootobuf/deps/devvit/runtime/bundle.proto +0 -4
  447. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +1 -1
  448. package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +1 -2
  449. package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +2 -2
  450. package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
  451. package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +0 -14
  452. package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +0 -4
  453. package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +2 -5
  454. package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +2 -2
  455. package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +2 -16
  456. package/schema/.snootobuf/deps/reddit/devvit/common/v1/app.proto +44 -0
  457. package/schema/.snootobuf/deps/reddit/devvit/common/v1/context_action.proto +48 -0
  458. package/schema/.snootobuf/deps/reddit/devvit/common/v1/error_message.proto +9 -0
  459. package/schema/.snootobuf/deps/reddit/devvit/common/v1/installation.proto +23 -0
  460. package/schema/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +4 -3
  461. package/schema/.snootobuf/deps/reddit/devvit/post/v1/post.proto +31 -7
  462. package/schema/.snootobuf/deps/reddit/devvit/post/v1/promoted_post.proto +32 -0
  463. package/schema/.snootobuf/deps/reddit/devvit/post/v1/service.proto +4 -0
  464. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +7 -56
  465. package/schema/devvit/data/api/v1alpha/filter.proto +68 -0
  466. package/schema/devvit/dev_portal/data_api/admin/audit/audit.proto +2 -0
  467. package/schema/devvit/dev_portal/data_api/admin/auth/auth.proto +2 -0
  468. package/schema/devvit/dev_portal/data_api/admin/organization/organization.proto +2 -0
  469. package/schema/devvit/dev_portal/data_api/admin/subscription/subscription.proto +2 -0
  470. package/schema/devvit/dev_portal/data_api/admin/user/user.proto +2 -0
  471. package/schema/snootobuf.lock +0 -0
  472. package/schema/snootobuf.redditapi.lock +0 -0
  473. package/schema/snootobuf.yaml +2 -4
  474. package/types/devvit/data/api/admin/v1alpha/organization.d.ts +25 -0
  475. package/types/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
  476. package/types/devvit/data/api/admin/v1alpha/organization.js +122 -0
  477. package/types/devvit/data/api/v1alpha/admin.d.ts +3 -0
  478. package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  479. package/types/devvit/data/api/v1alpha/admin.js +47 -0
  480. package/types/devvit/data/api/v1alpha/filter.d.ts +161 -0
  481. package/types/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
  482. package/types/devvit/data/api/v1alpha/filter.js +984 -0
  483. package/types/devvit/dev_portal/dev_portal.d.ts +48 -0
  484. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  485. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +12 -0
  486. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts.map +1 -1
  487. /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -0
  488. /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -0
  489. /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/custom_post.proto +0 -0
  490. /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/service.proto +0 -0
  491. /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/subreddit/v1/context_action.proto +0 -0
@@ -0,0 +1,902 @@
1
+ // Protocol Buffers - Google's data interchange format
2
+ // Copyright 2008 Google Inc. All rights reserved.
3
+ // https://developers.google.com/protocol-buffers/
4
+ //
5
+ // Redistribution and use in source and binary forms, with or without
6
+ // modification, are permitted provided that the following conditions are
7
+ // met:
8
+ //
9
+ // * Redistributions of source code must retain the above copyright
10
+ // notice, this list of conditions and the following disclaimer.
11
+ // * Redistributions in binary form must reproduce the above
12
+ // copyright notice, this list of conditions and the following disclaimer
13
+ // in the documentation and/or other materials provided with the
14
+ // distribution.
15
+ // * Neither the name of Google Inc. nor the names of its
16
+ // contributors may be used to endorse or promote products derived from
17
+ // this software without specific prior written permission.
18
+ //
19
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+
31
+ // Author: kenton@google.com (Kenton Varda)
32
+ // Based on original Protocol Buffers design by
33
+ // Sanjay Ghemawat, Jeff Dean, and others.
34
+ //
35
+ // The messages in this file describe the definitions found in .proto files.
36
+ // A valid .proto file can be translated directly to a FileDescriptorProto
37
+ // without any other information (e.g. without reading its imports).
38
+
39
+ syntax = "proto2";
40
+
41
+ package google.protobuf;
42
+
43
+ option cc_enable_arenas = true;
44
+ option csharp_namespace = "Google.Protobuf.Reflection";
45
+ option go_package = "google.golang.org/protobuf/types/descriptorpb";
46
+ option java_outer_classname = "DescriptorProtos";
47
+ option java_package = "com.google.protobuf";
48
+ option objc_class_prefix = "GPB";
49
+ // descriptor.proto must be optimized for speed because reflection-based
50
+ // algorithms don't work during bootstrapping.
51
+ option optimize_for = SPEED;
52
+
53
+ // The protocol compiler can output a FileDescriptorSet containing the .proto
54
+ // files it parses.
55
+ message FileDescriptorSet {
56
+ repeated FileDescriptorProto file = 1;
57
+ }
58
+
59
+ // Describes a complete .proto file.
60
+ message FileDescriptorProto {
61
+ optional string name = 1; // file name, relative to root of source tree
62
+ optional string package = 2; // e.g. "foo", "foo.bar", etc.
63
+
64
+ // Names of files imported by this file.
65
+ repeated string dependency = 3;
66
+ // Indexes of the public imported files in the dependency list above.
67
+ repeated int32 public_dependency = 10;
68
+ // Indexes of the weak imported files in the dependency list.
69
+ // For Google-internal migration only. Do not use.
70
+ repeated int32 weak_dependency = 11;
71
+
72
+ // All top-level definitions in this file.
73
+ repeated DescriptorProto message_type = 4;
74
+ repeated EnumDescriptorProto enum_type = 5;
75
+ repeated ServiceDescriptorProto service = 6;
76
+ repeated FieldDescriptorProto extension = 7;
77
+
78
+ optional FileOptions options = 8;
79
+
80
+ // This field contains optional information about the original source code.
81
+ // You may safely remove this entire field without harming runtime
82
+ // functionality of the descriptors -- the information is needed only by
83
+ // development tools.
84
+ optional SourceCodeInfo source_code_info = 9;
85
+
86
+ // The syntax of the proto file.
87
+ // The supported values are "proto2" and "proto3".
88
+ optional string syntax = 12;
89
+ }
90
+
91
+ // Describes a message type.
92
+ message DescriptorProto {
93
+ optional string name = 1;
94
+
95
+ repeated FieldDescriptorProto field = 2;
96
+ repeated FieldDescriptorProto extension = 6;
97
+
98
+ repeated DescriptorProto nested_type = 3;
99
+ repeated EnumDescriptorProto enum_type = 4;
100
+
101
+ message ExtensionRange {
102
+ optional int32 start = 1; // Inclusive.
103
+ optional int32 end = 2; // Exclusive.
104
+
105
+ optional ExtensionRangeOptions options = 3;
106
+ }
107
+ repeated ExtensionRange extension_range = 5;
108
+
109
+ repeated OneofDescriptorProto oneof_decl = 8;
110
+
111
+ optional MessageOptions options = 7;
112
+
113
+ // Range of reserved tag numbers. Reserved tag numbers may not be used by
114
+ // fields or extension ranges in the same message. Reserved ranges may
115
+ // not overlap.
116
+ message ReservedRange {
117
+ optional int32 start = 1; // Inclusive.
118
+ optional int32 end = 2; // Exclusive.
119
+ }
120
+ repeated ReservedRange reserved_range = 9;
121
+ // Reserved field names, which may not be used by fields in the same message.
122
+ // A given name may only be reserved once.
123
+ repeated string reserved_name = 10;
124
+ }
125
+
126
+ message ExtensionRangeOptions {
127
+ // The parser stores options it doesn't recognize here. See above.
128
+ repeated UninterpretedOption uninterpreted_option = 999;
129
+
130
+ // Clients can define custom options in extensions of this message. See above.
131
+ extensions 1000 to max;
132
+ }
133
+
134
+ // Describes a field within a message.
135
+ message FieldDescriptorProto {
136
+ enum Type {
137
+ // 0 is reserved for errors.
138
+ // Order is weird for historical reasons.
139
+ TYPE_DOUBLE = 1;
140
+ TYPE_FLOAT = 2;
141
+ // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
142
+ // negative values are likely.
143
+ TYPE_INT64 = 3;
144
+ TYPE_UINT64 = 4;
145
+ // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
146
+ // negative values are likely.
147
+ TYPE_INT32 = 5;
148
+ TYPE_FIXED64 = 6;
149
+ TYPE_FIXED32 = 7;
150
+ TYPE_BOOL = 8;
151
+ TYPE_STRING = 9;
152
+ // Tag-delimited aggregate.
153
+ // Group type is deprecated and not supported in proto3. However, Proto3
154
+ // implementations should still be able to parse the group wire format and
155
+ // treat group fields as unknown fields.
156
+ TYPE_GROUP = 10;
157
+ TYPE_MESSAGE = 11; // Length-delimited aggregate.
158
+
159
+ // New in version 2.
160
+ TYPE_BYTES = 12;
161
+ TYPE_UINT32 = 13;
162
+ TYPE_ENUM = 14;
163
+ TYPE_SFIXED32 = 15;
164
+ TYPE_SFIXED64 = 16;
165
+ TYPE_SINT32 = 17; // Uses ZigZag encoding.
166
+ TYPE_SINT64 = 18; // Uses ZigZag encoding.
167
+ }
168
+
169
+ enum Label {
170
+ // 0 is reserved for errors
171
+ LABEL_OPTIONAL = 1;
172
+ LABEL_REQUIRED = 2;
173
+ LABEL_REPEATED = 3;
174
+ }
175
+
176
+ optional string name = 1;
177
+ optional int32 number = 3;
178
+ optional Label label = 4;
179
+
180
+ // If type_name is set, this need not be set. If both this and type_name
181
+ // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
182
+ optional Type type = 5;
183
+
184
+ // For message and enum types, this is the name of the type. If the name
185
+ // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
186
+ // rules are used to find the type (i.e. first the nested types within this
187
+ // message are searched, then within the parent, on up to the root
188
+ // namespace).
189
+ optional string type_name = 6;
190
+
191
+ // For extensions, this is the name of the type being extended. It is
192
+ // resolved in the same manner as type_name.
193
+ optional string extendee = 2;
194
+
195
+ // For numeric types, contains the original text representation of the value.
196
+ // For booleans, "true" or "false".
197
+ // For strings, contains the default text contents (not escaped in any way).
198
+ // For bytes, contains the C escaped value. All bytes >= 128 are escaped.
199
+ optional string default_value = 7;
200
+
201
+ // If set, gives the index of a oneof in the containing type's oneof_decl
202
+ // list. This field is a member of that oneof.
203
+ optional int32 oneof_index = 9;
204
+
205
+ // JSON name of this field. The value is set by protocol compiler. If the
206
+ // user has set a "json_name" option on this field, that option's value
207
+ // will be used. Otherwise, it's deduced from the field's name by converting
208
+ // it to camelCase.
209
+ optional string json_name = 10;
210
+
211
+ optional FieldOptions options = 8;
212
+
213
+ // If true, this is a proto3 "optional". When a proto3 field is optional, it
214
+ // tracks presence regardless of field type.
215
+ //
216
+ // When proto3_optional is true, this field must be belong to a oneof to
217
+ // signal to old proto3 clients that presence is tracked for this field. This
218
+ // oneof is known as a "synthetic" oneof, and this field must be its sole
219
+ // member (each proto3 optional field gets its own synthetic oneof). Synthetic
220
+ // oneofs exist in the descriptor only, and do not generate any API. Synthetic
221
+ // oneofs must be ordered after all "real" oneofs.
222
+ //
223
+ // For message fields, proto3_optional doesn't create any semantic change,
224
+ // since non-repeated message fields always track presence. However it still
225
+ // indicates the semantic detail of whether the user wrote "optional" or not.
226
+ // This can be useful for round-tripping the .proto file. For consistency we
227
+ // give message fields a synthetic oneof also, even though it is not required
228
+ // to track presence. This is especially important because the parser can't
229
+ // tell if a field is a message or an enum, so it must always create a
230
+ // synthetic oneof.
231
+ //
232
+ // Proto2 optional fields do not set this flag, because they already indicate
233
+ // optional with `LABEL_OPTIONAL`.
234
+ optional bool proto3_optional = 17;
235
+ }
236
+
237
+ // Describes a oneof.
238
+ message OneofDescriptorProto {
239
+ optional string name = 1;
240
+ optional OneofOptions options = 2;
241
+ }
242
+
243
+ // Describes an enum type.
244
+ message EnumDescriptorProto {
245
+ optional string name = 1;
246
+
247
+ repeated EnumValueDescriptorProto value = 2;
248
+
249
+ optional EnumOptions options = 3;
250
+
251
+ // Range of reserved numeric values. Reserved values may not be used by
252
+ // entries in the same enum. Reserved ranges may not overlap.
253
+ //
254
+ // Note that this is distinct from DescriptorProto.ReservedRange in that it
255
+ // is inclusive such that it can appropriately represent the entire int32
256
+ // domain.
257
+ message EnumReservedRange {
258
+ optional int32 start = 1; // Inclusive.
259
+ optional int32 end = 2; // Inclusive.
260
+ }
261
+
262
+ // Range of reserved numeric values. Reserved numeric values may not be used
263
+ // by enum values in the same enum declaration. Reserved ranges may not
264
+ // overlap.
265
+ repeated EnumReservedRange reserved_range = 4;
266
+
267
+ // Reserved enum value names, which may not be reused. A given name may only
268
+ // be reserved once.
269
+ repeated string reserved_name = 5;
270
+ }
271
+
272
+ // Describes a value within an enum.
273
+ message EnumValueDescriptorProto {
274
+ optional string name = 1;
275
+ optional int32 number = 2;
276
+
277
+ optional EnumValueOptions options = 3;
278
+ }
279
+
280
+ // Describes a service.
281
+ message ServiceDescriptorProto {
282
+ optional string name = 1;
283
+ repeated MethodDescriptorProto method = 2;
284
+
285
+ optional ServiceOptions options = 3;
286
+ }
287
+
288
+ // Describes a method of a service.
289
+ message MethodDescriptorProto {
290
+ optional string name = 1;
291
+
292
+ // Input and output type names. These are resolved in the same way as
293
+ // FieldDescriptorProto.type_name, but must refer to a message type.
294
+ optional string input_type = 2;
295
+ optional string output_type = 3;
296
+
297
+ optional MethodOptions options = 4;
298
+
299
+ // Identifies if client streams multiple client messages
300
+ optional bool client_streaming = 5 [default = false];
301
+ // Identifies if server streams multiple server messages
302
+ optional bool server_streaming = 6 [default = false];
303
+ }
304
+
305
+ // ===================================================================
306
+ // Options
307
+
308
+ // Each of the definitions above may have "options" attached. These are
309
+ // just annotations which may cause code to be generated slightly differently
310
+ // or may contain hints for code that manipulates protocol messages.
311
+ //
312
+ // Clients may define custom options as extensions of the *Options messages.
313
+ // These extensions may not yet be known at parsing time, so the parser cannot
314
+ // store the values in them. Instead it stores them in a field in the *Options
315
+ // message called uninterpreted_option. This field must have the same name
316
+ // across all *Options messages. We then use this field to populate the
317
+ // extensions when we build a descriptor, at which point all protos have been
318
+ // parsed and so all extensions are known.
319
+ //
320
+ // Extension numbers for custom options may be chosen as follows:
321
+ // * For options which will only be used within a single application or
322
+ // organization, or for experimental options, use field numbers 50000
323
+ // through 99999. It is up to you to ensure that you do not use the
324
+ // same number for multiple options.
325
+ // * For options which will be published and used publicly by multiple
326
+ // independent entities, e-mail protobuf-global-extension-registry@google.com
327
+ // to reserve extension numbers. Simply provide your project name (e.g.
328
+ // Objective-C plugin) and your project website (if available) -- there's no
329
+ // need to explain how you intend to use them. Usually you only need one
330
+ // extension number. You can declare multiple options with only one extension
331
+ // number by putting them in a sub-message. See the Custom Options section of
332
+ // the docs for examples:
333
+ // https://developers.google.com/protocol-buffers/docs/proto#options
334
+ // If this turns out to be popular, a web service will be set up
335
+ // to automatically assign option numbers.
336
+
337
+ message FileOptions {
338
+ // Sets the Java package where classes generated from this .proto will be
339
+ // placed. By default, the proto package is used, but this is often
340
+ // inappropriate because proto packages do not normally start with backwards
341
+ // domain names.
342
+ optional string java_package = 1;
343
+
344
+ // Controls the name of the wrapper Java class generated for the .proto file.
345
+ // That class will always contain the .proto file's getDescriptor() method as
346
+ // well as any top-level extensions defined in the .proto file.
347
+ // If java_multiple_files is disabled, then all the other classes from the
348
+ // .proto file will be nested inside the single wrapper outer class.
349
+ optional string java_outer_classname = 8;
350
+
351
+ // If enabled, then the Java code generator will generate a separate .java
352
+ // file for each top-level message, enum, and service defined in the .proto
353
+ // file. Thus, these types will *not* be nested inside the wrapper class
354
+ // named by java_outer_classname. However, the wrapper class will still be
355
+ // generated to contain the file's getDescriptor() method as well as any
356
+ // top-level extensions defined in the file.
357
+ optional bool java_multiple_files = 10 [default = false];
358
+
359
+ // This option does nothing.
360
+ optional bool java_generate_equals_and_hash = 20 [deprecated = true];
361
+
362
+ // If set true, then the Java2 code generator will generate code that
363
+ // throws an exception whenever an attempt is made to assign a non-UTF-8
364
+ // byte sequence to a string field.
365
+ // Message reflection will do the same.
366
+ // However, an extension field still accepts non-UTF-8 byte sequences.
367
+ // This option has no effect on when used with the lite runtime.
368
+ optional bool java_string_check_utf8 = 27 [default = false];
369
+
370
+ // Generated classes can be optimized for speed or code size.
371
+ enum OptimizeMode {
372
+ SPEED = 1; // Generate complete code for parsing, serialization,
373
+ // etc.
374
+ CODE_SIZE = 2; // Use ReflectionOps to implement these methods.
375
+ LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime.
376
+ }
377
+ optional OptimizeMode optimize_for = 9 [default = SPEED];
378
+
379
+ // Sets the Go package where structs generated from this .proto will be
380
+ // placed. If omitted, the Go package will be derived from the following:
381
+ // - The basename of the package import path, if provided.
382
+ // - Otherwise, the package statement in the .proto file, if present.
383
+ // - Otherwise, the basename of the .proto file, without extension.
384
+ optional string go_package = 11;
385
+
386
+ // Should generic services be generated in each language? "Generic" services
387
+ // are not specific to any particular RPC system. They are generated by the
388
+ // main code generators in each language (without additional plugins).
389
+ // Generic services were the only kind of service generation supported by
390
+ // early versions of google.protobuf.
391
+ //
392
+ // Generic services are now considered deprecated in favor of using plugins
393
+ // that generate code specific to your particular RPC system. Therefore,
394
+ // these default to false. Old code which depends on generic services should
395
+ // explicitly set them to true.
396
+ optional bool cc_generic_services = 16 [default = false];
397
+ optional bool java_generic_services = 17 [default = false];
398
+ optional bool py_generic_services = 18 [default = false];
399
+ optional bool php_generic_services = 42 [default = false];
400
+
401
+ // Is this file deprecated?
402
+ // Depending on the target platform, this can emit Deprecated annotations
403
+ // for everything in the file, or it will be completely ignored; in the very
404
+ // least, this is a formalization for deprecating files.
405
+ optional bool deprecated = 23 [default = false];
406
+
407
+ // Enables the use of arenas for the proto messages in this file. This applies
408
+ // only to generated classes for C++.
409
+ optional bool cc_enable_arenas = 31 [default = true];
410
+
411
+ // Sets the objective c class prefix which is prepended to all objective c
412
+ // generated classes from this .proto. There is no default.
413
+ optional string objc_class_prefix = 36;
414
+
415
+ // Namespace for generated classes; defaults to the package.
416
+ optional string csharp_namespace = 37;
417
+
418
+ // By default Swift generators will take the proto package and CamelCase it
419
+ // replacing '.' with underscore and use that to prefix the types/symbols
420
+ // defined. When this options is provided, they will use this value instead
421
+ // to prefix the types/symbols defined.
422
+ optional string swift_prefix = 39;
423
+
424
+ // Sets the php class prefix which is prepended to all php generated classes
425
+ // from this .proto. Default is empty.
426
+ optional string php_class_prefix = 40;
427
+
428
+ // Use this option to change the namespace of php generated classes. Default
429
+ // is empty. When this option is empty, the package name will be used for
430
+ // determining the namespace.
431
+ optional string php_namespace = 41;
432
+
433
+ // Use this option to change the namespace of php generated metadata classes.
434
+ // Default is empty. When this option is empty, the proto file name will be
435
+ // used for determining the namespace.
436
+ optional string php_metadata_namespace = 44;
437
+
438
+ // Use this option to change the package of ruby generated classes. Default
439
+ // is empty. When this option is not set, the package name will be used for
440
+ // determining the ruby package.
441
+ optional string ruby_package = 45;
442
+
443
+ // The parser stores options it doesn't recognize here.
444
+ // See the documentation for the "Options" section above.
445
+ repeated UninterpretedOption uninterpreted_option = 999;
446
+
447
+ // Clients can define custom options in extensions of this message.
448
+ // See the documentation for the "Options" section above.
449
+ extensions 1000 to max;
450
+
451
+ reserved 38;
452
+ }
453
+
454
+ message MessageOptions {
455
+ // Set true to use the old proto1 MessageSet wire format for extensions.
456
+ // This is provided for backwards-compatibility with the MessageSet wire
457
+ // format. You should not use this for any other reason: It's less
458
+ // efficient, has fewer features, and is more complicated.
459
+ //
460
+ // The message must be defined exactly as follows:
461
+ // message Foo {
462
+ // option message_set_wire_format = true;
463
+ // extensions 4 to max;
464
+ // }
465
+ // Note that the message cannot have any defined fields; MessageSets only
466
+ // have extensions.
467
+ //
468
+ // All extensions of your type must be singular messages; e.g. they cannot
469
+ // be int32s, enums, or repeated messages.
470
+ //
471
+ // Because this is an option, the above two restrictions are not enforced by
472
+ // the protocol compiler.
473
+ optional bool message_set_wire_format = 1 [default = false];
474
+
475
+ // Disables the generation of the standard "descriptor()" accessor, which can
476
+ // conflict with a field of the same name. This is meant to make migration
477
+ // from proto1 easier; new code should avoid fields named "descriptor".
478
+ optional bool no_standard_descriptor_accessor = 2 [default = false];
479
+
480
+ // Is this message deprecated?
481
+ // Depending on the target platform, this can emit Deprecated annotations
482
+ // for the message, or it will be completely ignored; in the very least,
483
+ // this is a formalization for deprecating messages.
484
+ optional bool deprecated = 3 [default = false];
485
+
486
+ reserved 4, 5, 6;
487
+
488
+ // Whether the message is an automatically generated map entry type for the
489
+ // maps field.
490
+ //
491
+ // For maps fields:
492
+ // map<KeyType, ValueType> map_field = 1;
493
+ // The parsed descriptor looks like:
494
+ // message MapFieldEntry {
495
+ // option map_entry = true;
496
+ // optional KeyType key = 1;
497
+ // optional ValueType value = 2;
498
+ // }
499
+ // repeated MapFieldEntry map_field = 1;
500
+ //
501
+ // Implementations may choose not to generate the map_entry=true message, but
502
+ // use a native map in the target language to hold the keys and values.
503
+ // The reflection APIs in such implementations still need to work as
504
+ // if the field is a repeated message field.
505
+ //
506
+ // NOTE: Do not set the option in .proto files. Always use the maps syntax
507
+ // instead. The option should only be implicitly set by the proto compiler
508
+ // parser.
509
+ optional bool map_entry = 7;
510
+
511
+ reserved 8; // javalite_serializable
512
+ reserved 9; // javanano_as_lite
513
+
514
+ // The parser stores options it doesn't recognize here. See above.
515
+ repeated UninterpretedOption uninterpreted_option = 999;
516
+
517
+ // Clients can define custom options in extensions of this message. See above.
518
+ extensions 1000 to max;
519
+ }
520
+
521
+ message FieldOptions {
522
+ // The ctype option instructs the C++ code generator to use a different
523
+ // representation of the field than it normally would. See the specific
524
+ // options below. This option is not yet implemented in the open source
525
+ // release -- sorry, we'll try to include it in a future version!
526
+ optional CType ctype = 1 [default = STRING];
527
+ enum CType {
528
+ // Default mode.
529
+ STRING = 0;
530
+
531
+ CORD = 1;
532
+
533
+ STRING_PIECE = 2;
534
+ }
535
+ // The packed option can be enabled for repeated primitive fields to enable
536
+ // a more efficient representation on the wire. Rather than repeatedly
537
+ // writing the tag and type for each element, the entire array is encoded as
538
+ // a single length-delimited blob. In proto3, only explicit setting it to
539
+ // false will avoid using packed encoding.
540
+ optional bool packed = 2;
541
+
542
+ // The jstype option determines the JavaScript type used for values of the
543
+ // field. The option is permitted only for 64 bit integral and fixed types
544
+ // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
545
+ // is represented as JavaScript string, which avoids loss of precision that
546
+ // can happen when a large value is converted to a floating point JavaScript.
547
+ // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
548
+ // use the JavaScript "number" type. The behavior of the default option
549
+ // JS_NORMAL is implementation dependent.
550
+ //
551
+ // This option is an enum to permit additional types to be added, e.g.
552
+ // goog.math.Integer.
553
+ optional JSType jstype = 6 [default = JS_NORMAL];
554
+ enum JSType {
555
+ // Use the default type.
556
+ JS_NORMAL = 0;
557
+
558
+ // Use JavaScript strings.
559
+ JS_STRING = 1;
560
+
561
+ // Use JavaScript numbers.
562
+ JS_NUMBER = 2;
563
+ }
564
+
565
+ // Should this field be parsed lazily? Lazy applies only to message-type
566
+ // fields. It means that when the outer message is initially parsed, the
567
+ // inner message's contents will not be parsed but instead stored in encoded
568
+ // form. The inner message will actually be parsed when it is first accessed.
569
+ //
570
+ // This is only a hint. Implementations are free to choose whether to use
571
+ // eager or lazy parsing regardless of the value of this option. However,
572
+ // setting this option true suggests that the protocol author believes that
573
+ // using lazy parsing on this field is worth the additional bookkeeping
574
+ // overhead typically needed to implement it.
575
+ //
576
+ // This option does not affect the public interface of any generated code;
577
+ // all method signatures remain the same. Furthermore, thread-safety of the
578
+ // interface is not affected by this option; const methods remain safe to
579
+ // call from multiple threads concurrently, while non-const methods continue
580
+ // to require exclusive access.
581
+ //
582
+ //
583
+ // Note that implementations may choose not to check required fields within
584
+ // a lazy sub-message. That is, calling IsInitialized() on the outer message
585
+ // may return true even if the inner message has missing required fields.
586
+ // This is necessary because otherwise the inner message would have to be
587
+ // parsed in order to perform the check, defeating the purpose of lazy
588
+ // parsing. An implementation which chooses not to check required fields
589
+ // must be consistent about it. That is, for any particular sub-message, the
590
+ // implementation must either *always* check its required fields, or *never*
591
+ // check its required fields, regardless of whether or not the message has
592
+ // been parsed.
593
+ //
594
+ // As of 2021, lazy does no correctness checks on the byte stream during
595
+ // parsing. This may lead to crashes if and when an invalid byte stream is
596
+ // finally parsed upon access.
597
+ //
598
+ // TODO(b/211906113): Enable validation on lazy fields.
599
+ optional bool lazy = 5 [default = false];
600
+
601
+ // unverified_lazy does no correctness checks on the byte stream. This should
602
+ // only be used where lazy with verification is prohibitive for performance
603
+ // reasons.
604
+ optional bool unverified_lazy = 15 [default = false];
605
+
606
+ // Is this field deprecated?
607
+ // Depending on the target platform, this can emit Deprecated annotations
608
+ // for accessors, or it will be completely ignored; in the very least, this
609
+ // is a formalization for deprecating fields.
610
+ optional bool deprecated = 3 [default = false];
611
+
612
+ // For Google-internal migration only. Do not use.
613
+ optional bool weak = 10 [default = false];
614
+
615
+ // The parser stores options it doesn't recognize here. See above.
616
+ repeated UninterpretedOption uninterpreted_option = 999;
617
+
618
+ // Clients can define custom options in extensions of this message. See above.
619
+ extensions 1000 to max;
620
+
621
+ reserved 4; // removed jtype
622
+ }
623
+
624
+ message OneofOptions {
625
+ // The parser stores options it doesn't recognize here. See above.
626
+ repeated UninterpretedOption uninterpreted_option = 999;
627
+
628
+ // Clients can define custom options in extensions of this message. See above.
629
+ extensions 1000 to max;
630
+ }
631
+
632
+ message EnumOptions {
633
+ // Set this option to true to allow mapping different tag names to the same
634
+ // value.
635
+ optional bool allow_alias = 2;
636
+
637
+ // Is this enum deprecated?
638
+ // Depending on the target platform, this can emit Deprecated annotations
639
+ // for the enum, or it will be completely ignored; in the very least, this
640
+ // is a formalization for deprecating enums.
641
+ optional bool deprecated = 3 [default = false];
642
+
643
+ reserved 5; // javanano_as_lite
644
+
645
+ // The parser stores options it doesn't recognize here. See above.
646
+ repeated UninterpretedOption uninterpreted_option = 999;
647
+
648
+ // Clients can define custom options in extensions of this message. See above.
649
+ extensions 1000 to max;
650
+ }
651
+
652
+ message EnumValueOptions {
653
+ // Is this enum value deprecated?
654
+ // Depending on the target platform, this can emit Deprecated annotations
655
+ // for the enum value, or it will be completely ignored; in the very least,
656
+ // this is a formalization for deprecating enum values.
657
+ optional bool deprecated = 1 [default = false];
658
+
659
+ // The parser stores options it doesn't recognize here. See above.
660
+ repeated UninterpretedOption uninterpreted_option = 999;
661
+
662
+ // Clients can define custom options in extensions of this message. See above.
663
+ extensions 1000 to max;
664
+ }
665
+
666
+ message ServiceOptions {
667
+ // Note: Field numbers 1 through 32 are reserved for Google's internal RPC
668
+ // framework. We apologize for hoarding these numbers to ourselves, but
669
+ // we were already using them long before we decided to release Protocol
670
+ // Buffers.
671
+
672
+ // Is this service deprecated?
673
+ // Depending on the target platform, this can emit Deprecated annotations
674
+ // for the service, or it will be completely ignored; in the very least,
675
+ // this is a formalization for deprecating services.
676
+ optional bool deprecated = 33 [default = false];
677
+
678
+ // The parser stores options it doesn't recognize here. See above.
679
+ repeated UninterpretedOption uninterpreted_option = 999;
680
+
681
+ // Clients can define custom options in extensions of this message. See above.
682
+ extensions 1000 to max;
683
+ }
684
+
685
+ message MethodOptions {
686
+ // Note: Field numbers 1 through 32 are reserved for Google's internal RPC
687
+ // framework. We apologize for hoarding these numbers to ourselves, but
688
+ // we were already using them long before we decided to release Protocol
689
+ // Buffers.
690
+
691
+ // Is this method deprecated?
692
+ // Depending on the target platform, this can emit Deprecated annotations
693
+ // for the method, or it will be completely ignored; in the very least,
694
+ // this is a formalization for deprecating methods.
695
+ optional bool deprecated = 33 [default = false];
696
+
697
+ // Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
698
+ // or neither? HTTP based RPC implementation may choose GET verb for safe
699
+ // methods, and PUT verb for idempotent methods instead of the default POST.
700
+ enum IdempotencyLevel {
701
+ IDEMPOTENCY_UNKNOWN = 0;
702
+ NO_SIDE_EFFECTS = 1; // implies idempotent
703
+ IDEMPOTENT = 2; // idempotent, but may have side effects
704
+ }
705
+ optional IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
706
+
707
+ // The parser stores options it doesn't recognize here. See above.
708
+ repeated UninterpretedOption uninterpreted_option = 999;
709
+
710
+ // Clients can define custom options in extensions of this message. See above.
711
+ extensions 1000 to max;
712
+ }
713
+
714
+ // A message representing a option the parser does not recognize. This only
715
+ // appears in options protos created by the compiler::Parser class.
716
+ // DescriptorPool resolves these when building Descriptor objects. Therefore,
717
+ // options protos in descriptor objects (e.g. returned by Descriptor::options(),
718
+ // or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
719
+ // in them.
720
+ message UninterpretedOption {
721
+ // The name of the uninterpreted option. Each string represents a segment in
722
+ // a dot-separated name. is_extension is true iff a segment represents an
723
+ // extension (denoted with parentheses in options specs in .proto files).
724
+ // E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
725
+ // "foo.(bar.baz).moo".
726
+ message NamePart {
727
+ required string name_part = 1;
728
+ required bool is_extension = 2;
729
+ }
730
+ repeated NamePart name = 2;
731
+
732
+ // The value of the uninterpreted option, in whatever type the tokenizer
733
+ // identified it as during parsing. Exactly one of these should be set.
734
+ optional string identifier_value = 3;
735
+ optional uint64 positive_int_value = 4;
736
+ optional int64 negative_int_value = 5;
737
+ optional double double_value = 6;
738
+ optional bytes string_value = 7;
739
+ optional string aggregate_value = 8;
740
+ }
741
+
742
+ // ===================================================================
743
+ // Optional source code info
744
+
745
+ // Encapsulates information about the original source file from which a
746
+ // FileDescriptorProto was generated.
747
+ message SourceCodeInfo {
748
+ // A Location identifies a piece of source code in a .proto file which
749
+ // corresponds to a particular definition. This information is intended
750
+ // to be useful to IDEs, code indexers, documentation generators, and similar
751
+ // tools.
752
+ //
753
+ // For example, say we have a file like:
754
+ // message Foo {
755
+ // optional string foo = 1;
756
+ // }
757
+ // Let's look at just the field definition:
758
+ // optional string foo = 1;
759
+ // ^ ^^ ^^ ^ ^^^
760
+ // a bc de f ghi
761
+ // We have the following locations:
762
+ // span path represents
763
+ // [a,i) [ 4, 0, 2, 0 ] The whole field definition.
764
+ // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
765
+ // [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
766
+ // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
767
+ // [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
768
+ //
769
+ // Notes:
770
+ // - A location may refer to a repeated field itself (i.e. not to any
771
+ // particular index within it). This is used whenever a set of elements are
772
+ // logically enclosed in a single code segment. For example, an entire
773
+ // extend block (possibly containing multiple extension definitions) will
774
+ // have an outer location whose path refers to the "extensions" repeated
775
+ // field without an index.
776
+ // - Multiple locations may have the same path. This happens when a single
777
+ // logical declaration is spread out across multiple places. The most
778
+ // obvious example is the "extend" block again -- there may be multiple
779
+ // extend blocks in the same scope, each of which will have the same path.
780
+ // - A location's span is not always a subset of its parent's span. For
781
+ // example, the "extendee" of an extension declaration appears at the
782
+ // beginning of the "extend" block and is shared by all extensions within
783
+ // the block.
784
+ // - Just because a location's span is a subset of some other location's span
785
+ // does not mean that it is a descendant. For example, a "group" defines
786
+ // both a type and a field in a single declaration. Thus, the locations
787
+ // corresponding to the type and field and their components will overlap.
788
+ // - Code which tries to interpret locations should probably be designed to
789
+ // ignore those that it doesn't understand, as more types of locations could
790
+ // be recorded in the future.
791
+ repeated Location location = 1;
792
+ message Location {
793
+ // Identifies which part of the FileDescriptorProto was defined at this
794
+ // location.
795
+ //
796
+ // Each element is a field number or an index. They form a path from
797
+ // the root FileDescriptorProto to the place where the definition occurs.
798
+ // For example, this path:
799
+ // [ 4, 3, 2, 7, 1 ]
800
+ // refers to:
801
+ // file.message_type(3) // 4, 3
802
+ // .field(7) // 2, 7
803
+ // .name() // 1
804
+ // This is because FileDescriptorProto.message_type has field number 4:
805
+ // repeated DescriptorProto message_type = 4;
806
+ // and DescriptorProto.field has field number 2:
807
+ // repeated FieldDescriptorProto field = 2;
808
+ // and FieldDescriptorProto.name has field number 1:
809
+ // optional string name = 1;
810
+ //
811
+ // Thus, the above path gives the location of a field name. If we removed
812
+ // the last element:
813
+ // [ 4, 3, 2, 7 ]
814
+ // this path refers to the whole field declaration (from the beginning
815
+ // of the label to the terminating semicolon).
816
+ repeated int32 path = 1 [packed = true];
817
+
818
+ // Always has exactly three or four elements: start line, start column,
819
+ // end line (optional, otherwise assumed same as start line), end column.
820
+ // These are packed into a single field for efficiency. Note that line
821
+ // and column numbers are zero-based -- typically you will want to add
822
+ // 1 to each before displaying to a user.
823
+ repeated int32 span = 2 [packed = true];
824
+
825
+ // If this SourceCodeInfo represents a complete declaration, these are any
826
+ // comments appearing before and after the declaration which appear to be
827
+ // attached to the declaration.
828
+ //
829
+ // A series of line comments appearing on consecutive lines, with no other
830
+ // tokens appearing on those lines, will be treated as a single comment.
831
+ //
832
+ // leading_detached_comments will keep paragraphs of comments that appear
833
+ // before (but not connected to) the current element. Each paragraph,
834
+ // separated by empty lines, will be one comment element in the repeated
835
+ // field.
836
+ //
837
+ // Only the comment content is provided; comment markers (e.g. //) are
838
+ // stripped out. For block comments, leading whitespace and an asterisk
839
+ // will be stripped from the beginning of each line other than the first.
840
+ // Newlines are included in the output.
841
+ //
842
+ // Examples:
843
+ //
844
+ // optional int32 foo = 1; // Comment attached to foo.
845
+ // // Comment attached to bar.
846
+ // optional int32 bar = 2;
847
+ //
848
+ // optional string baz = 3;
849
+ // // Comment attached to baz.
850
+ // // Another line attached to baz.
851
+ //
852
+ // // Comment attached to moo.
853
+ // //
854
+ // // Another line attached to moo.
855
+ // optional double moo = 4;
856
+ //
857
+ // // Detached comment for corge. This is not leading or trailing comments
858
+ // // to moo or corge because there are blank lines separating it from
859
+ // // both.
860
+ //
861
+ // // Detached comment for corge paragraph 2.
862
+ //
863
+ // optional string corge = 5;
864
+ // /* Block comment attached
865
+ // * to corge. Leading asterisks
866
+ // * will be removed. */
867
+ // /* Block comment attached to
868
+ // * grault. */
869
+ // optional int32 grault = 6;
870
+ //
871
+ // // ignored detached comments.
872
+ optional string leading_comments = 3;
873
+ optional string trailing_comments = 4;
874
+ repeated string leading_detached_comments = 6;
875
+ }
876
+ }
877
+
878
+ // Describes the relationship between generated code and its original source
879
+ // file. A GeneratedCodeInfo message is associated with only one generated
880
+ // source file, but may contain references to different source .proto files.
881
+ message GeneratedCodeInfo {
882
+ // An Annotation connects some span of text in generated code to an element
883
+ // of its generating .proto file.
884
+ repeated Annotation annotation = 1;
885
+ message Annotation {
886
+ // Identifies the element in the original source .proto file. This field
887
+ // is formatted the same as SourceCodeInfo.Location.path.
888
+ repeated int32 path = 1 [packed = true];
889
+
890
+ // Identifies the filesystem path to the original source .proto.
891
+ optional string source_file = 2;
892
+
893
+ // Identifies the starting offset in bytes in the generated code
894
+ // that relates to the identified object.
895
+ optional int32 begin = 3;
896
+
897
+ // Identifies the ending offset in bytes in the generated code that
898
+ // relates to the identified offset. The end offset should be one past
899
+ // the last relevant byte (so the length of the text = end - begin).
900
+ optional int32 end = 4;
901
+ }
902
+ }