99# * extra_protoc_file_parameters
1010# The complete list of preserved parameters can be found in the source code.
1111
12+ # buildifier: disable=load-on-top
13+
1214# This is an API workspace, having public visibility by default makes perfect sense.
1315package (default_visibility = ["//visibility:public" ])
1416
1517##############################################################################
1618# Common
1719##############################################################################
18- load ( "@rules_proto//proto:defs.bzl" , "proto_library" )
20+ # buildifier: disable=same-origin-load
1921load ("@com_google_googleapis_imports//:imports.bzl" , "proto_library_with_info" )
22+ load ("@rules_proto//proto:defs.bzl" , "proto_library" )
2023
2124proto_library (
2225 name = "routing_proto" ,
@@ -28,6 +31,7 @@ proto_library(
2831 "maneuver.proto" ,
2932 "navigation_instruction.proto" ,
3033 "polyline.proto" ,
34+ "polyline_details.proto" ,
3135 "route.proto" ,
3236 "route_label.proto" ,
3337 "route_modifiers.proto" ,
@@ -72,6 +76,7 @@ proto_library_with_info(
7276##############################################################################
7377# Java
7478##############################################################################
79+ # buildifier: disable=same-origin-load
7580load (
7681 "@com_google_googleapis_imports//:imports.bzl" ,
7782 "java_gapic_assembly_gradle_pkg" ,
@@ -134,6 +139,7 @@ java_gapic_assembly_gradle_pkg(
134139##############################################################################
135140# Go
136141##############################################################################
142+ # buildifier: disable=same-origin-load
137143load (
138144 "@com_google_googleapis_imports//:imports.bzl" ,
139145 "go_gapic_assembly_pkg" ,
@@ -187,6 +193,7 @@ go_gapic_assembly_pkg(
187193##############################################################################
188194# Python
189195##############################################################################
196+ # buildifier: disable=same-origin-load
190197load (
191198 "@com_google_googleapis_imports//:imports.bzl" ,
192199 "py_gapic_assembly_pkg" ,
@@ -238,6 +245,7 @@ py_gapic_assembly_pkg(
238245##############################################################################
239246# PHP
240247##############################################################################
248+ # buildifier: disable=same-origin-load
241249load (
242250 "@com_google_googleapis_imports//:imports.bzl" ,
243251 "php_gapic_assembly_pkg" ,
@@ -254,10 +262,13 @@ php_gapic_library(
254262 name = "routing_php_gapic" ,
255263 srcs = [":routing_proto_with_info" ],
256264 grpc_service_config = "library_grpc_service_config.json" ,
265+ migration_mode = "PRE_MIGRATION_SURFACE_ONLY" ,
257266 rest_numeric_enums = True ,
258267 service_yaml = "routes_v2.yaml" ,
259268 transport = "grpc+rest" ,
260- deps = [":routing_php_proto" ],
269+ deps = [
270+ ":routing_php_proto" ,
271+ ],
261272)
262273
263274# Open Source Packages
@@ -272,6 +283,7 @@ php_gapic_assembly_pkg(
272283##############################################################################
273284# Node.js
274285##############################################################################
286+ # buildifier: disable=same-origin-load
275287load (
276288 "@com_google_googleapis_imports//:imports.bzl" ,
277289 "nodejs_gapic_assembly_pkg" ,
@@ -303,6 +315,7 @@ nodejs_gapic_assembly_pkg(
303315##############################################################################
304316# Ruby
305317##############################################################################
318+ # buildifier: disable=same-origin-load
306319load (
307320 "@com_google_googleapis_imports//:imports.bzl" ,
308321 "ruby_cloud_gapic_library" ,
@@ -356,6 +369,7 @@ ruby_gapic_assembly_pkg(
356369##############################################################################
357370# C#
358371##############################################################################
372+ # buildifier: disable=same-origin-load
359373load (
360374 "@com_google_googleapis_imports//:imports.bzl" ,
361375 "csharp_gapic_assembly_pkg" ,
@@ -366,6 +380,7 @@ load(
366380
367381csharp_proto_library (
368382 name = "routing_csharp_proto" ,
383+ extra_opts = [],
369384 deps = [":routing_proto" ],
370385)
371386
@@ -402,6 +417,7 @@ csharp_gapic_assembly_pkg(
402417##############################################################################
403418# C++
404419##############################################################################
420+ # buildifier: disable=same-origin-load
405421load (
406422 "@com_google_googleapis_imports//:imports.bzl" ,
407423 "cc_grpc_library" ,
0 commit comments