11# This file was automatically generated by BuildFileGenerator
2- # https://github.com/googleapis/gapic-generator /tree/master/rules_gapic /bazel
2+ # https://github.com/googleapis/rules_gapic /tree/master/bazel
33
44# Most of the manual changes to this file will be overwritten.
55# It's **only** allowed to change the following rule attribute values:
@@ -21,9 +21,11 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
2121proto_library (
2222 name = "documentai_proto" ,
2323 srcs = [
24+ "barcode.proto" ,
2425 "document.proto" ,
2526 "document_io.proto" ,
2627 "document_processor_service.proto" ,
28+ "document_schema.proto" ,
2729 "geometry.proto" ,
2830 "operation_metadata.proto" ,
2931 "processor.proto" ,
@@ -33,6 +35,7 @@ proto_library(
3335 "//google/api:annotations_proto" ,
3436 "//google/api:client_proto" ,
3537 "//google/api:field_behavior_proto" ,
38+ "//google/api:launch_stage_proto" ,
3639 "//google/api:resource_proto" ,
3740 "//google/longrunning:operations_proto" ,
3841 "//google/rpc:status_proto" ,
@@ -51,6 +54,7 @@ proto_library_with_info(
5154 deps = [
5255 ":documentai_proto" ,
5356 "//google/cloud:common_resources_proto" ,
57+ "//google/cloud/location:location_proto" ,
5458 ],
5559)
5660
@@ -80,13 +84,18 @@ java_grpc_library(
8084java_gapic_library (
8185 name = "documentai_java_gapic" ,
8286 srcs = [":documentai_proto_with_info" ],
87+ gapic_yaml = None ,
8388 grpc_service_config = "documentai_v1beta3_grpc_service_config.json" ,
89+ service_yaml = "documentai_v1beta3.yaml" ,
8490 test_deps = [
8591 ":documentai_java_grpc" ,
92+ "//google/cloud/location:location_java_grpc" ,
8693 ],
8794 transport = "grpc+rest" ,
8895 deps = [
8996 ":documentai_java_proto" ,
97+ "//google/api:api_java_proto" ,
98+ "//google/cloud/location:location_java_proto" ,
9099 ],
91100)
92101
@@ -130,6 +139,7 @@ go_proto_library(
130139 protos = [":documentai_proto" ],
131140 deps = [
132141 "//google/api:annotations_go_proto" ,
142+ "//google/api:api_go_proto" ,
133143 "//google/longrunning:longrunning_go_proto" ,
134144 "//google/rpc:status_go_proto" ,
135145 "//google/type:color_go_proto" ,
@@ -145,10 +155,12 @@ go_gapic_library(
145155 srcs = [":documentai_proto_with_info" ],
146156 grpc_service_config = "documentai_v1beta3_grpc_service_config.json" ,
147157 importpath = "cloud.google.com/go/documentai/apiv1beta3;documentai" ,
158+ metadata = True ,
148159 service_yaml = "documentai_v1beta3.yaml" ,
149160 transport = "grpc+rest" ,
150161 deps = [
151162 ":documentai_go_proto" ,
163+ "//google/cloud/location:location_go_proto" ,
152164 "//google/longrunning:longrunning_go_proto" ,
153165 "@com_google_cloud_go//longrunning:go_default_library" ,
154166 "@com_google_cloud_go//longrunning/autogen:go_default_library" ,
@@ -167,6 +179,7 @@ go_gapic_assembly_pkg(
167179 name = "gapi-cloud-documentai-v1beta3-go" ,
168180 deps = [
169181 ":documentai_go_gapic" ,
182+ ":documentai_go_gapic_srcjar-metadata.srcjar" ,
170183 ":documentai_go_gapic_srcjar-test.srcjar" ,
171184 ":documentai_go_proto" ,
172185 ],
@@ -186,8 +199,9 @@ py_gapic_library(
186199 name = "documentai_py_gapic" ,
187200 srcs = [":documentai_proto" ],
188201 grpc_service_config = "documentai_v1beta3_grpc_service_config.json" ,
189- opt_args = [
190- "autogen-snippets" ,
202+ opt_args = ["autogen-snippets" ],
203+ service_yaml = "documentai_v1beta3.yaml" ,
204+ deps = [
191205 ],
192206)
193207
@@ -235,6 +249,7 @@ php_gapic_library(
235249 name = "documentai_php_gapic" ,
236250 srcs = [":documentai_proto_with_info" ],
237251 grpc_service_config = "documentai_v1beta3_grpc_service_config.json" ,
252+ service_yaml = "documentai_v1beta3.yaml" ,
238253 deps = [
239254 ":documentai_php_grpc" ,
240255 ":documentai_php_proto" ,
@@ -305,16 +320,17 @@ ruby_cloud_gapic_library(
305320 name = "documentai_ruby_gapic" ,
306321 srcs = [":documentai_proto_with_info" ],
307322 extra_protoc_parameters = [
308- "ruby-cloud-gem-name=google-cloud-document_ai-v1beta3" ,
309- "ruby-cloud-env-prefix=DOCUMENT_AI" ,
310- "ruby-cloud-product-url=https://cloud.google.com/document-ai/" ,
311323 "ruby-cloud-api-id=us-documentai.googleapis.com" ,
312324 "ruby-cloud-api-shortname=documentai" ,
325+ "ruby-cloud-env-prefix=DOCUMENT_AI" ,
326+ "ruby-cloud-gem-name=google-cloud-document_ai-v1beta3" ,
313327 "ruby-cloud-namespace-override=DocumentAi=DocumentAI" ,
328+ "ruby-cloud-product-url=https://cloud.google.com/document-ai/" ,
314329 ],
315330 grpc_service_config = "documentai_v1beta3_grpc_service_config.json" ,
316331 ruby_cloud_description = "Document AI uses machine learning on a single cloud-based platform to automatically classify, extract, and enrich data within your documents to unlock insights." ,
317332 ruby_cloud_title = "Document AI V1beta3" ,
333+ service_yaml = "documentai_v1beta3.yaml" ,
318334 deps = [
319335 ":documentai_ruby_grpc" ,
320336 ":documentai_ruby_proto" ,
@@ -378,4 +394,20 @@ csharp_gapic_assembly_pkg(
378394##############################################################################
379395# C++
380396##############################################################################
381- # Put your C++ rules here
397+ load (
398+ "@com_google_googleapis_imports//:imports.bzl" ,
399+ "cc_grpc_library" ,
400+ "cc_proto_library" ,
401+ )
402+
403+ cc_proto_library (
404+ name = "documentai_cc_proto" ,
405+ deps = [":documentai_proto" ],
406+ )
407+
408+ cc_grpc_library (
409+ name = "documentai_cc_grpc" ,
410+ srcs = [":documentai_proto" ],
411+ grpc_only = True ,
412+ deps = [":documentai_cc_proto" ],
413+ )
0 commit comments