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 = "reservation_proto", 23 srcs = [ 24 "reservation.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 "//google/rpc:status_proto", 32 "@com_google_protobuf//:empty_proto", 33 "@com_google_protobuf//:field_mask_proto", 34 "@com_google_protobuf//:timestamp_proto", 35 ], 36) 37 38proto_library_with_info( 39 name = "reservation_proto_with_info", 40 deps = [ 41 ":reservation_proto", 42 "//google/cloud:common_resources_proto", 43 ], 44) 45 46############################################################################## 47# Java 48############################################################################## 49load( 50 "@com_google_googleapis_imports//:imports.bzl", 51 "java_gapic_assembly_gradle_pkg", 52 "java_gapic_library", 53 "java_gapic_test", 54 "java_grpc_library", 55 "java_proto_library", 56) 57 58java_proto_library( 59 name = "reservation_java_proto", 60 deps = [":reservation_proto"], 61) 62 63java_grpc_library( 64 name = "reservation_java_grpc", 65 srcs = [":reservation_proto"], 66 deps = [":reservation_java_proto"], 67) 68 69java_gapic_library( 70 name = "reservation_java_gapic", 71 srcs = [":reservation_proto_with_info"], 72 gapic_yaml = None, 73 grpc_service_config = "bigqueryreservation_grpc_service_config.json", 74 rest_numeric_enums = True, 75 service_yaml = "bigqueryreservation_v1.yaml", 76 test_deps = [ 77 ":reservation_java_grpc", 78 ], 79 transport = "grpc+rest", 80 deps = [ 81 ":reservation_java_proto", 82 "//google/api:api_java_proto", 83 ], 84) 85 86java_gapic_test( 87 name = "reservation_java_gapic_test_suite", 88 test_classes = [ 89 "com.google.cloud.bigquery.reservation.v1.ReservationServiceClientHttpJsonTest", 90 "com.google.cloud.bigquery.reservation.v1.ReservationServiceClientTest", 91 ], 92 runtime_deps = [":reservation_java_gapic_test"], 93) 94 95# Open Source Packages 96java_gapic_assembly_gradle_pkg( 97 name = "google-cloud-bigquery-reservation-v1-java", 98 include_samples = True, 99 transport = "grpc+rest", 100 deps = [ 101 ":reservation_java_gapic", 102 ":reservation_java_grpc", 103 ":reservation_java_proto", 104 ":reservation_proto", 105 ], 106) 107 108############################################################################## 109# Go 110############################################################################## 111load( 112 "@com_google_googleapis_imports//:imports.bzl", 113 "go_gapic_assembly_pkg", 114 "go_gapic_library", 115 "go_proto_library", 116) 117 118go_proto_library( 119 name = "reservation_go_proto", 120 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 121 importpath = "cloud.google.com/go/bigquery/reservation/apiv1/reservationpb", 122 protos = [":reservation_proto"], 123 deps = [ 124 "//google/api:annotations_go_proto", 125 "//google/rpc:status_go_proto", 126 ], 127) 128 129go_gapic_library( 130 name = "reservation_go_gapic", 131 srcs = [":reservation_proto_with_info"], 132 grpc_service_config = "bigqueryreservation_grpc_service_config.json", 133 importpath = "cloud.google.com/go/bigquery/reservation/apiv1;reservation", 134 metadata = True, 135 release_level = "ga", 136 rest_numeric_enums = True, 137 service_yaml = "bigqueryreservation_v1.yaml", 138 transport = "grpc+rest", 139 deps = [ 140 ":reservation_go_proto", 141 ], 142) 143 144# Open Source Packages 145go_gapic_assembly_pkg( 146 name = "gapi-cloud-bigquery-reservation-v1-go", 147 deps = [ 148 ":reservation_go_gapic", 149 ":reservation_go_gapic_srcjar-metadata.srcjar", 150 ":reservation_go_gapic_srcjar-snippets.srcjar", 151 ":reservation_go_gapic_srcjar-test.srcjar", 152 ":reservation_go_proto", 153 ], 154) 155 156############################################################################## 157# Python 158############################################################################## 159load( 160 "@com_google_googleapis_imports//:imports.bzl", 161 "py_gapic_assembly_pkg", 162 "py_gapic_library", 163 "py_test", 164) 165 166py_gapic_library( 167 name = "reservation_py_gapic", 168 srcs = [":reservation_proto"], 169 grpc_service_config = "bigqueryreservation_grpc_service_config.json", 170 opt_args = [ 171 "python-gapic-name=bigquery_reservation", 172 "python-gapic-namespace=google.cloud", 173 ], 174 rest_numeric_enums = True, 175 service_yaml = "bigqueryreservation_v1.yaml", 176 transport = "grpc+rest", 177) 178 179py_test( 180 name = "reservation_py_gapic_test", 181 srcs = [ 182 "reservation_py_gapic_pytest.py", 183 "reservation_py_gapic_test.py", 184 ], 185 legacy_create_init = False, 186 deps = [":reservation_py_gapic"], 187) 188 189# Open Source Packages 190py_gapic_assembly_pkg( 191 name = "bigquery-reservation-v1-py", 192 deps = [ 193 ":reservation_py_gapic", 194 ], 195) 196 197############################################################################## 198# PHP 199############################################################################## 200load( 201 "@com_google_googleapis_imports//:imports.bzl", 202 "php_gapic_assembly_pkg", 203 "php_gapic_library", 204 "php_proto_library", 205) 206 207php_proto_library( 208 name = "reservation_php_proto", 209 deps = [":reservation_proto"], 210) 211 212php_gapic_library( 213 name = "reservation_php_gapic", 214 srcs = [":reservation_proto_with_info"], 215 grpc_service_config = "bigqueryreservation_grpc_service_config.json", 216 migration_mode = "MIGRATING", 217 rest_numeric_enums = True, 218 service_yaml = "bigqueryreservation_v1.yaml", 219 transport = "grpc+rest", 220 deps = [":reservation_php_proto"], 221) 222 223# Open Source Packages 224php_gapic_assembly_pkg( 225 name = "google-cloud-bigquery-reservation-v1-php", 226 deps = [ 227 ":reservation_php_gapic", 228 ":reservation_php_proto", 229 ], 230) 231 232############################################################################## 233# Node.js 234############################################################################## 235load( 236 "@com_google_googleapis_imports//:imports.bzl", 237 "nodejs_gapic_assembly_pkg", 238 "nodejs_gapic_library", 239) 240 241nodejs_gapic_library( 242 name = "reservation_nodejs_gapic", 243 package_name = "@google-cloud/bigquery-reservation", 244 src = ":reservation_proto_with_info", 245 extra_protoc_parameters = ["metadata"], 246 grpc_service_config = "bigqueryreservation_grpc_service_config.json", 247 package = "google.cloud.bigquery.reservation.v1", 248 rest_numeric_enums = True, 249 service_yaml = "bigqueryreservation_v1.yaml", 250 transport = "grpc+rest", 251 deps = [], 252) 253 254nodejs_gapic_assembly_pkg( 255 name = "bigquery-reservation-v1-nodejs", 256 deps = [ 257 ":reservation_nodejs_gapic", 258 ":reservation_proto", 259 ], 260) 261 262############################################################################## 263# Ruby 264############################################################################## 265load( 266 "@com_google_googleapis_imports//:imports.bzl", 267 "ruby_cloud_gapic_library", 268 "ruby_gapic_assembly_pkg", 269 "ruby_grpc_library", 270 "ruby_proto_library", 271) 272 273ruby_proto_library( 274 name = "reservation_ruby_proto", 275 deps = [":reservation_proto"], 276) 277 278ruby_grpc_library( 279 name = "reservation_ruby_grpc", 280 srcs = [":reservation_proto"], 281 deps = [":reservation_ruby_proto"], 282) 283 284ruby_cloud_gapic_library( 285 name = "reservation_ruby_gapic", 286 srcs = [":reservation_proto_with_info"], 287 extra_protoc_parameters = [ 288 "ruby-cloud-api-id=bigqueryreservation.googleapis.com", 289 "ruby-cloud-api-shortname=bigqueryreservation", 290 "ruby-cloud-env-prefix=BIGQUERY_RESERVATION", 291 "ruby-cloud-gem-name=google-cloud-bigquery-reservation-v1", 292 "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/reservations", 293 ], 294 grpc_service_config = "bigqueryreservation_grpc_service_config.json", 295 rest_numeric_enums = True, 296 ruby_cloud_description = "The BigQuery Reservation API provides the mechanisms by which enterprise users can provision and manage dedicated resources such as slots and BigQuery BI Engine memory allocations.", 297 ruby_cloud_title = "BigQuery Reservation V1", 298 service_yaml = "bigqueryreservation_v1.yaml", 299 transport = "grpc+rest", 300 deps = [ 301 ":reservation_ruby_grpc", 302 ":reservation_ruby_proto", 303 ], 304) 305 306# Open Source Packages 307ruby_gapic_assembly_pkg( 308 name = "google-cloud-bigquery-reservation-v1-ruby", 309 deps = [ 310 ":reservation_ruby_gapic", 311 ":reservation_ruby_grpc", 312 ":reservation_ruby_proto", 313 ], 314) 315 316############################################################################## 317# C# 318############################################################################## 319load( 320 "@com_google_googleapis_imports//:imports.bzl", 321 "csharp_gapic_assembly_pkg", 322 "csharp_gapic_library", 323 "csharp_grpc_library", 324 "csharp_proto_library", 325) 326 327csharp_proto_library( 328 name = "reservation_csharp_proto", 329 deps = [":reservation_proto"], 330) 331 332csharp_grpc_library( 333 name = "reservation_csharp_grpc", 334 srcs = [":reservation_proto"], 335 deps = [":reservation_csharp_proto"], 336) 337 338csharp_gapic_library( 339 name = "reservation_csharp_gapic", 340 srcs = [":reservation_proto_with_info"], 341 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 342 grpc_service_config = "bigqueryreservation_grpc_service_config.json", 343 rest_numeric_enums = True, 344 service_yaml = "bigqueryreservation_v1.yaml", 345 transport = "grpc+rest", 346 deps = [ 347 ":reservation_csharp_grpc", 348 ":reservation_csharp_proto", 349 ], 350) 351 352# Open Source Packages 353csharp_gapic_assembly_pkg( 354 name = "google-cloud-bigquery-reservation-v1-csharp", 355 deps = [ 356 ":reservation_csharp_gapic", 357 ":reservation_csharp_grpc", 358 ":reservation_csharp_proto", 359 ], 360) 361 362############################################################################## 363# C++ 364############################################################################## 365load( 366 "@com_google_googleapis_imports//:imports.bzl", 367 "cc_grpc_library", 368 "cc_proto_library", 369) 370 371cc_proto_library( 372 name = "reservation_cc_proto", 373 deps = [":reservation_proto"], 374) 375 376cc_grpc_library( 377 name = "reservation_cc_grpc", 378 srcs = [":reservation_proto"], 379 grpc_only = True, 380 deps = [":reservation_cc_proto"], 381) 382