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 — feat: Upgrade protobuf runtime and gen code to 4.33.x (#4000) by blakeli0 · Pull Request #4074 · googleapis/sdk-platform-java

This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Conversation

@blakeli0

@blakeli0 blakeli0 commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Protobuf-java v4.33.x restored gen code compatibility to 3.0.0. Upgrade protobuf runtime and gen code to 4.33.x should have minimum risks now. See
go/cloud-java:protobuf-4.x-upgrade for details.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@blakeli0 @cloud-java-bot @diegomarquezp
feat: Upgrade protobuf runtime and gen code to 4.33. (#4000)
b5f1407
Protobuf-java v4.33 restored gen code compatibility to 3.0.0. Upgrade
protobuf runtime and gen code to 4.33 should have minimum risks now.
See
[go/cloud-java:protobuf-4.x-upgrade](http://goto.google.com/cloud-java:protobuf-4.x-upgrade)
for details.

---------

Co-authored-by: cloud-java-bot <[email protected]>
Co-authored-by: Diego Marquez <[email protected]>
@product-auto-label product-auto-label Bot added the size: xl Pull request size is extra large. label Jan 21, 2026
@gemini-code-assist

gemini-code-assist Bot commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @blakeli0, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a significant infrastructure update, migrating the project's Protobuf dependencies to version 4.33.x. This upgrade is crucial for maintaining compatibility and leveraging the latest features and performance improvements offered by Protobuf. The changes are primarily confined to build configurations and the automatically generated Java source files, ensuring a consistent and modern Protobuf environment across the codebase.

Highlights

  • Protobuf Version Upgrade: The pull request upgrades the Protobuf compiler (PROTOC_VERSION) in cloudbuild configurations from 25.8 to 33.2 and the protobuf.version in the pom.xml to 4.33.0.
  • Generated Code Updates: All generated Java Protobuf files have been updated to reflect the new version, including changes from com.google.protobuf.GeneratedMessageV3 to com.google.protobuf.GeneratedMessage, the addition of @com.google.protobuf.Generated annotations, and runtime version validation checks.
  • API Modernization: Deprecated methods and patterns within Protobuf's generated code, such as newInstance(UnusedPrivateParameter unused) and various builder methods (clone, setField, etc.), have been removed or updated to align with the 4.33.x API.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Jan 21, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

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.

Code Review

This pull request successfully upgrades the Protobuf runtime and regenerates the associated Java code to version 4.33.x. The changes observed across the various .java and .Dockerfile files are consistent with a standard Protobuf version upgrade, including API changes in GeneratedMessage and GeneratedMessageV3 classes, new runtime version validation, and internal optimizations for repeated fields. The pom.xml also correctly reflects the new Protobuf dependency version. No issues were found that require specific comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cloud-java-bot and others added 4 commits January 21, 2026 03:48
@cloud-java-bot
chore: generate libraries at Wed Jan 21 03:46:54 UTC 2026
193d221
@blakeli0
deps: upgrade protobuf runtime to 4.33.2
6e8597e
@blakeli0
Update cloudbuild-library-generation-integration-test.yaml
39a4e74
@blakeli0
Update cloudbuild-library-generation-integration-test.yaml
e347568
@blakeli0
blakeli0 requested a review from JoeWang1127 January 21, 2026 22:34
JoeWang1127
JoeWang1127 previously approved these changes Jan 22, 2026
View reviewed changes
@blakeli0
Merge branch 'main' into upgrade-protobuf
749f8f5
@blakeli0
blakeli0 dismissed JoeWang1127’s stale review via 749f8f5 January 22, 2026 03:06
@sonarqubecloud

sonarqubecloud Bot commented Jan 22, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'gapic-generator-java-root'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
18.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sonarqubecloud

sonarqubecloud Bot commented Jan 22, 2026

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

diegomarquezp
diegomarquezp approved these changes Jan 22, 2026
View reviewed changes
@blakeli0
blakeli0 merged commit 3e37376 into main Jan 22, 2026
59 of 62 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@blakeli0
blakeli0 deleted the upgrade-protobuf branch January 22, 2026 17:28
@release-please release-please Bot mentioned this pull request Jan 22, 2026
chore(main): release 2.66.0 #4072
Merged
JoeWang1127 pushed a commit that referenced this pull request Jan 23, 2026
@release-please
chore(main): release 2.66.0 (#4072)
29cbd0a
🤖 I have created a release *beep* *boop*
---


<details><summary>2.66.0</summary>

##
[2.66.0](v2.65.1...v2.66.0)
(2026-01-23)


### Features

* Upgrade protobuf runtime and gen code to 4.33.x
([#4000](#4000))
([#4074](#4074))
([3e37376](3e37376))


### Dependencies

* Downgrade opentelemetry to 1.51.0
([#4075](#4075))
([cf65482](cf65482))
* update auth library to 1.42.0
([#4087](#4087))
([ad9ee07](ad9ee07))
* update googleapis/java-cloud-bom digest to ef3656d
([#3630](#3630))
([790bcf0](790bcf0))
* update http-client to 2.1.0
([#4086](#4086))
([d8bc8f5](d8bc8f5))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
lqiu96 pushed a commit that referenced this pull request Feb 12, 2026
@blakeli0 @cloud-java-bot
@diegomarquezp @lqiu96
feat: Upgrade protobuf runtime and gen code to 4.33.x (#4000) (#4074)
b693df4
Protobuf-java
[v4.33.x](https://github.com/protocolbuffers/protobuf/releases/tag/v33.0)
restored gen code compatibility to 3.0.0. Upgrade protobuf runtime and
gen code to 4.33.x should have minimum risks now. See

[go/cloud-java:protobuf-4.x-upgrade](http://goto.google.com/cloud-java:protobuf-4.x-upgrade)
for details.

---------

Co-authored-by: cloud-java-bot <[email protected]>
Co-authored-by: Diego Marquez <[email protected]>
lqiu96 pushed a commit that referenced this pull request Feb 12, 2026
@release-please @lqiu96
chore(main): release 2.66.0 (#4072)
d7a3ed4
🤖 I have created a release *beep* *boop*
---


<details><summary>2.66.0</summary>

##
[2.66.0](v2.65.1...v2.66.0)
(2026-01-23)


### Features

* Upgrade protobuf runtime and gen code to 4.33.x
([#4000](#4000))
([#4074](#4074))
([3e37376](3e37376))


### Dependencies

* Downgrade opentelemetry to 1.51.0
([#4075](#4075))
([cf65482](cf65482))
* update auth library to 1.42.0
([#4087](#4087))
([ad9ee07](ad9ee07))
* update googleapis/java-cloud-bom digest to ef3656d
([#3630](#3630))
([790bcf0](790bcf0))
* update http-client to 2.1.0
([#4086](#4086))
([d8bc8f5](d8bc8f5))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13 pushed a commit to googleapis/google-cloud-java that referenced this pull request Mar 24, 2026
@release-please
chore(main): release 2.66.0 (#4072)
68175f5
🤖 I have created a release *beep* *boop*
---


<details><summary>2.66.0</summary>

##
[2.66.0](googleapis/sdk-platform-java@v2.65.1...v2.66.0)
(2026-01-23)


### Features

* Upgrade protobuf runtime and gen code to 4.33.x
([#4000](googleapis/sdk-platform-java#4000))
([#4074](googleapis/sdk-platform-java#4074))
([fe9fdf2](googleapis/sdk-platform-java@fe9fdf2))


### Dependencies

* Downgrade opentelemetry to 1.51.0
([#4075](googleapis/sdk-platform-java#4075))
([b594cef](googleapis/sdk-platform-java@b594cef))
* update auth library to 1.42.0
([#4087](googleapis/sdk-platform-java#4087))
([62e35e5](googleapis/sdk-platform-java@62e35e5))
* update googleapis/java-cloud-bom digest to ef3656d
([#3630](googleapis/sdk-platform-java#3630))
([0db9a4c](googleapis/sdk-platform-java@0db9a4c))
* update http-client to 2.1.0
([#4086](googleapis/sdk-platform-java#4086))
([c623677](googleapis/sdk-platform-java@c623677))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

3 more reviewers
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
@diegomarquezp diegomarquezp diegomarquezp approved these changes
@JoeWang1127 JoeWang1127 JoeWang1127 left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size: xl Pull request size is extra large.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@blakeli0 @diegomarquezp @JoeWang1127 @cloud-java-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.