yandexcloud 0.336.0__py3-none-any.whl → 0.338.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.
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +11 -3
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +34 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +45 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +26 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +24 -24
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +11 -1
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.py +37 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.pyi +43 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.py +24 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.py +8 -7
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +9 -1
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +26 -15
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +87 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.py +77 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.pyi +38 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +12 -5
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +29 -1
- yandex/cloud/airflow/v1/cluster_pb2.py +36 -35
- yandex/cloud/airflow/v1/cluster_pb2.pyi +15 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +42 -41
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/airflow/v1/maintenance_pb2.py +53 -0
- yandex/cloud/airflow/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/backup/v1/backup_service_pb2.py +44 -40
- yandex/cloud/backup/v1/backup_service_pb2.pyi +14 -2
- yandex/cloud/iam/v1/key_service_pb2.pyi +0 -2
- yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
- yandex/cloud/iot/devices/v1/device_pb2.pyi +23 -1
- yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
- yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
- yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
- yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
- yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
- yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
- yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +21 -3
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +86 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +89 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +49 -3
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
- yandex/cloud/mdb/spqr/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
- yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
- yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
- yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
- yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
- yandex/cloud/searchapi/v2/search_query_pb2.py +8 -8
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +8 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +11 -3
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +24 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +44 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +20 -0
- yandex/cloud/storage/v1/s3api_pb2.py +7 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
- yandex/cloud/video/v1/channel_pb2.py +16 -11
- yandex/cloud/video/v1/channel_pb2.pyi +32 -2
- yandex/cloud/video/v1/channel_service_pb2.py +34 -30
- yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/episode_pb2.pyi +5 -4
- yandex/cloud/video/v1/episode_service_pb2.py +56 -52
- yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
- yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_line_pb2.py +16 -24
- yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
- yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_pb2.py +12 -11
- yandex/cloud/video/v1/stream_pb2.pyi +19 -6
- yandex/cloud/video/v1/stream_service_pb2.py +54 -49
- yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
- yandex/cloud/video/v1/subtitle_pb2.py +6 -4
- yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
- yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/video_pb2.py +24 -18
- yandex/cloud/video/v1/video_pb2.pyi +130 -38
- yandex/cloud/video/v1/video_service_pb2.py +114 -66
- yandex/cloud/video/v1/video_service_pb2.pyi +279 -40
- yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
- yandex/cloud/ydb/v1/database_pb2.py +46 -46
- yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
- yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
- yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
- yandexcloud/__init__.py +2 -2
- yandexcloud/_operation_waiter.py +17 -19
- yandexcloud/_retry_policy.py +17 -3
- yandexcloud/_wrappers/dataproc/__init__.py +39 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/METADATA +9 -9
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/RECORD +193 -115
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/top_level.txt +0 -0
|
@@ -29,7 +29,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
29
29
|
from yandex.cloud.video.v1 import subtitle_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_subtitle__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/video/v1/subtitle_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a$yandex/cloud/video/v1/subtitle.proto\"7\n\x12GetSubtitleRequest\x12!\n\x0bsubtitle_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/video/v1/subtitle_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a$yandex/cloud/video/v1/subtitle.proto\"7\n\x12GetSubtitleRequest\x12!\n\x0bsubtitle_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x94\x01\n\x14ListSubtitlesRequest\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1f\n\npage_token\x18\x65 \x01(\tB\x0b\x8a\xc8\x31\x07<=15000\x12\x1d\n\x08video_id\x18\xe8\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x42\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01J\x04\x08\x01\x10\x64J\x05\x08\x66\x10\xe8\x07\"j\n\x15ListSubtitlesResponse\x12\x32\n\tsubtitles\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Subtitle\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xd2\x01\n\x15\x43reateSubtitleRequest\x12\x19\n\x08language\x18\x01 \x01(\tB\x07\x8a\xc8\x31\x03\x32-3\x12\r\n\x05label\x18\x02 \x01(\t\x12\x1d\n\x08video_id\x18\xe8\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12>\n\x06upload\x18\xcc\x08 \x01(\x0b\x32+.yandex.cloud.video.v1.SubtitleUploadParamsH\x01\x42\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01\x42\x0e\n\x06source\x12\x04\xc0\xc1\x31\x01J\x05\x08\x03\x10\xe8\x07J\x06\x08\xe9\x07\x10\xcc\x08\".\n\x14SubtitleUploadParams\x12\x16\n\x08\x66ilename\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"-\n\x16\x43reateSubtitleMetadata\x12\x13\n\x0bsubtitle_id\x18\x01 \x01(\t\"E\n GenerateSubtitleUploadURLRequest\x12!\n\x0bsubtitle_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"7\n!GenerateSubtitleUploadURLResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\":\n\x15\x44\x65leteSubtitleRequest\x12!\n\x0bsubtitle_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65leteSubtitleMetadata\x12\x13\n\x0bsubtitle_id\x18\x01 \x01(\t2\xb1\x06\n\x0fSubtitleService\x12|\n\x03Get\x12).yandex.cloud.video.v1.GetSubtitleRequest\x1a\x1f.yandex.cloud.video.v1.Subtitle\")\x82\xd3\xe4\x93\x02#\x12!/video/v1/subtitles/{subtitle_id}\x12~\n\x04List\x12+.yandex.cloud.video.v1.ListSubtitlesRequest\x1a,.yandex.cloud.video.v1.ListSubtitlesResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/video/v1/subtitles\x12\x9f\x01\n\x06\x43reate\x12,.yandex.cloud.video.v1.CreateSubtitleRequest\x1a!.yandex.cloud.operation.Operation\"D\xb2\xd2*\"\n\x16\x43reateSubtitleMetadata\x12\x08Subtitle\x82\xd3\xe4\x93\x02\x18\"\x13/video/v1/subtitles:\x01*\x12\xc3\x01\n\x11GenerateUploadURL\x12\x37.yandex.cloud.video.v1.GenerateSubtitleUploadURLRequest\x1a\x38.yandex.cloud.video.v1.GenerateSubtitleUploadURLResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/video/v1/subtitles/{subtitle_id}:generateUploadURL\x12\xb7\x01\n\x06\x44\x65lete\x12,.yandex.cloud.video.v1.DeleteSubtitleRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*/\n\x16\x44\x65leteSubtitleMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#*!/video/v1/subtitles/{subtitle_id}B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -44,7 +44,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
44
|
_globals['_LISTSUBTITLESREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
45
45
|
_globals['_LISTSUBTITLESREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
46
46
|
_globals['_LISTSUBTITLESREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
47
|
-
_globals['_LISTSUBTITLESREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\
|
|
47
|
+
_globals['_LISTSUBTITLESREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\007<=15000'
|
|
48
48
|
_globals['_LISTSUBTITLESREQUEST'].fields_by_name['video_id']._loaded_options = None
|
|
49
49
|
_globals['_LISTSUBTITLESREQUEST'].fields_by_name['video_id']._serialized_options = b'\212\3101\004<=50'
|
|
50
50
|
_globals['_CREATESUBTITLEREQUEST'].oneofs_by_name['parent_id']._loaded_options = None
|
|
@@ -74,23 +74,23 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
74
74
|
_globals['_GETSUBTITLEREQUEST']._serialized_start=244
|
|
75
75
|
_globals['_GETSUBTITLEREQUEST']._serialized_end=299
|
|
76
76
|
_globals['_LISTSUBTITLESREQUEST']._serialized_start=302
|
|
77
|
-
_globals['_LISTSUBTITLESREQUEST']._serialized_end=
|
|
78
|
-
_globals['_LISTSUBTITLESRESPONSE']._serialized_start=
|
|
79
|
-
_globals['_LISTSUBTITLESRESPONSE']._serialized_end=
|
|
80
|
-
_globals['_CREATESUBTITLEREQUEST']._serialized_start=
|
|
81
|
-
_globals['_CREATESUBTITLEREQUEST']._serialized_end=
|
|
82
|
-
_globals['_SUBTITLEUPLOADPARAMS']._serialized_start=
|
|
83
|
-
_globals['_SUBTITLEUPLOADPARAMS']._serialized_end=
|
|
84
|
-
_globals['_CREATESUBTITLEMETADATA']._serialized_start=
|
|
85
|
-
_globals['_CREATESUBTITLEMETADATA']._serialized_end=
|
|
86
|
-
_globals['_GENERATESUBTITLEUPLOADURLREQUEST']._serialized_start=
|
|
87
|
-
_globals['_GENERATESUBTITLEUPLOADURLREQUEST']._serialized_end=
|
|
88
|
-
_globals['_GENERATESUBTITLEUPLOADURLRESPONSE']._serialized_start=
|
|
89
|
-
_globals['_GENERATESUBTITLEUPLOADURLRESPONSE']._serialized_end=
|
|
90
|
-
_globals['_DELETESUBTITLEREQUEST']._serialized_start=
|
|
91
|
-
_globals['_DELETESUBTITLEREQUEST']._serialized_end=
|
|
92
|
-
_globals['_DELETESUBTITLEMETADATA']._serialized_start=
|
|
93
|
-
_globals['_DELETESUBTITLEMETADATA']._serialized_end=
|
|
94
|
-
_globals['_SUBTITLESERVICE']._serialized_start=
|
|
95
|
-
_globals['_SUBTITLESERVICE']._serialized_end=
|
|
77
|
+
_globals['_LISTSUBTITLESREQUEST']._serialized_end=450
|
|
78
|
+
_globals['_LISTSUBTITLESRESPONSE']._serialized_start=452
|
|
79
|
+
_globals['_LISTSUBTITLESRESPONSE']._serialized_end=558
|
|
80
|
+
_globals['_CREATESUBTITLEREQUEST']._serialized_start=561
|
|
81
|
+
_globals['_CREATESUBTITLEREQUEST']._serialized_end=771
|
|
82
|
+
_globals['_SUBTITLEUPLOADPARAMS']._serialized_start=773
|
|
83
|
+
_globals['_SUBTITLEUPLOADPARAMS']._serialized_end=819
|
|
84
|
+
_globals['_CREATESUBTITLEMETADATA']._serialized_start=821
|
|
85
|
+
_globals['_CREATESUBTITLEMETADATA']._serialized_end=866
|
|
86
|
+
_globals['_GENERATESUBTITLEUPLOADURLREQUEST']._serialized_start=868
|
|
87
|
+
_globals['_GENERATESUBTITLEUPLOADURLREQUEST']._serialized_end=937
|
|
88
|
+
_globals['_GENERATESUBTITLEUPLOADURLRESPONSE']._serialized_start=939
|
|
89
|
+
_globals['_GENERATESUBTITLEUPLOADURLRESPONSE']._serialized_end=994
|
|
90
|
+
_globals['_DELETESUBTITLEREQUEST']._serialized_start=996
|
|
91
|
+
_globals['_DELETESUBTITLEREQUEST']._serialized_end=1054
|
|
92
|
+
_globals['_DELETESUBTITLEMETADATA']._serialized_start=1056
|
|
93
|
+
_globals['_DELETESUBTITLEMETADATA']._serialized_end=1101
|
|
94
|
+
_globals['_SUBTITLESERVICE']._serialized_start=1104
|
|
95
|
+
_globals['_SUBTITLESERVICE']._serialized_end=1921
|
|
96
96
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -37,7 +37,9 @@ class ListSubtitlesRequest(google.protobuf.message.Message):
|
|
|
37
37
|
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
38
38
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
39
39
|
page_size: builtins.int
|
|
40
|
-
"""The maximum number of the results per page to return.
|
|
40
|
+
"""The maximum number of the results per page to return.
|
|
41
|
+
Default value: 100.
|
|
42
|
+
"""
|
|
41
43
|
page_token: builtins.str
|
|
42
44
|
"""Page token for getting the next page of the result."""
|
|
43
45
|
video_id: builtins.str
|
|
@@ -84,14 +86,14 @@ class CreateSubtitleRequest(google.protobuf.message.Message):
|
|
|
84
86
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
85
87
|
UPLOAD_FIELD_NUMBER: builtins.int
|
|
86
88
|
language: builtins.str
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
"""Subtitle language in any of the following formats:
|
|
90
|
+
* three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3
|
|
91
|
+
* two-letter code according to ISO 639-1
|
|
90
92
|
"""
|
|
91
93
|
label: builtins.str
|
|
92
94
|
"""Contains the subtitle label (or title) that will be displayed on screen during video playback.
|
|
93
95
|
Should provide a concise and accurate representation of the spoken content.
|
|
94
|
-
If not provided, will be auto-generated based on the specified language.
|
|
96
|
+
If not provided, it will be auto-generated based on the specified language.
|
|
95
97
|
"""
|
|
96
98
|
video_id: builtins.str
|
|
97
99
|
"""ID of the video."""
|
|
@@ -27,7 +27,7 @@ class SubtitleServiceStub:
|
|
|
27
27
|
yandex.cloud.video.v1.subtitle_service_pb2.GetSubtitleRequest,
|
|
28
28
|
yandex.cloud.video.v1.subtitle_pb2.Subtitle,
|
|
29
29
|
]
|
|
30
|
-
"""
|
|
30
|
+
"""Get a specific subtitle."""
|
|
31
31
|
|
|
32
32
|
List: grpc.UnaryUnaryMultiCallable[
|
|
33
33
|
yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesRequest,
|
|
@@ -60,7 +60,7 @@ class SubtitleServiceAsyncStub:
|
|
|
60
60
|
yandex.cloud.video.v1.subtitle_service_pb2.GetSubtitleRequest,
|
|
61
61
|
yandex.cloud.video.v1.subtitle_pb2.Subtitle,
|
|
62
62
|
]
|
|
63
|
-
"""
|
|
63
|
+
"""Get a specific subtitle."""
|
|
64
64
|
|
|
65
65
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
66
66
|
yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesRequest,
|
|
@@ -95,7 +95,7 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
|
|
|
95
95
|
request: yandex.cloud.video.v1.subtitle_service_pb2.GetSubtitleRequest,
|
|
96
96
|
context: _ServicerContext,
|
|
97
97
|
) -> typing.Union[yandex.cloud.video.v1.subtitle_pb2.Subtitle, collections.abc.Awaitable[yandex.cloud.video.v1.subtitle_pb2.Subtitle]]:
|
|
98
|
-
"""
|
|
98
|
+
"""Get a specific subtitle."""
|
|
99
99
|
|
|
100
100
|
@abc.abstractmethod
|
|
101
101
|
def List(
|
|
@@ -29,7 +29,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
29
29
|
from yandex.cloud.video.v1 import thumbnail_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/video/v1/thumbnail_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a%yandex/cloud/video/v1/thumbnail.proto\"9\n\x13GetThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/video/v1/thumbnail_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a%yandex/cloud/video/v1/thumbnail.proto\"9\n\x13GetThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"y\n\x14ListThumbnailRequest\x12\x1c\n\nchannel_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1f\n\npage_token\x18\x65 \x01(\tB\x0b\x8a\xc8\x31\x07<=15000J\x04\x08\x02\x10\x64\"l\n\x15ListThumbnailResponse\x12\x34\n\nthumbnails\x18\x01 \x03(\x0b\x32 .yandex.cloud.video.v1.Thumbnail\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"7\n\x16\x43reateThumbnailRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tB\t\x8a\xc8\x31\x05<=200\"/\n\x17\x43reateThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\"o\n BatchGenerateDownloadURLsRequest\x12!\n\nchannel_id\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=200\x12(\n\rthumbnail_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"g\n!BatchGenerateDownloadURLsResponse\x12\x42\n\rdownload_urls\x18\x01 \x03(\x0b\x32+.yandex.cloud.video.v1.ThumbnailDownloadURL\"\xe0\x02\n\x14ThumbnailDownloadURL\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\x12\x14\n\x0coriginal_url\x18\x02 \x01(\t\x12J\n\x0bscaled_urls\x18\x03 \x03(\x0b\x32\x35.yandex.cloud.video.v1.ThumbnailDownloadURL.ScaledURL\x1a\x8e\x01\n\tScaledURL\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tmax_width\x18\x02 \x01(\x03\x12\x12\n\nmax_height\x18\x03 \x01(\x03\x12M\n\x0cimage_format\x18\x04 \x01(\x0e\x32\x37.yandex.cloud.video.v1.ThumbnailDownloadURL.ImageFormat\"?\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JPEG\x10\x01\x12\x08\n\x04WEBP\x10\x02\"G\n!GenerateThumbnailUploadURLRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"8\n\"GenerateThumbnailUploadURLResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\"<\n\x16\x44\x65leteThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"/\n\x17\x44\x65leteThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t2\x93\x08\n\x10ThumbnailService\x12\x80\x01\n\x03Get\x12*.yandex.cloud.video.v1.GetThumbnailRequest\x1a .yandex.cloud.video.v1.Thumbnail\"+\x82\xd3\xe4\x93\x02%\x12#/video/v1/thumbnails/{thumbnail_id}\x12\x7f\n\x04List\x12+.yandex.cloud.video.v1.ListThumbnailRequest\x1a,.yandex.cloud.video.v1.ListThumbnailResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/video/v1/thumbnails\x12\xa3\x01\n\x06\x43reate\x12-.yandex.cloud.video.v1.CreateThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"G\xb2\xd2*$\n\x17\x43reateThumbnailMetadata\x12\tThumbnail\x82\xd3\xe4\x93\x02\x19\"\x14/video/v1/thumbnails:\x01*\x12\xc9\x01\n\x19\x42\x61tchGenerateDownloadURLs\x12\x37.yandex.cloud.video.v1.BatchGenerateDownloadURLsRequest\x1a\x38.yandex.cloud.video.v1.BatchGenerateDownloadURLsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./video/v1/thumbnails:batchGenerateDownloadURLs:\x01*\x12\xca\x01\n\x11GenerateUploadURL\x12\x38.yandex.cloud.video.v1.GenerateThumbnailUploadURLRequest\x1a\x39.yandex.cloud.video.v1.GenerateThumbnailUploadURLResponse\"@\x82\xd3\xe4\x93\x02:\"5/video/v1/thumbnails/{thumbnail_id}:generateUploadURL:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12-.yandex.cloud.video.v1.DeleteThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*0\n\x17\x44\x65leteThumbnailMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/video/v1/thumbnails/{thumbnail_id}B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -44,7 +44,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
44
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
45
45
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
46
46
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
47
|
-
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\
|
|
47
|
+
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\007<=15000'
|
|
48
48
|
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
49
49
|
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['channel_id']._serialized_options = b'\212\3101\005<=200'
|
|
50
50
|
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
@@ -70,27 +70,31 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
70
70
|
_globals['_GETTHUMBNAILREQUEST']._serialized_start=246
|
|
71
71
|
_globals['_GETTHUMBNAILREQUEST']._serialized_end=303
|
|
72
72
|
_globals['_LISTTHUMBNAILREQUEST']._serialized_start=305
|
|
73
|
-
_globals['_LISTTHUMBNAILREQUEST']._serialized_end=
|
|
74
|
-
_globals['_LISTTHUMBNAILRESPONSE']._serialized_start=
|
|
75
|
-
_globals['_LISTTHUMBNAILRESPONSE']._serialized_end=
|
|
76
|
-
_globals['_CREATETHUMBNAILREQUEST']._serialized_start=
|
|
77
|
-
_globals['_CREATETHUMBNAILREQUEST']._serialized_end=
|
|
78
|
-
_globals['_CREATETHUMBNAILMETADATA']._serialized_start=
|
|
79
|
-
_globals['_CREATETHUMBNAILMETADATA']._serialized_end=
|
|
80
|
-
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_start=
|
|
81
|
-
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_end=
|
|
82
|
-
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_start=
|
|
83
|
-
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_end=
|
|
84
|
-
_globals['_THUMBNAILDOWNLOADURL']._serialized_start=
|
|
85
|
-
_globals['_THUMBNAILDOWNLOADURL']._serialized_end=
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
73
|
+
_globals['_LISTTHUMBNAILREQUEST']._serialized_end=426
|
|
74
|
+
_globals['_LISTTHUMBNAILRESPONSE']._serialized_start=428
|
|
75
|
+
_globals['_LISTTHUMBNAILRESPONSE']._serialized_end=536
|
|
76
|
+
_globals['_CREATETHUMBNAILREQUEST']._serialized_start=538
|
|
77
|
+
_globals['_CREATETHUMBNAILREQUEST']._serialized_end=593
|
|
78
|
+
_globals['_CREATETHUMBNAILMETADATA']._serialized_start=595
|
|
79
|
+
_globals['_CREATETHUMBNAILMETADATA']._serialized_end=642
|
|
80
|
+
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_start=644
|
|
81
|
+
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_end=755
|
|
82
|
+
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_start=757
|
|
83
|
+
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_end=860
|
|
84
|
+
_globals['_THUMBNAILDOWNLOADURL']._serialized_start=863
|
|
85
|
+
_globals['_THUMBNAILDOWNLOADURL']._serialized_end=1215
|
|
86
|
+
_globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_start=1008
|
|
87
|
+
_globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_end=1150
|
|
88
|
+
_globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_start=1152
|
|
89
|
+
_globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_end=1215
|
|
90
|
+
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_start=1217
|
|
91
|
+
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_end=1288
|
|
92
|
+
_globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_start=1290
|
|
93
|
+
_globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_end=1346
|
|
94
|
+
_globals['_DELETETHUMBNAILREQUEST']._serialized_start=1348
|
|
95
|
+
_globals['_DELETETHUMBNAILREQUEST']._serialized_end=1408
|
|
96
|
+
_globals['_DELETETHUMBNAILMETADATA']._serialized_start=1410
|
|
97
|
+
_globals['_DELETETHUMBNAILMETADATA']._serialized_end=1457
|
|
98
|
+
_globals['_THUMBNAILSERVICE']._serialized_start=1460
|
|
99
|
+
_globals['_THUMBNAILSERVICE']._serialized_end=2503
|
|
96
100
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -7,10 +7,17 @@ import builtins
|
|
|
7
7
|
import collections.abc
|
|
8
8
|
import google.protobuf.descriptor
|
|
9
9
|
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
10
11
|
import google.protobuf.message
|
|
12
|
+
import sys
|
|
11
13
|
import typing
|
|
12
14
|
import yandex.cloud.video.v1.thumbnail_pb2
|
|
13
15
|
|
|
16
|
+
if sys.version_info >= (3, 10):
|
|
17
|
+
import typing as typing_extensions
|
|
18
|
+
else:
|
|
19
|
+
import typing_extensions
|
|
20
|
+
|
|
14
21
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
22
|
|
|
16
23
|
@typing.final
|
|
@@ -39,7 +46,9 @@ class ListThumbnailRequest(google.protobuf.message.Message):
|
|
|
39
46
|
channel_id: builtins.str
|
|
40
47
|
"""ID of the channel."""
|
|
41
48
|
page_size: builtins.int
|
|
42
|
-
"""The maximum number of the results per page to return.
|
|
49
|
+
"""The maximum number of the results per page to return.
|
|
50
|
+
Default value: 100.
|
|
51
|
+
"""
|
|
43
52
|
page_token: builtins.str
|
|
44
53
|
"""Page token for getting the next page of the result."""
|
|
45
54
|
def __init__(
|
|
@@ -151,19 +160,72 @@ global___BatchGenerateDownloadURLsResponse = BatchGenerateDownloadURLsResponse
|
|
|
151
160
|
class ThumbnailDownloadURL(google.protobuf.message.Message):
|
|
152
161
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
153
162
|
|
|
163
|
+
class _ImageFormat:
|
|
164
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
165
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
166
|
+
|
|
167
|
+
class _ImageFormatEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ThumbnailDownloadURL._ImageFormat.ValueType], builtins.type):
|
|
168
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
169
|
+
IMAGE_FORMAT_UNSPECIFIED: ThumbnailDownloadURL._ImageFormat.ValueType # 0
|
|
170
|
+
"""Image format unspecified."""
|
|
171
|
+
JPEG: ThumbnailDownloadURL._ImageFormat.ValueType # 1
|
|
172
|
+
"""JPEG image format."""
|
|
173
|
+
WEBP: ThumbnailDownloadURL._ImageFormat.ValueType # 2
|
|
174
|
+
"""WebP image format."""
|
|
175
|
+
|
|
176
|
+
class ImageFormat(_ImageFormat, metaclass=_ImageFormatEnumTypeWrapper): ...
|
|
177
|
+
IMAGE_FORMAT_UNSPECIFIED: ThumbnailDownloadURL.ImageFormat.ValueType # 0
|
|
178
|
+
"""Image format unspecified."""
|
|
179
|
+
JPEG: ThumbnailDownloadURL.ImageFormat.ValueType # 1
|
|
180
|
+
"""JPEG image format."""
|
|
181
|
+
WEBP: ThumbnailDownloadURL.ImageFormat.ValueType # 2
|
|
182
|
+
"""WebP image format."""
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class ScaledURL(google.protobuf.message.Message):
|
|
186
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
187
|
+
|
|
188
|
+
URL_FIELD_NUMBER: builtins.int
|
|
189
|
+
MAX_WIDTH_FIELD_NUMBER: builtins.int
|
|
190
|
+
MAX_HEIGHT_FIELD_NUMBER: builtins.int
|
|
191
|
+
IMAGE_FORMAT_FIELD_NUMBER: builtins.int
|
|
192
|
+
url: builtins.str
|
|
193
|
+
"""Download url."""
|
|
194
|
+
max_width: builtins.int
|
|
195
|
+
"""Maximum width of the rectangle to inscribe the thumbnail into."""
|
|
196
|
+
max_height: builtins.int
|
|
197
|
+
"""Maximum height of the rectangle to inscribe the thumbnail into."""
|
|
198
|
+
image_format: global___ThumbnailDownloadURL.ImageFormat.ValueType
|
|
199
|
+
"""Image format."""
|
|
200
|
+
def __init__(
|
|
201
|
+
self,
|
|
202
|
+
*,
|
|
203
|
+
url: builtins.str = ...,
|
|
204
|
+
max_width: builtins.int = ...,
|
|
205
|
+
max_height: builtins.int = ...,
|
|
206
|
+
image_format: global___ThumbnailDownloadURL.ImageFormat.ValueType = ...,
|
|
207
|
+
) -> None: ...
|
|
208
|
+
def ClearField(self, field_name: typing.Literal["image_format", b"image_format", "max_height", b"max_height", "max_width", b"max_width", "url", b"url"]) -> None: ...
|
|
209
|
+
|
|
154
210
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
155
|
-
|
|
211
|
+
ORIGINAL_URL_FIELD_NUMBER: builtins.int
|
|
212
|
+
SCALED_URLS_FIELD_NUMBER: builtins.int
|
|
156
213
|
thumbnail_id: builtins.str
|
|
157
214
|
"""ID of the thumbnail."""
|
|
158
|
-
|
|
159
|
-
"""
|
|
215
|
+
original_url: builtins.str
|
|
216
|
+
"""Original download url."""
|
|
217
|
+
@property
|
|
218
|
+
def scaled_urls(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ThumbnailDownloadURL.ScaledURL]:
|
|
219
|
+
"""List of download urls, one per each available image size."""
|
|
220
|
+
|
|
160
221
|
def __init__(
|
|
161
222
|
self,
|
|
162
223
|
*,
|
|
163
224
|
thumbnail_id: builtins.str = ...,
|
|
164
|
-
|
|
225
|
+
original_url: builtins.str = ...,
|
|
226
|
+
scaled_urls: collections.abc.Iterable[global___ThumbnailDownloadURL.ScaledURL] | None = ...,
|
|
165
227
|
) -> None: ...
|
|
166
|
-
def ClearField(self, field_name: typing.Literal["
|
|
228
|
+
def ClearField(self, field_name: typing.Literal["original_url", b"original_url", "scaled_urls", b"scaled_urls", "thumbnail_id", b"thumbnail_id"]) -> None: ...
|
|
167
229
|
|
|
168
230
|
global___ThumbnailDownloadURL = ThumbnailDownloadURL
|
|
169
231
|
|
|
@@ -74,7 +74,7 @@ class ThumbnailServiceServicer(object):
|
|
|
74
74
|
"""
|
|
75
75
|
|
|
76
76
|
def Get(self, request, context):
|
|
77
|
-
"""
|
|
77
|
+
"""Get the specific thumbnail.
|
|
78
78
|
"""
|
|
79
79
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
80
|
context.set_details('Method not implemented!')
|
|
@@ -95,14 +95,14 @@ class ThumbnailServiceServicer(object):
|
|
|
95
95
|
raise NotImplementedError('Method not implemented!')
|
|
96
96
|
|
|
97
97
|
def BatchGenerateDownloadURLs(self, request, context):
|
|
98
|
-
"""Generate urls for
|
|
98
|
+
"""Generate urls for downloading images.
|
|
99
99
|
"""
|
|
100
100
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
101
|
context.set_details('Method not implemented!')
|
|
102
102
|
raise NotImplementedError('Method not implemented!')
|
|
103
103
|
|
|
104
104
|
def GenerateUploadURL(self, request, context):
|
|
105
|
-
"""Generate url for
|
|
105
|
+
"""Generate url for uploading an image.
|
|
106
106
|
"""
|
|
107
107
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
108
108
|
context.set_details('Method not implemented!')
|
|
@@ -27,7 +27,7 @@ class ThumbnailServiceStub:
|
|
|
27
27
|
yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
28
28
|
yandex.cloud.video.v1.thumbnail_pb2.Thumbnail,
|
|
29
29
|
]
|
|
30
|
-
"""
|
|
30
|
+
"""Get the specific thumbnail."""
|
|
31
31
|
|
|
32
32
|
List: grpc.UnaryUnaryMultiCallable[
|
|
33
33
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailRequest,
|
|
@@ -45,13 +45,13 @@ class ThumbnailServiceStub:
|
|
|
45
45
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsRequest,
|
|
46
46
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse,
|
|
47
47
|
]
|
|
48
|
-
"""Generate urls for
|
|
48
|
+
"""Generate urls for downloading images."""
|
|
49
49
|
|
|
50
50
|
GenerateUploadURL: grpc.UnaryUnaryMultiCallable[
|
|
51
51
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLRequest,
|
|
52
52
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse,
|
|
53
53
|
]
|
|
54
|
-
"""Generate url for
|
|
54
|
+
"""Generate url for uploading an image."""
|
|
55
55
|
|
|
56
56
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
57
57
|
yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
@@ -66,7 +66,7 @@ class ThumbnailServiceAsyncStub:
|
|
|
66
66
|
yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
67
67
|
yandex.cloud.video.v1.thumbnail_pb2.Thumbnail,
|
|
68
68
|
]
|
|
69
|
-
"""
|
|
69
|
+
"""Get the specific thumbnail."""
|
|
70
70
|
|
|
71
71
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
72
72
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailRequest,
|
|
@@ -84,13 +84,13 @@ class ThumbnailServiceAsyncStub:
|
|
|
84
84
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsRequest,
|
|
85
85
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse,
|
|
86
86
|
]
|
|
87
|
-
"""Generate urls for
|
|
87
|
+
"""Generate urls for downloading images."""
|
|
88
88
|
|
|
89
89
|
GenerateUploadURL: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
90
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLRequest,
|
|
91
91
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse,
|
|
92
92
|
]
|
|
93
|
-
"""Generate url for
|
|
93
|
+
"""Generate url for uploading an image."""
|
|
94
94
|
|
|
95
95
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
96
96
|
yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
@@ -107,7 +107,7 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
107
107
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
108
108
|
context: _ServicerContext,
|
|
109
109
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_pb2.Thumbnail, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_pb2.Thumbnail]]:
|
|
110
|
-
"""
|
|
110
|
+
"""Get the specific thumbnail."""
|
|
111
111
|
|
|
112
112
|
@abc.abstractmethod
|
|
113
113
|
def List(
|
|
@@ -131,7 +131,7 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
131
131
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsRequest,
|
|
132
132
|
context: _ServicerContext,
|
|
133
133
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse]]:
|
|
134
|
-
"""Generate urls for
|
|
134
|
+
"""Generate urls for downloading images."""
|
|
135
135
|
|
|
136
136
|
@abc.abstractmethod
|
|
137
137
|
def GenerateUploadURL(
|
|
@@ -139,7 +139,7 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
139
139
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLRequest,
|
|
140
140
|
context: _ServicerContext,
|
|
141
141
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse]]:
|
|
142
|
-
"""Generate url for
|
|
142
|
+
"""Generate url for uploading an image."""
|
|
143
143
|
|
|
144
144
|
@abc.abstractmethod
|
|
145
145
|
def Delete(
|
|
@@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
27
27
|
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!yandex/cloud/video/v1/video.proto\x12\x15yandex.cloud.video.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!yandex/cloud/video/v1/video.proto\x12\x15yandex.cloud.video.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xb0\t\n\x05Video\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x14\n\x0cthumbnail_id\x18\x05 \x01(\t\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.yandex.cloud.video.v1.Video.VideoStatus\x12\x15\n\rerror_message\x18\x12 \x01(\t\x12H\n\x11visibility_status\x18\t \x01(\x0e\x32-.yandex.cloud.video.v1.Video.VisibilityStatus\x12+\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0e\x61uto_transcode\x18\x0b \x01(\x0e\x32$.yandex.cloud.video.v1.AutoTranscode\x12-\n\tenable_ad\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x14\n\x0csubtitle_ids\x18\x0c \x03(\t\x12\x36\n\x08\x66\x65\x61tures\x18\r \x01(\x0b\x32$.yandex.cloud.video.v1.VideoFeatures\x12\x37\n\x04tusd\x18\xe8\x07 \x01(\x0b\x32&.yandex.cloud.video.v1.VideoTUSDSourceH\x00\x12H\n\rpublic_access\x18\xd0\x0f \x01(\x0b\x32..yandex.cloud.video.v1.VideoPublicAccessRightsH\x01\x12K\n\x0fsign_url_access\x18\xd3\x0f \x01(\x0b\x32/.yandex.cloud.video.v1.VideoSignURLAccessRightsH\x01\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x06labels\x18\xc8\x01 \x03(\x0b\x32(.yandex.cloud.video.v1.Video.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x7f\n\x0bVideoStatus\x12\x1c\n\x18VIDEO_STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eWAIT_UPLOADING\x10\x01\x12\x0c\n\x08UPLOADED\x10\x02\x12\x0e\n\nPROCESSING\x10\x04\x12\t\n\x05READY\x10\x05\x12\t\n\x05\x45RROR\x10\x07\"\x04\x08\x03\x10\x03\"\x04\x08\x06\x10\x06\"U\n\x10VisibilityStatus\x12!\n\x1dVISIBILITY_STATUS_UNSPECIFIED\x10\x00\x12\r\n\tPUBLISHED\x10\x01\x12\x0f\n\x0bUNPUBLISHED\x10\x02\x42\x08\n\x06sourceB\x0f\n\raccess_rightsJ\x06\x08\xd1\x0f\x10\xd2\x0fJ\x06\x08\xd2\x0f\x10\xd3\x0fJ\x04\x08\x07\x10\x08J\x04\x08\n\x10\x0bJ\x04\x08\x0e\x10\x11J\x04\x08\x13\x10\x64J\x05\x08\x66\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07J\x06\x08\xe9\x07\x10\xd0\x0f\"1\n\x0fVideoTUSDSource\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tfile_size\x18\x02 \x01(\x03\"\x19\n\x17VideoPublicAccessRights\"\x1a\n\x18VideoSignURLAccessRights\"\x9a\x03\n\rVideoFeatures\x12=\n\x07summary\x18\x01 \x01(\x0b\x32,.yandex.cloud.video.v1.VideoFeatures.Summary\x1a\xdc\x01\n\x07Summary\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.yandex.cloud.video.v1.VideoFeatures.FeatureResult\x12\x45\n\x04urls\x18\x03 \x03(\x0b\x32\x37.yandex.cloud.video.v1.VideoFeatures.Summary.SummaryURL\x1a@\n\nSummaryURL\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x0btrack_index\x18\x02 \x01(\x03\x12\x10\n\x08src_lang\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03\"k\n\rFeatureResult\x12\x1e\n\x1a\x46\x45\x41TURE_RESULT_UNSPECIFIED\x10\x00\x12\x11\n\rNOT_REQUESTED\x10\x01\x12\x0e\n\nPROCESSING\x10\x02\x12\x0b\n\x07SUCCESS\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04*H\n\rAutoTranscode\x12\x1e\n\x1a\x41UTO_TRANSCODE_UNSPECIFIED\x10\x00\x12\n\n\x06\x45NABLE\x10\x01\x12\x0b\n\x07\x44ISABLE\x10\x02\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,22 +37,28 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
38
38
|
_globals['_VIDEO_LABELSENTRY']._loaded_options = None
|
|
39
39
|
_globals['_VIDEO_LABELSENTRY']._serialized_options = b'8\001'
|
|
40
|
-
_globals['_AUTOTRANSCODE']._serialized_start=
|
|
41
|
-
_globals['_AUTOTRANSCODE']._serialized_end=
|
|
40
|
+
_globals['_AUTOTRANSCODE']._serialized_start=1879
|
|
41
|
+
_globals['_AUTOTRANSCODE']._serialized_end=1951
|
|
42
42
|
_globals['_VIDEO']._serialized_start=158
|
|
43
|
-
_globals['_VIDEO']._serialized_end=
|
|
44
|
-
_globals['_VIDEO_LABELSENTRY']._serialized_start=
|
|
45
|
-
_globals['_VIDEO_LABELSENTRY']._serialized_end=
|
|
46
|
-
_globals['_VIDEO_VIDEOSTATUS']._serialized_start=
|
|
47
|
-
_globals['_VIDEO_VIDEOSTATUS']._serialized_end=
|
|
48
|
-
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_start=
|
|
49
|
-
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_end=
|
|
50
|
-
_globals['_VIDEOTUSDSOURCE']._serialized_start=
|
|
51
|
-
_globals['_VIDEOTUSDSOURCE']._serialized_end=
|
|
52
|
-
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_start=
|
|
53
|
-
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_end=
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
43
|
+
_globals['_VIDEO']._serialized_end=1358
|
|
44
|
+
_globals['_VIDEO_LABELSENTRY']._serialized_start=1007
|
|
45
|
+
_globals['_VIDEO_LABELSENTRY']._serialized_end=1052
|
|
46
|
+
_globals['_VIDEO_VIDEOSTATUS']._serialized_start=1054
|
|
47
|
+
_globals['_VIDEO_VIDEOSTATUS']._serialized_end=1181
|
|
48
|
+
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_start=1183
|
|
49
|
+
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_end=1268
|
|
50
|
+
_globals['_VIDEOTUSDSOURCE']._serialized_start=1360
|
|
51
|
+
_globals['_VIDEOTUSDSOURCE']._serialized_end=1409
|
|
52
|
+
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_start=1411
|
|
53
|
+
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_end=1436
|
|
54
|
+
_globals['_VIDEOSIGNURLACCESSRIGHTS']._serialized_start=1438
|
|
55
|
+
_globals['_VIDEOSIGNURLACCESSRIGHTS']._serialized_end=1464
|
|
56
|
+
_globals['_VIDEOFEATURES']._serialized_start=1467
|
|
57
|
+
_globals['_VIDEOFEATURES']._serialized_end=1877
|
|
58
|
+
_globals['_VIDEOFEATURES_SUMMARY']._serialized_start=1548
|
|
59
|
+
_globals['_VIDEOFEATURES_SUMMARY']._serialized_end=1768
|
|
60
|
+
_globals['_VIDEOFEATURES_SUMMARY_SUMMARYURL']._serialized_start=1698
|
|
61
|
+
_globals['_VIDEOFEATURES_SUMMARY_SUMMARYURL']._serialized_end=1762
|
|
62
|
+
_globals['_VIDEOFEATURES_FEATURERESULT']._serialized_start=1770
|
|
63
|
+
_globals['_VIDEOFEATURES_FEATURERESULT']._serialized_end=1877
|
|
58
64
|
# @@protoc_insertion_point(module_scope)
|