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
This commit is contained in:
Google APIs 2025-10-20 12:43:31 -07:00 committed by Copybara-Service
parent c288189b43
commit 539c0489da

View file

@ -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 = [