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
@@ -0,0 +1,141 @@
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_service.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_service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
26
+ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
27
+ from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
28
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
29
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
30
+ from yandex.cloud.video.v1 import style_preset_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_style__preset__pb2
31
+
32
+
33
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/video/v1/style_preset_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a(yandex/cloud/video/v1/style_preset.proto\">\n\x15GetStylePresetRequest\x12%\n\x0fstyle_preset_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xb8\x01\n\x17ListStylePresetsRequest\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\x1a\n\x08order_by\x18\x66 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"t\n\x18ListStylePresetsResponse\x12\x39\n\rstyle_presets\x18\x01 \x03(\x0b\x32\".yandex.cloud.video.v1.StylePreset\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\x9b\x07\n\x18\x43reateStylePresetRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\x05title\x18\x02 \x01(\tB\x1f\xe8\xc7\x31\x01\xf2\xc7\x31\x0f[a-zA-Z0-9-_ ]+\x8a\xc8\x31\x04<=50\x12\x37\n\x10\x62\x61\x63kground_color\x18\x03 \x01(\tB\x1d\xe8\xc7\x31\x01\xf2\xc7\x31\r[#a-zA-Z0-9]+\x8a\xc8\x31\x04<=50\x12@\n\x19widget_text_color_primary\x18\x04 \x01(\tB\x1d\xe8\xc7\x31\x01\xf2\xc7\x31\r[#a-zA-Z0-9]+\x8a\xc8\x31\x04<=50\x12\x42\n\x1bwidget_text_color_secondary\x18\x05 \x01(\tB\x1d\xe8\xc7\x31\x01\xf2\xc7\x31\r[#a-zA-Z0-9]+\x8a\xc8\x31\x04<=50\x12:\n\x13widget_accent_color\x18\x06 \x01(\tB\x1d\xe8\xc7\x31\x01\xf2\xc7\x31\r[#a-zA-Z0-9]+\x8a\xc8\x31\x04<=50\x12\"\n\x10widget_block_gap\x18\x07 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-10\x12\x43\n\x1cwidget_block_separator_color\x18\x08 \x01(\tB\x1d\xe8\xc7\x31\x01\xf2\xc7\x31\r[#a-zA-Z0-9]+\x8a\xc8\x31\x04<=50\x12%\n\x14player_border_radius\x18\r \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\x33\n\x0cplayer_color\x18\x0e \x01(\tB\x1d\xe8\xc7\x31\x01\xf2\xc7\x31\r[#a-zA-Z0-9]+\x8a\xc8\x31\x04<=50\x12N\n\'playlist_selected_item_background_color\x18\x0f \x01(\tB\x1d\xe8\xc7\x31\x01\xf2\xc7\x31\r[#a-zA-Z0-9]+\x8a\xc8\x31\x04<=50\x12,\n\x1bplaylist_item_border_radius\x18\x10 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\"\n\x11playlist_item_gap\x18\x11 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12R\n\x11playlist_location\x18\x12 \x01(\x0e\x32\x31.yandex.cloud.video.v1.StylePreset.WidgetLocationB\x04\xe8\xc7\x31\x01\x12\x34\n\rright_widgets\x18\x0b \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Widget\x12\x35\n\x0e\x62ottom_widgets\x18\x0c \x03(\x0b\x32\x1d.yandex.cloud.video.v1.WidgetJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"4\n\x19\x43reateStylePresetMetadata\x12\x17\n\x0fstyle_preset_id\x18\x01 \x01(\t\"\xb5\x07\n\x18UpdateStylePresetRequest\x12%\n\x0fstyle_preset_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*\n\x05title\x18\x03 \x01(\tB\x1b\xf2\xc7\x31\x0f[a-zA-Z0-9-_ ]*\x8a\xc8\x31\x04<=50\x12\x34\n\x10\x62\x61\x63kground_color\x18\x04 \x01(\tB\x1a\xf2\xc7\x31\x0e[#a-zA-Z0-9-]*\x8a\xc8\x31\x04<=50\x12=\n\x19widget_text_color_primary\x18\x05 \x01(\tB\x1a\xf2\xc7\x31\x0e[#a-zA-Z0-9-]*\x8a\xc8\x31\x04<=50\x12?\n\x1bwidget_text_color_secondary\x18\x06 \x01(\tB\x1a\xf2\xc7\x31\x0e[#a-zA-Z0-9-]*\x8a\xc8\x31\x04<=50\x12\x37\n\x13widget_accent_color\x18\x07 \x01(\tB\x1a\xf2\xc7\x31\x0e[#a-zA-Z0-9-]*\x8a\xc8\x31\x04<=50\x12\"\n\x10widget_block_gap\x18\x08 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-10\x12@\n\x1cwidget_block_separator_color\x18\t \x01(\tB\x1a\xf2\xc7\x31\x0e[#a-zA-Z0-9-]*\x8a\xc8\x31\x04<=50\x12%\n\x14player_border_radius\x18\x0e \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12/\n\x0cplayer_color\x18\x0f \x01(\tB\x19\xf2\xc7\x31\r[#a-zA-Z0-9]*\x8a\xc8\x31\x04<=50\x12J\n\'playlist_selected_item_background_color\x18\x10 \x01(\tB\x19\xf2\xc7\x31\r[#a-zA-Z0-9]*\x8a\xc8\x31\x04<=50\x12,\n\x1bplaylist_item_border_radius\x18\x11 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\"\n\x11playlist_item_gap\x18\x12 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12L\n\x11playlist_location\x18\x13 \x01(\x0e\x32\x31.yandex.cloud.video.v1.StylePreset.WidgetLocation\x12\x34\n\rright_widgets\x18\x0c \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Widget\x12\x35\n\x0e\x62ottom_widgets\x18\r \x03(\x0b\x32\x1d.yandex.cloud.video.v1.WidgetJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0c\"4\n\x19UpdateStylePresetMetadata\x12\x17\n\x0fstyle_preset_id\x18\x01 \x01(\t\"A\n\x18\x44\x65leteStylePresetRequest\x12%\n\x0fstyle_preset_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"4\n\x19\x44\x65leteStylePresetMetadata\x12\x17\n\x0fstyle_preset_id\x18\x01 \x01(\t2\xdf\x06\n\x12StylePresetService\x12\x89\x01\n\x03Get\x12,.yandex.cloud.video.v1.GetStylePresetRequest\x1a\".yandex.cloud.video.v1.StylePreset\"0\x82\xd3\xe4\x93\x02*\x12(/video/v1/stylePresets/{style_preset_id}\x12\x87\x01\n\x04List\x12..yandex.cloud.video.v1.ListStylePresetsRequest\x1a/.yandex.cloud.video.v1.ListStylePresetsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/video/v1/stylePresets\x12\xab\x01\n\x06\x43reate\x12/.yandex.cloud.video.v1.CreateStylePresetRequest\x1a!.yandex.cloud.operation.Operation\"M\xb2\xd2*(\n\x19\x43reateStylePresetMetadata\x12\x0bStylePreset\x82\xd3\xe4\x93\x02\x1b\"\x16/video/v1/stylePresets:\x01*\x12\xbd\x01\n\x06Update\x12/.yandex.cloud.video.v1.UpdateStylePresetRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*(\n\x19UpdateStylePresetMetadata\x12\x0bStylePreset\x82\xd3\xe4\x93\x02-2(/video/v1/stylePresets/{style_preset_id}:\x01*\x12\xc4\x01\n\x06\x44\x65lete\x12/.yandex.cloud.video.v1.DeleteStylePresetRequest\x1a!.yandex.cloud.operation.Operation\"f\xb2\xd2*2\n\x19\x44\x65leteStylePresetMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02**(/video/v1/stylePresets/{style_preset_id}B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
34
+
35
+ _globals = globals()
36
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
37
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.style_preset_service_pb2', _globals)
38
+ if not _descriptor._USE_C_DESCRIPTORS:
39
+ _globals['DESCRIPTOR']._loaded_options = None
40
+ _globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
41
+ _globals['_GETSTYLEPRESETREQUEST'].fields_by_name['style_preset_id']._loaded_options = None
42
+ _globals['_GETSTYLEPRESETREQUEST'].fields_by_name['style_preset_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
43
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['channel_id']._loaded_options = None
44
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
45
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['page_size']._loaded_options = None
46
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
47
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['page_token']._loaded_options = None
48
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\007<=15000'
49
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['order_by']._loaded_options = None
50
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['order_by']._serialized_options = b'\212\3101\004<=50'
51
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['filter']._loaded_options = None
52
+ _globals['_LISTSTYLEPRESETSREQUEST'].fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
53
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['channel_id']._loaded_options = None
54
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
55
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['title']._loaded_options = None
56
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['title']._serialized_options = b'\350\3071\001\362\3071\017[a-zA-Z0-9-_ ]+\212\3101\004<=50'
57
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['background_color']._loaded_options = None
58
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['background_color']._serialized_options = b'\350\3071\001\362\3071\r[#a-zA-Z0-9]+\212\3101\004<=50'
59
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_text_color_primary']._loaded_options = None
60
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_text_color_primary']._serialized_options = b'\350\3071\001\362\3071\r[#a-zA-Z0-9]+\212\3101\004<=50'
61
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_text_color_secondary']._loaded_options = None
62
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_text_color_secondary']._serialized_options = b'\350\3071\001\362\3071\r[#a-zA-Z0-9]+\212\3101\004<=50'
63
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_accent_color']._loaded_options = None
64
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_accent_color']._serialized_options = b'\350\3071\001\362\3071\r[#a-zA-Z0-9]+\212\3101\004<=50'
65
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_block_gap']._loaded_options = None
66
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_block_gap']._serialized_options = b'\372\3071\0040-10'
67
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_block_separator_color']._loaded_options = None
68
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['widget_block_separator_color']._serialized_options = b'\350\3071\001\362\3071\r[#a-zA-Z0-9]+\212\3101\004<=50'
69
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['player_border_radius']._loaded_options = None
70
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['player_border_radius']._serialized_options = b'\372\3071\003>=0'
71
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['player_color']._loaded_options = None
72
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['player_color']._serialized_options = b'\350\3071\001\362\3071\r[#a-zA-Z0-9]+\212\3101\004<=50'
73
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['playlist_selected_item_background_color']._loaded_options = None
74
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['playlist_selected_item_background_color']._serialized_options = b'\350\3071\001\362\3071\r[#a-zA-Z0-9]+\212\3101\004<=50'
75
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['playlist_item_border_radius']._loaded_options = None
76
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['playlist_item_border_radius']._serialized_options = b'\372\3071\003>=0'
77
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['playlist_item_gap']._loaded_options = None
78
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['playlist_item_gap']._serialized_options = b'\372\3071\003>=0'
79
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['playlist_location']._loaded_options = None
80
+ _globals['_CREATESTYLEPRESETREQUEST'].fields_by_name['playlist_location']._serialized_options = b'\350\3071\001'
81
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['style_preset_id']._loaded_options = None
82
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['style_preset_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
83
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['field_mask']._loaded_options = None
84
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['field_mask']._serialized_options = b'\350\3071\001'
85
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['title']._loaded_options = None
86
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['title']._serialized_options = b'\362\3071\017[a-zA-Z0-9-_ ]*\212\3101\004<=50'
87
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['background_color']._loaded_options = None
88
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['background_color']._serialized_options = b'\362\3071\016[#a-zA-Z0-9-]*\212\3101\004<=50'
89
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_text_color_primary']._loaded_options = None
90
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_text_color_primary']._serialized_options = b'\362\3071\016[#a-zA-Z0-9-]*\212\3101\004<=50'
91
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_text_color_secondary']._loaded_options = None
92
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_text_color_secondary']._serialized_options = b'\362\3071\016[#a-zA-Z0-9-]*\212\3101\004<=50'
93
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_accent_color']._loaded_options = None
94
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_accent_color']._serialized_options = b'\362\3071\016[#a-zA-Z0-9-]*\212\3101\004<=50'
95
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_block_gap']._loaded_options = None
96
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_block_gap']._serialized_options = b'\372\3071\0040-10'
97
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_block_separator_color']._loaded_options = None
98
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['widget_block_separator_color']._serialized_options = b'\362\3071\016[#a-zA-Z0-9-]*\212\3101\004<=50'
99
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['player_border_radius']._loaded_options = None
100
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['player_border_radius']._serialized_options = b'\372\3071\003>=0'
101
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['player_color']._loaded_options = None
102
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['player_color']._serialized_options = b'\362\3071\r[#a-zA-Z0-9]*\212\3101\004<=50'
103
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['playlist_selected_item_background_color']._loaded_options = None
104
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['playlist_selected_item_background_color']._serialized_options = b'\362\3071\r[#a-zA-Z0-9]*\212\3101\004<=50'
105
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['playlist_item_border_radius']._loaded_options = None
106
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['playlist_item_border_radius']._serialized_options = b'\372\3071\003>=0'
107
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['playlist_item_gap']._loaded_options = None
108
+ _globals['_UPDATESTYLEPRESETREQUEST'].fields_by_name['playlist_item_gap']._serialized_options = b'\372\3071\003>=0'
109
+ _globals['_DELETESTYLEPRESETREQUEST'].fields_by_name['style_preset_id']._loaded_options = None
110
+ _globals['_DELETESTYLEPRESETREQUEST'].fields_by_name['style_preset_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
111
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['Get']._loaded_options = None
112
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002*\022(/video/v1/stylePresets/{style_preset_id}'
113
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['List']._loaded_options = None
114
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\030\022\026/video/v1/stylePresets'
115
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['Create']._loaded_options = None
116
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*(\n\031CreateStylePresetMetadata\022\013StylePreset\202\323\344\223\002\033\"\026/video/v1/stylePresets:\001*'
117
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['Update']._loaded_options = None
118
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*(\n\031UpdateStylePresetMetadata\022\013StylePreset\202\323\344\223\002-2(/video/v1/stylePresets/{style_preset_id}:\001*'
119
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['Delete']._loaded_options = None
120
+ _globals['_STYLEPRESETSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*2\n\031DeleteStylePresetMetadata\022\025google.protobuf.Empty\202\323\344\223\002**(/video/v1/stylePresets/{style_preset_id}'
121
+ _globals['_GETSTYLEPRESETREQUEST']._serialized_start=286
122
+ _globals['_GETSTYLEPRESETREQUEST']._serialized_end=348
123
+ _globals['_LISTSTYLEPRESETSREQUEST']._serialized_start=351
124
+ _globals['_LISTSTYLEPRESETSREQUEST']._serialized_end=535
125
+ _globals['_LISTSTYLEPRESETSRESPONSE']._serialized_start=537
126
+ _globals['_LISTSTYLEPRESETSRESPONSE']._serialized_end=653
127
+ _globals['_CREATESTYLEPRESETREQUEST']._serialized_start=656
128
+ _globals['_CREATESTYLEPRESETREQUEST']._serialized_end=1579
129
+ _globals['_CREATESTYLEPRESETMETADATA']._serialized_start=1581
130
+ _globals['_CREATESTYLEPRESETMETADATA']._serialized_end=1633
131
+ _globals['_UPDATESTYLEPRESETREQUEST']._serialized_start=1636
132
+ _globals['_UPDATESTYLEPRESETREQUEST']._serialized_end=2585
133
+ _globals['_UPDATESTYLEPRESETMETADATA']._serialized_start=2587
134
+ _globals['_UPDATESTYLEPRESETMETADATA']._serialized_end=2639
135
+ _globals['_DELETESTYLEPRESETREQUEST']._serialized_start=2641
136
+ _globals['_DELETESTYLEPRESETREQUEST']._serialized_end=2706
137
+ _globals['_DELETESTYLEPRESETMETADATA']._serialized_start=2708
138
+ _globals['_DELETESTYLEPRESETMETADATA']._serialized_end=2760
139
+ _globals['_STYLEPRESETSERVICE']._serialized_start=2763
140
+ _globals['_STYLEPRESETSERVICE']._serialized_end=3626
141
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,348 @@
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.field_mask_pb2
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.message
12
+ import typing
13
+ import yandex.cloud.video.v1.style_preset_pb2
14
+
15
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
16
+
17
+ @typing.final
18
+ class GetStylePresetRequest(google.protobuf.message.Message):
19
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
20
+
21
+ STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
22
+ style_preset_id: builtins.str
23
+ """ID of the style preset to retrieve."""
24
+ def __init__(
25
+ self,
26
+ *,
27
+ style_preset_id: builtins.str = ...,
28
+ ) -> None: ...
29
+ def ClearField(self, field_name: typing.Literal["style_preset_id", b"style_preset_id"]) -> None: ...
30
+
31
+ global___GetStylePresetRequest = GetStylePresetRequest
32
+
33
+ @typing.final
34
+ class ListStylePresetsRequest(google.protobuf.message.Message):
35
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
36
+
37
+ CHANNEL_ID_FIELD_NUMBER: builtins.int
38
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
39
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
40
+ ORDER_BY_FIELD_NUMBER: builtins.int
41
+ FILTER_FIELD_NUMBER: builtins.int
42
+ channel_id: builtins.str
43
+ """ID of the channel containing the style presets to list."""
44
+ page_size: builtins.int
45
+ """The maximum number of style presets to return per page."""
46
+ page_token: builtins.str
47
+ """Page token for retrieving the next page of results.
48
+ This token is obtained from the next_page_token field in the previous ListStylePresetsResponse.
49
+ """
50
+ order_by: builtins.str
51
+ """Specifies the ordering of results.
52
+ Format is "<field> <order>" (e.g., "createdAt desc").
53
+ Default: "id asc".
54
+ Supported fields: ["id", "title", "createdAt", "updatedAt"].
55
+ Both snake_case and camelCase field names are supported.
56
+ """
57
+ filter: builtins.str
58
+ """Filter expression to narrow down the list of returned style presets.
59
+ Expressions consist of terms connected by logical operators.
60
+ Values containing spaces or quotes must be enclosed in quotes (`'` or `"`)
61
+ with inner quotes being backslash-escaped.
62
+
63
+ Supported logical operators: ["AND", "OR"].
64
+ Supported comparison operators: ["=", "!=", ":"] where ":" enables substring matching.
65
+ Parentheses can be used to group logical expressions.
66
+
67
+ Example: `title:'dark' AND id='preset-1'`
68
+
69
+ Filterable fields: ["id", "title"].
70
+ Both snake_case and camelCase field names are supported.
71
+ """
72
+ def __init__(
73
+ self,
74
+ *,
75
+ channel_id: builtins.str = ...,
76
+ page_size: builtins.int = ...,
77
+ page_token: builtins.str = ...,
78
+ order_by: builtins.str = ...,
79
+ filter: builtins.str = ...,
80
+ ) -> None: ...
81
+ def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "filter", b"filter", "order_by", b"order_by", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
82
+
83
+ global___ListStylePresetsRequest = ListStylePresetsRequest
84
+
85
+ @typing.final
86
+ class ListStylePresetsResponse(google.protobuf.message.Message):
87
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
88
+
89
+ STYLE_PRESETS_FIELD_NUMBER: builtins.int
90
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
91
+ next_page_token: builtins.str
92
+ """Token for retrieving the next page of results.
93
+ Empty if there are no more results available.
94
+ """
95
+ @property
96
+ def style_presets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.style_preset_pb2.StylePreset]:
97
+ """List of style presets matching the request criteria.
98
+ May be empty if no style presets match the criteria or if the channel has no style presets.
99
+ """
100
+
101
+ def __init__(
102
+ self,
103
+ *,
104
+ style_presets: collections.abc.Iterable[yandex.cloud.video.v1.style_preset_pb2.StylePreset] | None = ...,
105
+ next_page_token: builtins.str = ...,
106
+ ) -> None: ...
107
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "style_presets", b"style_presets"]) -> None: ...
108
+
109
+ global___ListStylePresetsResponse = ListStylePresetsResponse
110
+
111
+ @typing.final
112
+ class CreateStylePresetRequest(google.protobuf.message.Message):
113
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
114
+
115
+ CHANNEL_ID_FIELD_NUMBER: builtins.int
116
+ TITLE_FIELD_NUMBER: builtins.int
117
+ BACKGROUND_COLOR_FIELD_NUMBER: builtins.int
118
+ WIDGET_TEXT_COLOR_PRIMARY_FIELD_NUMBER: builtins.int
119
+ WIDGET_TEXT_COLOR_SECONDARY_FIELD_NUMBER: builtins.int
120
+ WIDGET_ACCENT_COLOR_FIELD_NUMBER: builtins.int
121
+ WIDGET_BLOCK_GAP_FIELD_NUMBER: builtins.int
122
+ WIDGET_BLOCK_SEPARATOR_COLOR_FIELD_NUMBER: builtins.int
123
+ PLAYER_BORDER_RADIUS_FIELD_NUMBER: builtins.int
124
+ PLAYER_COLOR_FIELD_NUMBER: builtins.int
125
+ PLAYLIST_SELECTED_ITEM_BACKGROUND_COLOR_FIELD_NUMBER: builtins.int
126
+ PLAYLIST_ITEM_BORDER_RADIUS_FIELD_NUMBER: builtins.int
127
+ PLAYLIST_ITEM_GAP_FIELD_NUMBER: builtins.int
128
+ PLAYLIST_LOCATION_FIELD_NUMBER: builtins.int
129
+ RIGHT_WIDGETS_FIELD_NUMBER: builtins.int
130
+ BOTTOM_WIDGETS_FIELD_NUMBER: builtins.int
131
+ channel_id: builtins.str
132
+ """ID of the channel."""
133
+ title: builtins.str
134
+ """Style preset title."""
135
+ background_color: builtins.str
136
+ """Background color."""
137
+ widget_text_color_primary: builtins.str
138
+ """Widget primary text color."""
139
+ widget_text_color_secondary: builtins.str
140
+ """Widget secondary text color."""
141
+ widget_accent_color: builtins.str
142
+ """Widget accent color."""
143
+ widget_block_gap: builtins.int
144
+ """Gap between widget blocks."""
145
+ widget_block_separator_color: builtins.str
146
+ """Line color between widget blocks."""
147
+ player_border_radius: builtins.int
148
+ """Player border radius."""
149
+ player_color: builtins.str
150
+ """Player color."""
151
+ playlist_selected_item_background_color: builtins.str
152
+ """Background color of selected video in playlist."""
153
+ playlist_item_border_radius: builtins.int
154
+ """Playlist item border radius."""
155
+ playlist_item_gap: builtins.int
156
+ """Gap between videos in playlist."""
157
+ playlist_location: yandex.cloud.video.v1.style_preset_pb2.StylePreset.WidgetLocation.ValueType
158
+ """Playlist widget location."""
159
+ @property
160
+ def right_widgets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.style_preset_pb2.Widget]:
161
+ """List of widgets to display to the right of the player."""
162
+
163
+ @property
164
+ def bottom_widgets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.style_preset_pb2.Widget]:
165
+ """List of widgets to display below the player."""
166
+
167
+ def __init__(
168
+ self,
169
+ *,
170
+ channel_id: builtins.str = ...,
171
+ title: builtins.str = ...,
172
+ background_color: builtins.str = ...,
173
+ widget_text_color_primary: builtins.str = ...,
174
+ widget_text_color_secondary: builtins.str = ...,
175
+ widget_accent_color: builtins.str = ...,
176
+ widget_block_gap: builtins.int = ...,
177
+ widget_block_separator_color: builtins.str = ...,
178
+ player_border_radius: builtins.int = ...,
179
+ player_color: builtins.str = ...,
180
+ playlist_selected_item_background_color: builtins.str = ...,
181
+ playlist_item_border_radius: builtins.int = ...,
182
+ playlist_item_gap: builtins.int = ...,
183
+ playlist_location: yandex.cloud.video.v1.style_preset_pb2.StylePreset.WidgetLocation.ValueType = ...,
184
+ right_widgets: collections.abc.Iterable[yandex.cloud.video.v1.style_preset_pb2.Widget] | None = ...,
185
+ bottom_widgets: collections.abc.Iterable[yandex.cloud.video.v1.style_preset_pb2.Widget] | None = ...,
186
+ ) -> None: ...
187
+ def ClearField(self, field_name: typing.Literal["background_color", b"background_color", "bottom_widgets", b"bottom_widgets", "channel_id", b"channel_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", "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: ...
188
+
189
+ global___CreateStylePresetRequest = CreateStylePresetRequest
190
+
191
+ @typing.final
192
+ class CreateStylePresetMetadata(google.protobuf.message.Message):
193
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
194
+
195
+ STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
196
+ style_preset_id: builtins.str
197
+ """ID of the style preset being created."""
198
+ def __init__(
199
+ self,
200
+ *,
201
+ style_preset_id: builtins.str = ...,
202
+ ) -> None: ...
203
+ def ClearField(self, field_name: typing.Literal["style_preset_id", b"style_preset_id"]) -> None: ...
204
+
205
+ global___CreateStylePresetMetadata = CreateStylePresetMetadata
206
+
207
+ @typing.final
208
+ class UpdateStylePresetRequest(google.protobuf.message.Message):
209
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
210
+
211
+ STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
212
+ FIELD_MASK_FIELD_NUMBER: builtins.int
213
+ TITLE_FIELD_NUMBER: builtins.int
214
+ BACKGROUND_COLOR_FIELD_NUMBER: builtins.int
215
+ WIDGET_TEXT_COLOR_PRIMARY_FIELD_NUMBER: builtins.int
216
+ WIDGET_TEXT_COLOR_SECONDARY_FIELD_NUMBER: builtins.int
217
+ WIDGET_ACCENT_COLOR_FIELD_NUMBER: builtins.int
218
+ WIDGET_BLOCK_GAP_FIELD_NUMBER: builtins.int
219
+ WIDGET_BLOCK_SEPARATOR_COLOR_FIELD_NUMBER: builtins.int
220
+ PLAYER_BORDER_RADIUS_FIELD_NUMBER: builtins.int
221
+ PLAYER_COLOR_FIELD_NUMBER: builtins.int
222
+ PLAYLIST_SELECTED_ITEM_BACKGROUND_COLOR_FIELD_NUMBER: builtins.int
223
+ PLAYLIST_ITEM_BORDER_RADIUS_FIELD_NUMBER: builtins.int
224
+ PLAYLIST_ITEM_GAP_FIELD_NUMBER: builtins.int
225
+ PLAYLIST_LOCATION_FIELD_NUMBER: builtins.int
226
+ RIGHT_WIDGETS_FIELD_NUMBER: builtins.int
227
+ BOTTOM_WIDGETS_FIELD_NUMBER: builtins.int
228
+ style_preset_id: builtins.str
229
+ """ID of the style preset."""
230
+ title: builtins.str
231
+ """Style preset title."""
232
+ background_color: builtins.str
233
+ """Background color."""
234
+ widget_text_color_primary: builtins.str
235
+ """Widget primary text color."""
236
+ widget_text_color_secondary: builtins.str
237
+ """Widget secondary text color."""
238
+ widget_accent_color: builtins.str
239
+ """Widget accent color."""
240
+ widget_block_gap: builtins.int
241
+ """Gap between widget blocks."""
242
+ widget_block_separator_color: builtins.str
243
+ """Line color between widget blocks."""
244
+ player_border_radius: builtins.int
245
+ """Player border radius."""
246
+ player_color: builtins.str
247
+ """Player color."""
248
+ playlist_selected_item_background_color: builtins.str
249
+ """Background color of selected video in playlist."""
250
+ playlist_item_border_radius: builtins.int
251
+ """Playlist item border radius."""
252
+ playlist_item_gap: builtins.int
253
+ """Gap between videos in playlist."""
254
+ playlist_location: yandex.cloud.video.v1.style_preset_pb2.StylePreset.WidgetLocation.ValueType
255
+ """Playlist widget location."""
256
+ @property
257
+ def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
258
+ """Field mask specifying which fields of the style preset should be updated.
259
+ Only fields specified in this mask will be modified;
260
+ all other fields will retain their current values.
261
+ This allows for partial updates.
262
+ """
263
+
264
+ @property
265
+ def right_widgets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.style_preset_pb2.Widget]:
266
+ """List of widgets to display to the right of the player."""
267
+
268
+ @property
269
+ def bottom_widgets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.style_preset_pb2.Widget]:
270
+ """List of widgets to display below the player."""
271
+
272
+ def __init__(
273
+ self,
274
+ *,
275
+ style_preset_id: builtins.str = ...,
276
+ field_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
277
+ title: builtins.str = ...,
278
+ background_color: builtins.str = ...,
279
+ widget_text_color_primary: builtins.str = ...,
280
+ widget_text_color_secondary: builtins.str = ...,
281
+ widget_accent_color: builtins.str = ...,
282
+ widget_block_gap: builtins.int = ...,
283
+ widget_block_separator_color: builtins.str = ...,
284
+ player_border_radius: builtins.int = ...,
285
+ player_color: builtins.str = ...,
286
+ playlist_selected_item_background_color: builtins.str = ...,
287
+ playlist_item_border_radius: builtins.int = ...,
288
+ playlist_item_gap: builtins.int = ...,
289
+ playlist_location: yandex.cloud.video.v1.style_preset_pb2.StylePreset.WidgetLocation.ValueType = ...,
290
+ right_widgets: collections.abc.Iterable[yandex.cloud.video.v1.style_preset_pb2.Widget] | None = ...,
291
+ bottom_widgets: collections.abc.Iterable[yandex.cloud.video.v1.style_preset_pb2.Widget] | None = ...,
292
+ ) -> None: ...
293
+ def HasField(self, field_name: typing.Literal["field_mask", b"field_mask"]) -> builtins.bool: ...
294
+ def ClearField(self, field_name: typing.Literal["background_color", b"background_color", "bottom_widgets", b"bottom_widgets", "field_mask", b"field_mask", "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", "style_preset_id", b"style_preset_id", "title", b"title", "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: ...
295
+
296
+ global___UpdateStylePresetRequest = UpdateStylePresetRequest
297
+
298
+ @typing.final
299
+ class UpdateStylePresetMetadata(google.protobuf.message.Message):
300
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
301
+
302
+ STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
303
+ style_preset_id: builtins.str
304
+ """ID of the style preset being updated."""
305
+ def __init__(
306
+ self,
307
+ *,
308
+ style_preset_id: builtins.str = ...,
309
+ ) -> None: ...
310
+ def ClearField(self, field_name: typing.Literal["style_preset_id", b"style_preset_id"]) -> None: ...
311
+
312
+ global___UpdateStylePresetMetadata = UpdateStylePresetMetadata
313
+
314
+ @typing.final
315
+ class DeleteStylePresetRequest(google.protobuf.message.Message):
316
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
317
+
318
+ STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
319
+ style_preset_id: builtins.str
320
+ """ID of the style preset to delete.
321
+ The style preset must not be in use by any videos, episodes, or playlists.
322
+ """
323
+ def __init__(
324
+ self,
325
+ *,
326
+ style_preset_id: builtins.str = ...,
327
+ ) -> None: ...
328
+ def ClearField(self, field_name: typing.Literal["style_preset_id", b"style_preset_id"]) -> None: ...
329
+
330
+ global___DeleteStylePresetRequest = DeleteStylePresetRequest
331
+
332
+ @typing.final
333
+ class DeleteStylePresetMetadata(google.protobuf.message.Message):
334
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
335
+
336
+ STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
337
+ style_preset_id: builtins.str
338
+ """ID of the style preset being deleted.
339
+ This identifier can be used to track the style preset deletion operation.
340
+ """
341
+ def __init__(
342
+ self,
343
+ *,
344
+ style_preset_id: builtins.str = ...,
345
+ ) -> None: ...
346
+ def ClearField(self, field_name: typing.Literal["style_preset_id", b"style_preset_id"]) -> None: ...
347
+
348
+ global___DeleteStylePresetMetadata = DeleteStylePresetMetadata