yandexcloud 0.351.0__py3-none-any.whl → 0.352.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.

Files changed (98) hide show
  1. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
  2. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
  3. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
  4. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
  5. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
  6. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
  7. yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
  8. yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
  9. yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
  10. yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
  11. yandex/cloud/cdn/v1/origin_pb2.py +10 -10
  12. yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
  13. yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
  14. yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
  15. yandex/cloud/cdn/v1/resource_pb2.py +64 -64
  16. yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
  17. yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
  18. yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
  19. yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
  20. yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
  21. yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
  22. yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
  23. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
  24. yandex/cloud/metastore/v1/cluster_pb2.py +19 -19
  25. yandex/cloud/metastore/v1/cluster_pb2.pyi +39 -32
  26. yandex/cloud/metastore/v1/cluster_service_pb2.py +47 -47
  27. yandex/cloud/metastore/v1/cluster_service_pb2.pyi +90 -91
  28. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
  29. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
  30. yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
  31. yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
  32. yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
  33. yandex/cloud/video/v1/channel_pb2.py +12 -12
  34. yandex/cloud/video/v1/channel_pb2.pyi +88 -22
  35. yandex/cloud/video/v1/channel_service_pb2.py +14 -14
  36. yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
  37. yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
  38. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
  39. yandex/cloud/video/v1/episode_pb2.py +8 -10
  40. yandex/cloud/video/v1/episode_pb2.pyi +52 -36
  41. yandex/cloud/video/v1/episode_service_pb2.py +44 -42
  42. yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
  43. yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
  44. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
  45. yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
  46. yandex/cloud/video/v1/playlist_pb2.py +4 -6
  47. yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
  48. yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
  49. yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
  50. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
  51. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
  52. yandex/cloud/video/v1/stream_line_pb2.py +16 -16
  53. yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
  54. yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
  55. yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
  56. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
  57. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
  58. yandex/cloud/video/v1/stream_pb2.pyi +49 -36
  59. yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
  60. yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
  61. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
  62. yandex/cloud/video/v1/style_preset_pb2.py +49 -0
  63. yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
  64. yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
  65. yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
  66. yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
  67. yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
  68. yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
  69. yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
  70. yandex/cloud/video/v1/subtitle_pb2.pyi +32 -23
  71. yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
  72. yandex/cloud/video/v1/subtitle_service_pb2.pyi +25 -13
  73. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
  74. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
  75. yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
  76. yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
  77. yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
  78. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
  79. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
  80. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
  81. yandex/cloud/video/v1/video_pb2.py +24 -24
  82. yandex/cloud/video/v1/video_pb2.pyi +105 -64
  83. yandex/cloud/video/v1/video_service_pb2.py +80 -74
  84. yandex/cloud/video/v1/video_service_pb2.pyi +193 -90
  85. yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
  86. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
  87. yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
  88. yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
  89. yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
  90. yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
  91. yandexcloud/__init__.py +1 -1
  92. yandexcloud/_wrappers/dataproc/__init__.py +4 -0
  93. {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/METADATA +1 -1
  94. {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/RECORD +98 -86
  95. {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/AUTHORS +0 -0
  96. {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/LICENSE +0 -0
  97. {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/WHEEL +0 -0
  98. {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/top_level.txt +0 -0
@@ -20,110 +20,152 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
20
20
  ...
21
21
 
22
22
  class StreamServiceStub:
23
- """Stream management service."""
23
+ """Stream management service.
24
+ Provides methods for creating, retrieving, updating, and deleting live streams,
25
+ as well as managing stream-related operations
26
+ such as publishing, stopping, and generating playback URLs.
27
+ """
24
28
 
25
29
  def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
26
30
  Get: grpc.UnaryUnaryMultiCallable[
27
31
  yandex.cloud.video.v1.stream_service_pb2.GetStreamRequest,
28
32
  yandex.cloud.video.v1.stream_pb2.Stream,
29
33
  ]
30
- """Get the specific stream."""
34
+ """Retrieves detailed information about a specific stream by its ID.
35
+ Returns all stream metadata, status, and related information.
36
+ """
31
37
 
32
38
  List: grpc.UnaryUnaryMultiCallable[
33
39
  yandex.cloud.video.v1.stream_service_pb2.ListStreamsRequest,
34
40
  yandex.cloud.video.v1.stream_service_pb2.ListStreamsResponse,
35
41
  ]
36
- """List streams for channel."""
42
+ """Lists all streams in a specific channel with pagination support.
43
+ Results can be filtered and sorted using the provided parameters.
44
+ """
37
45
 
38
46
  BatchGet: grpc.UnaryUnaryMultiCallable[
39
47
  yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsRequest,
40
48
  yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsResponse,
41
49
  ]
42
- """Batch get streams for channel."""
50
+ """Retrieves multiple streams by their IDs in a specific channel in a single request.
51
+ This is more efficient than making multiple Get requests when retrieving several streams.
52
+ """
43
53
 
44
54
  Create: grpc.UnaryUnaryMultiCallable[
45
55
  yandex.cloud.video.v1.stream_service_pb2.CreateStreamRequest,
46
56
  yandex.cloud.operation.operation_pb2.Operation,
47
57
  ]
48
- """Create stream."""
58
+ """Creates a new stream in the specified channel.
59
+ Streams can be created as on-demand (starting when a signal appears)
60
+ or scheduled (starting and finishing at specified time).
61
+ """
49
62
 
50
63
  Update: grpc.UnaryUnaryMultiCallable[
51
64
  yandex.cloud.video.v1.stream_service_pb2.UpdateStreamRequest,
52
65
  yandex.cloud.operation.operation_pb2.Operation,
53
66
  ]
54
- """Update stream."""
67
+ """Updates an existing stream's metadata and settings.
68
+ Only fields specified in the field_mask will be updated.
69
+ """
55
70
 
56
71
  Delete: grpc.UnaryUnaryMultiCallable[
57
72
  yandex.cloud.video.v1.stream_service_pb2.DeleteStreamRequest,
58
73
  yandex.cloud.operation.operation_pb2.Operation,
59
74
  ]
60
- """Delete stream."""
75
+ """Deletes a specific stream by its ID."""
61
76
 
62
77
  BatchDelete: grpc.UnaryUnaryMultiCallable[
63
78
  yandex.cloud.video.v1.stream_service_pb2.BatchDeleteStreamsRequest,
64
79
  yandex.cloud.operation.operation_pb2.Operation,
65
80
  ]
66
- """Batch delete streams."""
81
+ """Deletes multiple streams in a specific channel in a single request.
82
+ This is more efficient than making multiple Delete requests when removing several streams.
83
+ """
67
84
 
68
85
  PerformAction: grpc.UnaryUnaryMultiCallable[
69
86
  yandex.cloud.video.v1.stream_service_pb2.PerformStreamActionRequest,
70
87
  yandex.cloud.operation.operation_pb2.Operation,
71
88
  ]
72
- """Perform an action on the stream."""
89
+ """Performs a specific action on a stream, such as publishing or stopping.
90
+ Actions change the stream's state without modifying its content or metadata.
91
+ """
73
92
 
74
93
  class StreamServiceAsyncStub:
75
- """Stream management service."""
94
+ """Stream management service.
95
+ Provides methods for creating, retrieving, updating, and deleting live streams,
96
+ as well as managing stream-related operations
97
+ such as publishing, stopping, and generating playback URLs.
98
+ """
76
99
 
77
100
  Get: grpc.aio.UnaryUnaryMultiCallable[
78
101
  yandex.cloud.video.v1.stream_service_pb2.GetStreamRequest,
79
102
  yandex.cloud.video.v1.stream_pb2.Stream,
80
103
  ]
81
- """Get the specific stream."""
104
+ """Retrieves detailed information about a specific stream by its ID.
105
+ Returns all stream metadata, status, and related information.
106
+ """
82
107
 
83
108
  List: grpc.aio.UnaryUnaryMultiCallable[
84
109
  yandex.cloud.video.v1.stream_service_pb2.ListStreamsRequest,
85
110
  yandex.cloud.video.v1.stream_service_pb2.ListStreamsResponse,
86
111
  ]
87
- """List streams for channel."""
112
+ """Lists all streams in a specific channel with pagination support.
113
+ Results can be filtered and sorted using the provided parameters.
114
+ """
88
115
 
89
116
  BatchGet: grpc.aio.UnaryUnaryMultiCallable[
90
117
  yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsRequest,
91
118
  yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsResponse,
92
119
  ]
93
- """Batch get streams for channel."""
120
+ """Retrieves multiple streams by their IDs in a specific channel in a single request.
121
+ This is more efficient than making multiple Get requests when retrieving several streams.
122
+ """
94
123
 
95
124
  Create: grpc.aio.UnaryUnaryMultiCallable[
96
125
  yandex.cloud.video.v1.stream_service_pb2.CreateStreamRequest,
97
126
  yandex.cloud.operation.operation_pb2.Operation,
98
127
  ]
99
- """Create stream."""
128
+ """Creates a new stream in the specified channel.
129
+ Streams can be created as on-demand (starting when a signal appears)
130
+ or scheduled (starting and finishing at specified time).
131
+ """
100
132
 
101
133
  Update: grpc.aio.UnaryUnaryMultiCallable[
102
134
  yandex.cloud.video.v1.stream_service_pb2.UpdateStreamRequest,
103
135
  yandex.cloud.operation.operation_pb2.Operation,
104
136
  ]
105
- """Update stream."""
137
+ """Updates an existing stream's metadata and settings.
138
+ Only fields specified in the field_mask will be updated.
139
+ """
106
140
 
107
141
  Delete: grpc.aio.UnaryUnaryMultiCallable[
108
142
  yandex.cloud.video.v1.stream_service_pb2.DeleteStreamRequest,
109
143
  yandex.cloud.operation.operation_pb2.Operation,
110
144
  ]
111
- """Delete stream."""
145
+ """Deletes a specific stream by its ID."""
112
146
 
113
147
  BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
114
148
  yandex.cloud.video.v1.stream_service_pb2.BatchDeleteStreamsRequest,
115
149
  yandex.cloud.operation.operation_pb2.Operation,
116
150
  ]
117
- """Batch delete streams."""
151
+ """Deletes multiple streams in a specific channel in a single request.
152
+ This is more efficient than making multiple Delete requests when removing several streams.
153
+ """
118
154
 
119
155
  PerformAction: grpc.aio.UnaryUnaryMultiCallable[
120
156
  yandex.cloud.video.v1.stream_service_pb2.PerformStreamActionRequest,
121
157
  yandex.cloud.operation.operation_pb2.Operation,
122
158
  ]
123
- """Perform an action on the stream."""
159
+ """Performs a specific action on a stream, such as publishing or stopping.
160
+ Actions change the stream's state without modifying its content or metadata.
161
+ """
124
162
 
125
163
  class StreamServiceServicer(metaclass=abc.ABCMeta):
126
- """Stream management service."""
164
+ """Stream management service.
165
+ Provides methods for creating, retrieving, updating, and deleting live streams,
166
+ as well as managing stream-related operations
167
+ such as publishing, stopping, and generating playback URLs.
168
+ """
127
169
 
128
170
  @abc.abstractmethod
129
171
  def Get(
@@ -131,7 +173,9 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
131
173
  request: yandex.cloud.video.v1.stream_service_pb2.GetStreamRequest,
132
174
  context: _ServicerContext,
133
175
  ) -> typing.Union[yandex.cloud.video.v1.stream_pb2.Stream, collections.abc.Awaitable[yandex.cloud.video.v1.stream_pb2.Stream]]:
134
- """Get the specific stream."""
176
+ """Retrieves detailed information about a specific stream by its ID.
177
+ Returns all stream metadata, status, and related information.
178
+ """
135
179
 
136
180
  @abc.abstractmethod
137
181
  def List(
@@ -139,7 +183,9 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
139
183
  request: yandex.cloud.video.v1.stream_service_pb2.ListStreamsRequest,
140
184
  context: _ServicerContext,
141
185
  ) -> typing.Union[yandex.cloud.video.v1.stream_service_pb2.ListStreamsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.stream_service_pb2.ListStreamsResponse]]:
142
- """List streams for channel."""
186
+ """Lists all streams in a specific channel with pagination support.
187
+ Results can be filtered and sorted using the provided parameters.
188
+ """
143
189
 
144
190
  @abc.abstractmethod
145
191
  def BatchGet(
@@ -147,7 +193,9 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
147
193
  request: yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsRequest,
148
194
  context: _ServicerContext,
149
195
  ) -> typing.Union[yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsResponse]]:
150
- """Batch get streams for channel."""
196
+ """Retrieves multiple streams by their IDs in a specific channel in a single request.
197
+ This is more efficient than making multiple Get requests when retrieving several streams.
198
+ """
151
199
 
152
200
  @abc.abstractmethod
153
201
  def Create(
@@ -155,7 +203,10 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
155
203
  request: yandex.cloud.video.v1.stream_service_pb2.CreateStreamRequest,
156
204
  context: _ServicerContext,
157
205
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
158
- """Create stream."""
206
+ """Creates a new stream in the specified channel.
207
+ Streams can be created as on-demand (starting when a signal appears)
208
+ or scheduled (starting and finishing at specified time).
209
+ """
159
210
 
160
211
  @abc.abstractmethod
161
212
  def Update(
@@ -163,7 +214,9 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
163
214
  request: yandex.cloud.video.v1.stream_service_pb2.UpdateStreamRequest,
164
215
  context: _ServicerContext,
165
216
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
166
- """Update stream."""
217
+ """Updates an existing stream's metadata and settings.
218
+ Only fields specified in the field_mask will be updated.
219
+ """
167
220
 
168
221
  @abc.abstractmethod
169
222
  def Delete(
@@ -171,7 +224,7 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
171
224
  request: yandex.cloud.video.v1.stream_service_pb2.DeleteStreamRequest,
172
225
  context: _ServicerContext,
173
226
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
174
- """Delete stream."""
227
+ """Deletes a specific stream by its ID."""
175
228
 
176
229
  @abc.abstractmethod
177
230
  def BatchDelete(
@@ -179,7 +232,9 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
179
232
  request: yandex.cloud.video.v1.stream_service_pb2.BatchDeleteStreamsRequest,
180
233
  context: _ServicerContext,
181
234
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
182
- """Batch delete streams."""
235
+ """Deletes multiple streams in a specific channel in a single request.
236
+ This is more efficient than making multiple Delete requests when removing several streams.
237
+ """
183
238
 
184
239
  @abc.abstractmethod
185
240
  def PerformAction(
@@ -187,6 +242,8 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
187
242
  request: yandex.cloud.video.v1.stream_service_pb2.PerformStreamActionRequest,
188
243
  context: _ServicerContext,
189
244
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
190
- """Perform an action on the stream."""
245
+ """Performs a specific action on a stream, such as publishing or stopping.
246
+ Actions change the stream's state without modifying its content or metadata.
247
+ """
191
248
 
192
249
  def add_StreamServiceServicer_to_server(servicer: StreamServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/video/v1/style_preset.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'yandex/cloud/video/v1/style_preset.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/video/v1/style_preset.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\x9d\x06\n\x0bStylePreset\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x18\n\x10\x62\x61\x63kground_color\x18\x04 \x01(\t\x12!\n\x19widget_text_color_primary\x18\x05 \x01(\t\x12#\n\x1bwidget_text_color_secondary\x18\x06 \x01(\t\x12\x1b\n\x13widget_accent_color\x18\x07 \x01(\t\x12\x18\n\x10widget_block_gap\x18\x08 \x01(\x03\x12$\n\x1cwidget_block_separator_color\x18\t \x01(\t\x12\x1c\n\x14player_border_radius\x18\x0c \x01(\x03\x12\x14\n\x0cplayer_color\x18\r \x01(\t\x12/\n\'playlist_selected_item_background_color\x18\x0e \x01(\t\x12#\n\x1bplaylist_item_border_radius\x18\x0f \x01(\x03\x12\x19\n\x11playlist_item_gap\x18\x10 \x01(\x03\x12L\n\x11playlist_location\x18\x11 \x01(\x0e\x32\x31.yandex.cloud.video.v1.StylePreset.WidgetLocation\x12\x34\n\rright_widgets\x18\x14 \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Widget\x12\x35\n\x0e\x62ottom_widgets\x18\x15 \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Widget\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\"H\n\x0eWidgetLocation\x12\x1f\n\x1bWIDGET_LOCATION_UNSPECIFIED\x10\x00\x12\t\n\x05RIGHT\x10\x01\x12\n\n\x06\x42OTTOM\x10\x02J\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x12\x10\x14J\x04\x08\x16\x10\x64\"\xc0\x01\n\x06Widget\x12\x44\n\rsummarization\x18\x01 \x01(\x0b\x32+.yandex.cloud.video.v1.Widget.SummarizationH\x00\x12@\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32).yandex.cloud.video.v1.Widget.DescriptionH\x00\x1a\x0f\n\rSummarization\x1a\r\n\x0b\x44\x65scriptionB\x0e\n\x06widget\x12\x04\xc0\xc1\x31\x01\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.style_preset_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
37
+ _globals['_WIDGET'].oneofs_by_name['widget']._loaded_options = None
38
+ _globals['_WIDGET'].oneofs_by_name['widget']._serialized_options = b'\300\3011\001'
39
+ _globals['_STYLEPRESET']._serialized_start=132
40
+ _globals['_STYLEPRESET']._serialized_end=929
41
+ _globals['_STYLEPRESET_WIDGETLOCATION']._serialized_start=833
42
+ _globals['_STYLEPRESET_WIDGETLOCATION']._serialized_end=905
43
+ _globals['_WIDGET']._serialized_start=932
44
+ _globals['_WIDGET']._serialized_end=1124
45
+ _globals['_WIDGET_SUMMARIZATION']._serialized_start=1078
46
+ _globals['_WIDGET_SUMMARIZATION']._serialized_end=1093
47
+ _globals['_WIDGET_DESCRIPTION']._serialized_start=1095
48
+ _globals['_WIDGET_DESCRIPTION']._serialized_end=1108
49
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,200 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import google.protobuf.timestamp_pb2
13
+ import sys
14
+ import typing
15
+
16
+ if sys.version_info >= (3, 10):
17
+ import typing as typing_extensions
18
+ else:
19
+ import typing_extensions
20
+
21
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
22
+
23
+ @typing.final
24
+ class StylePreset(google.protobuf.message.Message):
25
+ """Entity representing a collection of visual styling settings for content presentation.
26
+ Style presets define the appearance of players, widgets, and other UI elements
27
+ to ensure consistent branding and user experience.
28
+ """
29
+
30
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
31
+
32
+ class _WidgetLocation:
33
+ ValueType = typing.NewType("ValueType", builtins.int)
34
+ V: typing_extensions.TypeAlias = ValueType
35
+
36
+ class _WidgetLocationEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[StylePreset._WidgetLocation.ValueType], builtins.type):
37
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
38
+ WIDGET_LOCATION_UNSPECIFIED: StylePreset._WidgetLocation.ValueType # 0
39
+ """The widget location is not specified."""
40
+ RIGHT: StylePreset._WidgetLocation.ValueType # 1
41
+ """Position the widget to the right of the player."""
42
+ BOTTOM: StylePreset._WidgetLocation.ValueType # 2
43
+ """Position the widget below the player."""
44
+
45
+ class WidgetLocation(_WidgetLocation, metaclass=_WidgetLocationEnumTypeWrapper):
46
+ """Widget position relative to the player."""
47
+
48
+ WIDGET_LOCATION_UNSPECIFIED: StylePreset.WidgetLocation.ValueType # 0
49
+ """The widget location is not specified."""
50
+ RIGHT: StylePreset.WidgetLocation.ValueType # 1
51
+ """Position the widget to the right of the player."""
52
+ BOTTOM: StylePreset.WidgetLocation.ValueType # 2
53
+ """Position the widget below the player."""
54
+
55
+ ID_FIELD_NUMBER: builtins.int
56
+ CHANNEL_ID_FIELD_NUMBER: builtins.int
57
+ TITLE_FIELD_NUMBER: builtins.int
58
+ BACKGROUND_COLOR_FIELD_NUMBER: builtins.int
59
+ WIDGET_TEXT_COLOR_PRIMARY_FIELD_NUMBER: builtins.int
60
+ WIDGET_TEXT_COLOR_SECONDARY_FIELD_NUMBER: builtins.int
61
+ WIDGET_ACCENT_COLOR_FIELD_NUMBER: builtins.int
62
+ WIDGET_BLOCK_GAP_FIELD_NUMBER: builtins.int
63
+ WIDGET_BLOCK_SEPARATOR_COLOR_FIELD_NUMBER: builtins.int
64
+ PLAYER_BORDER_RADIUS_FIELD_NUMBER: builtins.int
65
+ PLAYER_COLOR_FIELD_NUMBER: builtins.int
66
+ PLAYLIST_SELECTED_ITEM_BACKGROUND_COLOR_FIELD_NUMBER: builtins.int
67
+ PLAYLIST_ITEM_BORDER_RADIUS_FIELD_NUMBER: builtins.int
68
+ PLAYLIST_ITEM_GAP_FIELD_NUMBER: builtins.int
69
+ PLAYLIST_LOCATION_FIELD_NUMBER: builtins.int
70
+ RIGHT_WIDGETS_FIELD_NUMBER: builtins.int
71
+ BOTTOM_WIDGETS_FIELD_NUMBER: builtins.int
72
+ CREATED_AT_FIELD_NUMBER: builtins.int
73
+ UPDATED_AT_FIELD_NUMBER: builtins.int
74
+ id: builtins.str
75
+ """Unique identifier of the style preset."""
76
+ channel_id: builtins.str
77
+ """Identifier of the channel where this style preset is created and managed."""
78
+ title: builtins.str
79
+ """Display name of the style preset shown in interfaces."""
80
+ background_color: builtins.str
81
+ """Background color for the player page in hexadecimal format (e.g., "#FFFFFF")."""
82
+ widget_text_color_primary: builtins.str
83
+ """Primary text color for widgets in hexadecimal format."""
84
+ widget_text_color_secondary: builtins.str
85
+ """Secondary text color for widgets in hexadecimal format."""
86
+ widget_accent_color: builtins.str
87
+ """Accent color for interactive elements in widgets in hexadecimal format."""
88
+ widget_block_gap: builtins.int
89
+ """Vertical spacing between widget blocks in pixels."""
90
+ widget_block_separator_color: builtins.str
91
+ """Color of separator lines between widget blocks in hexadecimal format."""
92
+ player_border_radius: builtins.int
93
+ """Corner radius of the player container in pixels."""
94
+ player_color: builtins.str
95
+ """Primary color for player controls in hexadecimal format."""
96
+ playlist_selected_item_background_color: builtins.str
97
+ """Background color for the currently selected item in playlists in hexadecimal format."""
98
+ playlist_item_border_radius: builtins.int
99
+ """Corner radius of playlist items in pixels."""
100
+ playlist_item_gap: builtins.int
101
+ """Spacing between playlist items in pixels."""
102
+ playlist_location: global___StylePreset.WidgetLocation.ValueType
103
+ """Position of the playlist widget relative to the player."""
104
+ @property
105
+ def right_widgets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Widget]:
106
+ """List of widgets to display to the right of the player."""
107
+
108
+ @property
109
+ def bottom_widgets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Widget]:
110
+ """List of widgets to display below the player."""
111
+
112
+ @property
113
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
114
+ """Timestamp when the style preset was initially created in the system."""
115
+
116
+ @property
117
+ def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
118
+ """Timestamp of the last modification to the style preset or its metadata."""
119
+
120
+ def __init__(
121
+ self,
122
+ *,
123
+ id: builtins.str = ...,
124
+ channel_id: builtins.str = ...,
125
+ title: builtins.str = ...,
126
+ background_color: builtins.str = ...,
127
+ widget_text_color_primary: builtins.str = ...,
128
+ widget_text_color_secondary: builtins.str = ...,
129
+ widget_accent_color: builtins.str = ...,
130
+ widget_block_gap: builtins.int = ...,
131
+ widget_block_separator_color: builtins.str = ...,
132
+ player_border_radius: builtins.int = ...,
133
+ player_color: builtins.str = ...,
134
+ playlist_selected_item_background_color: builtins.str = ...,
135
+ playlist_item_border_radius: builtins.int = ...,
136
+ playlist_item_gap: builtins.int = ...,
137
+ playlist_location: global___StylePreset.WidgetLocation.ValueType = ...,
138
+ right_widgets: collections.abc.Iterable[global___Widget] | None = ...,
139
+ bottom_widgets: collections.abc.Iterable[global___Widget] | None = ...,
140
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
141
+ updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
142
+ ) -> None: ...
143
+ def HasField(self, field_name: typing.Literal["created_at", b"created_at", "updated_at", b"updated_at"]) -> builtins.bool: ...
144
+ def ClearField(self, field_name: typing.Literal["background_color", b"background_color", "bottom_widgets", b"bottom_widgets", "channel_id", b"channel_id", "created_at", b"created_at", "id", b"id", "player_border_radius", b"player_border_radius", "player_color", b"player_color", "playlist_item_border_radius", b"playlist_item_border_radius", "playlist_item_gap", b"playlist_item_gap", "playlist_location", b"playlist_location", "playlist_selected_item_background_color", b"playlist_selected_item_background_color", "right_widgets", b"right_widgets", "title", b"title", "updated_at", b"updated_at", "widget_accent_color", b"widget_accent_color", "widget_block_gap", b"widget_block_gap", "widget_block_separator_color", b"widget_block_separator_color", "widget_text_color_primary", b"widget_text_color_primary", "widget_text_color_secondary", b"widget_text_color_secondary"]) -> None: ...
145
+
146
+ global___StylePreset = StylePreset
147
+
148
+ @typing.final
149
+ class Widget(google.protobuf.message.Message):
150
+ """Represents a UI component that displays additional content or functionality.
151
+ Widgets can be positioned in different locations around the player.
152
+ """
153
+
154
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
155
+
156
+ @typing.final
157
+ class Summarization(google.protobuf.message.Message):
158
+ """Widget that presents an automatically generated summary of the video content.
159
+ This helps viewers quickly understand the main points without watching the entire video.
160
+ """
161
+
162
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
163
+
164
+ def __init__(
165
+ self,
166
+ ) -> None: ...
167
+
168
+ @typing.final
169
+ class Description(google.protobuf.message.Message):
170
+ """Widget that displays the full description text for the video.
171
+ This can include details about the content, creators, and other relevant information.
172
+ """
173
+
174
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
175
+
176
+ def __init__(
177
+ self,
178
+ ) -> None: ...
179
+
180
+ SUMMARIZATION_FIELD_NUMBER: builtins.int
181
+ DESCRIPTION_FIELD_NUMBER: builtins.int
182
+ @property
183
+ def summarization(self) -> global___Widget.Summarization:
184
+ """Widget that displays video content summarization."""
185
+
186
+ @property
187
+ def description(self) -> global___Widget.Description:
188
+ """Widget that displays detailed video description."""
189
+
190
+ def __init__(
191
+ self,
192
+ *,
193
+ summarization: global___Widget.Summarization | None = ...,
194
+ description: global___Widget.Description | None = ...,
195
+ ) -> None: ...
196
+ def HasField(self, field_name: typing.Literal["description", b"description", "summarization", b"summarization", "widget", b"widget"]) -> builtins.bool: ...
197
+ def ClearField(self, field_name: typing.Literal["description", b"description", "summarization", b"summarization", "widget", b"widget"]) -> None: ...
198
+ def WhichOneof(self, oneof_group: typing.Literal["widget", b"widget"]) -> typing.Literal["summarization", "description"] | None: ...
199
+
200
+ global___Widget = Widget
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.70.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in yandex/cloud/video/v1/style_preset_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...