-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
protobuf 3 compat issues #1239
Comments
FWIW, worked around by:
|
Hi @pcarrier thanks for the report, the digging, and finding a workaround. Sorting this out won't be easy but should at least be possible. Something that we planned to do (haven't had time yet) is to get rid of the Another issue I see (I might be wrong though), is that @garrettjonesgoogle I believe the introduction of the |
We were going to do the switch within a week or two, but hadn't chosen a specific time for it. Let me know if there is a time that works better than others. |
@mziccard I don't remember why we ended up including those Are any of your other dependencies (e.g. BigQuery) packaging their own generate protocol buffer classes, or do they all use the |
All services on top of gRPC are using their own |
Got it. Any plans to switch the Datastore client to gRPC? |
No plans yet. Do you believe you can change to use |
I can have something by the end of the week. |
New artifacts that use
|
Thank you @eddavisson, this was fast:) I'll go ahead and use the new artifacts as soon as also the VeneerToolkit layer has updated to |
@pcarrier this issue should be now fixed in |
I am closing this, please feel free to reopen if you are still experiencing the issue |
Checked yesterday, upgrade went smoothly AFAICT. Thanks! |
…13.4 (#1239) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-bigquery](https://togithub.com/googleapis/java-bigquery) | `2.13.3` -> `2.13.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.13.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.13.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.13.4/compatibility-slim/2.13.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.13.4/confidence-slim/2.13.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-bigquery</summary> ### [`v2.13.4`](https://togithub.com/googleapis/java-bigquery/blob/HEAD/CHANGELOG.md#​2134-httpsgithubcomgoogleapisjava-bigquerycomparev2133v2134-2022-06-22) [Compare Source](https://togithub.com/googleapis/java-bigquery/compare/v2.13.3...v2.13.4) ##### Dependencies - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.12 ([#​2124](https://togithub.com/googleapis/java-bigquery/issues/2124)) ([4542ce9](https://togithub.com/googleapis/java-bigquery/commit/4542ce9a51d9756a8a06d0e33cf3a40d1e321ade)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.12 ([#​2125](https://togithub.com/googleapis/java-bigquery/issues/2125)) ([6da965f](https://togithub.com/googleapis/java-bigquery/commit/6da965f540a2cdb2eaf845301cfbfbf34b9a6866)) </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, click this checkbox. --- 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).
🤖 I have created a release *beep* *boop* --- ## [3.4.0](googleapis/java-asset@v3.3.1...v3.4.0) (2022-06-30) ### Features * Enable REST transport for most of Java and Go clients ([googleapis#1242](googleapis/java-asset#1242)) ([86eb248](googleapis/java-asset@86eb248)) ### Bug Fixes * update gapic-generator-java with mock service generation fixes ([googleapis#1249](googleapis/java-asset#1249)) ([7d124ad](googleapis/java-asset@7d124ad)) ### Dependencies * update dependency com.google.api.grpc:proto-google-cloud-orgpolicy-v1 to v2.2.1 ([googleapis#1245](googleapis/java-asset#1245)) ([9b0d4e9](googleapis/java-asset@9b0d4e9)) * update dependency com.google.api.grpc:proto-google-cloud-pubsub-v1 to v1.101.0 ([googleapis#1228](googleapis/java-asset#1228)) ([c5f1712](googleapis/java-asset@c5f1712)) * update dependency com.google.api.grpc:proto-google-cloud-pubsub-v1 to v1.101.1 ([googleapis#1233](googleapis/java-asset#1233)) ([42031ef](googleapis/java-asset@42031ef)) * update dependency com.google.api.grpc:proto-google-identity-accesscontextmanager-v1 to v1.3.1 ([googleapis#1246](googleapis/java-asset#1246)) ([d868803](googleapis/java-asset@d868803)) * update dependency com.google.cloud:google-cloud-bigquery to v2.13.1 ([googleapis#1227](googleapis/java-asset#1227)) ([113c52f](googleapis/java-asset@113c52f)) * update dependency com.google.cloud:google-cloud-bigquery to v2.13.3 ([googleapis#1234](googleapis/java-asset#1234)) ([7006c44](googleapis/java-asset@7006c44)) * update dependency com.google.cloud:google-cloud-bigquery to v2.13.4 ([googleapis#1239](googleapis/java-asset#1239)) ([9c59632](googleapis/java-asset@9c59632)) * update dependency com.google.cloud:google-cloud-bigquery to v2.13.6 ([googleapis#1244](googleapis/java-asset#1244)) ([a305745](googleapis/java-asset@a305745)) * update dependency com.google.cloud:google-cloud-core to v2.8.0 ([googleapis#1238](googleapis/java-asset#1238)) ([8224b02](googleapis/java-asset@8224b02)) * update dependency com.google.cloud:google-cloud-resourcemanager to v1.4.0 ([googleapis#1230](googleapis/java-asset#1230)) ([5655582](googleapis/java-asset@5655582)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([googleapis#1241](googleapis/java-asset#1241)) ([2ebe221](googleapis/java-asset@2ebe221)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…1575) (#1239) Source-Link: googleapis/synthtool@2e9ac19 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
datastore-v1-protos
shipscom.google.protobuf.Timestamp
which implementscom.google.protobuf.GeneratedMessage
protobuf-java
3.0.2 shipscom.google.protobuf.Timestamp
which implementscom.google.protobuf.GeneratedMessageV3
protobuf-java
picked by the classloader,google-cloud-datastore
classes (egcom.google.datastore.v1.Value.toBuilder
) triggerjava.lang.VerifyError
(Type 'com/google/protobuf/Timestamp' (current frame, stack[1]) is not assignable to 'com/google/protobuf/GeneratedMessage'
)datastore-v1-protos
from the classpath and generating the classes from proto ourselves then breaksgoogle-cloud-datastore
, eg because of itscom/google/cloud/datastore/PathElement.toPb()Lcom/google/protobuf/GeneratedMessage;
.I don't even know where to report this, maybe the protobuf team, but I figured the Google Cloud Platform team was a safer bet given it impacts their customers.
The text was updated successfully, but these errors were encountered: