Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit 41c3f20

Browse files
committed
feat: Regenerate libraries with protobuf-4.x
1 parent 31ee5a3 commit 41c3f20

8,997 files changed

Lines changed: 2392020 additions & 7925 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.kokoro/presubmit/graalvm-native-a.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.54.1" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.54.2-SNAPSHOT" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-b.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.54.1" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.54.2-SNAPSHOT" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-c.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.54.1" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.54.2-SNAPSHOT" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2492,6 +2492,15 @@
24922492
"allDeclaredClasses": true,
24932493
"allPublicClasses": true
24942494
},
2495+
{
2496+
"name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnforceNamingStyle",
2497+
"queryAllDeclaredConstructors": true,
2498+
"queryAllPublicConstructors": true,
2499+
"queryAllDeclaredMethods": true,
2500+
"allPublicMethods": true,
2501+
"allDeclaredClasses": true,
2502+
"allPublicClasses": true
2503+
},
24952504
{
24962505
"name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType",
24972506
"queryAllDeclaredConstructors": true,
@@ -2546,6 +2555,33 @@
25462555
"allDeclaredClasses": true,
25472556
"allPublicClasses": true
25482557
},
2558+
{
2559+
"name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature",
2560+
"queryAllDeclaredConstructors": true,
2561+
"queryAllPublicConstructors": true,
2562+
"queryAllDeclaredMethods": true,
2563+
"allPublicMethods": true,
2564+
"allDeclaredClasses": true,
2565+
"allPublicClasses": true
2566+
},
2567+
{
2568+
"name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$Builder",
2569+
"queryAllDeclaredConstructors": true,
2570+
"queryAllPublicConstructors": true,
2571+
"queryAllDeclaredMethods": true,
2572+
"allPublicMethods": true,
2573+
"allDeclaredClasses": true,
2574+
"allPublicClasses": true
2575+
},
2576+
{
2577+
"name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$DefaultSymbolVisibility",
2578+
"queryAllDeclaredConstructors": true,
2579+
"queryAllPublicConstructors": true,
2580+
"queryAllDeclaredMethods": true,
2581+
"allPublicMethods": true,
2582+
"allDeclaredClasses": true,
2583+
"allPublicClasses": true
2584+
},
25492585
{
25502586
"name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults",
25512587
"queryAllDeclaredConstructors": true,
@@ -2663,6 +2699,24 @@
26632699
"allDeclaredClasses": true,
26642700
"allPublicClasses": true
26652701
},
2702+
{
2703+
"name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport",
2704+
"queryAllDeclaredConstructors": true,
2705+
"queryAllPublicConstructors": true,
2706+
"queryAllDeclaredMethods": true,
2707+
"allPublicMethods": true,
2708+
"allDeclaredClasses": true,
2709+
"allPublicClasses": true
2710+
},
2711+
{
2712+
"name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport$Builder",
2713+
"queryAllDeclaredConstructors": true,
2714+
"queryAllPublicConstructors": true,
2715+
"queryAllDeclaredMethods": true,
2716+
"allPublicMethods": true,
2717+
"allDeclaredClasses": true,
2718+
"allPublicClasses": true
2719+
},
26662720
{
26672721
"name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType",
26682722
"queryAllDeclaredConstructors": true,
@@ -2969,6 +3023,15 @@
29693023
"allDeclaredClasses": true,
29703024
"allPublicClasses": true
29713025
},
3026+
{
3027+
"name": "com.google.protobuf.DescriptorProtos$SymbolVisibility",
3028+
"queryAllDeclaredConstructors": true,
3029+
"queryAllPublicConstructors": true,
3030+
"queryAllDeclaredMethods": true,
3031+
"allPublicMethods": true,
3032+
"allDeclaredClasses": true,
3033+
"allPublicClasses": true
3034+
},
29723035
{
29733036
"name": "com.google.protobuf.DescriptorProtos$UninterpretedOption",
29743037
"queryAllDeclaredConstructors": true,

out

Lines changed: 715 additions & 0 deletions
Large diffs are not rendered by default.

output/.bazelignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.bcr/

output/.bazeliskrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# See https://github.com/bazelbuild/bazelisk
2+
USE_BAZEL_VERSION=6.3.0

output/.bazelrc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# To make proto_library rules to include source info in the descriptor
2+
build --protocopt=--include_source_info
3+
build --protocopt=--experimental_allow_proto3_optional
4+
# New boringssl requires C++14
5+
build --repo_env=BAZEL_CXXOPTS="-std=c++14"
6+
7+
# This is to avoid JVM SIGBUS crashes on highly parallel builds,
8+
# see https://github.com/bazelbuild/bazel/issues/3236 for more details
9+
build --enable_platform_specific_config
10+
build:linux --sandbox_tmpfs_path=/tmp
11+
12+
# Do not create bazel-* symlinks in the workspace directory
13+
build:linux --experimental_convenience_symlinks=ignore
14+
test:linux --experimental_convenience_symlinks=ignore
15+
run:linux --experimental_convenience_symlinks=ignore
16+
17+
### Required Typecheck Performance Selection
18+
# passes an argument `--skipLibCheck` to *every* spawn of tsc
19+
# Bazel 6.4 or greater: 'common' means 'any command that supports this flag'
20+
common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
21+
22+
# Between Bazel 6.0 and 6.3, you need all of this, to avoid discarding the analysis cache:
23+
build --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
24+
fetch --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
25+
query --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
26+
### END Required Typecheck Performance Selection

output/.bcr/README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# BCR Publisher
2+
3+
This document explains how to use the `publish-to-bcr.sh` script to publish `googleapis` to the Bazel Central Registry (BCR).
4+
5+
## Usage
6+
7+
The `publish-to-bcr.sh` script is used to automate the process of creating a new version of the `googleapis` module in the BCR.
8+
9+
### Arguments
10+
11+
The script accepts the following arguments:
12+
13+
* `-r`, `--ref`: **(Required)** The git ref (commit SHA, tag, or branch) of `googleapis` to be published.
14+
* `-t`, `--templates_ref`: The git ref to use for the templates. Defaults to the value of `--ref`.
15+
* `-o`, `--org`: The GitHub organization. Defaults to `googleapis`.
16+
* `-p`, `--protobuf_version`: The version of protobuf to use. Defaults to `21.7`.
17+
* `-b`, `--bcr_organization`: The GitHub organization for the Bazel Central Registry. Defaults to `bazelbuild`.
18+
* `-f`, `--bcr_folder`: The local path to a fork of the `bazel-central-registry` repository. If not provided, the script will clone it from `https://github.com/{bcr_organization}/bazel-central-registry`.
19+
20+
### Example
21+
22+
```bash
23+
./publish-to-bcr.sh --ref <your-commit-sha>
24+
```
25+
26+
### After running the script
27+
28+
After the script is executed, it will perform the following actions:
29+
30+
1. A new branch will be created in your local fork of `bazel-central-registry`.
31+
2. The script will prompt you to create a Pull Request. If you agree, a new PR will be created in the `bazelbuild/bazel-central-registry` repository.
32+
3. The script will automatically add a comment to the PR with the content: `@bazel-io skip_check unstable_url`. This is necessary to bypass the URL stability check.
33+
34+
Once the Pull Request has been created and all Continuous Integration (CI) checks are passing, a maintainer of the Bazel Central Registry will review and merge it.
35+
36+
#### Note on re-running the script
37+
38+
During development, you may need to run the script several times.
39+
Between each call, it's strongly recommended to reset your local fork of bazel-central-registry.
40+
For this, you can run the following command:
41+
42+
```bash
43+
pushd "${fork_location}"
44+
git reset --hard
45+
git checkout main
46+
git clean -d -f
47+
popd
48+
```
49+
50+
## Testing
51+
52+
To run the unit tests for the script, use the following command:
53+
54+
```bash
55+
./publish-to-bcr_test.sh
56+
```

0 commit comments

Comments
 (0)