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 = "executions_proto", 23 srcs = [ 24 "executions.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//:duration_proto", 32 "@com_google_protobuf//:timestamp_proto", 33 ], 34) 35 36proto_library_with_info( 37 name = "executions_proto_with_info", 38 deps = [ 39 ":executions_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 = "executions_java_proto", 58 deps = [":executions_proto"], 59) 60 61java_grpc_library( 62 name = "executions_java_grpc", 63 srcs = [":executions_proto"], 64 deps = [":executions_java_proto"], 65) 66 67java_gapic_library( 68 name = "executions_java_gapic", 69 srcs = [":executions_proto_with_info"], 70 gapic_yaml = "executions_gapic.yaml", 71 grpc_service_config = "executions_grpc_service_config.json", 72 rest_numeric_enums = False, 73 service_yaml = "workflowexecutions_v1.yaml", 74 test_deps = [ 75 ":executions_java_grpc", 76 ], 77 transport = "grpc+rest", 78 deps = [ 79 ":executions_java_proto", 80 "//google/api:api_java_proto", 81 ], 82) 83 84java_gapic_test( 85 name = "executions_java_gapic_test_suite", 86 test_classes = [ 87 "com.google.cloud.workflows.executions.v1.ExecutionsClientHttpJsonTest", 88 "com.google.cloud.workflows.executions.v1.ExecutionsClientTest", 89 ], 90 runtime_deps = [":executions_java_gapic_test"], 91) 92 93# Open Source Packages 94java_gapic_assembly_gradle_pkg( 95 name = "google-cloud-workflows-executions-v1-java", 96 include_samples = True, 97 transport = "grpc+rest", 98 deps = [ 99 ":executions_java_gapic", 100 ":executions_java_grpc", 101 ":executions_java_proto", 102 ":executions_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 = "executions_go_proto", 118 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 119 importpath = "cloud.google.com/go/workflows/executions/apiv1/executionspb", 120 protos = [":executions_proto"], 121 deps = [ 122 "//google/api:annotations_go_proto", 123 ], 124) 125 126go_gapic_library( 127 name = "executions_go_gapic", 128 srcs = [":executions_proto_with_info"], 129 grpc_service_config = "executions_grpc_service_config.json", 130 importpath = "cloud.google.com/go/workflows/executions/apiv1;executions", 131 metadata = True, 132 release_level = "ga", 133 rest_numeric_enums = False, 134 service_yaml = "workflowexecutions_v1.yaml", 135 transport = "grpc", 136 deps = [ 137 ":executions_go_proto", 138 "@io_bazel_rules_go//proto/wkt:duration_go_proto", 139 ], 140) 141 142# Open Source Packages 143go_gapic_assembly_pkg( 144 name = "gapi-cloud-workflows-executions-v1-go", 145 deps = [ 146 ":executions_go_gapic", 147 ":executions_go_gapic_srcjar-metadata.srcjar", 148 ":executions_go_gapic_srcjar-snippets.srcjar", 149 ":executions_go_gapic_srcjar-test.srcjar", 150 ":executions_go_proto", 151 ], 152) 153 154############################################################################## 155# Python 156############################################################################## 157load( 158 "@com_google_googleapis_imports//:imports.bzl", 159 "py_gapic_assembly_pkg", 160 "py_gapic_library", 161 "py_test", 162) 163 164py_gapic_library( 165 name = "executions_py_gapic", 166 srcs = [":executions_proto"], 167 grpc_service_config = "executions_grpc_service_config.json", 168 rest_numeric_enums = False, 169 service_yaml = "workflowexecutions_v1.yaml", 170 transport = "grpc", 171 deps = [ 172 ], 173) 174 175py_test( 176 name = "executions_py_gapic_test", 177 srcs = [ 178 "executions_py_gapic_pytest.py", 179 "executions_py_gapic_test.py", 180 ], 181 legacy_create_init = False, 182 deps = [":executions_py_gapic"], 183) 184 185# Open Source Packages 186py_gapic_assembly_pkg( 187 name = "workflows-executions-v1-py", 188 deps = [ 189 ":executions_py_gapic", 190 ], 191) 192 193############################################################################## 194# PHP 195############################################################################## 196load( 197 "@com_google_googleapis_imports//:imports.bzl", 198 "php_gapic_assembly_pkg", 199 "php_gapic_library", 200 "php_proto_library", 201) 202 203php_proto_library( 204 name = "executions_php_proto", 205 deps = [":executions_proto"], 206) 207 208php_gapic_library( 209 name = "executions_php_gapic", 210 srcs = [":executions_proto_with_info"], 211 grpc_service_config = "executions_grpc_service_config.json", 212 migration_mode = "NEW_SURFACE_ONLY", 213 rest_numeric_enums = False, 214 service_yaml = "workflowexecutions_v1.yaml", 215 transport = "grpc+rest", 216 deps = [ 217 ":executions_php_proto", 218 ], 219) 220 221# Open Source Packages 222php_gapic_assembly_pkg( 223 name = "google-cloud-workflows-executions-v1-php", 224 deps = [ 225 ":executions_php_gapic", 226 ":executions_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 = "executions_nodejs_gapic", 241 package_name = "@google-cloud/workflow-executions", 242 src = ":executions_proto_with_info", 243 extra_protoc_parameters = ["metadata"], 244 grpc_service_config = "executions_grpc_service_config.json", 245 package = "google.cloud.workflows.executions.v1", 246 rest_numeric_enums = False, 247 service_yaml = "workflowexecutions_v1.yaml", 248 transport = "grpc", 249 deps = [], 250) 251 252nodejs_gapic_assembly_pkg( 253 name = "workflows-executions-v1-nodejs", 254 deps = [ 255 ":executions_nodejs_gapic", 256 ":executions_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 = "executions_ruby_proto", 273 deps = [":executions_proto"], 274) 275 276ruby_grpc_library( 277 name = "executions_ruby_grpc", 278 srcs = [":executions_proto"], 279 deps = [":executions_ruby_proto"], 280) 281 282ruby_cloud_gapic_library( 283 name = "executions_ruby_gapic", 284 srcs = [":executions_proto_with_info"], 285 extra_protoc_parameters = [ 286 "ruby-cloud-api-id=workflowexecutions.googleapis.com", 287 "ruby-cloud-api-shortname=workflowexecutions", 288 "ruby-cloud-env-prefix=WORKFLOWS", 289 "ruby-cloud-gem-name=google-cloud-workflows-executions-v1", 290 "ruby-cloud-product-url=https://cloud.google.com/workflows/", 291 "ruby-cloud-wrapper-gem-override=google-cloud-workflows", 292 ], 293 grpc_service_config = "executions_grpc_service_config.json", 294 rest_numeric_enums = False, 295 ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..", 296 ruby_cloud_title = "Workflows Executions V1", 297 service_yaml = "workflowexecutions_v1.yaml", 298 transport = "grpc+rest", 299 deps = [ 300 ":executions_ruby_grpc", 301 ":executions_ruby_proto", 302 ], 303) 304 305# Open Source Packages 306ruby_gapic_assembly_pkg( 307 name = "google-cloud-workflows-executions-v1-ruby", 308 deps = [ 309 ":executions_ruby_gapic", 310 ":executions_ruby_grpc", 311 ":executions_ruby_proto", 312 ], 313) 314 315############################################################################## 316# C# 317############################################################################## 318load( 319 "@com_google_googleapis_imports//:imports.bzl", 320 "csharp_gapic_assembly_pkg", 321 "csharp_gapic_library", 322 "csharp_grpc_library", 323 "csharp_proto_library", 324) 325 326csharp_proto_library( 327 name = "executions_csharp_proto", 328 extra_opts = [], 329 deps = [":executions_proto"], 330) 331 332csharp_grpc_library( 333 name = "executions_csharp_grpc", 334 srcs = [":executions_proto"], 335 deps = [":executions_csharp_proto"], 336) 337 338csharp_gapic_library( 339 name = "executions_csharp_gapic", 340 srcs = [":executions_proto_with_info"], 341 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 342 grpc_service_config = "executions_grpc_service_config.json", 343 rest_numeric_enums = False, 344 service_yaml = "workflowexecutions_v1.yaml", 345 deps = [ 346 ":executions_csharp_grpc", 347 ":executions_csharp_proto", 348 ], 349) 350 351# Open Source Packages 352csharp_gapic_assembly_pkg( 353 name = "google-cloud-workflows-executions-v1-csharp", 354 deps = [ 355 ":executions_csharp_gapic", 356 ":executions_csharp_grpc", 357 ":executions_csharp_proto", 358 ], 359) 360 361############################################################################## 362# C++ 363############################################################################## 364load( 365 "@com_google_googleapis_imports//:imports.bzl", 366 "cc_grpc_library", 367 "cc_proto_library", 368) 369 370cc_proto_library( 371 name = "executions_cc_proto", 372 deps = [":executions_proto"], 373) 374 375cc_grpc_library( 376 name = "executions_cc_grpc", 377 srcs = [":executions_proto"], 378 grpc_only = True, 379 deps = [":executions_cc_proto"], 380) 381