@devvit/protos 0.11.4 → 0.11.5-next-2024-12-09-1c29dd3cd.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 (244) hide show
  1. package/meta.min.json +7814 -0
  2. package/package.json +4 -4
  3. package/protos.min.js +2 -0
  4. package/protos.min.js.map +7 -0
  5. package/schema/.snootobuf/deps/buf/validate/expression.proto +92 -0
  6. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
  7. package/schema/.snootobuf/deps/buf/validate/validate.proto +4130 -0
  8. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
  9. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
  10. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
  11. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
  12. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
  13. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
  14. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
  15. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
  16. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +773 -0
  17. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
  18. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +100 -0
  19. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
  20. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
  21. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
  22. package/schema/.snootobuf/deps/devvit/options/options.proto +98 -0
  23. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +29 -0
  24. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
  25. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
  26. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
  27. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +107 -0
  28. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
  29. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
  30. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
  31. package/schema/.snootobuf/deps/enum/account_gender_category.proto +14 -0
  32. package/schema/.snootobuf/deps/enum/approval_status.proto +15 -0
  33. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
  34. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
  35. package/schema/.snootobuf/deps/enum/ban_info_action.proto +12 -0
  36. package/schema/.snootobuf/deps/enum/block_relation_type.proto +11 -0
  37. package/schema/.snootobuf/deps/enum/comment_sort.proto +18 -0
  38. package/schema/.snootobuf/deps/enum/comment_type.proto +11 -0
  39. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
  40. package/schema/.snootobuf/deps/enum/discussion_type.proto +10 -0
  41. package/schema/.snootobuf/deps/enum/distinguish_type.proto +14 -0
  42. package/schema/.snootobuf/deps/enum/flair_position.proto +11 -0
  43. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
  44. package/schema/.snootobuf/deps/enum/link_content_type.proto +11 -0
  45. package/schema/.snootobuf/deps/enum/link_type.proto +11 -0
  46. package/schema/.snootobuf/deps/enum/link_visibility.proto +11 -0
  47. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
  48. package/schema/.snootobuf/deps/enum/promo_layout.proto +11 -0
  49. package/schema/.snootobuf/deps/enum/removed_by_type.proto +18 -0
  50. package/schema/.snootobuf/deps/enum/spam_level.proto +11 -0
  51. package/schema/.snootobuf/deps/enum/subreddit_type.proto +16 -0
  52. package/schema/.snootobuf/deps/enum/verdict.proto +14 -0
  53. package/schema/.snootobuf/deps/enum/vote.proto +12 -0
  54. package/schema/.snootobuf/deps/enum/whitelist_status.proto +17 -0
  55. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
  56. package/schema/.snootobuf/deps/evaluator/evaluator.proto +203 -0
  57. package/schema/.snootobuf/deps/google/api/annotations.proto +31 -0
  58. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +288 -0
  59. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +175 -0
  60. package/schema/.snootobuf/deps/google/api/auth.proto +237 -0
  61. package/schema/.snootobuf/deps/google/api/backend.proto +185 -0
  62. package/schema/.snootobuf/deps/google/api/billing.proto +77 -0
  63. package/schema/.snootobuf/deps/google/api/client.proto +431 -0
  64. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +322 -0
  65. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +315 -0
  66. package/schema/.snootobuf/deps/google/api/config_change.proto +84 -0
  67. package/schema/.snootobuf/deps/google/api/consumer.proto +82 -0
  68. package/schema/.snootobuf/deps/google/api/context.proto +92 -0
  69. package/schema/.snootobuf/deps/google/api/control.proto +41 -0
  70. package/schema/.snootobuf/deps/google/api/distribution.proto +213 -0
  71. package/schema/.snootobuf/deps/google/api/documentation.proto +168 -0
  72. package/schema/.snootobuf/deps/google/api/endpoint.proto +69 -0
  73. package/schema/.snootobuf/deps/google/api/error_reason.proto +589 -0
  74. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +183 -0
  75. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
  76. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
  77. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
  78. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
  79. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
  80. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
  81. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
  82. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
  83. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
  84. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
  85. package/schema/.snootobuf/deps/google/api/field_behavior.proto +104 -0
  86. package/schema/.snootobuf/deps/google/api/field_info.proto +106 -0
  87. package/schema/.snootobuf/deps/google/api/http.proto +371 -0
  88. package/schema/.snootobuf/deps/google/api/httpbody.proto +81 -0
  89. package/schema/.snootobuf/deps/google/api/label.proto +48 -0
  90. package/schema/.snootobuf/deps/google/api/launch_stage.proto +72 -0
  91. package/schema/.snootobuf/deps/google/api/log.proto +54 -0
  92. package/schema/.snootobuf/deps/google/api/logging.proto +81 -0
  93. package/schema/.snootobuf/deps/google/api/metric.proto +268 -0
  94. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +130 -0
  95. package/schema/.snootobuf/deps/google/api/monitoring.proto +107 -0
  96. package/schema/.snootobuf/deps/google/api/policy.proto +85 -0
  97. package/schema/.snootobuf/deps/google/api/quota.proto +184 -0
  98. package/schema/.snootobuf/deps/google/api/resource.proto +243 -0
  99. package/schema/.snootobuf/deps/google/api/routing.proto +461 -0
  100. package/schema/.snootobuf/deps/google/api/service.proto +191 -0
  101. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
  102. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
  103. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
  104. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
  105. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
  106. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
  107. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
  108. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
  109. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
  110. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
  111. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +508 -0
  112. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
  113. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +305 -0
  114. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
  115. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +793 -0
  116. package/schema/.snootobuf/deps/google/api/source_info.proto +31 -0
  117. package/schema/.snootobuf/deps/google/api/system_parameter.proto +96 -0
  118. package/schema/.snootobuf/deps/google/api/usage.proto +96 -0
  119. package/schema/.snootobuf/deps/google/api/visibility.proto +113 -0
  120. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
  121. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +1087 -0
  122. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +145 -0
  123. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
  124. package/schema/.snootobuf/deps/google/iam/v1/options.proto +41 -0
  125. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
  126. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +92 -0
  127. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +72 -0
  128. package/schema/.snootobuf/deps/google/longrunning/operations.proto +247 -0
  129. package/schema/.snootobuf/deps/google/protobuf/any.proto +158 -0
  130. package/schema/.snootobuf/deps/google/protobuf/api.proto +208 -0
  131. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +183 -0
  132. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +921 -0
  133. package/schema/.snootobuf/deps/google/protobuf/duration.proto +116 -0
  134. package/schema/.snootobuf/deps/google/protobuf/empty.proto +51 -0
  135. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
  136. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
  137. package/schema/.snootobuf/deps/google/protobuf/struct.proto +95 -0
  138. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
  139. package/schema/.snootobuf/deps/google/protobuf/type.proto +187 -0
  140. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
  141. package/schema/.snootobuf/deps/google/rpc/code.proto +186 -0
  142. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
  143. package/schema/.snootobuf/deps/google/rpc/error_details.proto +246 -0
  144. package/schema/.snootobuf/deps/google/rpc/status.proto +47 -0
  145. package/schema/.snootobuf/deps/google/type/calendar_period.proto +57 -0
  146. package/schema/.snootobuf/deps/google/type/color.proto +170 -0
  147. package/schema/.snootobuf/deps/google/type/date.proto +50 -0
  148. package/schema/.snootobuf/deps/google/type/datetime.proto +97 -0
  149. package/schema/.snootobuf/deps/google/type/dayofweek.proto +51 -0
  150. package/schema/.snootobuf/deps/google/type/expr.proto +51 -0
  151. package/schema/.snootobuf/deps/google/type/fraction.proto +34 -0
  152. package/schema/.snootobuf/deps/google/type/latlng.proto +37 -0
  153. package/schema/.snootobuf/deps/google/type/money.proto +43 -0
  154. package/schema/.snootobuf/deps/google/type/month.proto +66 -0
  155. package/schema/.snootobuf/deps/google/type/postal_address.proto +135 -0
  156. package/schema/.snootobuf/deps/google/type/quaternion.proto +95 -0
  157. package/schema/.snootobuf/deps/google/type/timeofday.proto +44 -0
  158. package/schema/.snootobuf/deps/openapi/helper.proto +20 -0
  159. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  160. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +118 -0
  161. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
  162. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +579 -0
  163. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
  164. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
  165. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
  166. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
  167. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
  168. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
  169. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +417 -0
  170. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
  171. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
  172. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
  173. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
  174. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
  175. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
  176. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
  177. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
  178. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
  179. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
  180. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
  181. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +798 -0
  182. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
  183. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
  184. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
  185. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
  186. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
  187. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
  188. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
  189. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
  190. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +15 -0
  191. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +11 -0
  192. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +48 -0
  193. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +70 -0
  194. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +11 -0
  195. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
  196. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +89 -0
  197. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +322 -0
  198. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
  199. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +14 -0
  200. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
  201. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +48 -0
  202. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +31 -0
  203. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
  204. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +15 -0
  205. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +52 -0
  206. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +23 -0
  207. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
  208. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +17 -0
  209. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +49 -0
  210. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +20 -0
  211. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
  212. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +158 -0
  213. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
  214. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +195 -0
  215. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +200 -0
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +18 -0
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +210 -0
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +135 -0
  221. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
  222. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
  223. package/schema/.snootobuf/deps/validate/validate.proto +862 -0
  224. package/schema/devvit/dev_portal/app/app.proto +3 -0
  225. package/schema/devvit/dev_portal/app/info/app_info.proto +13 -1
  226. package/schema/devvit/ui/block_kit/v1beta/ui.proto +1 -1
  227. package/schema/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +7 -1
  228. package/schema/snootobuf.devenv.lock +459 -292
  229. package/schema/snootobuf.lock +459 -292
  230. package/schema/snootobuf.redditapi.lock +459 -292
  231. package/schema/snootobuf.ts.lock +459 -293
  232. package/types/devvit/dev_portal/app/app.d.ts +2 -0
  233. package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
  234. package/types/devvit/dev_portal/app/app.js +17 -0
  235. package/types/devvit/dev_portal/app/info/app_info.d.ts +13 -0
  236. package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
  237. package/types/devvit/dev_portal/app/info/app_info.js +17 -0
  238. package/types/devvit/dev_portal/dev_portal.d.ts +42 -0
  239. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  240. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +4 -0
  241. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
  242. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts +8 -1
  243. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts.map +1 -1
  244. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.js +15 -1
