From 539c0489da165ac181b709dc48480b62ea46e2b7 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Mon, 20 Oct 2025 12:43:31 -0700 Subject: [PATCH] fix: upgrade gRPC service registration func An update to Go gRPC Protobuf generation will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go service files. This change should affect very few client library users. See release notes advisories in https://github.com/googleapis/google-cloud-go/pull/11025. PiperOrigin-RevId: 821760058 --- google/example/library/v1/BUILD.bazel | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/google/example/library/v1/BUILD.bazel b/google/example/library/v1/BUILD.bazel index 35ae7b987c..6f381de393 100644 --- a/google/example/library/v1/BUILD.bazel +++ b/google/example/library/v1/BUILD.bazel @@ -23,7 +23,7 @@ load( "csharp_proto_library", "go_gapic_assembly_pkg", "go_gapic_library", - "go_proto_library", + "go_grpc_library", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -119,9 +119,8 @@ java_gapic_assembly_gradle_pkg( ], ) -go_proto_library( +go_grpc_library( name = "library_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], importpath = "google.golang.org/genproto/googleapis/example/library/v1", protos = [":library_proto"], deps = [