google-cloud-video-transcoder-v1 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/video/transcoder/v1/resources_pb.rb +27 -302
- data/lib/google/cloud/video/transcoder/v1/services_pb.rb +25 -48
- data/lib/google/cloud/video/transcoder/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +10 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb640907691632e06f0451fbaeccbd68ee428d59c72cd774ae6a6f3d653fb9ef
|
4
|
+
data.tar.gz: 0d1a3c5ae19a8b56e9cf9a458476f69a65954e662167c4d686630d8dfe532cd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6699c18e22de1d38fe79d2588ff7b9f11d970b8078d6449be25f597524b893d100a112e89f6d3d972002e010be6ad5d0e48bee1c00fa46e6746e2c9990e99fac
|
7
|
+
data.tar.gz: 6e611d9e65e646d21ec4b80b4e215bada622588622caa6fb654a273f8b09d3cb3a5122bb83557ff34fd0a3ec89dfead4968ec36921506ce838e269757d48a757
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/video/transcoder/v1/resources.proto
|
3
4
|
|
@@ -9,310 +10,34 @@ require 'google/protobuf/duration_pb'
|
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
require 'google/rpc/status_pb'
|
11
12
|
|
12
|
-
|
13
|
-
add_file("google/cloud/video/transcoder/v1/resources.proto", :syntax => :proto3) do
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
value :FAILED, 4
|
37
|
-
end
|
38
|
-
add_enum "google.cloud.video.transcoder.v1.Job.ProcessingMode" do
|
39
|
-
value :PROCESSING_MODE_UNSPECIFIED, 0
|
40
|
-
value :PROCESSING_MODE_INTERACTIVE, 1
|
41
|
-
value :PROCESSING_MODE_BATCH, 2
|
42
|
-
end
|
43
|
-
add_message "google.cloud.video.transcoder.v1.JobTemplate" do
|
44
|
-
optional :name, :string, 1
|
45
|
-
optional :config, :message, 2, "google.cloud.video.transcoder.v1.JobConfig"
|
46
|
-
map :labels, :string, :string, 3
|
47
|
-
end
|
48
|
-
add_message "google.cloud.video.transcoder.v1.JobConfig" do
|
49
|
-
repeated :inputs, :message, 1, "google.cloud.video.transcoder.v1.Input"
|
50
|
-
repeated :edit_list, :message, 2, "google.cloud.video.transcoder.v1.EditAtom"
|
51
|
-
repeated :elementary_streams, :message, 3, "google.cloud.video.transcoder.v1.ElementaryStream"
|
52
|
-
repeated :mux_streams, :message, 4, "google.cloud.video.transcoder.v1.MuxStream"
|
53
|
-
repeated :manifests, :message, 5, "google.cloud.video.transcoder.v1.Manifest"
|
54
|
-
optional :output, :message, 6, "google.cloud.video.transcoder.v1.Output"
|
55
|
-
repeated :ad_breaks, :message, 7, "google.cloud.video.transcoder.v1.AdBreak"
|
56
|
-
optional :pubsub_destination, :message, 8, "google.cloud.video.transcoder.v1.PubsubDestination"
|
57
|
-
repeated :sprite_sheets, :message, 9, "google.cloud.video.transcoder.v1.SpriteSheet"
|
58
|
-
repeated :overlays, :message, 10, "google.cloud.video.transcoder.v1.Overlay"
|
59
|
-
end
|
60
|
-
add_message "google.cloud.video.transcoder.v1.Input" do
|
61
|
-
optional :key, :string, 1
|
62
|
-
optional :uri, :string, 2
|
63
|
-
optional :preprocessing_config, :message, 3, "google.cloud.video.transcoder.v1.PreprocessingConfig"
|
64
|
-
end
|
65
|
-
add_message "google.cloud.video.transcoder.v1.Output" do
|
66
|
-
optional :uri, :string, 1
|
67
|
-
end
|
68
|
-
add_message "google.cloud.video.transcoder.v1.EditAtom" do
|
69
|
-
optional :key, :string, 1
|
70
|
-
repeated :inputs, :string, 2
|
71
|
-
optional :end_time_offset, :message, 3, "google.protobuf.Duration"
|
72
|
-
optional :start_time_offset, :message, 4, "google.protobuf.Duration"
|
73
|
-
end
|
74
|
-
add_message "google.cloud.video.transcoder.v1.AdBreak" do
|
75
|
-
optional :start_time_offset, :message, 1, "google.protobuf.Duration"
|
76
|
-
end
|
77
|
-
add_message "google.cloud.video.transcoder.v1.ElementaryStream" do
|
78
|
-
optional :key, :string, 4
|
79
|
-
oneof :elementary_stream do
|
80
|
-
optional :video_stream, :message, 1, "google.cloud.video.transcoder.v1.VideoStream"
|
81
|
-
optional :audio_stream, :message, 2, "google.cloud.video.transcoder.v1.AudioStream"
|
82
|
-
optional :text_stream, :message, 3, "google.cloud.video.transcoder.v1.TextStream"
|
83
|
-
end
|
84
|
-
end
|
85
|
-
add_message "google.cloud.video.transcoder.v1.MuxStream" do
|
86
|
-
optional :key, :string, 1
|
87
|
-
optional :file_name, :string, 2
|
88
|
-
optional :container, :string, 3
|
89
|
-
repeated :elementary_streams, :string, 4
|
90
|
-
optional :segment_settings, :message, 5, "google.cloud.video.transcoder.v1.SegmentSettings"
|
91
|
-
end
|
92
|
-
add_message "google.cloud.video.transcoder.v1.Manifest" do
|
93
|
-
optional :file_name, :string, 1
|
94
|
-
optional :type, :enum, 2, "google.cloud.video.transcoder.v1.Manifest.ManifestType"
|
95
|
-
repeated :mux_streams, :string, 3
|
96
|
-
end
|
97
|
-
add_enum "google.cloud.video.transcoder.v1.Manifest.ManifestType" do
|
98
|
-
value :MANIFEST_TYPE_UNSPECIFIED, 0
|
99
|
-
value :HLS, 1
|
100
|
-
value :DASH, 2
|
101
|
-
end
|
102
|
-
add_message "google.cloud.video.transcoder.v1.PubsubDestination" do
|
103
|
-
optional :topic, :string, 1
|
104
|
-
end
|
105
|
-
add_message "google.cloud.video.transcoder.v1.SpriteSheet" do
|
106
|
-
optional :format, :string, 1
|
107
|
-
optional :file_prefix, :string, 2
|
108
|
-
optional :sprite_width_pixels, :int32, 3
|
109
|
-
optional :sprite_height_pixels, :int32, 4
|
110
|
-
optional :column_count, :int32, 5
|
111
|
-
optional :row_count, :int32, 6
|
112
|
-
optional :start_time_offset, :message, 7, "google.protobuf.Duration"
|
113
|
-
optional :end_time_offset, :message, 8, "google.protobuf.Duration"
|
114
|
-
optional :quality, :int32, 11
|
115
|
-
oneof :extraction_strategy do
|
116
|
-
optional :total_count, :int32, 9
|
117
|
-
optional :interval, :message, 10, "google.protobuf.Duration"
|
118
|
-
end
|
119
|
-
end
|
120
|
-
add_message "google.cloud.video.transcoder.v1.Overlay" do
|
121
|
-
optional :image, :message, 1, "google.cloud.video.transcoder.v1.Overlay.Image"
|
122
|
-
repeated :animations, :message, 2, "google.cloud.video.transcoder.v1.Overlay.Animation"
|
123
|
-
end
|
124
|
-
add_message "google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate" do
|
125
|
-
optional :x, :double, 1
|
126
|
-
optional :y, :double, 2
|
127
|
-
end
|
128
|
-
add_message "google.cloud.video.transcoder.v1.Overlay.Image" do
|
129
|
-
optional :uri, :string, 1
|
130
|
-
optional :resolution, :message, 2, "google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate"
|
131
|
-
optional :alpha, :double, 3
|
132
|
-
end
|
133
|
-
add_message "google.cloud.video.transcoder.v1.Overlay.AnimationStatic" do
|
134
|
-
optional :xy, :message, 1, "google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate"
|
135
|
-
optional :start_time_offset, :message, 2, "google.protobuf.Duration"
|
136
|
-
end
|
137
|
-
add_message "google.cloud.video.transcoder.v1.Overlay.AnimationFade" do
|
138
|
-
optional :fade_type, :enum, 1, "google.cloud.video.transcoder.v1.Overlay.FadeType"
|
139
|
-
optional :xy, :message, 2, "google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate"
|
140
|
-
optional :start_time_offset, :message, 3, "google.protobuf.Duration"
|
141
|
-
optional :end_time_offset, :message, 4, "google.protobuf.Duration"
|
142
|
-
end
|
143
|
-
add_message "google.cloud.video.transcoder.v1.Overlay.AnimationEnd" do
|
144
|
-
optional :start_time_offset, :message, 1, "google.protobuf.Duration"
|
145
|
-
end
|
146
|
-
add_message "google.cloud.video.transcoder.v1.Overlay.Animation" do
|
147
|
-
oneof :animation_type do
|
148
|
-
optional :animation_static, :message, 1, "google.cloud.video.transcoder.v1.Overlay.AnimationStatic"
|
149
|
-
optional :animation_fade, :message, 2, "google.cloud.video.transcoder.v1.Overlay.AnimationFade"
|
150
|
-
optional :animation_end, :message, 3, "google.cloud.video.transcoder.v1.Overlay.AnimationEnd"
|
151
|
-
end
|
152
|
-
end
|
153
|
-
add_enum "google.cloud.video.transcoder.v1.Overlay.FadeType" do
|
154
|
-
value :FADE_TYPE_UNSPECIFIED, 0
|
155
|
-
value :FADE_IN, 1
|
156
|
-
value :FADE_OUT, 2
|
157
|
-
end
|
158
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig" do
|
159
|
-
optional :color, :message, 1, "google.cloud.video.transcoder.v1.PreprocessingConfig.Color"
|
160
|
-
optional :denoise, :message, 2, "google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise"
|
161
|
-
optional :deblock, :message, 3, "google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock"
|
162
|
-
optional :audio, :message, 4, "google.cloud.video.transcoder.v1.PreprocessingConfig.Audio"
|
163
|
-
optional :crop, :message, 5, "google.cloud.video.transcoder.v1.PreprocessingConfig.Crop"
|
164
|
-
optional :pad, :message, 6, "google.cloud.video.transcoder.v1.PreprocessingConfig.Pad"
|
165
|
-
optional :deinterlace, :message, 7, "google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace"
|
166
|
-
end
|
167
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Color" do
|
168
|
-
optional :saturation, :double, 1
|
169
|
-
optional :contrast, :double, 2
|
170
|
-
optional :brightness, :double, 3
|
171
|
-
end
|
172
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise" do
|
173
|
-
optional :strength, :double, 1
|
174
|
-
optional :tune, :string, 2
|
175
|
-
end
|
176
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock" do
|
177
|
-
optional :strength, :double, 1
|
178
|
-
optional :enabled, :bool, 2
|
179
|
-
end
|
180
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Audio" do
|
181
|
-
optional :lufs, :double, 1
|
182
|
-
optional :high_boost, :bool, 2
|
183
|
-
optional :low_boost, :bool, 3
|
184
|
-
end
|
185
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Crop" do
|
186
|
-
optional :top_pixels, :int32, 1
|
187
|
-
optional :bottom_pixels, :int32, 2
|
188
|
-
optional :left_pixels, :int32, 3
|
189
|
-
optional :right_pixels, :int32, 4
|
190
|
-
end
|
191
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Pad" do
|
192
|
-
optional :top_pixels, :int32, 1
|
193
|
-
optional :bottom_pixels, :int32, 2
|
194
|
-
optional :left_pixels, :int32, 3
|
195
|
-
optional :right_pixels, :int32, 4
|
196
|
-
end
|
197
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace" do
|
198
|
-
oneof :deinterlacing_filter do
|
199
|
-
optional :yadif, :message, 1, "google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfig"
|
200
|
-
optional :bwdif, :message, 2, "google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfig"
|
201
|
-
end
|
202
|
-
end
|
203
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfig" do
|
204
|
-
optional :mode, :string, 1
|
205
|
-
optional :disable_spatial_interlacing, :bool, 2
|
206
|
-
optional :parity, :string, 3
|
207
|
-
optional :deinterlace_all_frames, :bool, 4
|
208
|
-
end
|
209
|
-
add_message "google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfig" do
|
210
|
-
optional :mode, :string, 1
|
211
|
-
optional :parity, :string, 2
|
212
|
-
optional :deinterlace_all_frames, :bool, 3
|
213
|
-
end
|
214
|
-
add_message "google.cloud.video.transcoder.v1.VideoStream" do
|
215
|
-
oneof :codec_settings do
|
216
|
-
optional :h264, :message, 1, "google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings"
|
217
|
-
optional :h265, :message, 2, "google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings"
|
218
|
-
optional :vp9, :message, 3, "google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings"
|
219
|
-
end
|
220
|
-
end
|
221
|
-
add_message "google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings" do
|
222
|
-
optional :width_pixels, :int32, 1
|
223
|
-
optional :height_pixels, :int32, 2
|
224
|
-
optional :frame_rate, :double, 3
|
225
|
-
optional :bitrate_bps, :int32, 4
|
226
|
-
optional :pixel_format, :string, 5
|
227
|
-
optional :rate_control_mode, :string, 6
|
228
|
-
optional :crf_level, :int32, 7
|
229
|
-
optional :allow_open_gop, :bool, 8
|
230
|
-
optional :enable_two_pass, :bool, 11
|
231
|
-
optional :vbv_size_bits, :int32, 12
|
232
|
-
optional :vbv_fullness_bits, :int32, 13
|
233
|
-
optional :entropy_coder, :string, 14
|
234
|
-
optional :b_pyramid, :bool, 15
|
235
|
-
optional :b_frame_count, :int32, 16
|
236
|
-
optional :aq_strength, :double, 17
|
237
|
-
optional :profile, :string, 18
|
238
|
-
optional :tune, :string, 19
|
239
|
-
optional :preset, :string, 20
|
240
|
-
oneof :gop_mode do
|
241
|
-
optional :gop_frame_count, :int32, 9
|
242
|
-
optional :gop_duration, :message, 10, "google.protobuf.Duration"
|
243
|
-
end
|
244
|
-
end
|
245
|
-
add_message "google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings" do
|
246
|
-
optional :width_pixels, :int32, 1
|
247
|
-
optional :height_pixels, :int32, 2
|
248
|
-
optional :frame_rate, :double, 3
|
249
|
-
optional :bitrate_bps, :int32, 4
|
250
|
-
optional :pixel_format, :string, 5
|
251
|
-
optional :rate_control_mode, :string, 6
|
252
|
-
optional :crf_level, :int32, 7
|
253
|
-
optional :allow_open_gop, :bool, 8
|
254
|
-
optional :enable_two_pass, :bool, 11
|
255
|
-
optional :vbv_size_bits, :int32, 12
|
256
|
-
optional :vbv_fullness_bits, :int32, 13
|
257
|
-
optional :b_pyramid, :bool, 14
|
258
|
-
optional :b_frame_count, :int32, 15
|
259
|
-
optional :aq_strength, :double, 16
|
260
|
-
optional :profile, :string, 17
|
261
|
-
optional :tune, :string, 18
|
262
|
-
optional :preset, :string, 19
|
263
|
-
oneof :gop_mode do
|
264
|
-
optional :gop_frame_count, :int32, 9
|
265
|
-
optional :gop_duration, :message, 10, "google.protobuf.Duration"
|
266
|
-
end
|
267
|
-
end
|
268
|
-
add_message "google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings" do
|
269
|
-
optional :width_pixels, :int32, 1
|
270
|
-
optional :height_pixels, :int32, 2
|
271
|
-
optional :frame_rate, :double, 3
|
272
|
-
optional :bitrate_bps, :int32, 4
|
273
|
-
optional :pixel_format, :string, 5
|
274
|
-
optional :rate_control_mode, :string, 6
|
275
|
-
optional :crf_level, :int32, 7
|
276
|
-
optional :profile, :string, 10
|
277
|
-
oneof :gop_mode do
|
278
|
-
optional :gop_frame_count, :int32, 8
|
279
|
-
optional :gop_duration, :message, 9, "google.protobuf.Duration"
|
280
|
-
end
|
281
|
-
end
|
282
|
-
add_message "google.cloud.video.transcoder.v1.AudioStream" do
|
283
|
-
optional :codec, :string, 1
|
284
|
-
optional :bitrate_bps, :int32, 2
|
285
|
-
optional :channel_count, :int32, 3
|
286
|
-
repeated :channel_layout, :string, 4
|
287
|
-
repeated :mapping, :message, 5, "google.cloud.video.transcoder.v1.AudioStream.AudioMapping"
|
288
|
-
optional :sample_rate_hertz, :int32, 6
|
289
|
-
optional :language_code, :string, 7
|
290
|
-
optional :display_name, :string, 8
|
291
|
-
end
|
292
|
-
add_message "google.cloud.video.transcoder.v1.AudioStream.AudioMapping" do
|
293
|
-
optional :atom_key, :string, 1
|
294
|
-
optional :input_key, :string, 2
|
295
|
-
optional :input_track, :int32, 3
|
296
|
-
optional :input_channel, :int32, 4
|
297
|
-
optional :output_channel, :int32, 5
|
298
|
-
optional :gain_db, :double, 6
|
299
|
-
end
|
300
|
-
add_message "google.cloud.video.transcoder.v1.TextStream" do
|
301
|
-
optional :codec, :string, 1
|
302
|
-
optional :language_code, :string, 2
|
303
|
-
repeated :mapping, :message, 3, "google.cloud.video.transcoder.v1.TextStream.TextMapping"
|
304
|
-
optional :display_name, :string, 4
|
305
|
-
end
|
306
|
-
add_message "google.cloud.video.transcoder.v1.TextStream.TextMapping" do
|
307
|
-
optional :atom_key, :string, 1
|
308
|
-
optional :input_key, :string, 2
|
309
|
-
optional :input_track, :int32, 3
|
310
|
-
end
|
311
|
-
add_message "google.cloud.video.transcoder.v1.SegmentSettings" do
|
312
|
-
optional :segment_duration, :message, 1, "google.protobuf.Duration"
|
313
|
-
optional :individual_segments, :bool, 3
|
13
|
+
|
14
|
+
descriptor_data = "\n0google/cloud/video/transcoder/v1/resources.proto\x12 google.cloud.video.transcoder.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xc8\x07\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\tinput_uri\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x17\n\noutput_uri\x18\x03 \x01(\tB\x03\xe0\x41\x04\x12\x1a\n\x0btemplate_id\x18\x04 \x01(\tB\x03\xe0\x41\x04H\x00\x12=\n\x06\x63onfig\x18\x05 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfigH\x00\x12I\n\x05state\x18\x08 \x01(\x0e\x32\x35.google.cloud.video.transcoder.v1.Job.ProcessingStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12!\n\x19ttl_after_completion_days\x18\x0f \x01(\x05\x12\x41\n\x06labels\x18\x10 \x03(\x0b\x32\x31.google.cloud.video.transcoder.v1.Job.LabelsEntry\x12&\n\x05\x65rror\x18\x11 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x42\n\x04mode\x18\x14 \x01(\x0e\x32\x34.google.cloud.video.transcoder.v1.Job.ProcessingMode\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"h\n\x0fProcessingState\x12 \n\x1cPROCESSING_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"m\n\x0eProcessingMode\x12\x1f\n\x1bPROCESSING_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bPROCESSING_MODE_INTERACTIVE\x10\x01\x12\x19\n\x15PROCESSING_MODE_BATCH\x10\x02:V\xea\x41S\n\x1dtranscoder.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}B\x0c\n\njob_config\"\xc3\x02\n\x0bJobTemplate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12;\n\x06\x63onfig\x18\x02 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfig\x12I\n\x06labels\x18\x03 \x03(\x0b\x32\x39.google.cloud.video.transcoder.v1.JobTemplate.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:o\xea\x41l\n%transcoder.googleapis.com/JobTemplate\x12\x43projects/{project}/locations/{location}/jobTemplates/{job_template}\"\xa0\x05\n\tJobConfig\x12\x37\n\x06inputs\x18\x01 \x03(\x0b\x32\'.google.cloud.video.transcoder.v1.Input\x12=\n\tedit_list\x18\x02 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.EditAtom\x12N\n\x12\x65lementary_streams\x18\x03 \x03(\x0b\x32\x32.google.cloud.video.transcoder.v1.ElementaryStream\x12@\n\x0bmux_streams\x18\x04 \x03(\x0b\x32+.google.cloud.video.transcoder.v1.MuxStream\x12=\n\tmanifests\x18\x05 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.Manifest\x12\x38\n\x06output\x18\x06 \x01(\x0b\x32(.google.cloud.video.transcoder.v1.Output\x12<\n\tad_breaks\x18\x07 \x03(\x0b\x32).google.cloud.video.transcoder.v1.AdBreak\x12O\n\x12pubsub_destination\x18\x08 \x01(\x0b\x32\x33.google.cloud.video.transcoder.v1.PubsubDestination\x12\x44\n\rsprite_sheets\x18\t \x03(\x0b\x32-.google.cloud.video.transcoder.v1.SpriteSheet\x12;\n\x08overlays\x18\n \x03(\x0b\x32).google.cloud.video.transcoder.v1.Overlay\"v\n\x05Input\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12S\n\x14preprocessing_config\x18\x03 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.PreprocessingConfig\"\x15\n\x06Output\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\x91\x01\n\x08\x45\x64itAtom\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x32\n\x0f\x65nd_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11start_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"?\n\x07\x41\x64\x42reak\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x87\x02\n\x10\x45lementaryStream\x12\x0b\n\x03key\x18\x04 \x01(\t\x12\x45\n\x0cvideo_stream\x18\x01 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.VideoStreamH\x00\x12\x45\n\x0c\x61udio_stream\x18\x02 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.AudioStreamH\x00\x12\x43\n\x0btext_stream\x18\x03 \x01(\x0b\x32,.google.cloud.video.transcoder.v1.TextStreamH\x00\x42\x13\n\x11\x65lementary_stream\"\xa7\x01\n\tMuxStream\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tcontainer\x18\x03 \x01(\t\x12\x1a\n\x12\x65lementary_streams\x18\x04 \x03(\t\x12K\n\x10segment_settings\x18\x05 \x01(\x0b\x32\x31.google.cloud.video.transcoder.v1.SegmentSettings\"\xc5\x01\n\x08Manifest\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12J\n\x04type\x18\x02 \x01(\x0e\x32\x37.google.cloud.video.transcoder.v1.Manifest.ManifestTypeB\x03\xe0\x41\x02\x12\x18\n\x0bmux_streams\x18\x03 \x03(\tB\x03\xe0\x41\x02\"@\n\x0cManifestType\x12\x1d\n\x19MANIFEST_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03HLS\x10\x01\x12\x08\n\x04\x44\x41SH\x10\x02\"\"\n\x11PubsubDestination\x12\r\n\x05topic\x18\x01 \x01(\t\"\xfd\x02\n\x0bSpriteSheet\x12\x0e\n\x06\x66ormat\x18\x01 \x01(\t\x12\x18\n\x0b\x66ile_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13sprite_width_pixels\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12!\n\x14sprite_height_pixels\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0c\x63olumn_count\x18\x05 \x01(\x05\x12\x11\n\trow_count\x18\x06 \x01(\x05\x12\x34\n\x11start_time_offset\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\x0btotal_count\x18\t \x01(\x05H\x00\x12-\n\x08interval\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07quality\x18\x0b \x01(\x05\x42\x15\n\x13\x65xtraction_strategy\"\x8b\t\n\x07Overlay\x12>\n\x05image\x18\x01 \x01(\x0b\x32/.google.cloud.video.transcoder.v1.Overlay.Image\x12G\n\nanimations\x18\x02 \x03(\x0b\x32\x33.google.cloud.video.transcoder.v1.Overlay.Animation\x1a,\n\x14NormalizedCoordinate\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1a|\n\x05Image\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\nresolution\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\r\n\x05\x61lpha\x18\x03 \x01(\x01\x1a\x93\x01\n\x0f\x41nimationStatic\x12J\n\x02xy\x18\x01 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x91\x02\n\rAnimationFade\x12J\n\tfade_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.video.transcoder.v1.Overlay.FadeTypeB\x03\xe0\x41\x02\x12J\n\x02xy\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x44\n\x0c\x41nimationEnd\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x98\x02\n\tAnimation\x12U\n\x10\x61nimation_static\x18\x01 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.Overlay.AnimationStaticH\x00\x12Q\n\x0e\x61nimation_fade\x18\x02 \x01(\x0b\x32\x37.google.cloud.video.transcoder.v1.Overlay.AnimationFadeH\x00\x12O\n\ranimation_end\x18\x03 \x01(\x0b\x32\x36.google.cloud.video.transcoder.v1.Overlay.AnimationEndH\x00\x42\x10\n\x0e\x61nimation_type\"@\n\x08\x46\x61\x64\x65Type\x12\x19\n\x15\x46\x41\x44\x45_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46\x41\x44\x45_IN\x10\x01\x12\x0c\n\x08\x46\x41\x44\x45_OUT\x10\x02\"\xf3\n\n\x13PreprocessingConfig\x12J\n\x05\x63olor\x18\x01 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Color\x12N\n\x07\x64\x65noise\x18\x02 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise\x12N\n\x07\x64\x65\x62lock\x18\x03 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock\x12J\n\x05\x61udio\x18\x04 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio\x12H\n\x04\x63rop\x18\x05 \x01(\x0b\x32:.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop\x12\x46\n\x03pad\x18\x06 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad\x12V\n\x0b\x64\x65interlace\x18\x07 \x01(\x0b\x32\x41.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace\x1a\x41\n\x05\x43olor\x12\x12\n\nsaturation\x18\x01 \x01(\x01\x12\x10\n\x08\x63ontrast\x18\x02 \x01(\x01\x12\x12\n\nbrightness\x18\x03 \x01(\x01\x1a)\n\x07\x44\x65noise\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0c\n\x04tune\x18\x02 \x01(\t\x1a,\n\x07\x44\x65\x62lock\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x1a<\n\x05\x41udio\x12\x0c\n\x04lufs\x18\x01 \x01(\x01\x12\x12\n\nhigh_boost\x18\x02 \x01(\x08\x12\x11\n\tlow_boost\x18\x03 \x01(\x08\x1a\\\n\x04\x43rop\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a[\n\x03Pad\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a\xa4\x03\n\x0b\x44\x65interlace\x12^\n\x05yadif\x18\x01 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfigH\x00\x12^\n\x05\x62wdif\x18\x02 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfigH\x00\x1ap\n\x0bYadifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12#\n\x1b\x64isable_spatial_interlacing\x18\x02 \x01(\x08\x12\x0e\n\x06parity\x18\x03 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x04 \x01(\x08\x1aK\n\x0b\x42wdifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12\x0e\n\x06parity\x18\x02 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x03 \x01(\x08\x42\x16\n\x14\x64\x65interlacing_filter\"\x95\x0c\n\x0bVideoStream\x12O\n\x04h264\x18\x01 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettingsH\x00\x12O\n\x04h265\x18\x02 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettingsH\x00\x12M\n\x03vp9\x18\x03 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettingsH\x00\x1a\xf9\x03\n\x11H264CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x15\n\rentropy_coder\x18\x0e \x01(\t\x12\x11\n\tb_pyramid\x18\x0f \x01(\x08\x12\x15\n\rb_frame_count\x18\x10 \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x11 \x01(\x01\x12\x0f\n\x07profile\x18\x12 \x01(\t\x12\x0c\n\x04tune\x18\x13 \x01(\t\x12\x0e\n\x06preset\x18\x14 \x01(\tB\n\n\x08gop_mode\x1a\xe2\x03\n\x11H265CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x11\n\tb_pyramid\x18\x0e \x01(\x08\x12\x15\n\rb_frame_count\x18\x0f \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x10 \x01(\x01\x12\x0f\n\x07profile\x18\x11 \x01(\t\x12\x0c\n\x04tune\x18\x12 \x01(\t\x12\x0e\n\x06preset\x18\x13 \x01(\tB\n\n\x08gop_mode\x1a\xa1\x02\n\x10Vp9CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x19\n\x0fgop_frame_count\x18\x08 \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07profile\x18\n \x01(\tB\n\n\x08gop_modeB\x10\n\x0e\x63odec_settings\"\x9e\x03\n\x0b\x41udioStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x18\n\x0b\x62itrate_bps\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\rchannel_count\x18\x03 \x01(\x05\x12\x16\n\x0e\x63hannel_layout\x18\x04 \x03(\t\x12K\n\x07mapping\x18\x05 \x03(\x0b\x32:.google.cloud.video.transcoder.v1.AudioStream.AudioMapping\x12\x19\n\x11sample_rate_hertz\x18\x06 \x01(\x05\x12\x15\n\rlanguage_code\x18\x07 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\t\x1a\xa1\x01\n\x0c\x41udioMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1a\n\rinput_channel\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0eoutput_channel\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0f\n\x07gain_db\x18\x06 \x01(\x01\"\xeb\x01\n\nTextStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12I\n\x07mapping\x18\x03 \x03(\x0b\x32\x38.google.cloud.video.transcoder.v1.TextStream.TextMapping\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x1aV\n\x0bTextMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"h\n\x0fSegmentSettings\x12\x33\n\x10segment_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x13individual_segments\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\x42~\n$com.google.cloud.video.transcoder.v1B\x0eResourcesProtoP\x01ZDcloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpbb\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError => e
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
30
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
31
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
32
|
+
]
|
33
|
+
imports.each do |type_name, expected_filename|
|
34
|
+
import_file = pool.lookup(type_name).file_descriptor
|
35
|
+
if import_file.name != expected_filename
|
36
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
314
37
|
end
|
315
38
|
end
|
39
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
40
|
+
warn "This will become an error in the next major version."
|
316
41
|
end
|
317
42
|
|
318
43
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/video/transcoder/v1/services.proto
|
3
4
|
|
@@ -10,56 +11,32 @@ require 'google/api/resource_pb'
|
|
10
11
|
require 'google/cloud/video/transcoder/v1/resources_pb'
|
11
12
|
require 'google/protobuf/empty_pb'
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
optional :next_page_token, :string, 2
|
36
|
-
repeated :unreachable, :string, 3
|
37
|
-
end
|
38
|
-
add_message "google.cloud.video.transcoder.v1.CreateJobTemplateRequest" do
|
39
|
-
optional :parent, :string, 1
|
40
|
-
optional :job_template, :message, 2, "google.cloud.video.transcoder.v1.JobTemplate"
|
41
|
-
optional :job_template_id, :string, 3
|
42
|
-
end
|
43
|
-
add_message "google.cloud.video.transcoder.v1.ListJobTemplatesRequest" do
|
44
|
-
optional :parent, :string, 1
|
45
|
-
optional :page_size, :int32, 2
|
46
|
-
optional :page_token, :string, 3
|
47
|
-
optional :filter, :string, 4
|
48
|
-
optional :order_by, :string, 5
|
49
|
-
end
|
50
|
-
add_message "google.cloud.video.transcoder.v1.GetJobTemplateRequest" do
|
51
|
-
optional :name, :string, 1
|
52
|
-
end
|
53
|
-
add_message "google.cloud.video.transcoder.v1.DeleteJobTemplateRequest" do
|
54
|
-
optional :name, :string, 1
|
55
|
-
optional :allow_missing, :bool, 2
|
56
|
-
end
|
57
|
-
add_message "google.cloud.video.transcoder.v1.ListJobTemplatesResponse" do
|
58
|
-
repeated :job_templates, :message, 1, "google.cloud.video.transcoder.v1.JobTemplate"
|
59
|
-
optional :next_page_token, :string, 2
|
60
|
-
repeated :unreachable, :string, 3
|
14
|
+
|
15
|
+
descriptor_data = "\n/google/cloud/video/transcoder/v1/services.proto\x12 google.cloud.video.transcoder.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/video/transcoder/v1/resources.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x86\x01\n\x10\x43reateJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x37\n\x03job\x18\x02 \x01(\x0b\x32%.google.cloud.video.transcoder.v1.JobB\x03\xe0\x41\x02\"\x95\x01\n\x0fListJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"D\n\rGetJobRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dtranscoder.googleapis.com/Job\"^\n\x10\x44\x65leteJobRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dtranscoder.googleapis.com/Job\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"u\n\x10ListJobsResponse\x12\x33\n\x04jobs\x18\x01 \x03(\x0b\x32%.google.cloud.video.transcoder.v1.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xbd\x01\n\x18\x43reateJobTemplateRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12H\n\x0cjob_template\x18\x02 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.JobTemplateB\x03\xe0\x41\x02\x12\x1c\n\x0fjob_template_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9d\x01\n\x17ListJobTemplatesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"T\n\x15GetJobTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%transcoder.googleapis.com/JobTemplate\"n\n\x18\x44\x65leteJobTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%transcoder.googleapis.com/JobTemplate\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x8e\x01\n\x18ListJobTemplatesResponse\x12\x44\n\rjob_templates\x18\x01 \x03(\x0b\x32-.google.cloud.video.transcoder.v1.JobTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t2\x92\x0c\n\x11TranscoderService\x12\xaa\x01\n\tCreateJob\x12\x32.google.cloud.video.transcoder.v1.CreateJobRequest\x1a%.google.cloud.video.transcoder.v1.Job\"B\x82\xd3\xe4\x93\x02/\"(/v1/{parent=projects/*/locations/*}/jobs:\x03job\xda\x41\nparent,job\x12\xac\x01\n\x08ListJobs\x12\x31.google.cloud.video.transcoder.v1.ListJobsRequest\x1a\x32.google.cloud.video.transcoder.v1.ListJobsResponse\"9\x82\xd3\xe4\x93\x02*\x12(/v1/{parent=projects/*/locations/*}/jobs\xda\x41\x06parent\x12\x99\x01\n\x06GetJob\x12/.google.cloud.video.transcoder.v1.GetJobRequest\x1a%.google.cloud.video.transcoder.v1.Job\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=projects/*/locations/*/jobs/*}\xda\x41\x04name\x12\x90\x01\n\tDeleteJob\x12\x32.google.cloud.video.transcoder.v1.DeleteJobRequest\x1a\x16.google.protobuf.Empty\"7\x82\xd3\xe4\x93\x02**(/v1/{name=projects/*/locations/*/jobs/*}\xda\x41\x04name\x12\xec\x01\n\x11\x43reateJobTemplate\x12:.google.cloud.video.transcoder.v1.CreateJobTemplateRequest\x1a-.google.cloud.video.transcoder.v1.JobTemplate\"l\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/jobTemplates:\x0cjob_template\xda\x41#parent,job_template,job_template_id\x12\xcc\x01\n\x10ListJobTemplates\x12\x39.google.cloud.video.transcoder.v1.ListJobTemplatesRequest\x1a:.google.cloud.video.transcoder.v1.ListJobTemplatesResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/jobTemplates\xda\x41\x06parent\x12\xb9\x01\n\x0eGetJobTemplate\x12\x37.google.cloud.video.transcoder.v1.GetJobTemplateRequest\x1a-.google.cloud.video.transcoder.v1.JobTemplate\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/jobTemplates/*}\xda\x41\x04name\x12\xa8\x01\n\x11\x44\x65leteJobTemplate\x12:.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest\x1a\x16.google.protobuf.Empty\"?\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/jobTemplates/*}\xda\x41\x04name\x1aM\xca\x41\x19transcoder.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xea\x01\n$com.google.cloud.video.transcoder.v1B\rServicesProtoP\x01ZDcloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpb\xaa\x02 Google.Cloud.Video.Transcoder.V1\xca\x02 Google\\Cloud\\Video\\Transcoder\\V1\xea\x02$Google::Cloud::Video::Transcoder::V1b\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
|
19
|
+
begin
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
21
|
+
rescue TypeError => e
|
22
|
+
# Compatibility code: will be removed in the next major version.
|
23
|
+
require 'google/protobuf/descriptor_pb'
|
24
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
+
parsed.clear_dependency
|
26
|
+
serialized = parsed.class.encode(parsed)
|
27
|
+
file = pool.add_serialized_file(serialized)
|
28
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
+
imports = [
|
30
|
+
["google.cloud.video.transcoder.v1.Job", "google/cloud/video/transcoder/v1/resources.proto"],
|
31
|
+
]
|
32
|
+
imports.each do |type_name, expected_filename|
|
33
|
+
import_file = pool.lookup(type_name).file_descriptor
|
34
|
+
if import_file.name != expected_filename
|
35
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
61
36
|
end
|
62
37
|
end
|
38
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
39
|
+
warn "This will become an error in the next major version."
|
63
40
|
end
|
64
41
|
|
65
42
|
module Google
|
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# long-running operation pattern.
|
84
84
|
# @!attribute [rw] new_issue_uri
|
85
85
|
# @return [::String]
|
86
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
87
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
88
88
|
# @!attribute [rw] documentation_uri
|
89
89
|
# @return [::String]
|
@@ -353,6 +353,15 @@ module Google
|
|
353
353
|
|
354
354
|
# Street View Org.
|
355
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
356
365
|
end
|
357
366
|
|
358
367
|
# To where should client libraries be published?
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-video-transcoder-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|