|
| 1 | +# This file was automatically generated by BuildFileGenerator |
| 2 | +# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/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. |
| 13 | +package(default_visibility = ["//visibility:public"]) |
| 14 | + |
| 15 | +############################################################################## |
| 16 | +# Common |
| 17 | +############################################################################## |
| 18 | +load("@rules_proto//proto:defs.bzl", "proto_library") |
| 19 | +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") |
| 20 | + |
| 21 | +proto_library( |
| 22 | + name = "metastore_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 | + "//google/longrunning:operations_proto", |
| 32 | + "@com_google_protobuf//:field_mask_proto", |
| 33 | + "@com_google_protobuf//:timestamp_proto", |
| 34 | + ], |
| 35 | +) |
| 36 | + |
| 37 | +proto_library_with_info( |
| 38 | + name = "metastore_proto_with_info", |
| 39 | + deps = [ |
| 40 | + ":metastore_proto", |
| 41 | + "//google/cloud:common_resources_proto", |
| 42 | + ], |
| 43 | +) |
| 44 | + |
| 45 | +############################################################################## |
| 46 | +# Java |
| 47 | +############################################################################## |
| 48 | +load( |
| 49 | + "@com_google_googleapis_imports//:imports.bzl", |
| 50 | + "java_gapic_assembly_gradle_pkg", |
| 51 | + "java_gapic_library", |
| 52 | + "java_gapic_test", |
| 53 | + "java_grpc_library", |
| 54 | + "java_proto_library", |
| 55 | +) |
| 56 | + |
| 57 | +java_proto_library( |
| 58 | + name = "metastore_java_proto", |
| 59 | + deps = [":metastore_proto"], |
| 60 | +) |
| 61 | + |
| 62 | +java_grpc_library( |
| 63 | + name = "metastore_java_grpc", |
| 64 | + srcs = [":metastore_proto"], |
| 65 | + deps = [":metastore_java_proto"], |
| 66 | +) |
| 67 | + |
| 68 | +java_gapic_library( |
| 69 | + name = "metastore_java_gapic", |
| 70 | + src = ":metastore_proto_with_info", |
| 71 | + gapic_yaml = "metastore_gapic.yaml", |
| 72 | + grpc_service_config = "metastore_grpc_service_config.json", |
| 73 | + package = "google.cloud.metastore.v1alpha", |
| 74 | + service_yaml = "metastore_v1alpha.yaml", |
| 75 | + test_deps = [ |
| 76 | + ":metastore_java_grpc", |
| 77 | + ], |
| 78 | + deps = [ |
| 79 | + ":metastore_java_proto", |
| 80 | + ], |
| 81 | +) |
| 82 | + |
| 83 | +java_gapic_test( |
| 84 | + name = "metastore_java_gapic_test_suite", |
| 85 | + test_classes = [ |
| 86 | + "com.google.cloud.metastore.v1alpha.DataprocMetastoreClientTest", |
| 87 | + ], |
| 88 | + runtime_deps = [":metastore_java_gapic_test"], |
| 89 | +) |
| 90 | + |
| 91 | +# Open Source Packages |
| 92 | +java_gapic_assembly_gradle_pkg( |
| 93 | + name = "google-cloud-metastore-v1alpha-java", |
| 94 | + deps = [ |
| 95 | + ":metastore_java_gapic", |
| 96 | + ":metastore_java_grpc", |
| 97 | + ":metastore_java_proto", |
| 98 | + ":metastore_proto", |
| 99 | + ], |
| 100 | +) |
| 101 | + |
| 102 | +############################################################################## |
| 103 | +# Go |
| 104 | +############################################################################## |
| 105 | +load( |
| 106 | + "@com_google_googleapis_imports//:imports.bzl", |
| 107 | + "go_gapic_assembly_pkg", |
| 108 | + "go_gapic_library", |
| 109 | + "go_proto_library", |
| 110 | + "go_test", |
| 111 | +) |
| 112 | + |
| 113 | +go_proto_library( |
| 114 | + name = "metastore_go_proto", |
| 115 | + compilers = ["@io_bazel_rules_go//proto:go_grpc"], |
| 116 | + importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1alpha", |
| 117 | + protos = [":metastore_proto"], |
| 118 | + deps = [ |
| 119 | + "//google/api:annotations_go_proto", |
| 120 | + "//google/longrunning:longrunning_go_proto", |
| 121 | + ], |
| 122 | +) |
| 123 | + |
| 124 | +go_gapic_library( |
| 125 | + name = "metastore_go_gapic", |
| 126 | + srcs = [":metastore_proto_with_info"], |
| 127 | + grpc_service_config = "metastore_grpc_service_config.json", |
| 128 | + importpath = "cloud.google.com/go/metastore/apiv1alpha;metastore", |
| 129 | + service_yaml = "metastore_v1alpha.yaml", |
| 130 | + deps = [ |
| 131 | + ":metastore_go_proto", |
| 132 | + "//google/longrunning:longrunning_go_gapic", |
| 133 | + "//google/longrunning:longrunning_go_proto", |
| 134 | + "@com_google_cloud_go//longrunning:go_default_library", |
| 135 | + ], |
| 136 | +) |
| 137 | + |
| 138 | +go_test( |
| 139 | + name = "metastore_go_gapic_test", |
| 140 | + srcs = [":metastore_go_gapic_srcjar_test"], |
| 141 | + embed = [":metastore_go_gapic"], |
| 142 | + importpath = "cloud.google.com/go/metastore/apiv1alpha", |
| 143 | +) |
| 144 | + |
| 145 | +# Open Source Packages |
| 146 | +go_gapic_assembly_pkg( |
| 147 | + name = "gapi-cloud-metastore-v1alpha-go", |
| 148 | + deps = [ |
| 149 | + ":metastore_go_gapic", |
| 150 | + ":metastore_go_gapic_srcjar-test.srcjar", |
| 151 | + ":metastore_go_proto", |
| 152 | + ], |
| 153 | +) |
| 154 | + |
| 155 | +############################################################################## |
| 156 | +# Python |
| 157 | +############################################################################## |
| 158 | +load( |
| 159 | + "@com_google_googleapis_imports//:imports.bzl", |
| 160 | + "moved_proto_library", |
| 161 | + "py_gapic_assembly_pkg", |
| 162 | + "py_gapic_library", |
| 163 | + "py_grpc_library", |
| 164 | + "py_proto_library", |
| 165 | +) |
| 166 | + |
| 167 | +moved_proto_library( |
| 168 | + name = "metastore_moved_proto", |
| 169 | + srcs = [":metastore_proto"], |
| 170 | + deps = [ |
| 171 | + "//google/api:annotations_proto", |
| 172 | + "//google/api:client_proto", |
| 173 | + "//google/api:field_behavior_proto", |
| 174 | + "//google/api:resource_proto", |
| 175 | + "//google/longrunning:operations_proto", |
| 176 | + "@com_google_protobuf//:field_mask_proto", |
| 177 | + "@com_google_protobuf//:timestamp_proto", |
| 178 | + ], |
| 179 | +) |
| 180 | + |
| 181 | +py_proto_library( |
| 182 | + name = "metastore_py_proto", |
| 183 | + plugin = "@protoc_docs_plugin//:docs_plugin", |
| 184 | + deps = [":metastore_moved_proto"], |
| 185 | +) |
| 186 | + |
| 187 | +py_grpc_library( |
| 188 | + name = "metastore_py_grpc", |
| 189 | + srcs = [":metastore_moved_proto"], |
| 190 | + deps = [":metastore_py_proto"], |
| 191 | +) |
| 192 | + |
| 193 | +py_gapic_library( |
| 194 | + name = "metastore_py_gapic", |
| 195 | + src = ":metastore_proto_with_info", |
| 196 | + gapic_yaml = "metastore_gapic.yaml", |
| 197 | + grpc_service_config = "metastore_grpc_service_config.json", |
| 198 | + package = "google.cloud.metastore.v1alpha", |
| 199 | + service_yaml = "metastore_v1alpha.yaml", |
| 200 | + deps = [ |
| 201 | + ":metastore_py_grpc", |
| 202 | + ":metastore_py_proto", |
| 203 | + ], |
| 204 | +) |
| 205 | + |
| 206 | +# Open Source Packages |
| 207 | +py_gapic_assembly_pkg( |
| 208 | + name = "metastore-v1alpha-py", |
| 209 | + deps = [ |
| 210 | + ":metastore_py_gapic", |
| 211 | + ":metastore_py_grpc", |
| 212 | + ":metastore_py_proto", |
| 213 | + ], |
| 214 | +) |
| 215 | + |
| 216 | +############################################################################## |
| 217 | +# PHP |
| 218 | +############################################################################## |
| 219 | +load( |
| 220 | + "@com_google_googleapis_imports//:imports.bzl", |
| 221 | + "php_gapic_assembly_pkg", |
| 222 | + "php_gapic_library", |
| 223 | + "php_grpc_library", |
| 224 | + "php_proto_library", |
| 225 | +) |
| 226 | + |
| 227 | +php_proto_library( |
| 228 | + name = "metastore_php_proto", |
| 229 | + deps = [":metastore_proto"], |
| 230 | +) |
| 231 | + |
| 232 | +php_grpc_library( |
| 233 | + name = "metastore_php_grpc", |
| 234 | + srcs = [":metastore_proto"], |
| 235 | + deps = [":metastore_php_proto"], |
| 236 | +) |
| 237 | + |
| 238 | +php_gapic_library( |
| 239 | + name = "metastore_php_gapic", |
| 240 | + src = ":metastore_proto_with_info", |
| 241 | + gapic_yaml = "metastore_gapic.yaml", |
| 242 | + grpc_service_config = "metastore_grpc_service_config.json", |
| 243 | + package = "google.cloud.metastore.v1alpha", |
| 244 | + service_yaml = "metastore_v1alpha.yaml", |
| 245 | + deps = [ |
| 246 | + ":metastore_php_grpc", |
| 247 | + ":metastore_php_proto", |
| 248 | + ], |
| 249 | +) |
| 250 | + |
| 251 | +# Open Source Packages |
| 252 | +php_gapic_assembly_pkg( |
| 253 | + name = "google-cloud-metastore-v1alpha-php", |
| 254 | + deps = [ |
| 255 | + ":metastore_php_gapic", |
| 256 | + ":metastore_php_grpc", |
| 257 | + ":metastore_php_proto", |
| 258 | + ], |
| 259 | +) |
| 260 | + |
| 261 | +############################################################################## |
| 262 | +# Node.js |
| 263 | +############################################################################## |
| 264 | +load( |
| 265 | + "@com_google_googleapis_imports//:imports.bzl", |
| 266 | + "nodejs_gapic_assembly_pkg", |
| 267 | + "nodejs_gapic_library", |
| 268 | +) |
| 269 | + |
| 270 | +nodejs_gapic_library( |
| 271 | + name = "metastore_nodejs_gapic", |
| 272 | + src = ":metastore_proto_with_info", |
| 273 | + grpc_service_config = "metastore_grpc_service_config.json", |
| 274 | + package = "google.cloud.metastore.v1alpha", |
| 275 | + service_yaml = "metastore_v1alpha.yaml", |
| 276 | + deps = [], |
| 277 | +) |
| 278 | + |
| 279 | +nodejs_gapic_assembly_pkg( |
| 280 | + name = "metastore-v1alpha-nodejs", |
| 281 | + deps = [ |
| 282 | + ":metastore_nodejs_gapic", |
| 283 | + ":metastore_proto", |
| 284 | + ], |
| 285 | +) |
| 286 | + |
| 287 | +############################################################################## |
| 288 | +# Ruby |
| 289 | +############################################################################## |
| 290 | +load( |
| 291 | + "@com_google_googleapis_imports//:imports.bzl", |
| 292 | + "ruby_gapic_assembly_pkg", |
| 293 | + "ruby_gapic_library", |
| 294 | + "ruby_grpc_library", |
| 295 | + "ruby_proto_library", |
| 296 | +) |
| 297 | + |
| 298 | +ruby_proto_library( |
| 299 | + name = "metastore_ruby_proto", |
| 300 | + deps = [":metastore_proto"], |
| 301 | +) |
| 302 | + |
| 303 | +ruby_grpc_library( |
| 304 | + name = "metastore_ruby_grpc", |
| 305 | + srcs = [":metastore_proto"], |
| 306 | + deps = [":metastore_ruby_proto"], |
| 307 | +) |
| 308 | + |
| 309 | +ruby_gapic_library( |
| 310 | + name = "metastore_ruby_gapic", |
| 311 | + src = ":metastore_proto_with_info", |
| 312 | + gapic_yaml = "metastore_gapic.yaml", |
| 313 | + grpc_service_config = "metastore_grpc_service_config.json", |
| 314 | + package = "google.cloud.metastore.v1alpha", |
| 315 | + service_yaml = "metastore_v1alpha.yaml", |
| 316 | + deps = [ |
| 317 | + ":metastore_ruby_grpc", |
| 318 | + ":metastore_ruby_proto", |
| 319 | + ], |
| 320 | +) |
| 321 | + |
| 322 | +# Open Source Packages |
| 323 | +ruby_gapic_assembly_pkg( |
| 324 | + name = "google-cloud-metastore-v1alpha-ruby", |
| 325 | + deps = [ |
| 326 | + ":metastore_ruby_gapic", |
| 327 | + ":metastore_ruby_grpc", |
| 328 | + ":metastore_ruby_proto", |
| 329 | + ], |
| 330 | +) |
| 331 | + |
| 332 | +############################################################################## |
| 333 | +# C# |
| 334 | +############################################################################## |
| 335 | +load( |
| 336 | + "@com_google_googleapis_imports//:imports.bzl", |
| 337 | + "csharp_gapic_assembly_pkg", |
| 338 | + "csharp_gapic_library", |
| 339 | + "csharp_grpc_library", |
| 340 | + "csharp_proto_library", |
| 341 | +) |
| 342 | + |
| 343 | +csharp_proto_library( |
| 344 | + name = "metastore_csharp_proto", |
| 345 | + deps = [":metastore_proto"], |
| 346 | +) |
| 347 | + |
| 348 | +csharp_grpc_library( |
| 349 | + name = "metastore_csharp_grpc", |
| 350 | + srcs = [":metastore_proto"], |
| 351 | + deps = [":metastore_csharp_proto"], |
| 352 | +) |
| 353 | + |
| 354 | +csharp_gapic_library( |
| 355 | + name = "metastore_csharp_gapic", |
| 356 | + src = ":metastore_proto_with_info", |
| 357 | + gapic_yaml = "metastore_gapic.yaml", |
| 358 | + grpc_service_config = "metastore_grpc_service_config.json", |
| 359 | + package = "google.cloud.metastore.v1alpha", |
| 360 | + service_yaml = "metastore_v1alpha.yaml", |
| 361 | + deps = [ |
| 362 | + ":metastore_csharp_grpc", |
| 363 | + ":metastore_csharp_proto", |
| 364 | + ], |
| 365 | +) |
| 366 | + |
| 367 | +# Open Source Packages |
| 368 | +csharp_gapic_assembly_pkg( |
| 369 | + name = "google-cloud-metastore-v1alpha-csharp", |
| 370 | + deps = [ |
| 371 | + ":metastore_csharp_gapic", |
| 372 | + ":metastore_csharp_grpc", |
| 373 | + ":metastore_csharp_proto", |
| 374 | + ], |
| 375 | +) |
| 376 | + |
| 377 | +############################################################################## |
| 378 | +# C++ |
| 379 | +############################################################################## |
| 380 | +# Put your C++ rules here |
0 commit comments