yandexcloud 0.336.0__py3-none-any.whl → 0.337.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.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- 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/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/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_service_pb2.py +16 -12
- 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 +1 -1
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/RECORD +177 -99
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/top_level.txt +0 -0
|
@@ -10,6 +10,7 @@ import google.protobuf.field_mask_pb2
|
|
|
10
10
|
import google.protobuf.internal.containers
|
|
11
11
|
import google.protobuf.message
|
|
12
12
|
import google.protobuf.timestamp_pb2
|
|
13
|
+
import google.protobuf.wrappers_pb2
|
|
13
14
|
import typing
|
|
14
15
|
import yandex.cloud.video.v1.stream_pb2
|
|
15
16
|
|
|
@@ -43,22 +44,26 @@ class ListStreamsRequest(google.protobuf.message.Message):
|
|
|
43
44
|
channel_id: builtins.str
|
|
44
45
|
"""ID of the channel."""
|
|
45
46
|
page_size: builtins.int
|
|
46
|
-
"""The maximum number of the results per page to return.
|
|
47
|
+
"""The maximum number of the results per page to return.
|
|
48
|
+
Default value: 100.
|
|
49
|
+
"""
|
|
47
50
|
page_token: builtins.str
|
|
48
51
|
"""Page token for getting the next page of the result."""
|
|
49
52
|
order_by: builtins.str
|
|
50
53
|
"""By which column the listing should be ordered and in which direction,
|
|
51
|
-
format is "
|
|
52
|
-
|
|
54
|
+
format is "<field> <order>" (e.g. "createdAt desc").
|
|
55
|
+
Default: "id asc".
|
|
56
|
+
Possible fields: ["id", "title", "startTime", "finishTime", "createdAt", "updatedAt"].
|
|
53
57
|
Both snake_case and camelCase are supported for fields.
|
|
54
58
|
"""
|
|
55
59
|
filter: builtins.str
|
|
56
60
|
"""Filter expression that filters resources listed in the response.
|
|
57
61
|
Expressions are composed of terms connected by logic operators.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
Supported
|
|
62
|
+
If value contains spaces or quotes,
|
|
63
|
+
it should be in quotes (`'` or `"`) with the inner quotes being backslash escaped.
|
|
64
|
+
Example: "key1='value' AND key2='value'".
|
|
65
|
+
Supported operators: ["AND", "OR"].
|
|
66
|
+
Supported fields: ["id", "title", "lineId", "status"].
|
|
62
67
|
Both snake_case and camelCase are supported for fields.
|
|
63
68
|
"""
|
|
64
69
|
def __init__(
|
|
@@ -161,6 +166,7 @@ class CreateStreamRequest(google.protobuf.message.Message):
|
|
|
161
166
|
TITLE_FIELD_NUMBER: builtins.int
|
|
162
167
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
163
168
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
169
|
+
AUTO_PUBLISH_FIELD_NUMBER: builtins.int
|
|
164
170
|
LABELS_FIELD_NUMBER: builtins.int
|
|
165
171
|
ON_DEMAND_FIELD_NUMBER: builtins.int
|
|
166
172
|
SCHEDULE_FIELD_NUMBER: builtins.int
|
|
@@ -174,17 +180,23 @@ class CreateStreamRequest(google.protobuf.message.Message):
|
|
|
174
180
|
"""Stream description."""
|
|
175
181
|
thumbnail_id: builtins.str
|
|
176
182
|
"""ID of the thumbnail."""
|
|
183
|
+
@property
|
|
184
|
+
def auto_publish(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
185
|
+
"""Automatically publish stream when ready.
|
|
186
|
+
Switches status from READY to ONAIR.
|
|
187
|
+
"""
|
|
188
|
+
|
|
177
189
|
@property
|
|
178
190
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
179
191
|
"""Custom labels as `` key:value `` pairs. Maximum 64 per resource."""
|
|
180
192
|
|
|
181
193
|
@property
|
|
182
194
|
def on_demand(self) -> global___OnDemandParams:
|
|
183
|
-
"""On
|
|
195
|
+
"""On-demand stream. Starts immediately when a signal appears."""
|
|
184
196
|
|
|
185
197
|
@property
|
|
186
198
|
def schedule(self) -> global___ScheduleParams:
|
|
187
|
-
"""Schedule stream.
|
|
199
|
+
"""Schedule stream. Starts or finishes at the specified time."""
|
|
188
200
|
|
|
189
201
|
def __init__(
|
|
190
202
|
self,
|
|
@@ -194,12 +206,13 @@ class CreateStreamRequest(google.protobuf.message.Message):
|
|
|
194
206
|
title: builtins.str = ...,
|
|
195
207
|
description: builtins.str = ...,
|
|
196
208
|
thumbnail_id: builtins.str = ...,
|
|
209
|
+
auto_publish: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
197
210
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
198
211
|
on_demand: global___OnDemandParams | None = ...,
|
|
199
212
|
schedule: global___ScheduleParams | None = ...,
|
|
200
213
|
) -> None: ...
|
|
201
|
-
def HasField(self, field_name: typing.Literal["on_demand", b"on_demand", "schedule", b"schedule", "stream_type", b"stream_type"]) -> builtins.bool: ...
|
|
202
|
-
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "description", b"description", "labels", b"labels", "line_id", b"line_id", "on_demand", b"on_demand", "schedule", b"schedule", "stream_type", b"stream_type", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
214
|
+
def HasField(self, field_name: typing.Literal["auto_publish", b"auto_publish", "on_demand", b"on_demand", "schedule", b"schedule", "stream_type", b"stream_type"]) -> builtins.bool: ...
|
|
215
|
+
def ClearField(self, field_name: typing.Literal["auto_publish", b"auto_publish", "channel_id", b"channel_id", "description", b"description", "labels", b"labels", "line_id", b"line_id", "on_demand", b"on_demand", "schedule", b"schedule", "stream_type", b"stream_type", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
203
216
|
def WhichOneof(self, oneof_group: typing.Literal["stream_type", b"stream_type"]) -> typing.Literal["on_demand", "schedule"] | None: ...
|
|
204
217
|
|
|
205
218
|
global___CreateStreamRequest = CreateStreamRequest
|
|
@@ -277,6 +290,7 @@ class UpdateStreamRequest(google.protobuf.message.Message):
|
|
|
277
290
|
TITLE_FIELD_NUMBER: builtins.int
|
|
278
291
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
279
292
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
293
|
+
AUTO_PUBLISH_FIELD_NUMBER: builtins.int
|
|
280
294
|
LABELS_FIELD_NUMBER: builtins.int
|
|
281
295
|
ON_DEMAND_FIELD_NUMBER: builtins.int
|
|
282
296
|
SCHEDULE_FIELD_NUMBER: builtins.int
|
|
@@ -294,6 +308,12 @@ class UpdateStreamRequest(google.protobuf.message.Message):
|
|
|
294
308
|
def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
295
309
|
"""Field mask that specifies which fields of the stream are going to be updated."""
|
|
296
310
|
|
|
311
|
+
@property
|
|
312
|
+
def auto_publish(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
313
|
+
"""Automatically publish stream when ready.
|
|
314
|
+
Switches status from READY to ONAIR.
|
|
315
|
+
"""
|
|
316
|
+
|
|
297
317
|
@property
|
|
298
318
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
299
319
|
"""Custom labels as `` key:value `` pairs. Maximum 64 per resource."""
|
|
@@ -315,12 +335,13 @@ class UpdateStreamRequest(google.protobuf.message.Message):
|
|
|
315
335
|
title: builtins.str = ...,
|
|
316
336
|
description: builtins.str = ...,
|
|
317
337
|
thumbnail_id: builtins.str = ...,
|
|
338
|
+
auto_publish: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
318
339
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
319
340
|
on_demand: global___OnDemandParams | None = ...,
|
|
320
341
|
schedule: global___ScheduleParams | None = ...,
|
|
321
342
|
) -> None: ...
|
|
322
|
-
def HasField(self, field_name: typing.Literal["field_mask", b"field_mask", "on_demand", b"on_demand", "schedule", b"schedule", "stream_type", b"stream_type"]) -> builtins.bool: ...
|
|
323
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "field_mask", b"field_mask", "labels", b"labels", "line_id", b"line_id", "on_demand", b"on_demand", "schedule", b"schedule", "stream_id", b"stream_id", "stream_type", b"stream_type", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
343
|
+
def HasField(self, field_name: typing.Literal["auto_publish", b"auto_publish", "field_mask", b"field_mask", "on_demand", b"on_demand", "schedule", b"schedule", "stream_type", b"stream_type"]) -> builtins.bool: ...
|
|
344
|
+
def ClearField(self, field_name: typing.Literal["auto_publish", b"auto_publish", "description", b"description", "field_mask", b"field_mask", "labels", b"labels", "line_id", b"line_id", "on_demand", b"on_demand", "schedule", b"schedule", "stream_id", b"stream_id", "stream_type", b"stream_type", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
324
345
|
def WhichOneof(self, oneof_group: typing.Literal["stream_type", b"stream_type"]) -> typing.Literal["on_demand", "schedule"] | None: ...
|
|
325
346
|
|
|
326
347
|
global___UpdateStreamRequest = UpdateStreamRequest
|
|
@@ -84,7 +84,7 @@ class StreamServiceServicer(object):
|
|
|
84
84
|
"""
|
|
85
85
|
|
|
86
86
|
def Get(self, request, context):
|
|
87
|
-
"""
|
|
87
|
+
"""Get the specific stream.
|
|
88
88
|
"""
|
|
89
89
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
90
90
|
context.set_details('Method not implemented!')
|
|
@@ -133,7 +133,7 @@ class StreamServiceServicer(object):
|
|
|
133
133
|
raise NotImplementedError('Method not implemented!')
|
|
134
134
|
|
|
135
135
|
def PerformAction(self, request, context):
|
|
136
|
-
"""Perform an action on the
|
|
136
|
+
"""Perform an action on the stream.
|
|
137
137
|
"""
|
|
138
138
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
139
139
|
context.set_details('Method not implemented!')
|
|
@@ -27,7 +27,7 @@ class StreamServiceStub:
|
|
|
27
27
|
yandex.cloud.video.v1.stream_service_pb2.GetStreamRequest,
|
|
28
28
|
yandex.cloud.video.v1.stream_pb2.Stream,
|
|
29
29
|
]
|
|
30
|
-
"""
|
|
30
|
+
"""Get the specific stream."""
|
|
31
31
|
|
|
32
32
|
List: grpc.UnaryUnaryMultiCallable[
|
|
33
33
|
yandex.cloud.video.v1.stream_service_pb2.ListStreamsRequest,
|
|
@@ -69,7 +69,7 @@ class StreamServiceStub:
|
|
|
69
69
|
yandex.cloud.video.v1.stream_service_pb2.PerformStreamActionRequest,
|
|
70
70
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
71
71
|
]
|
|
72
|
-
"""Perform an action on the
|
|
72
|
+
"""Perform an action on the stream."""
|
|
73
73
|
|
|
74
74
|
class StreamServiceAsyncStub:
|
|
75
75
|
"""Stream management service."""
|
|
@@ -78,7 +78,7 @@ class StreamServiceAsyncStub:
|
|
|
78
78
|
yandex.cloud.video.v1.stream_service_pb2.GetStreamRequest,
|
|
79
79
|
yandex.cloud.video.v1.stream_pb2.Stream,
|
|
80
80
|
]
|
|
81
|
-
"""
|
|
81
|
+
"""Get the specific stream."""
|
|
82
82
|
|
|
83
83
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
84
84
|
yandex.cloud.video.v1.stream_service_pb2.ListStreamsRequest,
|
|
@@ -120,7 +120,7 @@ class StreamServiceAsyncStub:
|
|
|
120
120
|
yandex.cloud.video.v1.stream_service_pb2.PerformStreamActionRequest,
|
|
121
121
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
122
122
|
]
|
|
123
|
-
"""Perform an action on the
|
|
123
|
+
"""Perform an action on the stream."""
|
|
124
124
|
|
|
125
125
|
class StreamServiceServicer(metaclass=abc.ABCMeta):
|
|
126
126
|
"""Stream management service."""
|
|
@@ -131,7 +131,7 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
|
|
|
131
131
|
request: yandex.cloud.video.v1.stream_service_pb2.GetStreamRequest,
|
|
132
132
|
context: _ServicerContext,
|
|
133
133
|
) -> typing.Union[yandex.cloud.video.v1.stream_pb2.Stream, collections.abc.Awaitable[yandex.cloud.video.v1.stream_pb2.Stream]]:
|
|
134
|
-
"""
|
|
134
|
+
"""Get the specific stream."""
|
|
135
135
|
|
|
136
136
|
@abc.abstractmethod
|
|
137
137
|
def List(
|
|
@@ -187,6 +187,6 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
|
|
|
187
187
|
request: yandex.cloud.video.v1.stream_service_pb2.PerformStreamActionRequest,
|
|
188
188
|
context: _ServicerContext,
|
|
189
189
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
190
|
-
"""Perform an action on the
|
|
190
|
+
"""Perform an action on the stream."""
|
|
191
191
|
|
|
192
192
|
def add_StreamServiceServicer_to_server(servicer: StreamServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/video/v1/subtitle.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/video/v1/subtitle.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8d\x04\n\x08Subtitle\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12>\n\x06status\x18\x04 \x01(\x0e\x32..yandex.cloud.video.v1.Subtitle.SubtitleStatus\x12G\n\x0bsource_type\x18\x06 \x01(\x0e\x32\x32.yandex.cloud.video.v1.Subtitle.SubtitleSourceType\x12\x10\n\x08\x66ilename\x18\x05 \x01(\t\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\x13\n\x08video_id\x18\xe8\x07 \x01(\tH\x00\"S\n\x0eSubtitleStatus\x12\x1f\n\x1bSUBTITLE_STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eWAIT_UPLOADING\x10\x01\x12\x0c\n\x08UPLOADED\x10\x02\"U\n\x12SubtitleSourceType\x12$\n SUBTITLE_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06MANUAL\x10\x01\x12\r\n\tGENERATED\x10\x02\x42\x0b\n\tparent_idJ\x04\x08\x07\x10\x64J\x05\x08\x66\x10\xe8\x07\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,7 +34,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
36
36
|
_globals['_SUBTITLE']._serialized_start=97
|
|
37
|
-
_globals['_SUBTITLE']._serialized_end=
|
|
38
|
-
_globals['_SUBTITLE_SUBTITLESTATUS']._serialized_start=
|
|
39
|
-
_globals['_SUBTITLE_SUBTITLESTATUS']._serialized_end=
|
|
37
|
+
_globals['_SUBTITLE']._serialized_end=622
|
|
38
|
+
_globals['_SUBTITLE_SUBTITLESTATUS']._serialized_start=426
|
|
39
|
+
_globals['_SUBTITLE_SUBTITLESTATUS']._serialized_end=509
|
|
40
|
+
_globals['_SUBTITLE_SUBTITLESOURCETYPE']._serialized_start=511
|
|
41
|
+
_globals['_SUBTITLE_SUBTITLESOURCETYPE']._serialized_end=596
|
|
40
42
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -43,10 +43,32 @@ class Subtitle(google.protobuf.message.Message):
|
|
|
43
43
|
UPLOADED: Subtitle.SubtitleStatus.ValueType # 2
|
|
44
44
|
"""Uploading is complete."""
|
|
45
45
|
|
|
46
|
+
class _SubtitleSourceType:
|
|
47
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
48
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
49
|
+
|
|
50
|
+
class _SubtitleSourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Subtitle._SubtitleSourceType.ValueType], builtins.type):
|
|
51
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
52
|
+
SUBTITLE_SOURCE_TYPE_UNSPECIFIED: Subtitle._SubtitleSourceType.ValueType # 0
|
|
53
|
+
"""Subtitle source type unspecified."""
|
|
54
|
+
MANUAL: Subtitle._SubtitleSourceType.ValueType # 1
|
|
55
|
+
"""Manually uploaded subtitle."""
|
|
56
|
+
GENERATED: Subtitle._SubtitleSourceType.ValueType # 2
|
|
57
|
+
"""Automatically generated subtitle."""
|
|
58
|
+
|
|
59
|
+
class SubtitleSourceType(_SubtitleSourceType, metaclass=_SubtitleSourceTypeEnumTypeWrapper): ...
|
|
60
|
+
SUBTITLE_SOURCE_TYPE_UNSPECIFIED: Subtitle.SubtitleSourceType.ValueType # 0
|
|
61
|
+
"""Subtitle source type unspecified."""
|
|
62
|
+
MANUAL: Subtitle.SubtitleSourceType.ValueType # 1
|
|
63
|
+
"""Manually uploaded subtitle."""
|
|
64
|
+
GENERATED: Subtitle.SubtitleSourceType.ValueType # 2
|
|
65
|
+
"""Automatically generated subtitle."""
|
|
66
|
+
|
|
46
67
|
ID_FIELD_NUMBER: builtins.int
|
|
47
68
|
LANGUAGE_FIELD_NUMBER: builtins.int
|
|
48
69
|
LABEL_FIELD_NUMBER: builtins.int
|
|
49
70
|
STATUS_FIELD_NUMBER: builtins.int
|
|
71
|
+
SOURCE_TYPE_FIELD_NUMBER: builtins.int
|
|
50
72
|
FILENAME_FIELD_NUMBER: builtins.int
|
|
51
73
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
52
74
|
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
@@ -54,11 +76,16 @@ class Subtitle(google.protobuf.message.Message):
|
|
|
54
76
|
id: builtins.str
|
|
55
77
|
"""ID of the subtitle."""
|
|
56
78
|
language: builtins.str
|
|
57
|
-
"""Subtitle language
|
|
79
|
+
"""Subtitle language in any of the following formats:
|
|
80
|
+
* three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3
|
|
81
|
+
* two-letter code according to ISO 639-1
|
|
82
|
+
"""
|
|
58
83
|
label: builtins.str
|
|
59
84
|
"""Subtitle caption to be displayed on screen during video playback."""
|
|
60
85
|
status: global___Subtitle.SubtitleStatus.ValueType
|
|
61
86
|
"""Subtitle status."""
|
|
87
|
+
source_type: global___Subtitle.SubtitleSourceType.ValueType
|
|
88
|
+
"""Source type."""
|
|
62
89
|
filename: builtins.str
|
|
63
90
|
"""Subtitle filename."""
|
|
64
91
|
video_id: builtins.str
|
|
@@ -78,13 +105,14 @@ class Subtitle(google.protobuf.message.Message):
|
|
|
78
105
|
language: builtins.str = ...,
|
|
79
106
|
label: builtins.str = ...,
|
|
80
107
|
status: global___Subtitle.SubtitleStatus.ValueType = ...,
|
|
108
|
+
source_type: global___Subtitle.SubtitleSourceType.ValueType = ...,
|
|
81
109
|
filename: builtins.str = ...,
|
|
82
110
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
83
111
|
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
84
112
|
video_id: builtins.str = ...,
|
|
85
113
|
) -> None: ...
|
|
86
114
|
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "parent_id", b"parent_id", "updated_at", b"updated_at", "video_id", b"video_id"]) -> builtins.bool: ...
|
|
87
|
-
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "filename", b"filename", "id", b"id", "label", b"label", "language", b"language", "parent_id", b"parent_id", "status", b"status", "updated_at", b"updated_at", "video_id", b"video_id"]) -> None: ...
|
|
115
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "filename", b"filename", "id", b"id", "label", b"label", "language", b"language", "parent_id", b"parent_id", "source_type", b"source_type", "status", b"status", "updated_at", b"updated_at", "video_id", b"video_id"]) -> None: ...
|
|
88
116
|
def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["video_id"] | None: ...
|
|
89
117
|
|
|
90
118
|
global___Subtitle = Subtitle
|
|
@@ -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)
|