@alis-build/common-ts 1.0.2

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 (640) hide show
  1. package/README.md +1 -0
  2. package/alis/a2a/extension/history/v1/history_grpc_pb.d.ts +82 -0
  3. package/alis/a2a/extension/history/v1/history_grpc_pb.js +395 -0
  4. package/alis/a2a/extension/history/v1/history_grpc_web_pb.d.ts +165 -0
  5. package/alis/a2a/extension/history/v1/history_grpc_web_pb.js +823 -0
  6. package/alis/a2a/extension/history/v1/history_pb.d.ts +345 -0
  7. package/alis/a2a/extension/history/v1/history_pb.js +2801 -0
  8. package/alis/open/agent/v1/agent_grpc_pb.d.ts +73 -0
  9. package/alis/open/agent/v1/agent_grpc_pb.js +364 -0
  10. package/alis/open/agent/v1/agent_grpc_web_pb.d.ts +148 -0
  11. package/alis/open/agent/v1/agent_grpc_web_pb.js +756 -0
  12. package/alis/open/agent/v1/agent_pb.d.ts +1546 -0
  13. package/alis/open/agent/v1/agent_pb.js +12595 -0
  14. package/alis/open/agent/v2/a2a_grpc_pb.d.ts +73 -0
  15. package/alis/open/agent/v2/a2a_grpc_pb.js +363 -0
  16. package/alis/open/agent/v2/a2a_grpc_web_pb.d.ts +148 -0
  17. package/alis/open/agent/v2/a2a_grpc_web_pb.js +754 -0
  18. package/alis/open/agent/v2/a2a_pb.d.ts +1534 -0
  19. package/alis/open/agent/v2/a2a_pb.js +12511 -0
  20. package/alis/open/config/v1/config_grpc_pb.d.ts +1 -0
  21. package/alis/open/config/v1/config_grpc_pb.js +1 -0
  22. package/alis/open/config/v1/config_pb.d.ts +41 -0
  23. package/alis/open/config/v1/config_pb.js +325 -0
  24. package/alis/open/cx/v1/cx_grpc_pb.d.ts +1 -0
  25. package/alis/open/cx/v1/cx_grpc_pb.js +1 -0
  26. package/alis/open/cx/v1/cx_pb.d.ts +713 -0
  27. package/alis/open/cx/v1/cx_pb.js +4249 -0
  28. package/alis/open/flows/v1/flows_grpc_pb.d.ts +50 -0
  29. package/alis/open/flows/v1/flows_grpc_pb.js +195 -0
  30. package/alis/open/flows/v1/flows_grpc_web_pb.d.ts +91 -0
  31. package/alis/open/flows/v1/flows_grpc_web_pb.js +450 -0
  32. package/alis/open/flows/v1/flows_pb.d.ts +308 -0
  33. package/alis/open/flows/v1/flows_pb.js +2487 -0
  34. package/alis/open/iam/v1/group_grpc_pb.d.ts +78 -0
  35. package/alis/open/iam/v1/group_grpc_pb.js +337 -0
  36. package/alis/open/iam/v1/group_grpc_web_pb.d.ts +155 -0
  37. package/alis/open/iam/v1/group_grpc_web_pb.js +764 -0
  38. package/alis/open/iam/v1/group_pb.d.ts +224 -0
  39. package/alis/open/iam/v1/group_pb.js +1849 -0
  40. package/alis/open/iam/v1/iam_grpc_pb.d.ts +1 -0
  41. package/alis/open/iam/v1/iam_grpc_pb.js +1 -0
  42. package/alis/open/iam/v1/iam_pb.d.ts +139 -0
  43. package/alis/open/iam/v1/iam_pb.js +1182 -0
  44. package/alis/open/iam/v1/oauth_grpc_pb.d.ts +1 -0
  45. package/alis/open/iam/v1/oauth_grpc_pb.js +1 -0
  46. package/alis/open/iam/v1/oauth_pb.d.ts +358 -0
  47. package/alis/open/iam/v1/oauth_pb.js +2875 -0
  48. package/alis/open/iam/v1/role_grpc_pb.d.ts +1 -0
  49. package/alis/open/iam/v1/role_grpc_pb.js +1 -0
  50. package/alis/open/iam/v1/role_pb.d.ts +65 -0
  51. package/alis/open/iam/v1/role_pb.js +526 -0
  52. package/alis/open/iam/v1/user_grpc_pb.d.ts +149 -0
  53. package/alis/open/iam/v1/user_grpc_pb.js +767 -0
  54. package/alis/open/iam/v1/user_grpc_web_pb.d.ts +324 -0
  55. package/alis/open/iam/v1/user_grpc_web_pb.js +1622 -0
  56. package/alis/open/iam/v1/user_pb.d.ts +984 -0
  57. package/alis/open/iam/v1/user_pb.js +8067 -0
  58. package/alis/open/in/v1/in_grpc_pb.d.ts +1 -0
  59. package/alis/open/in/v1/in_grpc_pb.js +1 -0
  60. package/alis/open/in/v1/in_pb.d.ts +413 -0
  61. package/alis/open/in/v1/in_pb.js +2982 -0
  62. package/alis/open/notifications/v1/devices_grpc_pb.d.ts +79 -0
  63. package/alis/open/notifications/v1/devices_grpc_pb.js +377 -0
  64. package/alis/open/notifications/v1/devices_grpc_web_pb.d.ts +156 -0
  65. package/alis/open/notifications/v1/devices_grpc_web_pb.js +766 -0
  66. package/alis/open/notifications/v1/devices_pb.d.ts +181 -0
  67. package/alis/open/notifications/v1/devices_pb.js +1463 -0
  68. package/alis/open/notifications/v1/notifications_grpc_pb.d.ts +46 -0
  69. package/alis/open/notifications/v1/notifications_grpc_pb.js +186 -0
  70. package/alis/open/notifications/v1/notifications_grpc_web_pb.d.ts +81 -0
  71. package/alis/open/notifications/v1/notifications_grpc_web_pb.js +390 -0
  72. package/alis/open/notifications/v1/notifications_pb.d.ts +111 -0
  73. package/alis/open/notifications/v1/notifications_pb.js +918 -0
  74. package/alis/open/operations/v1/operations_grpc_pb.d.ts +1 -0
  75. package/alis/open/operations/v1/operations_grpc_pb.js +1 -0
  76. package/alis/open/operations/v1/operations_pb.d.ts +133 -0
  77. package/alis/open/operations/v1/operations_pb.js +986 -0
  78. package/alis/open/options/v1/options_grpc_pb.d.ts +1 -0
  79. package/alis/open/options/v1/options_grpc_pb.js +1 -0
  80. package/alis/open/options/v1/options_pb.d.ts +316 -0
  81. package/alis/open/options/v1/options_pb.js +1910 -0
  82. package/alis/open/pubsub/v1/pubsub_grpc_pb.d.ts +1 -0
  83. package/alis/open/pubsub/v1/pubsub_grpc_pb.js +1 -0
  84. package/alis/open/pubsub/v1/pubsub_pb.d.ts +78 -0
  85. package/alis/open/pubsub/v1/pubsub_pb.js +633 -0
  86. package/alis/open/px/v1/px_grpc_pb.d.ts +1 -0
  87. package/alis/open/px/v1/px_grpc_pb.js +1 -0
  88. package/alis/open/px/v1/px_pb.d.ts +1098 -0
  89. package/alis/open/px/v1/px_pb.js +8006 -0
  90. package/alis/open/support/v1/attachments_grpc_pb.d.ts +24 -0
  91. package/alis/open/support/v1/attachments_grpc_pb.js +47 -0
  92. package/alis/open/support/v1/attachments_grpc_web_pb.d.ts +31 -0
  93. package/alis/open/support/v1/attachments_grpc_web_pb.js +142 -0
  94. package/alis/open/support/v1/attachments_pb.d.ts +46 -0
  95. package/alis/open/support/v1/attachments_pb.js +379 -0
  96. package/alis/open/support/v1/events_grpc_pb.d.ts +26 -0
  97. package/alis/open/support/v1/events_grpc_pb.js +48 -0
  98. package/alis/open/support/v1/events_grpc_web_pb.d.ts +32 -0
  99. package/alis/open/support/v1/events_grpc_web_pb.js +146 -0
  100. package/alis/open/support/v1/events_pb.d.ts +180 -0
  101. package/alis/open/support/v1/events_pb.js +1505 -0
  102. package/alis/open/support/v1/guide_grpc_pb.d.ts +45 -0
  103. package/alis/open/support/v1/guide_grpc_pb.js +176 -0
  104. package/alis/open/support/v1/guide_grpc_web_pb.d.ts +80 -0
  105. package/alis/open/support/v1/guide_grpc_web_pb.js +392 -0
  106. package/alis/open/support/v1/guide_pb.d.ts +527 -0
  107. package/alis/open/support/v1/guide_pb.js +3981 -0
  108. package/alis/open/support/v1/issue_grpc_pb.d.ts +109 -0
  109. package/alis/open/support/v1/issue_grpc_pb.js +493 -0
  110. package/alis/open/support/v1/issue_grpc_web_pb.d.ts +228 -0
  111. package/alis/open/support/v1/issue_grpc_web_pb.js +1132 -0
  112. package/alis/open/support/v1/issue_pb.d.ts +524 -0
  113. package/alis/open/support/v1/issue_pb.js +3984 -0
  114. package/alis/open/support/v1/issueactivity_grpc_pb.d.ts +71 -0
  115. package/alis/open/support/v1/issueactivity_grpc_pb.js +311 -0
  116. package/alis/open/support/v1/issueactivity_grpc_web_pb.d.ts +141 -0
  117. package/alis/open/support/v1/issueactivity_grpc_web_pb.js +701 -0
  118. package/alis/open/support/v1/issueactivity_pb.d.ts +291 -0
  119. package/alis/open/support/v1/issueactivity_pb.js +2337 -0
  120. package/alis/open/support/v1/issuesubscriber_grpc_pb.d.ts +79 -0
  121. package/alis/open/support/v1/issuesubscriber_grpc_pb.js +351 -0
  122. package/alis/open/support/v1/issuesubscriber_grpc_web_pb.d.ts +156 -0
  123. package/alis/open/support/v1/issuesubscriber_grpc_web_pb.js +766 -0
  124. package/alis/open/support/v1/issuesubscriber_pb.d.ts +169 -0
  125. package/alis/open/support/v1/issuesubscriber_pb.js +1361 -0
  126. package/alis/open/validation/v1/test_grpc_pb.d.ts +45 -0
  127. package/alis/open/validation/v1/test_grpc_pb.js +164 -0
  128. package/alis/open/validation/v1/test_grpc_web_pb.d.ts +80 -0
  129. package/alis/open/validation/v1/test_grpc_web_pb.js +394 -0
  130. package/alis/open/validation/v1/test_pb.d.ts +206 -0
  131. package/alis/open/validation/v1/test_pb.js +1662 -0
  132. package/alis/open/validation/v1/validation_grpc_pb.d.ts +29 -0
  133. package/alis/open/validation/v1/validation_grpc_pb.js +80 -0
  134. package/alis/open/validation/v1/validation_grpc_web_pb.d.ts +43 -0
  135. package/alis/open/validation/v1/validation_grpc_web_pb.js +203 -0
  136. package/alis/open/validation/v1/validation_pb.d.ts +156 -0
  137. package/alis/open/validation/v1/validation_pb.js +1355 -0
  138. package/alis/test/v1/test_grpc_pb.d.ts +1 -0
  139. package/alis/test/v1/test_grpc_pb.js +1 -0
  140. package/alis/test/v1/test_pb.d.ts +26 -0
  141. package/alis/test/v1/test_pb.js +203 -0
  142. package/common/test/v1/test_grpc_pb.d.ts +1 -0
  143. package/common/test/v1/test_grpc_pb.js +1 -0
  144. package/common/test/v1/test_pb.d.ts +26 -0
  145. package/common/test/v1/test_pb.js +203 -0
  146. package/google/api/annotations_grpc_pb.d.ts +1 -0
  147. package/google/api/annotations_grpc_pb.js +1 -0
  148. package/google/api/annotations_pb.d.ts +6 -0
  149. package/google/api/annotations_pb.js +51 -0
  150. package/google/api/apikeys/v2/apikeys_grpc_pb.d.ts +61 -0
  151. package/google/api/apikeys/v2/apikeys_grpc_pb.js +302 -0
  152. package/google/api/apikeys/v2/apikeys_grpc_web_pb.d.ts +117 -0
  153. package/google/api/apikeys/v2/apikeys_grpc_web_pb.js +583 -0
  154. package/google/api/apikeys/v2/apikeys_pb.d.ts +253 -0
  155. package/google/api/apikeys/v2/apikeys_pb.js +2070 -0
  156. package/google/api/apikeys/v2/resources_grpc_pb.d.ts +1 -0
  157. package/google/api/apikeys/v2/resources_grpc_pb.js +1 -0
  158. package/google/api/apikeys/v2/resources_pb.d.ts +249 -0
  159. package/google/api/apikeys/v2/resources_pb.js +2063 -0
  160. package/google/api/auth_grpc_pb.d.ts +1 -0
  161. package/google/api/auth_grpc_pb.js +1 -0
  162. package/google/api/auth_pb.d.ts +183 -0
  163. package/google/api/auth_pb.js +1539 -0
  164. package/google/api/backend_grpc_pb.d.ts +1 -0
  165. package/google/api/backend_grpc_pb.js +1 -0
  166. package/google/api/backend_pb.d.ts +88 -0
  167. package/google/api/backend_pb.js +668 -0
  168. package/google/api/billing_grpc_pb.d.ts +1 -0
  169. package/google/api/billing_grpc_pb.js +1 -0
  170. package/google/api/billing_pb.d.ts +49 -0
  171. package/google/api/billing_pb.js +411 -0
  172. package/google/api/client_grpc_pb.d.ts +1 -0
  173. package/google/api/client_grpc_pb.js +1 -0
  174. package/google/api/client_pb.d.ts +402 -0
  175. package/google/api/client_pb.js +3379 -0
  176. package/google/api/config_change_grpc_pb.d.ts +1 -0
  177. package/google/api/config_change_grpc_pb.js +1 -0
  178. package/google/api/config_change_pb.d.ts +64 -0
  179. package/google/api/config_change_pb.js +486 -0
  180. package/google/api/consumer_grpc_pb.d.ts +1 -0
  181. package/google/api/consumer_grpc_pb.js +1 -0
  182. package/google/api/consumer_pb.d.ts +58 -0
  183. package/google/api/consumer_pb.js +427 -0
  184. package/google/api/context_grpc_pb.d.ts +1 -0
  185. package/google/api/context_grpc_pb.js +1 -0
  186. package/google/api/context_pb.d.ts +66 -0
  187. package/google/api/context_pb.js +558 -0
  188. package/google/api/control_grpc_pb.d.ts +1 -0
  189. package/google/api/control_grpc_pb.js +1 -0
  190. package/google/api/control_pb.d.ts +22 -0
  191. package/google/api/control_pb.js +173 -0
  192. package/google/api/distribution_grpc_pb.d.ts +1 -0
  193. package/google/api/distribution_grpc_pb.js +1 -0
  194. package/google/api/distribution_pb.d.ts +227 -0
  195. package/google/api/distribution_pb.js +1796 -0
  196. package/google/api/documentation_grpc_pb.d.ts +1 -0
  197. package/google/api/documentation_grpc_pb.js +1 -0
  198. package/google/api/documentation_pb.d.ts +100 -0
  199. package/google/api/documentation_pb.js +830 -0
  200. package/google/api/endpoint_grpc_pb.d.ts +1 -0
  201. package/google/api/endpoint_grpc_pb.js +1 -0
  202. package/google/api/endpoint_pb.d.ts +36 -0
  203. package/google/api/endpoint_pb.js +289 -0
  204. package/google/api/error_reason_grpc_pb.d.ts +1 -0
  205. package/google/api/error_reason_grpc_pb.js +1 -0
  206. package/google/api/error_reason_pb.d.ts +34 -0
  207. package/google/api/error_reason_pb.js +56 -0
  208. package/google/api/expr/conformance/v1alpha1/conformance_service_grpc_pb.d.ts +34 -0
  209. package/google/api/expr/conformance/v1alpha1/conformance_service_grpc_pb.js +140 -0
  210. package/google/api/expr/conformance/v1alpha1/conformance_service_grpc_web_pb.d.ts +55 -0
  211. package/google/api/expr/conformance/v1alpha1/conformance_service_grpc_web_pb.js +275 -0
  212. package/google/api/expr/conformance/v1alpha1/conformance_service_pb.d.ts +258 -0
  213. package/google/api/expr/conformance/v1alpha1/conformance_service_pb.js +2072 -0
  214. package/google/api/expr/v1alpha1/checked_grpc_pb.d.ts +1 -0
  215. package/google/api/expr/v1alpha1/checked_grpc_pb.js +1 -0
  216. package/google/api/expr/v1alpha1/checked_pb.d.ts +426 -0
  217. package/google/api/expr/v1alpha1/checked_pb.js +3381 -0
  218. package/google/api/expr/v1alpha1/eval_grpc_pb.d.ts +1 -0
  219. package/google/api/expr/v1alpha1/eval_grpc_pb.js +1 -0
  220. package/google/api/expr/v1alpha1/eval_pb.d.ts +136 -0
  221. package/google/api/expr/v1alpha1/eval_pb.js +1104 -0
  222. package/google/api/expr/v1alpha1/explain_grpc_pb.d.ts +1 -0
  223. package/google/api/expr/v1alpha1/explain_grpc_pb.js +1 -0
  224. package/google/api/expr/v1alpha1/explain_pb.d.ts +54 -0
  225. package/google/api/expr/v1alpha1/explain_pb.js +440 -0
  226. package/google/api/expr/v1alpha1/syntax_grpc_pb.d.ts +1 -0
  227. package/google/api/expr/v1alpha1/syntax_grpc_pb.js +1 -0
  228. package/google/api/expr/v1alpha1/syntax_pb.d.ts +474 -0
  229. package/google/api/expr/v1alpha1/syntax_pb.js +3854 -0
  230. package/google/api/expr/v1alpha1/value_grpc_pb.d.ts +1 -0
  231. package/google/api/expr/v1alpha1/value_grpc_pb.js +1 -0
  232. package/google/api/expr/v1alpha1/value_pb.d.ts +185 -0
  233. package/google/api/expr/v1alpha1/value_pb.js +1566 -0
  234. package/google/api/expr/v1beta1/decl_grpc_pb.d.ts +1 -0
  235. package/google/api/expr/v1beta1/decl_grpc_pb.js +1 -0
  236. package/google/api/expr/v1beta1/decl_pb.d.ts +135 -0
  237. package/google/api/expr/v1beta1/decl_pb.js +1093 -0
  238. package/google/api/expr/v1beta1/eval_grpc_pb.d.ts +1 -0
  239. package/google/api/expr/v1beta1/eval_grpc_pb.js +1 -0
  240. package/google/api/expr/v1beta1/eval_pb.d.ts +156 -0
  241. package/google/api/expr/v1beta1/eval_pb.js +1282 -0
  242. package/google/api/expr/v1beta1/expr_grpc_pb.d.ts +1 -0
  243. package/google/api/expr/v1beta1/expr_grpc_pb.js +1 -0
  244. package/google/api/expr/v1beta1/expr_pb.d.ts +387 -0
  245. package/google/api/expr/v1beta1/expr_pb.js +3142 -0
  246. package/google/api/expr/v1beta1/source_grpc_pb.d.ts +1 -0
  247. package/google/api/expr/v1beta1/source_grpc_pb.js +1 -0
  248. package/google/api/expr/v1beta1/source_pb.d.ts +62 -0
  249. package/google/api/expr/v1beta1/source_pb.js +509 -0
  250. package/google/api/expr/v1beta1/value_grpc_pb.d.ts +1 -0
  251. package/google/api/expr/v1beta1/value_grpc_pb.js +1 -0
  252. package/google/api/expr/v1beta1/value_pb.d.ts +185 -0
  253. package/google/api/expr/v1beta1/value_pb.js +1566 -0
  254. package/google/api/field_behavior_grpc_pb.d.ts +1 -0
  255. package/google/api/field_behavior_grpc_pb.js +1 -0
  256. package/google/api/field_behavior_pb.d.ts +15 -0
  257. package/google/api/field_behavior_pb.js +64 -0
  258. package/google/api/http_grpc_pb.d.ts +1 -0
  259. package/google/api/http_grpc_pb.js +1 -0
  260. package/google/api/http_pb.d.ts +120 -0
  261. package/google/api/http_pb.js +1009 -0
  262. package/google/api/httpbody_grpc_pb.d.ts +1 -0
  263. package/google/api/httpbody_grpc_pb.js +1 -0
  264. package/google/api/httpbody_pb.d.ts +35 -0
  265. package/google/api/httpbody_pb.js +289 -0
  266. package/google/api/label_grpc_pb.d.ts +1 -0
  267. package/google/api/label_grpc_pb.js +1 -0
  268. package/google/api/label_pb.d.ts +36 -0
  269. package/google/api/label_pb.js +243 -0
  270. package/google/api/launch_stage_grpc_pb.d.ts +1 -0
  271. package/google/api/launch_stage_grpc_pb.js +1 -0
  272. package/google/api/launch_stage_pb.d.ts +14 -0
  273. package/google/api/launch_stage_pb.js +36 -0
  274. package/google/api/log_grpc_pb.d.ts +1 -0
  275. package/google/api/log_grpc_pb.js +1 -0
  276. package/google/api/log_pb.d.ts +37 -0
  277. package/google/api/log_pb.js +295 -0
  278. package/google/api/logging_grpc_pb.d.ts +1 -0
  279. package/google/api/logging_grpc_pb.js +1 -0
  280. package/google/api/logging_pb.d.ts +55 -0
  281. package/google/api/logging_pb.js +464 -0
  282. package/google/api/metric_grpc_pb.d.ts +1 -0
  283. package/google/api/metric_grpc_pb.js +1 -0
  284. package/google/api/metric_pb.d.ts +141 -0
  285. package/google/api/metric_pb.js +1019 -0
  286. package/google/api/monitored_resource_grpc_pb.d.ts +1 -0
  287. package/google/api/monitored_resource_grpc_pb.js +1 -0
  288. package/google/api/monitored_resource_pb.d.ts +93 -0
  289. package/google/api/monitored_resource_pb.js +762 -0
  290. package/google/api/monitoring_grpc_pb.d.ts +1 -0
  291. package/google/api/monitoring_grpc_pb.js +1 -0
  292. package/google/api/monitoring_pb.d.ts +55 -0
  293. package/google/api/monitoring_pb.js +464 -0
  294. package/google/api/quota_grpc_pb.d.ts +1 -0
  295. package/google/api/quota_grpc_pb.js +1 -0
  296. package/google/api/quota_pb.d.ts +106 -0
  297. package/google/api/quota_pb.js +878 -0
  298. package/google/api/resource_grpc_pb.d.ts +1 -0
  299. package/google/api/resource_grpc_pb.js +1 -0
  300. package/google/api/resource_pb.d.ts +84 -0
  301. package/google/api/resource_pb.js +678 -0
  302. package/google/api/routing_grpc_pb.d.ts +1 -0
  303. package/google/api/routing_grpc_pb.js +1 -0
  304. package/google/api/routing_pb.d.ts +47 -0
  305. package/google/api/routing_pb.js +413 -0
  306. package/google/api/service_grpc_pb.d.ts +1 -0
  307. package/google/api/service_grpc_pb.js +1 -0
  308. package/google/api/service_pb.d.ts +187 -0
  309. package/google/api/service_pb.js +1448 -0
  310. package/google/api/servicecontrol/v1/check_error_grpc_pb.d.ts +1 -0
  311. package/google/api/servicecontrol/v1/check_error_grpc_pb.js +1 -0
  312. package/google/api/servicecontrol/v1/check_error_pb.d.ts +61 -0
  313. package/google/api/servicecontrol/v1/check_error_pb.js +314 -0
  314. package/google/api/servicecontrol/v1/distribution_grpc_pb.d.ts +1 -0
  315. package/google/api/servicecontrol/v1/distribution_grpc_pb.js +1 -0
  316. package/google/api/servicecontrol/v1/distribution_pb.d.ts +153 -0
  317. package/google/api/servicecontrol/v1/distribution_pb.js +1185 -0
  318. package/google/api/servicecontrol/v1/http_request_grpc_pb.d.ts +1 -0
  319. package/google/api/servicecontrol/v1/http_request_grpc_pb.js +1 -0
  320. package/google/api/servicecontrol/v1/http_request_pb.d.ts +81 -0
  321. package/google/api/servicecontrol/v1/http_request_pb.js +616 -0
  322. package/google/api/servicecontrol/v1/log_entry_grpc_pb.d.ts +1 -0
  323. package/google/api/servicecontrol/v1/log_entry_grpc_pb.js +1 -0
  324. package/google/api/servicecontrol/v1/log_entry_pb.d.ts +148 -0
  325. package/google/api/servicecontrol/v1/log_entry_pb.js +1148 -0
  326. package/google/api/servicecontrol/v1/metric_value_grpc_pb.d.ts +1 -0
  327. package/google/api/servicecontrol/v1/metric_value_grpc_pb.js +1 -0
  328. package/google/api/servicecontrol/v1/metric_value_pb.d.ts +93 -0
  329. package/google/api/servicecontrol/v1/metric_value_pb.js +773 -0
  330. package/google/api/servicecontrol/v1/operation_grpc_pb.d.ts +1 -0
  331. package/google/api/servicecontrol/v1/operation_grpc_pb.js +1 -0
  332. package/google/api/servicecontrol/v1/operation_pb.d.ts +77 -0
  333. package/google/api/servicecontrol/v1/operation_pb.js +587 -0
  334. package/google/api/servicecontrol/v1/quota_controller_grpc_pb.d.ts +24 -0
  335. package/google/api/servicecontrol/v1/quota_controller_grpc_pb.js +78 -0
  336. package/google/api/servicecontrol/v1/quota_controller_grpc_web_pb.d.ts +31 -0
  337. package/google/api/servicecontrol/v1/quota_controller_grpc_web_pb.js +150 -0
  338. package/google/api/servicecontrol/v1/quota_controller_pb.d.ts +160 -0
  339. package/google/api/servicecontrol/v1/quota_controller_pb.js +1187 -0
  340. package/google/api/servicecontrol/v1/service_controller_grpc_pb.d.ts +29 -0
  341. package/google/api/servicecontrol/v1/service_controller_grpc_pb.js +133 -0
  342. package/google/api/servicecontrol/v1/service_controller_grpc_web_pb.d.ts +43 -0
  343. package/google/api/servicecontrol/v1/service_controller_grpc_web_pb.js +213 -0
  344. package/google/api/servicecontrol/v1/service_controller_pb.d.ts +218 -0
  345. package/google/api/servicecontrol/v1/service_controller_pb.js +1727 -0
  346. package/google/api/servicecontrol/v2/service_controller_grpc_pb.d.ts +29 -0
  347. package/google/api/servicecontrol/v2/service_controller_grpc_pb.js +144 -0
  348. package/google/api/servicecontrol/v2/service_controller_grpc_web_pb.d.ts +43 -0
  349. package/google/api/servicecontrol/v2/service_controller_grpc_web_pb.js +211 -0
  350. package/google/api/servicecontrol/v2/service_controller_pb.d.ts +146 -0
  351. package/google/api/servicecontrol/v2/service_controller_pb.js +1201 -0
  352. package/google/api/servicemanagement/v1/resources_grpc_pb.d.ts +1 -0
  353. package/google/api/servicemanagement/v1/resources_grpc_pb.js +1 -0
  354. package/google/api/servicemanagement/v1/resources_pb.d.ts +327 -0
  355. package/google/api/servicemanagement/v1/resources_pb.js +2452 -0
  356. package/google/api/servicemanagement/v1/servicemanager_grpc_pb.d.ts +87 -0
  357. package/google/api/servicemanagement/v1/servicemanager_grpc_pb.js +495 -0
  358. package/google/api/servicemanagement/v1/servicemanager_grpc_web_pb.d.ts +178 -0
  359. package/google/api/servicemanagement/v1/servicemanager_grpc_web_pb.js +888 -0
  360. package/google/api/servicemanagement/v1/servicemanager_pb.d.ts +472 -0
  361. package/google/api/servicemanagement/v1/servicemanager_pb.js +3903 -0
  362. package/google/api/serviceusage/v1/resources_grpc_pb.d.ts +1 -0
  363. package/google/api/serviceusage/v1/resources_grpc_pb.js +1 -0
  364. package/google/api/serviceusage/v1/resources_pb.d.ts +139 -0
  365. package/google/api/serviceusage/v1/resources_pb.js +1091 -0
  366. package/google/api/serviceusage/v1/serviceusage_grpc_pb.d.ts +51 -0
  367. package/google/api/serviceusage/v1/serviceusage_grpc_pb.js +238 -0
  368. package/google/api/serviceusage/v1/serviceusage_grpc_web_pb.d.ts +93 -0
  369. package/google/api/serviceusage/v1/serviceusage_grpc_web_pb.js +455 -0
  370. package/google/api/serviceusage/v1/serviceusage_pb.d.ts +287 -0
  371. package/google/api/serviceusage/v1/serviceusage_pb.js +2370 -0
  372. package/google/api/serviceusage/v1beta1/resources_grpc_pb.d.ts +1 -0
  373. package/google/api/serviceusage/v1beta1/resources_grpc_pb.js +1 -0
  374. package/google/api/serviceusage/v1beta1/resources_pb.d.ts +393 -0
  375. package/google/api/serviceusage/v1beta1/resources_pb.js +3158 -0
  376. package/google/api/serviceusage/v1beta1/serviceusage_grpc_pb.d.ts +116 -0
  377. package/google/api/serviceusage/v1beta1/serviceusage_grpc_pb.js +594 -0
  378. package/google/api/serviceusage/v1beta1/serviceusage_grpc_web_pb.d.ts +249 -0
  379. package/google/api/serviceusage/v1beta1/serviceusage_grpc_web_pb.js +1250 -0
  380. package/google/api/serviceusage/v1beta1/serviceusage_pb.d.ts +870 -0
  381. package/google/api/serviceusage/v1beta1/serviceusage_pb.js +7306 -0
  382. package/google/api/source_info_grpc_pb.d.ts +1 -0
  383. package/google/api/source_info_grpc_pb.js +1 -0
  384. package/google/api/source_info_pb.d.ts +25 -0
  385. package/google/api/source_info_pb.js +205 -0
  386. package/google/api/system_parameter_grpc_pb.d.ts +1 -0
  387. package/google/api/system_parameter_grpc_pb.js +1 -0
  388. package/google/api/system_parameter_pb.d.ts +74 -0
  389. package/google/api/system_parameter_pb.js +627 -0
  390. package/google/api/usage_grpc_pb.d.ts +1 -0
  391. package/google/api/usage_grpc_pb.js +1 -0
  392. package/google/api/usage_pb.d.ts +60 -0
  393. package/google/api/usage_pb.js +494 -0
  394. package/google/api/visibility_grpc_pb.d.ts +1 -0
  395. package/google/api/visibility_grpc_pb.js +1 -0
  396. package/google/api/visibility_pb.d.ts +47 -0
  397. package/google/api/visibility_pb.js +543 -0
  398. package/google/iam/admin/v1/audit_data_grpc_pb.d.ts +1 -0
  399. package/google/iam/admin/v1/audit_data_grpc_pb.js +1 -0
  400. package/google/iam/admin/v1/audit_data_pb.d.ts +51 -0
  401. package/google/iam/admin/v1/audit_data_pb.js +421 -0
  402. package/google/iam/admin/v1/iam_grpc_pb.d.ts +177 -0
  403. package/google/iam/admin/v1/iam_grpc_pb.js +1071 -0
  404. package/google/iam/admin/v1/iam_grpc_web_pb.d.ts +394 -0
  405. package/google/iam/admin/v1/iam_grpc_web_pb.js +1992 -0
  406. package/google/iam/admin/v1/iam_pb.d.ts +1194 -0
  407. package/google/iam/admin/v1/iam_pb.js +9475 -0
  408. package/google/iam/credentials/v1/common_grpc_pb.d.ts +1 -0
  409. package/google/iam/credentials/v1/common_grpc_pb.js +1 -0
  410. package/google/iam/credentials/v1/common_pb.d.ts +222 -0
  411. package/google/iam/credentials/v1/common_pb.js +1848 -0
  412. package/google/iam/credentials/v1/iamcredentials_grpc_pb.d.ts +40 -0
  413. package/google/iam/credentials/v1/iamcredentials_grpc_pb.js +173 -0
  414. package/google/iam/credentials/v1/iamcredentials_grpc_web_pb.d.ts +67 -0
  415. package/google/iam/credentials/v1/iamcredentials_grpc_web_pb.js +331 -0
  416. package/google/iam/credentials/v1/iamcredentials_pb.d.ts +7 -0
  417. package/google/iam/credentials/v1/iamcredentials_pb.js +26 -0
  418. package/google/iam/v1/iam_policy_grpc_pb.d.ts +35 -0
  419. package/google/iam/v1/iam_policy_grpc_pb.js +161 -0
  420. package/google/iam/v1/iam_policy_grpc_web_pb.d.ts +56 -0
  421. package/google/iam/v1/iam_policy_grpc_web_pb.js +277 -0
  422. package/google/iam/v1/iam_policy_pb.d.ts +109 -0
  423. package/google/iam/v1/iam_policy_pb.js +878 -0
  424. package/google/iam/v1/logging/audit_data_grpc_pb.d.ts +1 -0
  425. package/google/iam/v1/logging/audit_data_grpc_pb.js +1 -0
  426. package/google/iam/v1/logging/audit_data_pb.d.ts +25 -0
  427. package/google/iam/v1/logging/audit_data_pb.js +196 -0
  428. package/google/iam/v1/options_grpc_pb.d.ts +1 -0
  429. package/google/iam/v1/options_grpc_pb.js +1 -0
  430. package/google/iam/v1/options_pb.d.ts +22 -0
  431. package/google/iam/v1/options_pb.js +173 -0
  432. package/google/iam/v1/policy_grpc_pb.d.ts +1 -0
  433. package/google/iam/v1/policy_grpc_pb.js +1 -0
  434. package/google/iam/v1/policy_pb.d.ts +226 -0
  435. package/google/iam/v1/policy_pb.js +1792 -0
  436. package/google/iam/v1beta/workload_identity_pool_grpc_pb.d.ts +80 -0
  437. package/google/iam/v1beta/workload_identity_pool_grpc_pb.js +402 -0
  438. package/google/iam/v1beta/workload_identity_pool_grpc_web_pb.d.ts +164 -0
  439. package/google/iam/v1beta/workload_identity_pool_grpc_web_pb.js +824 -0
  440. package/google/iam/v1beta/workload_identity_pool_pb.d.ts +514 -0
  441. package/google/iam/v1beta/workload_identity_pool_pb.js +4135 -0
  442. package/google/iam/v2/deny_grpc_pb.d.ts +1 -0
  443. package/google/iam/v2/deny_grpc_pb.js +1 -0
  444. package/google/iam/v2/deny_pb.d.ts +49 -0
  445. package/google/iam/v2/deny_pb.js +399 -0
  446. package/google/iam/v2/policy_grpc_pb.d.ts +45 -0
  447. package/google/iam/v2/policy_grpc_pb.js +195 -0
  448. package/google/iam/v2/policy_grpc_web_pb.d.ts +80 -0
  449. package/google/iam/v2/policy_grpc_web_pb.js +397 -0
  450. package/google/iam/v2/policy_pb.d.ts +265 -0
  451. package/google/iam/v2/policy_pb.js +2153 -0
  452. package/google/iam/v2beta/deny_grpc_pb.d.ts +1 -0
  453. package/google/iam/v2beta/deny_grpc_pb.js +1 -0
  454. package/google/iam/v2beta/deny_pb.d.ts +49 -0
  455. package/google/iam/v2beta/deny_pb.js +399 -0
  456. package/google/iam/v2beta/policy_grpc_pb.d.ts +45 -0
  457. package/google/iam/v2beta/policy_grpc_pb.js +195 -0
  458. package/google/iam/v2beta/policy_grpc_web_pb.d.ts +80 -0
  459. package/google/iam/v2beta/policy_grpc_web_pb.js +397 -0
  460. package/google/iam/v2beta/policy_pb.d.ts +261 -0
  461. package/google/iam/v2beta/policy_pb.js +2123 -0
  462. package/google/logging/type/http_request_grpc_pb.d.ts +1 -0
  463. package/google/logging/type/http_request_grpc_pb.js +1 -0
  464. package/google/logging/type/http_request_pb.d.ts +81 -0
  465. package/google/logging/type/http_request_pb.js +616 -0
  466. package/google/logging/type/log_severity_grpc_pb.d.ts +1 -0
  467. package/google/logging/type/log_severity_grpc_pb.js +1 -0
  468. package/google/logging/type/log_severity_pb.d.ts +15 -0
  469. package/google/logging/type/log_severity_pb.js +37 -0
  470. package/google/logging/v2/log_entry_grpc_pb.d.ts +1 -0
  471. package/google/logging/v2/log_entry_grpc_pb.js +1 -0
  472. package/google/logging/v2/log_entry_pb.d.ts +203 -0
  473. package/google/logging/v2/log_entry_pb.js +1579 -0
  474. package/google/logging/v2/logging_config_grpc_pb.d.ts +151 -0
  475. package/google/logging/v2/logging_config_grpc_pb.js +846 -0
  476. package/google/logging/v2/logging_config_grpc_web_pb.d.ts +333 -0
  477. package/google/logging/v2/logging_config_grpc_web_pb.js +1682 -0
  478. package/google/logging/v2/logging_config_pb.d.ts +1111 -0
  479. package/google/logging/v2/logging_config_pb.js +9060 -0
  480. package/google/logging/v2/logging_grpc_pb.d.ts +49 -0
  481. package/google/logging/v2/logging_grpc_pb.js +254 -0
  482. package/google/logging/v2/logging_grpc_web_pb.d.ts +80 -0
  483. package/google/logging/v2/logging_grpc_web_pb.js +403 -0
  484. package/google/logging/v2/logging_metrics_grpc_pb.d.ts +45 -0
  485. package/google/logging/v2/logging_metrics_grpc_pb.js +183 -0
  486. package/google/logging/v2/logging_metrics_grpc_web_pb.d.ts +80 -0
  487. package/google/logging/v2/logging_metrics_grpc_web_pb.js +401 -0
  488. package/google/logging/v2/logging_metrics_pb.d.ts +217 -0
  489. package/google/logging/v2/logging_metrics_pb.js +1725 -0
  490. package/google/logging/v2/logging_pb.d.ts +352 -0
  491. package/google/logging/v2/logging_pb.js +2904 -0
  492. package/google/longrunning/operations_grpc_pb.d.ts +45 -0
  493. package/google/longrunning/operations_grpc_pb.js +221 -0
  494. package/google/longrunning/operations_grpc_web_pb.d.ts +80 -0
  495. package/google/longrunning/operations_grpc_web_pb.js +398 -0
  496. package/google/longrunning/operations_pb.d.ts +213 -0
  497. package/google/longrunning/operations_pb.js +1718 -0
  498. package/google/protobuf/any_grpc_pb.d.ts +1 -0
  499. package/google/protobuf/any_grpc_pb.js +1 -0
  500. package/google/protobuf/any_pb.d.ts +28 -0
  501. package/google/protobuf/any_pb.js +278 -0
  502. package/google/protobuf/api_grpc_pb.d.ts +1 -0
  503. package/google/protobuf/api_grpc_pb.js +1 -0
  504. package/google/protobuf/api_pb.d.ts +122 -0
  505. package/google/protobuf/api_pb.js +998 -0
  506. package/google/protobuf/descriptor_grpc_pb.d.ts +1 -0
  507. package/google/protobuf/descriptor_grpc_pb.js +1 -0
  508. package/google/protobuf/descriptor_pb.d.ts +1626 -0
  509. package/google/protobuf/descriptor_pb.js +13251 -0
  510. package/google/protobuf/duration_grpc_pb.d.ts +1 -0
  511. package/google/protobuf/duration_grpc_pb.js +1 -0
  512. package/google/protobuf/duration_pb.d.ts +26 -0
  513. package/google/protobuf/duration_pb.js +203 -0
  514. package/google/protobuf/empty_grpc_pb.d.ts +1 -0
  515. package/google/protobuf/empty_grpc_pb.js +1 -0
  516. package/google/protobuf/empty_pb.d.ts +18 -0
  517. package/google/protobuf/empty_pb.js +144 -0
  518. package/google/protobuf/field_mask_grpc_pb.d.ts +1 -0
  519. package/google/protobuf/field_mask_grpc_pb.js +1 -0
  520. package/google/protobuf/field_mask_pb.d.ts +24 -0
  521. package/google/protobuf/field_mask_pb.js +199 -0
  522. package/google/protobuf/source_context_grpc_pb.d.ts +1 -0
  523. package/google/protobuf/source_context_grpc_pb.js +1 -0
  524. package/google/protobuf/source_context_pb.d.ts +22 -0
  525. package/google/protobuf/source_context_pb.js +173 -0
  526. package/google/protobuf/struct_grpc_pb.d.ts +1 -0
  527. package/google/protobuf/struct_grpc_pb.js +1 -0
  528. package/google/protobuf/struct_pb.d.ts +99 -0
  529. package/google/protobuf/struct_pb.js +958 -0
  530. package/google/protobuf/timestamp_grpc_pb.d.ts +1 -0
  531. package/google/protobuf/timestamp_grpc_pb.js +1 -0
  532. package/google/protobuf/timestamp_pb.d.ts +26 -0
  533. package/google/protobuf/timestamp_pb.js +239 -0
  534. package/google/protobuf/type_grpc_pb.d.ts +1 -0
  535. package/google/protobuf/type_grpc_pb.js +1 -0
  536. package/google/protobuf/type_pb.d.ts +242 -0
  537. package/google/protobuf/type_pb.js +1770 -0
  538. package/google/protobuf/wrappers_grpc_pb.d.ts +1 -0
  539. package/google/protobuf/wrappers_grpc_pb.js +1 -0
  540. package/google/protobuf/wrappers_pb.d.ts +168 -0
  541. package/google/protobuf/wrappers_pb.js +1413 -0
  542. package/google/rpc/code_grpc_pb.d.ts +1 -0
  543. package/google/rpc/code_grpc_pb.js +1 -0
  544. package/google/rpc/code_pb.d.ts +23 -0
  545. package/google/rpc/code_pb.js +45 -0
  546. package/google/rpc/context/attribute_context_grpc_pb.d.ts +1 -0
  547. package/google/rpc/context/attribute_context_grpc_pb.js +1 -0
  548. package/google/rpc/context/attribute_context_pb.d.ts +352 -0
  549. package/google/rpc/context/attribute_context_pb.js +2848 -0
  550. package/google/rpc/context/audit_context_grpc_pb.d.ts +1 -0
  551. package/google/rpc/context/audit_context_grpc_pb.js +1 -0
  552. package/google/rpc/context/audit_context_pb.d.ts +45 -0
  553. package/google/rpc/context/audit_context_pb.js +361 -0
  554. package/google/rpc/error_details_grpc_pb.d.ts +1 -0
  555. package/google/rpc/error_details_grpc_pb.js +1 -0
  556. package/google/rpc/error_details_pb.d.ts +325 -0
  557. package/google/rpc/error_details_pb.js +2717 -0
  558. package/google/rpc/http_grpc_pb.d.ts +1 -0
  559. package/google/rpc/http_grpc_pb.js +1 -0
  560. package/google/rpc/http_pb.d.ts +94 -0
  561. package/google/rpc/http_pb.js +795 -0
  562. package/google/rpc/status_grpc_pb.d.ts +1 -0
  563. package/google/rpc/status_grpc_pb.js +1 -0
  564. package/google/rpc/status_pb.d.ts +33 -0
  565. package/google/rpc/status_pb.js +265 -0
  566. package/google/type/calendar_period_grpc_pb.d.ts +1 -0
  567. package/google/type/calendar_period_grpc_pb.js +1 -0
  568. package/google/type/calendar_period_pb.d.ts +14 -0
  569. package/google/type/calendar_period_pb.js +36 -0
  570. package/google/type/color_grpc_pb.d.ts +1 -0
  571. package/google/type/color_grpc_pb.js +1 -0
  572. package/google/type/color_pb.d.ts +37 -0
  573. package/google/type/color_pb.js +286 -0
  574. package/google/type/date_grpc_pb.d.ts +1 -0
  575. package/google/type/date_grpc_pb.js +1 -0
  576. package/google/type/date_pb.d.ts +30 -0
  577. package/google/type/date_pb.js +233 -0
  578. package/google/type/datetime_grpc_pb.d.ts +1 -0
  579. package/google/type/datetime_grpc_pb.js +1 -0
  580. package/google/type/datetime_pb.d.ts +89 -0
  581. package/google/type/datetime_pb.js +666 -0
  582. package/google/type/dayofweek_grpc_pb.d.ts +1 -0
  583. package/google/type/dayofweek_grpc_pb.js +1 -0
  584. package/google/type/dayofweek_pb.d.ts +14 -0
  585. package/google/type/dayofweek_pb.js +36 -0
  586. package/google/type/decimal_grpc_pb.d.ts +1 -0
  587. package/google/type/decimal_grpc_pb.js +1 -0
  588. package/google/type/decimal_pb.d.ts +22 -0
  589. package/google/type/decimal_pb.js +173 -0
  590. package/google/type/expr_grpc_pb.d.ts +1 -0
  591. package/google/type/expr_grpc_pb.js +1 -0
  592. package/google/type/expr_pb.d.ts +34 -0
  593. package/google/type/expr_pb.js +263 -0
  594. package/google/type/fraction_grpc_pb.d.ts +1 -0
  595. package/google/type/fraction_grpc_pb.js +1 -0
  596. package/google/type/fraction_pb.d.ts +26 -0
  597. package/google/type/fraction_pb.js +203 -0
  598. package/google/type/interval_grpc_pb.d.ts +1 -0
  599. package/google/type/interval_grpc_pb.js +1 -0
  600. package/google/type/interval_pb.d.ts +31 -0
  601. package/google/type/interval_pb.js +247 -0
  602. package/google/type/latlng_grpc_pb.d.ts +1 -0
  603. package/google/type/latlng_grpc_pb.js +1 -0
  604. package/google/type/latlng_pb.d.ts +26 -0
  605. package/google/type/latlng_pb.js +203 -0
  606. package/google/type/localized_text_grpc_pb.d.ts +1 -0
  607. package/google/type/localized_text_grpc_pb.js +1 -0
  608. package/google/type/localized_text_pb.d.ts +26 -0
  609. package/google/type/localized_text_pb.js +203 -0
  610. package/google/type/money_grpc_pb.d.ts +1 -0
  611. package/google/type/money_grpc_pb.js +1 -0
  612. package/google/type/money_pb.d.ts +30 -0
  613. package/google/type/money_pb.js +233 -0
  614. package/google/type/month_grpc_pb.d.ts +1 -0
  615. package/google/type/month_grpc_pb.js +1 -0
  616. package/google/type/month_pb.d.ts +19 -0
  617. package/google/type/month_pb.js +41 -0
  618. package/google/type/phone_number_grpc_pb.d.ts +1 -0
  619. package/google/type/phone_number_grpc_pb.js +1 -0
  620. package/google/type/phone_number_pb.d.ts +63 -0
  621. package/google/type/phone_number_pb.js +481 -0
  622. package/google/type/postal_address_grpc_pb.d.ts +1 -0
  623. package/google/type/postal_address_grpc_pb.js +1 -0
  624. package/google/type/postal_address_pb.d.ts +66 -0
  625. package/google/type/postal_address_pb.js +518 -0
  626. package/google/type/quaternion_grpc_pb.d.ts +1 -0
  627. package/google/type/quaternion_grpc_pb.js +1 -0
  628. package/google/type/quaternion_pb.d.ts +34 -0
  629. package/google/type/quaternion_pb.js +263 -0
  630. package/google/type/timeofday_grpc_pb.d.ts +1 -0
  631. package/google/type/timeofday_grpc_pb.js +1 -0
  632. package/google/type/timeofday_pb.d.ts +34 -0
  633. package/google/type/timeofday_pb.js +263 -0
  634. package/lf/a2a/v1/a2a_grpc_pb.d.ts +73 -0
  635. package/lf/a2a/v1/a2a_grpc_pb.js +345 -0
  636. package/lf/a2a/v1/a2a_grpc_web_pb.d.ts +148 -0
  637. package/lf/a2a/v1/a2a_grpc_web_pb.js +753 -0
  638. package/lf/a2a/v1/a2a_pb.d.ts +1594 -0
  639. package/lf/a2a/v1/a2a_pb.js +12570 -0
  640. package/package.json +8 -0
