google-cloud-video-transcoder-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/video/transcoder/v1"
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/video/transcoder/v1/transcoder_service"
20
+ require "google/cloud/video/transcoder/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module Video
25
+ module Transcoder
26
+ ##
27
+ # To load this package, including all its services, and instantiate a client:
28
+ #
29
+ # require "google/cloud/video/transcoder/v1"
30
+ # client = ::Google::Cloud::Video::Transcoder::V1::TranscoderService::Client.new
31
+ #
32
+ module V1
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+
39
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
40
+ require "google/cloud/video/transcoder/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,358 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/video/transcoder/v1/resources.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/duration_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+ require 'google/rpc/status_pb'
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/video/transcoder/v1/resources.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.video.transcoder.v1.Job" do
14
+ optional :name, :string, 1
15
+ optional :input_uri, :string, 2
16
+ optional :output_uri, :string, 3
17
+ optional :state, :enum, 8, "google.cloud.video.transcoder.v1.Job.ProcessingState"
18
+ optional :create_time, :message, 12, "google.protobuf.Timestamp"
19
+ optional :start_time, :message, 13, "google.protobuf.Timestamp"
20
+ optional :end_time, :message, 14, "google.protobuf.Timestamp"
21
+ optional :ttl_after_completion_days, :int32, 15
22
+ optional :error, :message, 17, "google.rpc.Status"
23
+ oneof :job_config do
24
+ optional :template_id, :string, 4
25
+ optional :config, :message, 5, "google.cloud.video.transcoder.v1.JobConfig"
26
+ end
27
+ end
28
+ add_enum "google.cloud.video.transcoder.v1.Job.ProcessingState" do
29
+ value :PROCESSING_STATE_UNSPECIFIED, 0
30
+ value :PENDING, 1
31
+ value :RUNNING, 2
32
+ value :SUCCEEDED, 3
33
+ value :FAILED, 4
34
+ end
35
+ add_message "google.cloud.video.transcoder.v1.JobTemplate" do
36
+ optional :name, :string, 1
37
+ optional :config, :message, 2, "google.cloud.video.transcoder.v1.JobConfig"
38
+ end
39
+ add_message "google.cloud.video.transcoder.v1.JobConfig" do
40
+ repeated :inputs, :message, 1, "google.cloud.video.transcoder.v1.Input"
41
+ repeated :edit_list, :message, 2, "google.cloud.video.transcoder.v1.EditAtom"
42
+ repeated :elementary_streams, :message, 3, "google.cloud.video.transcoder.v1.ElementaryStream"
43
+ repeated :mux_streams, :message, 4, "google.cloud.video.transcoder.v1.MuxStream"
44
+ repeated :manifests, :message, 5, "google.cloud.video.transcoder.v1.Manifest"
45
+ optional :output, :message, 6, "google.cloud.video.transcoder.v1.Output"
46
+ repeated :ad_breaks, :message, 7, "google.cloud.video.transcoder.v1.AdBreak"
47
+ optional :pubsub_destination, :message, 8, "google.cloud.video.transcoder.v1.PubsubDestination"
48
+ repeated :sprite_sheets, :message, 9, "google.cloud.video.transcoder.v1.SpriteSheet"
49
+ repeated :overlays, :message, 10, "google.cloud.video.transcoder.v1.Overlay"
50
+ end
51
+ add_message "google.cloud.video.transcoder.v1.Input" do
52
+ optional :key, :string, 1
53
+ optional :uri, :string, 2
54
+ optional :preprocessing_config, :message, 3, "google.cloud.video.transcoder.v1.PreprocessingConfig"
55
+ end
56
+ add_message "google.cloud.video.transcoder.v1.Output" do
57
+ optional :uri, :string, 1
58
+ end
59
+ add_message "google.cloud.video.transcoder.v1.EditAtom" do
60
+ optional :key, :string, 1
61
+ repeated :inputs, :string, 2
62
+ optional :end_time_offset, :message, 3, "google.protobuf.Duration"
63
+ optional :start_time_offset, :message, 4, "google.protobuf.Duration"
64
+ end
65
+ add_message "google.cloud.video.transcoder.v1.AdBreak" do
66
+ optional :start_time_offset, :message, 1, "google.protobuf.Duration"
67
+ end
68
+ add_message "google.cloud.video.transcoder.v1.ElementaryStream" do
69
+ optional :key, :string, 4
70
+ oneof :elementary_stream do
71
+ optional :video_stream, :message, 1, "google.cloud.video.transcoder.v1.VideoStream"
72
+ optional :audio_stream, :message, 2, "google.cloud.video.transcoder.v1.AudioStream"
73
+ optional :text_stream, :message, 3, "google.cloud.video.transcoder.v1.TextStream"
74
+ end
75
+ end
76
+ add_message "google.cloud.video.transcoder.v1.MuxStream" do
77
+ optional :key, :string, 1
78
+ optional :file_name, :string, 2
79
+ optional :container, :string, 3
80
+ repeated :elementary_streams, :string, 4
81
+ optional :segment_settings, :message, 5, "google.cloud.video.transcoder.v1.SegmentSettings"
82
+ optional :encryption, :message, 6, "google.cloud.video.transcoder.v1.Encryption"
83
+ end
84
+ add_message "google.cloud.video.transcoder.v1.Manifest" do
85
+ optional :file_name, :string, 1
86
+ optional :type, :enum, 2, "google.cloud.video.transcoder.v1.Manifest.ManifestType"
87
+ repeated :mux_streams, :string, 3
88
+ end
89
+ add_enum "google.cloud.video.transcoder.v1.Manifest.ManifestType" do
90
+ value :MANIFEST_TYPE_UNSPECIFIED, 0
91
+ value :HLS, 1
92
+ value :DASH, 2
93
+ end
94
+ add_message "google.cloud.video.transcoder.v1.PubsubDestination" do
95
+ optional :topic, :string, 1
96
+ end
97
+ add_message "google.cloud.video.transcoder.v1.SpriteSheet" do
98
+ optional :format, :string, 1
99
+ optional :file_prefix, :string, 2
100
+ optional :sprite_width_pixels, :int32, 3
101
+ optional :sprite_height_pixels, :int32, 4
102
+ optional :column_count, :int32, 5
103
+ optional :row_count, :int32, 6
104
+ optional :start_time_offset, :message, 7, "google.protobuf.Duration"
105
+ optional :end_time_offset, :message, 8, "google.protobuf.Duration"
106
+ optional :quality, :int32, 11
107
+ oneof :extraction_strategy do
108
+ optional :total_count, :int32, 9
109
+ optional :interval, :message, 10, "google.protobuf.Duration"
110
+ end
111
+ end
112
+ add_message "google.cloud.video.transcoder.v1.Overlay" do
113
+ optional :image, :message, 1, "google.cloud.video.transcoder.v1.Overlay.Image"
114
+ repeated :animations, :message, 2, "google.cloud.video.transcoder.v1.Overlay.Animation"
115
+ end
116
+ add_message "google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate" do
117
+ optional :x, :double, 1
118
+ optional :y, :double, 2
119
+ end
120
+ add_message "google.cloud.video.transcoder.v1.Overlay.Image" do
121
+ optional :uri, :string, 1
122
+ optional :resolution, :message, 2, "google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate"
123
+ optional :alpha, :double, 3
124
+ end
125
+ add_message "google.cloud.video.transcoder.v1.Overlay.AnimationStatic" do
126
+ optional :xy, :message, 1, "google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate"
127
+ optional :start_time_offset, :message, 2, "google.protobuf.Duration"
128
+ end
129
+ add_message "google.cloud.video.transcoder.v1.Overlay.AnimationFade" do
130
+ optional :fade_type, :enum, 1, "google.cloud.video.transcoder.v1.Overlay.FadeType"
131
+ optional :xy, :message, 2, "google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate"
132
+ optional :start_time_offset, :message, 3, "google.protobuf.Duration"
133
+ optional :end_time_offset, :message, 4, "google.protobuf.Duration"
134
+ end
135
+ add_message "google.cloud.video.transcoder.v1.Overlay.AnimationEnd" do
136
+ optional :start_time_offset, :message, 1, "google.protobuf.Duration"
137
+ end
138
+ add_message "google.cloud.video.transcoder.v1.Overlay.Animation" do
139
+ oneof :animation_type do
140
+ optional :animation_static, :message, 1, "google.cloud.video.transcoder.v1.Overlay.AnimationStatic"
141
+ optional :animation_fade, :message, 2, "google.cloud.video.transcoder.v1.Overlay.AnimationFade"
142
+ optional :animation_end, :message, 3, "google.cloud.video.transcoder.v1.Overlay.AnimationEnd"
143
+ end
144
+ end
145
+ add_enum "google.cloud.video.transcoder.v1.Overlay.FadeType" do
146
+ value :FADE_TYPE_UNSPECIFIED, 0
147
+ value :FADE_IN, 1
148
+ value :FADE_OUT, 2
149
+ end
150
+ add_message "google.cloud.video.transcoder.v1.PreprocessingConfig" do
151
+ optional :color, :message, 1, "google.cloud.video.transcoder.v1.PreprocessingConfig.Color"
152
+ optional :denoise, :message, 2, "google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise"
153
+ optional :deblock, :message, 3, "google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock"
154
+ optional :audio, :message, 4, "google.cloud.video.transcoder.v1.PreprocessingConfig.Audio"
155
+ optional :crop, :message, 5, "google.cloud.video.transcoder.v1.PreprocessingConfig.Crop"
156
+ optional :pad, :message, 6, "google.cloud.video.transcoder.v1.PreprocessingConfig.Pad"
157
+ end
158
+ add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Color" do
159
+ optional :saturation, :double, 1
160
+ optional :contrast, :double, 2
161
+ optional :brightness, :double, 3
162
+ end
163
+ add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise" do
164
+ optional :strength, :double, 1
165
+ optional :tune, :string, 2
166
+ end
167
+ add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock" do
168
+ optional :strength, :double, 1
169
+ optional :enabled, :bool, 2
170
+ end
171
+ add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Audio" do
172
+ optional :lufs, :double, 1
173
+ optional :high_boost, :bool, 2
174
+ optional :low_boost, :bool, 3
175
+ end
176
+ add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Crop" do
177
+ optional :top_pixels, :int32, 1
178
+ optional :bottom_pixels, :int32, 2
179
+ optional :left_pixels, :int32, 3
180
+ optional :right_pixels, :int32, 4
181
+ end
182
+ add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Pad" do
183
+ optional :top_pixels, :int32, 1
184
+ optional :bottom_pixels, :int32, 2
185
+ optional :left_pixels, :int32, 3
186
+ optional :right_pixels, :int32, 4
187
+ end
188
+ add_message "google.cloud.video.transcoder.v1.VideoStream" do
189
+ oneof :codec_settings do
190
+ optional :h264, :message, 1, "google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings"
191
+ optional :h265, :message, 2, "google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings"
192
+ optional :vp9, :message, 3, "google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings"
193
+ end
194
+ end
195
+ add_message "google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings" do
196
+ optional :width_pixels, :int32, 1
197
+ optional :height_pixels, :int32, 2
198
+ optional :frame_rate, :double, 3
199
+ optional :bitrate_bps, :int32, 4
200
+ optional :pixel_format, :string, 5
201
+ optional :rate_control_mode, :string, 6
202
+ optional :crf_level, :int32, 7
203
+ optional :allow_open_gop, :bool, 8
204
+ optional :enable_two_pass, :bool, 11
205
+ optional :vbv_size_bits, :int32, 12
206
+ optional :vbv_fullness_bits, :int32, 13
207
+ optional :entropy_coder, :string, 14
208
+ optional :b_pyramid, :bool, 15
209
+ optional :b_frame_count, :int32, 16
210
+ optional :aq_strength, :double, 17
211
+ optional :profile, :string, 18
212
+ optional :tune, :string, 19
213
+ optional :preset, :string, 20
214
+ oneof :gop_mode do
215
+ optional :gop_frame_count, :int32, 9
216
+ optional :gop_duration, :message, 10, "google.protobuf.Duration"
217
+ end
218
+ end
219
+ add_message "google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings" do
220
+ optional :width_pixels, :int32, 1
221
+ optional :height_pixels, :int32, 2
222
+ optional :frame_rate, :double, 3
223
+ optional :bitrate_bps, :int32, 4
224
+ optional :pixel_format, :string, 5
225
+ optional :rate_control_mode, :string, 6
226
+ optional :crf_level, :int32, 7
227
+ optional :allow_open_gop, :bool, 8
228
+ optional :enable_two_pass, :bool, 11
229
+ optional :vbv_size_bits, :int32, 12
230
+ optional :vbv_fullness_bits, :int32, 13
231
+ optional :b_pyramid, :bool, 14
232
+ optional :b_frame_count, :int32, 15
233
+ optional :aq_strength, :double, 16
234
+ optional :profile, :string, 17
235
+ optional :tune, :string, 18
236
+ optional :preset, :string, 19
237
+ oneof :gop_mode do
238
+ optional :gop_frame_count, :int32, 9
239
+ optional :gop_duration, :message, 10, "google.protobuf.Duration"
240
+ end
241
+ end
242
+ add_message "google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings" do
243
+ optional :width_pixels, :int32, 1
244
+ optional :height_pixels, :int32, 2
245
+ optional :frame_rate, :double, 3
246
+ optional :bitrate_bps, :int32, 4
247
+ optional :pixel_format, :string, 5
248
+ optional :rate_control_mode, :string, 6
249
+ optional :crf_level, :int32, 7
250
+ optional :profile, :string, 10
251
+ oneof :gop_mode do
252
+ optional :gop_frame_count, :int32, 8
253
+ optional :gop_duration, :message, 9, "google.protobuf.Duration"
254
+ end
255
+ end
256
+ add_message "google.cloud.video.transcoder.v1.AudioStream" do
257
+ optional :codec, :string, 1
258
+ optional :bitrate_bps, :int32, 2
259
+ optional :channel_count, :int32, 3
260
+ repeated :channel_layout, :string, 4
261
+ repeated :mapping, :message, 5, "google.cloud.video.transcoder.v1.AudioStream.AudioMapping"
262
+ optional :sample_rate_hertz, :int32, 6
263
+ end
264
+ add_message "google.cloud.video.transcoder.v1.AudioStream.AudioMapping" do
265
+ optional :atom_key, :string, 1
266
+ optional :input_key, :string, 2
267
+ optional :input_track, :int32, 3
268
+ optional :input_channel, :int32, 4
269
+ optional :output_channel, :int32, 5
270
+ optional :gain_db, :double, 6
271
+ end
272
+ add_message "google.cloud.video.transcoder.v1.TextStream" do
273
+ optional :codec, :string, 1
274
+ repeated :mapping, :message, 3, "google.cloud.video.transcoder.v1.TextStream.TextMapping"
275
+ end
276
+ add_message "google.cloud.video.transcoder.v1.TextStream.TextMapping" do
277
+ optional :atom_key, :string, 1
278
+ optional :input_key, :string, 2
279
+ optional :input_track, :int32, 3
280
+ end
281
+ add_message "google.cloud.video.transcoder.v1.SegmentSettings" do
282
+ optional :segment_duration, :message, 1, "google.protobuf.Duration"
283
+ optional :individual_segments, :bool, 3
284
+ end
285
+ add_message "google.cloud.video.transcoder.v1.Encryption" do
286
+ optional :key, :string, 1
287
+ optional :iv, :string, 2
288
+ oneof :encryption_mode do
289
+ optional :aes_128, :message, 3, "google.cloud.video.transcoder.v1.Encryption.Aes128Encryption"
290
+ optional :sample_aes, :message, 4, "google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption"
291
+ optional :mpeg_cenc, :message, 5, "google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption"
292
+ end
293
+ end
294
+ add_message "google.cloud.video.transcoder.v1.Encryption.Aes128Encryption" do
295
+ optional :key_uri, :string, 1
296
+ end
297
+ add_message "google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption" do
298
+ optional :key_uri, :string, 1
299
+ end
300
+ add_message "google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption" do
301
+ optional :key_id, :string, 1
302
+ optional :scheme, :string, 2
303
+ end
304
+ end
305
+ end
306
+
307
+ module Google
308
+ module Cloud
309
+ module Video
310
+ module Transcoder
311
+ module V1
312
+ Job = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Job").msgclass
313
+ Job::ProcessingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Job.ProcessingState").enummodule
314
+ JobTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.JobTemplate").msgclass
315
+ JobConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.JobConfig").msgclass
316
+ Input = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Input").msgclass
317
+ Output = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Output").msgclass
318
+ EditAtom = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.EditAtom").msgclass
319
+ AdBreak = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.AdBreak").msgclass
320
+ ElementaryStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ElementaryStream").msgclass
321
+ MuxStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.MuxStream").msgclass
322
+ Manifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Manifest").msgclass
323
+ Manifest::ManifestType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Manifest.ManifestType").enummodule
324
+ PubsubDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PubsubDestination").msgclass
325
+ SpriteSheet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.SpriteSheet").msgclass
326
+ Overlay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Overlay").msgclass
327
+ Overlay::NormalizedCoordinate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate").msgclass
328
+ Overlay::Image = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Overlay.Image").msgclass
329
+ Overlay::AnimationStatic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Overlay.AnimationStatic").msgclass
330
+ Overlay::AnimationFade = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Overlay.AnimationFade").msgclass
331
+ Overlay::AnimationEnd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Overlay.AnimationEnd").msgclass
332
+ Overlay::Animation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Overlay.Animation").msgclass
333
+ Overlay::FadeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Overlay.FadeType").enummodule
334
+ PreprocessingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig").msgclass
335
+ PreprocessingConfig::Color = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig.Color").msgclass
336
+ PreprocessingConfig::Denoise = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise").msgclass
337
+ PreprocessingConfig::Deblock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock").msgclass
338
+ PreprocessingConfig::Audio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig.Audio").msgclass
339
+ PreprocessingConfig::Crop = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig.Crop").msgclass
340
+ PreprocessingConfig::Pad = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PreprocessingConfig.Pad").msgclass
341
+ VideoStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream").msgclass
342
+ VideoStream::H264CodecSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings").msgclass
343
+ VideoStream::H265CodecSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings").msgclass
344
+ VideoStream::Vp9CodecSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings").msgclass
345
+ AudioStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.AudioStream").msgclass
346
+ AudioStream::AudioMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.AudioStream.AudioMapping").msgclass
347
+ TextStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.TextStream").msgclass
348
+ TextStream::TextMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.TextStream.TextMapping").msgclass
349
+ SegmentSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.SegmentSettings").msgclass
350
+ Encryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption").msgclass
351
+ Encryption::Aes128Encryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.Aes128Encryption").msgclass
352
+ Encryption::SampleAesEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption").msgclass
353
+ Encryption::MpegCommonEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption").msgclass
354
+ end
355
+ end
356
+ end
357
+ end
358
+ end
@@ -0,0 +1,81 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/video/transcoder/v1/services.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
10
+ require 'google/cloud/video/transcoder/v1/resources_pb'
11
+ require 'google/protobuf/empty_pb'
12
+ Google::Protobuf::DescriptorPool.generated_pool.build do
13
+ add_file("google/cloud/video/transcoder/v1/services.proto", :syntax => :proto3) do
14
+ add_message "google.cloud.video.transcoder.v1.CreateJobRequest" do
15
+ optional :parent, :string, 1
16
+ optional :job, :message, 2, "google.cloud.video.transcoder.v1.Job"
17
+ end
18
+ add_message "google.cloud.video.transcoder.v1.ListJobsRequest" do
19
+ optional :parent, :string, 1
20
+ optional :page_size, :int32, 2
21
+ optional :page_token, :string, 3
22
+ optional :filter, :string, 4
23
+ optional :order_by, :string, 5
24
+ end
25
+ add_message "google.cloud.video.transcoder.v1.GetJobRequest" do
26
+ optional :name, :string, 1
27
+ end
28
+ add_message "google.cloud.video.transcoder.v1.DeleteJobRequest" do
29
+ optional :name, :string, 1
30
+ end
31
+ add_message "google.cloud.video.transcoder.v1.ListJobsResponse" do
32
+ repeated :jobs, :message, 1, "google.cloud.video.transcoder.v1.Job"
33
+ optional :next_page_token, :string, 2
34
+ repeated :unreachable, :string, 3
35
+ end
36
+ add_message "google.cloud.video.transcoder.v1.CreateJobTemplateRequest" do
37
+ optional :parent, :string, 1
38
+ optional :job_template, :message, 2, "google.cloud.video.transcoder.v1.JobTemplate"
39
+ optional :job_template_id, :string, 3
40
+ end
41
+ add_message "google.cloud.video.transcoder.v1.ListJobTemplatesRequest" do
42
+ optional :parent, :string, 1
43
+ optional :page_size, :int32, 2
44
+ optional :page_token, :string, 3
45
+ optional :filter, :string, 4
46
+ optional :order_by, :string, 5
47
+ end
48
+ add_message "google.cloud.video.transcoder.v1.GetJobTemplateRequest" do
49
+ optional :name, :string, 1
50
+ end
51
+ add_message "google.cloud.video.transcoder.v1.DeleteJobTemplateRequest" do
52
+ optional :name, :string, 1
53
+ end
54
+ add_message "google.cloud.video.transcoder.v1.ListJobTemplatesResponse" do
55
+ repeated :job_templates, :message, 1, "google.cloud.video.transcoder.v1.JobTemplate"
56
+ optional :next_page_token, :string, 2
57
+ repeated :unreachable, :string, 3
58
+ end
59
+ end
60
+ end
61
+
62
+ module Google
63
+ module Cloud
64
+ module Video
65
+ module Transcoder
66
+ module V1
67
+ CreateJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.CreateJobRequest").msgclass
68
+ ListJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ListJobsRequest").msgclass
69
+ GetJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.GetJobRequest").msgclass
70
+ DeleteJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.DeleteJobRequest").msgclass
71
+ ListJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ListJobsResponse").msgclass
72
+ CreateJobTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.CreateJobTemplateRequest").msgclass
73
+ ListJobTemplatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ListJobTemplatesRequest").msgclass
74
+ GetJobTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.GetJobTemplateRequest").msgclass
75
+ DeleteJobTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.DeleteJobTemplateRequest").msgclass
76
+ ListJobTemplatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ListJobTemplatesResponse").msgclass
77
+ end
78
+ end
79
+ end
80
+ end
81
+ end