Skip to content

Commit 177c62a

Browse files
Google APIscopybara-github
authored andcommitted
feat: publish routing.proto containing the google.api.RoutingRule annotation
feat: add Bazel rules wrapping `routing.proto` Committer: @viacheslav-rostovtsev PiperOrigin-RevId: 401879979
1 parent 9af371c commit 177c62a

2 files changed

Lines changed: 486 additions & 0 deletions

File tree

google/api/BUILD.bazel

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,14 @@ proto_library(
181181
],
182182
)
183183

184+
proto_library(
185+
name = "routing_proto",
186+
srcs = ["routing.proto"],
187+
deps = [
188+
"@com_google_protobuf//:descriptor_proto",
189+
],
190+
)
191+
184192
proto_library(
185193
name = "service_proto",
186194
srcs = ["service.proto"],
@@ -273,6 +281,7 @@ java_proto_library(
273281
"monitoring_proto",
274282
"quota_proto",
275283
"resource_proto",
284+
"routing_proto",
276285
"service_proto",
277286
"source_info_proto",
278287
"system_parameter_proto",
@@ -368,6 +377,12 @@ go_proto_library(
368377
protos = [":resource_proto"],
369378
)
370379

380+
go_proto_library(
381+
name = "routing_go_proto",
382+
importpath = "google.golang.org/genproto/googleapis/api/annotations;annotations",
383+
protos = [":routing_proto"],
384+
)
385+
371386
go_proto_library(
372387
name = "serviceconfig_go_proto",
373388
importpath = "google.golang.org/genproto/googleapis/api/serviceconfig",
@@ -528,6 +543,11 @@ cc_proto_library(
528543
deps = [":resource_proto"],
529544
)
530545

546+
cc_proto_library(
547+
name = "routing_cc_proto",
548+
deps = [":routing_proto"],
549+
)
550+
531551
cc_proto_library(
532552
name = "service_cc_proto",
533553
deps = [":service_proto"],
@@ -678,6 +698,11 @@ py_proto_library(
678698
deps = [":resource_proto"],
679699
)
680700

701+
py_proto_library(
702+
name = "routing_py_proto",
703+
deps = [":routing_proto"],
704+
)
705+
681706
py_proto_library(
682707
name = "service_py_proto",
683708
deps = [":service_proto"],

0 commit comments

Comments
 (0)