@@ -0,0 +1,124 @@
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.servicecontrol.v1;
18
+
19
+ import "google/rpc/status.proto";
20
+
21
+ option cc_enable_arenas = true;
22
+ option csharp_namespace = "Google.Cloud.ServiceControl.V1";
23
+ option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
24
+ option java_multiple_files = true;
25
+ option java_outer_classname = "CheckErrorProto";
26
+ option java_package = "com.google.api.servicecontrol.v1";
27
+ option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
28
+ option ruby_package = "Google::Cloud::ServiceControl::V1";
29
+
30
+ // Defines the errors to be returned in
31
+ // [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors].
32
+ message CheckError {
33
+ // Error codes for Check responses.
34
+ enum Code {
35
+ // This is never used in `CheckResponse`.
36
+ ERROR_CODE_UNSPECIFIED = 0;
37
+
38
+ // The consumer's project id, network container, or resource container was
39
+ // not found. Same as [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND].
40
+ NOT_FOUND = 5;
41
+
42
+ // The consumer doesn't have access to the specified resource.
43
+ // Same as [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
44
+ PERMISSION_DENIED = 7;
45
+
46
+ // Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].
47
+ RESOURCE_EXHAUSTED = 8;
48
+
49
+ // The consumer hasn't activated the service.
50
+ SERVICE_NOT_ACTIVATED = 104;
51
+
52
+ // The consumer cannot access the service because billing is disabled.
53
+ BILLING_DISABLED = 107;
54
+
55
+ // The consumer's project has been marked as deleted (soft deletion).
56
+ PROJECT_DELETED = 108;
57
+
58
+ // The consumer's project number or id does not represent a valid project.
59
+ PROJECT_INVALID = 114;
60
+
61
+ // The input consumer info does not represent a valid consumer folder or
62
+ // organization.
63
+ CONSUMER_INVALID = 125;
64
+
65
+ // The IP address of the consumer is invalid for the specific consumer
66
+ // project.
67
+ IP_ADDRESS_BLOCKED = 109;
68
+
69
+ // The referer address of the consumer request is invalid for the specific
70
+ // consumer project.
71
+ REFERER_BLOCKED = 110;
72
+
73
+ // The client application of the consumer request is invalid for the
74
+ // specific consumer project.
75
+ CLIENT_APP_BLOCKED = 111;
76
+
77
+ // The API targeted by this request is invalid for the specified consumer
78
+ // project.
79
+ API_TARGET_BLOCKED = 122;
80
+
81
+ // The consumer's API key is invalid.
82
+ API_KEY_INVALID = 105;
83
+
84
+ // The consumer's API Key has expired.
85
+ API_KEY_EXPIRED = 112;
86
+
87
+ // The consumer's API Key was not found in config record.
88
+ API_KEY_NOT_FOUND = 113;
89
+
90
+ // The credential in the request can not be verified.
91
+ INVALID_CREDENTIAL = 123;
92
+
93
+ // The backend server for looking up project id/number is unavailable.
94
+ NAMESPACE_LOOKUP_UNAVAILABLE = 300;
95
+
96
+ // The backend server for checking service status is unavailable.
97
+ SERVICE_STATUS_UNAVAILABLE = 301;
98
+
99
+ // The backend server for checking billing status is unavailable.
100
+ BILLING_STATUS_UNAVAILABLE = 302;
101
+
102
+ // Cloud Resource Manager backend server is unavailable.
103
+ CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305;
104
+ }
105
+
106
+ // The error code.
107
+ Code code = 1;
108
+
109
+ // Subject to whom this error applies. See the specific code enum for more
110
+ // details on this field. For example:
111
+ //
112
+ // - "project:<project-id or project-number>"
113
+ // - "folder:<folder-id>"
114
+ // - "organization:<organization-id>"
115
+ string subject = 4;
116
+
117
+ // Free-form text providing details on the error cause of the error.
118
+ string detail = 2;
119
+
120
+ // Contains public information about the check error. If available,
121
+ // `status.code` will be non zero and client can propagate it out as public
122
+ // error.
123
+ google.rpc.Status status = 3;
124
+ }
@@ -0,0 +1,166 @@
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.servicecontrol.v1;
18
+
19
+ import "google/api/distribution.proto";
20
+
21
+ option cc_enable_arenas = true;
22
+ option csharp_namespace = "Google.Cloud.ServiceControl.V1";
23
+ option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
24
+ option java_multiple_files = true;
25
+ option java_outer_classname = "DistributionProto";
26
+ option java_package = "com.google.api.servicecontrol.v1";
27
+ option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
28
+ option ruby_package = "Google::Cloud::ServiceControl::V1";
29
+
30
+ // Distribution represents a frequency distribution of double-valued sample
31
+ // points. It contains the size of the population of sample points plus
32
+ // additional optional information:
33
+ //
34
+ // * the arithmetic mean of the samples
35
+ // * the minimum and maximum of the samples
36
+ // * the sum-squared-deviation of the samples, used to compute variance
37
+ // * a histogram of the values of the sample points
38
+ message Distribution {
39
+ // Describing buckets with constant width.
40
+ message LinearBuckets {
41
+ // The number of finite buckets. With the underflow and overflow buckets,
42
+ // the total number of buckets is `num_finite_buckets` + 2.
43
+ // See comments on `bucket_options` for details.
44
+ int32 num_finite_buckets = 1;
45
+
46
+ // The i'th linear bucket covers the interval
47
+ // [offset + (i-1) * width, offset + i * width)
48
+ // where i ranges from 1 to num_finite_buckets, inclusive.
49
+ // Must be strictly positive.
50
+ double width = 2;
51
+
52
+ // The i'th linear bucket covers the interval
53
+ // [offset + (i-1) * width, offset + i * width)
54
+ // where i ranges from 1 to num_finite_buckets, inclusive.
55
+ double offset = 3;
56
+ }
57
+
58
+ // Describing buckets with exponentially growing width.
59
+ message ExponentialBuckets {
60
+ // The number of finite buckets. With the underflow and overflow buckets,
61
+ // the total number of buckets is `num_finite_buckets` + 2.
62
+ // See comments on `bucket_options` for details.
63
+ int32 num_finite_buckets = 1;
64
+
65
+ // The i'th exponential bucket covers the interval
66
+ // [scale * growth_factor^(i-1), scale * growth_factor^i)
67
+ // where i ranges from 1 to num_finite_buckets inclusive.
68
+ // Must be larger than 1.0.
69
+ double growth_factor = 2;
70
+
71
+ // The i'th exponential bucket covers the interval
72
+ // [scale * growth_factor^(i-1), scale * growth_factor^i)
73
+ // where i ranges from 1 to num_finite_buckets inclusive.
74
+ // Must be > 0.
75
+ double scale = 3;
76
+ }
77
+
78
+ // Describing buckets with arbitrary user-provided width.
79
+ message ExplicitBuckets {
80
+ // 'bound' is a list of strictly increasing boundaries between
81
+ // buckets. Note that a list of length N-1 defines N buckets because
82
+ // of fenceposting. See comments on `bucket_options` for details.
83
+ //
84
+ // The i'th finite bucket covers the interval
85
+ // [bound[i-1], bound[i])
86
+ // where i ranges from 1 to bound_size() - 1. Note that there are no
87
+ // finite buckets at all if 'bound' only contains a single element; in
88
+ // that special case the single bound defines the boundary between the
89
+ // underflow and overflow buckets.
90
+ //
91
+ // bucket number lower bound upper bound
92
+ // i == 0 (underflow) -inf bound[i]
93
+ // 0 < i < bound_size() bound[i-1] bound[i]
94
+ // i == bound_size() (overflow) bound[i-1] +inf
95
+ repeated double bounds = 1;
96
+ }
97
+
98
+ // The total number of samples in the distribution. Must be >= 0.
99
+ int64 count = 1;
100
+
101
+ // The arithmetic mean of the samples in the distribution. If `count` is
102
+ // zero then this field must be zero.
103
+ double mean = 2;
104
+
105
+ // The minimum of the population of values. Ignored if `count` is zero.
106
+ double minimum = 3;
107
+
108
+ // The maximum of the population of values. Ignored if `count` is zero.
109
+ double maximum = 4;
110
+
111
+ // The sum of squared deviations from the mean:
112
+ // Sum[i=1..count]((x_i - mean)^2)
113
+ // where each x_i is a sample values. If `count` is zero then this field
114
+ // must be zero, otherwise validation of the request fails.
115
+ double sum_of_squared_deviation = 5;
116
+
117
+ // The number of samples in each histogram bucket. `bucket_counts` are
118
+ // optional. If present, they must sum to the `count` value.
119
+ //
120
+ // The buckets are defined below in `bucket_option`. There are N buckets.
121
+ // `bucket_counts[0]` is the number of samples in the underflow bucket.
122
+ // `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples
123
+ // in each of the finite buckets. And `bucket_counts[N] is the number
124
+ // of samples in the overflow bucket. See the comments of `bucket_option`
125
+ // below for more details.
126
+ //
127
+ // Any suffix of trailing zeros may be omitted.
128
+ repeated int64 bucket_counts = 6;
129
+
130
+ // Defines the buckets in the histogram. `bucket_option` and `bucket_counts`
131
+ // must be both set, or both unset.
132
+ //
133
+ // Buckets are numbered in the range of [0, N], with a total of N+1 buckets.
134
+ // There must be at least two buckets (a single-bucket histogram gives
135
+ // no information that isn't already provided by `count`).
136
+ //
137
+ // The first bucket is the underflow bucket which has a lower bound
138
+ // of -inf. The last bucket is the overflow bucket which has an
139
+ // upper bound of +inf. All other buckets (if any) are called "finite"
140
+ // buckets because they have finite lower and upper bounds. As described
141
+ // below, there are three ways to define the finite buckets.
142
+ //
143
+ // (1) Buckets with constant width.
144
+ // (2) Buckets with exponentially growing widths.
145
+ // (3) Buckets with arbitrary user-provided widths.
146
+ //
147
+ // In all cases, the buckets cover the entire real number line (-inf,
148
+ // +inf). Bucket upper bounds are exclusive and lower bounds are
149
+ // inclusive. The upper bound of the underflow bucket is equal to the
150
+ // lower bound of the smallest finite bucket; the lower bound of the
151
+ // overflow bucket is equal to the upper bound of the largest finite
152
+ // bucket.
153
+ oneof bucket_option {
154
+ // Buckets with constant width.
155
+ LinearBuckets linear_buckets = 7;
156
+
157
+ // Buckets with exponentially growing width.
158
+ ExponentialBuckets exponential_buckets = 8;
159
+
160
+ // Buckets with arbitrary user-provided width.
161
+ ExplicitBuckets explicit_buckets = 9;
162
+ }
163
+
164
+ // Example points. Must be in increasing order of `value` field.
165
+ repeated google.api.Distribution.Exemplar exemplars = 10;
166
+ }
@@ -0,0 +1,93 @@
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.servicecontrol.v1;
18
+
19
+ import "google/protobuf/duration.proto";
20
+
21
+ option csharp_namespace = "Google.Cloud.ServiceControl.V1";
22
+ option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
23
+ option java_multiple_files = true;
24
+ option java_outer_classname = "HttpRequestProto";
25
+ option java_package = "com.google.api.servicecontrol.v1";
26
+ option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
27
+ option ruby_package = "Google::Cloud::ServiceControl::V1";
28
+
29
+ // A common proto for logging HTTP requests. Only contains semantics
30
+ // defined by the HTTP specification. Product-specific logging
31
+ // information MUST be defined in a separate message.
32
+ message HttpRequest {
33
+ // The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
34
+ string request_method = 1;
35
+
36
+ // The scheme (http, https), the host name, the path, and the query
37
+ // portion of the URL that was requested.
38
+ // Example: `"http://example.com/some/info?color=red"`.
39
+ string request_url = 2;
40
+
41
+ // The size of the HTTP request message in bytes, including the request
42
+ // headers and the request body.
43
+ int64 request_size = 3;
44
+
45
+ // The response code indicating the status of the response.
46
+ // Examples: 200, 404.
47
+ int32 status = 4;
48
+
49
+ // The size of the HTTP response message sent back to the client, in bytes,
50
+ // including the response headers and the response body.
51
+ int64 response_size = 5;
52
+
53
+ // The user agent sent by the client. Example:
54
+ // `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
55
+ // CLR 1.0.3705)"`.
56
+ string user_agent = 6;
57
+
58
+ // The IP address (IPv4 or IPv6) of the client that issued the HTTP
59
+ // request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
60
+ string remote_ip = 7;
61
+
62
+ // The IP address (IPv4 or IPv6) of the origin server that the request was
63
+ // sent to.
64
+ string server_ip = 13;
65
+
66
+ // The referer URL of the request, as defined in
67
+ // [HTTP/1.1 Header Field
68
+ // Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
69
+ string referer = 8;
70
+
71
+ // The request processing latency on the server, from the time the request was
72
+ // received until the response was sent.
73
+ google.protobuf.Duration latency = 14;
74
+
75
+ // Whether or not a cache lookup was attempted.
76
+ bool cache_lookup = 11;
77
+
78
+ // Whether or not an entity was served from cache
79
+ // (with or without validation).
80
+ bool cache_hit = 9;
81
+
82
+ // Whether or not the response was validated with the origin server before
83
+ // being served from cache. This field is only meaningful if `cache_hit` is
84
+ // True.
85
+ bool cache_validated_with_origin_server = 10;
86
+
87
+ // The number of HTTP response bytes inserted into cache. Set only when a
88
+ // cache fill was attempted.
89
+ int64 cache_fill_bytes = 12;
90
+
91
+ // Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
92
+ string protocol = 15;
93
+ }
@@ -0,0 +1,126 @@
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.servicecontrol.v1;
18
+
19
+ import "google/api/servicecontrol/v1/http_request.proto";
20
+ import "google/logging/type/log_severity.proto";
21
+ import "google/protobuf/any.proto";
22
+ import "google/protobuf/struct.proto";
23
+ import "google/protobuf/timestamp.proto";
24
+
25
+ option csharp_namespace = "Google.Cloud.ServiceControl.V1";
26
+ option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
27
+ option java_multiple_files = true;
28
+ option java_outer_classname = "LogEntryProto";
29
+ option java_package = "com.google.api.servicecontrol.v1";
30
+ option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
31
+ option ruby_package = "Google::Cloud::ServiceControl::V1";
32
+
33
+ // An individual log entry.
34
+ message LogEntry {
35
+ // Required. The log to which this log entry belongs. Examples: `"syslog"`,
36
+ // `"book_log"`.
37
+ string name = 10;
38
+
39
+ // The time the event described by the log entry occurred. If
40
+ // omitted, defaults to operation start time.
41
+ google.protobuf.Timestamp timestamp = 11;
42
+
43
+ // The severity of the log entry. The default value is
44
+ // `LogSeverity.DEFAULT`.
45
+ google.logging.type.LogSeverity severity = 12;
46
+
47
+ // Optional. Information about the HTTP request associated with this
48
+ // log entry, if applicable.
49
+ HttpRequest http_request = 14;
50
+
51
+ // Optional. Resource name of the trace associated with the log entry, if any.
52
+ // If this field contains a relative resource name, you can assume the name is
53
+ // relative to `//tracing.googleapis.com`. Example:
54
+ // `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
55
+ string trace = 15;
56
+
57
+ // A unique ID for the log entry used for deduplication. If omitted,
58
+ // the implementation will generate one based on operation_id.
59
+ string insert_id = 4;
60
+
61
+ // A set of user-defined (key, value) data that provides additional
62
+ // information about the log entry.
63
+ map<string, string> labels = 13;
64
+
65
+ // The log entry payload, which can be one of multiple types.
66
+ oneof payload {
67
+ // The log entry payload, represented as a protocol buffer that is
68
+ // expressed as a JSON object. The only accepted type currently is
69
+ // [AuditLog][google.cloud.audit.AuditLog].
70
+ google.protobuf.Any proto_payload = 2;
71
+
72
+ // The log entry payload, represented as a Unicode string (UTF-8).
73
+ string text_payload = 3;
74
+
75
+ // The log entry payload, represented as a structure that
76
+ // is expressed as a JSON object.
77
+ google.protobuf.Struct struct_payload = 6;
78
+ }
79
+
80
+ // Optional. Information about an operation associated with the log entry, if
81
+ // applicable.
82
+ LogEntryOperation operation = 16;
83
+
84
+ // Optional. Source code location information associated with the log entry,
85
+ // if any.
86
+ LogEntrySourceLocation source_location = 17;
87
+ }
88
+
89
+ // Additional information about a potentially long-running operation with which
90
+ // a log entry is associated.
91
+ message LogEntryOperation {
92
+ // Optional. An arbitrary operation identifier. Log entries with the
93
+ // same identifier are assumed to be part of the same operation.
94
+ string id = 1;
95
+
96
+ // Optional. An arbitrary producer identifier. The combination of
97
+ // `id` and `producer` must be globally unique. Examples for `producer`:
98
+ // `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
99
+ string producer = 2;
100
+
101
+ // Optional. Set this to True if this is the first log entry in the operation.
102
+ bool first = 3;
103
+
104
+ // Optional. Set this to True if this is the last log entry in the operation.
105
+ bool last = 4;
106
+ }
107
+
108
+ // Additional information about the source code location that produced the log
109
+ // entry.
110
+ message LogEntrySourceLocation {
111
+ // Optional. Source file name. Depending on the runtime environment, this
112
+ // might be a simple name or a fully-qualified name.
113
+ string file = 1;
114
+
115
+ // Optional. Line within the source file. 1-based; 0 indicates no line number
116
+ // available.
117
+ int64 line = 2;
118
+
119
+ // Optional. Human-readable name of the function or method being invoked, with
120
+ // optional context such as the class or package name. This information may be
121
+ // used in contexts such as the logs viewer, where a file and line number are
122
+ // less meaningful. The format can vary by language. For example:
123
+ // `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
124
+ // (Python).
125
+ string function = 3;
126
+ }
@@ -0,0 +1,81 @@
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.servicecontrol.v1;
18
+
19
+ import "google/api/servicecontrol/v1/distribution.proto";
20
+ import "google/protobuf/timestamp.proto";
21
+
22
+ option cc_enable_arenas = true;
23
+ option csharp_namespace = "Google.Cloud.ServiceControl.V1";
24
+ option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
25
+ option java_multiple_files = true;
26
+ option java_outer_classname = "MetricValueSetProto";
27
+ option java_package = "com.google.api.servicecontrol.v1";
28
+ option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
29
+ option ruby_package = "Google::Cloud::ServiceControl::V1";
30
+
31
+ // Represents a single metric value.
32
+ message MetricValue {
33
+ // The labels describing the metric value.
34
+ // See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
35
+ // the overriding relationship.
36
+ // Note that this map must not contain monitored resource labels.
37
+ map<string, string> labels = 1;
38
+
39
+ // The start of the time period over which this metric value's measurement
40
+ // applies. The time period has different semantics for different metric
41
+ // types (cumulative, delta, and gauge). See the metric definition
42
+ // documentation in the service configuration for details. If not specified,
43
+ // [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used.
44
+ google.protobuf.Timestamp start_time = 2;
45
+
46
+ // The end of the time period over which this metric value's measurement
47
+ // applies. If not specified,
48
+ // [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used.
49
+ google.protobuf.Timestamp end_time = 3;
50
+
51
+ // The value. The type of value used in the request must
52
+ // agree with the metric definition in the service configuration, otherwise
53
+ // the MetricValue is rejected.
54
+ oneof value {
55
+ // A boolean value.
56
+ bool bool_value = 4;
57
+
58
+ // A signed 64-bit integer value.
59
+ int64 int64_value = 5;
60
+
61
+ // A double precision floating point value.
62
+ double double_value = 6;
63
+
64
+ // A text string value.
65
+ string string_value = 7;
66
+
67
+ // A distribution value.
68
+ Distribution distribution_value = 8;
69
+ }
70
+ }
71
+
72
+ // Represents a set of metric values in the same metric.
73
+ // Each metric value in the set should have a unique combination of start time,
74
+ // end time, and label values.
75
+ message MetricValueSet {
76
+ // The metric name defined in the service configuration.
77
+ string metric_name = 1;
78
+
79
+ // The values in this metric.
80
+ repeated MetricValue metric_values = 2;
81
+ }