1# This file was automatically generated by BuildFileGenerator 2# https://github.com/googleapis/rules_gapic/tree/master/bazel 3 4# Most of the manual changes to this file will be overwritten. 5# It's **only** allowed to change the following rule attribute values: 6# - names of *_gapic_assembly_* rules 7# - certain parameters of *_gapic_library rules, including but not limited to: 8# * extra_protoc_parameters 9# * extra_protoc_file_parameters 10# The complete list of preserved parameters can be found in the source code. 11 12# This is an API workspace, having public visibility by default makes perfect sense. 13package(default_visibility = ["//visibility:public"]) 14 15############################################################################## 16# Common 17############################################################################## 18load("@rules_proto//proto:defs.bzl", "proto_library") 19load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") 20 21proto_library( 22 name = "biglake_proto", 23 srcs = [ 24 "metastore.proto", 25 ], 26 deps = [ 27 "//google/api:annotations_proto", 28 "//google/api:client_proto", 29 "//google/api:field_behavior_proto", 30 "//google/api:resource_proto", 31 "@com_google_protobuf//:field_mask_proto", 32 "@com_google_protobuf//:timestamp_proto", 33 ], 34) 35 36proto_library_with_info( 37 name = "biglake_proto_with_info", 38 deps = [ 39 ":biglake_proto", 40 "//google/cloud:common_resources_proto", 41 ], 42) 43 44############################################################################## 45# Java 46############################################################################## 47load( 48 "@com_google_googleapis_imports//:imports.bzl", 49 "java_gapic_assembly_gradle_pkg", 50 "java_gapic_library", 51 "java_gapic_test", 52 "java_grpc_library", 53 "java_proto_library", 54) 55 56java_proto_library( 57 name = "biglake_java_proto", 58 deps = [":biglake_proto"], 59) 60 61java_grpc_library( 62 name = "biglake_java_grpc", 63 srcs = [":biglake_proto"], 64 deps = [":biglake_java_proto"], 65) 66 67java_gapic_library( 68 name = "biglake_java_gapic", 69 srcs = [":biglake_proto_with_info"], 70 gapic_yaml = None, 71 grpc_service_config = "biglake_v1_grpc_service_config.json", 72 rest_numeric_enums = True, 73 service_yaml = "biglake_v1.yaml", 74 test_deps = [ 75 ":biglake_java_grpc", 76 ], 77 transport = "grpc+rest", 78 deps = [ 79 ":biglake_java_proto", 80 "//google/api:api_java_proto", 81 ], 82) 83 84java_gapic_test( 85 name = "biglake_java_gapic_test_suite", 86 test_classes = [ 87 "com.google.cloud.bigquery.biglake.v1.MetastoreServiceClientHttpJsonTest", 88 "com.google.cloud.bigquery.biglake.v1.MetastoreServiceClientTest", 89 ], 90 runtime_deps = [":biglake_java_gapic_test"], 91) 92 93# Open Source Packages 94java_gapic_assembly_gradle_pkg( 95 name = "google-cloud-bigquery-biglake-v1-java", 96 include_samples = True, 97 transport = "grpc+rest", 98 deps = [ 99 ":biglake_java_gapic", 100 ":biglake_java_grpc", 101 ":biglake_java_proto", 102 ":biglake_proto", 103 ], 104) 105 106############################################################################## 107# Go 108############################################################################## 109load( 110 "@com_google_googleapis_imports//:imports.bzl", 111 "go_gapic_assembly_pkg", 112 "go_gapic_library", 113 "go_proto_library", 114) 115 116go_proto_library( 117 name = "biglake_go_proto", 118 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 119 importpath = "cloud.google.com/go/bigquery/biglake/apiv1/biglakepb", 120 protos = [":biglake_proto"], 121 deps = [ 122 "//google/api:annotations_go_proto", 123 ], 124) 125 126go_gapic_library( 127 name = "biglake_go_gapic", 128 srcs = [":biglake_proto_with_info"], 129 grpc_service_config = "biglake_v1_grpc_service_config.json", 130 importpath = "cloud.google.com/go/bigquery/biglake/apiv1;biglake", 131 metadata = True, 132 release_level = "ga", 133 rest_numeric_enums = True, 134 service_yaml = "biglake_v1.yaml", 135 transport = "grpc+rest", 136 deps = [ 137 ":biglake_go_proto", 138 ], 139) 140 141# Open Source Packages 142go_gapic_assembly_pkg( 143 name = "gapi-cloud-bigquery-biglake-v1-go", 144 deps = [ 145 ":biglake_go_gapic", 146 ":biglake_go_gapic_srcjar-metadata.srcjar", 147 ":biglake_go_gapic_srcjar-snippets.srcjar", 148 ":biglake_go_gapic_srcjar-test.srcjar", 149 ":biglake_go_proto", 150 ], 151) 152 153############################################################################## 154# Python 155############################################################################## 156load( 157 "@com_google_googleapis_imports//:imports.bzl", 158 "py_gapic_assembly_pkg", 159 "py_gapic_library", 160 "py_test", 161) 162 163py_gapic_library( 164 name = "biglake_py_gapic", 165 srcs = [":biglake_proto"], 166 grpc_service_config = "biglake_v1_grpc_service_config.json", 167 opt_args = [ 168 "python-gapic-namespace=google.cloud", 169 "python-gapic-name=bigquery_biglake", 170 ], 171 rest_numeric_enums = True, 172 service_yaml = "biglake_v1.yaml", 173 transport = "grpc+rest", 174 deps = [ 175 ], 176) 177 178py_test( 179 name = "biglake_py_gapic_test", 180 srcs = [ 181 "biglake_py_gapic_pytest.py", 182 "biglake_py_gapic_test.py", 183 ], 184 legacy_create_init = False, 185 deps = [":biglake_py_gapic"], 186) 187 188# Open Source Packages 189py_gapic_assembly_pkg( 190 name = "bigquery-biglake-v1-py", 191 deps = [ 192 ":biglake_py_gapic", 193 ], 194) 195 196############################################################################## 197# PHP 198############################################################################## 199load( 200 "@com_google_googleapis_imports//:imports.bzl", 201 "php_gapic_assembly_pkg", 202 "php_gapic_library", 203 "php_proto_library", 204) 205 206php_proto_library( 207 name = "biglake_php_proto", 208 deps = [":biglake_proto"], 209) 210 211php_gapic_library( 212 name = "biglake_php_gapic", 213 srcs = [":biglake_proto_with_info"], 214 grpc_service_config = "biglake_v1_grpc_service_config.json", 215 rest_numeric_enums = True, 216 service_yaml = "biglake_v1.yaml", 217 transport = "grpc+rest", 218 deps = [":biglake_php_proto"], 219) 220 221# Open Source Packages 222php_gapic_assembly_pkg( 223 name = "google-cloud-bigquery-biglake-v1-php", 224 deps = [ 225 ":biglake_php_gapic", 226 ":biglake_php_proto", 227 ], 228) 229 230############################################################################## 231# Node.js 232############################################################################## 233load( 234 "@com_google_googleapis_imports//:imports.bzl", 235 "nodejs_gapic_assembly_pkg", 236 "nodejs_gapic_library", 237) 238 239nodejs_gapic_library( 240 name = "biglake_nodejs_gapic", 241 package_name = "@google-cloud/biglake", 242 src = ":biglake_proto_with_info", 243 extra_protoc_parameters = ["metadata"], 244 grpc_service_config = "biglake_v1_grpc_service_config.json", 245 package = "google.cloud.bigquery.biglake.v1", 246 rest_numeric_enums = True, 247 service_yaml = "biglake_v1.yaml", 248 transport = "grpc+rest", 249 deps = [], 250) 251 252nodejs_gapic_assembly_pkg( 253 name = "bigquery-biglake-v1-nodejs", 254 deps = [ 255 ":biglake_nodejs_gapic", 256 ":biglake_proto", 257 ], 258) 259 260############################################################################## 261# Ruby 262############################################################################## 263load( 264 "@com_google_googleapis_imports//:imports.bzl", 265 "ruby_cloud_gapic_library", 266 "ruby_gapic_assembly_pkg", 267 "ruby_grpc_library", 268 "ruby_proto_library", 269) 270 271ruby_proto_library( 272 name = "biglake_ruby_proto", 273 deps = [":biglake_proto"], 274) 275 276ruby_grpc_library( 277 name = "biglake_ruby_grpc", 278 srcs = [":biglake_proto"], 279 deps = [":biglake_ruby_proto"], 280) 281 282ruby_cloud_gapic_library( 283 name = "biglake_ruby_gapic", 284 srcs = [":biglake_proto_with_info"], 285 extra_protoc_parameters = [ 286 "ruby-cloud-gem-name=google-cloud-bigquery-biglake-v1", 287 ], 288 grpc_service_config = "biglake_v1_grpc_service_config.json", 289 rest_numeric_enums = True, 290 service_yaml = "biglake_v1.yaml", 291 deps = [ 292 ":biglake_ruby_grpc", 293 ":biglake_ruby_proto", 294 ], 295) 296 297# Open Source Packages 298ruby_gapic_assembly_pkg( 299 name = "google-cloud-bigquery-biglake-v1-ruby", 300 deps = [ 301 ":biglake_ruby_gapic", 302 ":biglake_ruby_grpc", 303 ":biglake_ruby_proto", 304 ], 305) 306 307############################################################################## 308# C# 309############################################################################## 310load( 311 "@com_google_googleapis_imports//:imports.bzl", 312 "csharp_gapic_assembly_pkg", 313 "csharp_gapic_library", 314 "csharp_grpc_library", 315 "csharp_proto_library", 316) 317 318csharp_proto_library( 319 name = "biglake_csharp_proto", 320 deps = [":biglake_proto"], 321) 322 323csharp_grpc_library( 324 name = "biglake_csharp_grpc", 325 srcs = [":biglake_proto"], 326 deps = [":biglake_csharp_proto"], 327) 328 329csharp_gapic_library( 330 name = "biglake_csharp_gapic", 331 srcs = [":biglake_proto_with_info"], 332 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 333 grpc_service_config = "biglake_v1_grpc_service_config.json", 334 rest_numeric_enums = True, 335 service_yaml = "biglake_v1.yaml", 336 deps = [ 337 ":biglake_csharp_grpc", 338 ":biglake_csharp_proto", 339 ], 340) 341 342# Open Source Packages 343csharp_gapic_assembly_pkg( 344 name = "google-cloud-bigquery-biglake-v1-csharp", 345 deps = [ 346 ":biglake_csharp_gapic", 347 ":biglake_csharp_grpc", 348 ":biglake_csharp_proto", 349 ], 350) 351 352############################################################################## 353# C++ 354############################################################################## 355load( 356 "@com_google_googleapis_imports//:imports.bzl", 357 "cc_grpc_library", 358 "cc_proto_library", 359) 360 361cc_proto_library( 362 name = "biglake_cc_proto", 363 deps = [":biglake_proto"], 364) 365 366cc_grpc_library( 367 name = "biglake_cc_grpc", 368 srcs = [":biglake_proto"], 369 grpc_only = True, 370 deps = [":biglake_cc_proto"], 371) 372