-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rename setters/getters/builders for BigQuery classes to meet proto conventions #1310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7369703 to
fbe1aeb
Compare
fbe1aeb to
cbc7054
Compare
|
/cc @lesv I rebased and added a commit to make deprecated methods call renamed ones. PTAL |
lesv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL - Fix the two issues, then LGTM.
For the record, PR's this large are mind numbing.
| // timestamps are encoded in the format 1408452095.22 where the integer part is seconds since | ||
| // epoch (e.g. 1408452095.22 == 2014-08-19 07:41:35.220 -05:00) | ||
| return new Double(((Double.valueOf(stringValue())) * MICROSECONDS)).longValue(); | ||
| return new Double(((Double.valueOf(getStringValue())) * MICROSECONDS)).longValue(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
|
|
||
| static QueryStage fromPb(com.google.api.services.bigquery.model.ExplainQueryStage stagePb) { | ||
| Builder builder = new QueryStage.Builder(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
…1.0 (#1310) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.0.0` -> `26.1.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-asset). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTguMCIsInVwZGF0ZWRJblZlciI6IjMyLjE1OC4wIn0=-->
#1310) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 485623855 Source-Link: https://togithub.com/googleapis/googleapis/commit/807125e7953e32535710924fe4bf0362ac93754d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c4ddd6d651da69658a4762c5eafff5cd8f0e25c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzRkZGQ2ZDY1MWRhNjk2NThhNDc2MmM1ZWFmZmY1Y2Q4ZjBlMjVjNSJ9
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
…38.0 (#1310) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.37.0` -> `26.38.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-cloud-bom (com.google.cloud:libraries-bom)</summary> ### [`v26.38.0`](https://togithub.com/googleapis/java-cloud-bom/blob/HEAD/CHANGELOG.md#26380-2024-04-30) [Compare Source](https://togithub.com/googleapis/java-cloud-bom/compare/v26.37.0...v26.38.0) ##### Dependencies - update actions/checkout action to v4 ([#​6507](https://togithub.com/googleapis/java-cloud-bom/issues/6507)) ([5a9e817](https://togithub.com/googleapis/java-cloud-bom/commit/5a9e817b73209e40d2b55abce451d668143839c8)) - update actions/github-script action to v7 ([#​6508](https://togithub.com/googleapis/java-cloud-bom/issues/6508)) ([e2f9c9f](https://togithub.com/googleapis/java-cloud-bom/commit/e2f9c9ff3bf95206945b6aac26dd00ce0d1cf9fc)) - update actions/setup-java action to v4 ([#​6509](https://togithub.com/googleapis/java-cloud-bom/issues/6509)) ([8aae14e](https://togithub.com/googleapis/java-cloud-bom/commit/8aae14ea4fa7a113541307a2e417a1e0ed6c5001)) - update actions/setup-node action to v4 ([#​6510](https://togithub.com/googleapis/java-cloud-bom/issues/6510)) ([a20788d](https://togithub.com/googleapis/java-cloud-bom/commit/a20788dfe145e5f477d60d1ed8ea39bded1d1bfc)) - update dependency com.google.cloud:first-party-dependencies to v3.29.0 ([#​6540](https://togithub.com/googleapis/java-cloud-bom/issues/6540)) ([938cd30](https://togithub.com/googleapis/java-cloud-bom/commit/938cd303d70557abdc100cd72f33c6037a2cd62a)) - update dependency com.google.cloud:gapic-libraries-bom to v1.36.0 ([#​6549](https://togithub.com/googleapis/java-cloud-bom/issues/6549)) ([64ec4b5](https://togithub.com/googleapis/java-cloud-bom/commit/64ec4b5f8534ecf82dfca76ad0ed0e5ec88fa675)) - update dependency com.google.cloud:google-cloud-bigquery to v2.39.0 ([#​6541](https://togithub.com/googleapis/java-cloud-bom/issues/6541)) ([a5798fc](https://togithub.com/googleapis/java-cloud-bom/commit/a5798fc611f95d3a80d45b6e8fd4c1bf47197e4e)) - update dependency com.google.cloud:google-cloud-bigquery to v2.39.1 ([#​6554](https://togithub.com/googleapis/java-cloud-bom/issues/6554)) ([075716c](https://togithub.com/googleapis/java-cloud-bom/commit/075716c35b9471f00cca38bf74dfc275a54ef0dc)) - update dependency com.google.cloud:google-cloud-bigquerystorage-bom to v3.5.0 ([#​6551](https://togithub.com/googleapis/java-cloud-bom/issues/6551)) ([d4a55af](https://togithub.com/googleapis/java-cloud-bom/commit/d4a55afbce06fdd3a02d606ec6704886a7b551cf)) - update dependency com.google.cloud:google-cloud-bigtable-bom to v2.39.0 ([#​6543](https://togithub.com/googleapis/java-cloud-bom/issues/6543)) ([107b178](https://togithub.com/googleapis/java-cloud-bom/commit/107b1780898577c56f416b38f45b93fc43c2008f)) - update dependency com.google.cloud:google-cloud-datastore-bom to v2.19.1 ([#​6536](https://togithub.com/googleapis/java-cloud-bom/issues/6536)) ([4bd9f22](https://togithub.com/googleapis/java-cloud-bom/commit/4bd9f22483b648c1d9f8246a8a61f0589172d562)) - update dependency com.google.cloud:google-cloud-firestore-bom to v3.20.2 ([#​6537](https://togithub.com/googleapis/java-cloud-bom/issues/6537)) ([5d4e4bf](https://togithub.com/googleapis/java-cloud-bom/commit/5d4e4bf0a45dfc613959767fb6f2786cb4daf0aa)) - update dependency com.google.cloud:google-cloud-firestore-bom to v3.21.0 ([#​6550](https://togithub.com/googleapis/java-cloud-bom/issues/6550)) ([a497e07](https://togithub.com/googleapis/java-cloud-bom/commit/a497e07f39b6d5babc038cedb4db146c3653f3d5)) - update dependency com.google.cloud:google-cloud-logging-bom to v3.17.0 ([#​6544](https://togithub.com/googleapis/java-cloud-bom/issues/6544)) ([9b4fd06](https://togithub.com/googleapis/java-cloud-bom/commit/9b4fd06c039334a4c4657e08b52f6108dfcd3586)) - update dependency com.google.cloud:google-cloud-logging-logback to v0.131.5-alpha ([#​6542](https://togithub.com/googleapis/java-cloud-bom/issues/6542)) ([8f5603b](https://togithub.com/googleapis/java-cloud-bom/commit/8f5603b9d4799a335923a871897302232f91cff9)) - update dependency com.google.cloud:google-cloud-nio to v0.127.16 ([#​6538](https://togithub.com/googleapis/java-cloud-bom/issues/6538)) ([cd70cb1](https://togithub.com/googleapis/java-cloud-bom/commit/cd70cb17201994cddada81ed4087563df5135114)) - update dependency com.google.cloud:google-cloud-pubsub-bom to v1.129.0 ([#​6524](https://togithub.com/googleapis/java-cloud-bom/issues/6524)) ([c3fcf29](https://togithub.com/googleapis/java-cloud-bom/commit/c3fcf29562c4c9559adc60e3e985bb828187a447)) - update dependency com.google.cloud:google-cloud-pubsub-bom to v1.129.1 ([#​6539](https://togithub.com/googleapis/java-cloud-bom/issues/6539)) ([952991e](https://togithub.com/googleapis/java-cloud-bom/commit/952991e5855cb5360f5080df7c4a78153a44b38b)) - update dependency com.google.cloud:google-cloud-pubsublite-bom to v1.13.3 ([#​6548](https://togithub.com/googleapis/java-cloud-bom/issues/6548)) ([20d3ebd](https://togithub.com/googleapis/java-cloud-bom/commit/20d3ebd081b431b08e1ce038cd01416ed73a8efc)) - update dependency com.google.cloud:google-cloud-spanner-bom to v6.65.0 ([#​6517](https://togithub.com/googleapis/java-cloud-bom/issues/6517)) ([c18e4a1](https://togithub.com/googleapis/java-cloud-bom/commit/c18e4a15f10046440f2b00ccf7dcfc477a4c825c)) - update dependency com.google.cloud:google-cloud-spanner-bom to v6.65.1 ([#​6555](https://togithub.com/googleapis/java-cloud-bom/issues/6555)) ([f48df36](https://togithub.com/googleapis/java-cloud-bom/commit/f48df3617749a7306b6478136c34340875c1ec47)) - update dependency com.google.cloud:google-cloud-spanner-jdbc to v2.17.0 ([#​6545](https://togithub.com/googleapis/java-cloud-bom/issues/6545)) ([4daf874](https://togithub.com/googleapis/java-cloud-bom/commit/4daf874c8cf7d94af80e08fbcfcbf8a84f236e9e)) - update dependency com.google.cloud:google-cloud-storage-bom to v2.37.0 ([#​6546](https://togithub.com/googleapis/java-cloud-bom/issues/6546)) ([fa3d6b7](https://togithub.com/googleapis/java-cloud-bom/commit/fa3d6b7afd4986c02b1b554d6aa9ee92273e6b5d)) - update dependency com.google.googlejavaformat:google-java-format to v1.22.0 ([#​6518](https://togithub.com/googleapis/java-cloud-bom/issues/6518)) ([dcdaf2a](https://togithub.com/googleapis/java-cloud-bom/commit/dcdaf2a88075e1c7d8660d1fbb5180b7a23d723f)) - update dependency commons-cli:commons-cli to v1.7.0 ([#​6547](https://togithub.com/googleapis/java-cloud-bom/issues/6547)) ([7e20379](https://togithub.com/googleapis/java-cloud-bom/commit/7e203796880b9f241effdc38aae1231935c48445)) - update dependency commons-io:commons-io to v2.16.1 ([#​6513](https://togithub.com/googleapis/java-cloud-bom/issues/6513)) ([a9d7444](https://togithub.com/googleapis/java-cloud-bom/commit/a9d7444eb810d98cff1e1d5da62c7996143f5ad2)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-logging-logback). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
No description provided.