Skip to content

Commit 4b1fe4d

Browse files
Google APIscopybara-github
authored andcommitted
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 googleapis/google-cloud-go#11025. PiperOrigin-RevId: 818742685
1 parent 6821943 commit 4b1fe4d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

google/ads/datamanager/v1/BUILD.bazel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,11 @@ load(
127127
"@com_google_googleapis_imports//:imports.bzl",
128128
"go_gapic_assembly_pkg",
129129
"go_gapic_library",
130-
"go_proto_library",
130+
"go_grpc_library",
131131
)
132132

133-
go_proto_library(
133+
go_grpc_library(
134134
name = "datamanager_go_proto",
135-
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
136135
importpath = "google.golang.org/genproto/googleapis/ads/datamanager/v1",
137136
protos = [":datamanager_proto"],
138137
deps = [

google/logging/v2/BUILD.bazel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,11 @@ load(
124124
"@com_google_googleapis_imports//:imports.bzl",
125125
"go_gapic_assembly_pkg",
126126
"go_gapic_library",
127-
"go_proto_library",
127+
"go_grpc_library",
128128
)
129129

130-
go_proto_library(
130+
go_grpc_library(
131131
name = "logging_go_proto",
132-
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
133132
importpath = "cloud.google.com/go/logging/apiv2/loggingpb",
134133
protos = [":logging_proto"],
135134
deps = [

0 commit comments

Comments
 (0)