transcodely 0.2.0__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.
- buf/__init__.py +0 -0
- buf/validate/__init__.py +0 -0
- buf/validate/validate_pb2.py +469 -0
- buf/validate/validate_pb2.pyi +651 -0
- transcodely/__init__.py +175 -0
- transcodely/_codec/__init__.py +0 -0
- transcodely/_codec/json_codec.py +193 -0
- transcodely/_transport/__init__.py +0 -0
- transcodely/_transport/error_mapping.py +102 -0
- transcodely/_transport/headers.py +31 -0
- transcodely/_transport/transport.py +312 -0
- transcodely/client.py +160 -0
- transcodely/errors.py +115 -0
- transcodely/pagination.py +53 -0
- transcodely/py.typed +0 -0
- transcodely/resources/__init__.py +0 -0
- transcodely/resources/_helpers.py +29 -0
- transcodely/resources/api_keys.py +48 -0
- transcodely/resources/apps.py +59 -0
- transcodely/resources/events.py +118 -0
- transcodely/resources/health.py +19 -0
- transcodely/resources/jobs.py +120 -0
- transcodely/resources/memberships.py +54 -0
- transcodely/resources/organizations.py +73 -0
- transcodely/resources/origins.py +55 -0
- transcodely/resources/presets.py +63 -0
- transcodely/resources/users.py +46 -0
- transcodely/resources/videos.py +114 -0
- transcodely/resources/webhook_endpoints.py +242 -0
- transcodely/streaming.py +47 -0
- transcodely/types.py +570 -0
- transcodely/v1/api_key_pb2.py +69 -0
- transcodely/v1/api_key_pb2.pyi +97 -0
- transcodely/v1/app_pb2.py +107 -0
- transcodely/v1/app_pb2.pyi +219 -0
- transcodely/v1/codec_av1_pb2.py +55 -0
- transcodely/v1/codec_av1_pb2.pyi +34 -0
- transcodely/v1/codec_h264_pb2.py +71 -0
- transcodely/v1/codec_h264_pb2.pyi +44 -0
- transcodely/v1/codec_h265_pb2.py +69 -0
- transcodely/v1/codec_h265_pb2.pyi +42 -0
- transcodely/v1/codec_vp9_pb2.py +57 -0
- transcodely/v1/codec_vp9_pb2.pyi +30 -0
- transcodely/v1/common_pb2.py +67 -0
- transcodely/v1/common_pb2.pyi +171 -0
- transcodely/v1/content_aware_pb2.py +56 -0
- transcodely/v1/content_aware_pb2.pyi +51 -0
- transcodely/v1/drm_pb2.py +65 -0
- transcodely/v1/drm_pb2.pyi +68 -0
- transcodely/v1/hdr_pb2.py +57 -0
- transcodely/v1/hdr_pb2.pyi +64 -0
- transcodely/v1/health_pb2.py +44 -0
- transcodely/v1/health_pb2.pyi +44 -0
- transcodely/v1/job_pb2.py +201 -0
- transcodely/v1/job_pb2.pyi +546 -0
- transcodely/v1/media_pb2.py +43 -0
- transcodely/v1/media_pb2.pyi +100 -0
- transcodely/v1/membership_pb2.py +71 -0
- transcodely/v1/membership_pb2.pyi +122 -0
- transcodely/v1/organization_pb2.py +81 -0
- transcodely/v1/organization_pb2.pyi +121 -0
- transcodely/v1/origin_pb2.py +157 -0
- transcodely/v1/origin_pb2.pyi +317 -0
- transcodely/v1/preset_pb2.py +192 -0
- transcodely/v1/preset_pb2.pyi +290 -0
- transcodely/v1/streaming_pb2.py +59 -0
- transcodely/v1/streaming_pb2.pyi +56 -0
- transcodely/v1/subtitles_pb2.py +69 -0
- transcodely/v1/subtitles_pb2.pyi +75 -0
- transcodely/v1/thumbnails_pb2.py +63 -0
- transcodely/v1/thumbnails_pb2.pyi +74 -0
- transcodely/v1/user_pb2.py +72 -0
- transcodely/v1/user_pb2.pyi +137 -0
- transcodely/v1/video_pb2.py +166 -0
- transcodely/v1/video_pb2.pyi +367 -0
- transcodely/v1/webhook_pb2.py +151 -0
- transcodely/v1/webhook_pb2.pyi +336 -0
- transcodely/version.py +11 -0
- transcodely/webhooks/__init__.py +44 -0
- transcodely/webhooks/construct_event.py +111 -0
- transcodely/webhooks/signature.py +110 -0
- transcodely/webhooks/types.py +115 -0
- transcodely-0.2.0.dist-info/METADATA +349 -0
- transcodely-0.2.0.dist-info/RECORD +86 -0
- transcodely-0.2.0.dist-info/WHEEL +4 -0
- transcodely-0.2.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
3
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class DRMSystem(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
11
|
+
__slots__ = ()
|
|
12
|
+
DRM_SYSTEM_UNSPECIFIED: _ClassVar[DRMSystem]
|
|
13
|
+
DRM_SYSTEM_WIDEVINE: _ClassVar[DRMSystem]
|
|
14
|
+
DRM_SYSTEM_FAIRPLAY: _ClassVar[DRMSystem]
|
|
15
|
+
DRM_SYSTEM_PLAYREADY: _ClassVar[DRMSystem]
|
|
16
|
+
|
|
17
|
+
class EncryptionScheme(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
18
|
+
__slots__ = ()
|
|
19
|
+
ENCRYPTION_SCHEME_UNSPECIFIED: _ClassVar[EncryptionScheme]
|
|
20
|
+
ENCRYPTION_SCHEME_CENC: _ClassVar[EncryptionScheme]
|
|
21
|
+
ENCRYPTION_SCHEME_CBCS: _ClassVar[EncryptionScheme]
|
|
22
|
+
DRM_SYSTEM_UNSPECIFIED: DRMSystem
|
|
23
|
+
DRM_SYSTEM_WIDEVINE: DRMSystem
|
|
24
|
+
DRM_SYSTEM_FAIRPLAY: DRMSystem
|
|
25
|
+
DRM_SYSTEM_PLAYREADY: DRMSystem
|
|
26
|
+
ENCRYPTION_SCHEME_UNSPECIFIED: EncryptionScheme
|
|
27
|
+
ENCRYPTION_SCHEME_CENC: EncryptionScheme
|
|
28
|
+
ENCRYPTION_SCHEME_CBCS: EncryptionScheme
|
|
29
|
+
|
|
30
|
+
class BYOKConfig(_message.Message):
|
|
31
|
+
__slots__ = ("key_id", "key", "pssh_widevine", "pssh_playready", "fairplay_iv", "fairplay_uri")
|
|
32
|
+
KEY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
PSSH_WIDEVINE_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
PSSH_PLAYREADY_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
FAIRPLAY_IV_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
FAIRPLAY_URI_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
key_id: str
|
|
39
|
+
key: str
|
|
40
|
+
pssh_widevine: str
|
|
41
|
+
pssh_playready: str
|
|
42
|
+
fairplay_iv: str
|
|
43
|
+
fairplay_uri: str
|
|
44
|
+
def __init__(self, key_id: _Optional[str] = ..., key: _Optional[str] = ..., pssh_widevine: _Optional[str] = ..., pssh_playready: _Optional[str] = ..., fairplay_iv: _Optional[str] = ..., fairplay_uri: _Optional[str] = ...) -> None: ...
|
|
45
|
+
|
|
46
|
+
class KeyServerConfig(_message.Message):
|
|
47
|
+
__slots__ = ("license_server_url", "auth_token", "content_id")
|
|
48
|
+
LICENSE_SERVER_URL_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
AUTH_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
CONTENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
license_server_url: str
|
|
52
|
+
auth_token: str
|
|
53
|
+
content_id: str
|
|
54
|
+
def __init__(self, license_server_url: _Optional[str] = ..., auth_token: _Optional[str] = ..., content_id: _Optional[str] = ...) -> None: ...
|
|
55
|
+
|
|
56
|
+
class DRMConfig(_message.Message):
|
|
57
|
+
__slots__ = ("systems", "scheme", "byok", "key_server", "clear_lead_seconds")
|
|
58
|
+
SYSTEMS_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
SCHEME_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
BYOK_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
KEY_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
CLEAR_LEAD_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
systems: _containers.RepeatedScalarFieldContainer[DRMSystem]
|
|
64
|
+
scheme: EncryptionScheme
|
|
65
|
+
byok: BYOKConfig
|
|
66
|
+
key_server: KeyServerConfig
|
|
67
|
+
clear_lead_seconds: float
|
|
68
|
+
def __init__(self, systems: _Optional[_Iterable[_Union[DRMSystem, str]]] = ..., scheme: _Optional[_Union[EncryptionScheme, str]] = ..., byok: _Optional[_Union[BYOKConfig, _Mapping]] = ..., key_server: _Optional[_Union[KeyServerConfig, _Mapping]] = ..., clear_lead_seconds: _Optional[float] = ...) -> None: ...
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: transcodely/v1/hdr.proto
|
|
5
|
+
# Protobuf Python Version: 5.28.3
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
28,
|
|
16
|
+
3,
|
|
17
|
+
'',
|
|
18
|
+
'transcodely/v1/hdr.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18transcodely/v1/hdr.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\"\xef\x03\n\tHDRConfig\x12;\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x19.transcodely.v1.HDRFormatB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x06\x66ormat\x12\x38\n\x04mode\x18\x02 \x01(\x0e\x32\x17.transcodely.v1.HDRModeB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x04mode\x12H\n\x0ctone_mapping\x18\x03 \x01(\x0e\x32\x1b.transcodely.v1.ToneMappingB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0btoneMapping\x12\x39\n\x10target_peak_nits\x18\x04 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\x90N(dH\x00R\x0etargetPeakNits\x88\x01\x01\x12\x34\n\x0emaster_display\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x02H\x01R\rmasterDisplay\x88\x01\x01\x12<\n\x13\x63ontent_light_level\x18\x06 \x01(\tB\x07\xbaH\x04r\x02\x18@H\x02R\x11\x63ontentLightLevel\x88\x01\x01\x12&\n\x07rpu_url\x18\x07 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x10H\x03R\x06rpuUrl\x88\x01\x01\x42\x13\n\x11_target_peak_nitsB\x11\n\x0f_master_displayB\x16\n\x14_content_light_levelB\n\n\x08_rpu_url*\xaa\x01\n\tHDRFormat\x12\x1a\n\x16HDR_FORMAT_UNSPECIFIED\x10\x00\x12\x14\n\x10HDR_FORMAT_HDR10\x10\x01\x12\x19\n\x15HDR_FORMAT_HDR10_PLUS\x10\x02\x12\x12\n\x0eHDR_FORMAT_HLG\x10\x03\x12\x1d\n\x19HDR_FORMAT_DOLBY_VISION_5\x10\x04\x12\x1d\n\x19HDR_FORMAT_DOLBY_VISION_8\x10\x05*g\n\x07HDRMode\x12\x18\n\x14HDR_MODE_UNSPECIFIED\x10\x00\x12\x18\n\x14HDR_MODE_PASSTHROUGH\x10\x01\x12\x14\n\x10HDR_MODE_TONEMAP\x10\x02\x12\x12\n\x0eHDR_MODE_FORCE\x10\x03*\x90\x01\n\x0bToneMapping\x12\x1c\n\x18TONE_MAPPING_UNSPECIFIED\x10\x00\x12\x19\n\x15TONE_MAPPING_REINHARD\x10\x01\x12\x16\n\x12TONE_MAPPING_HABLE\x10\x02\x12\x17\n\x13TONE_MAPPING_BT2390\x10\x03\x12\x17\n\x13TONE_MAPPING_MOBIUS\x10\x04\x62\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'transcodely.v1.hdr_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
DESCRIPTOR._loaded_options = None
|
|
35
|
+
_globals['_HDRCONFIG'].fields_by_name['format']._loaded_options = None
|
|
36
|
+
_globals['_HDRCONFIG'].fields_by_name['format']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
37
|
+
_globals['_HDRCONFIG'].fields_by_name['mode']._loaded_options = None
|
|
38
|
+
_globals['_HDRCONFIG'].fields_by_name['mode']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
39
|
+
_globals['_HDRCONFIG'].fields_by_name['tone_mapping']._loaded_options = None
|
|
40
|
+
_globals['_HDRCONFIG'].fields_by_name['tone_mapping']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
41
|
+
_globals['_HDRCONFIG'].fields_by_name['target_peak_nits']._loaded_options = None
|
|
42
|
+
_globals['_HDRCONFIG'].fields_by_name['target_peak_nits']._serialized_options = b'\272H\007\032\005\030\220N(d'
|
|
43
|
+
_globals['_HDRCONFIG'].fields_by_name['master_display']._loaded_options = None
|
|
44
|
+
_globals['_HDRCONFIG'].fields_by_name['master_display']._serialized_options = b'\272H\005r\003\030\200\002'
|
|
45
|
+
_globals['_HDRCONFIG'].fields_by_name['content_light_level']._loaded_options = None
|
|
46
|
+
_globals['_HDRCONFIG'].fields_by_name['content_light_level']._serialized_options = b'\272H\004r\002\030@'
|
|
47
|
+
_globals['_HDRCONFIG'].fields_by_name['rpu_url']._loaded_options = None
|
|
48
|
+
_globals['_HDRCONFIG'].fields_by_name['rpu_url']._serialized_options = b'\272H\005r\003\030\200\020'
|
|
49
|
+
_globals['_HDRFORMAT']._serialized_start=572
|
|
50
|
+
_globals['_HDRFORMAT']._serialized_end=742
|
|
51
|
+
_globals['_HDRMODE']._serialized_start=744
|
|
52
|
+
_globals['_HDRMODE']._serialized_end=847
|
|
53
|
+
_globals['_TONEMAPPING']._serialized_start=850
|
|
54
|
+
_globals['_TONEMAPPING']._serialized_end=994
|
|
55
|
+
_globals['_HDRCONFIG']._serialized_start=74
|
|
56
|
+
_globals['_HDRCONFIG']._serialized_end=569
|
|
57
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class HDRFormat(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
10
|
+
__slots__ = ()
|
|
11
|
+
HDR_FORMAT_UNSPECIFIED: _ClassVar[HDRFormat]
|
|
12
|
+
HDR_FORMAT_HDR10: _ClassVar[HDRFormat]
|
|
13
|
+
HDR_FORMAT_HDR10_PLUS: _ClassVar[HDRFormat]
|
|
14
|
+
HDR_FORMAT_HLG: _ClassVar[HDRFormat]
|
|
15
|
+
HDR_FORMAT_DOLBY_VISION_5: _ClassVar[HDRFormat]
|
|
16
|
+
HDR_FORMAT_DOLBY_VISION_8: _ClassVar[HDRFormat]
|
|
17
|
+
|
|
18
|
+
class HDRMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
19
|
+
__slots__ = ()
|
|
20
|
+
HDR_MODE_UNSPECIFIED: _ClassVar[HDRMode]
|
|
21
|
+
HDR_MODE_PASSTHROUGH: _ClassVar[HDRMode]
|
|
22
|
+
HDR_MODE_TONEMAP: _ClassVar[HDRMode]
|
|
23
|
+
HDR_MODE_FORCE: _ClassVar[HDRMode]
|
|
24
|
+
|
|
25
|
+
class ToneMapping(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
26
|
+
__slots__ = ()
|
|
27
|
+
TONE_MAPPING_UNSPECIFIED: _ClassVar[ToneMapping]
|
|
28
|
+
TONE_MAPPING_REINHARD: _ClassVar[ToneMapping]
|
|
29
|
+
TONE_MAPPING_HABLE: _ClassVar[ToneMapping]
|
|
30
|
+
TONE_MAPPING_BT2390: _ClassVar[ToneMapping]
|
|
31
|
+
TONE_MAPPING_MOBIUS: _ClassVar[ToneMapping]
|
|
32
|
+
HDR_FORMAT_UNSPECIFIED: HDRFormat
|
|
33
|
+
HDR_FORMAT_HDR10: HDRFormat
|
|
34
|
+
HDR_FORMAT_HDR10_PLUS: HDRFormat
|
|
35
|
+
HDR_FORMAT_HLG: HDRFormat
|
|
36
|
+
HDR_FORMAT_DOLBY_VISION_5: HDRFormat
|
|
37
|
+
HDR_FORMAT_DOLBY_VISION_8: HDRFormat
|
|
38
|
+
HDR_MODE_UNSPECIFIED: HDRMode
|
|
39
|
+
HDR_MODE_PASSTHROUGH: HDRMode
|
|
40
|
+
HDR_MODE_TONEMAP: HDRMode
|
|
41
|
+
HDR_MODE_FORCE: HDRMode
|
|
42
|
+
TONE_MAPPING_UNSPECIFIED: ToneMapping
|
|
43
|
+
TONE_MAPPING_REINHARD: ToneMapping
|
|
44
|
+
TONE_MAPPING_HABLE: ToneMapping
|
|
45
|
+
TONE_MAPPING_BT2390: ToneMapping
|
|
46
|
+
TONE_MAPPING_MOBIUS: ToneMapping
|
|
47
|
+
|
|
48
|
+
class HDRConfig(_message.Message):
|
|
49
|
+
__slots__ = ("format", "mode", "tone_mapping", "target_peak_nits", "master_display", "content_light_level", "rpu_url")
|
|
50
|
+
FORMAT_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
MODE_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
TONE_MAPPING_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
TARGET_PEAK_NITS_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
MASTER_DISPLAY_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
CONTENT_LIGHT_LEVEL_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
RPU_URL_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
format: HDRFormat
|
|
58
|
+
mode: HDRMode
|
|
59
|
+
tone_mapping: ToneMapping
|
|
60
|
+
target_peak_nits: int
|
|
61
|
+
master_display: str
|
|
62
|
+
content_light_level: str
|
|
63
|
+
rpu_url: str
|
|
64
|
+
def __init__(self, format: _Optional[_Union[HDRFormat, str]] = ..., mode: _Optional[_Union[HDRMode, str]] = ..., tone_mapping: _Optional[_Union[ToneMapping, str]] = ..., target_peak_nits: _Optional[int] = ..., master_display: _Optional[str] = ..., content_light_level: _Optional[str] = ..., rpu_url: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: transcodely/v1/health.proto
|
|
5
|
+
# Protobuf Python Version: 5.28.3
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
28,
|
|
16
|
+
3,
|
|
17
|
+
'',
|
|
18
|
+
'transcodely/v1/health.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btranscodely/v1/health.proto\x12\x0etranscodely.v1\"?\n\x12HealthCheckRequest\x12\x1d\n\x07service\x18\x01 \x01(\tH\x00R\x07service\x88\x01\x01\x42\n\n\x08_service\"\xa6\x01\n\x13HealthCheckResponse\x12\x34\n\x06status\x18\x01 \x01(\x0e\x32\x1c.transcodely.v1.HealthStatusR\x06status\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12?\n\ncomponents\x18\x03 \x03(\x0b\x32\x1f.transcodely.v1.ComponentHealthR\ncomponents\"\x86\x01\n\x0f\x43omponentHealth\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x34\n\x06status\x18\x02 \x01(\x0e\x32\x1c.transcodely.v1.HealthStatusR\x06status\x12\x1d\n\x07message\x18\x03 \x01(\tH\x00R\x07message\x88\x01\x01\x42\n\n\x08_message*\x81\x01\n\x0cHealthStatus\x12\x1d\n\x19HEALTH_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15HEALTH_STATUS_HEALTHY\x10\x01\x12\x1a\n\x16HEALTH_STATUS_DEGRADED\x10\x02\x12\x1b\n\x17HEALTH_STATUS_UNHEALTHY\x10\x03\x32\x61\n\rHealthService\x12P\n\x05\x43heck\x12\".transcodely.v1.HealthCheckRequest\x1a#.transcodely.v1.HealthCheckResponseb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'transcodely.v1.health_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
DESCRIPTOR._loaded_options = None
|
|
34
|
+
_globals['_HEALTHSTATUS']._serialized_start=419
|
|
35
|
+
_globals['_HEALTHSTATUS']._serialized_end=548
|
|
36
|
+
_globals['_HEALTHCHECKREQUEST']._serialized_start=47
|
|
37
|
+
_globals['_HEALTHCHECKREQUEST']._serialized_end=110
|
|
38
|
+
_globals['_HEALTHCHECKRESPONSE']._serialized_start=113
|
|
39
|
+
_globals['_HEALTHCHECKRESPONSE']._serialized_end=279
|
|
40
|
+
_globals['_COMPONENTHEALTH']._serialized_start=282
|
|
41
|
+
_globals['_COMPONENTHEALTH']._serialized_end=416
|
|
42
|
+
_globals['_HEALTHSERVICE']._serialized_start=550
|
|
43
|
+
_globals['_HEALTHSERVICE']._serialized_end=647
|
|
44
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from google.protobuf.internal import containers as _containers
|
|
2
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class HealthStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
10
|
+
__slots__ = ()
|
|
11
|
+
HEALTH_STATUS_UNSPECIFIED: _ClassVar[HealthStatus]
|
|
12
|
+
HEALTH_STATUS_HEALTHY: _ClassVar[HealthStatus]
|
|
13
|
+
HEALTH_STATUS_DEGRADED: _ClassVar[HealthStatus]
|
|
14
|
+
HEALTH_STATUS_UNHEALTHY: _ClassVar[HealthStatus]
|
|
15
|
+
HEALTH_STATUS_UNSPECIFIED: HealthStatus
|
|
16
|
+
HEALTH_STATUS_HEALTHY: HealthStatus
|
|
17
|
+
HEALTH_STATUS_DEGRADED: HealthStatus
|
|
18
|
+
HEALTH_STATUS_UNHEALTHY: HealthStatus
|
|
19
|
+
|
|
20
|
+
class HealthCheckRequest(_message.Message):
|
|
21
|
+
__slots__ = ("service",)
|
|
22
|
+
SERVICE_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
service: str
|
|
24
|
+
def __init__(self, service: _Optional[str] = ...) -> None: ...
|
|
25
|
+
|
|
26
|
+
class HealthCheckResponse(_message.Message):
|
|
27
|
+
__slots__ = ("status", "version", "components")
|
|
28
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
COMPONENTS_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
status: HealthStatus
|
|
32
|
+
version: str
|
|
33
|
+
components: _containers.RepeatedCompositeFieldContainer[ComponentHealth]
|
|
34
|
+
def __init__(self, status: _Optional[_Union[HealthStatus, str]] = ..., version: _Optional[str] = ..., components: _Optional[_Iterable[_Union[ComponentHealth, _Mapping]]] = ...) -> None: ...
|
|
35
|
+
|
|
36
|
+
class ComponentHealth(_message.Message):
|
|
37
|
+
__slots__ = ("name", "status", "message")
|
|
38
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
name: str
|
|
42
|
+
status: HealthStatus
|
|
43
|
+
message: str
|
|
44
|
+
def __init__(self, name: _Optional[str] = ..., status: _Optional[_Union[HealthStatus, str]] = ..., message: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: transcodely/v1/job.proto
|
|
5
|
+
# Protobuf Python Version: 5.28.3
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
28,
|
|
16
|
+
3,
|
|
17
|
+
'',
|
|
18
|
+
'transcodely/v1/job.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from transcodely.v1 import common_pb2 as transcodely_dot_v1_dot_common__pb2
|
|
28
|
+
from transcodely.v1 import media_pb2 as transcodely_dot_v1_dot_media__pb2
|
|
29
|
+
from transcodely.v1 import codec_h264_pb2 as transcodely_dot_v1_dot_codec__h264__pb2
|
|
30
|
+
from transcodely.v1 import codec_h265_pb2 as transcodely_dot_v1_dot_codec__h265__pb2
|
|
31
|
+
from transcodely.v1 import codec_vp9_pb2 as transcodely_dot_v1_dot_codec__vp9__pb2
|
|
32
|
+
from transcodely.v1 import codec_av1_pb2 as transcodely_dot_v1_dot_codec__av1__pb2
|
|
33
|
+
from transcodely.v1 import origin_pb2 as transcodely_dot_v1_dot_origin__pb2
|
|
34
|
+
from transcodely.v1 import streaming_pb2 as transcodely_dot_v1_dot_streaming__pb2
|
|
35
|
+
from transcodely.v1 import thumbnails_pb2 as transcodely_dot_v1_dot_thumbnails__pb2
|
|
36
|
+
from transcodely.v1 import subtitles_pb2 as transcodely_dot_v1_dot_subtitles__pb2
|
|
37
|
+
from transcodely.v1 import drm_pb2 as transcodely_dot_v1_dot_drm__pb2
|
|
38
|
+
from transcodely.v1 import hdr_pb2 as transcodely_dot_v1_dot_hdr__pb2
|
|
39
|
+
from transcodely.v1 import content_aware_pb2 as transcodely_dot_v1_dot_content__aware__pb2
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18transcodely/v1/job.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1btranscodely/v1/common.proto\x1a\x1atranscodely/v1/media.proto\x1a\x1ftranscodely/v1/codec_h264.proto\x1a\x1ftranscodely/v1/codec_h265.proto\x1a\x1etranscodely/v1/codec_vp9.proto\x1a\x1etranscodely/v1/codec_av1.proto\x1a\x1btranscodely/v1/origin.proto\x1a\x1etranscodely/v1/streaming.proto\x1a\x1ftranscodely/v1/thumbnails.proto\x1a\x1etranscodely/v1/subtitles.proto\x1a\x18transcodely/v1/drm.proto\x1a\x18transcodely/v1/hdr.proto\x1a\"transcodely/v1/content_aware.proto\"\xe9\x01\n\x10\x41udioTrackConfig\x12\x30\n\x08language\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x32\n^[a-z]{3}$\xc8\x01\x01R\x08language\x12\"\n\x05label\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x18@H\x00R\x05label\x88\x01\x01\x12\x31\n\x0csource_track\x18\x03 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x0f(\x00H\x01R\x0bsourceTrack\x88\x01\x01\x12\"\n\nis_default\x18\x04 \x01(\x08H\x02R\tisDefault\x88\x01\x01\x42\x08\n\x06_labelB\x0f\n\r_source_trackB\r\n\x0b_is_default\"\x94\x06\n\x0cVideoVariant\x12=\n\x05\x63odec\x18\x01 \x01(\x0e\x32\x1a.transcodely.v1.VideoCodecB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x05\x63odec\x12\x44\n\nresolution\x18\x02 \x01(\x0e\x32\x1a.transcodely.v1.ResolutionB\x08\xbaH\x05\x82\x01\x02\x10\x01R\nresolution\x12?\n\x07quality\x18\x03 \x01(\x0e\x32\x1b.transcodely.v1.QualityTierB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x07quality\x12-\n\tframerate\x18\x04 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\xf0\x01(\x00H\x00R\tframerate\x88\x01\x01\x12&\n\x05width\x18\x05 \x01(\x05\x42\x0b\xbaH\x08\x1a\x06\x18\x80<(\x80\x01H\x01R\x05width\x88\x01\x01\x12(\n\x06height\x18\x06 \x01(\x05\x42\x0b\xbaH\x08\x1a\x06\x18\xe0!(\x80\x01H\x02R\x06height\x88\x01\x01\x12*\n\x07\x62itrate\x18\x07 \x01(\x05\x42\x0b\xbaH\x08\x1a\x06\x18\x80\xd3\x0e(dH\x03R\x07\x62itrate\x88\x01\x01\x12\x34\n\x04h264\x18\n \x01(\x0b\x32\x1b.transcodely.v1.H264OptionsH\x04R\x04h264\x88\x01\x01\x12\x34\n\x04h265\x18\x0b \x01(\x0b\x32\x1b.transcodely.v1.H265OptionsH\x05R\x04h265\x88\x01\x01\x12\x31\n\x03vp9\x18\x0c \x01(\x0b\x32\x1a.transcodely.v1.VP9OptionsH\x06R\x03vp9\x88\x01\x01\x12\x31\n\x03\x61v1\x18\r \x01(\x0b\x32\x1a.transcodely.v1.AV1OptionsH\x07R\x03\x61v1\x88\x01\x01\x12\x30\n\x03hdr\x18\x0e \x01(\x0b\x32\x19.transcodely.v1.HDRConfigH\x08R\x03hdr\x88\x01\x01\x42\x0c\n\n_framerateB\x08\n\x06_widthB\t\n\x07_heightB\n\n\x08_bitrateB\x07\n\x05_h264B\x07\n\x05_h265B\x06\n\x04_vp9B\x06\n\x04_av1B\x06\n\x04_hdrR\x0ch264_optionsR\x0ch265_optionsR\x0bvp9_optionsR\x0b\x61v1_options\"\xc3\x02\n\tHLSConfig\x12:\n\x08manifest\x18\x01 \x01(\tB\x19\xbaH\x16r\x14\x18@2\x10^[a-zA-Z0-9_-]+$H\x00R\x08manifest\x88\x01\x01\x12Q\n\x0esegment_format\x18\x02 \x01(\x0e\x32 .transcodely.v1.HLSSegmentFormatB\x08\xbaH\x05\x82\x01\x02\x10\x01R\rsegmentFormat\x12N\n\rplaylist_type\x18\x03 \x01(\x0e\x32\x1f.transcodely.v1.HLSPlaylistTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0cplaylistType\x12\x36\n\x0fvariant_pattern\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x01H\x01R\x0evariantPattern\x88\x01\x01\x42\x0b\n\t_manifestB\x12\n\x10_variant_pattern\"U\n\nDASHConfig\x12:\n\x08manifest\x18\x01 \x01(\tB\x19\xbaH\x16r\x14\x18@2\x10^[a-zA-Z0-9_-]+$H\x00R\x08manifest\x88\x01\x01\x42\x0b\n\t_manifest\"\xd1\x01\n\rSegmentConfig\x12*\n\x08\x64uration\x18\x01 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x1e(\x01H\x00R\x08\x64uration\x88\x01\x01\x12O\n\rgop_alignment\x18\x02 \x01(\x0e\x32 .transcodely.v1.GOPAlignmentModeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0cgopAlignment\x12)\n\x08gop_size\x18\x03 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\n(\x01H\x01R\x07gopSize\x88\x01\x01\x42\x0b\n\t_durationB\x0b\n\t_gop_size\"\xeb\x11\n\nOutputSpec\x12:\n\x04type\x18\x01 \x01(\x0e\x32\x1c.transcodely.v1.OutputFormatB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04type\x12<\n\x05video\x18\x02 \x03(\x0b\x32\x1c.transcodely.v1.VideoVariantB\x08\xbaH\x05\x92\x01\x02\x10\x14R\x05video\x12@\n\x05\x61udio\x18\x03 \x03(\x0b\x32 .transcodely.v1.AudioTrackConfigB\x08\xbaH\x05\x92\x01\x02\x10\x08R\x05\x61udio\x12\x30\n\x03hls\x18\x04 \x01(\x0b\x32\x19.transcodely.v1.HLSConfigH\x00R\x03hls\x88\x01\x01\x12\x33\n\x04\x64\x61sh\x18\x05 \x01(\x0b\x32\x1a.transcodely.v1.DASHConfigH\x01R\x04\x64\x61sh\x88\x01\x01\x12>\n\x08segments\x18\x06 \x01(\x0b\x32\x1d.transcodely.v1.SegmentConfigH\x02R\x08segments\x88\x01\x01\x12\xce\x01\n\rpath_template\x18\x07 \x01(\tB\xa3\x01\xbaH\x9f\x01r\x03\x18\x80\x04\xba\x01\x96\x01\n\x1eoutput_spec.path_template_safe\x12\x35path_template must not start with `/` or contain `..`\x1a=this == \'\' || (!this.startsWith(\'/\') && !this.contains(\'..\'))H\x03R\x0cpathTemplate\x88\x01\x01\x12\'\n\x06preset\x18\n \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x01H\x04R\x06preset\x88\x01\x01\x12P\n\x0fsubtitle_tracks\x18\x0b \x03(\x0b\x32\x1d.transcodely.v1.SubtitleTrackB\x08\xbaH\x05\x92\x01\x02\x10\x08R\x0esubtitleTracks\x12\x30\n\x03\x64rm\x18\x0c \x01(\x0b\x32\x19.transcodely.v1.DRMConfigH\x05R\x03\x64rm\x88\x01\x01\x12L\n\rcontent_aware\x18\r \x01(\x0b\x32\".transcodely.v1.ContentAwareConfigH\x06R\x0c\x63ontentAware\x88\x01\x01\x12<\n\rencoding_mode\x18\x0e \x01(\tB\x12\xbaH\x0fr\rR\x05\x66ixedR\x04\x61utoH\x07R\x0c\x65ncodingMode\x88\x01\x01\x12\x45\n\x17\x65\x66\x66\x65\x63tive_path_template\x18\x0f \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x04H\x08R\x15\x65\x66\x66\x65\x63tivePathTemplate\x88\x01\x01\x12(\n\rdisable_audio\x18\x10 \x01(\x08H\tR\x0c\x64isableAudio\x88\x01\x01:\xd2\x08\xbaH\xce\x08\x1a\xaa\x01\n\x1coutput_spec.preset_or_inline\x12Leither preset must be specified, or type with video[] array must be provided\x1a<has(this.preset) || (this.type != 0 && size(this.video) > 0)\x1au\n\x1aoutput_spec.video_required\x12,video[] array must have at least one variant\x1a)has(this.preset) || size(this.video) >= 1\x1a\xb2\x01\n#output_spec.audio_require_streaming\x12>audio is only valid for HLS, DASH, or ADAPTIVE streaming types\x1aKsize(this.audio) == 0 || this.type == 5 || this.type == 6 || this.type == 7\x1a\x85\x01\n\x1boutput_spec.hls_config_type\x12\x32hls config is only valid for HLS or ADAPTIVE types\x1a\x32!has(this.hls) || this.type == 5 || this.type == 7\x1a\x89\x01\n\x1coutput_spec.dash_config_type\x12\x34\x64\x61sh config is only valid for DASH or ADAPTIVE types\x1a\x33!has(this.dash) || this.type == 6 || this.type == 7\x1a\xad\x01\n output_spec.segments_config_type\x12>segments config is only valid for HLS, DASH, or ADAPTIVE types\x1aI!has(this.segments) || this.type == 5 || this.type == 6 || this.type == 7\x1a\xae\x01\n#output_spec.disable_audio_no_tracks\x12=disable_audio cannot be combined with explicit audio[] tracks\x1aH!has(this.disable_audio) || !this.disable_audio || size(this.audio) == 0B\x06\n\x04_hlsB\x07\n\x05_dashB\x0b\n\t_segmentsB\x10\n\x0e_path_templateB\t\n\x07_presetB\x06\n\x04_drmB\x10\n\x0e_content_awareB\x10\n\x0e_encoding_modeB\x1a\n\x18_effective_path_templateB\x10\n\x0e_disable_audioJ\x04\x08\x08\x10\tJ\x04\x08\t\x10\nR\tstreaming\"\xc7\x03\n\x0fPricingSnapshot\x12\x1d\n\nbase_price\x18\x01 \x01(\x01R\tbasePrice\x12)\n\x10\x63odec_multiplier\x18\x02 \x01(\x01R\x0f\x63odecMultiplier\x12\x33\n\x15resolution_multiplier\x18\x03 \x01(\x01R\x14resolutionMultiplier\x12\x31\n\x14\x66ramerate_multiplier\x18\x04 \x01(\x01R\x13\x66ramerateMultiplier\x12-\n\x12quality_multiplier\x18\x05 \x01(\x01R\x11qualityMultiplier\x12\x43\n\x0fresolution_tier\x18\x06 \x01(\x0e\x32\x1a.transcodely.v1.ResolutionR\x0eresolutionTier\x12)\n\x10\x61\x63tual_framerate\x18\x07 \x01(\x01R\x0f\x61\x63tualFramerate\x12$\n\x0bpixel_count\x18\x08 \x01(\x03H\x00R\npixelCount\x88\x01\x01\x12-\n\x12\x66\x65\x61ture_multiplier\x18\t \x01(\x01R\x11\x66\x65\x61tureMultiplierB\x0e\n\x0c_pixel_count\"\x9d\x07\n\x16VariantPricingSnapshot\x12\x14\n\x05index\x18\x01 \x01(\x05R\x05index\x12\x30\n\x05\x63odec\x18\x02 \x01(\x0e\x32\x1a.transcodely.v1.VideoCodecR\x05\x63odec\x12:\n\nresolution\x18\x03 \x01(\x0e\x32\x1a.transcodely.v1.ResolutionR\nresolution\x12\x1c\n\tframerate\x18\x04 \x01(\x05R\tframerate\x12\x35\n\x07quality\x18\x05 \x01(\x0e\x32\x1b.transcodely.v1.QualityTierR\x07quality\x12\x19\n\x05width\x18\x06 \x01(\x05H\x00R\x05width\x88\x01\x01\x12\x1b\n\x06height\x18\x07 \x01(\x05H\x01R\x06height\x88\x01\x01\x12\x1d\n\nbase_price\x18\n \x01(\x01R\tbasePrice\x12)\n\x10\x63odec_multiplier\x18\x0b \x01(\x01R\x0f\x63odecMultiplier\x12\x33\n\x15resolution_multiplier\x18\x0c \x01(\x01R\x14resolutionMultiplier\x12\x31\n\x14\x66ramerate_multiplier\x18\r \x01(\x01R\x13\x66ramerateMultiplier\x12-\n\x12quality_multiplier\x18\x0e \x01(\x01R\x11qualityMultiplier\x12\x43\n\x0fresolution_tier\x18\x0f \x01(\x0e\x32\x1a.transcodely.v1.ResolutionR\x0eresolutionTier\x12)\n\x10\x61\x63tual_framerate\x18\x10 \x01(\x01R\x0f\x61\x63tualFramerate\x12$\n\x0bpixel_count\x18\x11 \x01(\x03H\x02R\npixelCount\x88\x01\x01\x12*\n\x0e\x65stimated_cost\x18\x12 \x01(\x01H\x03R\restimatedCost\x88\x01\x01\x12$\n\x0b\x61\x63tual_cost\x18\x13 \x01(\x01H\x04R\nactualCost\x88\x01\x01\x12\x16\n\x06status\x18\x14 \x01(\tR\x06status\x12\x1a\n\x08progress\x18\x15 \x01(\x05R\x08progress\x12-\n\x12\x66\x65\x61ture_multiplier\x18\x16 \x01(\x01R\x11\x66\x65\x61tureMultiplierB\x08\n\x06_widthB\t\n\x07_heightB\x0e\n\x0c_pixel_countB\x11\n\x0f_estimated_costB\x0e\n\x0c_actual_cost\"\xbb\n\n\tJobOutput\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12.\n\x04spec\x18\x02 \x01(\x0b\x32\x1a.transcodely.v1.OutputSpecR\x04spec\x12\x34\n\x06status\x18\x03 \x01(\x0e\x32\x1c.transcodely.v1.OutputStatusR\x06status\x12\x1a\n\x08progress\x18\x04 \x01(\x05R\x08progress\x12\"\n\noutput_url\x18\x05 \x01(\tH\x00R\toutputUrl\x88\x01\x01\x12/\n\x11output_size_bytes\x18\x06 \x01(\x03H\x01R\x0foutputSizeBytes\x88\x01\x01\x12.\n\x10\x64uration_seconds\x18\x07 \x01(\x03H\x02R\x0f\x64urationSeconds\x88\x01\x01\x12\x39\n\x07pricing\x18\x08 \x01(\x0b\x32\x1f.transcodely.v1.PricingSnapshotR\x07pricing\x12\x41\n\x1a\x65stimated_duration_seconds\x18\t \x01(\x03H\x03R\x18\x65stimatedDurationSeconds\x88\x01\x01\x12*\n\x0e\x65stimated_cost\x18\n \x01(\x01H\x04R\restimatedCost\x88\x01\x01\x12$\n\x0b\x61\x63tual_cost\x18\x0b \x01(\x01H\x05R\nactualCost\x88\x01\x01\x12\"\n\nerror_code\x18\x0c \x01(\tH\x06R\terrorCode\x88\x01\x01\x12(\n\rerror_message\x18\r \x01(\tH\x07R\x0c\x65rrorMessage\x88\x01\x01\x12>\n\nstarted_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x08R\tstartedAt\x88\x01\x01\x12\x42\n\x0c\x63ompleted_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampH\tR\x0b\x63ompletedAt\x88\x01\x01\x12 \n\tpreset_id\x18\x10 \x01(\tH\nR\x08presetId\x88\x01\x01\x12$\n\x0bpreset_slug\x18\x11 \x01(\tH\x0bR\npresetSlug\x88\x01\x01\x12O\n\x0fvariant_pricing\x18\x14 \x03(\x0b\x32&.transcodely.v1.VariantPricingSnapshotR\x0evariantPricing\x12\x16\n\x06object\x18\x15 \x01(\tR\x06object\x12\x19\n\x05width\x18\x16 \x01(\x05H\x0cR\x05width\x88\x01\x01\x12\x1b\n\x06height\x18\x17 \x01(\x05H\rR\x06height\x88\x01\x01\x12\x35\n\x14\x61verage_bitrate_kbps\x18\x18 \x01(\x05H\x0eR\x12\x61verageBitrateKbps\x88\x01\x01\x12L\n\x0fvariant_results\x18\x19 \x03(\x0b\x32#.transcodely.v1.OutputVariantResultR\x0evariantResultsB\r\n\x0b_output_urlB\x14\n\x12_output_size_bytesB\x13\n\x11_duration_secondsB\x1d\n\x1b_estimated_duration_secondsB\x11\n\x0f_estimated_costB\x0e\n\x0c_actual_costB\r\n\x0b_error_codeB\x10\n\x0e_error_messageB\r\n\x0b_started_atB\x0f\n\r_completed_atB\x0c\n\n_preset_idB\x0e\n\x0c_preset_slugB\x08\n\x06_widthB\t\n\x07_heightB\x17\n\x15_average_bitrate_kbps\"\xdc\x01\n\x13OutputVariantResult\x12\x14\n\x05index\x18\x01 \x01(\x05R\x05index\x12\x14\n\x05width\x18\x02 \x01(\x05R\x05width\x12\x16\n\x06height\x18\x03 \x01(\x05R\x06height\x12\x35\n\x14\x61verage_bitrate_kbps\x18\x04 \x01(\x05H\x00R\x12\x61verageBitrateKbps\x88\x01\x01\x12\"\n\nsize_bytes\x18\x05 \x01(\x03H\x01R\tsizeBytes\x88\x01\x01\x42\x17\n\x15_average_bitrate_kbpsB\r\n\x0b_size_bytes\"\x9c\x0c\n\x0f\x45xecutionTiming\x12$\n\x0binstance_id\x18\x01 \x01(\tH\x00R\ninstanceId\x88\x01\x01\x12(\n\rinstance_type\x18\x02 \x01(\tH\x01R\x0cinstanceType\x88\x01\x01\x12\x30\n\x11instance_location\x18\x03 \x01(\tH\x02R\x10instanceLocation\x88\x01\x01\x12\"\n\nvcpu_count\x18\x04 \x01(\x05H\x03R\tvcpuCount\x88\x01\x01\x12 \n\tmemory_mb\x18\x05 \x01(\x05H\x04R\x08memoryMb\x88\x01\x01\x12-\n\x10\x62oot_duration_ms\x18\n \x01(\x03H\x05R\x0e\x62ootDurationMs\x88\x01\x01\x12\x35\n\x14\x64ownload_duration_ms\x18\x0b \x01(\x03H\x06R\x12\x64ownloadDurationMs\x88\x01\x01\x12/\n\x11probe_duration_ms\x18\x0c \x01(\x03H\x07R\x0fprobeDurationMs\x88\x01\x01\x12\x31\n\x12\x65ncode_duration_ms\x18\r \x01(\x03H\x08R\x10\x65ncodeDurationMs\x88\x01\x01\x12\x31\n\x12upload_duration_ms\x18\x0e \x01(\x03H\tR\x10uploadDurationMs\x88\x01\x01\x12\x37\n\x15packaging_duration_ms\x18\x0f \x01(\x03H\nR\x13packagingDurationMs\x88\x01\x01\x12/\n\x11total_duration_ms\x18\x10 \x01(\x03H\x0bR\x0ftotalDurationMs\x88\x01\x01\x12*\n\x0e\x64ownload_bytes\x18\x14 \x01(\x03H\x0cR\rdownloadBytes\x88\x01\x01\x12\x33\n\x13\x64ownload_speed_mbps\x18\x15 \x01(\x01H\rR\x11\x64ownloadSpeedMbps\x88\x01\x01\x12&\n\x0cupload_bytes\x18\x16 \x01(\x03H\x0eR\x0buploadBytes\x88\x01\x01\x12/\n\x11upload_speed_mbps\x18\x17 \x01(\x01H\x0fR\x0fuploadSpeedMbps\x88\x01\x01\x12+\n\x0f\x61vg_cpu_percent\x18\x1e \x01(\x01H\x10R\ravgCpuPercent\x88\x01\x01\x12-\n\x10peak_cpu_percent\x18\x1f \x01(\x01H\x11R\x0epeakCpuPercent\x88\x01\x01\x12\'\n\ravg_memory_mb\x18 \x01(\x05H\x12R\x0b\x61vgMemoryMb\x88\x01\x01\x12)\n\x0epeak_memory_mb\x18! \x01(\x05H\x13R\x0cpeakMemoryMb\x88\x01\x01\x12$\n\x0b\x63hunk_count\x18( \x01(\x05H\x14R\nchunkCount\x88\x01\x01\x12*\n\x0e\x63hunk_strategy\x18) \x01(\tH\x15R\rchunkStrategy\x88\x01\x01\x12 \n\texit_code\x18\x32 \x01(\x05H\x16R\x08\x65xitCode\x88\x01\x01\x12$\n\x0b\x65xit_reason\x18\x33 \x01(\tH\x17R\nexitReason\x88\x01\x01\x42\x0e\n\x0c_instance_idB\x10\n\x0e_instance_typeB\x14\n\x12_instance_locationB\r\n\x0b_vcpu_countB\x0c\n\n_memory_mbB\x13\n\x11_boot_duration_msB\x17\n\x15_download_duration_msB\x14\n\x12_probe_duration_msB\x15\n\x13_encode_duration_msB\x15\n\x13_upload_duration_msB\x18\n\x16_packaging_duration_msB\x14\n\x12_total_duration_msB\x11\n\x0f_download_bytesB\x16\n\x14_download_speed_mbpsB\x0f\n\r_upload_bytesB\x14\n\x12_upload_speed_mbpsB\x12\n\x10_avg_cpu_percentB\x13\n\x11_peak_cpu_percentB\x10\n\x0e_avg_memory_mbB\x11\n\x0f_peak_memory_mbB\x0e\n\x0c_chunk_countB\x11\n\x0f_chunk_strategyB\x0c\n\n_exit_codeB\x0e\n\x0c_exit_reason\"\xe0\r\n\x03Job\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tinput_url\x18\x02 \x01(\tR\x08inputUrl\x12\x41\n\x0cinput_origin\x18\x16 \x01(\x0b\x32\x19.transcodely.v1.OriginRefH\x00R\x0binputOrigin\x88\x01\x01\x12\x43\n\routput_origin\x18\x17 \x01(\x0b\x32\x19.transcodely.v1.OriginRefH\x01R\x0coutputOrigin\x88\x01\x01\x12\x31\n\x06status\x18\x03 \x01(\x0e\x32\x19.transcodely.v1.JobStatusR\x06status\x12\x1a\n\x08progress\x18\x04 \x01(\x05R\x08progress\x12\x37\n\x08priority\x18\x05 \x01(\x0e\x32\x1b.transcodely.v1.JobPriorityR\x08priority\x12I\n\x0einput_metadata\x18\x06 \x01(\x0b\x32\x1d.transcodely.v1.InputMetadataH\x02R\rinputMetadata\x88\x01\x01\x12\x33\n\x07outputs\x18\x07 \x03(\x0b\x32\x19.transcodely.v1.JobOutputR\x07outputs\x12\x35\n\x14total_estimated_cost\x18\x08 \x01(\x01H\x03R\x12totalEstimatedCost\x88\x01\x01\x12/\n\x11total_actual_cost\x18\t \x01(\x01H\x04R\x0ftotalActualCost\x88\x01\x01\x12\"\n\nerror_code\x18\n \x01(\tH\x05R\terrorCode\x88\x01\x01\x12(\n\rerror_message\x18\x0b \x01(\tH\x06R\x0c\x65rrorMessage\x88\x01\x01\x12$\n\x0bwebhook_url\x18\x0c \x01(\tH\x07R\nwebhookUrl\x88\x01\x01\x12=\n\x08metadata\x18\r \x03(\x0b\x32!.transcodely.v1.Job.MetadataEntryR\x08metadata\x12\x39\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12<\n\tprobed_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x08R\x08probedAt\x88\x01\x01\x12>\n\nstarted_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\tR\tstartedAt\x88\x01\x01\x12\x42\n\x0c\x63ompleted_at\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\nR\x0b\x63ompletedAt\x88\x01\x01\x12#\n\rdelayed_start\x18\x13 \x01(\x08R\x0c\x64\x65layedStart\x12\x42\n\x0c\x63onfirmed_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x0bR\x0b\x63onfirmedAt\x88\x01\x01\x12\x1a\n\x08\x63urrency\x18\x15 \x01(\tR\x08\x63urrency\x12=\n\texecution\x18\x18 \x01(\x0b\x32\x1f.transcodely.v1.ExecutionTimingR\texecution\x12=\n\nthumbnails\x18\x19 \x03(\x0b\x32\x1d.transcodely.v1.ThumbnailSpecR\nthumbnails\x12L\n\x11thumbnail_results\x18\x1c \x03(\x0b\x32\x1f.transcodely.v1.ThumbnailResultR\x10thumbnailResults\x12\x35\n\x14output_path_template\x18\x1a \x01(\tH\x0cR\x12outputPathTemplate\x88\x01\x01\x12\x16\n\x06object\x18\x1b \x01(\tR\x06object\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0f\n\r_input_originB\x10\n\x0e_output_originB\x11\n\x0f_input_metadataB\x17\n\x15_total_estimated_costB\x14\n\x12_total_actual_costB\r\n\x0b_error_codeB\x10\n\x0e_error_messageB\x0e\n\x0c_webhook_urlB\x0c\n\n_probed_atB\r\n\x0b_started_atB\x0f\n\r_completed_atB\x0f\n\r_confirmed_atB\x17\n\x15_output_path_template\"\xaf\r\n\x10\x43reateJobRequest\x12?\n\tinput_url\x18\x01 \x01(\tB\"\xbaH\x1fr\x1a\x18\x80\x10\x32\x15^(gs|s3|https?)://.*$\xd8\x01\x01R\x08inputUrl\x12H\n\x0finput_origin_id\x18\t \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^ori_[a-zA-Z0-9_-]+$H\x00R\rinputOriginId\x88\x01\x01\x12,\n\ninput_path\x18\n \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x10H\x01R\tinputPath\x88\x01\x01\x12J\n\x10output_origin_id\x18\x0b \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^ori_[a-zA-Z0-9_-]+$H\x02R\x0eoutputOriginId\x88\x01\x01\x12@\n\x07outputs\x18\x02 \x03(\x0b\x32\x1a.transcodely.v1.OutputSpecB\n\xbaH\x07\x92\x01\x04\x08\x01\x10\nR\x07outputs\x12\x41\n\x08priority\x18\x03 \x01(\x0e\x32\x1b.transcodely.v1.JobPriorityB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x08priority\x12\x31\n\x0bwebhook_url\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\x18\x80\x10\x88\x01\x01H\x03R\nwebhookUrl\x88\x01\x01\x12\x36\n\x0fidempotency_key\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x01H\x04R\x0eidempotencyKey\x88\x01\x01\x12\x63\n\x08metadata\x18\x06 \x03(\x0b\x32..transcodely.v1.CreateJobRequest.MetadataEntryB\x17\xbaH\x14\x9a\x01\x11\x10\x14\"\x06r\x04\x10\x01\x18@*\x05r\x03\x18\x80\x08R\x08metadata\x12#\n\rdelayed_start\x18\x07 \x01(\x08R\x0c\x64\x65layedStart\x12G\n\nthumbnails\x18\x08 \x03(\x0b\x32\x1d.transcodely.v1.ThumbnailSpecB\x08\xbaH\x05\x92\x01\x02\x10\x05R\nthumbnails\x12\xe8\x01\n\x14output_path_template\x18\x0c \x01(\tB\xb0\x01\xbaH\xac\x01r\x03\x18\x80\x04\xba\x01\xa3\x01\n$create_job.output_path_template_safe\x12<output_path_template must not start with `/` or contain `..`\x1a=this == \'\' || (!this.startsWith(\'/\') && !this.contains(\'..\'))H\x05R\x12outputPathTemplate\x88\x01\x01\x12\x1d\n\x07managed\x18\x14 \x01(\x08H\x06R\x07managed\x88\x01\x01\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01:\x8a\x04\xbaH\x86\x04\x1a\xc8\x01\n\x17\x63reate_job.input_source\x12@either input_url or input_origin_id must be specified (not both)\x1ak(this.input_url != \'\' && !has(this.input_origin_id)) || (this.input_url == \'\' && has(this.input_origin_id))\x1a\x98\x01\n%create_job.input_path_requires_origin\x12;input_path can only be specified when using input_origin_id\x1a\x32!has(this.input_path) || has(this.input_origin_id)\x1a\x9d\x01\n!create_job.output_origin_required\x12\x35output_origin_id is required when managed is not true\x1a\x41has(this.output_origin_id) || (has(this.managed) && this.managed)B\x12\n\x10_input_origin_idB\r\n\x0b_input_pathB\x13\n\x11_output_origin_idB\x0e\n\x0c_webhook_urlB\x12\n\x10_idempotency_keyB\x17\n\x15_output_path_templateB\n\n\x08_managed\"g\n\x11\x43reateJobResponse\x12%\n\x03job\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.JobR\x03job\x12\x1e\n\x08video_id\x18\x05 \x01(\tH\x00R\x07videoId\x88\x01\x01\x42\x0b\n\t_video_id\"?\n\rGetJobRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^job_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"7\n\x0eGetJobResponse\x12%\n\x03job\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.JobR\x03job\"\x97\x01\n\x0fListJobsRequest\x12\x36\n\x06status\x18\x01 \x01(\x0e\x32\x19.transcodely.v1.JobStatusH\x00R\x06status\x88\x01\x01\x12\x41\n\npagination\x18\x02 \x01(\x0b\x32!.transcodely.v1.PaginationRequestR\npaginationB\t\n\x07_status\"\x7f\n\x10ListJobsResponse\x12\'\n\x04jobs\x18\x01 \x03(\x0b\x32\x13.transcodely.v1.JobR\x04jobs\x12\x42\n\npagination\x18\x02 \x01(\x0b\x32\".transcodely.v1.PaginationResponseR\npagination\"B\n\x10\x43\x61ncelJobRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^job_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\":\n\x11\x43\x61ncelJobResponse\x12%\n\x03job\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.JobR\x03job\"C\n\x11\x43onfirmJobRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^job_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\";\n\x12\x43onfirmJobResponse\x12%\n\x03job\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.JobR\x03job\"A\n\x0fWatchJobRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^job_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"\xac\x01\n\x10WatchJobResponse\x12%\n\x03job\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.JobR\x03job\x12\x34\n\x05\x65vent\x18\x02 \x01(\x0e\x32\x1e.transcodely.v1.WatchEventTypeR\x05\x65vent\x12;\n\x0bserver_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nserverTime*\x90\x02\n\tJobStatus\x12\x1a\n\x16JOB_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12JOB_STATUS_PENDING\x10\x01\x12\x16\n\x12JOB_STATUS_PROBING\x10\x02\x12\x19\n\x15JOB_STATUS_PROCESSING\x10\x03\x12\x18\n\x14JOB_STATUS_COMPLETED\x10\x04\x12\x15\n\x11JOB_STATUS_FAILED\x10\x05\x12\x17\n\x13JOB_STATUS_CANCELED\x10\x06\x12\x16\n\x12JOB_STATUS_PARTIAL\x10\x07\x12$\n JOB_STATUS_AWAITING_CONFIRMATION\x10\x08*\x14JOB_STATUS_CANCELLED*\xd2\x01\n\x0cOutputStatus\x12\x1d\n\x19OUTPUT_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15OUTPUT_STATUS_PENDING\x10\x01\x12\x1c\n\x18OUTPUT_STATUS_PROCESSING\x10\x02\x12\x1b\n\x17OUTPUT_STATUS_COMPLETED\x10\x03\x12\x18\n\x14OUTPUT_STATUS_FAILED\x10\x04\x12\x1a\n\x16OUTPUT_STATUS_CANCELED\x10\x05*\x17OUTPUT_STATUS_CANCELLED*z\n\x0bJobPriority\x12\x1c\n\x18JOB_PRIORITY_UNSPECIFIED\x10\x00\x12\x18\n\x14JOB_PRIORITY_ECONOMY\x10\x01\x12\x19\n\x15JOB_PRIORITY_STANDARD\x10\x02\x12\x18\n\x14JOB_PRIORITY_PREMIUM\x10\x03*\xd4\x01\n\x0eWatchEventType\x12 \n\x1cWATCH_EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19WATCH_EVENT_TYPE_SNAPSHOT\x10\x01\x12\x1d\n\x19WATCH_EVENT_TYPE_PROGRESS\x10\x02\x12\"\n\x1eWATCH_EVENT_TYPE_STATUS_CHANGE\x10\x03\x12\x1e\n\x1aWATCH_EVENT_TYPE_COMPLETED\x10\x04\x12\x1e\n\x1aWATCH_EVENT_TYPE_HEARTBEAT\x10\x05\x32\xdb\x03\n\nJobService\x12M\n\x06\x43reate\x12 .transcodely.v1.CreateJobRequest\x1a!.transcodely.v1.CreateJobResponse\x12\x44\n\x03Get\x12\x1d.transcodely.v1.GetJobRequest\x1a\x1e.transcodely.v1.GetJobResponse\x12I\n\x04List\x12\x1f.transcodely.v1.ListJobsRequest\x1a .transcodely.v1.ListJobsResponse\x12M\n\x06\x43\x61ncel\x12 .transcodely.v1.CancelJobRequest\x1a!.transcodely.v1.CancelJobResponse\x12P\n\x07\x43onfirm\x12!.transcodely.v1.ConfirmJobRequest\x1a\".transcodely.v1.ConfirmJobResponse\x12L\n\x05Watch\x12\x1f.transcodely.v1.WatchJobRequest\x1a .transcodely.v1.WatchJobResponse0\x01\x62\x06proto3')
|
|
43
|
+
|
|
44
|
+
_globals = globals()
|
|
45
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
46
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'transcodely.v1.job_pb2', _globals)
|
|
47
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
48
|
+
DESCRIPTOR._loaded_options = None
|
|
49
|
+
_globals['_AUDIOTRACKCONFIG'].fields_by_name['language']._loaded_options = None
|
|
50
|
+
_globals['_AUDIOTRACKCONFIG'].fields_by_name['language']._serialized_options = b'\272H\021r\0142\n^[a-z]{3}$\310\001\001'
|
|
51
|
+
_globals['_AUDIOTRACKCONFIG'].fields_by_name['label']._loaded_options = None
|
|
52
|
+
_globals['_AUDIOTRACKCONFIG'].fields_by_name['label']._serialized_options = b'\272H\004r\002\030@'
|
|
53
|
+
_globals['_AUDIOTRACKCONFIG'].fields_by_name['source_track']._loaded_options = None
|
|
54
|
+
_globals['_AUDIOTRACKCONFIG'].fields_by_name['source_track']._serialized_options = b'\272H\006\032\004\030\017(\000'
|
|
55
|
+
_globals['_VIDEOVARIANT'].fields_by_name['codec']._loaded_options = None
|
|
56
|
+
_globals['_VIDEOVARIANT'].fields_by_name['codec']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
57
|
+
_globals['_VIDEOVARIANT'].fields_by_name['resolution']._loaded_options = None
|
|
58
|
+
_globals['_VIDEOVARIANT'].fields_by_name['resolution']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
59
|
+
_globals['_VIDEOVARIANT'].fields_by_name['quality']._loaded_options = None
|
|
60
|
+
_globals['_VIDEOVARIANT'].fields_by_name['quality']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
61
|
+
_globals['_VIDEOVARIANT'].fields_by_name['framerate']._loaded_options = None
|
|
62
|
+
_globals['_VIDEOVARIANT'].fields_by_name['framerate']._serialized_options = b'\272H\007\032\005\030\360\001(\000'
|
|
63
|
+
_globals['_VIDEOVARIANT'].fields_by_name['width']._loaded_options = None
|
|
64
|
+
_globals['_VIDEOVARIANT'].fields_by_name['width']._serialized_options = b'\272H\010\032\006\030\200<(\200\001'
|
|
65
|
+
_globals['_VIDEOVARIANT'].fields_by_name['height']._loaded_options = None
|
|
66
|
+
_globals['_VIDEOVARIANT'].fields_by_name['height']._serialized_options = b'\272H\010\032\006\030\340!(\200\001'
|
|
67
|
+
_globals['_VIDEOVARIANT'].fields_by_name['bitrate']._loaded_options = None
|
|
68
|
+
_globals['_VIDEOVARIANT'].fields_by_name['bitrate']._serialized_options = b'\272H\010\032\006\030\200\323\016(d'
|
|
69
|
+
_globals['_HLSCONFIG'].fields_by_name['manifest']._loaded_options = None
|
|
70
|
+
_globals['_HLSCONFIG'].fields_by_name['manifest']._serialized_options = b'\272H\026r\024\030@2\020^[a-zA-Z0-9_-]+$'
|
|
71
|
+
_globals['_HLSCONFIG'].fields_by_name['segment_format']._loaded_options = None
|
|
72
|
+
_globals['_HLSCONFIG'].fields_by_name['segment_format']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
73
|
+
_globals['_HLSCONFIG'].fields_by_name['playlist_type']._loaded_options = None
|
|
74
|
+
_globals['_HLSCONFIG'].fields_by_name['playlist_type']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
75
|
+
_globals['_HLSCONFIG'].fields_by_name['variant_pattern']._loaded_options = None
|
|
76
|
+
_globals['_HLSCONFIG'].fields_by_name['variant_pattern']._serialized_options = b'\272H\005r\003\030\200\001'
|
|
77
|
+
_globals['_DASHCONFIG'].fields_by_name['manifest']._loaded_options = None
|
|
78
|
+
_globals['_DASHCONFIG'].fields_by_name['manifest']._serialized_options = b'\272H\026r\024\030@2\020^[a-zA-Z0-9_-]+$'
|
|
79
|
+
_globals['_SEGMENTCONFIG'].fields_by_name['duration']._loaded_options = None
|
|
80
|
+
_globals['_SEGMENTCONFIG'].fields_by_name['duration']._serialized_options = b'\272H\006\032\004\030\036(\001'
|
|
81
|
+
_globals['_SEGMENTCONFIG'].fields_by_name['gop_alignment']._loaded_options = None
|
|
82
|
+
_globals['_SEGMENTCONFIG'].fields_by_name['gop_alignment']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
83
|
+
_globals['_SEGMENTCONFIG'].fields_by_name['gop_size']._loaded_options = None
|
|
84
|
+
_globals['_SEGMENTCONFIG'].fields_by_name['gop_size']._serialized_options = b'\272H\006\032\004\030\n(\001'
|
|
85
|
+
_globals['_OUTPUTSPEC'].fields_by_name['type']._loaded_options = None
|
|
86
|
+
_globals['_OUTPUTSPEC'].fields_by_name['type']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
87
|
+
_globals['_OUTPUTSPEC'].fields_by_name['video']._loaded_options = None
|
|
88
|
+
_globals['_OUTPUTSPEC'].fields_by_name['video']._serialized_options = b'\272H\005\222\001\002\020\024'
|
|
89
|
+
_globals['_OUTPUTSPEC'].fields_by_name['audio']._loaded_options = None
|
|
90
|
+
_globals['_OUTPUTSPEC'].fields_by_name['audio']._serialized_options = b'\272H\005\222\001\002\020\010'
|
|
91
|
+
_globals['_OUTPUTSPEC'].fields_by_name['path_template']._loaded_options = None
|
|
92
|
+
_globals['_OUTPUTSPEC'].fields_by_name['path_template']._serialized_options = b'\272H\237\001r\003\030\200\004\272\001\226\001\n\036output_spec.path_template_safe\0225path_template must not start with `/` or contain `..`\032=this == \'\' || (!this.startsWith(\'/\') && !this.contains(\'..\'))'
|
|
93
|
+
_globals['_OUTPUTSPEC'].fields_by_name['preset']._loaded_options = None
|
|
94
|
+
_globals['_OUTPUTSPEC'].fields_by_name['preset']._serialized_options = b'\272H\007r\005\020\001\030\200\001'
|
|
95
|
+
_globals['_OUTPUTSPEC'].fields_by_name['subtitle_tracks']._loaded_options = None
|
|
96
|
+
_globals['_OUTPUTSPEC'].fields_by_name['subtitle_tracks']._serialized_options = b'\272H\005\222\001\002\020\010'
|
|
97
|
+
_globals['_OUTPUTSPEC'].fields_by_name['encoding_mode']._loaded_options = None
|
|
98
|
+
_globals['_OUTPUTSPEC'].fields_by_name['encoding_mode']._serialized_options = b'\272H\017r\rR\005fixedR\004auto'
|
|
99
|
+
_globals['_OUTPUTSPEC'].fields_by_name['effective_path_template']._loaded_options = None
|
|
100
|
+
_globals['_OUTPUTSPEC'].fields_by_name['effective_path_template']._serialized_options = b'\272H\005r\003\030\200\004'
|
|
101
|
+
_globals['_OUTPUTSPEC']._loaded_options = None
|
|
102
|
+
_globals['_OUTPUTSPEC']._serialized_options = b'\272H\316\010\032\252\001\n\034output_spec.preset_or_inline\022Leither preset must be specified, or type with video[] array must be provided\032<has(this.preset) || (this.type != 0 && size(this.video) > 0)\032u\n\032output_spec.video_required\022,video[] array must have at least one variant\032)has(this.preset) || size(this.video) >= 1\032\262\001\n#output_spec.audio_require_streaming\022>audio is only valid for HLS, DASH, or ADAPTIVE streaming types\032Ksize(this.audio) == 0 || this.type == 5 || this.type == 6 || this.type == 7\032\205\001\n\033output_spec.hls_config_type\0222hls config is only valid for HLS or ADAPTIVE types\0322!has(this.hls) || this.type == 5 || this.type == 7\032\211\001\n\034output_spec.dash_config_type\0224dash config is only valid for DASH or ADAPTIVE types\0323!has(this.dash) || this.type == 6 || this.type == 7\032\255\001\n output_spec.segments_config_type\022>segments config is only valid for HLS, DASH, or ADAPTIVE types\032I!has(this.segments) || this.type == 5 || this.type == 6 || this.type == 7\032\256\001\n#output_spec.disable_audio_no_tracks\022=disable_audio cannot be combined with explicit audio[] tracks\032H!has(this.disable_audio) || !this.disable_audio || size(this.audio) == 0'
|
|
103
|
+
_globals['_JOB_METADATAENTRY']._loaded_options = None
|
|
104
|
+
_globals['_JOB_METADATAENTRY']._serialized_options = b'8\001'
|
|
105
|
+
_globals['_CREATEJOBREQUEST_METADATAENTRY']._loaded_options = None
|
|
106
|
+
_globals['_CREATEJOBREQUEST_METADATAENTRY']._serialized_options = b'8\001'
|
|
107
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['input_url']._loaded_options = None
|
|
108
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['input_url']._serialized_options = b'\272H\037r\032\030\200\0202\025^(gs|s3|https?)://.*$\330\001\001'
|
|
109
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['input_origin_id']._loaded_options = None
|
|
110
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['input_origin_id']._serialized_options = b'\272H\030r\0262\024^ori_[a-zA-Z0-9_-]+$'
|
|
111
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['input_path']._loaded_options = None
|
|
112
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['input_path']._serialized_options = b'\272H\005r\003\030\200\020'
|
|
113
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['output_origin_id']._loaded_options = None
|
|
114
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['output_origin_id']._serialized_options = b'\272H\030r\0262\024^ori_[a-zA-Z0-9_-]+$'
|
|
115
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['outputs']._loaded_options = None
|
|
116
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['outputs']._serialized_options = b'\272H\007\222\001\004\010\001\020\n'
|
|
117
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['priority']._loaded_options = None
|
|
118
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['priority']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
119
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['webhook_url']._loaded_options = None
|
|
120
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['webhook_url']._serialized_options = b'\272H\010r\006\030\200\020\210\001\001'
|
|
121
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['idempotency_key']._loaded_options = None
|
|
122
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['idempotency_key']._serialized_options = b'\272H\005r\003\030\200\001'
|
|
123
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['metadata']._loaded_options = None
|
|
124
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['metadata']._serialized_options = b'\272H\024\232\001\021\020\024\"\006r\004\020\001\030@*\005r\003\030\200\010'
|
|
125
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['thumbnails']._loaded_options = None
|
|
126
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['thumbnails']._serialized_options = b'\272H\005\222\001\002\020\005'
|
|
127
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['output_path_template']._loaded_options = None
|
|
128
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['output_path_template']._serialized_options = b'\272H\254\001r\003\030\200\004\272\001\243\001\n$create_job.output_path_template_safe\022<output_path_template must not start with `/` or contain `..`\032=this == \'\' || (!this.startsWith(\'/\') && !this.contains(\'..\'))'
|
|
129
|
+
_globals['_CREATEJOBREQUEST']._loaded_options = None
|
|
130
|
+
_globals['_CREATEJOBREQUEST']._serialized_options = b'\272H\206\004\032\310\001\n\027create_job.input_source\022@either input_url or input_origin_id must be specified (not both)\032k(this.input_url != \'\' && !has(this.input_origin_id)) || (this.input_url == \'\' && has(this.input_origin_id))\032\230\001\n%create_job.input_path_requires_origin\022;input_path can only be specified when using input_origin_id\0322!has(this.input_path) || has(this.input_origin_id)\032\235\001\n!create_job.output_origin_required\0225output_origin_id is required when managed is not true\032Ahas(this.output_origin_id) || (has(this.managed) && this.managed)'
|
|
131
|
+
_globals['_GETJOBREQUEST'].fields_by_name['id']._loaded_options = None
|
|
132
|
+
_globals['_GETJOBREQUEST'].fields_by_name['id']._serialized_options = b'\272H\033r\0262\024^job_[a-zA-Z0-9_-]+$\310\001\001'
|
|
133
|
+
_globals['_CANCELJOBREQUEST'].fields_by_name['id']._loaded_options = None
|
|
134
|
+
_globals['_CANCELJOBREQUEST'].fields_by_name['id']._serialized_options = b'\272H\033r\0262\024^job_[a-zA-Z0-9_-]+$\310\001\001'
|
|
135
|
+
_globals['_CONFIRMJOBREQUEST'].fields_by_name['id']._loaded_options = None
|
|
136
|
+
_globals['_CONFIRMJOBREQUEST'].fields_by_name['id']._serialized_options = b'\272H\033r\0262\024^job_[a-zA-Z0-9_-]+$\310\001\001'
|
|
137
|
+
_globals['_WATCHJOBREQUEST'].fields_by_name['id']._loaded_options = None
|
|
138
|
+
_globals['_WATCHJOBREQUEST'].fields_by_name['id']._serialized_options = b'\272H\033r\0262\024^job_[a-zA-Z0-9_-]+$\310\001\001'
|
|
139
|
+
_globals['_JOBSTATUS']._serialized_start=13451
|
|
140
|
+
_globals['_JOBSTATUS']._serialized_end=13723
|
|
141
|
+
_globals['_OUTPUTSTATUS']._serialized_start=13726
|
|
142
|
+
_globals['_OUTPUTSTATUS']._serialized_end=13936
|
|
143
|
+
_globals['_JOBPRIORITY']._serialized_start=13938
|
|
144
|
+
_globals['_JOBPRIORITY']._serialized_end=14060
|
|
145
|
+
_globals['_WATCHEVENTTYPE']._serialized_start=14063
|
|
146
|
+
_globals['_WATCHEVENTTYPE']._serialized_end=14275
|
|
147
|
+
_globals['_AUDIOTRACKCONFIG']._serialized_start=508
|
|
148
|
+
_globals['_AUDIOTRACKCONFIG']._serialized_end=741
|
|
149
|
+
_globals['_VIDEOVARIANT']._serialized_start=744
|
|
150
|
+
_globals['_VIDEOVARIANT']._serialized_end=1532
|
|
151
|
+
_globals['_HLSCONFIG']._serialized_start=1535
|
|
152
|
+
_globals['_HLSCONFIG']._serialized_end=1858
|
|
153
|
+
_globals['_DASHCONFIG']._serialized_start=1860
|
|
154
|
+
_globals['_DASHCONFIG']._serialized_end=1945
|
|
155
|
+
_globals['_SEGMENTCONFIG']._serialized_start=1948
|
|
156
|
+
_globals['_SEGMENTCONFIG']._serialized_end=2157
|
|
157
|
+
_globals['_OUTPUTSPEC']._serialized_start=2160
|
|
158
|
+
_globals['_OUTPUTSPEC']._serialized_end=4443
|
|
159
|
+
_globals['_PRICINGSNAPSHOT']._serialized_start=4446
|
|
160
|
+
_globals['_PRICINGSNAPSHOT']._serialized_end=4901
|
|
161
|
+
_globals['_VARIANTPRICINGSNAPSHOT']._serialized_start=4904
|
|
162
|
+
_globals['_VARIANTPRICINGSNAPSHOT']._serialized_end=5829
|
|
163
|
+
_globals['_JOBOUTPUT']._serialized_start=5832
|
|
164
|
+
_globals['_JOBOUTPUT']._serialized_end=7171
|
|
165
|
+
_globals['_OUTPUTVARIANTRESULT']._serialized_start=7174
|
|
166
|
+
_globals['_OUTPUTVARIANTRESULT']._serialized_end=7394
|
|
167
|
+
_globals['_EXECUTIONTIMING']._serialized_start=7397
|
|
168
|
+
_globals['_EXECUTIONTIMING']._serialized_end=8961
|
|
169
|
+
_globals['_JOB']._serialized_start=8964
|
|
170
|
+
_globals['_JOB']._serialized_end=10724
|
|
171
|
+
_globals['_JOB_METADATAENTRY']._serialized_start=10427
|
|
172
|
+
_globals['_JOB_METADATAENTRY']._serialized_end=10486
|
|
173
|
+
_globals['_CREATEJOBREQUEST']._serialized_start=10727
|
|
174
|
+
_globals['_CREATEJOBREQUEST']._serialized_end=12438
|
|
175
|
+
_globals['_CREATEJOBREQUEST_METADATAENTRY']._serialized_start=10427
|
|
176
|
+
_globals['_CREATEJOBREQUEST_METADATAENTRY']._serialized_end=10486
|
|
177
|
+
_globals['_CREATEJOBRESPONSE']._serialized_start=12440
|
|
178
|
+
_globals['_CREATEJOBRESPONSE']._serialized_end=12543
|
|
179
|
+
_globals['_GETJOBREQUEST']._serialized_start=12545
|
|
180
|
+
_globals['_GETJOBREQUEST']._serialized_end=12608
|
|
181
|
+
_globals['_GETJOBRESPONSE']._serialized_start=12610
|
|
182
|
+
_globals['_GETJOBRESPONSE']._serialized_end=12665
|
|
183
|
+
_globals['_LISTJOBSREQUEST']._serialized_start=12668
|
|
184
|
+
_globals['_LISTJOBSREQUEST']._serialized_end=12819
|
|
185
|
+
_globals['_LISTJOBSRESPONSE']._serialized_start=12821
|
|
186
|
+
_globals['_LISTJOBSRESPONSE']._serialized_end=12948
|
|
187
|
+
_globals['_CANCELJOBREQUEST']._serialized_start=12950
|
|
188
|
+
_globals['_CANCELJOBREQUEST']._serialized_end=13016
|
|
189
|
+
_globals['_CANCELJOBRESPONSE']._serialized_start=13018
|
|
190
|
+
_globals['_CANCELJOBRESPONSE']._serialized_end=13076
|
|
191
|
+
_globals['_CONFIRMJOBREQUEST']._serialized_start=13078
|
|
192
|
+
_globals['_CONFIRMJOBREQUEST']._serialized_end=13145
|
|
193
|
+
_globals['_CONFIRMJOBRESPONSE']._serialized_start=13147
|
|
194
|
+
_globals['_CONFIRMJOBRESPONSE']._serialized_end=13206
|
|
195
|
+
_globals['_WATCHJOBREQUEST']._serialized_start=13208
|
|
196
|
+
_globals['_WATCHJOBREQUEST']._serialized_end=13273
|
|
197
|
+
_globals['_WATCHJOBRESPONSE']._serialized_start=13276
|
|
198
|
+
_globals['_WATCHJOBRESPONSE']._serialized_end=13448
|
|
199
|
+
_globals['_JOBSERVICE']._serialized_start=14278
|
|
200
|
+
_globals['_JOBSERVICE']._serialized_end=14753
|
|
201
|
+
# @@protoc_insertion_point(module_scope)
|