feat: Upgrade protobuf runtime and gen code to 4.33.x (#4000) by blakeli0 · Pull Request #4074 · googleapis/sdk-platform-java · GitHub
Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.

feat: Upgrade protobuf runtime and gen code to 4.33.x (#4000)#4074

Merged
blakeli0 merged 6 commits into
mainfrom
upgrade-protobuf
Jan 22, 2026
Merged

feat: Upgrade protobuf runtime and gen code to 4.33.x (#4000)#4074
blakeli0 merged 6 commits into
mainfrom
upgrade-protobuf

Conversation

@blakeli0

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.

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 <cloud-java-bot@google.com>
Co-authored-by: Diego Marquez <diegomarquezp@google.com>
@product-auto-label product-auto-label Bot added the size: xl Pull request size is extra large. label Jan 21, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

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.

@blakeli0 blakeli0 requested a review from JoeWang1127 January 21, 2026 22:34
JoeWang1127
JoeWang1127 previously approved these changes Jan 22, 2026
@sonarqubecloud

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

@sonarqubecloud

Copy link
Copy Markdown

@blakeli0 blakeli0 merged commit 3e37376 into main Jan 22, 2026
59 of 62 checks passed
@blakeli0 blakeli0 deleted the upgrade-protobuf branch January 22, 2026 17:28
JoeWang1127 pushed a commit that referenced this pull request Jan 23, 2026
🤖 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
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 <cloud-java-bot@google.com>
Co-authored-by: Diego Marquez <diegomarquezp@google.com>
lqiu96 pushed a commit that referenced this pull request Feb 12, 2026
🤖 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
🤖 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.

Labels

size: xl Pull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants