transcodely 0.3.12__tar.gz → 0.3.13__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. {transcodely-0.3.12 → transcodely-0.3.13}/PKG-INFO +12 -2
  2. {transcodely-0.3.12 → transcodely-0.3.13}/README.md +11 -1
  3. {transcodely-0.3.12 → transcodely-0.3.13}/pyproject.toml +1 -1
  4. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/videos.py +24 -1
  5. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/types.py +6 -0
  6. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/subtitles_pb2.py +14 -12
  7. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/subtitles_pb2.pyi +19 -2
  8. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/video_pb2.py +19 -7
  9. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/video_pb2.pyi +18 -0
  10. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/version.py +1 -1
  11. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/webhooks/types.py +20 -3
  12. {transcodely-0.3.12 → transcodely-0.3.13}/.gitignore +0 -0
  13. {transcodely-0.3.12 → transcodely-0.3.13}/LICENSE +0 -0
  14. {transcodely-0.3.12 → transcodely-0.3.13}/src/buf/__init__.py +0 -0
  15. {transcodely-0.3.12 → transcodely-0.3.13}/src/buf/validate/__init__.py +0 -0
  16. {transcodely-0.3.12 → transcodely-0.3.13}/src/buf/validate/validate_pb2.py +0 -0
  17. {transcodely-0.3.12 → transcodely-0.3.13}/src/buf/validate/validate_pb2.pyi +0 -0
  18. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/__init__.py +0 -0
  19. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/_codec/__init__.py +0 -0
  20. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/_codec/json_codec.py +0 -0
  21. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/_transport/__init__.py +0 -0
  22. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/_transport/error_mapping.py +0 -0
  23. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/_transport/headers.py +0 -0
  24. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/_transport/transport.py +0 -0
  25. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/client.py +0 -0
  26. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/errors.py +0 -0
  27. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/pagination.py +0 -0
  28. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/py.typed +0 -0
  29. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/__init__.py +0 -0
  30. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/_helpers.py +0 -0
  31. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/api_keys.py +0 -0
  32. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/apps.py +0 -0
  33. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/billing.py +0 -0
  34. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/events.py +0 -0
  35. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/health.py +0 -0
  36. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/ingest_rules.py +0 -0
  37. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/jobs.py +0 -0
  38. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/memberships.py +0 -0
  39. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/organizations.py +0 -0
  40. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/origins.py +0 -0
  41. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/presets.py +0 -0
  42. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/users.py +0 -0
  43. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/resources/webhook_endpoints.py +0 -0
  44. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/streaming.py +0 -0
  45. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/api_key_pb2.py +0 -0
  46. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/api_key_pb2.pyi +0 -0
  47. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/app_pb2.py +0 -0
  48. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/app_pb2.pyi +0 -0
  49. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/billing_pb2.py +0 -0
  50. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/billing_pb2.pyi +0 -0
  51. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/codec_av1_pb2.py +0 -0
  52. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/codec_av1_pb2.pyi +0 -0
  53. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/codec_h264_pb2.py +0 -0
  54. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/codec_h264_pb2.pyi +0 -0
  55. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/codec_h265_pb2.py +0 -0
  56. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/codec_h265_pb2.pyi +0 -0
  57. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/codec_vp9_pb2.py +0 -0
  58. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/codec_vp9_pb2.pyi +0 -0
  59. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/common_pb2.py +0 -0
  60. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/common_pb2.pyi +0 -0
  61. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/content_aware_pb2.py +0 -0
  62. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/content_aware_pb2.pyi +0 -0
  63. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/drm_pb2.py +0 -0
  64. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/drm_pb2.pyi +0 -0
  65. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/hdr_pb2.py +0 -0
  66. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/hdr_pb2.pyi +0 -0
  67. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/health_pb2.py +0 -0
  68. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/health_pb2.pyi +0 -0
  69. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/ingest_rule_pb2.py +0 -0
  70. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/ingest_rule_pb2.pyi +0 -0
  71. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/job_pb2.py +0 -0
  72. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/job_pb2.pyi +0 -0
  73. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/media_pb2.py +0 -0
  74. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/media_pb2.pyi +0 -0
  75. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/membership_pb2.py +0 -0
  76. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/membership_pb2.pyi +0 -0
  77. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/organization_pb2.py +0 -0
  78. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/organization_pb2.pyi +0 -0
  79. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/origin_pb2.py +0 -0
  80. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/origin_pb2.pyi +0 -0
  81. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/preset_pb2.py +0 -0
  82. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/preset_pb2.pyi +0 -0
  83. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/streaming_pb2.py +0 -0
  84. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/streaming_pb2.pyi +0 -0
  85. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/thumbnails_pb2.py +0 -0
  86. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/thumbnails_pb2.pyi +0 -0
  87. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/user_pb2.py +0 -0
  88. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/user_pb2.pyi +0 -0
  89. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/watermark_pb2.py +0 -0
  90. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/watermark_pb2.pyi +0 -0
  91. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/webhook_pb2.py +0 -0
  92. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/v1/webhook_pb2.pyi +0 -0
  93. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/webhooks/__init__.py +0 -0
  94. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/webhooks/construct_event.py +0 -0
  95. {transcodely-0.3.12 → transcodely-0.3.13}/src/transcodely/webhooks/signature.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: transcodely
3
- Version: 0.3.12
3
+ Version: 0.3.13
4
4
  Summary: Official Python SDK for Transcodely — encode video to HLS, DASH and MP4 into your own S3, GCS or R2 bucket, with DRM and signed playback.
5
5
  Project-URL: Homepage, https://www.transcodely.com
6
6
  Project-URL: Documentation, https://www.transcodely.com/docs
@@ -209,6 +209,16 @@ print(kit.json_ld, kit.sitemap_entry, kit.html_fragment)
209
209
 
210
210
  Jobs carry the same data on `job.subtitle_results[i].transcript_renditions` and `job.insights`. The `job.insights.ready` and `job.insights.failed` webhook events tell you when an insights pass finishes.
211
211
 
212
+ A hosted video that already has AI captions can get insights without transcribing again (EUR 0.02 per video + EUR 0.005 per source minute, charged only when ready):
213
+
214
+ ```python
215
+ # language= is needed only when the video has several AI caption tracks.
216
+ ins = client.videos.generate_insights(id="vid_a1b2c3d4e5f6g7")
217
+ print(ins.id, ins.status) # ins_..., INSIGHTS_STATUS_PENDING
218
+ ```
219
+
220
+ The entry also appears on `video.insights`. The `video.insights.ready` and `video.insights.failed` webhook events carry the entry itself as a `TranscriptInsights` in `event.data`.
221
+
212
222
  ## Authentication
213
223
 
214
224
  ```python
@@ -221,7 +231,7 @@ API keys are opaque `ak_`-prefixed secrets — pass the full value shown once at
221
231
 
222
232
  ```python
223
233
  client.jobs # create / get / list / cancel / confirm / watch
224
- client.videos # upload helpers, multipart, create_from_url, get / list / update / delete / watch, get_stats / list_top_videos / get_seo_markup
234
+ client.videos # upload helpers, multipart, create_from_url, get / list / update / delete / watch, get_stats / list_top_videos / get_seo_markup / generate_insights
225
235
  client.presets # create / get / get_by_slug / list / update / duplicate / archive
226
236
  client.origins # create / get / list / update / validate / archive
227
237
  client.ingest_rules # create / get / list / update / delete / list_events / test / replay_event
@@ -172,6 +172,16 @@ print(kit.json_ld, kit.sitemap_entry, kit.html_fragment)
172
172
 
173
173
  Jobs carry the same data on `job.subtitle_results[i].transcript_renditions` and `job.insights`. The `job.insights.ready` and `job.insights.failed` webhook events tell you when an insights pass finishes.
174
174
 
175
+ A hosted video that already has AI captions can get insights without transcribing again (EUR 0.02 per video + EUR 0.005 per source minute, charged only when ready):
176
+
177
+ ```python
178
+ # language= is needed only when the video has several AI caption tracks.
179
+ ins = client.videos.generate_insights(id="vid_a1b2c3d4e5f6g7")
180
+ print(ins.id, ins.status) # ins_..., INSIGHTS_STATUS_PENDING
181
+ ```
182
+
183
+ The entry also appears on `video.insights`. The `video.insights.ready` and `video.insights.failed` webhook events carry the entry itself as a `TranscriptInsights` in `event.data`.
184
+
175
185
  ## Authentication
176
186
 
177
187
  ```python
@@ -184,7 +194,7 @@ API keys are opaque `ak_`-prefixed secrets — pass the full value shown once at
184
194
 
185
195
  ```python
186
196
  client.jobs # create / get / list / cancel / confirm / watch
187
- client.videos # upload helpers, multipart, create_from_url, get / list / update / delete / watch, get_stats / list_top_videos / get_seo_markup
197
+ client.videos # upload helpers, multipart, create_from_url, get / list / update / delete / watch, get_stats / list_top_videos / get_seo_markup / generate_insights
188
198
  client.presets # create / get / get_by_slug / list / update / duplicate / archive
189
199
  client.origins # create / get / list / update / validate / archive
190
200
  client.ingest_rules # create / get / list / update / delete / list_events / test / replay_event
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "transcodely"
7
- version = "0.3.12"
7
+ version = "0.3.13"
8
8
  description = "Official Python SDK for Transcodely — encode video to HLS, DASH and MP4 into your own S3, GCS or R2 bucket, with DRM and signed playback."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -8,7 +8,7 @@ from typing import Any
8
8
  from .._transport.transport import CallOptions, Transport
9
9
  from ..pagination import Page, PageContents
10
10
  from ..streaming import watch
11
- from ..v1 import video_pb2
11
+ from ..v1 import subtitles_pb2, video_pb2
12
12
  from ._helpers import fill_from_dict
13
13
 
14
14
  _SERVICE = "transcodely.v1.VideoService"
