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 = "lineage_proto" ,
@@ -27,8 +30,10 @@ proto_library(
2730 "//google/api:annotations_proto" ,
2831 "//google/api:client_proto" ,
2932 "//google/api:field_behavior_proto" ,
33+ "//google/api:field_info_proto" ,
3034 "//google/api:resource_proto" ,
3135 "//google/longrunning:operations_proto" ,
36+ "//google/type:interval_proto" ,
3237 "@com_google_protobuf//:empty_proto" ,
3338 "@com_google_protobuf//:field_mask_proto" ,
3439 "@com_google_protobuf//:struct_proto" ,
@@ -47,6 +52,7 @@ proto_library_with_info(
4752##############################################################################
4853# Java
4954##############################################################################
55+ # buildifier: disable=same-origin-load
5056load (
5157 "@com_google_googleapis_imports//:imports.bzl" ,
5258 "java_gapic_assembly_gradle_pkg" ,
@@ -109,6 +115,7 @@ java_gapic_assembly_gradle_pkg(
109115##############################################################################
110116# Go
111117##############################################################################
118+ # buildifier: disable=same-origin-load
112119load (
113120 "@com_google_googleapis_imports//:imports.bzl" ,
114121 "go_gapic_assembly_pkg" ,
@@ -123,6 +130,7 @@ go_grpc_library(
123130 deps = [
124131 "//google/api:annotations_go_proto" ,
125132 "//google/longrunning:longrunning_go_proto" ,
133+ "//google/type:interval_go_proto" ,
126134 ],
127135)
128136
@@ -160,6 +168,7 @@ go_gapic_assembly_pkg(
160168##############################################################################
161169# Python
162170##############################################################################
171+ # buildifier: disable=same-origin-load
163172load (
164173 "@com_google_googleapis_imports//:imports.bzl" ,
165174 "py_gapic_assembly_pkg" ,
@@ -171,26 +180,26 @@ py_gapic_library(
171180 name = "lineage_py_gapic" ,
172181 srcs = [":lineage_proto" ],
173182 grpc_service_config = "lineage_grpc_service_config.json" ,
183+ opt_args = [
184+ "python-gapic-name=datacatalog_lineage" ,
185+ "python-gapic-namespace=google.cloud" ,
186+ ],
174187 rest_numeric_enums = True ,
175188 service_yaml = "datalineage_v1.yaml" ,
176189 transport = "grpc+rest" ,
177190 deps = [
178191 ],
179- opt_args = [
180- "python-gapic-namespace=google.cloud" ,
181- "python-gapic-name=datacatalog_lineage" ,
182- ],
183192)
184193
185- py_test (
186- name = "lineage_py_gapic_test" ,
187- srcs = [
188- "lineage_py_gapic_pytest.py" ,
189- "lineage_py_gapic_test.py" ,
190- ],
191- legacy_create_init = False ,
192- deps = [":lineage_py_gapic" ],
193- )
194+ # py_test(
195+ # name = "lineage_py_gapic_test",
196+ # srcs = [
197+ # "lineage_py_gapic_pytest.py",
198+ # "lineage_py_gapic_test.py",
199+ # ],
200+ # legacy_create_init = False,
201+ # deps = [":lineage_py_gapic"],
202+ # )
194203
195204# Open Source Packages
196205py_gapic_assembly_pkg (
@@ -203,6 +212,7 @@ py_gapic_assembly_pkg(
203212##############################################################################
204213# PHP
205214##############################################################################
215+ # buildifier: disable=same-origin-load
206216load (
207217 "@com_google_googleapis_imports//:imports.bzl" ,
208218 "php_gapic_assembly_pkg" ,
@@ -223,7 +233,9 @@ php_gapic_library(
223233 rest_numeric_enums = False ,
224234 service_yaml = "datalineage_v1.yaml" ,
225235 transport = "grpc+rest" ,
226- deps = [":lineage_php_proto" ],
236+ deps = [
237+ ":lineage_php_proto" ,
238+ ],
227239)
228240
229241# Open Source Packages
@@ -238,6 +250,7 @@ php_gapic_assembly_pkg(
238250##############################################################################
239251# Node.js
240252##############################################################################
253+ # buildifier: disable=same-origin-load
241254load (
242255 "@com_google_googleapis_imports//:imports.bzl" ,
243256 "nodejs_gapic_assembly_pkg" ,
@@ -268,6 +281,7 @@ nodejs_gapic_assembly_pkg(
268281##############################################################################
269282# Ruby
270283##############################################################################
284+ # buildifier: disable=same-origin-load
271285load (
272286 "@com_google_googleapis_imports//:imports.bzl" ,
273287 "ruby_cloud_gapic_library" ,
@@ -321,6 +335,7 @@ ruby_gapic_assembly_pkg(
321335##############################################################################
322336# C#
323337##############################################################################
338+ # buildifier: disable=same-origin-load
324339load (
325340 "@com_google_googleapis_imports//:imports.bzl" ,
326341 "csharp_gapic_assembly_pkg" ,
@@ -367,6 +382,7 @@ csharp_gapic_assembly_pkg(
367382##############################################################################
368383# C++
369384##############################################################################
385+ # buildifier: disable=same-origin-load
370386load (
371387 "@com_google_googleapis_imports//:imports.bzl" ,
372388 "cc_grpc_library" ,
0 commit comments