GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Datastore upgrade before Sep 30th · Issue #1291 · googleapis/google-cloud-java

Datastore upgrade before Sep 30th #1291

New issue
Copy link
New issue
Copy link
Closed
Closed
Datastore upgrade before Sep 30th#1291
Copy link
Assignees
mziccard

Description

@lahirug
lahirug
opened on Sep 28, 2016
Issue body actions

We are using dataflow api with protobuf and google api's like datastore, ads, bigquery and lot more other apis. Now we got an email to update the datastore-api to v1 (currrently using protobuf 2.6.1 and other v1beta2: datastore).

I see lot of different versions of datastore and I'm not sure what exact version to use ?

I just picked one and updated all the places which gave me compilation errors and when I try to run it in GCE I hit #1239 .

Is there a migration guide for datastore ? I'm curious even if I migrate datastore would all these work with a new protobuf version suggested in #1239 . If we have other apis working together in dataflow pipeline what is the best way to do this migration ?

Activity

  1. mziccard commented on Sep 29, 2016

    @mziccard
    mziccard
    on Sep 29, 2016
    Contributor
    More actions

    Hi @lahirug, thanks for your interest in google-cloud.

    google-cloud-datastore uses datastore v1 since version 0.2.8 (under the previous name gcloud-java-datastore - see release notes). Issue #1239 is now fixed in google-cloud-datastore 0.4.0. I suggest you try our latest version and keep us posted :)

  2. lahirug commented on Sep 29, 2016

    @lahirug
    lahirug
    on Sep 29, 2016
    Author
    More actions

    @mziccard Thanks for the response. I tried using and I got the same error as #1239 but the solution/workaround for that issue involves using protobuf-java: 3.0.0 (If I understood correct) and moving to protobuf-java: 3.0.0 is going to be a very big change for us.

    Of when you say #1239 is now fixed is it fixed properly in some jar ? If thats the case which jar should I be using ?
    Before posting this issue I tried using datastore-v1-proto-client:1.2.0 and datastore-v1-protos:1.2.0 with protobuf-java: 2.6.1 and I saw some classes are missing which I need to use in datastore (ex: Int32Value), so I gave up that too.

  3. mziccard commented on Sep 30, 2016

    @mziccard
    mziccard
    on Sep 30, 2016
    Contributor
    More actions

    Let's make some order here.

    This repository hosts the google-cloud project which is a Java-idiomatic client for Google Cloud Platform, amongst which we have google-cloud-datastore that supports Datastore. google-cloud-datastore depends on datastore-v1-proto-client and datastore-v1-protos to do its job.

    #1239 is being experienced by people already using protobuf-java 3.0.0 and depending on google-cloud < 0.4.0 which required protobuf-java 3.0.0-beta3, oddly not compatible with 3.0.0. If you are stuck to protobuf-java 2.6.1 you are experiencing a compatibility issue but not the one reported in #1239.

    All datastore-v1-proto-client and datastore-v1-protos versions that run against Datastore v1 require protobuf-java 3.0.0-beta3 or protobuf-java 3.0.0 which are not compatible with your protobuf-java 2.6.1.

    You could avoid including datastore-v1-protos and try generating Datastore v1 protos for your version of protobuf-java, but I am not sure whether this is possible. \cc @eddavisson @pcostell

  4. eddavisson commented on Sep 30, 2016

    @eddavisson
    eddavisson
    on Sep 30, 2016
    More actions

    datastore-v1-protos uses proto3 features (e.g. maps), so I don't believe it can be compiled with protobuf-java 2.6.1.

  5. mziccard commented on Oct 4, 2016

    @mziccard
    mziccard
    on Oct 4, 2016
    Contributor
    More actions

    I am closing this as it seems there's nothing we can do to help. @lahirug you'll probably have to update your protobuf version.

  6. mziccard
    closed this as completedon Oct 4, 2016
  7. JustinBeckwith
    assigned
    mziccard
    on Feb 1, 2021
  8. github-actions
    added 2 commits that reference this issue on Aug 9, 2022

    deps: update dependency com.google.cloud:google-cloud-storage to v2.1…

    3af9102

    chore(main): release 3.5.0 (#1305)

    974924f
  9. github-actions
    added a commit that references this issue on Oct 10, 2022

    chore(main): release 2.3.19-SNAPSHOT (#1291)

    124714e
  10. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore(main): release 3.14.5 (#1291)

    78ae1d5
  11. chingor13
    added 2 commits that reference this issue on Jan 6, 2026

    deps: update dependency com.google.cloud:sdk-platform-java-config to …

    67d5a93

    chore(main): release 0.131.4-alpha (#1293)

    385b182
  12. chingor13
    added 2 commits that reference this issue on Jan 22, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    5a5c78e

    chore(main): release 2.18.1 (#1286)

    a2849dd
  13. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore(main): release 3.14.5 (googleapis#1291)

    a3c83a8
  14. suztomo
    added 2 commits that reference this issue on Mar 23, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    3613970

    chore(main): release 2.11.5 (googleapis#1294)

    6551dd8
  15. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(main): release 0.127.7 (#1291)

    c9cbe69
  16. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(main): release 0.127.7 (#1291)

    567a9e4
  17. meltsufin
    added 4 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.cloud:google-cloud-core to v2.8.14 (…

    1c479de

    chore(main): release 1.120.18 (#1290)

    7e02696

    deps: update dependency com.google.cloud:google-cloud-core to v2.8.14 (…

    337349a

    chore(main): release 1.120.18 (#1290)

    a173db4
  18. benjaminp
    added 2 commits that reference this issue on Jul 13, 2026

    fix: rename response observer and callbacks (googleapis#1291)

    6af899d

    chore(main): release 2.9.0 (googleapis#1275)

    58c5cb7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @mziccard
    mziccard

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.