transcodely 0.3.19__py3-none-any.whl → 0.3.20__py3-none-any.whl

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.
transcodely/__init__.py CHANGED
@@ -63,6 +63,8 @@ from .types import (
63
63
  ChapterResult,
64
64
  ClipConfig,
65
65
  ContentAwareConfig,
66
+ CueStyle,
67
+ CueStylePreset,
66
68
  DASHConfig,
67
69
  DRMConfig,
68
70
  GuidePageSetting,
@@ -105,6 +107,7 @@ from .types import (
105
107
  UserWithOrganizations,
106
108
  Video,
107
109
  VideoCodec,
110
+ VideoCostLine,
108
111
  VideoHighlight,
109
112
  VideoRendition,
110
113
  VideoTextTrack,
@@ -153,6 +156,8 @@ __all__ = [
153
156
  "ClipConfig",
154
157
  "ConflictError",
155
158
  "ContentAwareConfig",
159
+ "CueStyle",
160
+ "CueStylePreset",
156
161
  "DASHConfig",
157
162
  "DRMConfig",
158
163
  "Event",
@@ -208,6 +213,7 @@ __all__ = [
208
213
  "UserWithOrganizations",
209
214
  "Video",
210
215
  "VideoCodec",
216
+ "VideoCostLine",
211
217
  "VideoHighlight",
212
218
  "VideoRendition",
213
219
  "VideoTextTrack",
@@ -247,3 +247,29 @@ class Videos:
247
247
  return self._t.unary(
248
248
  _SERVICE, "TranslateCaptions", req, video_pb2.TranslateCaptionsResponse()
249
249
  )
250
+
251
+ def restyle_captions(self, **kwargs: Any) -> video_pb2.RestyleCaptionsResponse:
252
+ """Re-cut a hosted video's existing AI captions into a new cue style.
253
+
254
+ Pass ``id`` (the ``vid_...`` video, required), plus optional
255
+ ``language`` (needed only when the video has several AI caption
256
+ tracks), ``cue_style`` (a dict such as ``{"preset": "compact"}`` or
257
+ ``{"max_lines": 1}``; when absent, or for the limits it leaves unset,
258
+ the app's default cue style is used, else ``standard``) and ``app_id``.
259
+ The words and their timings come from the track's stored transcript,
260
+ so nothing is transcribed again; only their grouping into cues changes.
261
+
262
+ Creates a captions-only job on the video (``job_id`` in the response,
263
+ with ``video_id``, the normalized ``language`` and the resolved
264
+ ``cue_style``). When it completes, the track's caption file, transcript
265
+ renditions and HLS caption rendition are replaced in place and
266
+ ``VideoTextTrack.cue_style`` shows the new style. Insights are kept;
267
+ translations of the track keep their old cues until translated again.
268
+ Free: no captions, translation or processing fee. Refused with
269
+ failed_precondition (code ``captions_required``,
270
+ ``insights_transcript_unavailable`` or ``captions_job_in_flight``) when
271
+ there is nothing to restyle or a captions job of that language is still
272
+ running.
273
+ """
274
+ req = fill_from_dict(video_pb2.RestyleCaptionsRequest(), kwargs)
275
+ return self._t.unary(_SERVICE, "RestyleCaptions", req, video_pb2.RestyleCaptionsResponse())
transcodely/types.py CHANGED
@@ -355,6 +355,8 @@ from transcodely.v1.subtitles_pb2 import (
355
355
  BurnInStyle,
356
356
  ChapterPoint,
357
357
  ChapterResult,
358
+ CueStyle,
359
+ CueStylePreset,
358
360
  InsightsHighlight,
359
361
  InsightsOptions,
360
362
  InsightsQuestion,
@@ -429,6 +431,8 @@ from transcodely.v1.video_pb2 import (
429
431
  ListTopVideosResponse,
430
432
  ListVideosRequest,
431
433
  ListVideosResponse,
434
+ RestyleCaptionsRequest,
435
+ RestyleCaptionsResponse,
432
436
  TopVideo,
433
437
  TranslateCaptionsRequest,
434
438
  TranslateCaptionsResponse,
@@ -438,6 +442,7 @@ from transcodely.v1.video_pb2 import (
438
442
  UploadPart,
439
443
  UsageSummary,
440
444
  Video,
445
+ VideoCostLine,
441
446
  VideoHighlight,
442
447
  VideoHighlightStatus,
443
448
  VideoRendition,
@@ -561,6 +566,8 @@ __all__ = [
561
566
  "CreateUploadResponse",
562
567
  "CreateWebhookEndpointRequest",
563
568
  "CreateWebhookEndpointResponse",
569
+ "CueStyle",
570
+ "CueStylePreset",
564
571
  "DASHConfig",
565
572
  "DRMConfig",
566
573
  "DRMKeyServerConfig",
@@ -744,6 +751,8 @@ __all__ = [
744
751
  "ResendEventRequest",
745
752
  "ResendEventResponse",
746
753
  "Resolution",
754
+ "RestyleCaptionsRequest",
755
+ "RestyleCaptionsResponse",
747
756
  "RetrieveEventRequest",
748
757
  "RetrieveEventResponse",
749
758
  "RetrieveWebhookEndpointRequest",
@@ -821,6 +830,7 @@ __all__ = [
821
830
  "VariantPricingSnapshot",
822
831
  "Video",
823
832
  "VideoCodec",
833
+ "VideoCostLine",
824
834
  "VideoHighlight",
825
835
  "VideoHighlightStatus",
826
836
  "VideoRendition",
transcodely/v1/app_pb2.py CHANGED
@@ -25,9 +25,10 @@ _sym_db = _symbol_database.Default()
25
25
  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
  from transcodely.v1 import common_pb2 as transcodely_dot_v1_dot_common__pb2
28
+ from transcodely.v1 import subtitles_pb2 as transcodely_dot_v1_dot_subtitles__pb2
28
29
 
29
30
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18transcodely/v1/app.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1btranscodely/v1/common.proto\"\xa8\x07\n\x03\x41pp\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x31\n\x06status\x18\x06 \x01(\x0e\x32\x19.transcodely.v1.AppStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n\x0b\x61rchived_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\narchivedAt\x88\x01\x01\x12,\n\x0fhosting_enabled\x18\n \x01(\x08H\x02R\x0ehostingEnabled\x88\x01\x01\x12*\n\x0ehosting_status\x18\x0b \x01(\tH\x03R\rhostingStatus\x88\x01\x01\x12&\n\x0c\x63\x64n_hostname\x18\x0c \x01(\tH\x04R\x0b\x63\x64nHostname\x88\x01\x01\x12I\n\x0ehosting_config\x18\r \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigH\x05R\rhostingConfig\x88\x01\x01\x12\x16\n\x06object\x18\x0e \x01(\tR\x06object\x12:\n\x17monthly_spend_limit_eur\x18\x0f \x01(\x01H\x06R\x14monthlySpendLimitEur\x88\x01\x01\x12\x46\n\rplayer_config\x18\x10 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigH\x07R\x0cplayerConfig\x88\x01\x01\x12.\n\x10\x63\x61ption_glossary\x18\x11 \x01(\tH\x08R\x0f\x63\x61ptionGlossary\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_archived_atB\x12\n\x10_hosting_enabledB\x11\n\x0f_hosting_statusB\x0f\n\r_cdn_hostnameB\x11\n\x0f_hosting_configB\x1a\n\x18_monthly_spend_limit_eurB\x10\n\x0e_player_configB\x13\n\x11_caption_glossaryJ\x04\x08\x05\x10\x06R\x07webhook\"Z\n\x0cPlayerConfig\x12=\n\x08\x63\x61ptions\x18\x01 \x01(\x0b\x32\x1c.transcodely.v1.CaptionStyleH\x00R\x08\x63\x61ptions\x88\x01\x01\x42\x0b\n\t_captions\"\xf0\x02\n\x0c\x43\x61ptionStyle\x12K\n\x10\x62\x61\x63kground_color\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x00R\x0f\x62\x61\x63kgroundColor\x88\x01\x01\x12K\n\x12\x62\x61\x63kground_opacity\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\xf0?)\x00\x00\x00\x00\x00\x00\x00\x00H\x01R\x11\x62\x61\x63kgroundOpacity\x88\x01\x01\x12?\n\ntext_color\x18\x03 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x02R\ttextColor\x88\x01\x01\x12;\n\nfont_scale\x18\x04 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\x00@)\x00\x00\x00\x00\x00\x00\xe0?H\x03R\tfontScale\x88\x01\x01\x42\x13\n\x11_background_colorB\x15\n\x13_background_opacityB\r\n\x0b_text_colorB\r\n\x0b_font_scale\"\x8e\x01\n\x19UpdatePlayerConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x41\n\rplayer_config\x18\x02 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigR\x0cplayerConfig\"C\n\x1aUpdatePlayerConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xfa\x01\n\x10\x43reateAppRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12 \n\x04name\x18\x02 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18<\xc8\x01\x01R\x04name\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x00R\x0b\x64\x65scription\x88\x01\x01\x12*\n\x0e\x65nable_hosting\x18\x05 \x01(\x08H\x01R\renableHosting\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_enable_hostingJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11\x43reateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"?\n\rGetAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"7\n\x0eGetAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\x8e\x02\n\x10UpdateAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18<H\x00R\x04name\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x38\n\x10\x63\x61ption_glossary\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\x18\xa0\x1fH\x02R\x0f\x63\x61ptionGlossary\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x13\n\x11_caption_glossaryJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11UpdateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"\xb6\x01\n\x0fListAppsRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12\x41\n\npagination\x18\x02 \x01(\x0b\x32!.transcodely.v1.PaginationRequestR\npagination\x12)\n\x10include_archived\x18\x03 \x01(\x08R\x0fincludeArchived\"\x7f\n\x10ListAppsResponse\x12\'\n\x04\x61pps\x18\x01 \x03(\x0b\x32\x13.transcodely.v1.AppR\x04\x61pps\x12\x42\n\npagination\x18\x02 \x01(\x0b\x32\".transcodely.v1.PaginationResponseR\npagination\"C\n\x11\x41rchiveAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\";\n\x12\x41rchiveAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"F\n\x14\x45nableHostingRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\">\n\x15\x45nableHostingResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xfe\x03\n\rHostingConfig\x12\x32\n\x12\x64\x65\x66\x61ult_visibility\x18\x01 \x01(\tH\x00R\x11\x64\x65\x66\x61ultVisibility\x88\x01\x01\x12\x36\n\x15max_upload_size_bytes\x18\x02 \x01(\x03H\x01R\x12maxUploadSizeBytes\x88\x01\x01\x12\x30\n\x14\x63ors_allowed_origins\x18\x03 \x03(\tR\x12\x63orsAllowedOrigins\x12\\\n\x15\x61uto_profile_defaults\x18\x04 \x01(\x0b\x32#.transcodely.v1.AutoProfileDefaultsH\x02R\x13\x61utoProfileDefaults\x88\x01\x01\x12<\n\x18\x64\x65lete_source_after_days\x18\x05 \x01(\x05H\x03R\x15\x64\x65leteSourceAfterDays\x88\x01\x01\x12\x33\n\x13guide_pages_enabled\x18\x06 \x01(\x08H\x04R\x11guidePagesEnabled\x88\x01\x01\x42\x15\n\x13_default_visibilityB\x18\n\x16_max_upload_size_bytesB\x18\n\x16_auto_profile_defaultsB\x1b\n\x19_delete_source_after_daysB\x16\n\x14_guide_pages_enabled\"\x96\x02\n\x13\x41utoProfileDefaults\x12\x1b\n\x06\x66ormat\x18\x01 \x01(\tH\x00R\x06\x66ormat\x88\x01\x01\x12\x19\n\x05\x63odec\x18\x02 \x01(\tH\x01R\x05\x63odec\x88\x01\x01\x12*\n\x0emax_resolution\x18\x03 \x01(\tH\x02R\rmaxResolution\x88\x01\x01\x12&\n\x0cquality_tier\x18\x04 \x01(\tH\x03R\x0bqualityTier\x88\x01\x01\x12(\n\rencoding_mode\x18\x05 \x01(\tH\x04R\x0c\x65ncodingMode\x88\x01\x01\x42\t\n\x07_formatB\x08\n\x06_codecB\x11\n\x0f_max_resolutionB\x0f\n\r_quality_tierB\x10\n\x0e_encoding_mode\"\x92\x01\n\x1aUpdateHostingConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x44\n\x0ehosting_config\x18\x02 \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigR\rhostingConfig\"D\n\x1bUpdateHostingConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xc1\x01\n\x17UpdateSpendLimitRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\x12S\n\x17monthly_spend_limit_eur\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x85\xeb\xff\x1f_\xa0\x02\x42!\x00\x00\x00\x00\x00\x00\x00\x00H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x42\x1a\n\x18_monthly_spend_limit_eur\"A\n\x18UpdateSpendLimitResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"H\n\x0fGetSpendRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\"\xef\x02\n\x10GetSpendResponse\x12=\n\x0cperiod_start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEnd\x12\x1b\n\tspent_eur\x18\x03 \x01(\x01R\x08spentEur\x12:\n\x17monthly_spend_limit_eur\x18\x04 \x01(\x01H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x12\x1a\n\x08\x63urrency\x18\x05 \x01(\tR\x08\x63urrency\x12+\n\x11warning_triggered\x18\x06 \x01(\x08R\x10warningTriggered\x12#\n\rlimit_reached\x18\x07 \x01(\x08R\x0climitReachedB\x1a\n\x18_monthly_spend_limit_eur\"W\n\x11GetPricingRequest\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\x42\t\n\x07_app_id\"\x93\x03\n\x0cPricingEntry\x12\x1b\n\trule_type\x18\x01 \x01(\tR\x08ruleType\x12\x19\n\x08rule_key\x18\x02 \x01(\tR\x07ruleKey\x12\x14\n\x05label\x18\x03 \x01(\tR\x05label\x12\x1f\n\x0bgroup_label\x18\x04 \x01(\tR\ngroupLabel\x12\x12\n\x04unit\x18\x05 \x01(\tR\x04unit\x12\"\n\nbase_price\x18\x06 \x01(\x01H\x00R\tbasePrice\x88\x01\x01\x12#\n\nmultiplier\x18\x07 \x01(\x01H\x01R\nmultiplier\x88\x01\x01\x12\x16\n\x06\x63ustom\x18\x08 \x01(\x08R\x06\x63ustom\x12+\n\x0flist_base_price\x18\t \x01(\x01H\x02R\rlistBasePrice\x88\x01\x01\x12,\n\x0flist_multiplier\x18\n \x01(\x01H\x03R\x0elistMultiplier\x88\x01\x01\x42\r\n\x0b_base_priceB\r\n\x0b_multiplierB\x12\n\x10_list_base_priceB\x12\n\x10_list_multiplier\"\x7f\n\x12GetPricingResponse\x12\x15\n\x06\x61pp_id\x18\x01 \x01(\tR\x05\x61ppId\x12\x1a\n\x08\x63urrency\x18\x02 \x01(\tR\x08\x63urrency\x12\x36\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x1c.transcodely.v1.PricingEntryR\x07\x65ntries*q\n\tAppStatus\x12\x1a\n\x16\x41PP_STATUS_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41PP_STATUS_ACTIVE\x10\x01\x12\x17\n\x13\x41PP_STATUS_ARCHIVED\x10\x02\x12\x18\n\x14\x41PP_STATUS_SUSPENDED\x10\x03\x32\xd3\x07\n\nAppService\x12M\n\x06\x43reate\x12 .transcodely.v1.CreateAppRequest\x1a!.transcodely.v1.CreateAppResponse\x12\x44\n\x03Get\x12\x1d.transcodely.v1.GetAppRequest\x1a\x1e.transcodely.v1.GetAppResponse\x12M\n\x06Update\x12 .transcodely.v1.UpdateAppRequest\x1a!.transcodely.v1.UpdateAppResponse\x12I\n\x04List\x12\x1f.transcodely.v1.ListAppsRequest\x1a .transcodely.v1.ListAppsResponse\x12P\n\x07\x41rchive\x12!.transcodely.v1.ArchiveAppRequest\x1a\".transcodely.v1.ArchiveAppResponse\x12\\\n\rEnableHosting\x12$.transcodely.v1.EnableHostingRequest\x1a%.transcodely.v1.EnableHostingResponse\x12n\n\x13UpdateHostingConfig\x12*.transcodely.v1.UpdateHostingConfigRequest\x1a+.transcodely.v1.UpdateHostingConfigResponse\x12k\n\x12UpdatePlayerConfig\x12).transcodely.v1.UpdatePlayerConfigRequest\x1a*.transcodely.v1.UpdatePlayerConfigResponse\x12\x65\n\x10UpdateSpendLimit\x12\'.transcodely.v1.UpdateSpendLimitRequest\x1a(.transcodely.v1.UpdateSpendLimitResponse\x12M\n\x08GetSpend\x12\x1f.transcodely.v1.GetSpendRequest\x1a .transcodely.v1.GetSpendResponse\x12S\n\nGetPricing\x12!.transcodely.v1.GetPricingRequest\x1a\".transcodely.v1.GetPricingResponseb\x06proto3')
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18transcodely/v1/app.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1btranscodely/v1/common.proto\x1a\x1etranscodely/v1/subtitles.proto\"\xf2\x07\n\x03\x41pp\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x31\n\x06status\x18\x06 \x01(\x0e\x32\x19.transcodely.v1.AppStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n\x0b\x61rchived_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\narchivedAt\x88\x01\x01\x12,\n\x0fhosting_enabled\x18\n \x01(\x08H\x02R\x0ehostingEnabled\x88\x01\x01\x12*\n\x0ehosting_status\x18\x0b \x01(\tH\x03R\rhostingStatus\x88\x01\x01\x12&\n\x0c\x63\x64n_hostname\x18\x0c \x01(\tH\x04R\x0b\x63\x64nHostname\x88\x01\x01\x12I\n\x0ehosting_config\x18\r \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigH\x05R\rhostingConfig\x88\x01\x01\x12\x16\n\x06object\x18\x0e \x01(\tR\x06object\x12:\n\x17monthly_spend_limit_eur\x18\x0f \x01(\x01H\x06R\x14monthlySpendLimitEur\x88\x01\x01\x12\x46\n\rplayer_config\x18\x10 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigH\x07R\x0cplayerConfig\x88\x01\x01\x12.\n\x10\x63\x61ption_glossary\x18\x11 \x01(\tH\x08R\x0f\x63\x61ptionGlossary\x88\x01\x01\x12:\n\tcue_style\x18\x12 \x01(\x0b\x32\x18.transcodely.v1.CueStyleH\tR\x08\x63ueStyle\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_archived_atB\x12\n\x10_hosting_enabledB\x11\n\x0f_hosting_statusB\x0f\n\r_cdn_hostnameB\x11\n\x0f_hosting_configB\x1a\n\x18_monthly_spend_limit_eurB\x10\n\x0e_player_configB\x13\n\x11_caption_glossaryB\x0c\n\n_cue_styleJ\x04\x08\x05\x10\x06R\x07webhook\"Z\n\x0cPlayerConfig\x12=\n\x08\x63\x61ptions\x18\x01 \x01(\x0b\x32\x1c.transcodely.v1.CaptionStyleH\x00R\x08\x63\x61ptions\x88\x01\x01\x42\x0b\n\t_captions\"\xf0\x02\n\x0c\x43\x61ptionStyle\x12K\n\x10\x62\x61\x63kground_color\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x00R\x0f\x62\x61\x63kgroundColor\x88\x01\x01\x12K\n\x12\x62\x61\x63kground_opacity\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\xf0?)\x00\x00\x00\x00\x00\x00\x00\x00H\x01R\x11\x62\x61\x63kgroundOpacity\x88\x01\x01\x12?\n\ntext_color\x18\x03 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x02R\ttextColor\x88\x01\x01\x12;\n\nfont_scale\x18\x04 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\x00@)\x00\x00\x00\x00\x00\x00\xe0?H\x03R\tfontScale\x88\x01\x01\x42\x13\n\x11_background_colorB\x15\n\x13_background_opacityB\r\n\x0b_text_colorB\r\n\x0b_font_scale\"\x8e\x01\n\x19UpdatePlayerConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x41\n\rplayer_config\x18\x02 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigR\x0cplayerConfig\"C\n\x1aUpdatePlayerConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xfa\x01\n\x10\x43reateAppRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12 \n\x04name\x18\x02 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18<\xc8\x01\x01R\x04name\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x00R\x0b\x64\x65scription\x88\x01\x01\x12*\n\x0e\x65nable_hosting\x18\x05 \x01(\x08H\x01R\renableHosting\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_enable_hostingJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11\x43reateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"?\n\rGetAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"7\n\x0eGetAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xd8\x02\n\x10UpdateAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18<H\x00R\x04name\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x38\n\x10\x63\x61ption_glossary\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\x18\xa0\x1fH\x02R\x0f\x63\x61ptionGlossary\x88\x01\x01\x12:\n\tcue_style\x18\x06 \x01(\x0b\x32\x18.transcodely.v1.CueStyleH\x03R\x08\x63ueStyle\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x13\n\x11_caption_glossaryB\x0c\n\n_cue_styleJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11UpdateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"\xb6\x01\n\x0fListAppsRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12\x41\n\npagination\x18\x02 \x01(\x0b\x32!.transcodely.v1.PaginationRequestR\npagination\x12)\n\x10include_archived\x18\x03 \x01(\x08R\x0fincludeArchived\"\x7f\n\x10ListAppsResponse\x12\'\n\x04\x61pps\x18\x01 \x03(\x0b\x32\x13.transcodely.v1.AppR\x04\x61pps\x12\x42\n\npagination\x18\x02 \x01(\x0b\x32\".transcodely.v1.PaginationResponseR\npagination\"C\n\x11\x41rchiveAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\";\n\x12\x41rchiveAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"F\n\x14\x45nableHostingRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\">\n\x15\x45nableHostingResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xfe\x03\n\rHostingConfig\x12\x32\n\x12\x64\x65\x66\x61ult_visibility\x18\x01 \x01(\tH\x00R\x11\x64\x65\x66\x61ultVisibility\x88\x01\x01\x12\x36\n\x15max_upload_size_bytes\x18\x02 \x01(\x03H\x01R\x12maxUploadSizeBytes\x88\x01\x01\x12\x30\n\x14\x63ors_allowed_origins\x18\x03 \x03(\tR\x12\x63orsAllowedOrigins\x12\\\n\x15\x61uto_profile_defaults\x18\x04 \x01(\x0b\x32#.transcodely.v1.AutoProfileDefaultsH\x02R\x13\x61utoProfileDefaults\x88\x01\x01\x12<\n\x18\x64\x65lete_source_after_days\x18\x05 \x01(\x05H\x03R\x15\x64\x65leteSourceAfterDays\x88\x01\x01\x12\x33\n\x13guide_pages_enabled\x18\x06 \x01(\x08H\x04R\x11guidePagesEnabled\x88\x01\x01\x42\x15\n\x13_default_visibilityB\x18\n\x16_max_upload_size_bytesB\x18\n\x16_auto_profile_defaultsB\x1b\n\x19_delete_source_after_daysB\x16\n\x14_guide_pages_enabled\"\x96\x02\n\x13\x41utoProfileDefaults\x12\x1b\n\x06\x66ormat\x18\x01 \x01(\tH\x00R\x06\x66ormat\x88\x01\x01\x12\x19\n\x05\x63odec\x18\x02 \x01(\tH\x01R\x05\x63odec\x88\x01\x01\x12*\n\x0emax_resolution\x18\x03 \x01(\tH\x02R\rmaxResolution\x88\x01\x01\x12&\n\x0cquality_tier\x18\x04 \x01(\tH\x03R\x0bqualityTier\x88\x01\x01\x12(\n\rencoding_mode\x18\x05 \x01(\tH\x04R\x0c\x65ncodingMode\x88\x01\x01\x42\t\n\x07_formatB\x08\n\x06_codecB\x11\n\x0f_max_resolutionB\x0f\n\r_quality_tierB\x10\n\x0e_encoding_mode\"\x92\x01\n\x1aUpdateHostingConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x44\n\x0ehosting_config\x18\x02 \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigR\rhostingConfig\"D\n\x1bUpdateHostingConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xc1\x01\n\x17UpdateSpendLimitRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\x12S\n\x17monthly_spend_limit_eur\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x85\xeb\xff\x1f_\xa0\x02\x42!\x00\x00\x00\x00\x00\x00\x00\x00H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x42\x1a\n\x18_monthly_spend_limit_eur\"A\n\x18UpdateSpendLimitResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"H\n\x0fGetSpendRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\"\xef\x02\n\x10GetSpendResponse\x12=\n\x0cperiod_start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEnd\x12\x1b\n\tspent_eur\x18\x03 \x01(\x01R\x08spentEur\x12:\n\x17monthly_spend_limit_eur\x18\x04 \x01(\x01H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x12\x1a\n\x08\x63urrency\x18\x05 \x01(\tR\x08\x63urrency\x12+\n\x11warning_triggered\x18\x06 \x01(\x08R\x10warningTriggered\x12#\n\rlimit_reached\x18\x07 \x01(\x08R\x0climitReachedB\x1a\n\x18_monthly_spend_limit_eur\"W\n\x11GetPricingRequest\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\x42\t\n\x07_app_id\"\x93\x03\n\x0cPricingEntry\x12\x1b\n\trule_type\x18\x01 \x01(\tR\x08ruleType\x12\x19\n\x08rule_key\x18\x02 \x01(\tR\x07ruleKey\x12\x14\n\x05label\x18\x03 \x01(\tR\x05label\x12\x1f\n\x0bgroup_label\x18\x04 \x01(\tR\ngroupLabel\x12\x12\n\x04unit\x18\x05 \x01(\tR\x04unit\x12\"\n\nbase_price\x18\x06 \x01(\x01H\x00R\tbasePrice\x88\x01\x01\x12#\n\nmultiplier\x18\x07 \x01(\x01H\x01R\nmultiplier\x88\x01\x01\x12\x16\n\x06\x63ustom\x18\x08 \x01(\x08R\x06\x63ustom\x12+\n\x0flist_base_price\x18\t \x01(\x01H\x02R\rlistBasePrice\x88\x01\x01\x12,\n\x0flist_multiplier\x18\n \x01(\x01H\x03R\x0elistMultiplier\x88\x01\x01\x42\r\n\x0b_base_priceB\r\n\x0b_multiplierB\x12\n\x10_list_base_priceB\x12\n\x10_list_multiplier\"\x7f\n\x12GetPricingResponse\x12\x15\n\x06\x61pp_id\x18\x01 \x01(\tR\x05\x61ppId\x12\x1a\n\x08\x63urrency\x18\x02 \x01(\tR\x08\x63urrency\x12\x36\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x1c.transcodely.v1.PricingEntryR\x07\x65ntries*q\n\tAppStatus\x12\x1a\n\x16\x41PP_STATUS_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41PP_STATUS_ACTIVE\x10\x01\x12\x17\n\x13\x41PP_STATUS_ARCHIVED\x10\x02\x12\x18\n\x14\x41PP_STATUS_SUSPENDED\x10\x03\x32\xd3\x07\n\nAppService\x12M\n\x06\x43reate\x12 .transcodely.v1.CreateAppRequest\x1a!.transcodely.v1.CreateAppResponse\x12\x44\n\x03Get\x12\x1d.transcodely.v1.GetAppRequest\x1a\x1e.transcodely.v1.GetAppResponse\x12M\n\x06Update\x12 .transcodely.v1.UpdateAppRequest\x1a!.transcodely.v1.UpdateAppResponse\x12I\n\x04List\x12\x1f.transcodely.v1.ListAppsRequest\x1a .transcodely.v1.ListAppsResponse\x12P\n\x07\x41rchive\x12!.transcodely.v1.ArchiveAppRequest\x1a\".transcodely.v1.ArchiveAppResponse\x12\\\n\rEnableHosting\x12$.transcodely.v1.EnableHostingRequest\x1a%.transcodely.v1.EnableHostingResponse\x12n\n\x13UpdateHostingConfig\x12*.transcodely.v1.UpdateHostingConfigRequest\x1a+.transcodely.v1.UpdateHostingConfigResponse\x12k\n\x12UpdatePlayerConfig\x12).transcodely.v1.UpdatePlayerConfigRequest\x1a*.transcodely.v1.UpdatePlayerConfigResponse\x12\x65\n\x10UpdateSpendLimit\x12\'.transcodely.v1.UpdateSpendLimitRequest\x1a(.transcodely.v1.UpdateSpendLimitResponse\x12M\n\x08GetSpend\x12\x1f.transcodely.v1.GetSpendRequest\x1a .transcodely.v1.GetSpendResponse\x12S\n\nGetPricing\x12!.transcodely.v1.GetPricingRequest\x1a\".transcodely.v1.GetPricingResponseb\x06proto3')
31
32
 
32
33
  _globals = globals()
33
34
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -76,64 +77,64 @@ if not _descriptor._USE_C_DESCRIPTORS:
76
77
  _globals['_GETSPENDREQUEST'].fields_by_name['app_id']._serialized_options = b'\272H\033r\0262\024^app_[a-zA-Z0-9_-]+$\310\001\001'
77
78
  _globals['_GETPRICINGREQUEST'].fields_by_name['app_id']._loaded_options = None
78
79
  _globals['_GETPRICINGREQUEST'].fields_by_name['app_id']._serialized_options = b'\272H\030r\0262\024^app_[a-zA-Z0-9_-]+$'
79
- _globals['_APPSTATUS']._serialized_start=5487
80
- _globals['_APPSTATUS']._serialized_end=5600
81
- _globals['_APP']._serialized_start=136
82
- _globals['_APP']._serialized_end=1072
83
- _globals['_PLAYERCONFIG']._serialized_start=1074
84
- _globals['_PLAYERCONFIG']._serialized_end=1164
85
- _globals['_CAPTIONSTYLE']._serialized_start=1167
86
- _globals['_CAPTIONSTYLE']._serialized_end=1535
87
- _globals['_UPDATEPLAYERCONFIGREQUEST']._serialized_start=1538
88
- _globals['_UPDATEPLAYERCONFIGREQUEST']._serialized_end=1680
89
- _globals['_UPDATEPLAYERCONFIGRESPONSE']._serialized_start=1682
90
- _globals['_UPDATEPLAYERCONFIGRESPONSE']._serialized_end=1749
91
- _globals['_CREATEAPPREQUEST']._serialized_start=1752
92
- _globals['_CREATEAPPREQUEST']._serialized_end=2002
93
- _globals['_CREATEAPPRESPONSE']._serialized_start=2004
94
- _globals['_CREATEAPPRESPONSE']._serialized_end=2084
95
- _globals['_GETAPPREQUEST']._serialized_start=2086
96
- _globals['_GETAPPREQUEST']._serialized_end=2149
97
- _globals['_GETAPPRESPONSE']._serialized_start=2151
98
- _globals['_GETAPPRESPONSE']._serialized_end=2206
99
- _globals['_UPDATEAPPREQUEST']._serialized_start=2209
100
- _globals['_UPDATEAPPREQUEST']._serialized_end=2479
101
- _globals['_UPDATEAPPRESPONSE']._serialized_start=2481
102
- _globals['_UPDATEAPPRESPONSE']._serialized_end=2561
103
- _globals['_LISTAPPSREQUEST']._serialized_start=2564
104
- _globals['_LISTAPPSREQUEST']._serialized_end=2746
105
- _globals['_LISTAPPSRESPONSE']._serialized_start=2748
106
- _globals['_LISTAPPSRESPONSE']._serialized_end=2875
107
- _globals['_ARCHIVEAPPREQUEST']._serialized_start=2877
108
- _globals['_ARCHIVEAPPREQUEST']._serialized_end=2944
109
- _globals['_ARCHIVEAPPRESPONSE']._serialized_start=2946
110
- _globals['_ARCHIVEAPPRESPONSE']._serialized_end=3005
111
- _globals['_ENABLEHOSTINGREQUEST']._serialized_start=3007
112
- _globals['_ENABLEHOSTINGREQUEST']._serialized_end=3077
113
- _globals['_ENABLEHOSTINGRESPONSE']._serialized_start=3079
114
- _globals['_ENABLEHOSTINGRESPONSE']._serialized_end=3141
115
- _globals['_HOSTINGCONFIG']._serialized_start=3144
116
- _globals['_HOSTINGCONFIG']._serialized_end=3654
117
- _globals['_AUTOPROFILEDEFAULTS']._serialized_start=3657
118
- _globals['_AUTOPROFILEDEFAULTS']._serialized_end=3935
119
- _globals['_UPDATEHOSTINGCONFIGREQUEST']._serialized_start=3938
120
- _globals['_UPDATEHOSTINGCONFIGREQUEST']._serialized_end=4084
121
- _globals['_UPDATEHOSTINGCONFIGRESPONSE']._serialized_start=4086
122
- _globals['_UPDATEHOSTINGCONFIGRESPONSE']._serialized_end=4154
123
- _globals['_UPDATESPENDLIMITREQUEST']._serialized_start=4157
124
- _globals['_UPDATESPENDLIMITREQUEST']._serialized_end=4350
125
- _globals['_UPDATESPENDLIMITRESPONSE']._serialized_start=4352
126
- _globals['_UPDATESPENDLIMITRESPONSE']._serialized_end=4417
127
- _globals['_GETSPENDREQUEST']._serialized_start=4419
128
- _globals['_GETSPENDREQUEST']._serialized_end=4491
129
- _globals['_GETSPENDRESPONSE']._serialized_start=4494
130
- _globals['_GETSPENDRESPONSE']._serialized_end=4861
131
- _globals['_GETPRICINGREQUEST']._serialized_start=4863
132
- _globals['_GETPRICINGREQUEST']._serialized_end=4950
133
- _globals['_PRICINGENTRY']._serialized_start=4953
134
- _globals['_PRICINGENTRY']._serialized_end=5356
135
- _globals['_GETPRICINGRESPONSE']._serialized_start=5358
136
- _globals['_GETPRICINGRESPONSE']._serialized_end=5485
137
- _globals['_APPSERVICE']._serialized_start=5603
138
- _globals['_APPSERVICE']._serialized_end=6582
80
+ _globals['_APPSTATUS']._serialized_start=5667
81
+ _globals['_APPSTATUS']._serialized_end=5780
82
+ _globals['_APP']._serialized_start=168
83
+ _globals['_APP']._serialized_end=1178
84
+ _globals['_PLAYERCONFIG']._serialized_start=1180
85
+ _globals['_PLAYERCONFIG']._serialized_end=1270
86
+ _globals['_CAPTIONSTYLE']._serialized_start=1273
87
+ _globals['_CAPTIONSTYLE']._serialized_end=1641
88
+ _globals['_UPDATEPLAYERCONFIGREQUEST']._serialized_start=1644
89
+ _globals['_UPDATEPLAYERCONFIGREQUEST']._serialized_end=1786
90
+ _globals['_UPDATEPLAYERCONFIGRESPONSE']._serialized_start=1788
91
+ _globals['_UPDATEPLAYERCONFIGRESPONSE']._serialized_end=1855
92
+ _globals['_CREATEAPPREQUEST']._serialized_start=1858
93
+ _globals['_CREATEAPPREQUEST']._serialized_end=2108
94
+ _globals['_CREATEAPPRESPONSE']._serialized_start=2110
95
+ _globals['_CREATEAPPRESPONSE']._serialized_end=2190
96
+ _globals['_GETAPPREQUEST']._serialized_start=2192
97
+ _globals['_GETAPPREQUEST']._serialized_end=2255
98
+ _globals['_GETAPPRESPONSE']._serialized_start=2257
99
+ _globals['_GETAPPRESPONSE']._serialized_end=2312
100
+ _globals['_UPDATEAPPREQUEST']._serialized_start=2315
101
+ _globals['_UPDATEAPPREQUEST']._serialized_end=2659
102
+ _globals['_UPDATEAPPRESPONSE']._serialized_start=2661
103
+ _globals['_UPDATEAPPRESPONSE']._serialized_end=2741
104
+ _globals['_LISTAPPSREQUEST']._serialized_start=2744
105
+ _globals['_LISTAPPSREQUEST']._serialized_end=2926
106
+ _globals['_LISTAPPSRESPONSE']._serialized_start=2928
107
+ _globals['_LISTAPPSRESPONSE']._serialized_end=3055
108
+ _globals['_ARCHIVEAPPREQUEST']._serialized_start=3057
109
+ _globals['_ARCHIVEAPPREQUEST']._serialized_end=3124
110
+ _globals['_ARCHIVEAPPRESPONSE']._serialized_start=3126
111
+ _globals['_ARCHIVEAPPRESPONSE']._serialized_end=3185
112
+ _globals['_ENABLEHOSTINGREQUEST']._serialized_start=3187
113
+ _globals['_ENABLEHOSTINGREQUEST']._serialized_end=3257
114
+ _globals['_ENABLEHOSTINGRESPONSE']._serialized_start=3259
115
+ _globals['_ENABLEHOSTINGRESPONSE']._serialized_end=3321
116
+ _globals['_HOSTINGCONFIG']._serialized_start=3324
117
+ _globals['_HOSTINGCONFIG']._serialized_end=3834
118
+ _globals['_AUTOPROFILEDEFAULTS']._serialized_start=3837
119
+ _globals['_AUTOPROFILEDEFAULTS']._serialized_end=4115
120
+ _globals['_UPDATEHOSTINGCONFIGREQUEST']._serialized_start=4118
121
+ _globals['_UPDATEHOSTINGCONFIGREQUEST']._serialized_end=4264
122
+ _globals['_UPDATEHOSTINGCONFIGRESPONSE']._serialized_start=4266
123
+ _globals['_UPDATEHOSTINGCONFIGRESPONSE']._serialized_end=4334
124
+ _globals['_UPDATESPENDLIMITREQUEST']._serialized_start=4337
125
+ _globals['_UPDATESPENDLIMITREQUEST']._serialized_end=4530
126
+ _globals['_UPDATESPENDLIMITRESPONSE']._serialized_start=4532
127
+ _globals['_UPDATESPENDLIMITRESPONSE']._serialized_end=4597
128
+ _globals['_GETSPENDREQUEST']._serialized_start=4599
129
+ _globals['_GETSPENDREQUEST']._serialized_end=4671
130
+ _globals['_GETSPENDRESPONSE']._serialized_start=4674
131
+ _globals['_GETSPENDRESPONSE']._serialized_end=5041
132
+ _globals['_GETPRICINGREQUEST']._serialized_start=5043
133
+ _globals['_GETPRICINGREQUEST']._serialized_end=5130
134
+ _globals['_PRICINGENTRY']._serialized_start=5133
135
+ _globals['_PRICINGENTRY']._serialized_end=5536
136
+ _globals['_GETPRICINGRESPONSE']._serialized_start=5538
137
+ _globals['_GETPRICINGRESPONSE']._serialized_end=5665
138
+ _globals['_APPSERVICE']._serialized_start=5783
139
+ _globals['_APPSERVICE']._serialized_end=6762
139
140
  # @@protoc_insertion_point(module_scope)
@@ -1,6 +1,7 @@
1
1
  from buf.validate import validate_pb2 as _validate_pb2
2
2
  from google.protobuf import timestamp_pb2 as _timestamp_pb2
3
3
  from transcodely.v1 import common_pb2 as _common_pb2
4
+ from transcodely.v1 import subtitles_pb2 as _subtitles_pb2
4
5
  from google.protobuf.internal import containers as _containers
5
6
  from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
6
7
  from google.protobuf import descriptor as _descriptor
@@ -21,7 +22,7 @@ APP_STATUS_ARCHIVED: AppStatus
21
22
  APP_STATUS_SUSPENDED: AppStatus
22
23
 
23
24
  class App(_message.Message):
24
- __slots__ = ("id", "org_id", "name", "description", "status", "created_at", "updated_at", "archived_at", "hosting_enabled", "hosting_status", "cdn_hostname", "hosting_config", "object", "monthly_spend_limit_eur", "player_config", "caption_glossary")
25
+ __slots__ = ("id", "org_id", "name", "description", "status", "created_at", "updated_at", "archived_at", "hosting_enabled", "hosting_status", "cdn_hostname", "hosting_config", "object", "monthly_spend_limit_eur", "player_config", "caption_glossary", "cue_style")
25
26
  ID_FIELD_NUMBER: _ClassVar[int]
26
27
  ORG_ID_FIELD_NUMBER: _ClassVar[int]
27
28
  NAME_FIELD_NUMBER: _ClassVar[int]
@@ -38,6 +39,7 @@ class App(_message.Message):
38
39
  MONTHLY_SPEND_LIMIT_EUR_FIELD_NUMBER: _ClassVar[int]
39
40
  PLAYER_CONFIG_FIELD_NUMBER: _ClassVar[int]
40
41
  CAPTION_GLOSSARY_FIELD_NUMBER: _ClassVar[int]
42
+ CUE_STYLE_FIELD_NUMBER: _ClassVar[int]
41
43
  id: str
42
44
  org_id: str
43
45
  name: str
@@ -54,7 +56,8 @@ class App(_message.Message):
54
56
  monthly_spend_limit_eur: float
55
57
  player_config: PlayerConfig
56
58
  caption_glossary: str
57
- def __init__(self, id: _Optional[str] = ..., org_id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., status: _Optional[_Union[AppStatus, str]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., archived_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., hosting_enabled: bool = ..., hosting_status: _Optional[str] = ..., cdn_hostname: _Optional[str] = ..., hosting_config: _Optional[_Union[HostingConfig, _Mapping]] = ..., object: _Optional[str] = ..., monthly_spend_limit_eur: _Optional[float] = ..., player_config: _Optional[_Union[PlayerConfig, _Mapping]] = ..., caption_glossary: _Optional[str] = ...) -> None: ...
59
+ cue_style: _subtitles_pb2.CueStyle
60
+ def __init__(self, id: _Optional[str] = ..., org_id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., status: _Optional[_Union[AppStatus, str]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., archived_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., hosting_enabled: bool = ..., hosting_status: _Optional[str] = ..., cdn_hostname: _Optional[str] = ..., hosting_config: _Optional[_Union[HostingConfig, _Mapping]] = ..., object: _Optional[str] = ..., monthly_spend_limit_eur: _Optional[float] = ..., player_config: _Optional[_Union[PlayerConfig, _Mapping]] = ..., caption_glossary: _Optional[str] = ..., cue_style: _Optional[_Union[_subtitles_pb2.CueStyle, _Mapping]] = ...) -> None: ...
58
61
 
59
62
  class PlayerConfig(_message.Message):
60
63
  __slots__ = ("captions",)
@@ -119,16 +122,18 @@ class GetAppResponse(_message.Message):
119
122
  def __init__(self, app: _Optional[_Union[App, _Mapping]] = ...) -> None: ...
120
123
 
121
124
  class UpdateAppRequest(_message.Message):
122
- __slots__ = ("id", "name", "description", "caption_glossary")
125
+ __slots__ = ("id", "name", "description", "caption_glossary", "cue_style")
123
126
  ID_FIELD_NUMBER: _ClassVar[int]
124
127
  NAME_FIELD_NUMBER: _ClassVar[int]
125
128
  DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
126
129
  CAPTION_GLOSSARY_FIELD_NUMBER: _ClassVar[int]
130
+ CUE_STYLE_FIELD_NUMBER: _ClassVar[int]
127
131
  id: str
128
132
  name: str
129
133
  description: str
130
134
  caption_glossary: str
131
- def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., caption_glossary: _Optional[str] = ...) -> None: ...
135
+ cue_style: _subtitles_pb2.CueStyle
136
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., caption_glossary: _Optional[str] = ..., cue_style: _Optional[_Union[_subtitles_pb2.CueStyle, _Mapping]] = ...) -> None: ...
132
137
 
133
138
  class UpdateAppResponse(_message.Message):
134
139
  __slots__ = ("app",)
@@ -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\"\xa0\x08\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\x1f\xbaH\x1cr\x1a\x18@2\x16^[^,=\"\\x00-\\x1f\\x7f]*$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\x08insights\x12>\n\x0ctranslations\x18\x0f \x03(\tB\x1a\xbaH\x17\x92\x01\x14\x10\n\x18\x01\"\x0er\x0c\x32\n^[a-z]{3}$R\x0ctranslationsB\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\"\x8f\x01\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\x12)\n\x08glossary\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xa0\x1fH\x01R\x08glossary\x88\x01\x01\x42\x07\n\x05_hintB\x0b\n\t_glossary\"\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\"\xe4\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\x0ftranscriptStyle\x12\'\n\x0ftranslated_from\x18\x0f \x01(\tR\x0etranslatedFromB\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\"\xe2\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\x1a\n\x08glossary\x18\x1c \x01(\tR\x08glossary\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\x12\'\n\x0ftranslated_from\x18\x1d \x01(\tR\x0etranslatedFromB\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')
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\"\xd7\x08\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\x1f\xbaH\x1cr\x1a\x18@2\x16^[^,=\"\\x00-\\x1f\\x7f]*$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\x08insights\x12>\n\x0ctranslations\x18\x0f \x03(\tB\x1a\xbaH\x17\x92\x01\x14\x10\n\x18\x01\"\x0er\x0c\x32\n^[a-z]{3}$R\x0ctranslations\x12\x35\n\tcue_style\x18\x10 \x01(\x0b\x32\x18.transcodely.v1.CueStyleR\x08\x63ueStyleB\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\"\xc6\x02\n\x08\x43ueStyle\x12G\n\x06preset\x18\x01 \x01(\x0e\x32\x1e.transcodely.v1.CueStylePresetB\n\xbaH\x07\x82\x01\x04\x10\x01 \x00H\x00R\x06preset\x88\x01\x01\x12;\n\x12max_chars_per_line\x18\x02 \x01(\rB\t\xbaH\x06*\x04\x18<(\x14H\x01R\x0fmaxCharsPerLine\x88\x01\x01\x12+\n\tmax_lines\x18\x03 \x01(\rB\t\xbaH\x06*\x04\x18\x03(\x01H\x02R\x08maxLines\x88\x01\x01\x12?\n\x13max_cue_duration_ms\x18\x04 \x01(\rB\x0b\xbaH\x08*\x06\x18\x90N(\xd0\x0fH\x03R\x10maxCueDurationMs\x88\x01\x01\x42\t\n\x07_presetB\x15\n\x13_max_chars_per_lineB\x0c\n\n_max_linesB\x16\n\x14_max_cue_duration_ms\"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\"\x8f\x01\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\x12)\n\x08glossary\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xa0\x1fH\x01R\x08glossary\x88\x01\x01\x42\x07\n\x05_hintB\x0b\n\t_glossary\"\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\"\xe4\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\x0ftranscriptStyle\x12\'\n\x0ftranslated_from\x18\x0f \x01(\tR\x0etranslatedFromB\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\"\xf9\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\x1a\n\x08glossary\x18\x1c \x01(\tR\x08glossary\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\x12\'\n\x0ftranslated_from\x18\x1d \x01(\tR\x0etranslatedFrom\x12\x15\n\x06job_id\x18\x1e \x01(\tR\x05jobIdB\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*\x8a\x01\n\x0e\x43ueStylePreset\x12 \n\x1c\x43UE_STYLE_PRESET_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x43UE_STYLE_PRESET_COMPACT\x10\x01\x12\x1d\n\x19\x43UE_STYLE_PRESET_STANDARD\x10\x02\x12\x19\n\x15\x43UE_STYLE_PRESET_LONG\x10\x03*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)
@@ -63,46 +63,58 @@ if not _descriptor._USE_C_DESCRIPTORS:
63
63
  _globals['_SUBTITLETRACK'].fields_by_name['generate_chapters']._serialized_options = b'\030\001'
64
64
  _globals['_SUBTITLETRACK'].fields_by_name['translations']._loaded_options = None
65
65
  _globals['_SUBTITLETRACK'].fields_by_name['translations']._serialized_options = b'\272H\027\222\001\024\020\n\030\001\"\016r\0142\n^[a-z]{3}$'
66
+ _globals['_CUESTYLE'].fields_by_name['preset']._loaded_options = None
67
+ _globals['_CUESTYLE'].fields_by_name['preset']._serialized_options = b'\272H\007\202\001\004\020\001 \000'
68
+ _globals['_CUESTYLE'].fields_by_name['max_chars_per_line']._loaded_options = None
69
+ _globals['_CUESTYLE'].fields_by_name['max_chars_per_line']._serialized_options = b'\272H\006*\004\030<(\024'
70
+ _globals['_CUESTYLE'].fields_by_name['max_lines']._loaded_options = None
71
+ _globals['_CUESTYLE'].fields_by_name['max_lines']._serialized_options = b'\272H\006*\004\030\003(\001'
72
+ _globals['_CUESTYLE'].fields_by_name['max_cue_duration_ms']._loaded_options = None
73
+ _globals['_CUESTYLE'].fields_by_name['max_cue_duration_ms']._serialized_options = b'\272H\010*\006\030\220N(\320\017'
66
74
  _globals['_TRANSCRIPTOPTIONS'].fields_by_name['style']._loaded_options = None
67
75
  _globals['_TRANSCRIPTOPTIONS'].fields_by_name['style']._serialized_options = b'\272H\005\202\001\002\020\001'
68
76
  _globals['_INSIGHTSOPTIONS'].fields_by_name['hint']._loaded_options = None
69
77
  _globals['_INSIGHTSOPTIONS'].fields_by_name['hint']._serialized_options = b'\272H\005r\003\030\254\002'
70
78
  _globals['_INSIGHTSOPTIONS'].fields_by_name['glossary']._loaded_options = None
71
79
  _globals['_INSIGHTSOPTIONS'].fields_by_name['glossary']._serialized_options = b'\272H\005r\003\030\240\037'
72
- _globals['_SUBTITLEOPERATION']._serialized_start=4679
73
- _globals['_SUBTITLEOPERATION']._serialized_end=4899
74
- _globals['_SUBTITLEFORMAT']._serialized_start=4902
75
- _globals['_SUBTITLEFORMAT']._serialized_end=5055
76
- _globals['_TRANSCRIPTSTYLE']._serialized_start=5057
77
- _globals['_TRANSCRIPTSTYLE']._serialized_end=5166
78
- _globals['_TRANSCRIPTFORMAT']._serialized_start=5169
79
- _globals['_TRANSCRIPTFORMAT']._serialized_end=5303
80
- _globals['_INSIGHTSSOURCE']._serialized_start=5305
81
- _globals['_INSIGHTSSOURCE']._serialized_end=5406
82
- _globals['_INSIGHTSSTATUS']._serialized_start=5409
83
- _globals['_INSIGHTSSTATUS']._serialized_end=5542
80
+ _globals['_SUBTITLEOPERATION']._serialized_start=5086
81
+ _globals['_SUBTITLEOPERATION']._serialized_end=5306
82
+ _globals['_SUBTITLEFORMAT']._serialized_start=5309
83
+ _globals['_SUBTITLEFORMAT']._serialized_end=5462
84
+ _globals['_CUESTYLEPRESET']._serialized_start=5465
85
+ _globals['_CUESTYLEPRESET']._serialized_end=5603
86
+ _globals['_TRANSCRIPTSTYLE']._serialized_start=5605
87
+ _globals['_TRANSCRIPTSTYLE']._serialized_end=5714
88
+ _globals['_TRANSCRIPTFORMAT']._serialized_start=5717
89
+ _globals['_TRANSCRIPTFORMAT']._serialized_end=5851
90
+ _globals['_INSIGHTSSOURCE']._serialized_start=5853
91
+ _globals['_INSIGHTSSOURCE']._serialized_end=5954
92
+ _globals['_INSIGHTSSTATUS']._serialized_start=5957
93
+ _globals['_INSIGHTSSTATUS']._serialized_end=6090
84
94
  _globals['_BURNINSTYLE']._serialized_start=113
85
95
  _globals['_BURNINSTYLE']._serialized_end=573
86
96
  _globals['_SUBTITLETRACK']._serialized_start=576
87
- _globals['_SUBTITLETRACK']._serialized_end=1632
88
- _globals['_TRANSCRIPTOPTIONS']._serialized_start=1634
89
- _globals['_TRANSCRIPTOPTIONS']._serialized_end=1733
90
- _globals['_INSIGHTSOPTIONS']._serialized_start=1736
91
- _globals['_INSIGHTSOPTIONS']._serialized_end=1879
92
- _globals['_TRANSCRIPTRENDITION']._serialized_start=1882
93
- _globals['_TRANSCRIPTRENDITION']._serialized_end=2063
94
- _globals['_CHAPTERPOINT']._serialized_start=2065
95
- _globals['_CHAPTERPOINT']._serialized_end=2171
96
- _globals['_CHAPTERRESULT']._serialized_start=2174
97
- _globals['_CHAPTERRESULT']._serialized_end=2355
98
- _globals['_SUBTITLERESULT']._serialized_start=2358
99
- _globals['_SUBTITLERESULT']._serialized_end=3098
100
- _globals['_INSIGHTSQUESTION']._serialized_start=3100
101
- _globals['_INSIGHTSQUESTION']._serialized_end=3207
102
- _globals['_INSIGHTSTERM']._serialized_start=3209
103
- _globals['_INSIGHTSTERM']._serialized_end=3312
104
- _globals['_INSIGHTSHIGHLIGHT']._serialized_start=3314
105
- _globals['_INSIGHTSHIGHLIGHT']._serialized_end=3423
106
- _globals['_TRANSCRIPTINSIGHTS']._serialized_start=3426
107
- _globals['_TRANSCRIPTINSIGHTS']._serialized_end=4676
97
+ _globals['_SUBTITLETRACK']._serialized_end=1687
98
+ _globals['_CUESTYLE']._serialized_start=1690
99
+ _globals['_CUESTYLE']._serialized_end=2016
100
+ _globals['_TRANSCRIPTOPTIONS']._serialized_start=2018
101
+ _globals['_TRANSCRIPTOPTIONS']._serialized_end=2117
102
+ _globals['_INSIGHTSOPTIONS']._serialized_start=2120
103
+ _globals['_INSIGHTSOPTIONS']._serialized_end=2263
104
+ _globals['_TRANSCRIPTRENDITION']._serialized_start=2266
105
+ _globals['_TRANSCRIPTRENDITION']._serialized_end=2447
106
+ _globals['_CHAPTERPOINT']._serialized_start=2449
107
+ _globals['_CHAPTERPOINT']._serialized_end=2555
108
+ _globals['_CHAPTERRESULT']._serialized_start=2558
109
+ _globals['_CHAPTERRESULT']._serialized_end=2739
110
+ _globals['_SUBTITLERESULT']._serialized_start=2742
111
+ _globals['_SUBTITLERESULT']._serialized_end=3482
112
+ _globals['_INSIGHTSQUESTION']._serialized_start=3484
113
+ _globals['_INSIGHTSQUESTION']._serialized_end=3591
114
+ _globals['_INSIGHTSTERM']._serialized_start=3593
115
+ _globals['_INSIGHTSTERM']._serialized_end=3696
116
+ _globals['_INSIGHTSHIGHLIGHT']._serialized_start=3698
117
+ _globals['_INSIGHTSHIGHLIGHT']._serialized_end=3807
118
+ _globals['_TRANSCRIPTINSIGHTS']._serialized_start=3810
119
+ _globals['_TRANSCRIPTINSIGHTS']._serialized_end=5083
108
120
  # @@protoc_insertion_point(module_scope)
@@ -25,6 +25,13 @@ class SubtitleFormat(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
25
25
  SUBTITLE_FORMAT_TTML: _ClassVar[SubtitleFormat]
26
26
  SUBTITLE_FORMAT_ASS: _ClassVar[SubtitleFormat]
27
27
 
28
+ class CueStylePreset(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
29
+ __slots__ = ()
30
+ CUE_STYLE_PRESET_UNSPECIFIED: _ClassVar[CueStylePreset]
31
+ CUE_STYLE_PRESET_COMPACT: _ClassVar[CueStylePreset]
32
+ CUE_STYLE_PRESET_STANDARD: _ClassVar[CueStylePreset]
33
+ CUE_STYLE_PRESET_LONG: _ClassVar[CueStylePreset]
34
+
28
35
  class TranscriptStyle(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
29
36
  __slots__ = ()
30
37
  TRANSCRIPT_STYLE_UNSPECIFIED: _ClassVar[TranscriptStyle]
@@ -61,6 +68,10 @@ SUBTITLE_FORMAT_SRT: SubtitleFormat
61
68
  SUBTITLE_FORMAT_WEBVTT: SubtitleFormat
62
69
  SUBTITLE_FORMAT_TTML: SubtitleFormat
63
70
  SUBTITLE_FORMAT_ASS: SubtitleFormat
71
+ CUE_STYLE_PRESET_UNSPECIFIED: CueStylePreset
72
+ CUE_STYLE_PRESET_COMPACT: CueStylePreset
73
+ CUE_STYLE_PRESET_STANDARD: CueStylePreset
74
+ CUE_STYLE_PRESET_LONG: CueStylePreset
64
75
  TRANSCRIPT_STYLE_UNSPECIFIED: TranscriptStyle
65
76
  TRANSCRIPT_STYLE_CLEAN: TranscriptStyle
66
77
  TRANSCRIPT_STYLE_LITERAL: TranscriptStyle
@@ -93,7 +104,7 @@ class BurnInStyle(_message.Message):
93
104
  def __init__(self, font_family: _Optional[str] = ..., font_size: _Optional[int] = ..., font_color: _Optional[str] = ..., outline_color: _Optional[str] = ..., outline_width: _Optional[int] = ..., margin_bottom: _Optional[int] = ...) -> None: ...
94
105
 
95
106
  class SubtitleTrack(_message.Message):
96
- __slots__ = ("operation", "source_stream_index", "source_url", "input_format", "output_format", "language", "label", "is_default", "hearing_impaired", "forced", "burn_in_style", "generate_chapters", "transcript", "insights", "translations")
107
+ __slots__ = ("operation", "source_stream_index", "source_url", "input_format", "output_format", "language", "label", "is_default", "hearing_impaired", "forced", "burn_in_style", "generate_chapters", "transcript", "insights", "translations", "cue_style")
97
108
  OPERATION_FIELD_NUMBER: _ClassVar[int]
98
109
  SOURCE_STREAM_INDEX_FIELD_NUMBER: _ClassVar[int]
99
110
  SOURCE_URL_FIELD_NUMBER: _ClassVar[int]
@@ -109,6 +120,7 @@ class SubtitleTrack(_message.Message):
109
120
  TRANSCRIPT_FIELD_NUMBER: _ClassVar[int]
110
121
  INSIGHTS_FIELD_NUMBER: _ClassVar[int]
111
122
  TRANSLATIONS_FIELD_NUMBER: _ClassVar[int]
123
+ CUE_STYLE_FIELD_NUMBER: _ClassVar[int]
112
124
  operation: SubtitleOperation
113
125
  source_stream_index: int
114
126
  source_url: str
@@ -124,7 +136,20 @@ class SubtitleTrack(_message.Message):
124
136
  transcript: TranscriptOptions
125
137
  insights: InsightsOptions
126
138
  translations: _containers.RepeatedScalarFieldContainer[str]
127
- def __init__(self, operation: _Optional[_Union[SubtitleOperation, str]] = ..., source_stream_index: _Optional[int] = ..., source_url: _Optional[str] = ..., input_format: _Optional[_Union[SubtitleFormat, str]] = ..., output_format: _Optional[_Union[SubtitleFormat, str]] = ..., language: _Optional[str] = ..., label: _Optional[str] = ..., is_default: bool = ..., hearing_impaired: bool = ..., forced: bool = ..., burn_in_style: _Optional[_Union[BurnInStyle, _Mapping]] = ..., generate_chapters: bool = ..., transcript: _Optional[_Union[TranscriptOptions, _Mapping]] = ..., insights: _Optional[_Union[InsightsOptions, _Mapping]] = ..., translations: _Optional[_Iterable[str]] = ...) -> None: ...
139
+ cue_style: CueStyle
140
+ def __init__(self, operation: _Optional[_Union[SubtitleOperation, str]] = ..., source_stream_index: _Optional[int] = ..., source_url: _Optional[str] = ..., input_format: _Optional[_Union[SubtitleFormat, str]] = ..., output_format: _Optional[_Union[SubtitleFormat, str]] = ..., language: _Optional[str] = ..., label: _Optional[str] = ..., is_default: bool = ..., hearing_impaired: bool = ..., forced: bool = ..., burn_in_style: _Optional[_Union[BurnInStyle, _Mapping]] = ..., generate_chapters: bool = ..., transcript: _Optional[_Union[TranscriptOptions, _Mapping]] = ..., insights: _Optional[_Union[InsightsOptions, _Mapping]] = ..., translations: _Optional[_Iterable[str]] = ..., cue_style: _Optional[_Union[CueStyle, _Mapping]] = ...) -> None: ...
141
+
142
+ class CueStyle(_message.Message):
143
+ __slots__ = ("preset", "max_chars_per_line", "max_lines", "max_cue_duration_ms")
144
+ PRESET_FIELD_NUMBER: _ClassVar[int]
145
+ MAX_CHARS_PER_LINE_FIELD_NUMBER: _ClassVar[int]
146
+ MAX_LINES_FIELD_NUMBER: _ClassVar[int]
147
+ MAX_CUE_DURATION_MS_FIELD_NUMBER: _ClassVar[int]
148
+ preset: CueStylePreset
149
+ max_chars_per_line: int
150
+ max_lines: int
151
+ max_cue_duration_ms: int
152
+ def __init__(self, preset: _Optional[_Union[CueStylePreset, str]] = ..., max_chars_per_line: _Optional[int] = ..., max_lines: _Optional[int] = ..., max_cue_duration_ms: _Optional[int] = ...) -> None: ...
128
153
 
129
154
  class TranscriptOptions(_message.Message):
130
155
  __slots__ = ("style",)
@@ -243,7 +268,7 @@ class InsightsHighlight(_message.Message):
243
268
  def __init__(self, text: _Optional[str] = ..., start_seconds: _Optional[float] = ..., end_seconds: _Optional[float] = ...) -> None: ...
244
269
 
245
270
  class TranscriptInsights(_message.Message):
246
- __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", "glossary", "id", "source", "video_id", "fee_eur", "translated_from")
271
+ __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", "glossary", "id", "source", "video_id", "fee_eur", "translated_from", "job_id")
247
272
  OUTPUT_ID_FIELD_NUMBER: _ClassVar[int]
248
273
  LANGUAGE_FIELD_NUMBER: _ClassVar[int]
249
274
  STATUS_FIELD_NUMBER: _ClassVar[int]
@@ -273,6 +298,7 @@ class TranscriptInsights(_message.Message):
273
298
  VIDEO_ID_FIELD_NUMBER: _ClassVar[int]
274
299
  FEE_EUR_FIELD_NUMBER: _ClassVar[int]
275
300
  TRANSLATED_FROM_FIELD_NUMBER: _ClassVar[int]
301
+ JOB_ID_FIELD_NUMBER: _ClassVar[int]
276
302
  output_id: str
277
303
  language: str
278
304
  status: InsightsStatus
@@ -302,4 +328,5 @@ class TranscriptInsights(_message.Message):
302
328
  video_id: str
303
329
  fee_eur: float
304
330
  translated_from: str
305
- 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] = ..., glossary: _Optional[str] = ..., id: _Optional[str] = ..., source: _Optional[_Union[InsightsSource, str]] = ..., video_id: _Optional[str] = ..., fee_eur: _Optional[float] = ..., translated_from: _Optional[str] = ...) -> None: ...
331
+ job_id: str
332
+ 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] = ..., glossary: _Optional[str] = ..., id: _Optional[str] = ..., source: _Optional[_Union[InsightsSource, str]] = ..., video_id: _Optional[str] = ..., fee_eur: _Optional[float] = ..., translated_from: _Optional[str] = ..., job_id: _Optional[str] = ...) -> None: ...