yandexcloud 0.323.0__py3-none-any.whl → 0.325.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 (167) hide show
  1. yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +1 -1
  2. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +4 -2
  3. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +6 -3
  4. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.py +3 -3
  5. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.pyi +3 -3
  6. yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +3 -3
  7. yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +25 -10
  8. yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +11 -5
  9. yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +33 -9
  10. yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +27 -27
  11. yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +18 -6
  12. yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
  13. yandex/cloud/ai/stt/v3/stt_pb2.pyi +15 -0
  14. yandex/cloud/ai/stt/v3/stt_service_pb2.py +10 -7
  15. yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.py +34 -0
  16. yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.pyi +18 -0
  17. yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +26 -26
  18. yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +7 -1
  19. yandex/cloud/backup/v1/backup_service_pb2.py +42 -41
  20. yandex/cloud/backup/v1/backup_service_pb2.pyi +6 -1
  21. yandex/cloud/backup/v1/policy_pb2.pyi +1 -1
  22. yandex/cloud/billing/v1/customer_service_pb2.pyi +5 -4
  23. yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
  24. yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
  25. yandex/cloud/cloudregistry/__init__.py +0 -0
  26. yandex/cloud/cloudregistry/v1/__init__.py +0 -0
  27. yandex/cloud/cloudregistry/v1/artifact_pb2.py +31 -0
  28. yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +112 -0
  29. yandex/cloud/cloudregistry/v1/artifact_pb2_grpc.py +4 -0
  30. yandex/cloud/cloudregistry/v1/artifact_pb2_grpc.pyi +17 -0
  31. yandex/cloud/cloudregistry/v1/artifact_service_pb2.py +45 -0
  32. yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +59 -0
  33. yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +108 -0
  34. yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +81 -0
  35. yandex/cloud/cloudregistry/v1/ip_permission_pb2.py +37 -0
  36. yandex/cloud/cloudregistry/v1/ip_permission_pb2.pyi +95 -0
  37. yandex/cloud/cloudregistry/v1/ip_permission_pb2_grpc.py +4 -0
  38. yandex/cloud/cloudregistry/v1/ip_permission_pb2_grpc.pyi +17 -0
  39. yandex/cloud/cloudregistry/v1/registry_pb2.py +41 -0
  40. yandex/cloud/cloudregistry/v1/registry_pb2.pyi +181 -0
  41. yandex/cloud/cloudregistry/v1/registry_pb2_grpc.py +4 -0
  42. yandex/cloud/cloudregistry/v1/registry_pb2_grpc.pyi +17 -0
  43. yandex/cloud/cloudregistry/v1/registry_service_pb2.py +157 -0
  44. yandex/cloud/cloudregistry/v1/registry_service_pb2.pyi +504 -0
  45. yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +451 -0
  46. yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +291 -0
  47. yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +8 -10
  48. yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +2 -28
  49. yandex/cloud/compute/v1/instance_service_pb2_grpc.py +1 -1
  50. yandex/cloud/compute/v1/instance_service_pb2_grpc.pyi +3 -3
  51. yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +9 -5
  52. yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +96 -0
  53. yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +55 -53
  54. yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +14 -2
  55. yandex/cloud/iam/v1/user_account_pb2.pyi +2 -2
  56. yandex/cloud/iam/v1/user_account_service_pb2_grpc.py +3 -3
  57. yandex/cloud/iam/v1/user_account_service_pb2_grpc.pyi +3 -3
  58. yandex/cloud/lockbox/v1/secret_service_pb2.py +56 -55
  59. yandex/cloud/lockbox/v1/secret_service_pb2.pyi +13 -2
  60. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +55 -45
  61. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +40 -0
  62. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +34 -0
  63. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +20 -0
  64. yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +47 -43
  65. yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +34 -6
  66. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +109 -105
  67. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +35 -7
  68. yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.py +68 -0
  69. yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.pyi +512 -0
  70. yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2_grpc.py +4 -0
  71. yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2_grpc.pyi +17 -0
  72. yandex/cloud/mdb/postgresql/v1/config/host17_pb2.py +68 -0
  73. yandex/cloud/mdb/postgresql/v1/config/host17_pb2.pyi +512 -0
  74. yandex/cloud/mdb/postgresql/v1/config/host17_pb2_grpc.py +4 -0
  75. yandex/cloud/mdb/postgresql/v1/config/host17_pb2_grpc.pyi +17 -0
  76. yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.py +168 -0
  77. yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.pyi +1130 -0
  78. yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2_grpc.py +4 -0
  79. yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2_grpc.pyi +17 -0
  80. yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.py +168 -0
  81. yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.pyi +1122 -0
  82. yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2_grpc.py +4 -0
  83. yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2_grpc.pyi +17 -0
  84. yandex/cloud/mdb/redis/v1/backup_pb2.py +4 -2
  85. yandex/cloud/mdb/redis/v1/backup_pb2.pyi +31 -1
  86. yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +2 -2
  87. yandex/cloud/searchapi/__init__.py +0 -0
  88. yandex/cloud/searchapi/v2/__init__.py +0 -0
  89. yandex/cloud/searchapi/v2/search_query_pb2.py +37 -0
  90. yandex/cloud/searchapi/v2/search_query_pb2.pyi +100 -0
  91. yandex/cloud/searchapi/v2/search_query_pb2_grpc.py +4 -0
  92. yandex/cloud/searchapi/v2/search_query_pb2_grpc.pyi +17 -0
  93. yandex/cloud/searchapi/v2/search_service_pb2.py +61 -0
  94. yandex/cloud/searchapi/v2/search_service_pb2.pyi +218 -0
  95. yandex/cloud/searchapi/v2/search_service_pb2_grpc.py +70 -0
  96. yandex/cloud/searchapi/v2/search_service_pb2_grpc.pyi +48 -0
  97. yandex/cloud/serverless/containers/v1/container_pb2.py +42 -34
  98. yandex/cloud/serverless/containers/v1/container_pb2.pyi +52 -2
  99. yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
  100. yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
  101. yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +9 -9
  102. yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +8 -0
  103. yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +31 -31
  104. yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +4 -0
  105. yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +23 -15
  106. yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +32 -0
  107. yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +34 -0
  108. yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +20 -0
  109. yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +46 -40
  110. yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +47 -2
  111. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +18 -18
  112. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +16 -3
  113. yandex/cloud/video/v1/channel_pb2.py +1 -1
  114. yandex/cloud/video/v1/channel_service_pb2.py +58 -25
  115. yandex/cloud/video/v1/channel_service_pb2.pyi +40 -0
  116. yandex/cloud/video/v1/channel_service_pb2_grpc.py +34 -0
  117. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +20 -0
  118. yandex/cloud/video/v1/episode_pb2.py +10 -8
  119. yandex/cloud/video/v1/episode_pb2.pyi +19 -3
  120. yandex/cloud/video/v1/episode_service_pb2.py +96 -43
  121. yandex/cloud/video/v1/episode_service_pb2.pyi +68 -6
  122. yandex/cloud/video/v1/episode_service_pb2_grpc.py +34 -0
  123. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
  124. yandex/cloud/video/v1/manifest_pb2.py +3 -3
  125. yandex/cloud/video/v1/manifest_pb2.pyi +1 -5
  126. yandex/cloud/video/v1/playlist_pb2.py +29 -0
  127. yandex/cloud/video/v1/playlist_pb2.pyi +89 -0
  128. yandex/cloud/video/v1/playlist_pb2_grpc.py +4 -0
  129. yandex/cloud/video/v1/playlist_pb2_grpc.pyi +17 -0
  130. yandex/cloud/video/v1/playlist_service_pb2.py +102 -0
  131. yandex/cloud/video/v1/playlist_service_pb2.pyi +331 -0
  132. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +276 -0
  133. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +172 -0
  134. yandex/cloud/video/v1/stream_line_pb2.py +1 -1
  135. yandex/cloud/video/v1/stream_line_service_pb2.py +122 -55
  136. yandex/cloud/video/v1/stream_line_service_pb2.pyi +80 -0
  137. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +68 -0
  138. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +40 -0
  139. yandex/cloud/video/v1/stream_pb2.py +1 -1
  140. yandex/cloud/video/v1/stream_service_pb2.py +98 -37
  141. yandex/cloud/video/v1/stream_service_pb2.pyi +80 -0
  142. yandex/cloud/video/v1/stream_service_pb2_grpc.py +68 -0
  143. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +40 -0
  144. yandex/cloud/video/v1/subtitle_pb2.py +29 -0
  145. yandex/cloud/video/v1/subtitle_pb2.pyi +90 -0
  146. yandex/cloud/video/v1/subtitle_pb2_grpc.py +4 -0
  147. yandex/cloud/video/v1/subtitle_pb2_grpc.pyi +17 -0
  148. yandex/cloud/video/v1/subtitle_service_pb2.py +83 -0
  149. yandex/cloud/video/v1/subtitle_service_pb2.pyi +212 -0
  150. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +208 -0
  151. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +132 -0
  152. yandex/cloud/video/v1/thumbnail_service_pb2.py +50 -21
  153. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +48 -0
  154. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +69 -0
  155. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +41 -0
  156. yandex/cloud/video/v1/video_pb2.py +18 -14
  157. yandex/cloud/video/v1/video_pb2.pyi +55 -3
  158. yandex/cloud/video/v1/video_service_pb2.py +118 -49
  159. yandex/cloud/video/v1/video_service_pb2.pyi +161 -6
  160. yandex/cloud/video/v1/video_service_pb2_grpc.py +102 -0
  161. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +60 -0
  162. {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/METADATA +1 -1
  163. {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/RECORD +167 -103
  164. {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/WHEEL +1 -1
  165. {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/AUTHORS +0 -0
  166. {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/LICENSE +0 -0
  167. {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/top_level.txt +0 -0
@@ -35,6 +35,12 @@ class StreamServiceStub:
35
35
  ]
36
36
  """List streams for channel."""
37
37
 
38
+ BatchGet: grpc.UnaryUnaryMultiCallable[
39
+ yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsRequest,
40
+ yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsResponse,
41
+ ]
42
+ """Batch get streams for channel."""
43
+
38
44
  Create: grpc.UnaryUnaryMultiCallable[
39
45
  yandex.cloud.video.v1.stream_service_pb2.CreateStreamRequest,
40
46
  yandex.cloud.operation.operation_pb2.Operation,
@@ -53,6 +59,12 @@ class StreamServiceStub:
53
59
  ]
54
60
  """Delete stream."""
55
61
 
62
+ BatchDelete: grpc.UnaryUnaryMultiCallable[
63
+ yandex.cloud.video.v1.stream_service_pb2.BatchDeleteStreamsRequest,
64
+ yandex.cloud.operation.operation_pb2.Operation,
65
+ ]
66
+ """Batch delete streams."""
67
+
56
68
  PerformAction: grpc.UnaryUnaryMultiCallable[
57
69
  yandex.cloud.video.v1.stream_service_pb2.PerformStreamActionRequest,
58
70
  yandex.cloud.operation.operation_pb2.Operation,
@@ -74,6 +86,12 @@ class StreamServiceAsyncStub:
74
86
  ]
75
87
  """List streams for channel."""
76
88
 
89
+ BatchGet: grpc.aio.UnaryUnaryMultiCallable[
90
+ yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsRequest,
91
+ yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsResponse,
92
+ ]
93
+ """Batch get streams for channel."""
94
+
77
95
  Create: grpc.aio.UnaryUnaryMultiCallable[
78
96
  yandex.cloud.video.v1.stream_service_pb2.CreateStreamRequest,
79
97
  yandex.cloud.operation.operation_pb2.Operation,
@@ -92,6 +110,12 @@ class StreamServiceAsyncStub:
92
110
  ]
93
111
  """Delete stream."""
94
112
 
113
+ BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
114
+ yandex.cloud.video.v1.stream_service_pb2.BatchDeleteStreamsRequest,
115
+ yandex.cloud.operation.operation_pb2.Operation,
116
+ ]
117
+ """Batch delete streams."""
118
+
95
119
  PerformAction: grpc.aio.UnaryUnaryMultiCallable[
96
120
  yandex.cloud.video.v1.stream_service_pb2.PerformStreamActionRequest,
97
121
  yandex.cloud.operation.operation_pb2.Operation,
@@ -117,6 +141,14 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
117
141
  ) -> typing.Union[yandex.cloud.video.v1.stream_service_pb2.ListStreamsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.stream_service_pb2.ListStreamsResponse]]:
118
142
  """List streams for channel."""
119
143
 
144
+ @abc.abstractmethod
145
+ def BatchGet(
146
+ self,
147
+ request: yandex.cloud.video.v1.stream_service_pb2.BatchGetStreamsRequest,
148
+ context: _ServicerContext,
149
+ ) -> 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."""
151
+
120
152
  @abc.abstractmethod
121
153
  def Create(
122
154
  self,
@@ -141,6 +173,14 @@ class StreamServiceServicer(metaclass=abc.ABCMeta):
141
173
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
142
174
  """Delete stream."""
143
175
 
176
+ @abc.abstractmethod
177
+ def BatchDelete(
178
+ self,
179
+ request: yandex.cloud.video.v1.stream_service_pb2.BatchDeleteStreamsRequest,
180
+ context: _ServicerContext,
181
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
182
+ """Batch delete streams."""
183
+
144
184
  @abc.abstractmethod
145
185
  def PerformAction(
146
186
  self,
@@ -0,0 +1,29 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/video/v1/subtitle.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import symbol_database as _symbol_database
8
+ from google.protobuf.internal import builder as _builder
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
+
16
+
17
+ 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')
18
+
19
+ _globals = globals()
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.subtitle_pb2', _globals)
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+ DESCRIPTOR._options = None
24
+ DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
25
+ _globals['_SUBTITLE']._serialized_start=97
26
+ _globals['_SUBTITLE']._serialized_end=462
27
+ _globals['_SUBTITLE_SUBTITLESTATUS']._serialized_start=353
28
+ _globals['_SUBTITLE_SUBTITLESTATUS']._serialized_end=436
29
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,90 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.enum_type_wrapper
9
+ import google.protobuf.message
10
+ import google.protobuf.timestamp_pb2
11
+ import sys
12
+ import typing
13
+
14
+ if sys.version_info >= (3, 10):
15
+ import typing as typing_extensions
16
+ else:
17
+ import typing_extensions
18
+
19
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
20
+
21
+ @typing.final
22
+ class Subtitle(google.protobuf.message.Message):
23
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
24
+
25
+ class _SubtitleStatus:
26
+ ValueType = typing.NewType("ValueType", builtins.int)
27
+ V: typing_extensions.TypeAlias = ValueType
28
+
29
+ class _SubtitleStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Subtitle._SubtitleStatus.ValueType], builtins.type):
30
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
31
+ SUBTITLE_STATUS_UNSPECIFIED: Subtitle._SubtitleStatus.ValueType # 0
32
+ """Subtitle status unspecified."""
33
+ WAIT_UPLOADING: Subtitle._SubtitleStatus.ValueType # 1
34
+ """Waiting for all the bytes to be loaded."""
35
+ UPLOADED: Subtitle._SubtitleStatus.ValueType # 2
36
+ """Uploading is complete."""
37
+
38
+ class SubtitleStatus(_SubtitleStatus, metaclass=_SubtitleStatusEnumTypeWrapper): ...
39
+ SUBTITLE_STATUS_UNSPECIFIED: Subtitle.SubtitleStatus.ValueType # 0
40
+ """Subtitle status unspecified."""
41
+ WAIT_UPLOADING: Subtitle.SubtitleStatus.ValueType # 1
42
+ """Waiting for all the bytes to be loaded."""
43
+ UPLOADED: Subtitle.SubtitleStatus.ValueType # 2
44
+ """Uploading is complete."""
45
+
46
+ ID_FIELD_NUMBER: builtins.int
47
+ LANGUAGE_FIELD_NUMBER: builtins.int
48
+ LABEL_FIELD_NUMBER: builtins.int
49
+ STATUS_FIELD_NUMBER: builtins.int
50
+ FILENAME_FIELD_NUMBER: builtins.int
51
+ CREATED_AT_FIELD_NUMBER: builtins.int
52
+ UPDATED_AT_FIELD_NUMBER: builtins.int
53
+ VIDEO_ID_FIELD_NUMBER: builtins.int
54
+ id: builtins.str
55
+ """ID of the subtitle."""
56
+ language: builtins.str
57
+ """Subtitle language represented as a three-letter ISO 639-3 code."""
58
+ label: builtins.str
59
+ """Subtitle caption to be displayed on screen during video playback."""
60
+ status: global___Subtitle.SubtitleStatus.ValueType
61
+ """Subtitle status."""
62
+ filename: builtins.str
63
+ """Subtitle filename."""
64
+ video_id: builtins.str
65
+ """ID of the video."""
66
+ @property
67
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
68
+ """Time when subtitle was created."""
69
+
70
+ @property
71
+ def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
72
+ """Time of last subtitle update."""
73
+
74
+ def __init__(
75
+ self,
76
+ *,
77
+ id: builtins.str = ...,
78
+ language: builtins.str = ...,
79
+ label: builtins.str = ...,
80
+ status: global___Subtitle.SubtitleStatus.ValueType = ...,
81
+ filename: builtins.str = ...,
82
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
83
+ updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
84
+ video_id: builtins.str = ...,
85
+ ) -> None: ...
86
+ 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: ...
88
+ def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["video_id"] | None: ...
89
+
90
+ global___Subtitle = Subtitle
@@ -0,0 +1,4 @@
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
+
@@ -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
+ ...
@@ -0,0 +1,83 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/video/v1/subtitle_service.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import symbol_database as _symbol_database
8
+ from google.protobuf.internal import builder as _builder
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
15
+ from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
16
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
17
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
18
+ from yandex.cloud.video.v1 import subtitle_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_subtitle__pb2
19
+
20
+
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/video/v1/subtitle_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a$yandex/cloud/video/v1/subtitle.proto\"7\n\x12GetSubtitleRequest\x12!\n\x0bsubtitle_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x93\x01\n\x14ListSubtitlesRequest\x12\x1d\n\tpage_size\x18\x64 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x65 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x1d\n\x08video_id\x18\xe8\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x42\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01J\x04\x08\x01\x10\x64J\x05\x08\x66\x10\xe8\x07\"j\n\x15ListSubtitlesResponse\x12\x32\n\tsubtitles\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Subtitle\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xc9\x01\n\x15\x43reateSubtitleRequest\x12\x10\n\x08language\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x1d\n\x08video_id\x18\xe8\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12>\n\x06upload\x18\xcc\x08 \x01(\x0b\x32+.yandex.cloud.video.v1.SubtitleUploadParamsH\x01\x42\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01\x42\x0e\n\x06source\x12\x04\xc0\xc1\x31\x01J\x05\x08\x03\x10\xe8\x07J\x06\x08\xe9\x07\x10\xcc\x08\".\n\x14SubtitleUploadParams\x12\x16\n\x08\x66ilename\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"-\n\x16\x43reateSubtitleMetadata\x12\x13\n\x0bsubtitle_id\x18\x01 \x01(\t\"E\n GenerateSubtitleUploadURLRequest\x12!\n\x0bsubtitle_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"7\n!GenerateSubtitleUploadURLResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\":\n\x15\x44\x65leteSubtitleRequest\x12!\n\x0bsubtitle_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65leteSubtitleMetadata\x12\x13\n\x0bsubtitle_id\x18\x01 \x01(\t2\xb1\x06\n\x0fSubtitleService\x12|\n\x03Get\x12).yandex.cloud.video.v1.GetSubtitleRequest\x1a\x1f.yandex.cloud.video.v1.Subtitle\")\x82\xd3\xe4\x93\x02#\x12!/video/v1/subtitles/{subtitle_id}\x12~\n\x04List\x12+.yandex.cloud.video.v1.ListSubtitlesRequest\x1a,.yandex.cloud.video.v1.ListSubtitlesResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/video/v1/subtitles\x12\x9f\x01\n\x06\x43reate\x12,.yandex.cloud.video.v1.CreateSubtitleRequest\x1a!.yandex.cloud.operation.Operation\"D\xb2\xd2*\"\n\x16\x43reateSubtitleMetadata\x12\x08Subtitle\x82\xd3\xe4\x93\x02\x18\"\x13/video/v1/subtitles:\x01*\x12\xc3\x01\n\x11GenerateUploadURL\x12\x37.yandex.cloud.video.v1.GenerateSubtitleUploadURLRequest\x1a\x38.yandex.cloud.video.v1.GenerateSubtitleUploadURLResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/video/v1/subtitles/{subtitle_id}:generateUploadURL\x12\xb7\x01\n\x06\x44\x65lete\x12,.yandex.cloud.video.v1.DeleteSubtitleRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*/\n\x16\x44\x65leteSubtitleMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#*!/video/v1/subtitles/{subtitle_id}B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
22
+
23
+ _globals = globals()
24
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
25
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.subtitle_service_pb2', _globals)
26
+ if _descriptor._USE_C_DESCRIPTORS == False:
27
+ DESCRIPTOR._options = None
28
+ DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
29
+ _GETSUBTITLEREQUEST.fields_by_name['subtitle_id']._options = None
30
+ _GETSUBTITLEREQUEST.fields_by_name['subtitle_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
31
+ _LISTSUBTITLESREQUEST.oneofs_by_name['parent_id']._options = None
32
+ _LISTSUBTITLESREQUEST.oneofs_by_name['parent_id']._serialized_options = b'\300\3011\001'
33
+ _LISTSUBTITLESREQUEST.fields_by_name['page_size']._options = None
34
+ _LISTSUBTITLESREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
35
+ _LISTSUBTITLESREQUEST.fields_by_name['page_token']._options = None
36
+ _LISTSUBTITLESREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
37
+ _LISTSUBTITLESREQUEST.fields_by_name['video_id']._options = None
38
+ _LISTSUBTITLESREQUEST.fields_by_name['video_id']._serialized_options = b'\212\3101\004<=50'
39
+ _CREATESUBTITLEREQUEST.oneofs_by_name['parent_id']._options = None
40
+ _CREATESUBTITLEREQUEST.oneofs_by_name['parent_id']._serialized_options = b'\300\3011\001'
41
+ _CREATESUBTITLEREQUEST.oneofs_by_name['source']._options = None
42
+ _CREATESUBTITLEREQUEST.oneofs_by_name['source']._serialized_options = b'\300\3011\001'
43
+ _CREATESUBTITLEREQUEST.fields_by_name['video_id']._options = None
44
+ _CREATESUBTITLEREQUEST.fields_by_name['video_id']._serialized_options = b'\212\3101\004<=50'
45
+ _SUBTITLEUPLOADPARAMS.fields_by_name['filename']._options = None
46
+ _SUBTITLEUPLOADPARAMS.fields_by_name['filename']._serialized_options = b'\350\3071\001'
47
+ _GENERATESUBTITLEUPLOADURLREQUEST.fields_by_name['subtitle_id']._options = None
48
+ _GENERATESUBTITLEUPLOADURLREQUEST.fields_by_name['subtitle_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
49
+ _DELETESUBTITLEREQUEST.fields_by_name['subtitle_id']._options = None
50
+ _DELETESUBTITLEREQUEST.fields_by_name['subtitle_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
51
+ _SUBTITLESERVICE.methods_by_name['Get']._options = None
52
+ _SUBTITLESERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002#\022!/video/v1/subtitles/{subtitle_id}'
53
+ _SUBTITLESERVICE.methods_by_name['List']._options = None
54
+ _SUBTITLESERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\025\022\023/video/v1/subtitles'
55
+ _SUBTITLESERVICE.methods_by_name['Create']._options = None
56
+ _SUBTITLESERVICE.methods_by_name['Create']._serialized_options = b'\262\322*\"\n\026CreateSubtitleMetadata\022\010Subtitle\202\323\344\223\002\030\"\023/video/v1/subtitles:\001*'
57
+ _SUBTITLESERVICE.methods_by_name['GenerateUploadURL']._options = None
58
+ _SUBTITLESERVICE.methods_by_name['GenerateUploadURL']._serialized_options = b'\202\323\344\223\0025\0223/video/v1/subtitles/{subtitle_id}:generateUploadURL'
59
+ _SUBTITLESERVICE.methods_by_name['Delete']._options = None
60
+ _SUBTITLESERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*/\n\026DeleteSubtitleMetadata\022\025google.protobuf.Empty\202\323\344\223\002#*!/video/v1/subtitles/{subtitle_id}'
61
+ _globals['_GETSUBTITLEREQUEST']._serialized_start=244
62
+ _globals['_GETSUBTITLEREQUEST']._serialized_end=299
63
+ _globals['_LISTSUBTITLESREQUEST']._serialized_start=302
64
+ _globals['_LISTSUBTITLESREQUEST']._serialized_end=449
65
+ _globals['_LISTSUBTITLESRESPONSE']._serialized_start=451
66
+ _globals['_LISTSUBTITLESRESPONSE']._serialized_end=557
67
+ _globals['_CREATESUBTITLEREQUEST']._serialized_start=560
68
+ _globals['_CREATESUBTITLEREQUEST']._serialized_end=761
69
+ _globals['_SUBTITLEUPLOADPARAMS']._serialized_start=763
70
+ _globals['_SUBTITLEUPLOADPARAMS']._serialized_end=809
71
+ _globals['_CREATESUBTITLEMETADATA']._serialized_start=811
72
+ _globals['_CREATESUBTITLEMETADATA']._serialized_end=856
73
+ _globals['_GENERATESUBTITLEUPLOADURLREQUEST']._serialized_start=858
74
+ _globals['_GENERATESUBTITLEUPLOADURLREQUEST']._serialized_end=927
75
+ _globals['_GENERATESUBTITLEUPLOADURLRESPONSE']._serialized_start=929
76
+ _globals['_GENERATESUBTITLEUPLOADURLRESPONSE']._serialized_end=984
77
+ _globals['_DELETESUBTITLEREQUEST']._serialized_start=986
78
+ _globals['_DELETESUBTITLEREQUEST']._serialized_end=1044
79
+ _globals['_DELETESUBTITLEMETADATA']._serialized_start=1046
80
+ _globals['_DELETESUBTITLEMETADATA']._serialized_end=1091
81
+ _globals['_SUBTITLESERVICE']._serialized_start=1094
82
+ _globals['_SUBTITLESERVICE']._serialized_end=1911
83
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,212 @@
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.message
11
+ import typing
12
+ import yandex.cloud.video.v1.subtitle_pb2
13
+
14
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
15
+
16
+ @typing.final
17
+ class GetSubtitleRequest(google.protobuf.message.Message):
18
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
19
+
20
+ SUBTITLE_ID_FIELD_NUMBER: builtins.int
21
+ subtitle_id: builtins.str
22
+ """ID of the subtitle."""
23
+ def __init__(
24
+ self,
25
+ *,
26
+ subtitle_id: builtins.str = ...,
27
+ ) -> None: ...
28
+ def ClearField(self, field_name: typing.Literal["subtitle_id", b"subtitle_id"]) -> None: ...
29
+
30
+ global___GetSubtitleRequest = GetSubtitleRequest
31
+
32
+ @typing.final
33
+ class ListSubtitlesRequest(google.protobuf.message.Message):
34
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
35
+
36
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
37
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
38
+ VIDEO_ID_FIELD_NUMBER: builtins.int
39
+ page_size: builtins.int
40
+ """The maximum number of the results per page to return."""
41
+ page_token: builtins.str
42
+ """Page token for getting the next page of the result."""
43
+ video_id: builtins.str
44
+ """ID of the video."""
45
+ def __init__(
46
+ self,
47
+ *,
48
+ page_size: builtins.int = ...,
49
+ page_token: builtins.str = ...,
50
+ video_id: builtins.str = ...,
51
+ ) -> None: ...
52
+ def HasField(self, field_name: typing.Literal["parent_id", b"parent_id", "video_id", b"video_id"]) -> builtins.bool: ...
53
+ def ClearField(self, field_name: typing.Literal["page_size", b"page_size", "page_token", b"page_token", "parent_id", b"parent_id", "video_id", b"video_id"]) -> None: ...
54
+ def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["video_id"] | None: ...
55
+
56
+ global___ListSubtitlesRequest = ListSubtitlesRequest
57
+
58
+ @typing.final
59
+ class ListSubtitlesResponse(google.protobuf.message.Message):
60
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
61
+
62
+ SUBTITLES_FIELD_NUMBER: builtins.int
63
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
64
+ next_page_token: builtins.str
65
+ """Token for getting the next page."""
66
+ @property
67
+ def subtitles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.subtitle_pb2.Subtitle]: ...
68
+ def __init__(
69
+ self,
70
+ *,
71
+ subtitles: collections.abc.Iterable[yandex.cloud.video.v1.subtitle_pb2.Subtitle] | None = ...,
72
+ next_page_token: builtins.str = ...,
73
+ ) -> None: ...
74
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "subtitles", b"subtitles"]) -> None: ...
75
+
76
+ global___ListSubtitlesResponse = ListSubtitlesResponse
77
+
78
+ @typing.final
79
+ class CreateSubtitleRequest(google.protobuf.message.Message):
80
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
81
+
82
+ LANGUAGE_FIELD_NUMBER: builtins.int
83
+ LABEL_FIELD_NUMBER: builtins.int
84
+ VIDEO_ID_FIELD_NUMBER: builtins.int
85
+ UPLOAD_FIELD_NUMBER: builtins.int
86
+ language: builtins.str
87
+ """The language of the subtitles, represented as a three-letter ISO 639 code.
88
+ Supports ISO 639-2/T (terminological), ISO 639-2/B (bibliographical) variants and ISO 639-3.
89
+ Valid ISO language code corresponding to the subtitle text must be provided.
90
+ """
91
+ label: builtins.str
92
+ """Contains the subtitle label (or title) that will be displayed on screen during video playback.
93
+ Should provide a concise and accurate representation of the spoken content.
94
+ If not provided, will be auto-generated based on the specified language.
95
+ """
96
+ video_id: builtins.str
97
+ """ID of the video."""
98
+ @property
99
+ def upload(self) -> global___SubtitleUploadParams:
100
+ """Upload subtitle."""
101
+
102
+ def __init__(
103
+ self,
104
+ *,
105
+ language: builtins.str = ...,
106
+ label: builtins.str = ...,
107
+ video_id: builtins.str = ...,
108
+ upload: global___SubtitleUploadParams | None = ...,
109
+ ) -> None: ...
110
+ def HasField(self, field_name: typing.Literal["parent_id", b"parent_id", "source", b"source", "upload", b"upload", "video_id", b"video_id"]) -> builtins.bool: ...
111
+ def ClearField(self, field_name: typing.Literal["label", b"label", "language", b"language", "parent_id", b"parent_id", "source", b"source", "upload", b"upload", "video_id", b"video_id"]) -> None: ...
112
+ @typing.overload
113
+ def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["video_id"] | None: ...
114
+ @typing.overload
115
+ def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["upload"] | None: ...
116
+
117
+ global___CreateSubtitleRequest = CreateSubtitleRequest
118
+
119
+ @typing.final
120
+ class SubtitleUploadParams(google.protobuf.message.Message):
121
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
122
+
123
+ FILENAME_FIELD_NUMBER: builtins.int
124
+ filename: builtins.str
125
+ def __init__(
126
+ self,
127
+ *,
128
+ filename: builtins.str = ...,
129
+ ) -> None: ...
130
+ def ClearField(self, field_name: typing.Literal["filename", b"filename"]) -> None: ...
131
+
132
+ global___SubtitleUploadParams = SubtitleUploadParams
133
+
134
+ @typing.final
135
+ class CreateSubtitleMetadata(google.protobuf.message.Message):
136
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
137
+
138
+ SUBTITLE_ID_FIELD_NUMBER: builtins.int
139
+ subtitle_id: builtins.str
140
+ """ID of the subtitle."""
141
+ def __init__(
142
+ self,
143
+ *,
144
+ subtitle_id: builtins.str = ...,
145
+ ) -> None: ...
146
+ def ClearField(self, field_name: typing.Literal["subtitle_id", b"subtitle_id"]) -> None: ...
147
+
148
+ global___CreateSubtitleMetadata = CreateSubtitleMetadata
149
+
150
+ @typing.final
151
+ class GenerateSubtitleUploadURLRequest(google.protobuf.message.Message):
152
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
153
+
154
+ SUBTITLE_ID_FIELD_NUMBER: builtins.int
155
+ subtitle_id: builtins.str
156
+ """ID of the subtitle."""
157
+ def __init__(
158
+ self,
159
+ *,
160
+ subtitle_id: builtins.str = ...,
161
+ ) -> None: ...
162
+ def ClearField(self, field_name: typing.Literal["subtitle_id", b"subtitle_id"]) -> None: ...
163
+
164
+ global___GenerateSubtitleUploadURLRequest = GenerateSubtitleUploadURLRequest
165
+
166
+ @typing.final
167
+ class GenerateSubtitleUploadURLResponse(google.protobuf.message.Message):
168
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
169
+
170
+ UPLOAD_URL_FIELD_NUMBER: builtins.int
171
+ upload_url: builtins.str
172
+ """Upload url."""
173
+ def __init__(
174
+ self,
175
+ *,
176
+ upload_url: builtins.str = ...,
177
+ ) -> None: ...
178
+ def ClearField(self, field_name: typing.Literal["upload_url", b"upload_url"]) -> None: ...
179
+
180
+ global___GenerateSubtitleUploadURLResponse = GenerateSubtitleUploadURLResponse
181
+
182
+ @typing.final
183
+ class DeleteSubtitleRequest(google.protobuf.message.Message):
184
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
185
+
186
+ SUBTITLE_ID_FIELD_NUMBER: builtins.int
187
+ subtitle_id: builtins.str
188
+ """ID of the subtitle."""
189
+ def __init__(
190
+ self,
191
+ *,
192
+ subtitle_id: builtins.str = ...,
193
+ ) -> None: ...
194
+ def ClearField(self, field_name: typing.Literal["subtitle_id", b"subtitle_id"]) -> None: ...
195
+
196
+ global___DeleteSubtitleRequest = DeleteSubtitleRequest
197
+
198
+ @typing.final
199
+ class DeleteSubtitleMetadata(google.protobuf.message.Message):
200
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
201
+
202
+ SUBTITLE_ID_FIELD_NUMBER: builtins.int
203
+ subtitle_id: builtins.str
204
+ """ID of the subtitle."""
205
+ def __init__(
206
+ self,
207
+ *,
208
+ subtitle_id: builtins.str = ...,
209
+ ) -> None: ...
210
+ def ClearField(self, field_name: typing.Literal["subtitle_id", b"subtitle_id"]) -> None: ...
211
+
212
+ global___DeleteSubtitleMetadata = DeleteSubtitleMetadata