Skip to content

Commit 9fb55c4

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add AIInference MessageTransform type
docs: A comment for field `topic` in message `.google.pubsub.v1.Subscription` is updated docs: A comment for field `analytics_hub_subscription_info` in message `.google.pubsub.v1.Subscription` is updated docs: A comment for field `subscription` in message `.google.pubsub.v1.CreateSnapshotRequest` is updated PiperOrigin-RevId: 853856321
1 parent f814267 commit 9fb55c4

File tree

3 files changed

+73
-117
lines changed

3 files changed

+73
-117
lines changed

google/pubsub/v1/BUILD.bazel

Lines changed: 5 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1+
##############################################################################
2+
# Common
3+
##############################################################################
4+
load("@com_google_googleapis_imports//:imports.bzl", "cc_grpc_library", "cc_proto_library", "csharp_gapic_assembly_pkg", "csharp_gapic_library", "csharp_grpc_library", "csharp_proto_library", "go_gapic_assembly_pkg", "go_gapic_library", "go_grpc_library", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", "java_grpc_library", "java_proto_library", "nodejs_gapic_assembly_pkg", "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", "py_gapic_library", "py_test", "ruby_cloud_gapic_library", "ruby_gapic_assembly_pkg", "ruby_grpc_library", "ruby_proto_library")
15
load("@rules_proto//proto:defs.bzl", "proto_library")
26

37
# This is an API workspace, having public visibility by default makes perfect sense.
48
package(default_visibility = ["//visibility:public"])
59

6-
##############################################################################
7-
# Common
8-
##############################################################################
9-
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
10-
1110
proto_library(
1211
name = "pubsub_proto",
1312
srcs = [
@@ -22,6 +21,7 @@ proto_library(
2221
"@com_google_protobuf//:duration_proto",
2322
"@com_google_protobuf//:empty_proto",
2423
"@com_google_protobuf//:field_mask_proto",
24+
"@com_google_protobuf//:struct_proto",
2525
"@com_google_protobuf//:timestamp_proto",
2626
],
2727
)
@@ -36,18 +36,6 @@ proto_library_with_info(
3636
],
3737
)
3838

39-
##############################################################################
40-
# Java
41-
##############################################################################
42-
load(
43-
"@com_google_googleapis_imports//:imports.bzl",
44-
"java_gapic_assembly_gradle_pkg",
45-
"java_gapic_library",
46-
"java_gapic_test",
47-
"java_grpc_library",
48-
"java_proto_library",
49-
)
50-
5139
java_proto_library(
5240
name = "pubsub_java_proto",
5341
deps = [":pubsub_proto"],
@@ -101,16 +89,6 @@ java_gapic_assembly_gradle_pkg(
10189
],
10290
)
10391

104-
##############################################################################
105-
# Python
106-
##############################################################################
107-
load(
108-
"@com_google_googleapis_imports//:imports.bzl",
109-
"py_gapic_assembly_pkg",
110-
"py_gapic_library",
111-
"py_test",
112-
)
113-
11492
py_gapic_library(
11593
name = "pubsub_py_gapic",
11694
srcs = [":pubsub_proto"],
@@ -143,16 +121,6 @@ py_gapic_assembly_pkg(
143121
],
144122
)
145123

146-
##############################################################################
147-
# Go
148-
##############################################################################
149-
load(
150-
"@com_google_googleapis_imports//:imports.bzl",
151-
"go_gapic_assembly_pkg",
152-
"go_gapic_library",
153-
"go_grpc_library",
154-
)
155-
156124
go_grpc_library(
157125
name = "pubsub_go_proto",
158126
importpath = "cloud.google.com/go/pubsub/v2/apiv1/pubsubpb",
@@ -186,16 +154,6 @@ go_gapic_assembly_pkg(
186154
],
187155
)
188156

189-
##############################################################################
190-
# PHP
191-
##############################################################################
192-
load(
193-
"@com_google_googleapis_imports//:imports.bzl",
194-
"php_gapic_assembly_pkg",
195-
"php_gapic_library",
196-
"php_proto_library",
197-
)
198-
199157
php_proto_library(
200158
name = "pubsub_php_proto",
201159
deps = [":pubsub_proto"],
@@ -222,15 +180,6 @@ php_gapic_assembly_pkg(
222180
],
223181
)
224182

225-
##############################################################################
226-
# Node.js
227-
##############################################################################
228-
load(
229-
"@com_google_googleapis_imports//:imports.bzl",
230-
"nodejs_gapic_assembly_pkg",
231-
"nodejs_gapic_library",
232-
)
233-
234183
nodejs_gapic_library(
235184
name = "pubsub_nodejs_gapic",
236185
package_name = "@google-cloud/pubsub",
@@ -254,17 +203,6 @@ nodejs_gapic_assembly_pkg(
254203
],
255204
)
256205

257-
##############################################################################
258-
# Ruby
259-
##############################################################################
260-
load(
261-
"@com_google_googleapis_imports//:imports.bzl",
262-
"ruby_cloud_gapic_library",
263-
"ruby_gapic_assembly_pkg",
264-
"ruby_grpc_library",
265-
"ruby_proto_library",
266-
)
267-
268206
ruby_proto_library(
269207
name = "pubsub_ruby_proto",
270208
deps = [":pubsub_proto"],
@@ -310,17 +248,6 @@ ruby_gapic_assembly_pkg(
310248
],
311249
)
312250

313-
##############################################################################
314-
# C#
315-
##############################################################################
316-
load(
317-
"@com_google_googleapis_imports//:imports.bzl",
318-
"csharp_gapic_assembly_pkg",
319-
"csharp_gapic_library",
320-
"csharp_grpc_library",
321-
"csharp_proto_library",
322-
)
323-
324251
csharp_proto_library(
325252
name = "pubsub_csharp_proto",
326253
deps = [":pubsub_proto"],
@@ -355,15 +282,6 @@ csharp_gapic_assembly_pkg(
355282
],
356283
)
357284

358-
##############################################################################
359-
# C++
360-
##############################################################################
361-
load(
362-
"@com_google_googleapis_imports//:imports.bzl",
363-
"cc_grpc_library",
364-
"cc_proto_library",
365-
)
366-
367285
cc_proto_library(
368286
name = "pubsub_cc_proto",
369287
deps = [":pubsub_proto"],

0 commit comments

Comments
 (0)