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.
Files changed (193) hide show
  1. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +11 -3
  2. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +34 -0
  3. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +45 -0
  4. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +26 -0
  5. yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +24 -24
  6. yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +11 -1
  7. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.py +37 -0
  8. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.pyi +43 -0
  9. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.py +24 -0
  10. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.pyi +17 -0
  11. yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.py +8 -7
  12. yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +9 -1
  13. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +26 -15
  14. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +87 -0
  15. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.py +77 -0
  16. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.pyi +38 -0
  17. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +12 -5
  18. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +29 -1
  19. yandex/cloud/airflow/v1/cluster_pb2.py +36 -35
  20. yandex/cloud/airflow/v1/cluster_pb2.pyi +15 -2
  21. yandex/cloud/airflow/v1/cluster_service_pb2.py +42 -41
  22. yandex/cloud/airflow/v1/cluster_service_pb2.pyi +17 -4
  23. yandex/cloud/airflow/v1/maintenance_pb2.py +53 -0
  24. yandex/cloud/airflow/v1/maintenance_pb2.pyi +123 -0
  25. yandex/cloud/airflow/v1/maintenance_pb2_grpc.py +24 -0
  26. yandex/cloud/airflow/v1/maintenance_pb2_grpc.pyi +17 -0
  27. yandex/cloud/backup/v1/backup_service_pb2.py +44 -40
  28. yandex/cloud/backup/v1/backup_service_pb2.pyi +14 -2
  29. yandex/cloud/iam/v1/key_service_pb2.pyi +0 -2
  30. yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
  31. yandex/cloud/iot/devices/v1/device_pb2.pyi +23 -1
  32. yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
  33. yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
  34. yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
  35. yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
  36. yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
  37. yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
  38. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
  39. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
  40. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
  41. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
  42. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
  43. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
  44. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
  45. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
  46. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
  47. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
  48. yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
  49. yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
  50. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +21 -3
  51. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +86 -0
  52. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +89 -0
  53. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +49 -3
  54. yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
  55. yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
  56. yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
  57. yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
  58. yandex/cloud/mdb/spqr/__init__.py +0 -0
  59. yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
  60. yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
  61. yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
  62. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
  63. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
  64. yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
  65. yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
  66. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
  67. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
  68. yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
  69. yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
  70. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
  71. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
  72. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
  73. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
  74. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
  75. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
  76. yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
  77. yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
  78. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
  79. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
  80. yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
  81. yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
  82. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
  83. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
  84. yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
  85. yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
  86. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
  87. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
  88. yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
  89. yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
  90. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
  91. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
  92. yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
  93. yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
  94. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
  95. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
  96. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
  97. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
  98. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
  99. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
  100. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
  101. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
  102. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
  103. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
  104. yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
  105. yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
  106. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
  107. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
  108. yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
  109. yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
  110. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
  111. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
  112. yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
  113. yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
  114. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
  115. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
  116. yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
  117. yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
  118. yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
  119. yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
  120. yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
  121. yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
  122. yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
  123. yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
  124. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
  125. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
  126. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
  127. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
  128. yandex/cloud/searchapi/v2/search_query_pb2.py +8 -8
  129. yandex/cloud/searchapi/v2/search_query_pb2.pyi +8 -0
  130. yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
  131. yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +11 -3
  132. yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +24 -0
  133. yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +44 -0
  134. yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +20 -0
  135. yandex/cloud/storage/v1/s3api_pb2.py +7 -1
  136. yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
  137. yandex/cloud/video/v1/channel_pb2.py +16 -11
  138. yandex/cloud/video/v1/channel_pb2.pyi +32 -2
  139. yandex/cloud/video/v1/channel_service_pb2.py +34 -30
  140. yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
  141. yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
  142. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
  143. yandex/cloud/video/v1/episode_pb2.pyi +5 -4
  144. yandex/cloud/video/v1/episode_service_pb2.py +56 -52
  145. yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
  146. yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
  147. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
  148. yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
  149. yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
  150. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
  151. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
  152. yandex/cloud/video/v1/stream_line_pb2.py +16 -24
  153. yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
  154. yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
  155. yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
  156. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
  157. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
  158. yandex/cloud/video/v1/stream_pb2.py +12 -11
  159. yandex/cloud/video/v1/stream_pb2.pyi +19 -6
  160. yandex/cloud/video/v1/stream_service_pb2.py +54 -49
  161. yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
  162. yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
  163. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
  164. yandex/cloud/video/v1/subtitle_pb2.py +6 -4
  165. yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
  166. yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
  167. yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
  168. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
  169. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
  170. yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
  171. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
  172. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
  173. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
  174. yandex/cloud/video/v1/video_pb2.py +24 -18
  175. yandex/cloud/video/v1/video_pb2.pyi +130 -38
  176. yandex/cloud/video/v1/video_service_pb2.py +114 -66
  177. yandex/cloud/video/v1/video_service_pb2.pyi +279 -40
  178. yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
  179. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
  180. yandex/cloud/ydb/v1/database_pb2.py +46 -46
  181. yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
  182. yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
  183. yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
  184. yandexcloud/__init__.py +2 -2
  185. yandexcloud/_operation_waiter.py +17 -19
  186. yandexcloud/_retry_policy.py +17 -3
  187. yandexcloud/_wrappers/dataproc/__init__.py +39 -0
  188. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/METADATA +9 -9
  189. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/RECORD +193 -115
  190. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/AUTHORS +0 -0
  191. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/LICENSE +0 -0
  192. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/WHEEL +0 -0
  193. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/top_level.txt +0 -0
