Title: Batch mutations size · Issue #4423 · googleapis/google-cloud-java · GitHub
Open Graph Title: Batch mutations size · Issue #4423 · googleapis/google-cloud-java
X Title: Batch mutations size · Issue #4423 · googleapis/google-cloud-java
Description: Hi, I'm currently using "batchWrite" and i was surprised to see that it's not currently possible to access the mutations_list's size. As it's limited to 500 mutations, we should be able to know the size :) Environment details OS: W10 Jav...
Open Graph Description: Hi, I'm currently using "batchWrite" and i was surprised to see that it's not currently possible to access the mutations_list's size. As it's limited to 500 mutations, we should be able to know the...
X Description: Hi, I'm currently using "batchWrite" and i was surprised to see that it's not currently possible to access the mutations_list's size. As it's limited to 500 mutations, we ...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/4423
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Batch mutations size","articleBody":"Hi,\r\nI'm currently using \"batchWrite\" and i was surprised to see that it's not currently possible to access the mutations_list's size. As it's limited to 500 mutations, we should be able to know the size :)\r\n\r\n#### Environment details\r\n\r\n- OS: W10\r\n- Java version: 1.8_191\r\n- google-cloud-java version(s): 0.79.0-beta\r\n\r\n#### Steps to reproduce\r\n\r\nN/A\r\n\r\n#### Stacktrace\r\n\r\nN/A\r\n\r\n#### Code snippet\r\n\r\n```kotlin\r\nvar batch: WriteBatch = this.firestore.batch()\r\n// batch.getMutationsSize() ?\r\n```\r\n\r\n#### External references such as API reference guides used\r\n\r\nhttps://cloud.google.com/firestore/docs/manage-data/transactions#batched-writes\r\n\r\n#### Any additional information below\r\n\r\nI'll provide a simple pull request to do it, but i'm pretty sure you don't need me on this ;)\r\n[EDIT] pull request provided\r\n\r\nRegards,\r\nGremi","author":{"url":"https://github.com/gremi64","@type":"Person","name":"gremi64"},"datePublished":"2019-02-01T10:48:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4423/google-cloud-java/issues/4423"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8b359c2c-a5ec-686e-f390-2784e7eeacfe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A9EC:1EE1:2F6D7A:3F58B4:6A4D69D6 |
| html-safe-nonce | c368e6e5d1d312b71030242d81a56a83fb48577f16141953fd156848ab6a4603 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUVDOjFFRTE6MkY2RDdBOjNGNThCNDo2QTRENjlENiIsInZpc2l0b3JfaWQiOiI4NDU3Nzc0NDU1NzY1OTUyOTgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d42efbb6ac707d0dda4eef468546eaf677a04e23008e339c6e5971fcdea8f880 |
| hovercard-subject-tag | issue:405648302 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/4423/issue_layout |
| twitter:image | https://opengraph.githubassets.com/257f7c2aa37751a1efe5ea455dbf2205bbc8e577fbcf533b2d6e96124f77b4c1/googleapis/google-cloud-java/issues/4423 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/257f7c2aa37751a1efe5ea455dbf2205bbc8e577fbcf533b2d6e96124f77b4c1/googleapis/google-cloud-java/issues/4423 |
| og:image:alt | Hi, I'm currently using "batchWrite" and i was surprised to see that it's not currently possible to access the mutations_list's size. As it's limited to 500 mutations, we should be able to know the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gremi64 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7db3950e3f59095e20a9789440c3dd554efc62d434882ead06ae05b5815605b9 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cd8f6a71db61d6012a0cbb134be844fdbe9b8a45 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width