@@ -0,0 +1,2904 @@
1
+ // source: google/logging/v2/logging.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = globalThis;
17
+
18
+ var google_api_annotations_pb = require('../../../google/api/annotations_pb.js');
19
+ goog.object.extend(proto, google_api_annotations_pb);
20
+ var google_api_client_pb = require('../../../google/api/client_pb.js');
21
+ goog.object.extend(proto, google_api_client_pb);
22
+ var google_api_field_behavior_pb = require('../../../google/api/field_behavior_pb.js');
23
+ goog.object.extend(proto, google_api_field_behavior_pb);
24
+ var google_api_monitored_resource_pb = require('../../../google/api/monitored_resource_pb.js');
25
+ goog.object.extend(proto, google_api_monitored_resource_pb);
26
+ var google_api_resource_pb = require('../../../google/api/resource_pb.js');
27
+ goog.object.extend(proto, google_api_resource_pb);
28
+ var google_logging_v2_log_entry_pb = require('../../../google/logging/v2/log_entry_pb.js');
29
+ goog.object.extend(proto, google_logging_v2_log_entry_pb);
30
+ var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
31
+ goog.object.extend(proto, google_protobuf_duration_pb);
32
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
33
+ goog.object.extend(proto, google_protobuf_empty_pb);
34
+ var google_rpc_status_pb = require('../../../google/rpc/status_pb.js');
35
+ goog.object.extend(proto, google_rpc_status_pb);
36
+ goog.exportSymbol('proto.google.logging.v2.DeleteLogRequest', null, global);
37
+ goog.exportSymbol('proto.google.logging.v2.ListLogEntriesRequest', null, global);
38
+ goog.exportSymbol('proto.google.logging.v2.ListLogEntriesResponse', null, global);
39
+ goog.exportSymbol('proto.google.logging.v2.ListLogsRequest', null, global);
40
+ goog.exportSymbol('proto.google.logging.v2.ListLogsResponse', null, global);
41
+ goog.exportSymbol('proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest', null, global);
42
+ goog.exportSymbol('proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse', null, global);
43
+ goog.exportSymbol('proto.google.logging.v2.TailLogEntriesRequest', null, global);
44
+ goog.exportSymbol('proto.google.logging.v2.TailLogEntriesResponse', null, global);
45
+ goog.exportSymbol('proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo', null, global);
46
+ goog.exportSymbol('proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason', null, global);
47
+ goog.exportSymbol('proto.google.logging.v2.WriteLogEntriesPartialErrors', null, global);
48
+ goog.exportSymbol('proto.google.logging.v2.WriteLogEntriesRequest', null, global);
49
+ goog.exportSymbol('proto.google.logging.v2.WriteLogEntriesResponse', null, global);
50
+ /**
51
+ * Generated by JsPbCodeGenerator.
52
+ * @param {Array=} opt_data Optional initial data array, typically from a
53
+ * server response, or constructed directly in Javascript. The array is used
54
+ * in place and becomes part of the constructed object. It is not cloned.
55
+ * If no data is provided, the constructed object will be empty, but still
56
+ * valid.
57
+ * @extends {jspb.Message}
58
+ * @constructor
59
+ */
60
+ proto.google.logging.v2.DeleteLogRequest = function(opt_data) {
61
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
62
+ };
63
+ goog.inherits(proto.google.logging.v2.DeleteLogRequest, jspb.Message);
64
+ if (goog.DEBUG && !COMPILED) {
65
+ /**
66
+ * @public
67
+ * @override
68
+ */
69
+ proto.google.logging.v2.DeleteLogRequest.displayName = 'proto.google.logging.v2.DeleteLogRequest';
70
+ }
71
+ /**
72
+ * Generated by JsPbCodeGenerator.
73
+ * @param {Array=} opt_data Optional initial data array, typically from a
74
+ * server response, or constructed directly in Javascript. The array is used
75
+ * in place and becomes part of the constructed object. It is not cloned.
76
+ * If no data is provided, the constructed object will be empty, but still
77
+ * valid.
78
+ * @extends {jspb.Message}
79
+ * @constructor
80
+ */
81
+ proto.google.logging.v2.WriteLogEntriesRequest = function(opt_data) {
82
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.logging.v2.WriteLogEntriesRequest.repeatedFields_, null);
83
+ };
84
+ goog.inherits(proto.google.logging.v2.WriteLogEntriesRequest, jspb.Message);
85
+ if (goog.DEBUG && !COMPILED) {
86
+ /**
87
+ * @public
88
+ * @override
89
+ */
90
+ proto.google.logging.v2.WriteLogEntriesRequest.displayName = 'proto.google.logging.v2.WriteLogEntriesRequest';
91
+ }
92
+ /**
93
+ * Generated by JsPbCodeGenerator.
94
+ * @param {Array=} opt_data Optional initial data array, typically from a
95
+ * server response, or constructed directly in Javascript. The array is used
96
+ * in place and becomes part of the constructed object. It is not cloned.
97
+ * If no data is provided, the constructed object will be empty, but still
98
+ * valid.
99
+ * @extends {jspb.Message}
100
+ * @constructor
101
+ */
102
+ proto.google.logging.v2.WriteLogEntriesResponse = function(opt_data) {
103
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
104
+ };
105
+ goog.inherits(proto.google.logging.v2.WriteLogEntriesResponse, jspb.Message);
106
+ if (goog.DEBUG && !COMPILED) {
107
+ /**
108
+ * @public
109
+ * @override
110
+ */
111
+ proto.google.logging.v2.WriteLogEntriesResponse.displayName = 'proto.google.logging.v2.WriteLogEntriesResponse';
112
+ }
113
+ /**
114
+ * Generated by JsPbCodeGenerator.
115
+ * @param {Array=} opt_data Optional initial data array, typically from a
116
+ * server response, or constructed directly in Javascript. The array is used
117
+ * in place and becomes part of the constructed object. It is not cloned.
118
+ * If no data is provided, the constructed object will be empty, but still
119
+ * valid.
120
+ * @extends {jspb.Message}
121
+ * @constructor
122
+ */
123
+ proto.google.logging.v2.WriteLogEntriesPartialErrors = function(opt_data) {
124
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
125
+ };
126
+ goog.inherits(proto.google.logging.v2.WriteLogEntriesPartialErrors, jspb.Message);
127
+ if (goog.DEBUG && !COMPILED) {
128
+ /**
129
+ * @public
130
+ * @override
131
+ */
132
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.displayName = 'proto.google.logging.v2.WriteLogEntriesPartialErrors';
133
+ }
134
+ /**
135
+ * Generated by JsPbCodeGenerator.
136
+ * @param {Array=} opt_data Optional initial data array, typically from a
137
+ * server response, or constructed directly in Javascript. The array is used
138
+ * in place and becomes part of the constructed object. It is not cloned.
139
+ * If no data is provided, the constructed object will be empty, but still
140
+ * valid.
141
+ * @extends {jspb.Message}
142
+ * @constructor
143
+ */
144
+ proto.google.logging.v2.ListLogEntriesRequest = function(opt_data) {
145
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.logging.v2.ListLogEntriesRequest.repeatedFields_, null);
146
+ };
147
+ goog.inherits(proto.google.logging.v2.ListLogEntriesRequest, jspb.Message);
148
+ if (goog.DEBUG && !COMPILED) {
149
+ /**
150
+ * @public
151
+ * @override
152
+ */
153
+ proto.google.logging.v2.ListLogEntriesRequest.displayName = 'proto.google.logging.v2.ListLogEntriesRequest';
154
+ }
155
+ /**
156
+ * Generated by JsPbCodeGenerator.
157
+ * @param {Array=} opt_data Optional initial data array, typically from a
158
+ * server response, or constructed directly in Javascript. The array is used
159
+ * in place and becomes part of the constructed object. It is not cloned.
160
+ * If no data is provided, the constructed object will be empty, but still
161
+ * valid.
162
+ * @extends {jspb.Message}
163
+ * @constructor
164
+ */
165
+ proto.google.logging.v2.ListLogEntriesResponse = function(opt_data) {
166
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.logging.v2.ListLogEntriesResponse.repeatedFields_, null);
167
+ };
168
+ goog.inherits(proto.google.logging.v2.ListLogEntriesResponse, jspb.Message);
169
+ if (goog.DEBUG && !COMPILED) {
170
+ /**
171
+ * @public
172
+ * @override
173
+ */
174
+ proto.google.logging.v2.ListLogEntriesResponse.displayName = 'proto.google.logging.v2.ListLogEntriesResponse';
175
+ }
176
+ /**
177
+ * Generated by JsPbCodeGenerator.
178
+ * @param {Array=} opt_data Optional initial data array, typically from a
179
+ * server response, or constructed directly in Javascript. The array is used
180
+ * in place and becomes part of the constructed object. It is not cloned.
181
+ * If no data is provided, the constructed object will be empty, but still
182
+ * valid.
183
+ * @extends {jspb.Message}
184
+ * @constructor
185
+ */
186
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest = function(opt_data) {
187
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
188
+ };
189
+ goog.inherits(proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest, jspb.Message);
190
+ if (goog.DEBUG && !COMPILED) {
191
+ /**
192
+ * @public
193
+ * @override
194
+ */
195
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.displayName = 'proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest';
196
+ }
197
+ /**
198
+ * Generated by JsPbCodeGenerator.
199
+ * @param {Array=} opt_data Optional initial data array, typically from a
200
+ * server response, or constructed directly in Javascript. The array is used
201
+ * in place and becomes part of the constructed object. It is not cloned.
202
+ * If no data is provided, the constructed object will be empty, but still
203
+ * valid.
204
+ * @extends {jspb.Message}
205
+ * @constructor
206
+ */
207
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse = function(opt_data) {
208
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.repeatedFields_, null);
209
+ };
210
+ goog.inherits(proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse, jspb.Message);
211
+ if (goog.DEBUG && !COMPILED) {
212
+ /**
213
+ * @public
214
+ * @override
215
+ */
216
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.displayName = 'proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse';
217
+ }
218
+ /**
219
+ * Generated by JsPbCodeGenerator.
220
+ * @param {Array=} opt_data Optional initial data array, typically from a
221
+ * server response, or constructed directly in Javascript. The array is used
222
+ * in place and becomes part of the constructed object. It is not cloned.
223
+ * If no data is provided, the constructed object will be empty, but still
224
+ * valid.
225
+ * @extends {jspb.Message}
226
+ * @constructor
227
+ */
228
+ proto.google.logging.v2.ListLogsRequest = function(opt_data) {
229
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.logging.v2.ListLogsRequest.repeatedFields_, null);
230
+ };
231
+ goog.inherits(proto.google.logging.v2.ListLogsRequest, jspb.Message);
232
+ if (goog.DEBUG && !COMPILED) {
233
+ /**
234
+ * @public
235
+ * @override
236
+ */
237
+ proto.google.logging.v2.ListLogsRequest.displayName = 'proto.google.logging.v2.ListLogsRequest';
238
+ }
239
+ /**
240
+ * Generated by JsPbCodeGenerator.
241
+ * @param {Array=} opt_data Optional initial data array, typically from a
242
+ * server response, or constructed directly in Javascript. The array is used
243
+ * in place and becomes part of the constructed object. It is not cloned.
244
+ * If no data is provided, the constructed object will be empty, but still
245
+ * valid.
246
+ * @extends {jspb.Message}
247
+ * @constructor
248
+ */
249
+ proto.google.logging.v2.ListLogsResponse = function(opt_data) {
250
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.logging.v2.ListLogsResponse.repeatedFields_, null);
251
+ };
252
+ goog.inherits(proto.google.logging.v2.ListLogsResponse, jspb.Message);
253
+ if (goog.DEBUG && !COMPILED) {
254
+ /**
255
+ * @public
256
+ * @override
257
+ */
258
+ proto.google.logging.v2.ListLogsResponse.displayName = 'proto.google.logging.v2.ListLogsResponse';
259
+ }
260
+ /**
261
+ * Generated by JsPbCodeGenerator.
262
+ * @param {Array=} opt_data Optional initial data array, typically from a
263
+ * server response, or constructed directly in Javascript. The array is used
264
+ * in place and becomes part of the constructed object. It is not cloned.
265
+ * If no data is provided, the constructed object will be empty, but still
266
+ * valid.
267
+ * @extends {jspb.Message}
268
+ * @constructor
269
+ */
270
+ proto.google.logging.v2.TailLogEntriesRequest = function(opt_data) {
271
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.logging.v2.TailLogEntriesRequest.repeatedFields_, null);
272
+ };
273
+ goog.inherits(proto.google.logging.v2.TailLogEntriesRequest, jspb.Message);
274
+ if (goog.DEBUG && !COMPILED) {
275
+ /**
276
+ * @public
277
+ * @override
278
+ */
279
+ proto.google.logging.v2.TailLogEntriesRequest.displayName = 'proto.google.logging.v2.TailLogEntriesRequest';
280
+ }
281
+ /**
282
+ * Generated by JsPbCodeGenerator.
283
+ * @param {Array=} opt_data Optional initial data array, typically from a
284
+ * server response, or constructed directly in Javascript. The array is used
285
+ * in place and becomes part of the constructed object. It is not cloned.
286
+ * If no data is provided, the constructed object will be empty, but still
287
+ * valid.
288
+ * @extends {jspb.Message}
289
+ * @constructor
290
+ */
291
+ proto.google.logging.v2.TailLogEntriesResponse = function(opt_data) {
292
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.logging.v2.TailLogEntriesResponse.repeatedFields_, null);
293
+ };
294
+ goog.inherits(proto.google.logging.v2.TailLogEntriesResponse, jspb.Message);
295
+ if (goog.DEBUG && !COMPILED) {
296
+ /**
297
+ * @public
298
+ * @override
299
+ */
300
+ proto.google.logging.v2.TailLogEntriesResponse.displayName = 'proto.google.logging.v2.TailLogEntriesResponse';
301
+ }
302
+ /**
303
+ * Generated by JsPbCodeGenerator.
304
+ * @param {Array=} opt_data Optional initial data array, typically from a
305
+ * server response, or constructed directly in Javascript. The array is used
306
+ * in place and becomes part of the constructed object. It is not cloned.
307
+ * If no data is provided, the constructed object will be empty, but still
308
+ * valid.
309
+ * @extends {jspb.Message}
310
+ * @constructor
311
+ */
312
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo = function(opt_data) {
313
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
314
+ };
315
+ goog.inherits(proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, jspb.Message);
316
+ if (goog.DEBUG && !COMPILED) {
317
+ /**
318
+ * @public
319
+ * @override
320
+ */
321
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.displayName = 'proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo';
322
+ }
323
+
324
+
325
+
326
+ if (jspb.Message.GENERATE_TO_OBJECT) {
327
+ /**
328
+ * Creates an object representation of this proto.
329
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
330
+ * Optional fields that are not set will be set to undefined.
331
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
332
+ * For the list of reserved names please see:
333
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
334
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
335
+ * JSPB instance for transitional soy proto support:
336
+ * http://goto/soy-param-migration
337
+ * @return {!Object}
338
+ */
339
+ proto.google.logging.v2.DeleteLogRequest.prototype.toObject = function(opt_includeInstance) {
340
+ return proto.google.logging.v2.DeleteLogRequest.toObject(opt_includeInstance, this);
341
+ };
342
+
343
+
344
+ /**
345
+ * Static version of the {@see toObject} method.
346
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
347
+ * the JSPB instance for transitional soy proto support:
348
+ * http://goto/soy-param-migration
349
+ * @param {!proto.google.logging.v2.DeleteLogRequest} msg The msg instance to transform.
350
+ * @return {!Object}
351
+ * @suppress {unusedLocalVariables} f is only used for nested messages
352
+ */
353
+ proto.google.logging.v2.DeleteLogRequest.toObject = function(includeInstance, msg) {
354
+ var f, obj = {
355
+ logName: jspb.Message.getFieldWithDefault(msg, 1, "")
356
+ };
357
+
358
+ if (includeInstance) {
359
+ obj.$jspbMessageInstance = msg;
360
+ }
361
+ return obj;
362
+ };
363
+ }
364
+
365
+
366
+ /**
367
+ * Deserializes binary data (in protobuf wire format).
368
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
369
+ * @return {!proto.google.logging.v2.DeleteLogRequest}
370
+ */
371
+ proto.google.logging.v2.DeleteLogRequest.deserializeBinary = function(bytes) {
372
+ var reader = new jspb.BinaryReader(bytes);
373
+ var msg = new proto.google.logging.v2.DeleteLogRequest;
374
+ return proto.google.logging.v2.DeleteLogRequest.deserializeBinaryFromReader(msg, reader);
375
+ };
376
+
377
+
378
+ /**
379
+ * Deserializes binary data (in protobuf wire format) from the
380
+ * given reader into the given message object.
381
+ * @param {!proto.google.logging.v2.DeleteLogRequest} msg The message object to deserialize into.
382
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
383
+ * @return {!proto.google.logging.v2.DeleteLogRequest}
384
+ */
385
+ proto.google.logging.v2.DeleteLogRequest.deserializeBinaryFromReader = function(msg, reader) {
386
+ while (reader.nextField()) {
387
+ if (reader.isEndGroup()) {
388
+ break;
389
+ }
390
+ var field = reader.getFieldNumber();
391
+ switch (field) {
392
+ case 1:
393
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
394
+ msg.setLogName(value);
395
+ break;
396
+ default:
397
+ reader.skipField();
398
+ break;
399
+ }
400
+ }
401
+ return msg;
402
+ };
403
+
404
+
405
+ /**
406
+ * Serializes the message to binary data (in protobuf wire format).
407
+ * @return {!Uint8Array}
408
+ */
409
+ proto.google.logging.v2.DeleteLogRequest.prototype.serializeBinary = function() {
410
+ var writer = new jspb.BinaryWriter();
411
+ proto.google.logging.v2.DeleteLogRequest.serializeBinaryToWriter(this, writer);
412
+ return writer.getResultBuffer();
413
+ };
414
+
415
+
416
+ /**
417
+ * Serializes the given message to binary data (in protobuf wire
418
+ * format), writing to the given BinaryWriter.
419
+ * @param {!proto.google.logging.v2.DeleteLogRequest} message
420
+ * @param {!jspb.BinaryWriter} writer
421
+ * @suppress {unusedLocalVariables} f is only used for nested messages
422
+ */
423
+ proto.google.logging.v2.DeleteLogRequest.serializeBinaryToWriter = function(message, writer) {
424
+ var f = undefined;
425
+ f = message.getLogName();
426
+ if (f.length > 0) {
427
+ writer.writeString(
428
+ 1,
429
+ f
430
+ );
431
+ }
432
+ };
433
+
434
+
435
+ /**
436
+ * optional string log_name = 1;
437
+ * @return {string}
438
+ */
439
+ proto.google.logging.v2.DeleteLogRequest.prototype.getLogName = function() {
440
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
441
+ };
442
+
443
+
444
+ /**
445
+ * @param {string} value
446
+ * @return {!proto.google.logging.v2.DeleteLogRequest} returns this
447
+ */
448
+ proto.google.logging.v2.DeleteLogRequest.prototype.setLogName = function(value) {
449
+ return jspb.Message.setProto3StringField(this, 1, value);
450
+ };
451
+
452
+
453
+
454
+ /**
455
+ * List of repeated fields within this message type.
456
+ * @private {!Array<number>}
457
+ * @const
458
+ */
459
+ proto.google.logging.v2.WriteLogEntriesRequest.repeatedFields_ = [4];
460
+
461
+
462
+
463
+ if (jspb.Message.GENERATE_TO_OBJECT) {
464
+ /**
465
+ * Creates an object representation of this proto.
466
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
467
+ * Optional fields that are not set will be set to undefined.
468
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
469
+ * For the list of reserved names please see:
470
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
471
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
472
+ * JSPB instance for transitional soy proto support:
473
+ * http://goto/soy-param-migration
474
+ * @return {!Object}
475
+ */
476
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.toObject = function(opt_includeInstance) {
477
+ return proto.google.logging.v2.WriteLogEntriesRequest.toObject(opt_includeInstance, this);
478
+ };
479
+
480
+
481
+ /**
482
+ * Static version of the {@see toObject} method.
483
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
484
+ * the JSPB instance for transitional soy proto support:
485
+ * http://goto/soy-param-migration
486
+ * @param {!proto.google.logging.v2.WriteLogEntriesRequest} msg The msg instance to transform.
487
+ * @return {!Object}
488
+ * @suppress {unusedLocalVariables} f is only used for nested messages
489
+ */
490
+ proto.google.logging.v2.WriteLogEntriesRequest.toObject = function(includeInstance, msg) {
491
+ var f, obj = {
492
+ logName: jspb.Message.getFieldWithDefault(msg, 1, ""),
493
+ resource: (f = msg.getResource()) && google_api_monitored_resource_pb.MonitoredResource.toObject(includeInstance, f),
494
+ labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
495
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
496
+ google_logging_v2_log_entry_pb.LogEntry.toObject, includeInstance),
497
+ partialSuccess: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
498
+ dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
499
+ };
500
+
501
+ if (includeInstance) {
502
+ obj.$jspbMessageInstance = msg;
503
+ }
504
+ return obj;
505
+ };
506
+ }
507
+
508
+
509
+ /**
510
+ * Deserializes binary data (in protobuf wire format).
511
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
512
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest}
513
+ */
514
+ proto.google.logging.v2.WriteLogEntriesRequest.deserializeBinary = function(bytes) {
515
+ var reader = new jspb.BinaryReader(bytes);
516
+ var msg = new proto.google.logging.v2.WriteLogEntriesRequest;
517
+ return proto.google.logging.v2.WriteLogEntriesRequest.deserializeBinaryFromReader(msg, reader);
518
+ };
519
+
520
+
521
+ /**
522
+ * Deserializes binary data (in protobuf wire format) from the
523
+ * given reader into the given message object.
524
+ * @param {!proto.google.logging.v2.WriteLogEntriesRequest} msg The message object to deserialize into.
525
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
526
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest}
527
+ */
528
+ proto.google.logging.v2.WriteLogEntriesRequest.deserializeBinaryFromReader = function(msg, reader) {
529
+ while (reader.nextField()) {
530
+ if (reader.isEndGroup()) {
531
+ break;
532
+ }
533
+ var field = reader.getFieldNumber();
534
+ switch (field) {
535
+ case 1:
536
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
537
+ msg.setLogName(value);
538
+ break;
539
+ case 2:
540
+ var value = new google_api_monitored_resource_pb.MonitoredResource;
541
+ reader.readMessage(value,google_api_monitored_resource_pb.MonitoredResource.deserializeBinaryFromReader);
542
+ msg.setResource(value);
543
+ break;
544
+ case 3:
545
+ var value = msg.getLabelsMap();
546
+ reader.readMessage(value, function(message, reader) {
547
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readStringRequireUtf8, jspb.BinaryReader.prototype.readStringRequireUtf8, null, "", "");
548
+ });
549
+ break;
550
+ case 4:
551
+ var value = new google_logging_v2_log_entry_pb.LogEntry;
552
+ reader.readMessage(value,google_logging_v2_log_entry_pb.LogEntry.deserializeBinaryFromReader);
553
+ msg.addEntries(value);
554
+ break;
555
+ case 5:
556
+ var value = /** @type {boolean} */ (reader.readBool());
557
+ msg.setPartialSuccess(value);
558
+ break;
559
+ case 6:
560
+ var value = /** @type {boolean} */ (reader.readBool());
561
+ msg.setDryRun(value);
562
+ break;
563
+ default:
564
+ reader.skipField();
565
+ break;
566
+ }
567
+ }
568
+ return msg;
569
+ };
570
+
571
+
572
+ /**
573
+ * Serializes the message to binary data (in protobuf wire format).
574
+ * @return {!Uint8Array}
575
+ */
576
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.serializeBinary = function() {
577
+ var writer = new jspb.BinaryWriter();
578
+ proto.google.logging.v2.WriteLogEntriesRequest.serializeBinaryToWriter(this, writer);
579
+ return writer.getResultBuffer();
580
+ };
581
+
582
+
583
+ /**
584
+ * Serializes the given message to binary data (in protobuf wire
585
+ * format), writing to the given BinaryWriter.
586
+ * @param {!proto.google.logging.v2.WriteLogEntriesRequest} message
587
+ * @param {!jspb.BinaryWriter} writer
588
+ * @suppress {unusedLocalVariables} f is only used for nested messages
589
+ */
590
+ proto.google.logging.v2.WriteLogEntriesRequest.serializeBinaryToWriter = function(message, writer) {
591
+ var f = undefined;
592
+ f = message.getLogName();
593
+ if (f.length > 0) {
594
+ writer.writeString(
595
+ 1,
596
+ f
597
+ );
598
+ }
599
+ f = message.getResource();
600
+ if (f != null) {
601
+ writer.writeMessage(
602
+ 2,
603
+ f,
604
+ google_api_monitored_resource_pb.MonitoredResource.serializeBinaryToWriter
605
+ );
606
+ }
607
+ f = message.getLabelsMap(true);
608
+ if (f && f.getLength() > 0) {
609
+ jspb.internal.public_for_gencode.serializeMapToBinary(
610
+ message.getLabelsMap(true),
611
+ 3,
612
+ writer,
613
+ jspb.BinaryWriter.prototype.writeString,
614
+ jspb.BinaryWriter.prototype.writeString);
615
+ }
616
+ f = message.getEntriesList();
617
+ if (f.length > 0) {
618
+ writer.writeRepeatedMessage(
619
+ 4,
620
+ f,
621
+ google_logging_v2_log_entry_pb.LogEntry.serializeBinaryToWriter
622
+ );
623
+ }
624
+ f = message.getPartialSuccess();
625
+ if (f) {
626
+ writer.writeBool(
627
+ 5,
628
+ f
629
+ );
630
+ }
631
+ f = message.getDryRun();
632
+ if (f) {
633
+ writer.writeBool(
634
+ 6,
635
+ f
636
+ );
637
+ }
638
+ };
639
+
640
+
641
+ /**
642
+ * optional string log_name = 1;
643
+ * @return {string}
644
+ */
645
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.getLogName = function() {
646
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
647
+ };
648
+
649
+
650
+ /**
651
+ * @param {string} value
652
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest} returns this
653
+ */
654
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.setLogName = function(value) {
655
+ return jspb.Message.setProto3StringField(this, 1, value);
656
+ };
657
+
658
+
659
+ /**
660
+ * optional google.api.MonitoredResource resource = 2;
661
+ * @return {?proto.google.api.MonitoredResource}
662
+ */
663
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.getResource = function() {
664
+ return /** @type{?proto.google.api.MonitoredResource} */ (
665
+ jspb.Message.getWrapperField(this, google_api_monitored_resource_pb.MonitoredResource, 2));
666
+ };
667
+
668
+
669
+ /**
670
+ * @param {?proto.google.api.MonitoredResource|undefined} value
671
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest} returns this
672
+ */
673
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.setResource = function(value) {
674
+ return jspb.Message.setWrapperField(this, 2, value);
675
+ };
676
+
677
+
678
+ /**
679
+ * Clears the message field making it undefined.
680
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest} returns this
681
+ */
682
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.clearResource = function() {
683
+ return this.setResource(undefined);
684
+ };
685
+
686
+
687
+ /**
688
+ * Returns whether this field is set.
689
+ * @return {boolean}
690
+ */
691
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.hasResource = function() {
692
+ return jspb.Message.getField(this, 2) != null;
693
+ };
694
+
695
+
696
+ /**
697
+ * map<string, string> labels = 3;
698
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
699
+ * empty, instead returning `undefined`
700
+ * @return {!jspb.Map<string,string>}
701
+ */
702
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.getLabelsMap = function(opt_noLazyCreate) {
703
+ return /** @type {!jspb.Map<string,string>} */ (
704
+ jspb.Message.getMapField(this, 3, opt_noLazyCreate,
705
+ null));
706
+ };
707
+
708
+
709
+ /**
710
+ * Clears values from the map. The map will be non-null.
711
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest} returns this
712
+ */
713
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.clearLabelsMap = function() {
714
+ this.getLabelsMap().clear();
715
+ return this;
716
+ };
717
+
718
+
719
+ /**
720
+ * repeated LogEntry entries = 4;
721
+ * @return {!Array<!proto.google.logging.v2.LogEntry>}
722
+ */
723
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.getEntriesList = function() {
724
+ return /** @type{!Array<!proto.google.logging.v2.LogEntry>} */ (
725
+ jspb.Message.getRepeatedWrapperField(this, google_logging_v2_log_entry_pb.LogEntry, 4));
726
+ };
727
+
728
+
729
+ /**
730
+ * @param {!Array<!proto.google.logging.v2.LogEntry>} value
731
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest} returns this
732
+ */
733
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.setEntriesList = function(value) {
734
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
735
+ };
736
+
737
+
738
+ /**
739
+ * @param {!proto.google.logging.v2.LogEntry=} opt_value
740
+ * @param {number=} opt_index
741
+ * @return {!proto.google.logging.v2.LogEntry}
742
+ */
743
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.addEntries = function(opt_value, opt_index) {
744
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.logging.v2.LogEntry, opt_index);
745
+ };
746
+
747
+
748
+ /**
749
+ * Clears the list making it empty but non-null.
750
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest} returns this
751
+ */
752
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.clearEntriesList = function() {
753
+ return this.setEntriesList([]);
754
+ };
755
+
756
+
757
+ /**
758
+ * optional bool partial_success = 5;
759
+ * @return {boolean}
760
+ */
761
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.getPartialSuccess = function() {
762
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
763
+ };
764
+
765
+
766
+ /**
767
+ * @param {boolean} value
768
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest} returns this
769
+ */
770
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.setPartialSuccess = function(value) {
771
+ return jspb.Message.setProto3BooleanField(this, 5, value);
772
+ };
773
+
774
+
775
+ /**
776
+ * optional bool dry_run = 6;
777
+ * @return {boolean}
778
+ */
779
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.getDryRun = function() {
780
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
781
+ };
782
+
783
+
784
+ /**
785
+ * @param {boolean} value
786
+ * @return {!proto.google.logging.v2.WriteLogEntriesRequest} returns this
787
+ */
788
+ proto.google.logging.v2.WriteLogEntriesRequest.prototype.setDryRun = function(value) {
789
+ return jspb.Message.setProto3BooleanField(this, 6, value);
790
+ };
791
+
792
+
793
+
794
+
795
+
796
+ if (jspb.Message.GENERATE_TO_OBJECT) {
797
+ /**
798
+ * Creates an object representation of this proto.
799
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
800
+ * Optional fields that are not set will be set to undefined.
801
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
802
+ * For the list of reserved names please see:
803
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
804
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
805
+ * JSPB instance for transitional soy proto support:
806
+ * http://goto/soy-param-migration
807
+ * @return {!Object}
808
+ */
809
+ proto.google.logging.v2.WriteLogEntriesResponse.prototype.toObject = function(opt_includeInstance) {
810
+ return proto.google.logging.v2.WriteLogEntriesResponse.toObject(opt_includeInstance, this);
811
+ };
812
+
813
+
814
+ /**
815
+ * Static version of the {@see toObject} method.
816
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
817
+ * the JSPB instance for transitional soy proto support:
818
+ * http://goto/soy-param-migration
819
+ * @param {!proto.google.logging.v2.WriteLogEntriesResponse} msg The msg instance to transform.
820
+ * @return {!Object}
821
+ * @suppress {unusedLocalVariables} f is only used for nested messages
822
+ */
823
+ proto.google.logging.v2.WriteLogEntriesResponse.toObject = function(includeInstance, msg) {
824
+ var f, obj = {
825
+
826
+ };
827
+
828
+ if (includeInstance) {
829
+ obj.$jspbMessageInstance = msg;
830
+ }
831
+ return obj;
832
+ };
833
+ }
834
+
835
+
836
+ /**
837
+ * Deserializes binary data (in protobuf wire format).
838
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
839
+ * @return {!proto.google.logging.v2.WriteLogEntriesResponse}
840
+ */
841
+ proto.google.logging.v2.WriteLogEntriesResponse.deserializeBinary = function(bytes) {
842
+ var reader = new jspb.BinaryReader(bytes);
843
+ var msg = new proto.google.logging.v2.WriteLogEntriesResponse;
844
+ return proto.google.logging.v2.WriteLogEntriesResponse.deserializeBinaryFromReader(msg, reader);
845
+ };
846
+
847
+
848
+ /**
849
+ * Deserializes binary data (in protobuf wire format) from the
850
+ * given reader into the given message object.
851
+ * @param {!proto.google.logging.v2.WriteLogEntriesResponse} msg The message object to deserialize into.
852
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
853
+ * @return {!proto.google.logging.v2.WriteLogEntriesResponse}
854
+ */
855
+ proto.google.logging.v2.WriteLogEntriesResponse.deserializeBinaryFromReader = function(msg, reader) {
856
+ while (reader.nextField()) {
857
+ if (reader.isEndGroup()) {
858
+ break;
859
+ }
860
+ var field = reader.getFieldNumber();
861
+ switch (field) {
862
+ default:
863
+ reader.skipField();
864
+ break;
865
+ }
866
+ }
867
+ return msg;
868
+ };
869
+
870
+
871
+ /**
872
+ * Serializes the message to binary data (in protobuf wire format).
873
+ * @return {!Uint8Array}
874
+ */
875
+ proto.google.logging.v2.WriteLogEntriesResponse.prototype.serializeBinary = function() {
876
+ var writer = new jspb.BinaryWriter();
877
+ proto.google.logging.v2.WriteLogEntriesResponse.serializeBinaryToWriter(this, writer);
878
+ return writer.getResultBuffer();
879
+ };
880
+
881
+
882
+ /**
883
+ * Serializes the given message to binary data (in protobuf wire
884
+ * format), writing to the given BinaryWriter.
885
+ * @param {!proto.google.logging.v2.WriteLogEntriesResponse} message
886
+ * @param {!jspb.BinaryWriter} writer
887
+ * @suppress {unusedLocalVariables} f is only used for nested messages
888
+ */
889
+ proto.google.logging.v2.WriteLogEntriesResponse.serializeBinaryToWriter = function(message, writer) {
890
+ var f = undefined;
891
+ };
892
+
893
+
894
+
895
+
896
+
897
+ if (jspb.Message.GENERATE_TO_OBJECT) {
898
+ /**
899
+ * Creates an object representation of this proto.
900
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
901
+ * Optional fields that are not set will be set to undefined.
902
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
903
+ * For the list of reserved names please see:
904
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
905
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
906
+ * JSPB instance for transitional soy proto support:
907
+ * http://goto/soy-param-migration
908
+ * @return {!Object}
909
+ */
910
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.prototype.toObject = function(opt_includeInstance) {
911
+ return proto.google.logging.v2.WriteLogEntriesPartialErrors.toObject(opt_includeInstance, this);
912
+ };
913
+
914
+
915
+ /**
916
+ * Static version of the {@see toObject} method.
917
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
918
+ * the JSPB instance for transitional soy proto support:
919
+ * http://goto/soy-param-migration
920
+ * @param {!proto.google.logging.v2.WriteLogEntriesPartialErrors} msg The msg instance to transform.
921
+ * @return {!Object}
922
+ * @suppress {unusedLocalVariables} f is only used for nested messages
923
+ */
924
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.toObject = function(includeInstance, msg) {
925
+ var f, obj = {
926
+ logEntryErrorsMap: (f = msg.getLogEntryErrorsMap()) ? f.toObject(includeInstance, proto.google.rpc.Status.toObject) : []
927
+ };
928
+
929
+ if (includeInstance) {
930
+ obj.$jspbMessageInstance = msg;
931
+ }
932
+ return obj;
933
+ };
934
+ }
935
+
936
+
937
+ /**
938
+ * Deserializes binary data (in protobuf wire format).
939
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
940
+ * @return {!proto.google.logging.v2.WriteLogEntriesPartialErrors}
941
+ */
942
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.deserializeBinary = function(bytes) {
943
+ var reader = new jspb.BinaryReader(bytes);
944
+ var msg = new proto.google.logging.v2.WriteLogEntriesPartialErrors;
945
+ return proto.google.logging.v2.WriteLogEntriesPartialErrors.deserializeBinaryFromReader(msg, reader);
946
+ };
947
+
948
+
949
+ /**
950
+ * Deserializes binary data (in protobuf wire format) from the
951
+ * given reader into the given message object.
952
+ * @param {!proto.google.logging.v2.WriteLogEntriesPartialErrors} msg The message object to deserialize into.
953
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
954
+ * @return {!proto.google.logging.v2.WriteLogEntriesPartialErrors}
955
+ */
956
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.deserializeBinaryFromReader = function(msg, reader) {
957
+ while (reader.nextField()) {
958
+ if (reader.isEndGroup()) {
959
+ break;
960
+ }
961
+ var field = reader.getFieldNumber();
962
+ switch (field) {
963
+ case 1:
964
+ var value = msg.getLogEntryErrorsMap();
965
+ reader.readMessage(value, function(message, reader) {
966
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.google.rpc.Status.deserializeBinaryFromReader, 0, new proto.google.rpc.Status());
967
+ });
968
+ break;
969
+ default:
970
+ reader.skipField();
971
+ break;
972
+ }
973
+ }
974
+ return msg;
975
+ };
976
+
977
+
978
+ /**
979
+ * Serializes the message to binary data (in protobuf wire format).
980
+ * @return {!Uint8Array}
981
+ */
982
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.prototype.serializeBinary = function() {
983
+ var writer = new jspb.BinaryWriter();
984
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.serializeBinaryToWriter(this, writer);
985
+ return writer.getResultBuffer();
986
+ };
987
+
988
+
989
+ /**
990
+ * Serializes the given message to binary data (in protobuf wire
991
+ * format), writing to the given BinaryWriter.
992
+ * @param {!proto.google.logging.v2.WriteLogEntriesPartialErrors} message
993
+ * @param {!jspb.BinaryWriter} writer
994
+ * @suppress {unusedLocalVariables} f is only used for nested messages
995
+ */
996
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.serializeBinaryToWriter = function(message, writer) {
997
+ var f = undefined;
998
+ f = message.getLogEntryErrorsMap(true);
999
+ if (f && f.getLength() > 0) {
1000
+ jspb.internal.public_for_gencode.serializeMapToBinary(
1001
+ message.getLogEntryErrorsMap(true),
1002
+ 1,
1003
+ writer,
1004
+ jspb.BinaryWriter.prototype.writeInt32,
1005
+ jspb.BinaryWriter.prototype.writeMessage,
1006
+ proto.google.rpc.Status.serializeBinaryToWriter);
1007
+ }
1008
+ };
1009
+
1010
+
1011
+ /**
1012
+ * map<int32, google.rpc.Status> log_entry_errors = 1;
1013
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
1014
+ * empty, instead returning `undefined`
1015
+ * @return {!jspb.Map<number,!proto.google.rpc.Status>}
1016
+ */
1017
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.prototype.getLogEntryErrorsMap = function(opt_noLazyCreate) {
1018
+ return /** @type {!jspb.Map<number,!proto.google.rpc.Status>} */ (
1019
+ jspb.Message.getMapField(this, 1, opt_noLazyCreate,
1020
+ proto.google.rpc.Status));
1021
+ };
1022
+
1023
+
1024
+ /**
1025
+ * Clears values from the map. The map will be non-null.
1026
+ * @return {!proto.google.logging.v2.WriteLogEntriesPartialErrors} returns this
1027
+ */
1028
+ proto.google.logging.v2.WriteLogEntriesPartialErrors.prototype.clearLogEntryErrorsMap = function() {
1029
+ this.getLogEntryErrorsMap().clear();
1030
+ return this;
1031
+ };
1032
+
1033
+
1034
+
1035
+ /**
1036
+ * List of repeated fields within this message type.
1037
+ * @private {!Array<number>}
1038
+ * @const
1039
+ */
1040
+ proto.google.logging.v2.ListLogEntriesRequest.repeatedFields_ = [8];
1041
+
1042
+
1043
+
1044
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1045
+ /**
1046
+ * Creates an object representation of this proto.
1047
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1048
+ * Optional fields that are not set will be set to undefined.
1049
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1050
+ * For the list of reserved names please see:
1051
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1052
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1053
+ * JSPB instance for transitional soy proto support:
1054
+ * http://goto/soy-param-migration
1055
+ * @return {!Object}
1056
+ */
1057
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.toObject = function(opt_includeInstance) {
1058
+ return proto.google.logging.v2.ListLogEntriesRequest.toObject(opt_includeInstance, this);
1059
+ };
1060
+
1061
+
1062
+ /**
1063
+ * Static version of the {@see toObject} method.
1064
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1065
+ * the JSPB instance for transitional soy proto support:
1066
+ * http://goto/soy-param-migration
1067
+ * @param {!proto.google.logging.v2.ListLogEntriesRequest} msg The msg instance to transform.
1068
+ * @return {!Object}
1069
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1070
+ */
1071
+ proto.google.logging.v2.ListLogEntriesRequest.toObject = function(includeInstance, msg) {
1072
+ var f, obj = {
1073
+ resourceNamesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
1074
+ filter: jspb.Message.getFieldWithDefault(msg, 2, ""),
1075
+ orderBy: jspb.Message.getFieldWithDefault(msg, 3, ""),
1076
+ pageSize: jspb.Message.getFieldWithDefault(msg, 4, 0),
1077
+ pageToken: jspb.Message.getFieldWithDefault(msg, 5, "")
1078
+ };
1079
+
1080
+ if (includeInstance) {
1081
+ obj.$jspbMessageInstance = msg;
1082
+ }
1083
+ return obj;
1084
+ };
1085
+ }
1086
+
1087
+
1088
+ /**
1089
+ * Deserializes binary data (in protobuf wire format).
1090
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1091
+ * @return {!proto.google.logging.v2.ListLogEntriesRequest}
1092
+ */
1093
+ proto.google.logging.v2.ListLogEntriesRequest.deserializeBinary = function(bytes) {
1094
+ var reader = new jspb.BinaryReader(bytes);
1095
+ var msg = new proto.google.logging.v2.ListLogEntriesRequest;
1096
+ return proto.google.logging.v2.ListLogEntriesRequest.deserializeBinaryFromReader(msg, reader);
1097
+ };
1098
+
1099
+
1100
+ /**
1101
+ * Deserializes binary data (in protobuf wire format) from the
1102
+ * given reader into the given message object.
1103
+ * @param {!proto.google.logging.v2.ListLogEntriesRequest} msg The message object to deserialize into.
1104
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1105
+ * @return {!proto.google.logging.v2.ListLogEntriesRequest}
1106
+ */
1107
+ proto.google.logging.v2.ListLogEntriesRequest.deserializeBinaryFromReader = function(msg, reader) {
1108
+ while (reader.nextField()) {
1109
+ if (reader.isEndGroup()) {
1110
+ break;
1111
+ }
1112
+ var field = reader.getFieldNumber();
1113
+ switch (field) {
1114
+ case 8:
1115
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1116
+ msg.addResourceNames(value);
1117
+ break;
1118
+ case 2:
1119
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1120
+ msg.setFilter(value);
1121
+ break;
1122
+ case 3:
1123
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1124
+ msg.setOrderBy(value);
1125
+ break;
1126
+ case 4:
1127
+ var value = /** @type {number} */ (reader.readInt32());
1128
+ msg.setPageSize(value);
1129
+ break;
1130
+ case 5:
1131
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1132
+ msg.setPageToken(value);
1133
+ break;
1134
+ default:
1135
+ reader.skipField();
1136
+ break;
1137
+ }
1138
+ }
1139
+ return msg;
1140
+ };
1141
+
1142
+
1143
+ /**
1144
+ * Serializes the message to binary data (in protobuf wire format).
1145
+ * @return {!Uint8Array}
1146
+ */
1147
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.serializeBinary = function() {
1148
+ var writer = new jspb.BinaryWriter();
1149
+ proto.google.logging.v2.ListLogEntriesRequest.serializeBinaryToWriter(this, writer);
1150
+ return writer.getResultBuffer();
1151
+ };
1152
+
1153
+
1154
+ /**
1155
+ * Serializes the given message to binary data (in protobuf wire
1156
+ * format), writing to the given BinaryWriter.
1157
+ * @param {!proto.google.logging.v2.ListLogEntriesRequest} message
1158
+ * @param {!jspb.BinaryWriter} writer
1159
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1160
+ */
1161
+ proto.google.logging.v2.ListLogEntriesRequest.serializeBinaryToWriter = function(message, writer) {
1162
+ var f = undefined;
1163
+ f = message.getResourceNamesList();
1164
+ if (f.length > 0) {
1165
+ writer.writeRepeatedString(
1166
+ 8,
1167
+ f
1168
+ );
1169
+ }
1170
+ f = message.getFilter();
1171
+ if (f.length > 0) {
1172
+ writer.writeString(
1173
+ 2,
1174
+ f
1175
+ );
1176
+ }
1177
+ f = message.getOrderBy();
1178
+ if (f.length > 0) {
1179
+ writer.writeString(
1180
+ 3,
1181
+ f
1182
+ );
1183
+ }
1184
+ f = message.getPageSize();
1185
+ if (f !== 0) {
1186
+ writer.writeInt32(
1187
+ 4,
1188
+ f
1189
+ );
1190
+ }
1191
+ f = message.getPageToken();
1192
+ if (f.length > 0) {
1193
+ writer.writeString(
1194
+ 5,
1195
+ f
1196
+ );
1197
+ }
1198
+ };
1199
+
1200
+
1201
+ /**
1202
+ * repeated string resource_names = 8;
1203
+ * @return {!Array<string>}
1204
+ */
1205
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.getResourceNamesList = function() {
1206
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
1207
+ };
1208
+
1209
+
1210
+ /**
1211
+ * @param {!Array<string>} value
1212
+ * @return {!proto.google.logging.v2.ListLogEntriesRequest} returns this
1213
+ */
1214
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.setResourceNamesList = function(value) {
1215
+ return jspb.Message.setField(this, 8, value || []);
1216
+ };
1217
+
1218
+
1219
+ /**
1220
+ * @param {string} value
1221
+ * @param {number=} opt_index
1222
+ * @return {!proto.google.logging.v2.ListLogEntriesRequest} returns this
1223
+ */
1224
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.addResourceNames = function(value, opt_index) {
1225
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
1226
+ };
1227
+
1228
+
1229
+ /**
1230
+ * Clears the list making it empty but non-null.
1231
+ * @return {!proto.google.logging.v2.ListLogEntriesRequest} returns this
1232
+ */
1233
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.clearResourceNamesList = function() {
1234
+ return this.setResourceNamesList([]);
1235
+ };
1236
+
1237
+
1238
+ /**
1239
+ * optional string filter = 2;
1240
+ * @return {string}
1241
+ */
1242
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.getFilter = function() {
1243
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1244
+ };
1245
+
1246
+
1247
+ /**
1248
+ * @param {string} value
1249
+ * @return {!proto.google.logging.v2.ListLogEntriesRequest} returns this
1250
+ */
1251
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.setFilter = function(value) {
1252
+ return jspb.Message.setProto3StringField(this, 2, value);
1253
+ };
1254
+
1255
+
1256
+ /**
1257
+ * optional string order_by = 3;
1258
+ * @return {string}
1259
+ */
1260
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.getOrderBy = function() {
1261
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1262
+ };
1263
+
1264
+
1265
+ /**
1266
+ * @param {string} value
1267
+ * @return {!proto.google.logging.v2.ListLogEntriesRequest} returns this
1268
+ */
1269
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.setOrderBy = function(value) {
1270
+ return jspb.Message.setProto3StringField(this, 3, value);
1271
+ };
1272
+
1273
+
1274
+ /**
1275
+ * optional int32 page_size = 4;
1276
+ * @return {number}
1277
+ */
1278
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.getPageSize = function() {
1279
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1280
+ };
1281
+
1282
+
1283
+ /**
1284
+ * @param {number} value
1285
+ * @return {!proto.google.logging.v2.ListLogEntriesRequest} returns this
1286
+ */
1287
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.setPageSize = function(value) {
1288
+ return jspb.Message.setProto3IntField(this, 4, value);
1289
+ };
1290
+
1291
+
1292
+ /**
1293
+ * optional string page_token = 5;
1294
+ * @return {string}
1295
+ */
1296
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.getPageToken = function() {
1297
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1298
+ };
1299
+
1300
+
1301
+ /**
1302
+ * @param {string} value
1303
+ * @return {!proto.google.logging.v2.ListLogEntriesRequest} returns this
1304
+ */
1305
+ proto.google.logging.v2.ListLogEntriesRequest.prototype.setPageToken = function(value) {
1306
+ return jspb.Message.setProto3StringField(this, 5, value);
1307
+ };
1308
+
1309
+
1310
+
1311
+ /**
1312
+ * List of repeated fields within this message type.
1313
+ * @private {!Array<number>}
1314
+ * @const
1315
+ */
1316
+ proto.google.logging.v2.ListLogEntriesResponse.repeatedFields_ = [1];
1317
+
1318
+
1319
+
1320
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1321
+ /**
1322
+ * Creates an object representation of this proto.
1323
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1324
+ * Optional fields that are not set will be set to undefined.
1325
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1326
+ * For the list of reserved names please see:
1327
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1328
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1329
+ * JSPB instance for transitional soy proto support:
1330
+ * http://goto/soy-param-migration
1331
+ * @return {!Object}
1332
+ */
1333
+ proto.google.logging.v2.ListLogEntriesResponse.prototype.toObject = function(opt_includeInstance) {
1334
+ return proto.google.logging.v2.ListLogEntriesResponse.toObject(opt_includeInstance, this);
1335
+ };
1336
+
1337
+
1338
+ /**
1339
+ * Static version of the {@see toObject} method.
1340
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1341
+ * the JSPB instance for transitional soy proto support:
1342
+ * http://goto/soy-param-migration
1343
+ * @param {!proto.google.logging.v2.ListLogEntriesResponse} msg The msg instance to transform.
1344
+ * @return {!Object}
1345
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1346
+ */
1347
+ proto.google.logging.v2.ListLogEntriesResponse.toObject = function(includeInstance, msg) {
1348
+ var f, obj = {
1349
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
1350
+ google_logging_v2_log_entry_pb.LogEntry.toObject, includeInstance),
1351
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1352
+ };
1353
+
1354
+ if (includeInstance) {
1355
+ obj.$jspbMessageInstance = msg;
1356
+ }
1357
+ return obj;
1358
+ };
1359
+ }
1360
+
1361
+
1362
+ /**
1363
+ * Deserializes binary data (in protobuf wire format).
1364
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1365
+ * @return {!proto.google.logging.v2.ListLogEntriesResponse}
1366
+ */
1367
+ proto.google.logging.v2.ListLogEntriesResponse.deserializeBinary = function(bytes) {
1368
+ var reader = new jspb.BinaryReader(bytes);
1369
+ var msg = new proto.google.logging.v2.ListLogEntriesResponse;
1370
+ return proto.google.logging.v2.ListLogEntriesResponse.deserializeBinaryFromReader(msg, reader);
1371
+ };
1372
+
1373
+
1374
+ /**
1375
+ * Deserializes binary data (in protobuf wire format) from the
1376
+ * given reader into the given message object.
1377
+ * @param {!proto.google.logging.v2.ListLogEntriesResponse} msg The message object to deserialize into.
1378
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1379
+ * @return {!proto.google.logging.v2.ListLogEntriesResponse}
1380
+ */
1381
+ proto.google.logging.v2.ListLogEntriesResponse.deserializeBinaryFromReader = function(msg, reader) {
1382
+ while (reader.nextField()) {
1383
+ if (reader.isEndGroup()) {
1384
+ break;
1385
+ }
1386
+ var field = reader.getFieldNumber();
1387
+ switch (field) {
1388
+ case 1:
1389
+ var value = new google_logging_v2_log_entry_pb.LogEntry;
1390
+ reader.readMessage(value,google_logging_v2_log_entry_pb.LogEntry.deserializeBinaryFromReader);
1391
+ msg.addEntries(value);
1392
+ break;
1393
+ case 2:
1394
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1395
+ msg.setNextPageToken(value);
1396
+ break;
1397
+ default:
1398
+ reader.skipField();
1399
+ break;
1400
+ }
1401
+ }
1402
+ return msg;
1403
+ };
1404
+
1405
+
1406
+ /**
1407
+ * Serializes the message to binary data (in protobuf wire format).
1408
+ * @return {!Uint8Array}
1409
+ */
1410
+ proto.google.logging.v2.ListLogEntriesResponse.prototype.serializeBinary = function() {
1411
+ var writer = new jspb.BinaryWriter();
1412
+ proto.google.logging.v2.ListLogEntriesResponse.serializeBinaryToWriter(this, writer);
1413
+ return writer.getResultBuffer();
1414
+ };
1415
+
1416
+
1417
+ /**
1418
+ * Serializes the given message to binary data (in protobuf wire
1419
+ * format), writing to the given BinaryWriter.
1420
+ * @param {!proto.google.logging.v2.ListLogEntriesResponse} message
1421
+ * @param {!jspb.BinaryWriter} writer
1422
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1423
+ */
1424
+ proto.google.logging.v2.ListLogEntriesResponse.serializeBinaryToWriter = function(message, writer) {
1425
+ var f = undefined;
1426
+ f = message.getEntriesList();
1427
+ if (f.length > 0) {
1428
+ writer.writeRepeatedMessage(
1429
+ 1,
1430
+ f,
1431
+ google_logging_v2_log_entry_pb.LogEntry.serializeBinaryToWriter
1432
+ );
1433
+ }
1434
+ f = message.getNextPageToken();
1435
+ if (f.length > 0) {
1436
+ writer.writeString(
1437
+ 2,
1438
+ f
1439
+ );
1440
+ }
1441
+ };
1442
+
1443
+
1444
+ /**
1445
+ * repeated LogEntry entries = 1;
1446
+ * @return {!Array<!proto.google.logging.v2.LogEntry>}
1447
+ */
1448
+ proto.google.logging.v2.ListLogEntriesResponse.prototype.getEntriesList = function() {
1449
+ return /** @type{!Array<!proto.google.logging.v2.LogEntry>} */ (
1450
+ jspb.Message.getRepeatedWrapperField(this, google_logging_v2_log_entry_pb.LogEntry, 1));
1451
+ };
1452
+
1453
+
1454
+ /**
1455
+ * @param {!Array<!proto.google.logging.v2.LogEntry>} value
1456
+ * @return {!proto.google.logging.v2.ListLogEntriesResponse} returns this
1457
+ */
1458
+ proto.google.logging.v2.ListLogEntriesResponse.prototype.setEntriesList = function(value) {
1459
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1460
+ };
1461
+
1462
+
1463
+ /**
1464
+ * @param {!proto.google.logging.v2.LogEntry=} opt_value
1465
+ * @param {number=} opt_index
1466
+ * @return {!proto.google.logging.v2.LogEntry}
1467
+ */
1468
+ proto.google.logging.v2.ListLogEntriesResponse.prototype.addEntries = function(opt_value, opt_index) {
1469
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.logging.v2.LogEntry, opt_index);
1470
+ };
1471
+
1472
+
1473
+ /**
1474
+ * Clears the list making it empty but non-null.
1475
+ * @return {!proto.google.logging.v2.ListLogEntriesResponse} returns this
1476
+ */
1477
+ proto.google.logging.v2.ListLogEntriesResponse.prototype.clearEntriesList = function() {
1478
+ return this.setEntriesList([]);
1479
+ };
1480
+
1481
+
1482
+ /**
1483
+ * optional string next_page_token = 2;
1484
+ * @return {string}
1485
+ */
1486
+ proto.google.logging.v2.ListLogEntriesResponse.prototype.getNextPageToken = function() {
1487
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1488
+ };
1489
+
1490
+
1491
+ /**
1492
+ * @param {string} value
1493
+ * @return {!proto.google.logging.v2.ListLogEntriesResponse} returns this
1494
+ */
1495
+ proto.google.logging.v2.ListLogEntriesResponse.prototype.setNextPageToken = function(value) {
1496
+ return jspb.Message.setProto3StringField(this, 2, value);
1497
+ };
1498
+
1499
+
1500
+
1501
+
1502
+
1503
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1504
+ /**
1505
+ * Creates an object representation of this proto.
1506
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1507
+ * Optional fields that are not set will be set to undefined.
1508
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1509
+ * For the list of reserved names please see:
1510
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1511
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1512
+ * JSPB instance for transitional soy proto support:
1513
+ * http://goto/soy-param-migration
1514
+ * @return {!Object}
1515
+ */
1516
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.prototype.toObject = function(opt_includeInstance) {
1517
+ return proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.toObject(opt_includeInstance, this);
1518
+ };
1519
+
1520
+
1521
+ /**
1522
+ * Static version of the {@see toObject} method.
1523
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1524
+ * the JSPB instance for transitional soy proto support:
1525
+ * http://goto/soy-param-migration
1526
+ * @param {!proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest} msg The msg instance to transform.
1527
+ * @return {!Object}
1528
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1529
+ */
1530
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.toObject = function(includeInstance, msg) {
1531
+ var f, obj = {
1532
+ pageSize: jspb.Message.getFieldWithDefault(msg, 1, 0),
1533
+ pageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1534
+ };
1535
+
1536
+ if (includeInstance) {
1537
+ obj.$jspbMessageInstance = msg;
1538
+ }
1539
+ return obj;
1540
+ };
1541
+ }
1542
+
1543
+
1544
+ /**
1545
+ * Deserializes binary data (in protobuf wire format).
1546
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1547
+ * @return {!proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest}
1548
+ */
1549
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.deserializeBinary = function(bytes) {
1550
+ var reader = new jspb.BinaryReader(bytes);
1551
+ var msg = new proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest;
1552
+ return proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.deserializeBinaryFromReader(msg, reader);
1553
+ };
1554
+
1555
+
1556
+ /**
1557
+ * Deserializes binary data (in protobuf wire format) from the
1558
+ * given reader into the given message object.
1559
+ * @param {!proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest} msg The message object to deserialize into.
1560
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1561
+ * @return {!proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest}
1562
+ */
1563
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.deserializeBinaryFromReader = function(msg, reader) {
1564
+ while (reader.nextField()) {
1565
+ if (reader.isEndGroup()) {
1566
+ break;
1567
+ }
1568
+ var field = reader.getFieldNumber();
1569
+ switch (field) {
1570
+ case 1:
1571
+ var value = /** @type {number} */ (reader.readInt32());
1572
+ msg.setPageSize(value);
1573
+ break;
1574
+ case 2:
1575
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1576
+ msg.setPageToken(value);
1577
+ break;
1578
+ default:
1579
+ reader.skipField();
1580
+ break;
1581
+ }
1582
+ }
1583
+ return msg;
1584
+ };
1585
+
1586
+
1587
+ /**
1588
+ * Serializes the message to binary data (in protobuf wire format).
1589
+ * @return {!Uint8Array}
1590
+ */
1591
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.prototype.serializeBinary = function() {
1592
+ var writer = new jspb.BinaryWriter();
1593
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.serializeBinaryToWriter(this, writer);
1594
+ return writer.getResultBuffer();
1595
+ };
1596
+
1597
+
1598
+ /**
1599
+ * Serializes the given message to binary data (in protobuf wire
1600
+ * format), writing to the given BinaryWriter.
1601
+ * @param {!proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest} message
1602
+ * @param {!jspb.BinaryWriter} writer
1603
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1604
+ */
1605
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.serializeBinaryToWriter = function(message, writer) {
1606
+ var f = undefined;
1607
+ f = message.getPageSize();
1608
+ if (f !== 0) {
1609
+ writer.writeInt32(
1610
+ 1,
1611
+ f
1612
+ );
1613
+ }
1614
+ f = message.getPageToken();
1615
+ if (f.length > 0) {
1616
+ writer.writeString(
1617
+ 2,
1618
+ f
1619
+ );
1620
+ }
1621
+ };
1622
+
1623
+
1624
+ /**
1625
+ * optional int32 page_size = 1;
1626
+ * @return {number}
1627
+ */
1628
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.prototype.getPageSize = function() {
1629
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1630
+ };
1631
+
1632
+
1633
+ /**
1634
+ * @param {number} value
1635
+ * @return {!proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest} returns this
1636
+ */
1637
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.prototype.setPageSize = function(value) {
1638
+ return jspb.Message.setProto3IntField(this, 1, value);
1639
+ };
1640
+
1641
+
1642
+ /**
1643
+ * optional string page_token = 2;
1644
+ * @return {string}
1645
+ */
1646
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.prototype.getPageToken = function() {
1647
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1648
+ };
1649
+
1650
+
1651
+ /**
1652
+ * @param {string} value
1653
+ * @return {!proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest} returns this
1654
+ */
1655
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsRequest.prototype.setPageToken = function(value) {
1656
+ return jspb.Message.setProto3StringField(this, 2, value);
1657
+ };
1658
+
1659
+
1660
+
1661
+ /**
1662
+ * List of repeated fields within this message type.
1663
+ * @private {!Array<number>}
1664
+ * @const
1665
+ */
1666
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.repeatedFields_ = [1];
1667
+
1668
+
1669
+
1670
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1671
+ /**
1672
+ * Creates an object representation of this proto.
1673
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1674
+ * Optional fields that are not set will be set to undefined.
1675
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1676
+ * For the list of reserved names please see:
1677
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1678
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1679
+ * JSPB instance for transitional soy proto support:
1680
+ * http://goto/soy-param-migration
1681
+ * @return {!Object}
1682
+ */
1683
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.prototype.toObject = function(opt_includeInstance) {
1684
+ return proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.toObject(opt_includeInstance, this);
1685
+ };
1686
+
1687
+
1688
+ /**
1689
+ * Static version of the {@see toObject} method.
1690
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1691
+ * the JSPB instance for transitional soy proto support:
1692
+ * http://goto/soy-param-migration
1693
+ * @param {!proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse} msg The msg instance to transform.
1694
+ * @return {!Object}
1695
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1696
+ */
1697
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.toObject = function(includeInstance, msg) {
1698
+ var f, obj = {
1699
+ resourceDescriptorsList: jspb.Message.toObjectList(msg.getResourceDescriptorsList(),
1700
+ google_api_monitored_resource_pb.MonitoredResourceDescriptor.toObject, includeInstance),
1701
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1702
+ };
1703
+
1704
+ if (includeInstance) {
1705
+ obj.$jspbMessageInstance = msg;
1706
+ }
1707
+ return obj;
1708
+ };
1709
+ }
1710
+
1711
+
1712
+ /**
1713
+ * Deserializes binary data (in protobuf wire format).
1714
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1715
+ * @return {!proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse}
1716
+ */
1717
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.deserializeBinary = function(bytes) {
1718
+ var reader = new jspb.BinaryReader(bytes);
1719
+ var msg = new proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse;
1720
+ return proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.deserializeBinaryFromReader(msg, reader);
1721
+ };
1722
+
1723
+
1724
+ /**
1725
+ * Deserializes binary data (in protobuf wire format) from the
1726
+ * given reader into the given message object.
1727
+ * @param {!proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse} msg The message object to deserialize into.
1728
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1729
+ * @return {!proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse}
1730
+ */
1731
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.deserializeBinaryFromReader = function(msg, reader) {
1732
+ while (reader.nextField()) {
1733
+ if (reader.isEndGroup()) {
1734
+ break;
1735
+ }
1736
+ var field = reader.getFieldNumber();
1737
+ switch (field) {
1738
+ case 1:
1739
+ var value = new google_api_monitored_resource_pb.MonitoredResourceDescriptor;
1740
+ reader.readMessage(value,google_api_monitored_resource_pb.MonitoredResourceDescriptor.deserializeBinaryFromReader);
1741
+ msg.addResourceDescriptors(value);
1742
+ break;
1743
+ case 2:
1744
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1745
+ msg.setNextPageToken(value);
1746
+ break;
1747
+ default:
1748
+ reader.skipField();
1749
+ break;
1750
+ }
1751
+ }
1752
+ return msg;
1753
+ };
1754
+
1755
+
1756
+ /**
1757
+ * Serializes the message to binary data (in protobuf wire format).
1758
+ * @return {!Uint8Array}
1759
+ */
1760
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.prototype.serializeBinary = function() {
1761
+ var writer = new jspb.BinaryWriter();
1762
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.serializeBinaryToWriter(this, writer);
1763
+ return writer.getResultBuffer();
1764
+ };
1765
+
1766
+
1767
+ /**
1768
+ * Serializes the given message to binary data (in protobuf wire
1769
+ * format), writing to the given BinaryWriter.
1770
+ * @param {!proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse} message
1771
+ * @param {!jspb.BinaryWriter} writer
1772
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1773
+ */
1774
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.serializeBinaryToWriter = function(message, writer) {
1775
+ var f = undefined;
1776
+ f = message.getResourceDescriptorsList();
1777
+ if (f.length > 0) {
1778
+ writer.writeRepeatedMessage(
1779
+ 1,
1780
+ f,
1781
+ google_api_monitored_resource_pb.MonitoredResourceDescriptor.serializeBinaryToWriter
1782
+ );
1783
+ }
1784
+ f = message.getNextPageToken();
1785
+ if (f.length > 0) {
1786
+ writer.writeString(
1787
+ 2,
1788
+ f
1789
+ );
1790
+ }
1791
+ };
1792
+
1793
+
1794
+ /**
1795
+ * repeated google.api.MonitoredResourceDescriptor resource_descriptors = 1;
1796
+ * @return {!Array<!proto.google.api.MonitoredResourceDescriptor>}
1797
+ */
1798
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.prototype.getResourceDescriptorsList = function() {
1799
+ return /** @type{!Array<!proto.google.api.MonitoredResourceDescriptor>} */ (
1800
+ jspb.Message.getRepeatedWrapperField(this, google_api_monitored_resource_pb.MonitoredResourceDescriptor, 1));
1801
+ };
1802
+
1803
+
1804
+ /**
1805
+ * @param {!Array<!proto.google.api.MonitoredResourceDescriptor>} value
1806
+ * @return {!proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse} returns this
1807
+ */
1808
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.prototype.setResourceDescriptorsList = function(value) {
1809
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1810
+ };
1811
+
1812
+
1813
+ /**
1814
+ * @param {!proto.google.api.MonitoredResourceDescriptor=} opt_value
1815
+ * @param {number=} opt_index
1816
+ * @return {!proto.google.api.MonitoredResourceDescriptor}
1817
+ */
1818
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.prototype.addResourceDescriptors = function(opt_value, opt_index) {
1819
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.MonitoredResourceDescriptor, opt_index);
1820
+ };
1821
+
1822
+
1823
+ /**
1824
+ * Clears the list making it empty but non-null.
1825
+ * @return {!proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse} returns this
1826
+ */
1827
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.prototype.clearResourceDescriptorsList = function() {
1828
+ return this.setResourceDescriptorsList([]);
1829
+ };
1830
+
1831
+
1832
+ /**
1833
+ * optional string next_page_token = 2;
1834
+ * @return {string}
1835
+ */
1836
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.prototype.getNextPageToken = function() {
1837
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1838
+ };
1839
+
1840
+
1841
+ /**
1842
+ * @param {string} value
1843
+ * @return {!proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse} returns this
1844
+ */
1845
+ proto.google.logging.v2.ListMonitoredResourceDescriptorsResponse.prototype.setNextPageToken = function(value) {
1846
+ return jspb.Message.setProto3StringField(this, 2, value);
1847
+ };
1848
+
1849
+
1850
+
1851
+ /**
1852
+ * List of repeated fields within this message type.
1853
+ * @private {!Array<number>}
1854
+ * @const
1855
+ */
1856
+ proto.google.logging.v2.ListLogsRequest.repeatedFields_ = [8];
1857
+
1858
+
1859
+
1860
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1861
+ /**
1862
+ * Creates an object representation of this proto.
1863
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1864
+ * Optional fields that are not set will be set to undefined.
1865
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1866
+ * For the list of reserved names please see:
1867
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1868
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1869
+ * JSPB instance for transitional soy proto support:
1870
+ * http://goto/soy-param-migration
1871
+ * @return {!Object}
1872
+ */
1873
+ proto.google.logging.v2.ListLogsRequest.prototype.toObject = function(opt_includeInstance) {
1874
+ return proto.google.logging.v2.ListLogsRequest.toObject(opt_includeInstance, this);
1875
+ };
1876
+
1877
+
1878
+ /**
1879
+ * Static version of the {@see toObject} method.
1880
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1881
+ * the JSPB instance for transitional soy proto support:
1882
+ * http://goto/soy-param-migration
1883
+ * @param {!proto.google.logging.v2.ListLogsRequest} msg The msg instance to transform.
1884
+ * @return {!Object}
1885
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1886
+ */
1887
+ proto.google.logging.v2.ListLogsRequest.toObject = function(includeInstance, msg) {
1888
+ var f, obj = {
1889
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1890
+ pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
1891
+ pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
1892
+ resourceNamesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
1893
+ };
1894
+
1895
+ if (includeInstance) {
1896
+ obj.$jspbMessageInstance = msg;
1897
+ }
1898
+ return obj;
1899
+ };
1900
+ }
1901
+
1902
+
1903
+ /**
1904
+ * Deserializes binary data (in protobuf wire format).
1905
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1906
+ * @return {!proto.google.logging.v2.ListLogsRequest}
1907
+ */
1908
+ proto.google.logging.v2.ListLogsRequest.deserializeBinary = function(bytes) {
1909
+ var reader = new jspb.BinaryReader(bytes);
1910
+ var msg = new proto.google.logging.v2.ListLogsRequest;
1911
+ return proto.google.logging.v2.ListLogsRequest.deserializeBinaryFromReader(msg, reader);
1912
+ };
1913
+
1914
+
1915
+ /**
1916
+ * Deserializes binary data (in protobuf wire format) from the
1917
+ * given reader into the given message object.
1918
+ * @param {!proto.google.logging.v2.ListLogsRequest} msg The message object to deserialize into.
1919
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1920
+ * @return {!proto.google.logging.v2.ListLogsRequest}
1921
+ */
1922
+ proto.google.logging.v2.ListLogsRequest.deserializeBinaryFromReader = function(msg, reader) {
1923
+ while (reader.nextField()) {
1924
+ if (reader.isEndGroup()) {
1925
+ break;
1926
+ }
1927
+ var field = reader.getFieldNumber();
1928
+ switch (field) {
1929
+ case 1:
1930
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1931
+ msg.setParent(value);
1932
+ break;
1933
+ case 2:
1934
+ var value = /** @type {number} */ (reader.readInt32());
1935
+ msg.setPageSize(value);
1936
+ break;
1937
+ case 3:
1938
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1939
+ msg.setPageToken(value);
1940
+ break;
1941
+ case 8:
1942
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1943
+ msg.addResourceNames(value);
1944
+ break;
1945
+ default:
1946
+ reader.skipField();
1947
+ break;
1948
+ }
1949
+ }
1950
+ return msg;
1951
+ };
1952
+
1953
+
1954
+ /**
1955
+ * Serializes the message to binary data (in protobuf wire format).
1956
+ * @return {!Uint8Array}
1957
+ */
1958
+ proto.google.logging.v2.ListLogsRequest.prototype.serializeBinary = function() {
1959
+ var writer = new jspb.BinaryWriter();
1960
+ proto.google.logging.v2.ListLogsRequest.serializeBinaryToWriter(this, writer);
1961
+ return writer.getResultBuffer();
1962
+ };
1963
+
1964
+
1965
+ /**
1966
+ * Serializes the given message to binary data (in protobuf wire
1967
+ * format), writing to the given BinaryWriter.
1968
+ * @param {!proto.google.logging.v2.ListLogsRequest} message
1969
+ * @param {!jspb.BinaryWriter} writer
1970
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1971
+ */
1972
+ proto.google.logging.v2.ListLogsRequest.serializeBinaryToWriter = function(message, writer) {
1973
+ var f = undefined;
1974
+ f = message.getParent();
1975
+ if (f.length > 0) {
1976
+ writer.writeString(
1977
+ 1,
1978
+ f
1979
+ );
1980
+ }
1981
+ f = message.getPageSize();
1982
+ if (f !== 0) {
1983
+ writer.writeInt32(
1984
+ 2,
1985
+ f
1986
+ );
1987
+ }
1988
+ f = message.getPageToken();
1989
+ if (f.length > 0) {
1990
+ writer.writeString(
1991
+ 3,
1992
+ f
1993
+ );
1994
+ }
1995
+ f = message.getResourceNamesList();
1996
+ if (f.length > 0) {
1997
+ writer.writeRepeatedString(
1998
+ 8,
1999
+ f
2000
+ );
2001
+ }
2002
+ };
2003
+
2004
+
2005
+ /**
2006
+ * optional string parent = 1;
2007
+ * @return {string}
2008
+ */
2009
+ proto.google.logging.v2.ListLogsRequest.prototype.getParent = function() {
2010
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2011
+ };
2012
+
2013
+
2014
+ /**
2015
+ * @param {string} value
2016
+ * @return {!proto.google.logging.v2.ListLogsRequest} returns this
2017
+ */
2018
+ proto.google.logging.v2.ListLogsRequest.prototype.setParent = function(value) {
2019
+ return jspb.Message.setProto3StringField(this, 1, value);
2020
+ };
2021
+
2022
+
2023
+ /**
2024
+ * optional int32 page_size = 2;
2025
+ * @return {number}
2026
+ */
2027
+ proto.google.logging.v2.ListLogsRequest.prototype.getPageSize = function() {
2028
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2029
+ };
2030
+
2031
+
2032
+ /**
2033
+ * @param {number} value
2034
+ * @return {!proto.google.logging.v2.ListLogsRequest} returns this
2035
+ */
2036
+ proto.google.logging.v2.ListLogsRequest.prototype.setPageSize = function(value) {
2037
+ return jspb.Message.setProto3IntField(this, 2, value);
2038
+ };
2039
+
2040
+
2041
+ /**
2042
+ * optional string page_token = 3;
2043
+ * @return {string}
2044
+ */
2045
+ proto.google.logging.v2.ListLogsRequest.prototype.getPageToken = function() {
2046
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2047
+ };
2048
+
2049
+
2050
+ /**
2051
+ * @param {string} value
2052
+ * @return {!proto.google.logging.v2.ListLogsRequest} returns this
2053
+ */
2054
+ proto.google.logging.v2.ListLogsRequest.prototype.setPageToken = function(value) {
2055
+ return jspb.Message.setProto3StringField(this, 3, value);
2056
+ };
2057
+
2058
+
2059
+ /**
2060
+ * repeated string resource_names = 8;
2061
+ * @return {!Array<string>}
2062
+ */
2063
+ proto.google.logging.v2.ListLogsRequest.prototype.getResourceNamesList = function() {
2064
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
2065
+ };
2066
+
2067
+
2068
+ /**
2069
+ * @param {!Array<string>} value
2070
+ * @return {!proto.google.logging.v2.ListLogsRequest} returns this
2071
+ */
2072
+ proto.google.logging.v2.ListLogsRequest.prototype.setResourceNamesList = function(value) {
2073
+ return jspb.Message.setField(this, 8, value || []);
2074
+ };
2075
+
2076
+
2077
+ /**
2078
+ * @param {string} value
2079
+ * @param {number=} opt_index
2080
+ * @return {!proto.google.logging.v2.ListLogsRequest} returns this
2081
+ */
2082
+ proto.google.logging.v2.ListLogsRequest.prototype.addResourceNames = function(value, opt_index) {
2083
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
2084
+ };
2085
+
2086
+
2087
+ /**
2088
+ * Clears the list making it empty but non-null.
2089
+ * @return {!proto.google.logging.v2.ListLogsRequest} returns this
2090
+ */
2091
+ proto.google.logging.v2.ListLogsRequest.prototype.clearResourceNamesList = function() {
2092
+ return this.setResourceNamesList([]);
2093
+ };
2094
+
2095
+
2096
+
2097
+ /**
2098
+ * List of repeated fields within this message type.
2099
+ * @private {!Array<number>}
2100
+ * @const
2101
+ */
2102
+ proto.google.logging.v2.ListLogsResponse.repeatedFields_ = [3];
2103
+
2104
+
2105
+
2106
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2107
+ /**
2108
+ * Creates an object representation of this proto.
2109
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2110
+ * Optional fields that are not set will be set to undefined.
2111
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2112
+ * For the list of reserved names please see:
2113
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2114
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2115
+ * JSPB instance for transitional soy proto support:
2116
+ * http://goto/soy-param-migration
2117
+ * @return {!Object}
2118
+ */
2119
+ proto.google.logging.v2.ListLogsResponse.prototype.toObject = function(opt_includeInstance) {
2120
+ return proto.google.logging.v2.ListLogsResponse.toObject(opt_includeInstance, this);
2121
+ };
2122
+
2123
+
2124
+ /**
2125
+ * Static version of the {@see toObject} method.
2126
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2127
+ * the JSPB instance for transitional soy proto support:
2128
+ * http://goto/soy-param-migration
2129
+ * @param {!proto.google.logging.v2.ListLogsResponse} msg The msg instance to transform.
2130
+ * @return {!Object}
2131
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2132
+ */
2133
+ proto.google.logging.v2.ListLogsResponse.toObject = function(includeInstance, msg) {
2134
+ var f, obj = {
2135
+ logNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2136
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
2137
+ };
2138
+
2139
+ if (includeInstance) {
2140
+ obj.$jspbMessageInstance = msg;
2141
+ }
2142
+ return obj;
2143
+ };
2144
+ }
2145
+
2146
+
2147
+ /**
2148
+ * Deserializes binary data (in protobuf wire format).
2149
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2150
+ * @return {!proto.google.logging.v2.ListLogsResponse}
2151
+ */
2152
+ proto.google.logging.v2.ListLogsResponse.deserializeBinary = function(bytes) {
2153
+ var reader = new jspb.BinaryReader(bytes);
2154
+ var msg = new proto.google.logging.v2.ListLogsResponse;
2155
+ return proto.google.logging.v2.ListLogsResponse.deserializeBinaryFromReader(msg, reader);
2156
+ };
2157
+
2158
+
2159
+ /**
2160
+ * Deserializes binary data (in protobuf wire format) from the
2161
+ * given reader into the given message object.
2162
+ * @param {!proto.google.logging.v2.ListLogsResponse} msg The message object to deserialize into.
2163
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2164
+ * @return {!proto.google.logging.v2.ListLogsResponse}
2165
+ */
2166
+ proto.google.logging.v2.ListLogsResponse.deserializeBinaryFromReader = function(msg, reader) {
2167
+ while (reader.nextField()) {
2168
+ if (reader.isEndGroup()) {
2169
+ break;
2170
+ }
2171
+ var field = reader.getFieldNumber();
2172
+ switch (field) {
2173
+ case 3:
2174
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2175
+ msg.addLogNames(value);
2176
+ break;
2177
+ case 2:
2178
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2179
+ msg.setNextPageToken(value);
2180
+ break;
2181
+ default:
2182
+ reader.skipField();
2183
+ break;
2184
+ }
2185
+ }
2186
+ return msg;
2187
+ };
2188
+
2189
+
2190
+ /**
2191
+ * Serializes the message to binary data (in protobuf wire format).
2192
+ * @return {!Uint8Array}
2193
+ */
2194
+ proto.google.logging.v2.ListLogsResponse.prototype.serializeBinary = function() {
2195
+ var writer = new jspb.BinaryWriter();
2196
+ proto.google.logging.v2.ListLogsResponse.serializeBinaryToWriter(this, writer);
2197
+ return writer.getResultBuffer();
2198
+ };
2199
+
2200
+
2201
+ /**
2202
+ * Serializes the given message to binary data (in protobuf wire
2203
+ * format), writing to the given BinaryWriter.
2204
+ * @param {!proto.google.logging.v2.ListLogsResponse} message
2205
+ * @param {!jspb.BinaryWriter} writer
2206
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2207
+ */
2208
+ proto.google.logging.v2.ListLogsResponse.serializeBinaryToWriter = function(message, writer) {
2209
+ var f = undefined;
2210
+ f = message.getLogNamesList();
2211
+ if (f.length > 0) {
2212
+ writer.writeRepeatedString(
2213
+ 3,
2214
+ f
2215
+ );
2216
+ }
2217
+ f = message.getNextPageToken();
2218
+ if (f.length > 0) {
2219
+ writer.writeString(
2220
+ 2,
2221
+ f
2222
+ );
2223
+ }
2224
+ };
2225
+
2226
+
2227
+ /**
2228
+ * repeated string log_names = 3;
2229
+ * @return {!Array<string>}
2230
+ */
2231
+ proto.google.logging.v2.ListLogsResponse.prototype.getLogNamesList = function() {
2232
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
2233
+ };
2234
+
2235
+
2236
+ /**
2237
+ * @param {!Array<string>} value
2238
+ * @return {!proto.google.logging.v2.ListLogsResponse} returns this
2239
+ */
2240
+ proto.google.logging.v2.ListLogsResponse.prototype.setLogNamesList = function(value) {
2241
+ return jspb.Message.setField(this, 3, value || []);
2242
+ };
2243
+
2244
+
2245
+ /**
2246
+ * @param {string} value
2247
+ * @param {number=} opt_index
2248
+ * @return {!proto.google.logging.v2.ListLogsResponse} returns this
2249
+ */
2250
+ proto.google.logging.v2.ListLogsResponse.prototype.addLogNames = function(value, opt_index) {
2251
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
2252
+ };
2253
+
2254
+
2255
+ /**
2256
+ * Clears the list making it empty but non-null.
2257
+ * @return {!proto.google.logging.v2.ListLogsResponse} returns this
2258
+ */
2259
+ proto.google.logging.v2.ListLogsResponse.prototype.clearLogNamesList = function() {
2260
+ return this.setLogNamesList([]);
2261
+ };
2262
+
2263
+
2264
+ /**
2265
+ * optional string next_page_token = 2;
2266
+ * @return {string}
2267
+ */
2268
+ proto.google.logging.v2.ListLogsResponse.prototype.getNextPageToken = function() {
2269
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2270
+ };
2271
+
2272
+
2273
+ /**
2274
+ * @param {string} value
2275
+ * @return {!proto.google.logging.v2.ListLogsResponse} returns this
2276
+ */
2277
+ proto.google.logging.v2.ListLogsResponse.prototype.setNextPageToken = function(value) {
2278
+ return jspb.Message.setProto3StringField(this, 2, value);
2279
+ };
2280
+
2281
+
2282
+
2283
+ /**
2284
+ * List of repeated fields within this message type.
2285
+ * @private {!Array<number>}
2286
+ * @const
2287
+ */
2288
+ proto.google.logging.v2.TailLogEntriesRequest.repeatedFields_ = [1];
2289
+
2290
+
2291
+
2292
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2293
+ /**
2294
+ * Creates an object representation of this proto.
2295
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2296
+ * Optional fields that are not set will be set to undefined.
2297
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2298
+ * For the list of reserved names please see:
2299
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2300
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2301
+ * JSPB instance for transitional soy proto support:
2302
+ * http://goto/soy-param-migration
2303
+ * @return {!Object}
2304
+ */
2305
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.toObject = function(opt_includeInstance) {
2306
+ return proto.google.logging.v2.TailLogEntriesRequest.toObject(opt_includeInstance, this);
2307
+ };
2308
+
2309
+
2310
+ /**
2311
+ * Static version of the {@see toObject} method.
2312
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2313
+ * the JSPB instance for transitional soy proto support:
2314
+ * http://goto/soy-param-migration
2315
+ * @param {!proto.google.logging.v2.TailLogEntriesRequest} msg The msg instance to transform.
2316
+ * @return {!Object}
2317
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2318
+ */
2319
+ proto.google.logging.v2.TailLogEntriesRequest.toObject = function(includeInstance, msg) {
2320
+ var f, obj = {
2321
+ resourceNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
2322
+ filter: jspb.Message.getFieldWithDefault(msg, 2, ""),
2323
+ bufferWindow: (f = msg.getBufferWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
2324
+ };
2325
+
2326
+ if (includeInstance) {
2327
+ obj.$jspbMessageInstance = msg;
2328
+ }
2329
+ return obj;
2330
+ };
2331
+ }
2332
+
2333
+
2334
+ /**
2335
+ * Deserializes binary data (in protobuf wire format).
2336
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2337
+ * @return {!proto.google.logging.v2.TailLogEntriesRequest}
2338
+ */
2339
+ proto.google.logging.v2.TailLogEntriesRequest.deserializeBinary = function(bytes) {
2340
+ var reader = new jspb.BinaryReader(bytes);
2341
+ var msg = new proto.google.logging.v2.TailLogEntriesRequest;
2342
+ return proto.google.logging.v2.TailLogEntriesRequest.deserializeBinaryFromReader(msg, reader);
2343
+ };
2344
+
2345
+
2346
+ /**
2347
+ * Deserializes binary data (in protobuf wire format) from the
2348
+ * given reader into the given message object.
2349
+ * @param {!proto.google.logging.v2.TailLogEntriesRequest} msg The message object to deserialize into.
2350
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2351
+ * @return {!proto.google.logging.v2.TailLogEntriesRequest}
2352
+ */
2353
+ proto.google.logging.v2.TailLogEntriesRequest.deserializeBinaryFromReader = function(msg, reader) {
2354
+ while (reader.nextField()) {
2355
+ if (reader.isEndGroup()) {
2356
+ break;
2357
+ }
2358
+ var field = reader.getFieldNumber();
2359
+ switch (field) {
2360
+ case 1:
2361
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2362
+ msg.addResourceNames(value);
2363
+ break;
2364
+ case 2:
2365
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2366
+ msg.setFilter(value);
2367
+ break;
2368
+ case 3:
2369
+ var value = new google_protobuf_duration_pb.Duration;
2370
+ reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
2371
+ msg.setBufferWindow(value);
2372
+ break;
2373
+ default:
2374
+ reader.skipField();
2375
+ break;
2376
+ }
2377
+ }
2378
+ return msg;
2379
+ };
2380
+
2381
+
2382
+ /**
2383
+ * Serializes the message to binary data (in protobuf wire format).
2384
+ * @return {!Uint8Array}
2385
+ */
2386
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.serializeBinary = function() {
2387
+ var writer = new jspb.BinaryWriter();
2388
+ proto.google.logging.v2.TailLogEntriesRequest.serializeBinaryToWriter(this, writer);
2389
+ return writer.getResultBuffer();
2390
+ };
2391
+
2392
+
2393
+ /**
2394
+ * Serializes the given message to binary data (in protobuf wire
2395
+ * format), writing to the given BinaryWriter.
2396
+ * @param {!proto.google.logging.v2.TailLogEntriesRequest} message
2397
+ * @param {!jspb.BinaryWriter} writer
2398
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2399
+ */
2400
+ proto.google.logging.v2.TailLogEntriesRequest.serializeBinaryToWriter = function(message, writer) {
2401
+ var f = undefined;
2402
+ f = message.getResourceNamesList();
2403
+ if (f.length > 0) {
2404
+ writer.writeRepeatedString(
2405
+ 1,
2406
+ f
2407
+ );
2408
+ }
2409
+ f = message.getFilter();
2410
+ if (f.length > 0) {
2411
+ writer.writeString(
2412
+ 2,
2413
+ f
2414
+ );
2415
+ }
2416
+ f = message.getBufferWindow();
2417
+ if (f != null) {
2418
+ writer.writeMessage(
2419
+ 3,
2420
+ f,
2421
+ google_protobuf_duration_pb.Duration.serializeBinaryToWriter
2422
+ );
2423
+ }
2424
+ };
2425
+
2426
+
2427
+ /**
2428
+ * repeated string resource_names = 1;
2429
+ * @return {!Array<string>}
2430
+ */
2431
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.getResourceNamesList = function() {
2432
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2433
+ };
2434
+
2435
+
2436
+ /**
2437
+ * @param {!Array<string>} value
2438
+ * @return {!proto.google.logging.v2.TailLogEntriesRequest} returns this
2439
+ */
2440
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.setResourceNamesList = function(value) {
2441
+ return jspb.Message.setField(this, 1, value || []);
2442
+ };
2443
+
2444
+
2445
+ /**
2446
+ * @param {string} value
2447
+ * @param {number=} opt_index
2448
+ * @return {!proto.google.logging.v2.TailLogEntriesRequest} returns this
2449
+ */
2450
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.addResourceNames = function(value, opt_index) {
2451
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2452
+ };
2453
+
2454
+
2455
+ /**
2456
+ * Clears the list making it empty but non-null.
2457
+ * @return {!proto.google.logging.v2.TailLogEntriesRequest} returns this
2458
+ */
2459
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.clearResourceNamesList = function() {
2460
+ return this.setResourceNamesList([]);
2461
+ };
2462
+
2463
+
2464
+ /**
2465
+ * optional string filter = 2;
2466
+ * @return {string}
2467
+ */
2468
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.getFilter = function() {
2469
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2470
+ };
2471
+
2472
+
2473
+ /**
2474
+ * @param {string} value
2475
+ * @return {!proto.google.logging.v2.TailLogEntriesRequest} returns this
2476
+ */
2477
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.setFilter = function(value) {
2478
+ return jspb.Message.setProto3StringField(this, 2, value);
2479
+ };
2480
+
2481
+
2482
+ /**
2483
+ * optional google.protobuf.Duration buffer_window = 3;
2484
+ * @return {?proto.google.protobuf.Duration}
2485
+ */
2486
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.getBufferWindow = function() {
2487
+ return /** @type{?proto.google.protobuf.Duration} */ (
2488
+ jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 3));
2489
+ };
2490
+
2491
+
2492
+ /**
2493
+ * @param {?proto.google.protobuf.Duration|undefined} value
2494
+ * @return {!proto.google.logging.v2.TailLogEntriesRequest} returns this
2495
+ */
2496
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.setBufferWindow = function(value) {
2497
+ return jspb.Message.setWrapperField(this, 3, value);
2498
+ };
2499
+
2500
+
2501
+ /**
2502
+ * Clears the message field making it undefined.
2503
+ * @return {!proto.google.logging.v2.TailLogEntriesRequest} returns this
2504
+ */
2505
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.clearBufferWindow = function() {
2506
+ return this.setBufferWindow(undefined);
2507
+ };
2508
+
2509
+
2510
+ /**
2511
+ * Returns whether this field is set.
2512
+ * @return {boolean}
2513
+ */
2514
+ proto.google.logging.v2.TailLogEntriesRequest.prototype.hasBufferWindow = function() {
2515
+ return jspb.Message.getField(this, 3) != null;
2516
+ };
2517
+
2518
+
2519
+
2520
+ /**
2521
+ * List of repeated fields within this message type.
2522
+ * @private {!Array<number>}
2523
+ * @const
2524
+ */
2525
+ proto.google.logging.v2.TailLogEntriesResponse.repeatedFields_ = [1,2];
2526
+
2527
+
2528
+
2529
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2530
+ /**
2531
+ * Creates an object representation of this proto.
2532
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2533
+ * Optional fields that are not set will be set to undefined.
2534
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2535
+ * For the list of reserved names please see:
2536
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2537
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2538
+ * JSPB instance for transitional soy proto support:
2539
+ * http://goto/soy-param-migration
2540
+ * @return {!Object}
2541
+ */
2542
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.toObject = function(opt_includeInstance) {
2543
+ return proto.google.logging.v2.TailLogEntriesResponse.toObject(opt_includeInstance, this);
2544
+ };
2545
+
2546
+
2547
+ /**
2548
+ * Static version of the {@see toObject} method.
2549
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2550
+ * the JSPB instance for transitional soy proto support:
2551
+ * http://goto/soy-param-migration
2552
+ * @param {!proto.google.logging.v2.TailLogEntriesResponse} msg The msg instance to transform.
2553
+ * @return {!Object}
2554
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2555
+ */
2556
+ proto.google.logging.v2.TailLogEntriesResponse.toObject = function(includeInstance, msg) {
2557
+ var f, obj = {
2558
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
2559
+ google_logging_v2_log_entry_pb.LogEntry.toObject, includeInstance),
2560
+ suppressionInfoList: jspb.Message.toObjectList(msg.getSuppressionInfoList(),
2561
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.toObject, includeInstance)
2562
+ };
2563
+
2564
+ if (includeInstance) {
2565
+ obj.$jspbMessageInstance = msg;
2566
+ }
2567
+ return obj;
2568
+ };
2569
+ }
2570
+
2571
+
2572
+ /**
2573
+ * Deserializes binary data (in protobuf wire format).
2574
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2575
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse}
2576
+ */
2577
+ proto.google.logging.v2.TailLogEntriesResponse.deserializeBinary = function(bytes) {
2578
+ var reader = new jspb.BinaryReader(bytes);
2579
+ var msg = new proto.google.logging.v2.TailLogEntriesResponse;
2580
+ return proto.google.logging.v2.TailLogEntriesResponse.deserializeBinaryFromReader(msg, reader);
2581
+ };
2582
+
2583
+
2584
+ /**
2585
+ * Deserializes binary data (in protobuf wire format) from the
2586
+ * given reader into the given message object.
2587
+ * @param {!proto.google.logging.v2.TailLogEntriesResponse} msg The message object to deserialize into.
2588
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2589
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse}
2590
+ */
2591
+ proto.google.logging.v2.TailLogEntriesResponse.deserializeBinaryFromReader = function(msg, reader) {
2592
+ while (reader.nextField()) {
2593
+ if (reader.isEndGroup()) {
2594
+ break;
2595
+ }
2596
+ var field = reader.getFieldNumber();
2597
+ switch (field) {
2598
+ case 1:
2599
+ var value = new google_logging_v2_log_entry_pb.LogEntry;
2600
+ reader.readMessage(value,google_logging_v2_log_entry_pb.LogEntry.deserializeBinaryFromReader);
2601
+ msg.addEntries(value);
2602
+ break;
2603
+ case 2:
2604
+ var value = new proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
2605
+ reader.readMessage(value,proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.deserializeBinaryFromReader);
2606
+ msg.addSuppressionInfo(value);
2607
+ break;
2608
+ default:
2609
+ reader.skipField();
2610
+ break;
2611
+ }
2612
+ }
2613
+ return msg;
2614
+ };
2615
+
2616
+
2617
+ /**
2618
+ * Serializes the message to binary data (in protobuf wire format).
2619
+ * @return {!Uint8Array}
2620
+ */
2621
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.serializeBinary = function() {
2622
+ var writer = new jspb.BinaryWriter();
2623
+ proto.google.logging.v2.TailLogEntriesResponse.serializeBinaryToWriter(this, writer);
2624
+ return writer.getResultBuffer();
2625
+ };
2626
+
2627
+
2628
+ /**
2629
+ * Serializes the given message to binary data (in protobuf wire
2630
+ * format), writing to the given BinaryWriter.
2631
+ * @param {!proto.google.logging.v2.TailLogEntriesResponse} message
2632
+ * @param {!jspb.BinaryWriter} writer
2633
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2634
+ */
2635
+ proto.google.logging.v2.TailLogEntriesResponse.serializeBinaryToWriter = function(message, writer) {
2636
+ var f = undefined;
2637
+ f = message.getEntriesList();
2638
+ if (f.length > 0) {
2639
+ writer.writeRepeatedMessage(
2640
+ 1,
2641
+ f,
2642
+ google_logging_v2_log_entry_pb.LogEntry.serializeBinaryToWriter
2643
+ );
2644
+ }
2645
+ f = message.getSuppressionInfoList();
2646
+ if (f.length > 0) {
2647
+ writer.writeRepeatedMessage(
2648
+ 2,
2649
+ f,
2650
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.serializeBinaryToWriter
2651
+ );
2652
+ }
2653
+ };
2654
+
2655
+
2656
+
2657
+
2658
+
2659
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2660
+ /**
2661
+ * Creates an object representation of this proto.
2662
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2663
+ * Optional fields that are not set will be set to undefined.
2664
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2665
+ * For the list of reserved names please see:
2666
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2667
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2668
+ * JSPB instance for transitional soy proto support:
2669
+ * http://goto/soy-param-migration
2670
+ * @return {!Object}
2671
+ */
2672
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.prototype.toObject = function(opt_includeInstance) {
2673
+ return proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.toObject(opt_includeInstance, this);
2674
+ };
2675
+
2676
+
2677
+ /**
2678
+ * Static version of the {@see toObject} method.
2679
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2680
+ * the JSPB instance for transitional soy proto support:
2681
+ * http://goto/soy-param-migration
2682
+ * @param {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo} msg The msg instance to transform.
2683
+ * @return {!Object}
2684
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2685
+ */
2686
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.toObject = function(includeInstance, msg) {
2687
+ var f, obj = {
2688
+ reason: jspb.Message.getFieldWithDefault(msg, 1, 0),
2689
+ suppressedCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
2690
+ };
2691
+
2692
+ if (includeInstance) {
2693
+ obj.$jspbMessageInstance = msg;
2694
+ }
2695
+ return obj;
2696
+ };
2697
+ }
2698
+
2699
+
2700
+ /**
2701
+ * Deserializes binary data (in protobuf wire format).
2702
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2703
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo}
2704
+ */
2705
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.deserializeBinary = function(bytes) {
2706
+ var reader = new jspb.BinaryReader(bytes);
2707
+ var msg = new proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
2708
+ return proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.deserializeBinaryFromReader(msg, reader);
2709
+ };
2710
+
2711
+
2712
+ /**
2713
+ * Deserializes binary data (in protobuf wire format) from the
2714
+ * given reader into the given message object.
2715
+ * @param {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo} msg The message object to deserialize into.
2716
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2717
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo}
2718
+ */
2719
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.deserializeBinaryFromReader = function(msg, reader) {
2720
+ while (reader.nextField()) {
2721
+ if (reader.isEndGroup()) {
2722
+ break;
2723
+ }
2724
+ var field = reader.getFieldNumber();
2725
+ switch (field) {
2726
+ case 1:
2727
+ var value = /** @type {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason} */ (reader.readEnum());
2728
+ msg.setReason(value);
2729
+ break;
2730
+ case 2:
2731
+ var value = /** @type {number} */ (reader.readInt32());
2732
+ msg.setSuppressedCount(value);
2733
+ break;
2734
+ default:
2735
+ reader.skipField();
2736
+ break;
2737
+ }
2738
+ }
2739
+ return msg;
2740
+ };
2741
+
2742
+
2743
+ /**
2744
+ * Serializes the message to binary data (in protobuf wire format).
2745
+ * @return {!Uint8Array}
2746
+ */
2747
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.prototype.serializeBinary = function() {
2748
+ var writer = new jspb.BinaryWriter();
2749
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.serializeBinaryToWriter(this, writer);
2750
+ return writer.getResultBuffer();
2751
+ };
2752
+
2753
+
2754
+ /**
2755
+ * Serializes the given message to binary data (in protobuf wire
2756
+ * format), writing to the given BinaryWriter.
2757
+ * @param {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo} message
2758
+ * @param {!jspb.BinaryWriter} writer
2759
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2760
+ */
2761
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.serializeBinaryToWriter = function(message, writer) {
2762
+ var f = undefined;
2763
+ f = message.getReason();
2764
+ if (f !== 0.0) {
2765
+ writer.writeEnum(
2766
+ 1,
2767
+ f
2768
+ );
2769
+ }
2770
+ f = message.getSuppressedCount();
2771
+ if (f !== 0) {
2772
+ writer.writeInt32(
2773
+ 2,
2774
+ f
2775
+ );
2776
+ }
2777
+ };
2778
+
2779
+
2780
+ /**
2781
+ * @enum {number}
2782
+ */
2783
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason = {
2784
+ REASON_UNSPECIFIED: 0,
2785
+ RATE_LIMIT: 1,
2786
+ NOT_CONSUMED: 2
2787
+ };
2788
+
2789
+ /**
2790
+ * optional Reason reason = 1;
2791
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason}
2792
+ */
2793
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.prototype.getReason = function() {
2794
+ return /** @type {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2795
+ };
2796
+
2797
+
2798
+ /**
2799
+ * @param {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason} value
2800
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo} returns this
2801
+ */
2802
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.prototype.setReason = function(value) {
2803
+ return jspb.Message.setProto3EnumField(this, 1, value);
2804
+ };
2805
+
2806
+
2807
+ /**
2808
+ * optional int32 suppressed_count = 2;
2809
+ * @return {number}
2810
+ */
2811
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.prototype.getSuppressedCount = function() {
2812
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2813
+ };
2814
+
2815
+
2816
+ /**
2817
+ * @param {number} value
2818
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo} returns this
2819
+ */
2820
+ proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.prototype.setSuppressedCount = function(value) {
2821
+ return jspb.Message.setProto3IntField(this, 2, value);
2822
+ };
2823
+
2824
+
2825
+ /**
2826
+ * repeated LogEntry entries = 1;
2827
+ * @return {!Array<!proto.google.logging.v2.LogEntry>}
2828
+ */
2829
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.getEntriesList = function() {
2830
+ return /** @type{!Array<!proto.google.logging.v2.LogEntry>} */ (
2831
+ jspb.Message.getRepeatedWrapperField(this, google_logging_v2_log_entry_pb.LogEntry, 1));
2832
+ };
2833
+
2834
+
2835
+ /**
2836
+ * @param {!Array<!proto.google.logging.v2.LogEntry>} value
2837
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse} returns this
2838
+ */
2839
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.setEntriesList = function(value) {
2840
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2841
+ };
2842
+
2843
+
2844
+ /**
2845
+ * @param {!proto.google.logging.v2.LogEntry=} opt_value
2846
+ * @param {number=} opt_index
2847
+ * @return {!proto.google.logging.v2.LogEntry}
2848
+ */
2849
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.addEntries = function(opt_value, opt_index) {
2850
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.logging.v2.LogEntry, opt_index);
2851
+ };
2852
+
2853
+
2854
+ /**
2855
+ * Clears the list making it empty but non-null.
2856
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse} returns this
2857
+ */
2858
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.clearEntriesList = function() {
2859
+ return this.setEntriesList([]);
2860
+ };
2861
+
2862
+
2863
+ /**
2864
+ * repeated SuppressionInfo suppression_info = 2;
2865
+ * @return {!Array<!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo>}
2866
+ */
2867
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.getSuppressionInfoList = function() {
2868
+ return /** @type{!Array<!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo>} */ (
2869
+ jspb.Message.getRepeatedWrapperField(this, proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, 2));
2870
+ };
2871
+
2872
+
2873
+ /**
2874
+ * @param {!Array<!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo>} value
2875
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse} returns this
2876
+ */
2877
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.setSuppressionInfoList = function(value) {
2878
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
2879
+ };
2880
+
2881
+
2882
+ /**
2883
+ * @param {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo=} opt_value
2884
+ * @param {number=} opt_index
2885
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo}
2886
+ */
2887
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.addSuppressionInfo = function(opt_value, opt_index) {
2888
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, opt_index);
2889
+ };
2890
+
2891
+
2892
+ /**
2893
+ * Clears the list making it empty but non-null.
2894
+ * @return {!proto.google.logging.v2.TailLogEntriesResponse} returns this
2895
+ */
2896
+ proto.google.logging.v2.TailLogEntriesResponse.prototype.clearSuppressionInfoList = function() {
2897
+ return this.setSuppressionInfoList([]);
2898
+ };
2899
+
2900
+
2901
+ goog.object.extend(exports, proto.google.logging.v2);
2902
+
2903
+ // Below is base64 encoded GeneratedCodeInfo proto
2904
+ // CisKAgQAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGJgaIKgaCisKAgQBEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGJogILAgCisKAgQCEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGO4mIIUnCisKAgQDEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGIwtIKgtCisKAgQEEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGL4zINMzCisKAgQFEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGI06IKM6CisKAgQGEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGOFAIIhBCisKAgQHEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGL9HIOdHCisKAgQIEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGO1OIPxOCisKAgQJEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGJ5VIK5VCisKAgQKEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGNRbIOlbCisKAgQLEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGKNiILliCi0KBAQLAwASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YjmkgnWkKLwoEBAACABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiWiQEgoIkBCi8KBAQAAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YnYsBIKeLAQovCgQEAQIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGOW8ASDvvAEKLwoEBAECABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxj4vgEggr8BCi8KBAQBAgESH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YgcEBIIzBAQovCgQEAQIBEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGIjEASCTxAEKLwoEBAECARIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxigxgEgrcYBCi8KBAQBAgESH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y5McBIO/HAQovCgQEAQICEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGKbKASCyygEKLwoEBAECAhIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiWzQEgpM0BCi8KBAQBAgMSH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Ygc8BII/PAQovCgQEAQIDEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGIrSASCY0gEKLwoEBAECAxIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxi41AEgwtQBCi8KBAQBAgMSH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YmdcBIKnXAQovCgQEAQIEEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGNzYASDt2AEKLwoEBAECBBIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiC2wEgk9sBCi8KBAQBAgUSH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y3twBIOfcAQovCgQEAQIFEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGPzeASCF3wEKLwoEBAMCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiGngIgmp4CCi8KBAQDAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Yr6ECIMWhAgovCgQEBAIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGKHKAiC1ygIKLwoEBAQCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjFzAIg2cwCCi8KBAQEAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y6c4CIPnOAgovCgQEBAIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGJ3RAiCz0QIKLwoEBAQCARIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjj0gIg7NICCi8KBAQEAgESH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y89QCIPzUAgovCgQEBAICEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGMfWAiDR1gIKLwoEBAQCAhIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjY2AIg4tgCCi8KBAQEAgMSH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YrdoCILjaAgovCgQEBAIDEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGL7cAiDJ3AIKLwoEBAQCBBIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiT3gIgn94CCi8KBAQEAgQSH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YpuACILLgAgovCgQEBQIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGMuEAyDZhAMKLwoEBAUCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjUhwMg4ocDCi8KBAQFAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YgooDIIyKAwovCgQEBQIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGOOMAyDzjAMKLwoEBAUCARIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxinjgMgt44DCi8KBAQFAgESH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YwJADINCQAwovCgQEBgIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGJKzAyCdswMKLwoEBAYCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjHtQMg0rUDCi8KBAQGAgESH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YrrcDILq3AwovCgQEBgIBEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGOW5AyDxuQMKLwoEBAcCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxj34QMgkeIDCi8KBAQHAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y3eUDIPflAwovCgQEBwIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGMHoAyDX6AMKLwoEBAcCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxje6wMg+usDCi8KBAQHAgESH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YzO0DINztAwovCgQEBwIBEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGInwAyCZ8AMKLwoEBAgCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjtlQQg9pUECi8KBAQIAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y8ZcEIPqXBAovCgQECAIBEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGL+ZBCDKmQQKLwoEBAgCARIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjEmwQgz5sECi8KBAQIAgISH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Yk50EIJ+dBAovCgQECAICEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGJqfBCCmnwQKLwoEBAgCAxIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxj5oAQgjaEECi8KBAQIAgMSH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YkaMEIKWjBAovCgQECAIDEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGKmlBCC5pQQKLwoEBAgCAxIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjRpwQg56cECi8KBAQJAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YlMkEIKPJBAovCgQECQIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGKnLBCC4ywQKLwoEBAkCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxi+zQQgyc0ECi8KBAQJAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y488EIPTPBAovCgQECQIBEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGKPRBCCz0QQKLwoEBAkCARIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiw0wQgwNMECi8KBAQKAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y0PkEIOT5BAovCgQECgIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGPT7BCCI/AQKLwoEBAoCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiY/gQgqP4ECi8KBAQKAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YzIAFIOKABQovCgQECgIBEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGJKCBSCbggUKLwoEBAoCARIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiihAUgq4QFCi8KBAQKAgISH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YpoYFILWGBQovCgQECgICEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGJmJBSCoiQUKLwoEBAoCAhIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiziwUgxIsFCi8KBAQKAgISH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y/owFII2NBQoxCgYECwMABAASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YzNQFINLUBQozCggECwMABAACABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjZ1AUg69QFCjMKCAQLAwAEAAIBEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGPLUBSD81AUKMwoIBAsDAAQAAgISH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Yg9UFII/VBQoxCgYECwMAAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y29YFIOTWBQoxCgYECwMAAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YjNoFIJXaBQoxCgYECwMAAgESH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y9tsFIIjcBQoxCgYECwMAAgESH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8YsN4FIMLeBQovCgQECwIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGK/gBSC94AUKLwoEBAsCABIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxi44wUgxuMFCi8KBAQLAgASH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Y5uUFIPDlBQovCgQECwIAEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGMfoBSDX6AUKLwoEBAsCARIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxjW6gUg7OoFCi8KBAQLAgESH2dvb2dsZS9sb2dnaW5nL3YyL2xvZ2dpbmcucHJvdG8Yuu4FINDuBQovCgQECwIBEh9nb29nbGUvbG9nZ2luZy92Mi9sb2dnaW5nLnByb3RvGKzxBSC+8QUKLwoEBAsCARIfZ29vZ2xlL2xvZ2dpbmcvdjIvbG9nZ2luZy5wcm90bxiz9AUgy/QF