@@ -10,6 +10,7 @@ import google.protobuf.internal.containers
10
10
  import google.protobuf.internal.enum_type_wrapper
11
11
  import google.protobuf.message
12
12
  import google.protobuf.timestamp_pb2
13
+ import google.protobuf.wrappers_pb2
13
14
  import sys
14
15
  import typing
15
16
 
@@ -85,6 +86,7 @@ class Stream(google.protobuf.message.Message):
85
86
  START_TIME_FIELD_NUMBER: builtins.int
86
87
  PUBLISH_TIME_FIELD_NUMBER: builtins.int
87
88
  FINISH_TIME_FIELD_NUMBER: builtins.int
89
+ AUTO_PUBLISH_FIELD_NUMBER: builtins.int
88
90
  ON_DEMAND_FIELD_NUMBER: builtins.int
89
91
  SCHEDULE_FIELD_NUMBER: builtins.int
90
92
  CREATED_AT_FIELD_NUMBER: builtins.int
@@ -116,13 +118,19 @@ class Stream(google.protobuf.message.Message):
116
118
  def finish_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
117
119
  """Stream finish time."""
118
120
 
121
+ @property
122
+ def auto_publish(self) -> google.protobuf.wrappers_pb2.BoolValue:
123
+ """Automatically publish stream when ready.
124
+ Switches status from READY to ONAIR.
125
+ """
126
+
119
127
  @property
120
128
  def on_demand(self) -> global___OnDemand:
121
- """On demand stream. It starts immediately when a signal appears."""
129
+ """On-demand stream. Starts immediately when a signal appears."""
122
130
 
123
131
  @property
124
132
  def schedule(self) -> global___Schedule:
125
- """Schedule stream. Determines when to start receiving the signal or finish time."""
133
+ """Schedule stream. Starts or finished at the specified time."""
126
134
 
127
135
  @property
128
136
  def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
@@ -149,21 +157,24 @@ class Stream(google.protobuf.message.Message):
149
157
  start_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
150
158
  publish_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
151
159
  finish_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
160
+ auto_publish: google.protobuf.wrappers_pb2.BoolValue | None = ...,
152
161
  on_demand: global___OnDemand | None = ...,
153
162
  schedule: global___Schedule | None = ...,
154
163
  created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
155
164
  updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
156
165
  labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
157
166
  ) -> None: ...