@@ -169,3 +169,26 @@ class Videos:
169
169
  """
170
170
  req = fill_from_dict(video_pb2.GetSeoMarkupRequest(), kwargs)
171
171
  return self._t.unary(_SERVICE, "GetSeoMarkup", req, video_pb2.GetSeoMarkupResponse())
172
+
173
+ def generate_insights(self, **kwargs: Any) -> subtitles_pb2.TranscriptInsights:
174
+ """Generate AI insights from a hosted video's existing AI captions.
175
+
176
+ Runs the insights pass (title suggestions, summary, key points,
177
+ chapters, questions, key terms, highlights, topics) without
178
+ transcribing again. Pass ``id`` (the ``vid_...`` video, required), plus
179
+ optional ``language`` (ISO 639-2; needed only when the video has several
180
+ AI caption tracks), ``hint`` (free-text guidance, at most 300
181
+ characters) and ``app_id``. Returns the ``TranscriptInsights`` entry in
182
+ ``"pending"``; it also appears on ``video.insights``, and
183
+ ``video.insights.ready`` or ``video.insights.failed`` fires when it
184
+ finishes. Billed EUR 0.02 per video plus EUR 0.005 per minute of source,
185
+ charged only when the insights become ready.
186
+
187
+ While an entry for the same video and language is pending, the call
188
+ returns that entry and bills nothing new. A video without AI captions is
189
+ refused with failed_precondition (code ``captions_required``).
190
+ """
191
+ req = fill_from_dict(video_pb2.GenerateInsightsRequest(), kwargs)
192
+ return self._t.unary(
193
+ _SERVICE, "GenerateInsights", req, video_pb2.GenerateInsightsResponse()
194
+ ).insights
@@ -354,6 +354,7 @@ from transcodely.v1.subtitles_pb2 import (
354
354
  InsightsHighlight,
355
355
  InsightsOptions,
356
356
  InsightsQuestion,
357
+ InsightsSource,
357
358
  InsightsStatus,
358
359
  InsightsTerm,
359
360
  SubtitleFormat,
@@ -404,6 +405,8 @@ from transcodely.v1.video_pb2 import (
404
405
  CreateUploadResponse,
405
406
  DailyUsage,
406
407
  DeleteVideoRequest,
408
+ GenerateInsightsRequest,
409
+ GenerateInsightsResponse,
407
410
  GetSeoMarkupRequest,
408
411
  GetSeoMarkupResponse,
409
412
  GetStatsRequest,
@@ -571,6 +574,8 @@ __all__ = [
571
574
  "GOPAlignmentMode",
572
575
  "GcsCredentials",
573
576
  "GcsOriginConfig",
577
+ "GenerateInsightsRequest",
578
+ "GenerateInsightsResponse",
574
579
  "GetAPIKeyRequest",
575
580
  "GetAPIKeyResponse",
576
581
  "GetAppRequest",
@@ -638,6 +643,7 @@ __all__ = [
638
643
  "InsightsHighlight",
639
644
  "InsightsOptions",
640
645
  "InsightsQuestion",
646
+ "InsightsSource",
641
647
  "InsightsStatus",
642
648
  "InsightsTerm",
643
649
  "Invoice",
@@ -26,7 +26,7 @@ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
26
26
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
27
 
28
28
 
29
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etranscodely/v1/subtitles.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcc\x03\n\x0b\x42urnInStyle\x12@\n\x0b\x66ont_family\x18\x01 \x01(\tB\x1a\xbaH\x17r\x15\x18@2\x11^[a-zA-Z0-9 _-]+$H\x00R\nfontFamily\x88\x01\x01\x12+\n\tfont_size\x18\x02 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18x(\x08H\x01R\x08\x66ontSize\x88\x01\x01\x12<\n\nfont_color\x18\x03 \x01(\tB\x18\xbaH\x15r\x13\x32\x11^#[0-9A-Fa-f]{6}$H\x02R\tfontColor\x88\x01\x01\x12\x42\n\routline_color\x18\x04 \x01(\tB\x18\xbaH\x15r\x13\x32\x11^#[0-9A-Fa-f]{6}$H\x03R\x0coutlineColor\x88\x01\x01\x12\x33\n\routline_width\x18\x05 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\n(\x00H\x04R\x0coutlineWidth\x88\x01\x01\x12\x34\n\rmargin_bottom\x18\x06 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\xc8\x01(\x00H\x05R\x0cmarginBottom\x88\x01\x01\x42\x0e\n\x0c_font_familyB\x0c\n\n_font_sizeB\r\n\x0b_font_colorB\x10\n\x0e_outline_colorB\x10\n\x0e_outline_widthB\x10\n\x0e_margin_bottom\"\xc8\x07\n\rSubtitleTrack\x12L\n\toperation\x18\x01 \x01(\x0e\x32!.transcodely.v1.SubtitleOperationB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\toperation\x12>\n\x13source_stream_index\x18\x02 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x1f(\x00H\x00R\x11sourceStreamIndex\x88\x01\x01\x12,\n\nsource_url\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x10H\x01R\tsourceUrl\x88\x01\x01\x12K\n\x0cinput_format\x18\x04 \x01(\x0e\x32\x1e.transcodely.v1.SubtitleFormatB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0binputFormat\x12M\n\routput_format\x18\x05 \x01(\x0e\x32\x1e.transcodely.v1.SubtitleFormatB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0coutputFormat\x12\x39\n\x08language\x18\x06 \x01(\tB\x18\xbaH\x15r\x13\x32\x11^([a-z]{3}|auto)$H\x02R\x08language\x88\x01\x01\x12\"\n\x05label\x18\x07 \x01(\tB\x07\xbaH\x04r\x02\x18@H\x03R\x05label\x88\x01\x01\x12\"\n\nis_default\x18\x08 \x01(\x08H\x04R\tisDefault\x88\x01\x01\x12.\n\x10hearing_impaired\x18\t \x01(\x08H\x05R\x0fhearingImpaired\x88\x01\x01\x12\x1b\n\x06\x66orced\x18\n \x01(\x08H\x06R\x06\x66orced\x88\x01\x01\x12\x44\n\rburn_in_style\x18\x0b \x01(\x0b\x32\x1b.transcodely.v1.BurnInStyleH\x07R\x0b\x62urnInStyle\x88\x01\x01\x12\x34\n\x11generate_chapters\x18\x0c \x01(\x08\x42\x02\x18\x01H\x08R\x10generateChapters\x88\x01\x01\x12\x41\n\ntranscript\x18\r \x01(\x0b\x32!.transcodely.v1.TranscriptOptionsR\ntranscript\x12;\n\x08insights\x18\x0e \x01(\x0b\x32\x1f.transcodely.v1.InsightsOptionsR\x08insightsB\x16\n\x14_source_stream_indexB\r\n\x0b_source_urlB\x0b\n\t_languageB\x08\n\x06_labelB\r\n\x0b_is_defaultB\x13\n\x11_hearing_impairedB\t\n\x07_forcedB\x10\n\x0e_burn_in_styleB\x14\n\x12_generate_chapters\"c\n\x11TranscriptOptions\x12\x44\n\x05style\x18\x01 \x01(\x0e\x32\x1f.transcodely.v1.TranscriptStyleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x00R\x05style\x88\x01\x01\x42\x08\n\x06_style\"W\n\x0fInsightsOptions\x12\x18\n\x07\x65nabled\x18\x01 \x01(\x08R\x07\x65nabled\x12!\n\x04hint\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\x18\xac\x02H\x00R\x04hint\x88\x01\x01\x42\x07\n\x05_hint\"\xb5\x01\n\x13TranscriptRendition\x12\x38\n\x06\x66ormat\x18\x01 \x01(\x0e\x32 .transcodely.v1.TranscriptFormatR\x06\x66ormat\x12\x1f\n\x0bstorage_key\x18\x02 \x01(\tR\nstorageKey\x12\x10\n\x03url\x18\x03 \x01(\tR\x03url\x12\"\n\nsigned_url\x18\x04 \x01(\tH\x00R\tsignedUrl\x88\x01\x01\x42\r\n\x0b_signed_url\"j\n\x0c\x43hapterPoint\x12#\n\rstart_seconds\x18\x01 \x01(\x01R\x0cstartSeconds\x12\x1f\n\x0b\x65nd_seconds\x18\x02 \x01(\x01R\nendSeconds\x12\x14\n\x05title\x18\x03 \x01(\tR\x05title\"\xb5\x01\n\rChapterResult\x12\x1b\n\toutput_id\x18\x01 \x01(\tR\x08outputId\x12\x1a\n\x08language\x18\x02 \x01(\tR\x08language\x12\x1f\n\x0bstorage_key\x18\x03 \x01(\tR\nstorageKey\x12\x10\n\x03url\x18\x04 \x01(\tR\x03url\x12\x38\n\x08\x63hapters\x18\x05 \x03(\x0b\x32\x1c.transcodely.v1.ChapterPointR\x08\x63hapters\"\xbb\x05\n\x0eSubtitleResult\x12\x1b\n\toutput_id\x18\x01 \x01(\tR\x08outputId\x12?\n\toperation\x18\x02 \x01(\x0e\x32!.transcodely.v1.SubtitleOperationR\toperation\x12\x36\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\x1e.transcodely.v1.SubtitleFormatR\x06\x66ormat\x12\x1a\n\x08language\x18\x04 \x01(\tR\x08language\x12\x14\n\x05label\x18\x05 \x01(\tR\x05label\x12%\n\x0e\x61uto_generated\x18\x06 \x01(\x08R\rautoGenerated\x12\x1f\n\x0bstorage_key\x18\x07 \x01(\tR\nstorageKey\x12\x10\n\x03url\x18\x08 \x01(\tR\x03url\x12\x34\n\x16transcript_storage_key\x18\t \x01(\tR\x14transcriptStorageKey\x12%\n\x0etranscript_url\x18\n \x01(\tR\rtranscriptUrl\x12\"\n\nsigned_url\x18\x0b \x01(\tH\x00R\tsignedUrl\x88\x01\x01\x12\x37\n\x15transcript_signed_url\x18\x0c \x01(\tH\x01R\x13transcriptSignedUrl\x88\x01\x01\x12X\n\x15transcript_renditions\x18\r \x03(\x0b\x32#.transcodely.v1.TranscriptRenditionR\x14transcriptRenditions\x12J\n\x10transcript_style\x18\x0e \x01(\x0e\x32\x1f.transcodely.v1.TranscriptStyleR\x0ftranscriptStyleB\r\n\x0b_signed_urlB\x18\n\x16_transcript_signed_url\"k\n\x10InsightsQuestion\x12\x1a\n\x08question\x18\x01 \x01(\tR\x08question\x12\x16\n\x06\x61nswer\x18\x02 \x01(\tR\x06\x61nswer\x12#\n\rstart_seconds\x18\x03 \x01(\x01R\x0cstartSeconds\"g\n\x0cInsightsTerm\x12\x12\n\x04term\x18\x01 \x01(\tR\x04term\x12\x1e\n\ndefinition\x18\x02 \x01(\tR\ndefinition\x12#\n\rstart_seconds\x18\x03 \x01(\x01R\x0cstartSeconds\"m\n\x11InsightsHighlight\x12\x12\n\x04text\x18\x01 \x01(\tR\x04text\x12#\n\rstart_seconds\x18\x02 \x01(\x01R\x0cstartSeconds\x12\x1f\n\x0b\x65nd_seconds\x18\x03 \x01(\x01R\nendSeconds\"\x90\x08\n\x12TranscriptInsights\x12\x1b\n\toutput_id\x18\x01 \x01(\tR\x08outputId\x12\x1a\n\x08language\x18\x02 \x01(\tR\x08language\x12\x36\n\x06status\x18\x03 \x01(\x0e\x32\x1e.transcodely.v1.InsightsStatusR\x06status\x12\x1d\n\nerror_code\x18\x04 \x01(\tR\terrorCode\x12+\n\x11title_suggestions\x18\x05 \x03(\tR\x10titleSuggestions\x12\x18\n\x07summary\x18\x06 \x01(\tR\x07summary\x12\x1d\n\nkey_points\x18\x07 \x03(\tR\tkeyPoints\x12\x38\n\x08\x63hapters\x18\x08 \x03(\x0b\x32\x1c.transcodely.v1.ChapterPointR\x08\x63hapters\x12>\n\tquestions\x18\t \x03(\x0b\x32 .transcodely.v1.InsightsQuestionR\tquestions\x12\x32\n\x05terms\x18\n \x03(\x0b\x32\x1c.transcodely.v1.InsightsTermR\x05terms\x12\x41\n\nhighlights\x18\x0b \x03(\x0b\x32!.transcodely.v1.InsightsHighlightR\nhighlights\x12\x16\n\x06topics\x18\x0c \x03(\tR\x06topics\x12\x1f\n\x0bstorage_key\x18\r \x01(\tR\nstorageKey\x12\x10\n\x03url\x18\x0e \x01(\tR\x03url\x12\"\n\nsigned_url\x18\x0f \x01(\tH\x00R\tsignedUrl\x88\x01\x01\x12\x30\n\x14\x63hapters_storage_key\x18\x10 \x01(\tR\x12\x63haptersStorageKey\x12!\n\x0c\x63hapters_url\x18\x11 \x01(\tR\x0b\x63haptersUrl\x12\x33\n\x13\x63hapters_signed_url\x18\x12 \x01(\tH\x01R\x11\x63haptersSignedUrl\x88\x01\x01\x12\x30\n\x14markdown_storage_key\x18\x13 \x01(\tR\x12markdownStorageKey\x12!\n\x0cmarkdown_url\x18\x14 \x01(\tR\x0bmarkdownUrl\x12\x33\n\x13markdown_signed_url\x18\x15 \x01(\tH\x02R\x11markdownSignedUrl\x88\x01\x01\x12=\n\x0cgenerated_at\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bgeneratedAt\x12\x12\n\x04hint\x18\x17 \x01(\tR\x04hintB\r\n\x0b_signed_urlB\x16\n\x14_chapters_signed_urlB\x16\n\x14_markdown_signed_url*\xdc\x01\n\x11SubtitleOperation\x12\"\n\x1eSUBTITLE_OPERATION_UNSPECIFIED\x10\x00\x12\"\n\x1eSUBTITLE_OPERATION_PASSTHROUGH\x10\x01\x12\x1e\n\x1aSUBTITLE_OPERATION_CONVERT\x10\x02\x12\x1e\n\x1aSUBTITLE_OPERATION_BURN_IN\x10\x03\x12\x1e\n\x1aSUBTITLE_OPERATION_EXTRACT\x10\x04\x12\x1f\n\x1bSUBTITLE_OPERATION_GENERATE\x10\x05*\x99\x01\n\x0eSubtitleFormat\x12\x1f\n\x1bSUBTITLE_FORMAT_UNSPECIFIED\x10\x00\x12\x17\n\x13SUBTITLE_FORMAT_SRT\x10\x01\x12\x1a\n\x16SUBTITLE_FORMAT_WEBVTT\x10\x02\x12\x18\n\x14SUBTITLE_FORMAT_TTML\x10\x03\x12\x17\n\x13SUBTITLE_FORMAT_ASS\x10\x04*m\n\x0fTranscriptStyle\x12 \n\x1cTRANSCRIPT_STYLE_UNSPECIFIED\x10\x00\x12\x1a\n\x16TRANSCRIPT_STYLE_CLEAN\x10\x01\x12\x1c\n\x18TRANSCRIPT_STYLE_LITERAL\x10\x02*\x86\x01\n\x10TranscriptFormat\x12!\n\x1dTRANSCRIPT_FORMAT_UNSPECIFIED\x10\x00\x12\x1a\n\x16TRANSCRIPT_FORMAT_JSON\x10\x01\x12\x19\n\x15TRANSCRIPT_FORMAT_TXT\x10\x02\x12\x18\n\x14TRANSCRIPT_FORMAT_MD\x10\x03*\x85\x01\n\x0eInsightsStatus\x12\x1f\n\x1bINSIGHTS_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17INSIGHTS_STATUS_PENDING\x10\x01\x12\x19\n\x15INSIGHTS_STATUS_READY\x10\x02\x12\x1a\n\x16INSIGHTS_STATUS_FAILED\x10\x03\x62\x06proto3')
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etranscodely/v1/subtitles.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcc\x03\n\x0b\x42urnInStyle\x12@\n\x0b\x66ont_family\x18\x01 \x01(\tB\x1a\xbaH\x17r\x15\x18@2\x11^[a-zA-Z0-9 _-]+$H\x00R\nfontFamily\x88\x01\x01\x12+\n\tfont_size\x18\x02 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18x(\x08H\x01R\x08\x66ontSize\x88\x01\x01\x12<\n\nfont_color\x18\x03 \x01(\tB\x18\xbaH\x15r\x13\x32\x11^#[0-9A-Fa-f]{6}$H\x02R\tfontColor\x88\x01\x01\x12\x42\n\routline_color\x18\x04 \x01(\tB\x18\xbaH\x15r\x13\x32\x11^#[0-9A-Fa-f]{6}$H\x03R\x0coutlineColor\x88\x01\x01\x12\x33\n\routline_width\x18\x05 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\n(\x00H\x04R\x0coutlineWidth\x88\x01\x01\x12\x34\n\rmargin_bottom\x18\x06 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\xc8\x01(\x00H\x05R\x0cmarginBottom\x88\x01\x01\x42\x0e\n\x0c_font_familyB\x0c\n\n_font_sizeB\r\n\x0b_font_colorB\x10\n\x0e_outline_colorB\x10\n\x0e_outline_widthB\x10\n\x0e_margin_bottom\"\xc8\x07\n\rSubtitleTrack\x12L\n\toperation\x18\x01 \x01(\x0e\x32!.transcodely.v1.SubtitleOperationB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\toperation\x12>\n\x13source_stream_index\x18\x02 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x1f(\x00H\x00R\x11sourceStreamIndex\x88\x01\x01\x12,\n\nsource_url\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x10H\x01R\tsourceUrl\x88\x01\x01\x12K\n\x0cinput_format\x18\x04 \x01(\x0e\x32\x1e.transcodely.v1.SubtitleFormatB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0binputFormat\x12M\n\routput_format\x18\x05 \x01(\x0e\x32\x1e.transcodely.v1.SubtitleFormatB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0coutputFormat\x12\x39\n\x08language\x18\x06 \x01(\tB\x18\xbaH\x15r\x13\x32\x11^([a-z]{3}|auto)$H\x02R\x08language\x88\x01\x01\x12\"\n\x05label\x18\x07 \x01(\tB\x07\xbaH\x04r\x02\x18@H\x03R\x05label\x88\x01\x01\x12\"\n\nis_default\x18\x08 \x01(\x08H\x04R\tisDefault\x88\x01\x01\x12.\n\x10hearing_impaired\x18\t \x01(\x08H\x05R\x0fhearingImpaired\x88\x01\x01\x12\x1b\n\x06\x66orced\x18\n \x01(\x08H\x06R\x06\x66orced\x88\x01\x01\x12\x44\n\rburn_in_style\x18\x0b \x01(\x0b\x32\x1b.transcodely.v1.BurnInStyleH\x07R\x0b\x62urnInStyle\x88\x01\x01\x12\x34\n\x11generate_chapters\x18\x0c \x01(\x08\x42\x02\x18\x01H\x08R\x10generateChapters\x88\x01\x01\x12\x41\n\ntranscript\x18\r \x01(\x0b\x32!.transcodely.v1.TranscriptOptionsR\ntranscript\x12;\n\x08insights\x18\x0e \x01(\x0b\x32\x1f.transcodely.v1.InsightsOptionsR\x08insightsB\x16\n\x14_source_stream_indexB\r\n\x0b_source_urlB\x0b\n\t_languageB\x08\n\x06_labelB\r\n\x0b_is_defaultB\x13\n\x11_hearing_impairedB\t\n\x07_forcedB\x10\n\x0e_burn_in_styleB\x14\n\x12_generate_chapters\"c\n\x11TranscriptOptions\x12\x44\n\x05style\x18\x01 \x01(\x0e\x32\x1f.transcodely.v1.TranscriptStyleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x00R\x05style\x88\x01\x01\x42\x08\n\x06_style\"W\n\x0fInsightsOptions\x12\x18\n\x07\x65nabled\x18\x01 \x01(\x08R\x07\x65nabled\x12!\n\x04hint\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\x18\xac\x02H\x00R\x04hint\x88\x01\x01\x42\x07\n\x05_hint\"\xb5\x01\n\x13TranscriptRendition\x12\x38\n\x06\x66ormat\x18\x01 \x01(\x0e\x32 .transcodely.v1.TranscriptFormatR\x06\x66ormat\x12\x1f\n\x0bstorage_key\x18\x02 \x01(\tR\nstorageKey\x12\x10\n\x03url\x18\x03 \x01(\tR\x03url\x12\"\n\nsigned_url\x18\x04 \x01(\tH\x00R\tsignedUrl\x88\x01\x01\x42\r\n\x0b_signed_url\"j\n\x0c\x43hapterPoint\x12#\n\rstart_seconds\x18\x01 \x01(\x01R\x0cstartSeconds\x12\x1f\n\x0b\x65nd_seconds\x18\x02 \x01(\x01R\nendSeconds\x12\x14\n\x05title\x18\x03 \x01(\tR\x05title\"\xb5\x01\n\rChapterResult\x12\x1b\n\toutput_id\x18\x01 \x01(\tR\x08outputId\x12\x1a\n\x08language\x18\x02 \x01(\tR\x08language\x12\x1f\n\x0bstorage_key\x18\x03 \x01(\tR\nstorageKey\x12\x10\n\x03url\x18\x04 \x01(\tR\x03url\x12\x38\n\x08\x63hapters\x18\x05 \x03(\x0b\x32\x1c.transcodely.v1.ChapterPointR\x08\x63hapters\"\xbb\x05\n\x0eSubtitleResult\x12\x1b\n\toutput_id\x18\x01 \x01(\tR\x08outputId\x12?\n\toperation\x18\x02 \x01(\x0e\x32!.transcodely.v1.SubtitleOperationR\toperation\x12\x36\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\x1e.transcodely.v1.SubtitleFormatR\x06\x66ormat\x12\x1a\n\x08language\x18\x04 \x01(\tR\x08language\x12\x14\n\x05label\x18\x05 \x01(\tR\x05label\x12%\n\x0e\x61uto_generated\x18\x06 \x01(\x08R\rautoGenerated\x12\x1f\n\x0bstorage_key\x18\x07 \x01(\tR\nstorageKey\x12\x10\n\x03url\x18\x08 \x01(\tR\x03url\x12\x34\n\x16transcript_storage_key\x18\t \x01(\tR\x14transcriptStorageKey\x12%\n\x0etranscript_url\x18\n \x01(\tR\rtranscriptUrl\x12\"\n\nsigned_url\x18\x0b \x01(\tH\x00R\tsignedUrl\x88\x01\x01\x12\x37\n\x15transcript_signed_url\x18\x0c \x01(\tH\x01R\x13transcriptSignedUrl\x88\x01\x01\x12X\n\x15transcript_renditions\x18\r \x03(\x0b\x32#.transcodely.v1.TranscriptRenditionR\x14transcriptRenditions\x12J\n\x10transcript_style\x18\x0e \x01(\x0e\x32\x1f.transcodely.v1.TranscriptStyleR\x0ftranscriptStyleB\r\n\x0b_signed_urlB\x18\n\x16_transcript_signed_url\"k\n\x10InsightsQuestion\x12\x1a\n\x08question\x18\x01 \x01(\tR\x08question\x12\x16\n\x06\x61nswer\x18\x02 \x01(\tR\x06\x61nswer\x12#\n\rstart_seconds\x18\x03 \x01(\x01R\x0cstartSeconds\"g\n\x0cInsightsTerm\x12\x12\n\x04term\x18\x01 \x01(\tR\x04term\x12\x1e\n\ndefinition\x18\x02 \x01(\tR\ndefinition\x12#\n\rstart_seconds\x18\x03 \x01(\x01R\x0cstartSeconds\"m\n\x11InsightsHighlight\x12\x12\n\x04text\x18\x01 \x01(\tR\x04text\x12#\n\rstart_seconds\x18\x02 \x01(\x01R\x0cstartSeconds\x12\x1f\n\x0b\x65nd_seconds\x18\x03 \x01(\x01R\nendSeconds\"\x9d\t\n\x12TranscriptInsights\x12\x1b\n\toutput_id\x18\x01 \x01(\tR\x08outputId\x12\x1a\n\x08language\x18\x02 \x01(\tR\x08language\x12\x36\n\x06status\x18\x03 \x01(\x0e\x32\x1e.transcodely.v1.InsightsStatusR\x06status\x12\x1d\n\nerror_code\x18\x04 \x01(\tR\terrorCode\x12+\n\x11title_suggestions\x18\x05 \x03(\tR\x10titleSuggestions\x12\x18\n\x07summary\x18\x06 \x01(\tR\x07summary\x12\x1d\n\nkey_points\x18\x07 \x03(\tR\tkeyPoints\x12\x38\n\x08\x63hapters\x18\x08 \x03(\x0b\x32\x1c.transcodely.v1.ChapterPointR\x08\x63hapters\x12>\n\tquestions\x18\t \x03(\x0b\x32 .transcodely.v1.InsightsQuestionR\tquestions\x12\x32\n\x05terms\x18\n \x03(\x0b\x32\x1c.transcodely.v1.InsightsTermR\x05terms\x12\x41\n\nhighlights\x18\x0b \x03(\x0b\x32!.transcodely.v1.InsightsHighlightR\nhighlights\x12\x16\n\x06topics\x18\x0c \x03(\tR\x06topics\x12\x1f\n\x0bstorage_key\x18\r \x01(\tR\nstorageKey\x12\x10\n\x03url\x18\x0e \x01(\tR\x03url\x12\"\n\nsigned_url\x18\x0f \x01(\tH\x00R\tsignedUrl\x88\x01\x01\x12\x30\n\x14\x63hapters_storage_key\x18\x10 \x01(\tR\x12\x63haptersStorageKey\x12!\n\x0c\x63hapters_url\x18\x11 \x01(\tR\x0b\x63haptersUrl\x12\x33\n\x13\x63hapters_signed_url\x18\x12 \x01(\tH\x01R\x11\x63haptersSignedUrl\x88\x01\x01\x12\x30\n\x14markdown_storage_key\x18\x13 \x01(\tR\x12markdownStorageKey\x12!\n\x0cmarkdown_url\x18\x14 \x01(\tR\x0bmarkdownUrl\x12\x33\n\x13markdown_signed_url\x18\x15 \x01(\tH\x02R\x11markdownSignedUrl\x88\x01\x01\x12=\n\x0cgenerated_at\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bgeneratedAt\x12\x12\n\x04hint\x18\x17 \x01(\tR\x04hint\x12\x0e\n\x02id\x18\x18 \x01(\tR\x02id\x12\x36\n\x06source\x18\x19 \x01(\x0e\x32\x1e.transcodely.v1.InsightsSourceR\x06source\x12\x19\n\x08video_id\x18\x1a \x01(\tR\x07videoId\x12\x1c\n\x07\x66\x65\x65_eur\x18\x1b \x01(\x01H\x03R\x06\x66\x65\x65\x45ur\x88\x01\x01\x42\r\n\x0b_signed_urlB\x16\n\x14_chapters_signed_urlB\x16\n\x14_markdown_signed_urlB\n\n\x08_fee_eur*\xdc\x01\n\x11SubtitleOperation\x12\"\n\x1eSUBTITLE_OPERATION_UNSPECIFIED\x10\x00\x12\"\n\x1eSUBTITLE_OPERATION_PASSTHROUGH\x10\x01\x12\x1e\n\x1aSUBTITLE_OPERATION_CONVERT\x10\x02\x12\x1e\n\x1aSUBTITLE_OPERATION_BURN_IN\x10\x03\x12\x1e\n\x1aSUBTITLE_OPERATION_EXTRACT\x10\x04\x12\x1f\n\x1bSUBTITLE_OPERATION_GENERATE\x10\x05*\x99\x01\n\x0eSubtitleFormat\x12\x1f\n\x1bSUBTITLE_FORMAT_UNSPECIFIED\x10\x00\x12\x17\n\x13SUBTITLE_FORMAT_SRT\x10\x01\x12\x1a\n\x16SUBTITLE_FORMAT_WEBVTT\x10\x02\x12\x18\n\x14SUBTITLE_FORMAT_TTML\x10\x03\x12\x17\n\x13SUBTITLE_FORMAT_ASS\x10\x04*m\n\x0fTranscriptStyle\x12 \n\x1cTRANSCRIPT_STYLE_UNSPECIFIED\x10\x00\x12\x1a\n\x16TRANSCRIPT_STYLE_CLEAN\x10\x01\x12\x1c\n\x18TRANSCRIPT_STYLE_LITERAL\x10\x02*\x86\x01\n\x10TranscriptFormat\x12!\n\x1dTRANSCRIPT_FORMAT_UNSPECIFIED\x10\x00\x12\x1a\n\x16TRANSCRIPT_FORMAT_JSON\x10\x01\x12\x19\n\x15TRANSCRIPT_FORMAT_TXT\x10\x02\x12\x18\n\x14TRANSCRIPT_FORMAT_MD\x10\x03*e\n\x0eInsightsSource\x12\x1f\n\x1bINSIGHTS_SOURCE_UNSPECIFIED\x10\x00\x12\x17\n\x13INSIGHTS_SOURCE_JOB\x10\x01\x12\x19\n\x15INSIGHTS_SOURCE_VIDEO\x10\x02*\x85\x01\n\x0eInsightsStatus\x12\x1f\n\x1bINSIGHTS_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17INSIGHTS_STATUS_PENDING\x10\x01\x12\x19\n\x15INSIGHTS_STATUS_READY\x10\x02\x12\x1a\n\x16INSIGHTS_STATUS_FAILED\x10\x03\x62\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -65,16 +65,18 @@ if not _descriptor._USE_C_DESCRIPTORS:
65
65
  _globals['_TRANSCRIPTOPTIONS'].fields_by_name['style']._serialized_options = b'\272H\005\202\001\002\020\001'
66
66
  _globals['_INSIGHTSOPTIONS'].fields_by_name['hint']._loaded_options = None
67
67
  _globals['_INSIGHTSOPTIONS'].fields_by_name['hint']._serialized_options = b'\272H\005r\003\030\254\002'
68
- _globals['_SUBTITLEOPERATION']._serialized_start=4283
69
- _globals['_SUBTITLEOPERATION']._serialized_end=4503
70
- _globals['_SUBTITLEFORMAT']._serialized_start=4506
71
- _globals['_SUBTITLEFORMAT']._serialized_end=4659
72
- _globals['_TRANSCRIPTSTYLE']._serialized_start=4661
73
- _globals['_TRANSCRIPTSTYLE']._serialized_end=4770
74
- _globals['_TRANSCRIPTFORMAT']._serialized_start=4773
75
- _globals['_TRANSCRIPTFORMAT']._serialized_end=4907
76
- _globals['_INSIGHTSSTATUS']._serialized_start=4910
77
- _globals['_INSIGHTSSTATUS']._serialized_end=5043
68
+ _globals['_SUBTITLEOPERATION']._serialized_start=4424
69
+ _globals['_SUBTITLEOPERATION']._serialized_end=4644
70
+ _globals['_SUBTITLEFORMAT']._serialized_start=4647
71
+ _globals['_SUBTITLEFORMAT']._serialized_end=4800
72
+ _globals['_TRANSCRIPTSTYLE']._serialized_start=4802
73
+ _globals['_TRANSCRIPTSTYLE']._serialized_end=4911
74
+ _globals['_TRANSCRIPTFORMAT']._serialized_start=4914
75
+ _globals['_TRANSCRIPTFORMAT']._serialized_end=5048
76
+ _globals['_INSIGHTSSOURCE']._serialized_start=5050
77
+ _globals['_INSIGHTSSOURCE']._serialized_end=5151
78
+ _globals['_INSIGHTSSTATUS']._serialized_start=5154
79
+ _globals['_INSIGHTSSTATUS']._serialized_end=5287
78
80
  _globals['_BURNINSTYLE']._serialized_start=113
79
81
  _globals['_BURNINSTYLE']._serialized_end=573
80
82
  _globals['_SUBTITLETRACK']._serialized_start=576
@@ -98,5 +100,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
98
100
  _globals['_INSIGHTSHIGHLIGHT']._serialized_start=3128
99
101
  _globals['_INSIGHTSHIGHLIGHT']._serialized_end=3237
100
102
  _globals['_TRANSCRIPTINSIGHTS']._serialized_start=3240
101
- _globals['_TRANSCRIPTINSIGHTS']._serialized_end=4280
103
+ _globals['_TRANSCRIPTINSIGHTS']._serialized_end=4421
102
104
  # @@protoc_insertion_point(module_scope)
@@ -38,6 +38,12 @@ class TranscriptFormat(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
38
38
  TRANSCRIPT_FORMAT_TXT: _ClassVar[TranscriptFormat]
39
39
  TRANSCRIPT_FORMAT_MD: _ClassVar[TranscriptFormat]
40
40
 
41
+ class InsightsSource(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
42
+ __slots__ = ()
43
+ INSIGHTS_SOURCE_UNSPECIFIED: _ClassVar[InsightsSource]
44
+ INSIGHTS_SOURCE_JOB: _ClassVar[InsightsSource]
45
+ INSIGHTS_SOURCE_VIDEO: _ClassVar[InsightsSource]
46
+
41
47
  class InsightsStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
42
48
  __slots__ = ()
43
49
  INSIGHTS_STATUS_UNSPECIFIED: _ClassVar[InsightsStatus]
@@ -62,6 +68,9 @@ TRANSCRIPT_FORMAT_UNSPECIFIED: TranscriptFormat
62
68
  TRANSCRIPT_FORMAT_JSON: TranscriptFormat
63
69
  TRANSCRIPT_FORMAT_TXT: TranscriptFormat
64
70
  TRANSCRIPT_FORMAT_MD: TranscriptFormat
71
+ INSIGHTS_SOURCE_UNSPECIFIED: InsightsSource
72
+ INSIGHTS_SOURCE_JOB: InsightsSource
73
+ INSIGHTS_SOURCE_VIDEO: InsightsSource
65
74
  INSIGHTS_STATUS_UNSPECIFIED: InsightsStatus
66
75
  INSIGHTS_STATUS_PENDING: InsightsStatus
67
76
  INSIGHTS_STATUS_READY: InsightsStatus
@@ -228,7 +237,7 @@ class InsightsHighlight(_message.Message):
228
237
  def __init__(self, text: _Optional[str] = ..., start_seconds: _Optional[float] = ..., end_seconds: _Optional[float] = ...) -> None: ...
229
238
 
230
239
  class TranscriptInsights(_message.Message):
231
- __slots__ = ("output_id", "language", "status", "error_code", "title_suggestions", "summary", "key_points", "chapters", "questions", "terms", "highlights", "topics", "storage_key", "url", "signed_url", "chapters_storage_key", "chapters_url", "chapters_signed_url", "markdown_storage_key", "markdown_url", "markdown_signed_url", "generated_at", "hint")
240
+ __slots__ = ("output_id", "language", "status", "error_code", "title_suggestions", "summary", "key_points", "chapters", "questions", "terms", "highlights", "topics", "storage_key", "url", "signed_url", "chapters_storage_key", "chapters_url", "chapters_signed_url", "markdown_storage_key", "markdown_url", "markdown_signed_url", "generated_at", "hint", "id", "source", "video_id", "fee_eur")
232
241
  OUTPUT_ID_FIELD_NUMBER: _ClassVar[int]
233
242
  LANGUAGE_FIELD_NUMBER: _ClassVar[int]
234
243
  STATUS_FIELD_NUMBER: _ClassVar[int]
@@ -252,6 +261,10 @@ class TranscriptInsights(_message.Message):
252
261
  MARKDOWN_SIGNED_URL_FIELD_NUMBER: _ClassVar[int]
253
262
  GENERATED_AT_FIELD_NUMBER: _ClassVar[int]
254
263
  HINT_FIELD_NUMBER: _ClassVar[int]
264
+ ID_FIELD_NUMBER: _ClassVar[int]
265
+ SOURCE_FIELD_NUMBER: _ClassVar[int]
266
+ VIDEO_ID_FIELD_NUMBER: _ClassVar[int]
267
+ FEE_EUR_FIELD_NUMBER: _ClassVar[int]
255
268
  output_id: str
256
269
  language: str
257
270
  status: InsightsStatus
@@ -275,4 +288,8 @@ class TranscriptInsights(_message.Message):
275
288
  markdown_signed_url: str
276
289
  generated_at: _timestamp_pb2.Timestamp
277
290
  hint: str
278
- def __init__(self, output_id: _Optional[str] = ..., language: _Optional[str] = ..., status: _Optional[_Union[InsightsStatus, str]] = ..., error_code: _Optional[str] = ..., title_suggestions: _Optional[_Iterable[str]] = ..., summary: _Optional[str] = ..., key_points: _Optional[_Iterable[str]] = ..., chapters: _Optional[_Iterable[_Union[ChapterPoint, _Mapping]]] = ..., questions: _Optional[_Iterable[_Union[InsightsQuestion, _Mapping]]] = ..., terms: _Optional[_Iterable[_Union[InsightsTerm, _Mapping]]] = ..., highlights: _Optional[_Iterable[_Union[InsightsHighlight, _Mapping]]] = ..., topics: _Optional[_Iterable[str]] = ..., storage_key: _Optional[str] = ..., url: _Optional[str] = ..., signed_url: _Optional[str] = ..., chapters_storage_key: _Optional[str] = ..., chapters_url: _Optional[str] = ..., chapters_signed_url: _Optional[str] = ..., markdown_storage_key: _Optional[str] = ..., markdown_url: _Optional[str] = ..., markdown_signed_url: _Optional[str] = ..., generated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., hint: _Optional[str] = ...) -> None: ...
291
+ id: str
292
+ source: InsightsSource
293
+ video_id: str
294
+ fee_eur: float
295
+ def __init__(self, output_id: _Optional[str] = ..., language: _Optional[str] = ..., status: _Optional[_Union[InsightsStatus, str]] = ..., error_code: _Optional[str] = ..., title_suggestions: _Optional[_Iterable[str]] = ..., summary: _Optional[str] = ..., key_points: _Optional[_Iterable[str]] = ..., chapters: _Optional[_Iterable[_Union[ChapterPoint, _Mapping]]] = ..., questions: _Optional[_Iterable[_Union[InsightsQuestion, _Mapping]]] = ..., terms: _Optional[_Iterable[_Union[InsightsTerm, _Mapping]]] = ..., highlights: _Optional[_Iterable[_Union[InsightsHighlight, _Mapping]]] = ..., topics: _Optional[_Iterable[str]] = ..., storage_key: _Optional[str] = ..., url: _Optional[str] = ..., signed_url: _Optional[str] = ..., chapters_storage_key: _Optional[str] = ..., chapters_url: _Optional[str] = ..., chapters_signed_url: _Optional[str] = ..., markdown_storage_key: _Optional[str] = ..., markdown_url: _Optional[str] = ..., markdown_signed_url: _Optional[str] = ..., generated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., hint: _Optional[str] = ..., id: _Optional[str] = ..., source: _Optional[_Union[InsightsSource, str]] = ..., video_id: _Optional[str] = ..., fee_eur: _Optional[float] = ...) -> None: ...
@@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
27
27
  from transcodely.v1 import subtitles_pb2 as transcodely_dot_v1_dot_subtitles__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atranscodely/v1/video.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1etranscodely/v1/subtitles.proto\"\xc5\x0e\n\x05Video\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x61pp_id\x18\x02 \x01(\tR\x05\x61ppId\x12\x16\n\x06source\x18\x03 \x01(\tR\x06source\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\x12\x1e\n\nvisibility\x18\x05 \x01(\tR\nvisibility\x12\x19\n\x05title\x18\x06 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x07 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x12\n\x04tags\x18\x08 \x03(\tR\x04tags\x12-\n\x10input_size_bytes\x18\n \x01(\x03H\x02R\x0einputSizeBytes\x88\x01\x01\x12\x31\n\x12input_content_type\x18\x0b \x01(\tH\x03R\x10inputContentType\x88\x01\x01\x12\x1a\n\x06job_id\x18\x0f \x01(\tH\x04R\x05jobId\x88\x01\x01\x12\x1b\n\x06preset\x18\x10 \x01(\tH\x05R\x06preset\x88\x01\x01\x12&\n\x0cplayback_url\x18\x14 \x01(\tH\x06R\x0bplaybackUrl\x88\x01\x01\x12 \n\tembed_url\x18\x15 \x01(\tH\x07R\x08\x65mbedUrl\x88\x01\x01\x12\"\n\nembed_code\x18\x16 \x01(\tH\x08R\tembedCode\x88\x01\x01\x12\"\n\nposter_url\x18\x17 \x01(\tH\tR\tposterUrl\x88\x01\x01\x12.\n\x10\x64uration_seconds\x18\x18 \x01(\x01H\nR\x0f\x64urationSeconds\x88\x01\x01\x12/\n\x11hover_preview_url\x18, \x01(\tH\x0bR\x0fhoverPreviewUrl\x88\x01\x01\x12\x36\n\x15hover_preview_mp4_url\x18- \x01(\tH\x0cR\x12hoverPreviewMp4Url\x88\x01\x01\x12>\n\nrenditions\x18\x19 \x03(\x0b\x32\x1e.transcodely.v1.VideoRenditionR\nrenditions\x12?\n\x0btext_tracks\x18\x31 \x03(\x0b\x32\x1e.transcodely.v1.VideoTextTrackR\ntextTracks\x12>\n\x08insights\x18\x35 \x03(\x0b\x32\".transcodely.v1.TranscriptInsightsR\x08insights\x12*\n\x11output_size_bytes\x18\x1e \x01(\x03R\x0foutputSizeBytes\x12(\n\rencoding_cost\x18\x1f \x01(\x01H\rR\x0c\x65ncodingCost\x88\x01\x01\x12(\n\rcaptions_cost\x18\x32 \x01(\x01H\x0eR\x0c\x63\x61ptionsCost\x88\x01\x01\x12\"\n\ntotal_cost\x18\x34 \x01(\x01H\x0fR\ttotalCost\x88\x01\x01\x12(\n\rerror_message\x18\x33 \x01(\tH\x10R\x0c\x65rrorMessage\x88\x01\x01\x12\x39\n\ncreated_at\x18( \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18) \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12:\n\x08ready_at\x18* \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x11R\x07readyAt\x88\x01\x01\x12#\n\rsource_pinned\x18. \x01(\x08R\x0csourcePinned\x12g\n source_scheduled_for_deletion_at\x18/ \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x12R\x1csourceScheduledForDeletionAt\x88\x01\x01\x12K\n\x11source_deleted_at\x18\x30 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x13R\x0fsourceDeletedAt\x88\x01\x01\x12\x16\n\x06object\x18+ \x01(\tR\x06objectB\x08\n\x06_titleB\x0e\n\x0c_descriptionB\x13\n\x11_input_size_bytesB\x15\n\x13_input_content_typeB\t\n\x07_job_idB\t\n\x07_presetB\x0f\n\r_playback_urlB\x0c\n\n_embed_urlB\r\n\x0b_embed_codeB\r\n\x0b_poster_urlB\x13\n\x11_duration_secondsB\x14\n\x12_hover_preview_urlB\x18\n\x16_hover_preview_mp4_urlB\x10\n\x0e_encoding_costB\x10\n\x0e_captions_costB\r\n\x0b_total_costB\x10\n\x0e_error_messageB\x0b\n\t_ready_atB#\n!_source_scheduled_for_deletion_atB\x14\n\x12_source_deleted_atJ\x04\x08 \x10!J\x04\x08!\x10\"\"\xc6\x01\n\x0eVideoRendition\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\nresolution\x18\x02 \x01(\tR\nresolution\x12\x14\n\x05\x63odec\x18\x03 \x01(\tR\x05\x63odec\x12!\n\x0c\x62itrate_kbps\x18\x04 \x01(\x05R\x0b\x62itrateKbps\x12\x14\n\x05width\x18\x05 \x01(\x05R\x05width\x12\x16\n\x06height\x18\x06 \x01(\x05R\x06height\x12\x1d\n\nsize_bytes\x18\x07 \x01(\x03R\tsizeBytes\"\xfa\x02\n\x0eVideoTextTrack\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04kind\x18\x02 \x01(\tR\x04kind\x12\x1a\n\x08language\x18\x03 \x01(\tR\x08language\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x16\n\x06\x66ormat\x18\x05 \x01(\tR\x06\x66ormat\x12%\n\x0e\x61uto_generated\x18\x06 \x01(\x08R\rautoGenerated\x12\x1f\n\x0bin_manifest\x18\x07 \x01(\x08R\ninManifest\x12\x15\n\x03url\x18\x08 \x01(\tH\x00R\x03url\x88\x01\x01\x12\x39\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12X\n\x15transcript_renditions\x18\n \x03(\x0b\x32#.transcodely.v1.TranscriptRenditionR\x14transcriptRenditionsB\x06\n\x04_url\"\xeb\x04\n\x13\x43reateUploadRequest\x12\x35\n\x06\x61pp_id\x18\x08 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xd8\x01\x01R\x05\x61ppId\x12)\n\x08\x66ilename\x18\x01 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\xff\x01\xc8\x01\x01R\x08\x66ilename\x12/\n\x0c\x63ontent_type\x18\x02 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18@\xc8\x01\x01R\x0b\x63ontentType\x12,\n\nsize_bytes\x18\x03 \x01(\x03\x42\r\xbaH\n\"\x08\x18\x80\x80\x80\x80\x14 \x00R\tsizeBytes\x12#\n\x05title\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01H\x00R\x05title\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\x18\xd0\x0fH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x04tags\x18\x06 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x10\x14R\x04tags\x12#\n\nvisibility\x18\x07 \x01(\tH\x02R\nvisibility\x88\x01\x01\x12\'\n\x06preset\x18\t \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x01H\x03R\x06preset\x88\x01\x01\x12%\n\x0ehover_previews\x18\n \x01(\x08R\rhoverPreviews\x12(\n\rauto_captions\x18\x0b \x01(\x08H\x04R\x0c\x61utoCaptions\x88\x01\x01\x12(\n\rauto_insights\x18\x0c \x01(\x08H\x05R\x0c\x61utoInsights\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\r\n\x0b_visibilityB\t\n\x07_presetB\x10\n\x0e_auto_captionsB\x10\n\x0e_auto_insights\"\xaa\x01\n\x14\x43reateUploadResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\x12\x1d\n\nupload_url\x18\x02 \x01(\tR\tuploadUrl\x12\x46\n\x11upload_expires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0fuploadExpiresAt\"K\n\x15\x43ompleteUploadRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"E\n\x16\x43ompleteUploadResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"\x90\x04\n\x14\x43reateFromUrlRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xd8\x01\x01R\x05\x61ppId\x12,\n\x03url\x18\x02 \x01(\tB\x1a\xbaH\x17r\x12\x18\x80\x10\x32\r^https?://.*$\xc8\x01\x01R\x03url\x12#\n\x05title\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01H\x00R\x05title\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\xd0\x0fH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x04tags\x18\x05 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x10\x14R\x04tags\x12#\n\nvisibility\x18\x06 \x01(\tH\x02R\nvisibility\x88\x01\x01\x12\'\n\x06preset\x18\x07 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x01H\x03R\x06preset\x88\x01\x01\x12%\n\x0ehover_previews\x18\x08 \x01(\x08R\rhoverPreviews\x12(\n\rauto_captions\x18\t \x01(\x08H\x04R\x0c\x61utoCaptions\x88\x01\x01\x12(\n\rauto_insights\x18\n \x01(\x08H\x05R\x0c\x61utoInsights\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\r\n\x0b_visibilityB\t\n\x07_presetB\x10\n\x0e_auto_captionsB\x10\n\x0e_auto_insights\"D\n\x15\x43reateFromUrlResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"L\n\nUploadPart\x12\x1f\n\x0bpart_number\x18\x01 \x01(\x05R\npartNumber\x12\x1d\n\nupload_url\x18\x02 \x01(\tR\tuploadUrl\"_\n\rCompletedPart\x12+\n\x0bpart_number\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\x90N(\x01R\npartNumber\x12!\n\x04\x65tag\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\x80\x02\xc8\x01\x01R\x04\x65tag\"\xe2\x05\n\x1c\x43reateMultipartUploadRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xd8\x01\x01R\x05\x61ppId\x12)\n\x08\x66ilename\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\xff\x01\xc8\x01\x01R\x08\x66ilename\x12/\n\x0c\x63ontent_type\x18\x03 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18@\xc8\x01\x01R\x0b\x63ontentType\x12,\n\nsize_bytes\x18\x04 \x01(\x03\x42\r\xbaH\n\"\x08\x18\x80\x80\x80\x80\x14 \x00R\tsizeBytes\x12+\n\x0btotal_parts\x18\x05 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\x90N(\x01R\ntotalParts\x12+\n\x0fpart_size_bytes\x18\x06 \x01(\x03H\x00R\rpartSizeBytes\x88\x01\x01\x12#\n\x05title\x18\n \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01H\x01R\x05title\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x0b \x01(\tB\x08\xbaH\x05r\x03\x18\xd0\x0fH\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x04tags\x18\x0c \x03(\tB\x08\xbaH\x05\x92\x01\x02\x10\x14R\x04tags\x12#\n\nvisibility\x18\r \x01(\tH\x03R\nvisibility\x88\x01\x01\x12\'\n\x06preset\x18\x0e \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x01H\x04R\x06preset\x88\x01\x01\x12%\n\x0ehover_previews\x18\x0f \x01(\x08R\rhoverPreviews\x12(\n\rauto_captions\x18\x10 \x01(\x08H\x05R\x0c\x61utoCaptions\x88\x01\x01\x12(\n\rauto_insights\x18\x11 \x01(\x08H\x06R\x0c\x61utoInsights\x88\x01\x01\x42\x12\n\x10_part_size_bytesB\x08\n\x06_titleB\x0e\n\x0c_descriptionB\r\n\x0b_visibilityB\t\n\x07_presetB\x10\n\x0e_auto_captionsB\x10\n\x0e_auto_insights\"\xdd\x01\n\x1d\x43reateMultipartUploadResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\x12\x1b\n\tupload_id\x18\x02 \x01(\tR\x08uploadId\x12\x30\n\x05parts\x18\x03 \x03(\x0b\x32\x1a.transcodely.v1.UploadPartR\x05parts\x12@\n\x0eurls_expire_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0curlsExpireAt\"\xa9\x01\n\x18GetUploadPartUrlsRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12*\n\tupload_id\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\x80\x02\xc8\x01\x01R\x08uploadId\x12-\n\x0cpart_numbers\x18\x03 \x03(\x05\x42\n\xbaH\x07\x92\x01\x04\x08\x01\x10\x64R\x0bpartNumbers\"\x8f\x01\n\x19GetUploadPartUrlsResponse\x12\x30\n\x05parts\x18\x01 \x03(\x0b\x32\x1a.transcodely.v1.UploadPartR\x05parts\x12@\n\x0eurls_expire_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0curlsExpireAt\"\xbf\x01\n\x1e\x43ompleteMultipartUploadRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12*\n\tupload_id\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\x80\x02\xc8\x01\x01R\x08uploadId\x12=\n\x05parts\x18\x03 \x03(\x0b\x32\x1d.transcodely.v1.CompletedPartB\x08\xbaH\x05\x92\x01\x02\x08\x01R\x05parts\"N\n\x1f\x43ompleteMultipartUploadResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"}\n\x1b\x41\x62ortMultipartUploadRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12*\n\tupload_id\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\x80\x02\xc8\x01\x01R\x08uploadId\"\x1e\n\x1c\x41\x62ortMultipartUploadResponse\"E\n\x0fGetVideoRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"?\n\x10GetVideoResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"\xda\x01\n\x11ListVideosRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x64(\x01R\x08pageSize\x12\"\n\npage_token\x18\x02 \x01(\tH\x00R\tpageToken\x88\x01\x01\x12\x1b\n\x06status\x18\x03 \x01(\tH\x01R\x06status\x88\x01\x01\x12\x37\n\x06\x61pp_id\x18\x04 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^app_[a-zA-Z0-9_-]+$H\x02R\x05\x61ppId\x88\x01\x01\x42\r\n\x0b_page_tokenB\t\n\x07_statusB\t\n\x07_app_id\"\xa5\x01\n\x12ListVideosResponse\x12-\n\x06videos\x18\x01 \x03(\x0b\x32\x15.transcodely.v1.VideoR\x06videos\x12+\n\x0fnext_page_token\x18\x02 \x01(\tH\x00R\rnextPageToken\x88\x01\x01\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCountB\x12\n\x10_next_page_token\"\x89\x04\n\x12UpdateVideoRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x19\n\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x12\n\x04tags\x18\x04 \x03(\tR\x04tags\x12#\n\nvisibility\x18\x05 \x01(\tH\x02R\nvisibility\x88\x01\x01\x12\"\n\nclear_tags\x18\x06 \x01(\x08H\x03R\tclearTags\x88\x01\x01\x12(\n\rsource_pinned\x18\x07 \x01(\x08H\x04R\x0csourcePinned\x88\x01\x01:\xab\x01\xbaH\xa7\x01\x1a\xa4\x01\n%update_video.clear_tags_excludes_tags\x12\x38\x63lear_tags cannot be combined with a non-empty tags list\x1a\x41!has(this.clear_tags) || !this.clear_tags || size(this.tags) == 0B\x08\n\x06_titleB\x0e\n\x0c_descriptionB\r\n\x0b_visibilityB\r\n\x0b_clear_tagsB\x10\n\x0e_source_pinned\"B\n\x13UpdateVideoResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"H\n\x12\x44\x65leteVideoRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"\x15\n\x13\x44\x65leteVideoResponse\"G\n\x11WatchVideoRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"`\n\x12WatchVideoResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\x12\x1d\n\nevent_type\x18\x02 \x01(\tR\teventType\"M\n\x0fGetUsageRequest\x12(\n\rbilling_month\x18\x01 \x01(\tH\x00R\x0c\x62illingMonth\x88\x01\x01\x42\x10\n\x0e_billing_month\"F\n\x10GetUsageResponse\x12\x32\n\x05usage\x18\x01 \x01(\x0b\x32\x1c.transcodely.v1.UsageSummaryR\x05usage\"\xea\x03\n\x0cUsageSummary\x12#\n\rbilling_month\x18\x01 \x01(\tR\x0c\x62illingMonth\x12%\n\x0evideos_encoded\x18\x02 \x01(\x05R\rvideosEncoded\x12)\n\x10\x65ncoding_minutes\x18\x03 \x01(\x01R\x0f\x65ncodingMinutes\x12#\n\rencoding_cost\x18\x04 \x01(\x01R\x0c\x65ncodingCost\x12$\n\x0estorage_gb_avg\x18\n \x01(\x01R\x0cstorageGbAvg\x12!\n\x0cstorage_cost\x18\x0b \x01(\x01R\x0bstorageCost\x12#\n\rvideos_hosted\x18\x0c \x01(\x05R\x0cvideosHosted\x12\x1b\n\tegress_gb\x18\x14 \x01(\x01R\x08\x65gressGb\x12\x1f\n\x0b\x65gress_cost\x18\x15 \x01(\x01R\negressCost\x12%\n\x0etotal_requests\x18\x16 \x01(\x03R\rtotalRequests\x12\x1d\n\ntotal_cost\x18\x1e \x01(\x01R\ttotalCost\x12\x1a\n\x08\x63urrency\x18\x1f \x01(\tR\x08\x63urrency\x12\x30\n\x05\x64\x61ily\x18( \x03(\x0b\x32\x1a.transcodely.v1.DailyUsageR\x05\x64\x61ily\"\xb2\x01\n\nDailyUsage\x12\x12\n\x04\x64\x61te\x18\x01 \x01(\tR\x04\x64\x61te\x12#\n\rstorage_bytes\x18\x02 \x01(\x03R\x0cstorageBytes\x12!\n\x0c\x65gress_bytes\x18\x03 \x01(\x03R\x0b\x65gressBytes\x12#\n\rrequest_count\x18\x04 \x01(\x03R\x0crequestCount\x12#\n\rencoding_cost\x18\x05 \x01(\x01R\x0c\x65ncodingCost\"\xb0\x01\n\x0fGetStatsRequest\x12=\n\x08video_id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x07videoId\x12\"\n\nstart_date\x18\x02 \x01(\tH\x00R\tstartDate\x88\x01\x01\x12\x1e\n\x08\x65nd_date\x18\x03 \x01(\tH\x01R\x07\x65ndDate\x88\x01\x01\x42\r\n\x0b_start_dateB\x0b\n\t_end_date\"\x81\x01\n\x10GetStatsResponse\x12\x33\n\x05\x64\x61ily\x18\x01 \x03(\x0b\x32\x1d.transcodely.v1.VideoStatsDayR\x05\x64\x61ily\x12\x38\n\x06totals\x18\x02 \x01(\x0b\x32 .transcodely.v1.VideoStatsTotalsR\x06totals\"\x85\x01\n\rVideoStatsDay\x12\x12\n\x04\x64\x61te\x18\x01 \x01(\tR\x04\x64\x61te\x12\x14\n\x05plays\x18\x02 \x01(\x05R\x05plays\x12#\n\rwatch_seconds\x18\x03 \x01(\x03R\x0cwatchSeconds\x12%\n\x0eunique_viewers\x18\x04 \x01(\x05R\runiqueViewers\"t\n\x10VideoStatsTotals\x12\x14\n\x05plays\x18\x01 \x01(\x05R\x05plays\x12#\n\rwatch_seconds\x18\x02 \x01(\x03R\x0cwatchSeconds\x12%\n\x0eunique_viewers\x18\x03 \x01(\x05R\runiqueViewers\"\xea\x01\n\x14ListTopVideosRequest\x12\x37\n\x06\x61pp_id\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^app_[a-zA-Z0-9_-]+$H\x00R\x05\x61ppId\x88\x01\x01\x12\"\n\nstart_date\x18\x02 \x01(\tH\x01R\tstartDate\x88\x01\x01\x12\x1e\n\x08\x65nd_date\x18\x03 \x01(\tH\x02R\x07\x65ndDate\x88\x01\x01\x12$\n\x05limit\x18\x04 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x64(\x01H\x03R\x05limit\x88\x01\x01\x42\t\n\x07_app_idB\r\n\x0b_start_dateB\x0b\n\t_end_dateB\x08\n\x06_limit\"G\n\x15ListTopVideosResponse\x12.\n\x05items\x18\x01 \x03(\x0b\x32\x18.transcodely.v1.TopVideoR\x05items\"\xdf\x01\n\x08TopVideo\x12\x19\n\x08video_id\x18\x01 \x01(\tR\x07videoId\x12\x19\n\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12\"\n\nposter_url\x18\x03 \x01(\tH\x01R\tposterUrl\x88\x01\x01\x12\x14\n\x05plays\x18\x04 \x01(\x03R\x05plays\x12#\n\rwatch_seconds\x18\x05 \x01(\x03R\x0cwatchSeconds\x12%\n\x0eunique_viewers\x18\x06 \x01(\x03R\runiqueViewersB\x08\n\x06_titleB\r\n\x0b_poster_url\"\xa9\x02\n\x13GetSeoMarkupRequest\x12=\n\x08video_id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x07videoId\x12\x34\n\twatch_url\x18\x02 \x01(\tB\x17\xbaH\x14r\x0f\x10\t\x18\x80\x10:\x08https://\xc8\x01\x01R\x08watchUrl\x12H\n\x0f\x64\x65\x65p_link_param\x18\x03 \x01(\tB\x1b\xbaH\x18r\x16\x10\x01\x18 2\x10^[A-Za-z0-9_-]+$H\x00R\rdeepLinkParam\x88\x01\x01\x12\x32\n\x08language\x18\x04 \x01(\tB\x11\xbaH\x0er\x0c\x32\n^[a-z]{3}$H\x01R\x08language\x88\x01\x01\x42\x12\n\x10_deep_link_paramB\x0b\n\t_language\"y\n\x14GetSeoMarkupResponse\x12\x17\n\x07json_ld\x18\x01 \x01(\tR\x06jsonLd\x12#\n\rsitemap_entry\x18\x02 \x01(\tR\x0csitemapEntry\x12#\n\rhtml_fragment\x18\x03 \x01(\tR\x0chtmlFragment*\xc9\x01\n\x0bVideoStatus\x12\x1c\n\x18VIDEO_STATUS_UNSPECIFIED\x10\x00\x12\x1a\n\x16VIDEO_STATUS_UPLOADING\x10\x01\x12\x1b\n\x17VIDEO_STATUS_PROCESSING\x10\x02\x12\x16\n\x12VIDEO_STATUS_READY\x10\x03\x12\x16\n\x12VIDEO_STATUS_ERROR\x10\x04\x12\x19\n\x15VIDEO_STATUS_ARCHIVED\x10\x05\x12\x18\n\x14VIDEO_STATUS_DELETED\x10\x06*\x8d\x01\n\x0fVideoVisibility\x12 \n\x1cVIDEO_VISIBILITY_UNSPECIFIED\x10\x00\x12\x1b\n\x17VIDEO_VISIBILITY_PUBLIC\x10\x01\x12\x1d\n\x19VIDEO_VISIBILITY_UNLISTED\x10\x02\x12\x1c\n\x18VIDEO_VISIBILITY_PRIVATE\x10\x03\x32\xdf\x0b\n\x0cVideoService\x12Y\n\x0c\x43reateUpload\x12#.transcodely.v1.CreateUploadRequest\x1a$.transcodely.v1.CreateUploadResponse\x12_\n\x0e\x43ompleteUpload\x12%.transcodely.v1.CompleteUploadRequest\x1a&.transcodely.v1.CompleteUploadResponse\x12\\\n\rCreateFromUrl\x12$.transcodely.v1.CreateFromUrlRequest\x1a%.transcodely.v1.CreateFromUrlResponse\x12t\n\x15\x43reateMultipartUpload\x12,.transcodely.v1.CreateMultipartUploadRequest\x1a-.transcodely.v1.CreateMultipartUploadResponse\x12h\n\x11GetUploadPartUrls\x12(.transcodely.v1.GetUploadPartUrlsRequest\x1a).transcodely.v1.GetUploadPartUrlsResponse\x12z\n\x17\x43ompleteMultipartUpload\x12..transcodely.v1.CompleteMultipartUploadRequest\x1a/.transcodely.v1.CompleteMultipartUploadResponse\x12q\n\x14\x41\x62ortMultipartUpload\x12+.transcodely.v1.AbortMultipartUploadRequest\x1a,.transcodely.v1.AbortMultipartUploadResponse\x12H\n\x03Get\x12\x1f.transcodely.v1.GetVideoRequest\x1a .transcodely.v1.GetVideoResponse\x12M\n\x04List\x12!.transcodely.v1.ListVideosRequest\x1a\".transcodely.v1.ListVideosResponse\x12Q\n\x06Update\x12\".transcodely.v1.UpdateVideoRequest\x1a#.transcodely.v1.UpdateVideoResponse\x12Q\n\x06\x44\x65lete\x12\".transcodely.v1.DeleteVideoRequest\x1a#.transcodely.v1.DeleteVideoResponse\x12P\n\x05Watch\x12!.transcodely.v1.WatchVideoRequest\x1a\".transcodely.v1.WatchVideoResponse0\x01\x12M\n\x08GetUsage\x12\x1f.transcodely.v1.GetUsageRequest\x1a .transcodely.v1.GetUsageResponse\x12M\n\x08GetStats\x12\x1f.transcodely.v1.GetStatsRequest\x1a .transcodely.v1.GetStatsResponse\x12\\\n\rListTopVideos\x12$.transcodely.v1.ListTopVideosRequest\x1a%.transcodely.v1.ListTopVideosResponse\x12Y\n\x0cGetSeoMarkup\x12#.transcodely.v1.GetSeoMarkupRequest\x1a$.transcodely.v1.GetSeoMarkupResponseb\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atranscodely/v1/video.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1etranscodely/v1/subtitles.proto\"\xc5\x0e\n\x05Video\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x61pp_id\x18\x02 \x01(\tR\x05\x61ppId\x12\x16\n\x06source\x18\x03 \x01(\tR\x06source\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\x12\x1e\n\nvisibility\x18\x05 \x01(\tR\nvisibility\x12\x19\n\x05title\x18\x06 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x07 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x12\n\x04tags\x18\x08 \x03(\tR\x04tags\x12-\n\x10input_size_bytes\x18\n \x01(\x03H\x02R\x0einputSizeBytes\x88\x01\x01\x12\x31\n\x12input_content_type\x18\x0b \x01(\tH\x03R\x10inputContentType\x88\x01\x01\x12\x1a\n\x06job_id\x18\x0f \x01(\tH\x04R\x05jobId\x88\x01\x01\x12\x1b\n\x06preset\x18\x10 \x01(\tH\x05R\x06preset\x88\x01\x01\x12&\n\x0cplayback_url\x18\x14 \x01(\tH\x06R\x0bplaybackUrl\x88\x01\x01\x12 \n\tembed_url\x18\x15 \x01(\tH\x07R\x08\x65mbedUrl\x88\x01\x01\x12\"\n\nembed_code\x18\x16 \x01(\tH\x08R\tembedCode\x88\x01\x01\x12\"\n\nposter_url\x18\x17 \x01(\tH\tR\tposterUrl\x88\x01\x01\x12.\n\x10\x64uration_seconds\x18\x18 \x01(\x01H\nR\x0f\x64urationSeconds\x88\x01\x01\x12/\n\x11hover_preview_url\x18, \x01(\tH\x0bR\x0fhoverPreviewUrl\x88\x01\x01\x12\x36\n\x15hover_preview_mp4_url\x18- \x01(\tH\x0cR\x12hoverPreviewMp4Url\x88\x01\x01\x12>\n\nrenditions\x18\x19 \x03(\x0b\x32\x1e.transcodely.v1.VideoRenditionR\nrenditions\x12?\n\x0btext_tracks\x18\x31 \x03(\x0b\x32\x1e.transcodely.v1.VideoTextTrackR\ntextTracks\x12>\n\x08insights\x18\x35 \x03(\x0b\x32\".transcodely.v1.TranscriptInsightsR\x08insights\x12*\n\x11output_size_bytes\x18\x1e \x01(\x03R\x0foutputSizeBytes\x12(\n\rencoding_cost\x18\x1f \x01(\x01H\rR\x0c\x65ncodingCost\x88\x01\x01\x12(\n\rcaptions_cost\x18\x32 \x01(\x01H\x0eR\x0c\x63\x61ptionsCost\x88\x01\x01\x12\"\n\ntotal_cost\x18\x34 \x01(\x01H\x0fR\ttotalCost\x88\x01\x01\x12(\n\rerror_message\x18\x33 \x01(\tH\x10R\x0c\x65rrorMessage\x88\x01\x01\x12\x39\n\ncreated_at\x18( \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18) \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12:\n\x08ready_at\x18* \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x11R\x07readyAt\x88\x01\x01\x12#\n\rsource_pinned\x18. \x01(\x08R\x0csourcePinned\x12g\n source_scheduled_for_deletion_at\x18/ \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x12R\x1csourceScheduledForDeletionAt\x88\x01\x01\x12K\n\x11source_deleted_at\x18\x30 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x13R\x0fsourceDeletedAt\x88\x01\x01\x12\x16\n\x06object\x18+ \x01(\tR\x06objectB\x08\n\x06_titleB\x0e\n\x0c_descriptionB\x13\n\x11_input_size_bytesB\x15\n\x13_input_content_typeB\t\n\x07_job_idB\t\n\x07_presetB\x0f\n\r_playback_urlB\x0c\n\n_embed_urlB\r\n\x0b_embed_codeB\r\n\x0b_poster_urlB\x13\n\x11_duration_secondsB\x14\n\x12_hover_preview_urlB\x18\n\x16_hover_preview_mp4_urlB\x10\n\x0e_encoding_costB\x10\n\x0e_captions_costB\r\n\x0b_total_costB\x10\n\x0e_error_messageB\x0b\n\t_ready_atB#\n!_source_scheduled_for_deletion_atB\x14\n\x12_source_deleted_atJ\x04\x08 \x10!J\x04\x08!\x10\"\"\xc6\x01\n\x0eVideoRendition\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\nresolution\x18\x02 \x01(\tR\nresolution\x12\x14\n\x05\x63odec\x18\x03 \x01(\tR\x05\x63odec\x12!\n\x0c\x62itrate_kbps\x18\x04 \x01(\x05R\x0b\x62itrateKbps\x12\x14\n\x05width\x18\x05 \x01(\x05R\x05width\x12\x16\n\x06height\x18\x06 \x01(\x05R\x06height\x12\x1d\n\nsize_bytes\x18\x07 \x01(\x03R\tsizeBytes\"\xfa\x02\n\x0eVideoTextTrack\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04kind\x18\x02 \x01(\tR\x04kind\x12\x1a\n\x08language\x18\x03 \x01(\tR\x08language\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x16\n\x06\x66ormat\x18\x05 \x01(\tR\x06\x66ormat\x12%\n\x0e\x61uto_generated\x18\x06 \x01(\x08R\rautoGenerated\x12\x1f\n\x0bin_manifest\x18\x07 \x01(\x08R\ninManifest\x12\x15\n\x03url\x18\x08 \x01(\tH\x00R\x03url\x88\x01\x01\x12\x39\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12X\n\x15transcript_renditions\x18\n \x03(\x0b\x32#.transcodely.v1.TranscriptRenditionR\x14transcriptRenditionsB\x06\n\x04_url\"\xeb\x04\n\x13\x43reateUploadRequest\x12\x35\n\x06\x61pp_id\x18\x08 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xd8\x01\x01R\x05\x61ppId\x12)\n\x08\x66ilename\x18\x01 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\xff\x01\xc8\x01\x01R\x08\x66ilename\x12/\n\x0c\x63ontent_type\x18\x02 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18@\xc8\x01\x01R\x0b\x63ontentType\x12,\n\nsize_bytes\x18\x03 \x01(\x03\x42\r\xbaH\n\"\x08\x18\x80\x80\x80\x80\x14 \x00R\tsizeBytes\x12#\n\x05title\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01H\x00R\x05title\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\x18\xd0\x0fH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x04tags\x18\x06 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x10\x14R\x04tags\x12#\n\nvisibility\x18\x07 \x01(\tH\x02R\nvisibility\x88\x01\x01\x12\'\n\x06preset\x18\t \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x01H\x03R\x06preset\x88\x01\x01\x12%\n\x0ehover_previews\x18\n \x01(\x08R\rhoverPreviews\x12(\n\rauto_captions\x18\x0b \x01(\x08H\x04R\x0c\x61utoCaptions\x88\x01\x01\x12(\n\rauto_insights\x18\x0c \x01(\x08H\x05R\x0c\x61utoInsights\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\r\n\x0b_visibilityB\t\n\x07_presetB\x10\n\x0e_auto_captionsB\x10\n\x0e_auto_insights\"\xaa\x01\n\x14\x43reateUploadResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\x12\x1d\n\nupload_url\x18\x02 \x01(\tR\tuploadUrl\x12\x46\n\x11upload_expires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0fuploadExpiresAt\"K\n\x15\x43ompleteUploadRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"E\n\x16\x43ompleteUploadResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"\x90\x04\n\x14\x43reateFromUrlRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xd8\x01\x01R\x05\x61ppId\x12,\n\x03url\x18\x02 \x01(\tB\x1a\xbaH\x17r\x12\x18\x80\x10\x32\r^https?://.*$\xc8\x01\x01R\x03url\x12#\n\x05title\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01H\x00R\x05title\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\xd0\x0fH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x04tags\x18\x05 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x10\x14R\x04tags\x12#\n\nvisibility\x18\x06 \x01(\tH\x02R\nvisibility\x88\x01\x01\x12\'\n\x06preset\x18\x07 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x01H\x03R\x06preset\x88\x01\x01\x12%\n\x0ehover_previews\x18\x08 \x01(\x08R\rhoverPreviews\x12(\n\rauto_captions\x18\t \x01(\x08H\x04R\x0c\x61utoCaptions\x88\x01\x01\x12(\n\rauto_insights\x18\n \x01(\x08H\x05R\x0c\x61utoInsights\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\r\n\x0b_visibilityB\t\n\x07_presetB\x10\n\x0e_auto_captionsB\x10\n\x0e_auto_insights\"D\n\x15\x43reateFromUrlResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"L\n\nUploadPart\x12\x1f\n\x0bpart_number\x18\x01 \x01(\x05R\npartNumber\x12\x1d\n\nupload_url\x18\x02 \x01(\tR\tuploadUrl\"_\n\rCompletedPart\x12+\n\x0bpart_number\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\x90N(\x01R\npartNumber\x12!\n\x04\x65tag\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\x80\x02\xc8\x01\x01R\x04\x65tag\"\xe2\x05\n\x1c\x43reateMultipartUploadRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xd8\x01\x01R\x05\x61ppId\x12)\n\x08\x66ilename\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\xff\x01\xc8\x01\x01R\x08\x66ilename\x12/\n\x0c\x63ontent_type\x18\x03 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18@\xc8\x01\x01R\x0b\x63ontentType\x12,\n\nsize_bytes\x18\x04 \x01(\x03\x42\r\xbaH\n\"\x08\x18\x80\x80\x80\x80\x14 \x00R\tsizeBytes\x12+\n\x0btotal_parts\x18\x05 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\x90N(\x01R\ntotalParts\x12+\n\x0fpart_size_bytes\x18\x06 \x01(\x03H\x00R\rpartSizeBytes\x88\x01\x01\x12#\n\x05title\x18\n \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01H\x01R\x05title\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x0b \x01(\tB\x08\xbaH\x05r\x03\x18\xd0\x0fH\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x04tags\x18\x0c \x03(\tB\x08\xbaH\x05\x92\x01\x02\x10\x14R\x04tags\x12#\n\nvisibility\x18\r \x01(\tH\x03R\nvisibility\x88\x01\x01\x12\'\n\x06preset\x18\x0e \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x01H\x04R\x06preset\x88\x01\x01\x12%\n\x0ehover_previews\x18\x0f \x01(\x08R\rhoverPreviews\x12(\n\rauto_captions\x18\x10 \x01(\x08H\x05R\x0c\x61utoCaptions\x88\x01\x01\x12(\n\rauto_insights\x18\x11 \x01(\x08H\x06R\x0c\x61utoInsights\x88\x01\x01\x42\x12\n\x10_part_size_bytesB\x08\n\x06_titleB\x0e\n\x0c_descriptionB\r\n\x0b_visibilityB\t\n\x07_presetB\x10\n\x0e_auto_captionsB\x10\n\x0e_auto_insights\"\xdd\x01\n\x1d\x43reateMultipartUploadResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\x12\x1b\n\tupload_id\x18\x02 \x01(\tR\x08uploadId\x12\x30\n\x05parts\x18\x03 \x03(\x0b\x32\x1a.transcodely.v1.UploadPartR\x05parts\x12@\n\x0eurls_expire_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0curlsExpireAt\"\xa9\x01\n\x18GetUploadPartUrlsRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12*\n\tupload_id\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\x80\x02\xc8\x01\x01R\x08uploadId\x12-\n\x0cpart_numbers\x18\x03 \x03(\x05\x42\n\xbaH\x07\x92\x01\x04\x08\x01\x10\x64R\x0bpartNumbers\"\x8f\x01\n\x19GetUploadPartUrlsResponse\x12\x30\n\x05parts\x18\x01 \x03(\x0b\x32\x1a.transcodely.v1.UploadPartR\x05parts\x12@\n\x0eurls_expire_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0curlsExpireAt\"\xbf\x01\n\x1e\x43ompleteMultipartUploadRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12*\n\tupload_id\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\x80\x02\xc8\x01\x01R\x08uploadId\x12=\n\x05parts\x18\x03 \x03(\x0b\x32\x1d.transcodely.v1.CompletedPartB\x08\xbaH\x05\x92\x01\x02\x08\x01R\x05parts\"N\n\x1f\x43ompleteMultipartUploadResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"}\n\x1b\x41\x62ortMultipartUploadRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12*\n\tupload_id\x18\x02 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\x80\x02\xc8\x01\x01R\x08uploadId\"\x1e\n\x1c\x41\x62ortMultipartUploadResponse\"E\n\x0fGetVideoRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"?\n\x10GetVideoResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"\xda\x01\n\x11ListVideosRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x64(\x01R\x08pageSize\x12\"\n\npage_token\x18\x02 \x01(\tH\x00R\tpageToken\x88\x01\x01\x12\x1b\n\x06status\x18\x03 \x01(\tH\x01R\x06status\x88\x01\x01\x12\x37\n\x06\x61pp_id\x18\x04 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^app_[a-zA-Z0-9_-]+$H\x02R\x05\x61ppId\x88\x01\x01\x42\r\n\x0b_page_tokenB\t\n\x07_statusB\t\n\x07_app_id\"\xa5\x01\n\x12ListVideosResponse\x12-\n\x06videos\x18\x01 \x03(\x0b\x32\x15.transcodely.v1.VideoR\x06videos\x12+\n\x0fnext_page_token\x18\x02 \x01(\tH\x00R\rnextPageToken\x88\x01\x01\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCountB\x12\n\x10_next_page_token\"\x89\x04\n\x12UpdateVideoRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x19\n\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x12\n\x04tags\x18\x04 \x03(\tR\x04tags\x12#\n\nvisibility\x18\x05 \x01(\tH\x02R\nvisibility\x88\x01\x01\x12\"\n\nclear_tags\x18\x06 \x01(\x08H\x03R\tclearTags\x88\x01\x01\x12(\n\rsource_pinned\x18\x07 \x01(\x08H\x04R\x0csourcePinned\x88\x01\x01:\xab\x01\xbaH\xa7\x01\x1a\xa4\x01\n%update_video.clear_tags_excludes_tags\x12\x38\x63lear_tags cannot be combined with a non-empty tags list\x1a\x41!has(this.clear_tags) || !this.clear_tags || size(this.tags) == 0B\x08\n\x06_titleB\x0e\n\x0c_descriptionB\r\n\x0b_visibilityB\r\n\x0b_clear_tagsB\x10\n\x0e_source_pinned\"B\n\x13UpdateVideoResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\"H\n\x12\x44\x65leteVideoRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"\x15\n\x13\x44\x65leteVideoResponse\"G\n\x11WatchVideoRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"`\n\x12WatchVideoResponse\x12+\n\x05video\x18\x01 \x01(\x0b\x32\x15.transcodely.v1.VideoR\x05video\x12\x1d\n\nevent_type\x18\x02 \x01(\tR\teventType\"M\n\x0fGetUsageRequest\x12(\n\rbilling_month\x18\x01 \x01(\tH\x00R\x0c\x62illingMonth\x88\x01\x01\x42\x10\n\x0e_billing_month\"F\n\x10GetUsageResponse\x12\x32\n\x05usage\x18\x01 \x01(\x0b\x32\x1c.transcodely.v1.UsageSummaryR\x05usage\"\xea\x03\n\x0cUsageSummary\x12#\n\rbilling_month\x18\x01 \x01(\tR\x0c\x62illingMonth\x12%\n\x0evideos_encoded\x18\x02 \x01(\x05R\rvideosEncoded\x12)\n\x10\x65ncoding_minutes\x18\x03 \x01(\x01R\x0f\x65ncodingMinutes\x12#\n\rencoding_cost\x18\x04 \x01(\x01R\x0c\x65ncodingCost\x12$\n\x0estorage_gb_avg\x18\n \x01(\x01R\x0cstorageGbAvg\x12!\n\x0cstorage_cost\x18\x0b \x01(\x01R\x0bstorageCost\x12#\n\rvideos_hosted\x18\x0c \x01(\x05R\x0cvideosHosted\x12\x1b\n\tegress_gb\x18\x14 \x01(\x01R\x08\x65gressGb\x12\x1f\n\x0b\x65gress_cost\x18\x15 \x01(\x01R\negressCost\x12%\n\x0etotal_requests\x18\x16 \x01(\x03R\rtotalRequests\x12\x1d\n\ntotal_cost\x18\x1e \x01(\x01R\ttotalCost\x12\x1a\n\x08\x63urrency\x18\x1f \x01(\tR\x08\x63urrency\x12\x30\n\x05\x64\x61ily\x18( \x03(\x0b\x32\x1a.transcodely.v1.DailyUsageR\x05\x64\x61ily\"\xb2\x01\n\nDailyUsage\x12\x12\n\x04\x64\x61te\x18\x01 \x01(\tR\x04\x64\x61te\x12#\n\rstorage_bytes\x18\x02 \x01(\x03R\x0cstorageBytes\x12!\n\x0c\x65gress_bytes\x18\x03 \x01(\x03R\x0b\x65gressBytes\x12#\n\rrequest_count\x18\x04 \x01(\x03R\x0crequestCount\x12#\n\rencoding_cost\x18\x05 \x01(\x01R\x0c\x65ncodingCost\"\xb0\x01\n\x0fGetStatsRequest\x12=\n\x08video_id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x07videoId\x12\"\n\nstart_date\x18\x02 \x01(\tH\x00R\tstartDate\x88\x01\x01\x12\x1e\n\x08\x65nd_date\x18\x03 \x01(\tH\x01R\x07\x65ndDate\x88\x01\x01\x42\r\n\x0b_start_dateB\x0b\n\t_end_date\"\x81\x01\n\x10GetStatsResponse\x12\x33\n\x05\x64\x61ily\x18\x01 \x03(\x0b\x32\x1d.transcodely.v1.VideoStatsDayR\x05\x64\x61ily\x12\x38\n\x06totals\x18\x02 \x01(\x0b\x32 .transcodely.v1.VideoStatsTotalsR\x06totals\"\x85\x01\n\rVideoStatsDay\x12\x12\n\x04\x64\x61te\x18\x01 \x01(\tR\x04\x64\x61te\x12\x14\n\x05plays\x18\x02 \x01(\x05R\x05plays\x12#\n\rwatch_seconds\x18\x03 \x01(\x03R\x0cwatchSeconds\x12%\n\x0eunique_viewers\x18\x04 \x01(\x05R\runiqueViewers\"t\n\x10VideoStatsTotals\x12\x14\n\x05plays\x18\x01 \x01(\x05R\x05plays\x12#\n\rwatch_seconds\x18\x02 \x01(\x03R\x0cwatchSeconds\x12%\n\x0eunique_viewers\x18\x03 \x01(\x05R\runiqueViewers\"\xea\x01\n\x14ListTopVideosRequest\x12\x37\n\x06\x61pp_id\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^app_[a-zA-Z0-9_-]+$H\x00R\x05\x61ppId\x88\x01\x01\x12\"\n\nstart_date\x18\x02 \x01(\tH\x01R\tstartDate\x88\x01\x01\x12\x1e\n\x08\x65nd_date\x18\x03 \x01(\tH\x02R\x07\x65ndDate\x88\x01\x01\x12$\n\x05limit\x18\x04 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x64(\x01H\x03R\x05limit\x88\x01\x01\x42\t\n\x07_app_idB\r\n\x0b_start_dateB\x0b\n\t_end_dateB\x08\n\x06_limit\"G\n\x15ListTopVideosResponse\x12.\n\x05items\x18\x01 \x03(\x0b\x32\x18.transcodely.v1.TopVideoR\x05items\"\xdf\x01\n\x08TopVideo\x12\x19\n\x08video_id\x18\x01 \x01(\tR\x07videoId\x12\x19\n\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12\"\n\nposter_url\x18\x03 \x01(\tH\x01R\tposterUrl\x88\x01\x01\x12\x14\n\x05plays\x18\x04 \x01(\x03R\x05plays\x12#\n\rwatch_seconds\x18\x05 \x01(\x03R\x0cwatchSeconds\x12%\n\x0eunique_viewers\x18\x06 \x01(\x03R\runiqueViewersB\x08\n\x06_titleB\r\n\x0b_poster_url\"\xa9\x02\n\x13GetSeoMarkupRequest\x12=\n\x08video_id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x07videoId\x12\x34\n\twatch_url\x18\x02 \x01(\tB\x17\xbaH\x14r\x0f\x10\t\x18\x80\x10:\x08https://\xc8\x01\x01R\x08watchUrl\x12H\n\x0f\x64\x65\x65p_link_param\x18\x03 \x01(\tB\x1b\xbaH\x18r\x16\x10\x01\x18 2\x10^[A-Za-z0-9_-]+$H\x00R\rdeepLinkParam\x88\x01\x01\x12\x32\n\x08language\x18\x04 \x01(\tB\x11\xbaH\x0er\x0c\x32\n^[a-z]{3}$H\x01R\x08language\x88\x01\x01\x42\x12\n\x10_deep_link_paramB\x0b\n\t_language\"y\n\x14GetSeoMarkupResponse\x12\x17\n\x07json_ld\x18\x01 \x01(\tR\x06jsonLd\x12#\n\rsitemap_entry\x18\x02 \x01(\tR\x0csitemapEntry\x12#\n\rhtml_fragment\x18\x03 \x01(\tR\x0chtmlFragment\"\xfe\x01\n\x17GenerateInsightsRequest\x12\x32\n\x02id\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x10\x01\x18 2\x14^vid_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x32\n\x08language\x18\x02 \x01(\tB\x11\xbaH\x0er\x0c\x32\n^[a-z]{3}$H\x00R\x08language\x88\x01\x01\x12!\n\x04hint\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xac\x02H\x01R\x04hint\x88\x01\x01\x12\x37\n\x06\x61pp_id\x18\x04 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^app_[a-zA-Z0-9_-]+$H\x02R\x05\x61ppId\x88\x01\x01\x42\x0b\n\t_languageB\x07\n\x05_hintB\t\n\x07_app_id\"Z\n\x18GenerateInsightsResponse\x12>\n\x08insights\x18\x01 \x01(\x0b\x32\".transcodely.v1.TranscriptInsightsR\x08insights*\xc9\x01\n\x0bVideoStatus\x12\x1c\n\x18VIDEO_STATUS_UNSPECIFIED\x10\x00\x12\x1a\n\x16VIDEO_STATUS_UPLOADING\x10\x01\x12\x1b\n\x17VIDEO_STATUS_PROCESSING\x10\x02\x12\x16\n\x12VIDEO_STATUS_READY\x10\x03\x12\x16\n\x12VIDEO_STATUS_ERROR\x10\x04\x12\x19\n\x15VIDEO_STATUS_ARCHIVED\x10\x05\x12\x18\n\x14VIDEO_STATUS_DELETED\x10\x06*\x8d\x01\n\x0fVideoVisibility\x12 \n\x1cVIDEO_VISIBILITY_UNSPECIFIED\x10\x00\x12\x1b\n\x17VIDEO_VISIBILITY_PUBLIC\x10\x01\x12\x1d\n\x19VIDEO_VISIBILITY_UNLISTED\x10\x02\x12\x1c\n\x18VIDEO_VISIBILITY_PRIVATE\x10\x03\x32\xc6\x0c\n\x0cVideoService\x12Y\n\x0c\x43reateUpload\x12#.transcodely.v1.CreateUploadRequest\x1a$.transcodely.v1.CreateUploadResponse\x12_\n\x0e\x43ompleteUpload\x12%.transcodely.v1.CompleteUploadRequest\x1a&.transcodely.v1.CompleteUploadResponse\x12\\\n\rCreateFromUrl\x12$.transcodely.v1.CreateFromUrlRequest\x1a%.transcodely.v1.CreateFromUrlResponse\x12t\n\x15\x43reateMultipartUpload\x12,.transcodely.v1.CreateMultipartUploadRequest\x1a-.transcodely.v1.CreateMultipartUploadResponse\x12h\n\x11GetUploadPartUrls\x12(.transcodely.v1.GetUploadPartUrlsRequest\x1a).transcodely.v1.GetUploadPartUrlsResponse\x12z\n\x17\x43ompleteMultipartUpload\x12..transcodely.v1.CompleteMultipartUploadRequest\x1a/.transcodely.v1.CompleteMultipartUploadResponse\x12q\n\x14\x41\x62ortMultipartUpload\x12+.transcodely.v1.AbortMultipartUploadRequest\x1a,.transcodely.v1.AbortMultipartUploadResponse\x12H\n\x03Get\x12\x1f.transcodely.v1.GetVideoRequest\x1a .transcodely.v1.GetVideoResponse\x12M\n\x04List\x12!.transcodely.v1.ListVideosRequest\x1a\".transcodely.v1.ListVideosResponse\x12Q\n\x06Update\x12\".transcodely.v1.UpdateVideoRequest\x1a#.transcodely.v1.UpdateVideoResponse\x12Q\n\x06\x44\x65lete\x12\".transcodely.v1.DeleteVideoRequest\x1a#.transcodely.v1.DeleteVideoResponse\x12P\n\x05Watch\x12!.transcodely.v1.WatchVideoRequest\x1a\".transcodely.v1.WatchVideoResponse0\x01\x12M\n\x08GetUsage\x12\x1f.transcodely.v1.GetUsageRequest\x1a .transcodely.v1.GetUsageResponse\x12M\n\x08GetStats\x12\x1f.transcodely.v1.GetStatsRequest\x1a .transcodely.v1.GetStatsResponse\x12\\\n\rListTopVideos\x12$.transcodely.v1.ListTopVideosRequest\x1a%.transcodely.v1.ListTopVideosResponse\x12Y\n\x0cGetSeoMarkup\x12#.transcodely.v1.GetSeoMarkupRequest\x1a$.transcodely.v1.GetSeoMarkupResponse\x12\x65\n\x10GenerateInsights\x12\'.transcodely.v1.GenerateInsightsRequest\x1a(.transcodely.v1.GenerateInsightsResponseb\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -130,10 +130,18 @@ if not _descriptor._USE_C_DESCRIPTORS:
130
130
  _globals['_GETSEOMARKUPREQUEST'].fields_by_name['deep_link_param']._serialized_options = b'\272H\030r\026\020\001\030 2\020^[A-Za-z0-9_-]+$'
131
131
  _globals['_GETSEOMARKUPREQUEST'].fields_by_name['language']._loaded_options = None
132
132
  _globals['_GETSEOMARKUPREQUEST'].fields_by_name['language']._serialized_options = b'\272H\016r\0142\n^[a-z]{3}$'
133
- _globals['_VIDEOSTATUS']._serialized_start=9756
134
- _globals['_VIDEOSTATUS']._serialized_end=9957
135
- _globals['_VIDEOVISIBILITY']._serialized_start=9960
136
- _globals['_VIDEOVISIBILITY']._serialized_end=10101
133
+ _globals['_GENERATEINSIGHTSREQUEST'].fields_by_name['id']._loaded_options = None
134
+ _globals['_GENERATEINSIGHTSREQUEST'].fields_by_name['id']._serialized_options = b'\272H\037r\032\020\001\030 2\024^vid_[a-zA-Z0-9_-]+$\310\001\001'
135
+ _globals['_GENERATEINSIGHTSREQUEST'].fields_by_name['language']._loaded_options = None
136
+ _globals['_GENERATEINSIGHTSREQUEST'].fields_by_name['language']._serialized_options = b'\272H\016r\0142\n^[a-z]{3}$'
137
+ _globals['_GENERATEINSIGHTSREQUEST'].fields_by_name['hint']._loaded_options = None
138
+ _globals['_GENERATEINSIGHTSREQUEST'].fields_by_name['hint']._serialized_options = b'\272H\005r\003\030\254\002'
139
+ _globals['_GENERATEINSIGHTSREQUEST'].fields_by_name['app_id']._loaded_options = None
140
+ _globals['_GENERATEINSIGHTSREQUEST'].fields_by_name['app_id']._serialized_options = b'\272H\030r\0262\024^app_[a-zA-Z0-9_-]+$'
141
+ _globals['_VIDEOSTATUS']._serialized_start=10105
142
+ _globals['_VIDEOSTATUS']._serialized_end=10306
143
+ _globals['_VIDEOVISIBILITY']._serialized_start=10309
144
+ _globals['_VIDEOVISIBILITY']._serialized_end=10450
137
145
  _globals['_VIDEO']._serialized_start=141
138
146
  _globals['_VIDEO']._serialized_end=2002
139
147
  _globals['_VIDEORENDITION']._serialized_start=2005
@@ -218,6 +226,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
218
226
  _globals['_GETSEOMARKUPREQUEST']._serialized_end=9630
219
227
  _globals['_GETSEOMARKUPRESPONSE']._serialized_start=9632
220
228
  _globals['_GETSEOMARKUPRESPONSE']._serialized_end=9753
221
- _globals['_VIDEOSERVICE']._serialized_start=10104
222
- _globals['_VIDEOSERVICE']._serialized_end=11607
229
+ _globals['_GENERATEINSIGHTSREQUEST']._serialized_start=9756
230
+ _globals['_GENERATEINSIGHTSREQUEST']._serialized_end=10010
231
+ _globals['_GENERATEINSIGHTSRESPONSE']._serialized_start=10012
232
+ _globals['_GENERATEINSIGHTSRESPONSE']._serialized_end=10102
233
+ _globals['_VIDEOSERVICE']._serialized_start=10453
234
+ _globals['_VIDEOSERVICE']._serialized_end=12059
223
235
  # @@protoc_insertion_point(module_scope)
@@ -570,3 +570,21 @@ class GetSeoMarkupResponse(_message.Message):
570
570
  sitemap_entry: str
571
571
  html_fragment: str
572
572
  def __init__(self, json_ld: _Optional[str] = ..., sitemap_entry: _Optional[str] = ..., html_fragment: _Optional[str] = ...) -> None: ...
573
+
574
+ class GenerateInsightsRequest(_message.Message):
575
+ __slots__ = ("id", "language", "hint", "app_id")
576
+ ID_FIELD_NUMBER: _ClassVar[int]
577
+ LANGUAGE_FIELD_NUMBER: _ClassVar[int]
578
+ HINT_FIELD_NUMBER: _ClassVar[int]
579
+ APP_ID_FIELD_NUMBER: _ClassVar[int]
580
+ id: str
581
+ language: str
582
+ hint: str
583
+ app_id: str
584
+ def __init__(self, id: _Optional[str] = ..., language: _Optional[str] = ..., hint: _Optional[str] = ..., app_id: _Optional[str] = ...) -> None: ...
585
+
586
+ class GenerateInsightsResponse(_message.Message):
587
+ __slots__ = ("insights",)
588
+ INSIGHTS_FIELD_NUMBER: _ClassVar[int]
589
+ insights: _subtitles_pb2.TranscriptInsights
590
+ def __init__(self, insights: _Optional[_Union[_subtitles_pb2.TranscriptInsights, _Mapping]] = ...) -> None: ...
@@ -1,7 +1,7 @@
1
1
  """Version constants exposed at the top of the package."""
2
2
 
3
3
  #: SDK package version. Bumped by release-please from pyproject.toml.
4
- SDK_VERSION = "0.3.12" # x-release-please-version
4
+ SDK_VERSION = "0.3.13" # x-release-please-version
5
5
 
6
6
  #: Calendar-versioned API this release pins. Sent on every request as
7
7
  #: `Transcodely-Version`. Override per-client via ``api_version=``.
@@ -17,9 +17,9 @@ from typing import Any, Literal
17
17
  from google.protobuf.message import Message
18
18
 
19
19
  from ..resources._helpers import fill_from_dict
20
- from ..v1 import app_pb2, job_pb2, video_pb2
20
+ from ..v1 import app_pb2, job_pb2, subtitles_pb2, video_pb2
21
21
 
22
- #: The 20 canonical event types the webhook system can emit, mirroring the API's
22
+ #: The 22 canonical event types the webhook system can emit, mirroring the API's
23
23
  #: ``domain.WebhookEventTypes()``. The ``"*"`` wildcard is intentionally absent —
24
24
  #: it is a subscription value only, never the ``type`` of an emitted event. Used
25
25
  #: for annotations and documentation; the ``Event.type`` field is a plain ``str``
@@ -42,6 +42,8 @@ EventType = Literal[
42
42
  "video.failed",
43
43
  "video.deleted",
44
44
  "video.source_scheduled_for_deletion",
45
+ "video.insights.ready",
46
+ "video.insights.failed",
45
47
  "app.created",
46
48
  "app.updated",
47
49
  "app.spend_limit_warning",
@@ -67,7 +69,9 @@ class Event:
67
69
  ``data`` carries the decoded resource snapshot — a :class:`~transcodely.Job`,
68
70
  :class:`~transcodely.JobOutput`, :class:`~transcodely.Video`, or
69
71
  :class:`~transcodely.App` for a known resource ``type``, or the raw ``dict``
70
- for an unrecognized one (forward compatibility).
72
+ for an unrecognized one (forward compatibility). ``video.insights.ready``
73
+ and ``video.insights.failed`` carry a :class:`~transcodely.TranscriptInsights`
74
+ entry (requested with ``videos.generate_insights``), not a ``Video``.
71
75
 
72
76
  The two spend-limit events (``app.spend_limit_warning`` and
73
77
  ``app.spend_limit_exceeded``) are the exception: they carry a notification
@@ -116,6 +120,15 @@ RESOURCE_DECODERS: list[tuple[str, Decoder]] = [
116
120
  #: rather than a resource snapshot. Their ``data`` is left as the raw ``dict``.
117
121
  _NOTIFICATION_EVENT_TYPES = frozenset({"app.spend_limit_warning", "app.spend_limit_exceeded"})
118
122
 
123
+ #: Event types that share a resource prefix but carry a different resource:
124
+ #: ``video.insights.ready`` / ``video.insights.failed`` deliver the
125
+ #: ``TranscriptInsights`` entry requested with ``videos.generate_insights``, not
126
+ #: a ``Video`` snapshot. Checked before the prefix table.
127
+ EXACT_TYPE_DECODERS: dict[str, Decoder] = {
128
+ "video.insights.ready": lambda d: fill_from_dict(subtitles_pb2.TranscriptInsights(), d),
129
+ "video.insights.failed": lambda d: fill_from_dict(subtitles_pb2.TranscriptInsights(), d),
130
+ }
131
+
119
132
 
120
133
  def decoder_for_type(type: str) -> Decoder | None:
121
134
  """Return a resource decoder for ``type``, or ``None`` if the type has none.
@@ -126,6 +139,9 @@ def decoder_for_type(type: str) -> Decoder | None:
126
139
  """
127
140
  if type in _NOTIFICATION_EVENT_TYPES:
128
141
  return None
142
+ exact = EXACT_TYPE_DECODERS.get(type)
143
+ if exact is not None:
144
+ return exact
129
145
  for prefix, decode in RESOURCE_DECODERS:
130
146
  if type.startswith(prefix):
131
147
  return decode
@@ -133,6 +149,7 @@ def decoder_for_type(type: str) -> Decoder | None:
133
149
 
134
150
 
135
151
  __all__ = [
152
+ "EXACT_TYPE_DECODERS",
136
153
  "RESOURCE_DECODERS",
137
154
  "Event",
138
155
  "EventRequest",
File without changes
File without changes