Skip to content

Commit b409abd

Browse files
Google APIscopybara-github
authored andcommitted
feat: Initial release of Video Stitcher API v1 Public Preview
PiperOrigin-RevId: 427509057
1 parent 95b6277 commit b409abd

11 files changed

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

0 commit comments

Comments
 (0)