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 = "stitcher_proto", 23 srcs = [ 24 "ad_tag_details.proto", 25 "cdn_keys.proto", 26 "companions.proto", 27 "events.proto", 28 "live_configs.proto", 29 "sessions.proto", 30 "slates.proto", 31 "stitch_details.proto", 32 "video_stitcher_service.proto", 33 ], 34 deps = [ 35 "//google/api:annotations_proto", 36 "//google/api:client_proto", 37 "//google/api:field_behavior_proto", 38 "//google/api:resource_proto", 39 "//google/longrunning:operations_proto", 40 "@com_google_protobuf//:duration_proto", 41 "@com_google_protobuf//:empty_proto", 42 "@com_google_protobuf//:field_mask_proto", 43 "@com_google_protobuf//:struct_proto", 44 "@com_google_protobuf//:timestamp_proto", 45 ], 46) 47 48proto_library_with_info( 49 name = "stitcher_proto_with_info", 50 deps = [ 51 ":stitcher_proto", 52 "//google/cloud:common_resources_proto", 53 ], 54) 55 56############################################################################## 57# Java 58############################################################################## 59load( 60 "@com_google_googleapis_imports//:imports.bzl", 61 "java_gapic_assembly_gradle_pkg", 62 "java_gapic_library", 63 "java_gapic_test", 64 "java_grpc_library", 65 "java_proto_library", 66) 67 68java_proto_library( 69 name = "stitcher_java_proto", 70 deps = [":stitcher_proto"], 71) 72 73java_grpc_library( 74 name = "stitcher_java_grpc", 75 srcs = [":stitcher_proto"], 76 deps = [":stitcher_java_proto"], 77) 78 79java_gapic_library( 80 name = "stitcher_java_gapic", 81 srcs = [":stitcher_proto_with_info"], 82 gapic_yaml = None, 83 grpc_service_config = "videostitcher_grpc_service_config.json", 84 rest_numeric_enums = True, 85 service_yaml = "videostitcher_v1.yaml", 86 test_deps = [ 87 ":stitcher_java_grpc", 88 ], 89 transport = "grpc", 90 deps = [ 91 ":stitcher_java_proto", 92 "//google/api:api_java_proto", 93 ], 94) 95 96java_gapic_test( 97 name = "stitcher_java_gapic_test_suite", 98 test_classes = [ 99 "com.google.cloud.video.stitcher.v1.VideoStitcherServiceClientTest", 100 ], 101 runtime_deps = [":stitcher_java_gapic_test"], 102) 103 104# Open Source Packages 105java_gapic_assembly_gradle_pkg( 106 name = "google-cloud-video-stitcher-v1-java", 107 include_samples = True, 108 transport = "grpc", 109 deps = [ 110 ":stitcher_java_gapic", 111 ":stitcher_java_grpc", 112 ":stitcher_java_proto", 113 ":stitcher_proto", 114 ], 115) 116 117############################################################################## 118# Go 119############################################################################## 120load( 121 "@com_google_googleapis_imports//:imports.bzl", 122 "go_gapic_assembly_pkg", 123 "go_gapic_library", 124 "go_proto_library", 125) 126 127go_proto_library( 128 name = "stitcher_go_proto", 129 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 130 importpath = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb", 131 protos = [":stitcher_proto"], 132 deps = [ 133 "//google/api:annotations_go_proto", 134 "//google/longrunning:longrunning_go_proto", 135 ], 136) 137 138go_gapic_library( 139 name = "stitcher_go_gapic", 140 srcs = [":stitcher_proto_with_info"], 141 grpc_service_config = "videostitcher_grpc_service_config.json", 142 importpath = "cloud.google.com/go/video/stitcher/apiv1;stitcher", 143 metadata = True, 144 release_level = "ga", 145 rest_numeric_enums = True, 146 service_yaml = "videostitcher_v1.yaml", 147 transport = "grpc", 148 deps = [ 149 ":stitcher_go_proto", 150 "//google/longrunning:longrunning_go_proto", 151 "@com_google_cloud_go_longrunning//:go_default_library", 152 "@com_google_cloud_go_longrunning//autogen:go_default_library", 153 "@io_bazel_rules_go//proto/wkt:duration_go_proto", 154 "@io_bazel_rules_go//proto/wkt:struct_go_proto", 155 ], 156) 157 158# Open Source Packages 159go_gapic_assembly_pkg( 160 name = "gapi-cloud-video-stitcher-v1-go", 161 deps = [ 162 ":stitcher_go_gapic", 163 ":stitcher_go_gapic_srcjar-metadata.srcjar", 164 ":stitcher_go_gapic_srcjar-snippets.srcjar", 165 ":stitcher_go_gapic_srcjar-test.srcjar", 166 ":stitcher_go_proto", 167 ], 168) 169 170############################################################################## 171# Python 172############################################################################## 173load( 174 "@com_google_googleapis_imports//:imports.bzl", 175 "py_gapic_assembly_pkg", 176 "py_gapic_library", 177 "py_test", 178) 179 180py_gapic_library( 181 name = "stitcher_py_gapic", 182 srcs = [":stitcher_proto"], 183 grpc_service_config = "videostitcher_grpc_service_config.json", 184 rest_numeric_enums = True, 185 service_yaml = "videostitcher_v1.yaml", 186 transport = "grpc", 187 deps = [ 188 ], 189) 190 191py_test( 192 name = "stitcher_py_gapic_test", 193 srcs = [ 194 "stitcher_py_gapic_pytest.py", 195 "stitcher_py_gapic_test.py", 196 ], 197 legacy_create_init = False, 198 deps = [":stitcher_py_gapic"], 199) 200 201# Open Source Packages 202py_gapic_assembly_pkg( 203 name = "video-stitcher-v1-py", 204 deps = [ 205 ":stitcher_py_gapic", 206 ], 207) 208 209############################################################################## 210# PHP 211############################################################################## 212load( 213 "@com_google_googleapis_imports//:imports.bzl", 214 "php_gapic_assembly_pkg", 215 "php_gapic_library", 216 "php_proto_library", 217) 218 219php_proto_library( 220 name = "stitcher_php_proto", 221 deps = [":stitcher_proto"], 222) 223 224php_gapic_library( 225 name = "stitcher_php_gapic", 226 srcs = [":stitcher_proto_with_info"], 227 grpc_service_config = "videostitcher_grpc_service_config.json", 228 migration_mode = "MIGRATING", 229 rest_numeric_enums = True, 230 service_yaml = "videostitcher_v1.yaml", 231 transport = "grpc+rest", 232 deps = [":stitcher_php_proto"], 233) 234 235# Open Source Packages 236php_gapic_assembly_pkg( 237 name = "google-cloud-video-stitcher-v1-php", 238 deps = [ 239 ":stitcher_php_gapic", 240 ":stitcher_php_proto", 241 ], 242) 243 244############################################################################## 245# Node.js 246############################################################################## 247load( 248 "@com_google_googleapis_imports//:imports.bzl", 249 "nodejs_gapic_assembly_pkg", 250 "nodejs_gapic_library", 251) 252 253nodejs_gapic_library( 254 name = "stitcher_nodejs_gapic", 255 package_name = "@google-cloud/video-stitcher", 256 src = ":stitcher_proto_with_info", 257 extra_protoc_parameters = ["metadata"], 258 grpc_service_config = "videostitcher_grpc_service_config.json", 259 package = "google.cloud.video.stitcher.v1", 260 rest_numeric_enums = True, 261 service_yaml = "videostitcher_v1.yaml", 262 transport = "grpc", 263 deps = [], 264) 265 266nodejs_gapic_assembly_pkg( 267 name = "video-stitcher-v1-nodejs", 268 deps = [ 269 ":stitcher_nodejs_gapic", 270 ":stitcher_proto", 271 ], 272) 273 274############################################################################## 275# Ruby 276############################################################################## 277load( 278 "@com_google_googleapis_imports//:imports.bzl", 279 "ruby_cloud_gapic_library", 280 "ruby_gapic_assembly_pkg", 281 "ruby_grpc_library", 282 "ruby_proto_library", 283) 284 285ruby_proto_library( 286 name = "stitcher_ruby_proto", 287 deps = [":stitcher_proto"], 288) 289 290ruby_grpc_library( 291 name = "stitcher_ruby_grpc", 292 srcs = [":stitcher_proto"], 293 deps = [":stitcher_ruby_proto"], 294) 295 296ruby_cloud_gapic_library( 297 name = "stitcher_ruby_gapic", 298 srcs = [":stitcher_proto_with_info"], 299 extra_protoc_parameters = [ 300 "ruby-cloud-api-id=videostitcher.googleapis.com", 301 "ruby-cloud-api-shortname=videostitcher", 302 "ruby-cloud-gem-name=google-cloud-video-stitcher-v1", 303 "ruby-cloud-product-url=https://cloud.google.com/video-stitcher/", 304 ], 305 grpc_service_config = "videostitcher_grpc_service_config.json", 306 rest_numeric_enums = True, 307 ruby_cloud_description = "The Video Stitcher API allows you to manipulate video content to dynamically insert ads prior to delivery to client devices. Using the Video Stitcher API, you can monetize your video-on-demand (VOD) and livestreaming videos by inserting ads as described by metadata stored on ad servers.", 308 ruby_cloud_title = "Video Stitcher V1", 309 service_yaml = "videostitcher_v1.yaml", 310 transport = "grpc", 311 deps = [ 312 ":stitcher_ruby_grpc", 313 ":stitcher_ruby_proto", 314 ], 315) 316 317# Open Source Packages 318ruby_gapic_assembly_pkg( 319 name = "google-cloud-video-stitcher-v1-ruby", 320 deps = [ 321 ":stitcher_ruby_gapic", 322 ":stitcher_ruby_grpc", 323 ":stitcher_ruby_proto", 324 ], 325) 326 327############################################################################## 328# C# 329############################################################################## 330load( 331 "@com_google_googleapis_imports//:imports.bzl", 332 "csharp_gapic_assembly_pkg", 333 "csharp_gapic_library", 334 "csharp_grpc_library", 335 "csharp_proto_library", 336) 337 338csharp_proto_library( 339 name = "stitcher_csharp_proto", 340 deps = [":stitcher_proto"], 341) 342 343csharp_grpc_library( 344 name = "stitcher_csharp_grpc", 345 srcs = [":stitcher_proto"], 346 deps = [":stitcher_csharp_proto"], 347) 348 349csharp_gapic_library( 350 name = "stitcher_csharp_gapic", 351 srcs = [":stitcher_proto_with_info"], 352 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 353 grpc_service_config = "videostitcher_grpc_service_config.json", 354 rest_numeric_enums = True, 355 service_yaml = "videostitcher_v1.yaml", 356 transport = "grpc", 357 deps = [ 358 ":stitcher_csharp_grpc", 359 ":stitcher_csharp_proto", 360 ], 361) 362 363# Open Source Packages 364csharp_gapic_assembly_pkg( 365 name = "google-cloud-video-stitcher-v1-csharp", 366 deps = [ 367 ":stitcher_csharp_gapic", 368 ":stitcher_csharp_grpc", 369 ":stitcher_csharp_proto", 370 ], 371) 372 373############################################################################## 374# C++ 375############################################################################## 376load( 377 "@com_google_googleapis_imports//:imports.bzl", 378 "cc_grpc_library", 379 "cc_proto_library", 380) 381 382cc_proto_library( 383 name = "stitcher_cc_proto", 384 deps = [":stitcher_proto"], 385) 386 387cc_grpc_library( 388 name = "stitcher_cc_grpc", 389 srcs = [":stitcher_proto"], 390 grpc_only = True, 391 deps = [":stitcher_cc_proto"], 392) 393