158
- def HasField(self, field_name: typing.Literal["created_at", b"created_at", "finish_time", b"finish_time", "on_demand", b"on_demand", "publish_time", b"publish_time", "schedule", b"schedule", "start_time", b"start_time", "stream_type", b"stream_type", "updated_at", b"updated_at"]) -> builtins.bool: ...
159
- def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "finish_time", b"finish_time", "id", b"id", "labels", b"labels", "line_id", b"line_id", "on_demand", b"on_demand", "publish_time", b"publish_time", "schedule", b"schedule", "start_time", b"start_time", "status", b"status", "stream_type", b"stream_type", "thumbnail_id", b"thumbnail_id", "title", b"title", "updated_at", b"updated_at"]) -> None: ...
167
+ def HasField(self, field_name: typing.Literal["auto_publish", b"auto_publish", "created_at", b"created_at", "finish_time", b"finish_time", "on_demand", b"on_demand", "publish_time", b"publish_time", "schedule", b"schedule", "start_time", b"start_time", "stream_type", b"stream_type", "updated_at", b"updated_at"]) -> builtins.bool: ...
168
+ def ClearField(self, field_name: typing.Literal["auto_publish", b"auto_publish", "channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "finish_time", b"finish_time", "id", b"id", "labels", b"labels", "line_id", b"line_id", "on_demand", b"on_demand", "publish_time", b"publish_time", "schedule", b"schedule", "start_time", b"start_time", "status", b"status", "stream_type", b"stream_type", "thumbnail_id", b"thumbnail_id", "title", b"title", "updated_at", b"updated_at"]) -> None: ...
160
169
  def WhichOneof(self, oneof_group: typing.Literal["stream_type", b"stream_type"]) -> typing.Literal["on_demand", "schedule"] | None: ...
161
170
 
162
171
  global___Stream = Stream
163
172
 
164
173
  @typing.final
165
174
  class OnDemand(google.protobuf.message.Message):
166
- """If "OnDemand" is used, client should start and finish explicitly."""
175
+ """On-demand stream type.
176
+ This type of streams should be started and finished explicitly.
177
+ """
167
178
 
168
179
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
169
180
 
@@ -175,7 +186,9 @@ global___OnDemand = OnDemand
175
186
 
176
187
  @typing.final
177
188
  class Schedule(google.protobuf.message.Message):
178
- """If "Schedule" is used, stream automatically start and finish at this time."""
189
+ """Schedule stream type.
190
+ This type of streams start and finish automatically at the specified time.
191
+ """
179
192
 
180
193
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
181
194
 
@@ -25,13 +25,14 @@ _sym_db = _symbol_database.Default()
25
25
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
26
26
  from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
27
27
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
28
+ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
28
29
  from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
29
30
  from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
30
31
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
31
32
  from yandex.cloud.video.v1 import stream_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_stream__pb2
32
33
 
33
34
 
34
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/video/v1/stream_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\"yandex/cloud/video/v1/stream.proto\"3\n\x10GetStreamRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xa7\x01\n\x12ListStreamsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1d\n\npage_token\x18\x65 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"d\n\x13ListStreamsResponse\x12.\n\x07streams\x18\x01 \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Stream\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"a\n\x16\x42\x61tchGetStreamsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12%\n\nstream_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"I\n\x17\x42\x61tchGetStreamsResponse\x12.\n\x07streams\x18\x01 \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Stream\"\xf7\x03\n\x13\x43reateStreamRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x07line_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x13\n\x05title\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x88\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x36.yandex.cloud.video.v1.CreateStreamRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12;\n\ton_demand\x18\xe8\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.OnDemandParamsH\x00\x12:\n\x08schedule\x18\xe9\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.ScheduleParamsH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x13\n\x0bstream_type\x12\x04\xc0\xc1\x31\x01J\x05\x08\x06\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07\"\x10\n\x0eOnDemandParams\"}\n\x0eScheduleParams\x12\x34\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x35\n\x0b\x66inish_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\")\n\x14\x43reateStreamMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t\"\x96\x04\n\x13UpdateStreamRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x07line_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\r\n\x05title\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x06 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x88\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x36.yandex.cloud.video.v1.UpdateStreamRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12;\n\ton_demand\x18\xe8\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.OnDemandParamsH\x00\x12:\n\x08schedule\x18\xe9\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.ScheduleParamsH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\r\n\x0bstream_typeJ\x05\x08\x07\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07\")\n\x14UpdateStreamMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t\"6\n\x13\x44\x65leteStreamRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x14\x44\x65leteStreamMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t\"d\n\x19\x42\x61tchDeleteStreamsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12%\n\nstream_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"0\n\x1a\x42\x61tchDeleteStreamsMetadata\x12\x12\n\nstream_ids\x18\x01 \x03(\t\"\xca\x01\n\x1aPerformStreamActionRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x38\n\x07publish\x18\xe8\x07 \x01(\x0b\x32$.yandex.cloud.video.v1.PublishActionH\x00\x12\x32\n\x04stop\x18\xea\x07 \x01(\x0b\x32!.yandex.cloud.video.v1.StopActionH\x00\x42\x0e\n\x06\x61\x63tion\x12\x04\xc0\xc1\x31\x01J\x06\x08\xe9\x07\x10\xea\x07J\x05\x08\x02\x10\xe8\x07\"\x0f\n\rPublishAction\"\x0c\n\nStopAction\"0\n\x1bPerformStreamActionMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t2\x93\n\n\rStreamService\x12t\n\x03Get\x12\'.yandex.cloud.video.v1.GetStreamRequest\x1a\x1d.yandex.cloud.video.v1.Stream\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/video/v1/streams/{stream_id}\x12x\n\x04List\x12).yandex.cloud.video.v1.ListStreamsRequest\x1a*.yandex.cloud.video.v1.ListStreamsResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/video/v1/streams\x12\x90\x01\n\x08\x42\x61tchGet\x12-.yandex.cloud.video.v1.BatchGetStreamsRequest\x1a..yandex.cloud.video.v1.BatchGetStreamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/video/v1/streams:batchGet:\x01*\x12\x97\x01\n\x06\x43reate\x12*.yandex.cloud.video.v1.CreateStreamRequest\x1a!.yandex.cloud.operation.Operation\">\xb2\xd2*\x1e\n\x14\x43reateStreamMetadata\x12\x06Stream\x82\xd3\xe4\x93\x02\x16\"\x11/video/v1/streams:\x01*\x12\xa3\x01\n\x06Update\x12*.yandex.cloud.video.v1.UpdateStreamRequest\x1a!.yandex.cloud.operation.Operation\"J\xb2\xd2*\x1e\n\x14UpdateStreamMetadata\x12\x06Stream\x82\xd3\xe4\x93\x02\"2\x1d/video/v1/streams/{stream_id}:\x01*\x12\xaf\x01\n\x06\x44\x65lete\x12*.yandex.cloud.video.v1.DeleteStreamRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*-\n\x14\x44\x65leteStreamMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1f*\x1d/video/v1/streams/{stream_id}\x12\xc3\x01\n\x0b\x42\x61tchDelete\x12\x30.yandex.cloud.video.v1.BatchDeleteStreamsRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*3\n\x1a\x42\x61tchDeleteStreamsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\"\"\x1d/video/v1/streams:batchDelete:\x01*\x12\xc6\x01\n\rPerformAction\x12\x31.yandex.cloud.video.v1.PerformStreamActionRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*%\n\x1bPerformStreamActionMetadata\x12\x06Stream\x82\xd3\xe4\x93\x02\x30\"+/video/v1/streams/{stream_id}:performAction:\x01*B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
35
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/video/v1/stream_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\"yandex/cloud/video/v1/stream.proto\"3\n\x10GetStreamRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xa9\x01\n\x12ListStreamsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\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<=15000\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"d\n\x13ListStreamsResponse\x12.\n\x07streams\x18\x01 \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Stream\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"a\n\x16\x42\x61tchGetStreamsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12%\n\nstream_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"I\n\x17\x42\x61tchGetStreamsResponse\x12.\n\x07streams\x18\x01 \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Stream\"\xb6\x04\n\x13\x43reateStreamRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x07line_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x05title\x18\x03 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=2500\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x30\n\x0c\x61uto_publish\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x8b\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x36.yandex.cloud.video.v1.CreateStreamRequest.LabelsEntryBB\xf2\xc7\x31\x12[-_.@:/0-9a-zA-Z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12;\n\ton_demand\x18\xe8\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.OnDemandParamsH\x00\x12:\n\x08schedule\x18\xe9\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.ScheduleParamsH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x13\n\x0bstream_type\x12\x04\xc0\xc1\x31\x01J\x05\x08\x07\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07\"\x10\n\x0eOnDemandParams\"}\n\x0eScheduleParams\x12\x34\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x35\n\x0b\x66inish_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\")\n\x14\x43reateStreamMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t\"\xdd\x04\n\x13UpdateStreamRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12\x19\n\x07line_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x19\n\x05title\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=2500\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x06 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x30\n\x0c\x61uto_publish\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x8b\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x36.yandex.cloud.video.v1.UpdateStreamRequest.LabelsEntryBB\xf2\xc7\x31\x12[-_.@:/0-9a-zA-Z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12;\n\ton_demand\x18\xe8\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.OnDemandParamsH\x00\x12:\n\x08schedule\x18\xe9\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.ScheduleParamsH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\r\n\x0bstream_typeJ\x05\x08\x08\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07\")\n\x14UpdateStreamMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t\"6\n\x13\x44\x65leteStreamRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x14\x44\x65leteStreamMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t\"d\n\x19\x42\x61tchDeleteStreamsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12%\n\nstream_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"0\n\x1a\x42\x61tchDeleteStreamsMetadata\x12\x12\n\nstream_ids\x18\x01 \x03(\t\"\xca\x01\n\x1aPerformStreamActionRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x38\n\x07publish\x18\xe8\x07 \x01(\x0b\x32$.yandex.cloud.video.v1.PublishActionH\x00\x12\x32\n\x04stop\x18\xea\x07 \x01(\x0b\x32!.yandex.cloud.video.v1.StopActionH\x00\x42\x0e\n\x06\x61\x63tion\x12\x04\xc0\xc1\x31\x01J\x06\x08\xe9\x07\x10\xea\x07J\x05\x08\x02\x10\xe8\x07\"\x0f\n\rPublishAction\"\x0c\n\nStopAction\"0\n\x1bPerformStreamActionMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t2\x93\n\n\rStreamService\x12t\n\x03Get\x12\'.yandex.cloud.video.v1.GetStreamRequest\x1a\x1d.yandex.cloud.video.v1.Stream\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/video/v1/streams/{stream_id}\x12x\n\x04List\x12).yandex.cloud.video.v1.ListStreamsRequest\x1a*.yandex.cloud.video.v1.ListStreamsResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/video/v1/streams\x12\x90\x01\n\x08\x42\x61tchGet\x12-.yandex.cloud.video.v1.BatchGetStreamsRequest\x1a..yandex.cloud.video.v1.BatchGetStreamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/video/v1/streams:batchGet:\x01*\x12\x97\x01\n\x06\x43reate\x12*.yandex.cloud.video.v1.CreateStreamRequest\x1a!.yandex.cloud.operation.Operation\">\xb2\xd2*\x1e\n\x14\x43reateStreamMetadata\x12\x06Stream\x82\xd3\xe4\x93\x02\x16\"\x11/video/v1/streams:\x01*\x12\xa3\x01\n\x06Update\x12*.yandex.cloud.video.v1.UpdateStreamRequest\x1a!.yandex.cloud.operation.Operation\"J\xb2\xd2*\x1e\n\x14UpdateStreamMetadata\x12\x06Stream\x82\xd3\xe4\x93\x02\"2\x1d/video/v1/streams/{stream_id}:\x01*\x12\xaf\x01\n\x06\x44\x65lete\x12*.yandex.cloud.video.v1.DeleteStreamRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*-\n\x14\x44\x65leteStreamMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1f*\x1d/video/v1/streams/{stream_id}\x12\xc3\x01\n\x0b\x42\x61tchDelete\x12\x30.yandex.cloud.video.v1.BatchDeleteStreamsRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*3\n\x1a\x42\x61tchDeleteStreamsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\"\"\x1d/video/v1/streams:batchDelete:\x01*\x12\xc6\x01\n\rPerformAction\x12\x31.yandex.cloud.video.v1.PerformStreamActionRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*%\n\x1bPerformStreamActionMetadata\x12\x06Stream\x82\xd3\xe4\x93\x02\x30\"+/video/v1/streams/{stream_id}:performAction:\x01*B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
35
36
 
36
37
  _globals = globals()
37
38
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -46,7 +47,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
46
47
  _globals['_LISTSTREAMSREQUEST'].fields_by_name['page_size']._loaded_options = None
47
48
  _globals['_LISTSTREAMSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
48
49
  _globals['_LISTSTREAMSREQUEST'].fields_by_name['page_token']._loaded_options = None
49
- _globals['_LISTSTREAMSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
50
+ _globals['_LISTSTREAMSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\007<=15000'
50
51
  _globals['_LISTSTREAMSREQUEST'].fields_by_name['filter']._loaded_options = None
51
52
  _globals['_LISTSTREAMSREQUEST'].fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
52
53
  _globals['_BATCHGETSTREAMSREQUEST'].fields_by_name['channel_id']._loaded_options = None
@@ -62,11 +63,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
62
63
  _globals['_CREATESTREAMREQUEST'].fields_by_name['line_id']._loaded_options = None
63
64
  _globals['_CREATESTREAMREQUEST'].fields_by_name['line_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
64
65
  _globals['_CREATESTREAMREQUEST'].fields_by_name['title']._loaded_options = None
65
- _globals['_CREATESTREAMREQUEST'].fields_by_name['title']._serialized_options = b'\350\3071\001'
66
+ _globals['_CREATESTREAMREQUEST'].fields_by_name['title']._serialized_options = b'\350\3071\001\212\3101\006<=2500'
66
67
  _globals['_CREATESTREAMREQUEST'].fields_by_name['thumbnail_id']._loaded_options = None
67
68
  _globals['_CREATESTREAMREQUEST'].fields_by_name['thumbnail_id']._serialized_options = b'\212\3101\004<=50'
68
69
  _globals['_CREATESTREAMREQUEST'].fields_by_name['labels']._loaded_options = None
69
- _globals['_CREATESTREAMREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\017[-_.@:/0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
70
+ _globals['_CREATESTREAMREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\022[-_.@:/0-9a-zA-Z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
70
71
  _globals['_SCHEDULEPARAMS'].fields_by_name['start_time']._loaded_options = None
71
72
  _globals['_SCHEDULEPARAMS'].fields_by_name['start_time']._serialized_options = b'\350\3071\001'
72
73
  _globals['_SCHEDULEPARAMS'].fields_by_name['finish_time']._loaded_options = None
@@ -75,12 +76,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
75
76
  _globals['_UPDATESTREAMREQUEST_LABELSENTRY']._serialized_options = b'8\001'
76
77
  _globals['_UPDATESTREAMREQUEST'].fields_by_name['stream_id']._loaded_options = None
77
78
  _globals['_UPDATESTREAMREQUEST'].fields_by_name['stream_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
79
+ _globals['_UPDATESTREAMREQUEST'].fields_by_name['field_mask']._loaded_options = None
80
+ _globals['_UPDATESTREAMREQUEST'].fields_by_name['field_mask']._serialized_options = b'\350\3071\001'
78
81
  _globals['_UPDATESTREAMREQUEST'].fields_by_name['line_id']._loaded_options = None
79
82
  _globals['_UPDATESTREAMREQUEST'].fields_by_name['line_id']._serialized_options = b'\212\3101\004<=50'
83
+ _globals['_UPDATESTREAMREQUEST'].fields_by_name['title']._loaded_options = None
84
+ _globals['_UPDATESTREAMREQUEST'].fields_by_name['title']._serialized_options = b'\212\3101\006<=2500'
80
85
  _globals['_UPDATESTREAMREQUEST'].fields_by_name['thumbnail_id']._loaded_options = None
81
86
  _globals['_UPDATESTREAMREQUEST'].fields_by_name['thumbnail_id']._serialized_options = b'\212\3101\004<=50'
82
87
  _globals['_UPDATESTREAMREQUEST'].fields_by_name['labels']._loaded_options = None
83
- _globals['_UPDATESTREAMREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\017[-_.@:/0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
88
+ _globals['_UPDATESTREAMREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\022[-_.@:/0-9a-zA-Z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
84
89
  _globals['_DELETESTREAMREQUEST'].fields_by_name['stream_id']._loaded_options = None
85
90
  _globals['_DELETESTREAMREQUEST'].fields_by_name['stream_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
86
91
  _globals['_BATCHDELETESTREAMSREQUEST'].fields_by_name['channel_id']._loaded_options = None
@@ -107,48 +112,48 @@ if not _descriptor._USE_C_DESCRIPTORS:
107
112
  _globals['_STREAMSERVICE'].methods_by_name['BatchDelete']._serialized_options = b'\262\322*3\n\032BatchDeleteStreamsMetadata\022\025google.protobuf.Empty\202\323\344\223\002\"\"\035/video/v1/streams:batchDelete:\001*'
108
113
  _globals['_STREAMSERVICE'].methods_by_name['PerformAction']._loaded_options = None
109
114
  _globals['_STREAMSERVICE'].methods_by_name['PerformAction']._serialized_options = b'\262\322*%\n\033PerformStreamActionMetadata\022\006Stream\202\323\344\223\0020\"+/video/v1/streams/{stream_id}:performAction:\001*'
110
- _globals['_GETSTREAMREQUEST']._serialized_start=307
111
- _globals['_GETSTREAMREQUEST']._serialized_end=358
112
- _globals['_LISTSTREAMSREQUEST']._serialized_start=361
113
- _globals['_LISTSTREAMSREQUEST']._serialized_end=528
114
- _globals['_LISTSTREAMSRESPONSE']._serialized_start=530
115
- _globals['_LISTSTREAMSRESPONSE']._serialized_end=630
116
- _globals['_BATCHGETSTREAMSREQUEST']._serialized_start=632
117
- _globals['_BATCHGETSTREAMSREQUEST']._serialized_end=729
118
- _globals['_BATCHGETSTREAMSRESPONSE']._serialized_start=731
119
- _globals['_BATCHGETSTREAMSRESPONSE']._serialized_end=804
120
- _globals['_CREATESTREAMREQUEST']._serialized_start=807
121
- _globals['_CREATESTREAMREQUEST']._serialized_end=1310
122
- _globals['_CREATESTREAMREQUEST_LABELSENTRY']._serialized_start=1229
123
- _globals['_CREATESTREAMREQUEST_LABELSENTRY']._serialized_end=1274
124
- _globals['_ONDEMANDPARAMS']._serialized_start=1312
125
- _globals['_ONDEMANDPARAMS']._serialized_end=1328
126
- _globals['_SCHEDULEPARAMS']._serialized_start=1330
127
- _globals['_SCHEDULEPARAMS']._serialized_end=1455
128
- _globals['_CREATESTREAMMETADATA']._serialized_start=1457
129
- _globals['_CREATESTREAMMETADATA']._serialized_end=1498
130
- _globals['_UPDATESTREAMREQUEST']._serialized_start=1501
131
- _globals['_UPDATESTREAMREQUEST']._serialized_end=2035
132
- _globals['_UPDATESTREAMREQUEST_LABELSENTRY']._serialized_start=1229
133
- _globals['_UPDATESTREAMREQUEST_LABELSENTRY']._serialized_end=1274
134
- _globals['_UPDATESTREAMMETADATA']._serialized_start=2037
135
- _globals['_UPDATESTREAMMETADATA']._serialized_end=2078
136
- _globals['_DELETESTREAMREQUEST']._serialized_start=2080
137
- _globals['_DELETESTREAMREQUEST']._serialized_end=2134
138
- _globals['_DELETESTREAMMETADATA']._serialized_start=2136
139
- _globals['_DELETESTREAMMETADATA']._serialized_end=2177
140
- _globals['_BATCHDELETESTREAMSREQUEST']._serialized_start=2179
141
- _globals['_BATCHDELETESTREAMSREQUEST']._serialized_end=2279
142
- _globals['_BATCHDELETESTREAMSMETADATA']._serialized_start=2281
143
- _globals['_BATCHDELETESTREAMSMETADATA']._serialized_end=2329
144
- _globals['_PERFORMSTREAMACTIONREQUEST']._serialized_start=2332
145
- _globals['_PERFORMSTREAMACTIONREQUEST']._serialized_end=2534
146
- _globals['_PUBLISHACTION']._serialized_start=2536
147
- _globals['_PUBLISHACTION']._serialized_end=2551
148
- _globals['_STOPACTION']._serialized_start=2553
149
- _globals['_STOPACTION']._serialized_end=2565
150
- _globals['_PERFORMSTREAMACTIONMETADATA']._serialized_start=2567
151
- _globals['_PERFORMSTREAMACTIONMETADATA']._serialized_end=2615
152
- _globals['_STREAMSERVICE']._serialized_start=2618
153
- _globals['_STREAMSERVICE']._serialized_end=3917
115
+ _globals['_GETSTREAMREQUEST']._serialized_start=339
116
+ _globals['_GETSTREAMREQUEST']._serialized_end=390
117
+ _globals['_LISTSTREAMSREQUEST']._serialized_start=393
118
+ _globals['_LISTSTREAMSREQUEST']._serialized_end=562
119
+ _globals['_LISTSTREAMSRESPONSE']._serialized_start=564
120
+ _globals['_LISTSTREAMSRESPONSE']._serialized_end=664
121
+ _globals['_BATCHGETSTREAMSREQUEST']._serialized_start=666
122
+ _globals['_BATCHGETSTREAMSREQUEST']._serialized_end=763
123
+ _globals['_BATCHGETSTREAMSRESPONSE']._serialized_start=765
124
+ _globals['_BATCHGETSTREAMSRESPONSE']._serialized_end=838
125
+ _globals['_CREATESTREAMREQUEST']._serialized_start=841
126
+ _globals['_CREATESTREAMREQUEST']._serialized_end=1407
127
+ _globals['_CREATESTREAMREQUEST_LABELSENTRY']._serialized_start=1326
128
+ _globals['_CREATESTREAMREQUEST_LABELSENTRY']._serialized_end=1371
129
+ _globals['_ONDEMANDPARAMS']._serialized_start=1409
130
+ _globals['_ONDEMANDPARAMS']._serialized_end=1425
131
+ _globals['_SCHEDULEPARAMS']._serialized_start=1427
132
+ _globals['_SCHEDULEPARAMS']._serialized_end=1552
133
+ _globals['_CREATESTREAMMETADATA']._serialized_start=1554
134
+ _globals['_CREATESTREAMMETADATA']._serialized_end=1595
135
+ _globals['_UPDATESTREAMREQUEST']._serialized_start=1598
136
+ _globals['_UPDATESTREAMREQUEST']._serialized_end=2203
137
+ _globals['_UPDATESTREAMREQUEST_LABELSENTRY']._serialized_start=1326
138
+ _globals['_UPDATESTREAMREQUEST_LABELSENTRY']._serialized_end=1371
139
+ _globals['_UPDATESTREAMMETADATA']._serialized_start=2205
140
+ _globals['_UPDATESTREAMMETADATA']._serialized_end=2246
141
+ _globals['_DELETESTREAMREQUEST']._serialized_start=2248
142
+ _globals['_DELETESTREAMREQUEST']._serialized_end=2302
143
+ _globals['_DELETESTREAMMETADATA']._serialized_start=2304
144
+ _globals['_DELETESTREAMMETADATA']._serialized_end=2345
145
+ _globals['_BATCHDELETESTREAMSREQUEST']._serialized_start=2347
146
+ _globals['_BATCHDELETESTREAMSREQUEST']._serialized_end=2447
147
+ _globals['_BATCHDELETESTREAMSMETADATA']._serialized_start=2449
148
+ _globals['_BATCHDELETESTREAMSMETADATA']._serialized_end=2497
149
+ _globals['_PERFORMSTREAMACTIONREQUEST']._serialized_start=2500
150
+ _globals['_PERFORMSTREAMACTIONREQUEST']._serialized_end=2702
151
+ _globals['_PUBLISHACTION']._serialized_start=2704
152
+ _globals['_PUBLISHACTION']._serialized_end=2719
153
+ _globals['_STOPACTION']._serialized_start=2721
154
+ _globals['_STOPACTION']._serialized_end=2733
155
+ _globals['_PERFORMSTREAMACTIONMETADATA']._serialized_start=2735
156
+ _globals['_PERFORMSTREAMACTIONMETADATA']._serialized_end=2783
157
+ _globals['_STREAMSERVICE']._serialized_start=2786
158
+ _globals['_STREAMSERVICE']._serialized_end=4085
154
159
  # @@protoc_insertion_point(module_scope)
@@ -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. Default value: 100."""
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 "createdAt desc". "id asc" if omitted.
52
- Possible fields: ["id", "title", "startTime", "finishTime", "createdAt", "updatedAt"]
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
- Value in quotes: `'` or `"`
59
- Example: "key1='value' AND key2='value'"
60
- Supported operators: ["AND"].
61
- Supported fields: ["title", "lineId", "status"]
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 demand stream. It starts immediately when a signal appears."""
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. Determines when to start receiving the signal or finish time."""
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
- """Returns the specific stream.
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 episode.
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
- """Returns the specific stream."""
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 episode."""
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
- """Returns the specific stream."""
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 episode."""
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
- """Returns the specific stream."""
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 episode."""
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\"\xed\x02\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\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\x42\x0b\n\tparent_idJ\x04\x08\x06\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')
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=462
38
- _globals['_SUBTITLE_SUBTITLESTATUS']._serialized_start=353
39
- _globals['_SUBTITLE_SUBTITLESTATUS']._serialized_end=436
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 represented as a three-letter ISO 639-3 code."""
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