From 51effdd04e29e0133a49c8f7edd2fb03d06c9b43 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 15 Oct 2025 14:52:32 -0400 Subject: [PATCH 01/27] deps: Bump grpc-java to v1.76.0 --- gapic-generator-java-pom-parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml index 0eba4c4640..dde2b04f97 100644 --- a/gapic-generator-java-pom-parent/pom.xml +++ b/gapic-generator-java-pom-parent/pom.xml @@ -27,7 +27,7 @@ 1.3.2 - 1.71.0 + 1.76.0 1.39.1 1.47.1 2.12.1 From e7a9b3a93b542639be4f8fe0994cfd83726058a8 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 16 Oct 2025 16:02:23 +0100 Subject: [PATCH 02/27] deps: update google auth library dependencies to v1.40.0 (#3945) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [com.google.auth:google-auth-library-credentials](https://redirect.github.com/googleapis/google-auth-library-java) | `1.39.1` -> `1.40.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.auth:google-auth-library-credentials/1.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.auth:google-auth-library-credentials/1.39.1/1.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.auth:google-auth-library-oauth2-http](https://redirect.github.com/googleapis/google-auth-library-java) | `1.39.1` -> `1.40.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.auth:google-auth-library-oauth2-http/1.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.auth:google-auth-library-oauth2-http/1.39.1/1.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.auth:google-auth-library-bom](https://redirect.github.com/googleapis/google-auth-library-java) | `1.39.1` -> `1.40.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.auth:google-auth-library-bom/1.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.auth:google-auth-library-bom/1.39.1/1.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. ---
googleapis/google-auth-library-java (com.google.auth:google-auth-library-credentials) [`v1.40.0`](https://redirect.github.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#1400-2025-10-14) [Compare Source](https://redirect.github.com/googleapis/google-auth-library-java/compare/v1.39.1...v1.40.0) - Add projectId getter to GoogleCredentials ([#​1813](https://redirect.github.com/googleapis/google-auth-library-java/issues/1813)) ([c3d9ee0](https://redirect.github.com/googleapis/google-auth-library-java/commit/c3d9ee09df30a26586b0e834cfda7763fd7854f5)) - Support user defined or json defined scopes for impersonated token ([#​1815](https://redirect.github.com/googleapis/google-auth-library-java/issues/1815)) ([84fc566](https://redirect.github.com/googleapis/google-auth-library-java/commit/84fc566d92f03e648cd82a8860fb191520bb6c7e)) - Bump guava to v33.5.0 ([#​1825](https://redirect.github.com/googleapis/google-auth-library-java/issues/1825)) ([79f0a35](https://redirect.github.com/googleapis/google-auth-library-java/commit/79f0a353e12a8206584e9031989861ca6abaaf85))
--- 📅 **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 these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/sdk-platform-java). Co-authored-by: Lawrence Qiu --- gapic-generator-java-pom-parent/pom.xml | 2 +- gax-java/dependencies.properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml index d5f84f528c..5cf3f75745 100644 --- a/gapic-generator-java-pom-parent/pom.xml +++ b/gapic-generator-java-pom-parent/pom.xml @@ -28,7 +28,7 @@ consistent across modules in this repository --> 1.3.2 1.76.0 - 1.39.1 + 1.40.0 2.0.2 2.12.1 33.5.0-jre diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties index e3ec9d13b5..5c7cc466bb 100644 --- a/gax-java/dependencies.properties +++ b/gax-java/dependencies.properties @@ -37,8 +37,8 @@ version.io_grpc=1.71.0 # 2) Replace all characters which are neither alphabetic nor digits with the underscore ('_') character maven.com_google_api_grpc_proto_google_common_protos=com.google.api.grpc:proto-google-common-protos:2.61.1 maven.com_google_api_grpc_grpc_google_common_protos=com.google.api.grpc:grpc-google-common-protos:2.61.1 -maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:1.39.1 -maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:1.39.1 +maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:1.40.0 +maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:1.40.0 maven.io_opentelemetry_opentelemetry_api=io.opentelemetry:opentelemetry-api:1.47.0 maven.io_opencensus_opencensus_api=io.opencensus:opencensus-api:0.31.1 maven.io_opencensus_opencensus_contrib_grpc_metrics=io.opencensus:opencensus-contrib-grpc-metrics:0.31.1 From d879011d1395cbc2b692661be834dde74a8c3537 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 16 Oct 2025 15:31:42 +0000 Subject: [PATCH 03/27] chore: Upper bound file deps change has chore type (#3949) Update to the `chore:` type so it doesn't show up in the release notes --- renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/renovate.json b/renovate.json index d2b21a583a..a319663dbd 100644 --- a/renovate.json +++ b/renovate.json @@ -221,6 +221,7 @@ "matchManagers": [ "regex" ], + "semanticCommitType": "chore", "matchFileNames": ["dependencies.txt"], "matchDatasources": ["maven"], "groupName": "Upper Bound Dependencies File", From 0aead11d9e7be034ff388cc6d6c1273162a1ba90 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 16 Oct 2025 11:33:46 -0400 Subject: [PATCH 04/27] chore: Update dependencies.properties and cloudbuild docker files --- .cloudbuild/library_generation/library_generation.Dockerfile | 2 +- .../library_generation/library_generation_airlock.Dockerfile | 2 +- gax-java/dependencies.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.cloudbuild/library_generation/library_generation.Dockerfile b/.cloudbuild/library_generation/library_generation.Dockerfile index c516ac42eb..fc521ee764 100644 --- a/.cloudbuild/library_generation/library_generation.Dockerfile +++ b/.cloudbuild/library_generation/library_generation.Dockerfile @@ -38,7 +38,7 @@ FROM docker.io/library/python:3.13.2-slim@sha256:6b3223eb4d93718828223966ad31690 ARG OWLBOT_CLI_COMMITTISH=3a68a9c0de318784b3aefadcc502a6521b3f1bc5 ARG PROTOC_VERSION=25.8 -ARG GRPC_VERSION=1.71.0 +ARG GRPC_VERSION=1.76.0 ENV HOME=/home ENV OS_ARCHITECTURE="linux-x86_64" diff --git a/.cloudbuild/library_generation/library_generation_airlock.Dockerfile b/.cloudbuild/library_generation/library_generation_airlock.Dockerfile index 4115f3a7fa..4d92d20d8a 100644 --- a/.cloudbuild/library_generation/library_generation_airlock.Dockerfile +++ b/.cloudbuild/library_generation/library_generation_airlock.Dockerfile @@ -39,7 +39,7 @@ FROM us-docker.pkg.dev/artifact-foundry-prod/docker-3p-trusted/python@sha256:afc ARG OWLBOT_CLI_COMMITTISH=3a68a9c0de318784b3aefadcc502a6521b3f1bc5 ARG PROTOC_VERSION=25.8 -ARG GRPC_VERSION=1.71.0 +ARG GRPC_VERSION=1.76.0 ENV HOME=/home ENV OS_ARCHITECTURE="linux-x86_64" diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties index 5c7cc466bb..b0b84f4882 100644 --- a/gax-java/dependencies.properties +++ b/gax-java/dependencies.properties @@ -28,7 +28,7 @@ version.gax_httpjson=2.70.4-SNAPSHOT version.com_google_protobuf=3.25.8 version.google_java_format=1.15.0 -version.io_grpc=1.71.0 +version.io_grpc=1.76.0 # Maven artifacts. # Note, the actual name of each property matters (bazel build scripts depend on it). From 01d3b8bf181bab6a1042f81e8919c99301b0a7f3 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 16 Oct 2025 15:47:46 +0000 Subject: [PATCH 05/27] chore: generate libraries at Thu Oct 16 15:45:27 UTC 2025 --- .../google/cloud/location/LocationsGrpc.java | 11 ++--- .../google/longrunning/OperationsGrpc.java | 23 ++++----- .../java/com/google/iam/v1/IAMPolicyGrpc.java | 17 ++++--- .../java/com/google/iam/v2/PoliciesGrpc.java | 24 +++++----- .../com/google/iam/v2beta/PoliciesGrpc.java | 24 +++++----- .../com/google/iam/v3/PolicyBindingsGrpc.java | 28 +++++------ .../PrincipalAccessBoundaryPoliciesGrpc.java | 33 +++++++------ .../google/iam/v3beta/PolicyBindingsGrpc.java | 28 +++++------ .../PrincipalAccessBoundaryPoliciesGrpc.java | 33 +++++++------ .../showcase/v1beta1/ComplianceGrpc.java | 43 ++++++++--------- .../com/google/showcase/v1beta1/EchoGrpc.java | 39 +++++++-------- .../google/showcase/v1beta1/IdentityGrpc.java | 23 ++++----- .../showcase/v1beta1/MessagingGrpc.java | 47 +++++++++---------- .../showcase/v1beta1/SequenceServiceGrpc.java | 26 +++++----- .../google/showcase/v1beta1/TestingGrpc.java | 35 +++++++------- 15 files changed, 207 insertions(+), 227 deletions(-) diff --git a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java index db4ea9047a..83bd5cbeae 100644 --- a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java +++ b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java @@ -26,9 +26,6 @@ * [Location.metadata][google.cloud.location.Location.metadata] field. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/location/locations.proto") @io.grpc.stub.annotations.GrpcGenerated public final class LocationsGrpc { @@ -315,8 +312,8 @@ protected LocationsBlockingV2Stub build( * */ public com.google.cloud.location.ListLocationsResponse listLocations( - com.google.cloud.location.ListLocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.cloud.location.ListLocationsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListLocationsMethod(), getCallOptions(), request); } @@ -328,8 +325,8 @@ public com.google.cloud.location.ListLocationsResponse listLocations( * */ public com.google.cloud.location.Location getLocation( - com.google.cloud.location.GetLocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.cloud.location.GetLocationRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetLocationMethod(), getCallOptions(), request); } } diff --git a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java index f279b1b9d5..1cb88adae9 100644 --- a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java +++ b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java @@ -31,9 +31,6 @@ * developers can have a consistent client experience. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/longrunning/operations.proto") @io.grpc.stub.annotations.GrpcGenerated public final class OperationsGrpc { @@ -602,8 +599,8 @@ protected OperationsBlockingV2Stub build( * */ public com.google.longrunning.ListOperationsResponse listOperations( - com.google.longrunning.ListOperationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.longrunning.ListOperationsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListOperationsMethod(), getCallOptions(), request); } @@ -617,8 +614,8 @@ public com.google.longrunning.ListOperationsResponse listOperations( * */ public com.google.longrunning.Operation getOperation( - com.google.longrunning.GetOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.longrunning.GetOperationRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetOperationMethod(), getCallOptions(), request); } @@ -633,8 +630,8 @@ public com.google.longrunning.Operation getOperation( * */ public com.google.protobuf.Empty deleteOperation( - com.google.longrunning.DeleteOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.longrunning.DeleteOperationRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteOperationMethod(), getCallOptions(), request); } @@ -656,8 +653,8 @@ public com.google.protobuf.Empty deleteOperation( * */ public com.google.protobuf.Empty cancelOperation( - com.google.longrunning.CancelOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.longrunning.CancelOperationRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCancelOperationMethod(), getCallOptions(), request); } @@ -677,8 +674,8 @@ public com.google.protobuf.Empty cancelOperation( * */ public com.google.longrunning.Operation waitOperation( - com.google.longrunning.WaitOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.longrunning.WaitOperationRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getWaitOperationMethod(), getCallOptions(), request); } } diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java index 9c1eb28262..72e3dc9d8e 100644 --- a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java +++ b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java @@ -41,9 +41,6 @@ * attached. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v1/iam_policy.proto") @io.grpc.stub.annotations.GrpcGenerated public final class IAMPolicyGrpc { @@ -473,8 +470,9 @@ protected IAMPolicyBlockingV2Stub build( * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. * */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); } @@ -487,8 +485,9 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque * set. * */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); } @@ -505,8 +504,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque * */ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v1.TestIamPermissionsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } } diff --git a/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java b/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java index ef9eccd8a2..d36e86e7de 100644 --- a/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java +++ b/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java @@ -24,9 +24,6 @@ * An interface for managing Identity and Access Management (IAM) policies. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v2/policy.proto") @io.grpc.stub.annotations.GrpcGenerated public final class PoliciesGrpc { @@ -525,8 +522,8 @@ protected PoliciesBlockingV2Stub build( * */ public com.google.iam.v2.ListPoliciesResponse listPolicies( - com.google.iam.v2.ListPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v2.ListPoliciesRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListPoliciesMethod(), getCallOptions(), request); } @@ -537,8 +534,9 @@ public com.google.iam.v2.ListPoliciesResponse listPolicies( * Gets a policy. * */ - public com.google.iam.v2.Policy getPolicy(com.google.iam.v2.GetPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.iam.v2.Policy getPolicy(com.google.iam.v2.GetPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetPolicyMethod(), getCallOptions(), request); } @@ -550,8 +548,8 @@ public com.google.iam.v2.Policy getPolicy(com.google.iam.v2.GetPolicyRequest req * */ public com.google.longrunning.Operation createPolicy( - com.google.iam.v2.CreatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v2.CreatePolicyRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreatePolicyMethod(), getCallOptions(), request); } @@ -569,8 +567,8 @@ public com.google.longrunning.Operation createPolicy( * */ public com.google.longrunning.Operation updatePolicy( - com.google.iam.v2.UpdatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v2.UpdatePolicyRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); } @@ -582,8 +580,8 @@ public com.google.longrunning.Operation updatePolicy( * */ public com.google.longrunning.Operation deletePolicy( - com.google.iam.v2.DeletePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v2.DeletePolicyRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeletePolicyMethod(), getCallOptions(), request); } } diff --git a/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java b/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java index f46f577747..485c59c521 100644 --- a/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java +++ b/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java @@ -24,9 +24,6 @@ * An interface for managing Identity and Access Management (IAM) policies. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v2beta/policy.proto") @io.grpc.stub.annotations.GrpcGenerated public final class PoliciesGrpc { @@ -526,8 +523,8 @@ protected PoliciesBlockingV2Stub build( * */ public com.google.iam.v2beta.ListPoliciesResponse listPolicies( - com.google.iam.v2beta.ListPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v2beta.ListPoliciesRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListPoliciesMethod(), getCallOptions(), request); } @@ -538,8 +535,9 @@ public com.google.iam.v2beta.ListPoliciesResponse listPolicies( * Gets a policy. * */ - public com.google.iam.v2beta.Policy getPolicy(com.google.iam.v2beta.GetPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.iam.v2beta.Policy getPolicy(com.google.iam.v2beta.GetPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetPolicyMethod(), getCallOptions(), request); } @@ -551,8 +549,8 @@ public com.google.iam.v2beta.Policy getPolicy(com.google.iam.v2beta.GetPolicyReq * */ public com.google.longrunning.Operation createPolicy( - com.google.iam.v2beta.CreatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v2beta.CreatePolicyRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreatePolicyMethod(), getCallOptions(), request); } @@ -570,8 +568,8 @@ public com.google.longrunning.Operation createPolicy( * */ public com.google.longrunning.Operation updatePolicy( - com.google.iam.v2beta.UpdatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v2beta.UpdatePolicyRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); } @@ -583,8 +581,8 @@ public com.google.longrunning.Operation updatePolicy( * */ public com.google.longrunning.Operation deletePolicy( - com.google.iam.v2beta.DeletePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v2beta.DeletePolicyRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeletePolicyMethod(), getCallOptions(), request); } } diff --git a/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PolicyBindingsGrpc.java b/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PolicyBindingsGrpc.java index 93d44384b5..d6d6ae0f17 100644 --- a/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PolicyBindingsGrpc.java +++ b/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PolicyBindingsGrpc.java @@ -25,9 +25,6 @@ * bindings. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v3/policy_bindings_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class PolicyBindingsGrpc { @@ -639,8 +636,8 @@ protected PolicyBindingsBlockingV2Stub build( * */ public com.google.longrunning.Operation createPolicyBinding( - com.google.iam.v3.CreatePolicyBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.CreatePolicyBindingRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreatePolicyBindingMethod(), getCallOptions(), request); } @@ -652,8 +649,8 @@ public com.google.longrunning.Operation createPolicyBinding( * */ public com.google.iam.v3.PolicyBinding getPolicyBinding( - com.google.iam.v3.GetPolicyBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.GetPolicyBindingRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetPolicyBindingMethod(), getCallOptions(), request); } @@ -669,8 +666,8 @@ public com.google.iam.v3.PolicyBinding getPolicyBinding( * */ public com.google.longrunning.Operation updatePolicyBinding( - com.google.iam.v3.UpdatePolicyBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.UpdatePolicyBindingRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdatePolicyBindingMethod(), getCallOptions(), request); } @@ -684,8 +681,8 @@ public com.google.longrunning.Operation updatePolicyBinding( * */ public com.google.longrunning.Operation deletePolicyBinding( - com.google.iam.v3.DeletePolicyBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.DeletePolicyBindingRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeletePolicyBindingMethod(), getCallOptions(), request); } @@ -697,8 +694,8 @@ public com.google.longrunning.Operation deletePolicyBinding( * */ public com.google.iam.v3.ListPolicyBindingsResponse listPolicyBindings( - com.google.iam.v3.ListPolicyBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.ListPolicyBindingsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListPolicyBindingsMethod(), getCallOptions(), request); } @@ -711,8 +708,9 @@ public com.google.iam.v3.ListPolicyBindingsResponse listPolicyBindings( * */ public com.google.iam.v3.SearchTargetPolicyBindingsResponse searchTargetPolicyBindings( - com.google.iam.v3.SearchTargetPolicyBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.SearchTargetPolicyBindingsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getSearchTargetPolicyBindingsMethod(), getCallOptions(), request); } } diff --git a/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PrincipalAccessBoundaryPoliciesGrpc.java b/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PrincipalAccessBoundaryPoliciesGrpc.java index 1f9bb0fab4..3c4ff222e0 100644 --- a/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PrincipalAccessBoundaryPoliciesGrpc.java +++ b/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PrincipalAccessBoundaryPoliciesGrpc.java @@ -25,9 +25,6 @@ * policies. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v3/principal_access_boundary_policies_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class PrincipalAccessBoundaryPoliciesGrpc { @@ -688,8 +685,9 @@ protected PrincipalAccessBoundaryPoliciesBlockingV2Stub build( * */ public com.google.longrunning.Operation createPrincipalAccessBoundaryPolicy( - com.google.iam.v3.CreatePrincipalAccessBoundaryPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.CreatePrincipalAccessBoundaryPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreatePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request); } @@ -701,8 +699,9 @@ public com.google.longrunning.Operation createPrincipalAccessBoundaryPolicy( * */ public com.google.iam.v3.PrincipalAccessBoundaryPolicy getPrincipalAccessBoundaryPolicy( - com.google.iam.v3.GetPrincipalAccessBoundaryPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.GetPrincipalAccessBoundaryPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetPrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request); } @@ -714,8 +713,9 @@ public com.google.iam.v3.PrincipalAccessBoundaryPolicy getPrincipalAccessBoundar * */ public com.google.longrunning.Operation updatePrincipalAccessBoundaryPolicy( - com.google.iam.v3.UpdatePrincipalAccessBoundaryPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.UpdatePrincipalAccessBoundaryPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdatePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request); } @@ -727,8 +727,9 @@ public com.google.longrunning.Operation updatePrincipalAccessBoundaryPolicy( * */ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy( - com.google.iam.v3.DeletePrincipalAccessBoundaryPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.DeletePrincipalAccessBoundaryPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeletePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request); } @@ -741,8 +742,9 @@ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy( */ public com.google.iam.v3.ListPrincipalAccessBoundaryPoliciesResponse listPrincipalAccessBoundaryPolicies( - com.google.iam.v3.ListPrincipalAccessBoundaryPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.ListPrincipalAccessBoundaryPoliciesRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListPrincipalAccessBoundaryPoliciesMethod(), getCallOptions(), request); } @@ -756,8 +758,9 @@ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy( */ public com.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsResponse searchPrincipalAccessBoundaryPolicyBindings( - com.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getSearchPrincipalAccessBoundaryPolicyBindingsMethod(), getCallOptions(), diff --git a/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PolicyBindingsGrpc.java b/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PolicyBindingsGrpc.java index 4e58618bc0..5b8e2eae77 100644 --- a/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PolicyBindingsGrpc.java +++ b/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PolicyBindingsGrpc.java @@ -25,9 +25,6 @@ * bindings. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v3beta/policy_bindings_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class PolicyBindingsGrpc { @@ -646,8 +643,8 @@ protected PolicyBindingsBlockingV2Stub build( * */ public com.google.longrunning.Operation createPolicyBinding( - com.google.iam.v3beta.CreatePolicyBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.CreatePolicyBindingRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreatePolicyBindingMethod(), getCallOptions(), request); } @@ -659,8 +656,8 @@ public com.google.longrunning.Operation createPolicyBinding( * */ public com.google.iam.v3beta.PolicyBinding getPolicyBinding( - com.google.iam.v3beta.GetPolicyBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.GetPolicyBindingRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetPolicyBindingMethod(), getCallOptions(), request); } @@ -676,8 +673,8 @@ public com.google.iam.v3beta.PolicyBinding getPolicyBinding( * */ public com.google.longrunning.Operation updatePolicyBinding( - com.google.iam.v3beta.UpdatePolicyBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.UpdatePolicyBindingRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdatePolicyBindingMethod(), getCallOptions(), request); } @@ -691,8 +688,8 @@ public com.google.longrunning.Operation updatePolicyBinding( * */ public com.google.longrunning.Operation deletePolicyBinding( - com.google.iam.v3beta.DeletePolicyBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.DeletePolicyBindingRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeletePolicyBindingMethod(), getCallOptions(), request); } @@ -704,8 +701,8 @@ public com.google.longrunning.Operation deletePolicyBinding( * */ public com.google.iam.v3beta.ListPolicyBindingsResponse listPolicyBindings( - com.google.iam.v3beta.ListPolicyBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.ListPolicyBindingsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListPolicyBindingsMethod(), getCallOptions(), request); } @@ -718,8 +715,9 @@ public com.google.iam.v3beta.ListPolicyBindingsResponse listPolicyBindings( * */ public com.google.iam.v3beta.SearchTargetPolicyBindingsResponse searchTargetPolicyBindings( - com.google.iam.v3beta.SearchTargetPolicyBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.SearchTargetPolicyBindingsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getSearchTargetPolicyBindingsMethod(), getCallOptions(), request); } } diff --git a/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PrincipalAccessBoundaryPoliciesGrpc.java b/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PrincipalAccessBoundaryPoliciesGrpc.java index 65c8524162..c827de7f99 100644 --- a/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PrincipalAccessBoundaryPoliciesGrpc.java +++ b/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PrincipalAccessBoundaryPoliciesGrpc.java @@ -25,9 +25,6 @@ * policies. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v3beta/principal_access_boundary_policies_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class PrincipalAccessBoundaryPoliciesGrpc { @@ -694,8 +691,9 @@ protected PrincipalAccessBoundaryPoliciesBlockingV2Stub build( * */ public com.google.longrunning.Operation createPrincipalAccessBoundaryPolicy( - com.google.iam.v3beta.CreatePrincipalAccessBoundaryPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.CreatePrincipalAccessBoundaryPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreatePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request); } @@ -707,8 +705,9 @@ public com.google.longrunning.Operation createPrincipalAccessBoundaryPolicy( * */ public com.google.iam.v3beta.PrincipalAccessBoundaryPolicy getPrincipalAccessBoundaryPolicy( - com.google.iam.v3beta.GetPrincipalAccessBoundaryPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.GetPrincipalAccessBoundaryPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetPrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request); } @@ -720,8 +719,9 @@ public com.google.iam.v3beta.PrincipalAccessBoundaryPolicy getPrincipalAccessBou * */ public com.google.longrunning.Operation updatePrincipalAccessBoundaryPolicy( - com.google.iam.v3beta.UpdatePrincipalAccessBoundaryPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.UpdatePrincipalAccessBoundaryPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdatePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request); } @@ -733,8 +733,9 @@ public com.google.longrunning.Operation updatePrincipalAccessBoundaryPolicy( * */ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy( - com.google.iam.v3beta.DeletePrincipalAccessBoundaryPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.DeletePrincipalAccessBoundaryPolicyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeletePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request); } @@ -747,8 +748,9 @@ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy( */ public com.google.iam.v3beta.ListPrincipalAccessBoundaryPoliciesResponse listPrincipalAccessBoundaryPolicies( - com.google.iam.v3beta.ListPrincipalAccessBoundaryPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.ListPrincipalAccessBoundaryPoliciesRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListPrincipalAccessBoundaryPoliciesMethod(), getCallOptions(), request); } @@ -762,8 +764,9 @@ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy( */ public com.google.iam.v3beta.SearchPrincipalAccessBoundaryPolicyBindingsResponse searchPrincipalAccessBoundaryPolicyBindings( - com.google.iam.v3beta.SearchPrincipalAccessBoundaryPolicyBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.iam.v3beta.SearchPrincipalAccessBoundaryPolicyBindingsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getSearchPrincipalAccessBoundaryPolicyBindingsMethod(), getCallOptions(), diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java index f4efab8f03..5c42138987 100644 --- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java +++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java @@ -26,9 +26,6 @@ * correctly. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: schema/google/showcase/v1beta1/compliance.proto") @io.grpc.stub.annotations.GrpcGenerated public final class ComplianceGrpc { @@ -919,8 +916,8 @@ protected ComplianceBlockingV2Stub build( * */ public com.google.showcase.v1beta1.RepeatResponse repeatDataBody( - com.google.showcase.v1beta1.RepeatRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getRepeatDataBodyMethod(), getCallOptions(), request); } @@ -934,8 +931,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataBody( * */ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyInfo( - com.google.showcase.v1beta1.RepeatRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getRepeatDataBodyInfoMethod(), getCallOptions(), request); } @@ -948,8 +945,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyInfo( * */ public com.google.showcase.v1beta1.RepeatResponse repeatDataQuery( - com.google.showcase.v1beta1.RepeatRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getRepeatDataQueryMethod(), getCallOptions(), request); } @@ -963,8 +960,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataQuery( * */ public com.google.showcase.v1beta1.RepeatResponse repeatDataSimplePath( - com.google.showcase.v1beta1.RepeatRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getRepeatDataSimplePathMethod(), getCallOptions(), request); } @@ -976,8 +973,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataSimplePath( * */ public com.google.showcase.v1beta1.RepeatResponse repeatDataPathResource( - com.google.showcase.v1beta1.RepeatRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getRepeatDataPathResourceMethod(), getCallOptions(), request); } @@ -989,8 +986,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataPathResource( * */ public com.google.showcase.v1beta1.RepeatResponse repeatDataPathTrailingResource( - com.google.showcase.v1beta1.RepeatRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getRepeatDataPathTrailingResourceMethod(), getCallOptions(), request); } @@ -1002,8 +999,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataPathTrailingResource * */ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPut( - com.google.showcase.v1beta1.RepeatRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getRepeatDataBodyPutMethod(), getCallOptions(), request); } @@ -1015,8 +1012,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPut( * */ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPatch( - com.google.showcase.v1beta1.RepeatRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getRepeatDataBodyPatchMethod(), getCallOptions(), request); } @@ -1032,8 +1029,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPatch( * */ public com.google.showcase.v1beta1.EnumResponse getEnum( - com.google.showcase.v1beta1.EnumRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.EnumRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetEnumMethod(), getCallOptions(), request); } @@ -1049,8 +1046,8 @@ public com.google.showcase.v1beta1.EnumResponse getEnum( * */ public com.google.showcase.v1beta1.EnumResponse verifyEnum( - com.google.showcase.v1beta1.EnumResponse request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.EnumResponse request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getVerifyEnumMethod(), getCallOptions(), request); } } diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java index b83ffb26c4..0d30b3d3e2 100644 --- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java +++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java @@ -30,9 +30,6 @@ * echoed in the response headers. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: schema/google/showcase/v1beta1/echo.proto") @io.grpc.stub.annotations.GrpcGenerated public final class EchoGrpc { @@ -1033,8 +1030,8 @@ protected EchoBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions * */ public com.google.showcase.v1beta1.EchoResponse echo( - com.google.showcase.v1beta1.EchoRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.EchoRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getEchoMethod(), getCallOptions(), request); } @@ -1051,8 +1048,9 @@ public com.google.showcase.v1beta1.EchoResponse echo( * */ public com.google.showcase.v1beta1.EchoErrorDetailsResponse echoErrorDetails( - com.google.showcase.v1beta1.EchoErrorDetailsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.EchoErrorDetailsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getEchoErrorDetailsMethod(), getCallOptions(), request); } @@ -1070,8 +1068,9 @@ public com.google.showcase.v1beta1.EchoErrorDetailsResponse echoErrorDetails( * */ public com.google.showcase.v1beta1.FailEchoWithDetailsResponse failEchoWithDetails( - com.google.showcase.v1beta1.FailEchoWithDetailsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.FailEchoWithDetailsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getFailEchoWithDetailsMethod(), getCallOptions(), request); } @@ -1133,8 +1132,8 @@ public io.grpc.stub.BlockingClientCall */ public com.google.showcase.v1beta1.PagedExpandResponse pagedExpand( - com.google.showcase.v1beta1.PagedExpandRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.PagedExpandRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getPagedExpandMethod(), getCallOptions(), request); } @@ -1148,8 +1147,9 @@ public com.google.showcase.v1beta1.PagedExpandResponse pagedExpand( * */ public com.google.showcase.v1beta1.PagedExpandResponse pagedExpandLegacy( - com.google.showcase.v1beta1.PagedExpandLegacyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.PagedExpandLegacyRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getPagedExpandLegacyMethod(), getCallOptions(), request); } @@ -1165,8 +1165,8 @@ public com.google.showcase.v1beta1.PagedExpandResponse pagedExpandLegacy( * */ public com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse pagedExpandLegacyMapped( - com.google.showcase.v1beta1.PagedExpandRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.PagedExpandRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getPagedExpandLegacyMappedMethod(), getCallOptions(), request); } @@ -1178,8 +1178,9 @@ public com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse pagedExpandLe * This method showcases how a client handles a request timeout. * */ - public com.google.longrunning.Operation wait(com.google.showcase.v1beta1.WaitRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.longrunning.Operation wait(com.google.showcase.v1beta1.WaitRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getWaitMethod(), getCallOptions(), request); } @@ -1193,8 +1194,8 @@ public com.google.longrunning.Operation wait(com.google.showcase.v1beta1.WaitReq * */ public com.google.showcase.v1beta1.BlockResponse block( - com.google.showcase.v1beta1.BlockRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.BlockRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getBlockMethod(), getCallOptions(), request); } } diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java index e26d47b132..bc0f6987e3 100644 --- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java +++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java @@ -24,9 +24,6 @@ * A simple identity service. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: schema/google/showcase/v1beta1/identity.proto") @io.grpc.stub.annotations.GrpcGenerated public final class IdentityGrpc { @@ -502,8 +499,8 @@ protected IdentityBlockingV2Stub build( * */ public com.google.showcase.v1beta1.User createUser( - com.google.showcase.v1beta1.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.CreateUserRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateUserMethod(), getCallOptions(), request); } @@ -515,8 +512,8 @@ public com.google.showcase.v1beta1.User createUser( * */ public com.google.showcase.v1beta1.User getUser( - com.google.showcase.v1beta1.GetUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.GetUserRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetUserMethod(), getCallOptions(), request); } @@ -528,8 +525,8 @@ public com.google.showcase.v1beta1.User getUser( * */ public com.google.showcase.v1beta1.User updateUser( - com.google.showcase.v1beta1.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.UpdateUserRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateUserMethod(), getCallOptions(), request); } @@ -541,8 +538,8 @@ public com.google.showcase.v1beta1.User updateUser( * */ public com.google.protobuf.Empty deleteUser( - com.google.showcase.v1beta1.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.DeleteUserRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteUserMethod(), getCallOptions(), request); } @@ -554,8 +551,8 @@ public com.google.protobuf.Empty deleteUser( * */ public com.google.showcase.v1beta1.ListUsersResponse listUsers( - com.google.showcase.v1beta1.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.ListUsersRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListUsersMethod(), getCallOptions(), request); } } diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java index 5fbeab3a55..48b744397b 100644 --- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java +++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java @@ -26,9 +26,6 @@ * generated by gapic-generators implement. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: schema/google/showcase/v1beta1/messaging.proto") @io.grpc.stub.annotations.GrpcGenerated public final class MessagingGrpc { @@ -1178,8 +1175,8 @@ protected MessagingBlockingV2Stub build( * */ public com.google.showcase.v1beta1.Room createRoom( - com.google.showcase.v1beta1.CreateRoomRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.CreateRoomRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateRoomMethod(), getCallOptions(), request); } @@ -1191,8 +1188,8 @@ public com.google.showcase.v1beta1.Room createRoom( * */ public com.google.showcase.v1beta1.Room getRoom( - com.google.showcase.v1beta1.GetRoomRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.GetRoomRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetRoomMethod(), getCallOptions(), request); } @@ -1204,8 +1201,8 @@ public com.google.showcase.v1beta1.Room getRoom( * */ public com.google.showcase.v1beta1.Room updateRoom( - com.google.showcase.v1beta1.UpdateRoomRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.UpdateRoomRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateRoomMethod(), getCallOptions(), request); } @@ -1217,8 +1214,8 @@ public com.google.showcase.v1beta1.Room updateRoom( * */ public com.google.protobuf.Empty deleteRoom( - com.google.showcase.v1beta1.DeleteRoomRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.DeleteRoomRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteRoomMethod(), getCallOptions(), request); } @@ -1230,8 +1227,8 @@ public com.google.protobuf.Empty deleteRoom( * */ public com.google.showcase.v1beta1.ListRoomsResponse listRooms( - com.google.showcase.v1beta1.ListRoomsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.ListRoomsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListRoomsMethod(), getCallOptions(), request); } @@ -1245,8 +1242,8 @@ public com.google.showcase.v1beta1.ListRoomsResponse listRooms( * */ public com.google.showcase.v1beta1.Blurb createBlurb( - com.google.showcase.v1beta1.CreateBlurbRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.CreateBlurbRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateBlurbMethod(), getCallOptions(), request); } @@ -1258,8 +1255,8 @@ public com.google.showcase.v1beta1.Blurb createBlurb( * */ public com.google.showcase.v1beta1.Blurb getBlurb( - com.google.showcase.v1beta1.GetBlurbRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.GetBlurbRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetBlurbMethod(), getCallOptions(), request); } @@ -1271,8 +1268,8 @@ public com.google.showcase.v1beta1.Blurb getBlurb( * */ public com.google.showcase.v1beta1.Blurb updateBlurb( - com.google.showcase.v1beta1.UpdateBlurbRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.UpdateBlurbRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateBlurbMethod(), getCallOptions(), request); } @@ -1284,8 +1281,8 @@ public com.google.showcase.v1beta1.Blurb updateBlurb( * */ public com.google.protobuf.Empty deleteBlurb( - com.google.showcase.v1beta1.DeleteBlurbRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.DeleteBlurbRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteBlurbMethod(), getCallOptions(), request); } @@ -1298,8 +1295,8 @@ public com.google.protobuf.Empty deleteBlurb( * */ public com.google.showcase.v1beta1.ListBlurbsResponse listBlurbs( - com.google.showcase.v1beta1.ListBlurbsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.ListBlurbsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListBlurbsMethod(), getCallOptions(), request); } @@ -1313,8 +1310,8 @@ public com.google.showcase.v1beta1.ListBlurbsResponse listBlurbs( * */ public com.google.longrunning.Operation searchBlurbs( - com.google.showcase.v1beta1.SearchBlurbsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.SearchBlurbsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getSearchBlurbsMethod(), getCallOptions(), request); } diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceServiceGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceServiceGrpc.java index 139ea32045..7172cf958f 100644 --- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceServiceGrpc.java +++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceServiceGrpc.java @@ -18,9 +18,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName; /** */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: schema/google/showcase/v1beta1/sequence.proto") @io.grpc.stub.annotations.GrpcGenerated public final class SequenceServiceGrpc { @@ -607,8 +604,8 @@ protected SequenceServiceBlockingV2Stub build( * */ public com.google.showcase.v1beta1.Sequence createSequence( - com.google.showcase.v1beta1.CreateSequenceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.CreateSequenceRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateSequenceMethod(), getCallOptions(), request); } @@ -620,8 +617,9 @@ public com.google.showcase.v1beta1.Sequence createSequence( * */ public com.google.showcase.v1beta1.StreamingSequence createStreamingSequence( - com.google.showcase.v1beta1.CreateStreamingSequenceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.CreateStreamingSequenceRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateStreamingSequenceMethod(), getCallOptions(), request); } @@ -633,8 +631,9 @@ public com.google.showcase.v1beta1.StreamingSequence createStreamingSequence( * */ public com.google.showcase.v1beta1.SequenceReport getSequenceReport( - com.google.showcase.v1beta1.GetSequenceReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.GetSequenceReportRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetSequenceReportMethod(), getCallOptions(), request); } @@ -646,8 +645,9 @@ public com.google.showcase.v1beta1.SequenceReport getSequenceReport( * */ public com.google.showcase.v1beta1.StreamingSequenceReport getStreamingSequenceReport( - com.google.showcase.v1beta1.GetStreamingSequenceReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.GetStreamingSequenceReportRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetStreamingSequenceReportMethod(), getCallOptions(), request); } @@ -659,8 +659,8 @@ public com.google.showcase.v1beta1.StreamingSequenceReport getStreamingSequenceR * */ public com.google.protobuf.Empty attemptSequence( - com.google.showcase.v1beta1.AttemptSequenceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.AttemptSequenceRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getAttemptSequenceMethod(), getCallOptions(), request); } diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestingGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestingGrpc.java index 6b4f09524f..36f60a584b 100644 --- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestingGrpc.java +++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestingGrpc.java @@ -28,9 +28,6 @@ * 2) [Nonsense][]: `pokemon/*/psychic/*` * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: schema/google/showcase/v1beta1/testing.proto") @io.grpc.stub.annotations.GrpcGenerated public final class TestingGrpc { @@ -780,8 +777,8 @@ protected TestingBlockingV2Stub build( * */ public com.google.showcase.v1beta1.Session createSession( - com.google.showcase.v1beta1.CreateSessionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.CreateSessionRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateSessionMethod(), getCallOptions(), request); } @@ -793,8 +790,8 @@ public com.google.showcase.v1beta1.Session createSession( * */ public com.google.showcase.v1beta1.Session getSession( - com.google.showcase.v1beta1.GetSessionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.GetSessionRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetSessionMethod(), getCallOptions(), request); } @@ -806,8 +803,8 @@ public com.google.showcase.v1beta1.Session getSession( * */ public com.google.showcase.v1beta1.ListSessionsResponse listSessions( - com.google.showcase.v1beta1.ListSessionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.ListSessionsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListSessionsMethod(), getCallOptions(), request); } @@ -819,8 +816,8 @@ public com.google.showcase.v1beta1.ListSessionsResponse listSessions( * */ public com.google.protobuf.Empty deleteSession( - com.google.showcase.v1beta1.DeleteSessionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.DeleteSessionRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteSessionMethod(), getCallOptions(), request); } @@ -834,8 +831,8 @@ public com.google.protobuf.Empty deleteSession( * */ public com.google.showcase.v1beta1.ReportSessionResponse reportSession( - com.google.showcase.v1beta1.ReportSessionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.ReportSessionRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getReportSessionMethod(), getCallOptions(), request); } @@ -847,8 +844,8 @@ public com.google.showcase.v1beta1.ReportSessionResponse reportSession( * */ public com.google.showcase.v1beta1.ListTestsResponse listTests( - com.google.showcase.v1beta1.ListTestsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.ListTestsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListTestsMethod(), getCallOptions(), request); } @@ -863,8 +860,8 @@ public com.google.showcase.v1beta1.ListTestsResponse listTests( * */ public com.google.protobuf.Empty deleteTest( - com.google.showcase.v1beta1.DeleteTestRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.DeleteTestRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteTestMethod(), getCallOptions(), request); } @@ -878,8 +875,8 @@ public com.google.protobuf.Empty deleteTest( * */ public com.google.showcase.v1beta1.VerifyTestResponse verifyTest( - com.google.showcase.v1beta1.VerifyTestRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.showcase.v1beta1.VerifyTestRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getVerifyTestMethod(), getCallOptions(), request); } } From cb6ffdc9ca45318de472124487c96a2e660ffe82 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 16 Oct 2025 17:24:48 +0000 Subject: [PATCH 06/27] chore: Resolve bazel issue --- WORKSPACE | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index ec570c4b86..e2182bcb3e 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -97,9 +97,16 @@ load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories") grpc_java_repositories() -load("@envoy_api//bazel:repositories.bzl", "api_dependencies") +load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") -api_dependencies() +git_repository( + name = "bazel_jar_jar", + commit = "4e7bf26da8bc8c955578fd8c8a2c763757d344df", # Latest commit SHA as of 2023/10/31 + remote = "https://github.com/bazeltools/bazel_jar_jar.git", +) + +load("@bazel_jar_jar//:jar_jar.bzl", "jar_jar_repositories") +jar_jar_repositories() _disco_to_proto3_converter_commit = "ce8d8732120cdfb5bf4847c3238b5be8acde87e3" From e80c3aaf02ae6fe2461538a97d4b5bd1db64987d Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 28 Oct 2025 16:39:43 -0400 Subject: [PATCH 07/27] chore: Update config for constructor access for MpscUnpaddedArrayQueue --- .../com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index fa8fa77d24..e1e725b1e8 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -73,6 +73,9 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { // Misc. classes used by grpc-netty-shaded registerForReflectiveInstantiation( access, "io.grpc.netty.shaded.io.netty.channel.socket.nio.NioSocketChannel"); + registerForReflectiveInstantiation( + access, + "io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue"); registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil"); registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.util.ReferenceCountUtil"); From 8e3d9046f6a7051d0c494d9ef1952c027ae2d420 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 28 Oct 2025 16:50:24 -0400 Subject: [PATCH 08/27] chore: Update config for constructor access for MpscUnpaddedArrayQueue --- .../google/api/gax/grpc/nativeimage/GrpcNettyFeature.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index e1e725b1e8..e32fd0fb67 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -73,9 +73,6 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { // Misc. classes used by grpc-netty-shaded registerForReflectiveInstantiation( access, "io.grpc.netty.shaded.io.netty.channel.socket.nio.NioSocketChannel"); - registerForReflectiveInstantiation( - access, - "io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue"); registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil"); registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.util.ReferenceCountUtil"); @@ -122,6 +119,9 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket"); + registerClassForReflection( + access, + "io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue"); // tcnative registerClassForReflection( From 9dbadae9a6b5eb149ccc267232536a7f33b26a6e Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 12:33:48 -0400 Subject: [PATCH 09/27] chore: Remove netty graalvm configs --- .../com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index e32fd0fb67..fa8fa77d24 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -119,9 +119,6 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket"); - registerClassForReflection( - access, - "io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue"); // tcnative registerClassForReflection( From cf8d47968caaaa4dbc4c80f3071919b31d212380 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 13:31:03 -0400 Subject: [PATCH 10/27] chore: Register MpscUnpaddedArrayQueue's constructors --- .../com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index fa8fa77d24..c01356c54b 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -32,6 +32,7 @@ import static com.google.api.gax.nativeimage.NativeImageUtils.registerClassForReflection; import static com.google.api.gax.nativeimage.NativeImageUtils.registerClassHierarchyForReflection; +import static com.google.api.gax.nativeimage.NativeImageUtils.registerConstructorsForReflection; import static com.google.api.gax.nativeimage.NativeImageUtils.registerForReflectiveInstantiation; import static com.google.api.gax.nativeimage.NativeImageUtils.registerForUnsafeFieldAccess; @@ -105,6 +106,9 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { access, "io.grpc.netty.shaded.io.grpc.netty.ProtocolNegotiators$GrpcNegotiationHandler"); registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.channel.ChannelHandlerMask"); + registerConstructorsForReflection( + access, + "io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue"); // Epoll Libraries registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.channel.epoll.Epoll"); From e99a52dcfc68fe63a7827c6268ebf4ba4bc9bbd2 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 13:55:57 -0400 Subject: [PATCH 11/27] chore: Register all super class constructors --- .../google/api/gax/grpc/nativeimage/GrpcNettyFeature.java | 2 +- .../com/google/api/gax/nativeimage/NativeImageUtils.java | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index c01356c54b..1e78d8c77a 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -106,7 +106,7 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { access, "io.grpc.netty.shaded.io.grpc.netty.ProtocolNegotiators$GrpcNegotiationHandler"); registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.channel.ChannelHandlerMask"); - registerConstructorsForReflection( + registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue"); diff --git a/gax-java/gax/src/main/java/com/google/api/gax/nativeimage/NativeImageUtils.java b/gax-java/gax/src/main/java/com/google/api/gax/nativeimage/NativeImageUtils.java index 603d26e3c5..e05f11a677 100644 --- a/gax-java/gax/src/main/java/com/google/api/gax/nativeimage/NativeImageUtils.java +++ b/gax-java/gax/src/main/java/com/google/api/gax/nativeimage/NativeImageUtils.java @@ -88,9 +88,13 @@ public static void registerClassForReflection(FeatureAccess access, String name) Class clazz = access.findClassByName(name); if (clazz != null) { RuntimeReflection.register(clazz); - RuntimeReflection.register(clazz.getDeclaredConstructors()); RuntimeReflection.register(clazz.getDeclaredFields()); RuntimeReflection.register(clazz.getDeclaredMethods()); + + while (clazz != null) { + RuntimeReflection.register(clazz.getDeclaredConstructors()); + clazz = clazz.getSuperclass(); + } } else { LOGGER.log(Level.WARNING, CLASS_REFLECTION_ERROR_MESSAGE, name); } From 7e9a4e1ac6462c3e513a17c5dda81395983074e2 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 13:57:50 -0400 Subject: [PATCH 12/27] chore: Fix lint issues --- .../com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java | 1 - 1 file changed, 1 deletion(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index 1e78d8c77a..f226fe0fc6 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -32,7 +32,6 @@ import static com.google.api.gax.nativeimage.NativeImageUtils.registerClassForReflection; import static com.google.api.gax.nativeimage.NativeImageUtils.registerClassHierarchyForReflection; -import static com.google.api.gax.nativeimage.NativeImageUtils.registerConstructorsForReflection; import static com.google.api.gax.nativeimage.NativeImageUtils.registerForReflectiveInstantiation; import static com.google.api.gax.nativeimage.NativeImageUtils.registerForUnsafeFieldAccess; From c069bcd90dedc33a77263edf2ac6a02223e339c4 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 15:28:00 -0400 Subject: [PATCH 13/27] chore: Add class to be initialized at runtime --- .../com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java | 3 --- .../com.google.api/gax-grpc/native-image.properties | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index f226fe0fc6..fa8fa77d24 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -105,9 +105,6 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { access, "io.grpc.netty.shaded.io.grpc.netty.ProtocolNegotiators$GrpcNegotiationHandler"); registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.channel.ChannelHandlerMask"); - registerClassForReflection( - access, - "io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue"); // Epoll Libraries registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.channel.epoll.Epoll"); diff --git a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties index 34d2d999ca..a7a9e55648 100644 --- a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties +++ b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties @@ -10,5 +10,6 @@ Args=--add-opens=java.base/java.time=ALL-UNNAMED \ io.grpc.netty.shaded.io.netty.channel.unix,\ io.grpc.netty.shaded.io.netty.handler.ssl,\ io.grpc.internal.RetriableStream,\ - io.grpc.netty.shaded.io.netty \ + io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue, \ + io.grpc.netty.shaded.io.netty --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature From 6f788c03fea822e5a0bf6b931c11e8c37cf51e65 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 21:26:07 -0400 Subject: [PATCH 14/27] chore: Add PlatformDependent class to the runtime declaration --- .../com.google.api/gax-grpc/native-image.properties | 2 +- .../com/google/api/gax/nativeimage/NativeImageUtils.java | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties index a7a9e55648..a22d469ceb 100644 --- a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties +++ b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties @@ -10,6 +10,6 @@ Args=--add-opens=java.base/java.time=ALL-UNNAMED \ io.grpc.netty.shaded.io.netty.channel.unix,\ io.grpc.netty.shaded.io.netty.handler.ssl,\ io.grpc.internal.RetriableStream,\ - io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue, \ + io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent,\ io.grpc.netty.shaded.io.netty --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature diff --git a/gax-java/gax/src/main/java/com/google/api/gax/nativeimage/NativeImageUtils.java b/gax-java/gax/src/main/java/com/google/api/gax/nativeimage/NativeImageUtils.java index e05f11a677..603d26e3c5 100644 --- a/gax-java/gax/src/main/java/com/google/api/gax/nativeimage/NativeImageUtils.java +++ b/gax-java/gax/src/main/java/com/google/api/gax/nativeimage/NativeImageUtils.java @@ -88,13 +88,9 @@ public static void registerClassForReflection(FeatureAccess access, String name) Class clazz = access.findClassByName(name); if (clazz != null) { RuntimeReflection.register(clazz); + RuntimeReflection.register(clazz.getDeclaredConstructors()); RuntimeReflection.register(clazz.getDeclaredFields()); RuntimeReflection.register(clazz.getDeclaredMethods()); - - while (clazz != null) { - RuntimeReflection.register(clazz.getDeclaredConstructors()); - clazz = clazz.getSuperclass(); - } } else { LOGGER.log(Level.WARNING, CLASS_REFLECTION_ERROR_MESSAGE, name); } From 9954a2f460cbaa32d8a6ed5dafd7c4d431813324 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 21:59:30 -0400 Subject: [PATCH 15/27] chore: Register PlatformDependent class --- .../com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java | 2 ++ .../com.google.api/gax-grpc/native-image.properties | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index fa8fa77d24..8cfdff81d0 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -105,6 +105,8 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { access, "io.grpc.netty.shaded.io.grpc.netty.ProtocolNegotiators$GrpcNegotiationHandler"); registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.channel.ChannelHandlerMask"); + registerClassForReflection( + access, "io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent"); // Epoll Libraries registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.channel.epoll.Epoll"); diff --git a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties index a22d469ceb..51a66b9f3a 100644 --- a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties +++ b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties @@ -10,6 +10,5 @@ Args=--add-opens=java.base/java.time=ALL-UNNAMED \ io.grpc.netty.shaded.io.netty.channel.unix,\ io.grpc.netty.shaded.io.netty.handler.ssl,\ io.grpc.internal.RetriableStream,\ - io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent,\ io.grpc.netty.shaded.io.netty --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature From 524f90e6b0fcfdad2d84c1c11f239b35124b5931 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 22:14:41 -0400 Subject: [PATCH 16/27] chore: Add platform dependenent for runtime --- .../com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java | 2 -- .../com.google.api/gax-grpc/native-image.properties | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index 8cfdff81d0..fa8fa77d24 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -105,8 +105,6 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { access, "io.grpc.netty.shaded.io.grpc.netty.ProtocolNegotiators$GrpcNegotiationHandler"); registerClassForReflection( access, "io.grpc.netty.shaded.io.netty.channel.ChannelHandlerMask"); - registerClassForReflection( - access, "io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent"); // Epoll Libraries registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.channel.epoll.Epoll"); diff --git a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties index 51a66b9f3a..3ec2f6d7f0 100644 --- a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties +++ b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties @@ -1,4 +1,5 @@ Args=--add-opens=java.base/java.time=ALL-UNNAMED \ + --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED \ --initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ @@ -10,5 +11,6 @@ Args=--add-opens=java.base/java.time=ALL-UNNAMED \ io.grpc.netty.shaded.io.netty.channel.unix,\ io.grpc.netty.shaded.io.netty.handler.ssl,\ io.grpc.internal.RetriableStream,\ + io.grpc.netty.shaded.io.netty.util.internal,\ io.grpc.netty.shaded.io.netty --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature From e317c385aa5a8d004ab1a3b6fecb6691252a4b93 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 23:00:49 -0400 Subject: [PATCH 17/27] chore: Add explicit configuraitons for classes --- .../com.google.api/gax-grpc/native-image.properties | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties index 3ec2f6d7f0..30d0582487 100644 --- a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties +++ b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties @@ -11,6 +11,8 @@ Args=--add-opens=java.base/java.time=ALL-UNNAMED \ io.grpc.netty.shaded.io.netty.channel.unix,\ io.grpc.netty.shaded.io.netty.handler.ssl,\ io.grpc.internal.RetriableStream,\ - io.grpc.netty.shaded.io.netty.util.internal,\ + io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent,\ + io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue,\ + io.grpc.netty.shaded.io.netty.buffer.PoolThreadCache,\ io.grpc.netty.shaded.io.netty --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature From 2eee0600a36819ab0f714ceade28f38e74692b94 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 29 Oct 2025 23:58:29 -0400 Subject: [PATCH 18/27] chore: Add missing slash --- .../com.google.api/gax-grpc/native-image.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties index 30d0582487..0385f329f2 100644 --- a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties +++ b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties @@ -14,5 +14,5 @@ Args=--add-opens=java.base/java.time=ALL-UNNAMED \ io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent,\ io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue,\ io.grpc.netty.shaded.io.netty.buffer.PoolThreadCache,\ - io.grpc.netty.shaded.io.netty + io.grpc.netty.shaded.io.netty \ --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature From 5ca594e21eaecbb4e176365ef26aec9ebee05421 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 30 Oct 2025 00:13:05 -0400 Subject: [PATCH 19/27] chore: Try multiple args in native-image.properties file --- .../gax-grpc/native-image.properties | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties index 0385f329f2..4390dae17d 100644 --- a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties +++ b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties @@ -1,18 +1,20 @@ -Args=--add-opens=java.base/java.time=ALL-UNNAMED \ - --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED \ - --initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ - io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ - io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ - io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethod,\ - io.grpc.netty.shaded.io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod,\ - io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateCompressionAlgo,\ - io.grpc.netty.shaded.io.grpc.netty,\ - io.grpc.netty.shaded.io.netty.channel.epoll,\ - io.grpc.netty.shaded.io.netty.channel.unix,\ - io.grpc.netty.shaded.io.netty.handler.ssl,\ - io.grpc.internal.RetriableStream,\ - io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent,\ - io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue,\ - io.grpc.netty.shaded.io.netty.buffer.PoolThreadCache,\ - io.grpc.netty.shaded.io.netty \ - --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature +Args = --add-opens=java.base/java.time=ALL-UNNAMED +Args = --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED + +Args = --initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ +io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ +io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ +io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethod,\ +io.grpc.netty.shaded.io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod,\ +io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateCompressionAlgo,\ +io.grpc.netty.shaded.io.grpc.netty,\ +io.grpc.netty.shaded.io.netty.channel.epoll,\ +io.grpc.netty.shaded.io.netty.channel.unix,\ +io.grpc.netty.shaded.io.netty.handler.ssl,\ +io.grpc.internal.RetriableStream,\ +io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent,\ +io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue,\ +io.grpc.netty.shaded.io.netty.buffer.PoolThreadCache,\ +io.grpc.netty.shaded.io.netty + +Args = --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature \ No newline at end of file From b76820d587873863be28dc5c004a8ccd4d25555d Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 30 Oct 2025 09:38:58 -0400 Subject: [PATCH 20/27] chore: Add the unpadded versions to be registered for unsafe access --- .../grpc/nativeimage/GrpcNettyFeature.java | 12 +++++++ .../gax-grpc/native-image.properties | 34 ++++++++----------- 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index fa8fa77d24..cfec5964bd 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -148,6 +148,18 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { access, NETTY_SHADED_PACKAGE + "org.jctools.queues.MpscArrayQueueConsumerIndexField", "consumerIndex"); + registerForUnsafeFieldAccess( + access, + NETTY_SHADED_PACKAGE + "org.jctools.queues.MpscUnpaddedArrayQueueProducerIndexField", + "producerIndex"); + registerForUnsafeFieldAccess( + access, + NETTY_SHADED_PACKAGE + "org.jctools.queues.MpscUnpaddedArrayQueueProducerLimitField", + "producerLimit"); + registerForUnsafeFieldAccess( + access, + NETTY_SHADED_PACKAGE + "org.jctools.queues.MpscUnpaddedArrayQueueConsumerIndexField", + "consumerIndex"); registerForUnsafeFieldAccess( access, NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedArrayQueueProducerFields", diff --git a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties index 4390dae17d..9305b2f8b3 100644 --- a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties +++ b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties @@ -1,20 +1,14 @@ -Args = --add-opens=java.base/java.time=ALL-UNNAMED -Args = --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED - -Args = --initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ -io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ -io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ -io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethod,\ -io.grpc.netty.shaded.io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod,\ -io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateCompressionAlgo,\ -io.grpc.netty.shaded.io.grpc.netty,\ -io.grpc.netty.shaded.io.netty.channel.epoll,\ -io.grpc.netty.shaded.io.netty.channel.unix,\ -io.grpc.netty.shaded.io.netty.handler.ssl,\ -io.grpc.internal.RetriableStream,\ -io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent,\ -io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue,\ -io.grpc.netty.shaded.io.netty.buffer.PoolThreadCache,\ -io.grpc.netty.shaded.io.netty - -Args = --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature \ No newline at end of file +Args=--add-opens=java.base/java.time=ALL-UNNAMED \ + --initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ + io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ + io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ + io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethod,\ + io.grpc.netty.shaded.io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod,\ + io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateCompressionAlgo,\ + io.grpc.netty.shaded.io.grpc.netty,\ + io.grpc.netty.shaded.io.netty.channel.epoll,\ + io.grpc.netty.shaded.io.netty.channel.unix,\ + io.grpc.netty.shaded.io.netty.handler.ssl,\ + io.grpc.internal.RetriableStream,\ + io.grpc.netty.shaded.io.netty \ + --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature \ No newline at end of file From 50b1690b9a08dc08f14aabb3c584366713cf6996 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 30 Oct 2025 10:05:55 -0400 Subject: [PATCH 21/27] chore: Add the unpadded versions to be registered for unsafe access --- .../api/gax/grpc/nativeimage/GrpcNettyFeature.java | 12 ++++++++++++ .../com.google.api/gax-grpc/native-image.properties | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index cfec5964bd..dc46a054b2 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -172,6 +172,18 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { access, NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields", "consumerIndex"); + registerForUnsafeFieldAccess( + access, + NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueProducerFields", + "producerIndex"); + registerForUnsafeFieldAccess( + access, + NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueColdProducerFields", + "producerLimit"); + registerForUnsafeFieldAccess( + access, + NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueConsumerFields", + "consumerIndex"); } } diff --git a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties index 9305b2f8b3..34d2d999ca 100644 --- a/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties +++ b/gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties @@ -11,4 +11,4 @@ Args=--add-opens=java.base/java.time=ALL-UNNAMED \ io.grpc.netty.shaded.io.netty.handler.ssl,\ io.grpc.internal.RetriableStream,\ io.grpc.netty.shaded.io.netty \ - --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature \ No newline at end of file + --features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature From e96f5e12400376387adcb206a572482d4038361f Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 30 Oct 2025 10:08:23 -0400 Subject: [PATCH 22/27] chore: Add the unpadded versions to be registered for unsafe access --- .../api/gax/grpc/nativeimage/GrpcNettyFeature.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index dc46a054b2..41efe1dd45 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -174,15 +174,18 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { "consumerIndex"); registerForUnsafeFieldAccess( access, - NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueProducerFields", + NETTY_SHADED_PACKAGE + + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueProducerFields", "producerIndex"); registerForUnsafeFieldAccess( access, - NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueColdProducerFields", + NETTY_SHADED_PACKAGE + + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueColdProducerFields", "producerLimit"); registerForUnsafeFieldAccess( access, - NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueConsumerFields", + NETTY_SHADED_PACKAGE + + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueConsumerFields", "consumerIndex"); } } From ba207e7d7849ef99696b11df569ef03b8ad32a8d Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 30 Oct 2025 11:18:34 -0400 Subject: [PATCH 23/27] chore: Use the correct unpadded package --- .../api/gax/grpc/nativeimage/GrpcNettyFeature.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index 41efe1dd45..16c9e95bd8 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -150,15 +150,15 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { "consumerIndex"); registerForUnsafeFieldAccess( access, - NETTY_SHADED_PACKAGE + "org.jctools.queues.MpscUnpaddedArrayQueueProducerIndexField", + NETTY_SHADED_PACKAGE + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerIndexField", "producerIndex"); registerForUnsafeFieldAccess( access, - NETTY_SHADED_PACKAGE + "org.jctools.queues.MpscUnpaddedArrayQueueProducerLimitField", + NETTY_SHADED_PACKAGE + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerLimitField", "producerLimit"); registerForUnsafeFieldAccess( access, - NETTY_SHADED_PACKAGE + "org.jctools.queues.MpscUnpaddedArrayQueueConsumerIndexField", + NETTY_SHADED_PACKAGE + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueConsumerIndexField", "consumerIndex"); registerForUnsafeFieldAccess( access, @@ -175,17 +175,17 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { registerForUnsafeFieldAccess( access, NETTY_SHADED_PACKAGE - + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueProducerFields", + + "org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueProducerFields", "producerIndex"); registerForUnsafeFieldAccess( access, NETTY_SHADED_PACKAGE - + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueColdProducerFields", + + "org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueColdProducerFields", "producerLimit"); registerForUnsafeFieldAccess( access, NETTY_SHADED_PACKAGE - + "org.jctools.queues.BaseMpscLinkedUnpaddedArrayQueueConsumerFields", + + "org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueConsumerFields", "consumerIndex"); } } From bca799bf26ad6f85ad3ddbd59a5b161adef0bcef Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 30 Oct 2025 11:22:07 -0400 Subject: [PATCH 24/27] chore: Fix lint issues --- .../api/gax/grpc/nativeimage/GrpcNettyFeature.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java index 16c9e95bd8..88266332dc 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java @@ -150,15 +150,18 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { "consumerIndex"); registerForUnsafeFieldAccess( access, - NETTY_SHADED_PACKAGE + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerIndexField", + NETTY_SHADED_PACKAGE + + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerIndexField", "producerIndex"); registerForUnsafeFieldAccess( access, - NETTY_SHADED_PACKAGE + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerLimitField", + NETTY_SHADED_PACKAGE + + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerLimitField", "producerLimit"); registerForUnsafeFieldAccess( access, - NETTY_SHADED_PACKAGE + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueConsumerIndexField", + NETTY_SHADED_PACKAGE + + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueConsumerIndexField", "consumerIndex"); registerForUnsafeFieldAccess( access, From 8bb82fa66af9870bfa3af61ed213ee96adb2f860 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 30 Oct 2025 14:55:43 -0400 Subject: [PATCH 25/27] chore: Update the hermetic build ITs to use generator v2.63.0 --- .../cloudbuild-library-generation-integration-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml b/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml index c5f0e25d4c..6e816086d9 100644 --- a/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml +++ b/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml @@ -68,10 +68,10 @@ steps: - | mvn dependency:copy \ -B -ntp \ - -Dartifact=com.google.api:gapic-generator-java:2.55.1 \ + -Dartifact=com.google.api:gapic-generator-java:2.63.0 \ -DoutputDirectory=/workspace cd /workspace - mv gapic-generator-java-2.55.1.jar gapic-generator-java.jar + mv gapic-generator-java-2.63.0.jar gapic-generator-java.jar id: prepare-generator-jar waitFor: [ "-" ] From 4756e8b99d2b70c251dc3a5fd63eea3a70d9ce8e Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 30 Oct 2025 16:25:43 -0400 Subject: [PATCH 26/27] chore: Update WORKSPACE file with comments about new jar_jar changes --- WORKSPACE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index db89beac80..5dceabc947 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -97,14 +97,14 @@ load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories") grpc_java_repositories() +// gRPC-Java uses jar_jar for bazel: https://github.com/grpc/grpc-java/pull/12243 +// The following lines are from jar_jar's README: https://github.com/bazeltools/bazel_jar_jar?tab=readme-ov-file#how-to-add-to-bazel-via-workspace load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") - git_repository( name = "bazel_jar_jar", commit = "4e7bf26da8bc8c955578fd8c8a2c763757d344df", # Latest commit SHA as of 2023/10/31 remote = "https://github.com/bazeltools/bazel_jar_jar.git", ) - load("@bazel_jar_jar//:jar_jar.bzl", "jar_jar_repositories") jar_jar_repositories() From e989297ba17bd36a958980c465c665f30f6f0ee4 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 30 Oct 2025 16:33:51 -0400 Subject: [PATCH 27/27] chore: Fix comments in WORKSPACE file --- WORKSPACE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 5dceabc947..cdec473311 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -97,8 +97,8 @@ load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories") grpc_java_repositories() -// gRPC-Java uses jar_jar for bazel: https://github.com/grpc/grpc-java/pull/12243 -// The following lines are from jar_jar's README: https://github.com/bazeltools/bazel_jar_jar?tab=readme-ov-file#how-to-add-to-bazel-via-workspace +# gRPC-Java uses jar_jar for bazel: https://github.com/grpc/grpc-java/pull/12243 +# The following lines are from jar_jar's README: https://github.com/bazeltools/bazel_jar_jar?tab=readme-ov-file#how-to-add-to-bazel-via-workspace load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") git_repository( name = "bazel_jar_jar",