yandexcloud 0.324.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.
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +1 -1
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +4 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +6 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.py +3 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +25 -10
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +11 -5
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +33 -9
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +3 -3
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +15 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2.py +10 -7
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.py +34 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.pyi +18 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +26 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +7 -1
- yandex/cloud/backup/v1/policy_pb2.pyi +1 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +2 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +3 -3
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +9 -6
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +15 -9
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +42 -38
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +2 -2
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +6 -6
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +9 -5
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +96 -0
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +55 -53
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +14 -2
- yandex/cloud/iam/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.py +3 -3
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.pyi +3 -3
- yandex/cloud/mdb/redis/v1/backup_pb2.py +4 -2
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +31 -1
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/searchapi/__init__.py +0 -0
- yandex/cloud/searchapi/v2/__init__.py +0 -0
- yandex/cloud/searchapi/v2/search_query_pb2.py +37 -0
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +100 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.py +4 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +61 -0
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +218 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.py +70 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.pyi +48 -0
- yandex/cloud/serverless/containers/v1/container_pb2.py +42 -34
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +52 -2
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +9 -9
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +8 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +31 -31
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +4 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +23 -15
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +32 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +34 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +20 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +46 -40
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +47 -2
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +16 -3
- yandex/cloud/video/v1/channel_pb2.py +1 -1
- yandex/cloud/video/v1/channel_service_pb2.py +58 -25
- yandex/cloud/video/v1/channel_service_pb2.pyi +40 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/episode_pb2.py +10 -8
- yandex/cloud/video/v1/episode_pb2.pyi +19 -3
- yandex/cloud/video/v1/episode_service_pb2.py +96 -43
- yandex/cloud/video/v1/episode_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/manifest_pb2.py +3 -3
- yandex/cloud/video/v1/manifest_pb2.pyi +1 -5
- yandex/cloud/video/v1/playlist_pb2.py +29 -0
- yandex/cloud/video/v1/playlist_pb2.pyi +89 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/playlist_service_pb2.py +102 -0
- yandex/cloud/video/v1/playlist_service_pb2.pyi +331 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +276 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +172 -0
- yandex/cloud/video/v1/stream_line_pb2.py +1 -1
- yandex/cloud/video/v1/stream_line_service_pb2.py +122 -55
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/stream_pb2.py +1 -1
- yandex/cloud/video/v1/stream_service_pb2.py +98 -37
- yandex/cloud/video/v1/stream_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/subtitle_pb2.py +29 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +90 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/subtitle_service_pb2.py +83 -0
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +212 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +208 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +132 -0
- yandex/cloud/video/v1/thumbnail_service_pb2.py +50 -21
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +48 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +69 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +41 -0
- yandex/cloud/video/v1/video_pb2.py +18 -14
- yandex/cloud/video/v1/video_pb2.pyi +55 -3
- yandex/cloud/video/v1/video_service_pb2.py +118 -49
- yandex/cloud/video/v1/video_service_pb2.pyi +161 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.py +102 -0
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +60 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/RECORD +119 -93
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/top_level.txt +0 -0
|
@@ -16,10 +16,11 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mas
|
|
|
16
16
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
17
17
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
18
18
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
19
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
19
20
|
from yandex.cloud.video.v1 import stream_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_stream__pb2
|
|
20
21
|
|
|
21
22
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/video/v1/stream_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\"yandex/cloud/video/v1/stream.proto\"
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/video/v1/stream_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\"yandex/cloud/video/v1/stream.proto\"3\n\x10GetStreamRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xa8\x01\n\x12ListStreamsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\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\x10\n\x08order_by\x18\x66 \x01(\t\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"d\n\x13ListStreamsResponse\x12.\n\x07streams\x18\x01 \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Stream\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"`\n\x16\x42\x61tchGetStreamsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12$\n\nstream_ids\x18\x02 \x03(\tB\x10\x82\xc8\x31\x04\x31-50\x8a\xc8\x31\x04<=50\"I\n\x17\x42\x61tchGetStreamsResponse\x12.\n\x07streams\x18\x01 \x03(\x0b\x32\x1d.yandex.cloud.video.v1.Stream\"\xf7\x03\n\x13\x43reateStreamRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x07line_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x13\n\x05title\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x88\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x36.yandex.cloud.video.v1.CreateStreamRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12;\n\ton_demand\x18\xe8\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.OnDemandParamsH\x00\x12:\n\x08schedule\x18\xe9\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.ScheduleParamsH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x13\n\x0bstream_type\x12\x04\xc0\xc1\x31\x01J\x05\x08\x06\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07\"\x10\n\x0eOnDemandParams\"}\n\x0eScheduleParams\x12\x34\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x35\n\x0b\x66inish_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\")\n\x14\x43reateStreamMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t\"\x96\x04\n\x13UpdateStreamRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x07line_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\r\n\x05title\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x06 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x88\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x36.yandex.cloud.video.v1.UpdateStreamRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12;\n\ton_demand\x18\xe8\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.OnDemandParamsH\x00\x12:\n\x08schedule\x18\xe9\x07 \x01(\x0b\x32%.yandex.cloud.video.v1.ScheduleParamsH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\r\n\x0bstream_typeJ\x05\x08\x07\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07\")\n\x14UpdateStreamMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t\"6\n\x13\x44\x65leteStreamRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x14\x44\x65leteStreamMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t\"c\n\x19\x42\x61tchDeleteStreamsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12$\n\nstream_ids\x18\x02 \x03(\tB\x10\x82\xc8\x31\x04\x31-50\x8a\xc8\x31\x04<=50\"0\n\x1a\x42\x61tchDeleteStreamsMetadata\x12\x12\n\nstream_ids\x18\x01 \x03(\t\"\xca\x01\n\x1aPerformStreamActionRequest\x12\x1f\n\tstream_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x38\n\x07publish\x18\xe8\x07 \x01(\x0b\x32$.yandex.cloud.video.v1.PublishActionH\x00\x12\x32\n\x04stop\x18\xea\x07 \x01(\x0b\x32!.yandex.cloud.video.v1.StopActionH\x00\x42\x0e\n\x06\x61\x63tion\x12\x04\xc0\xc1\x31\x01J\x06\x08\xe9\x07\x10\xea\x07J\x05\x08\x02\x10\xe8\x07\"\x0f\n\rPublishAction\"\x0c\n\nStopAction\"0\n\x1bPerformStreamActionMetadata\x12\x11\n\tstream_id\x18\x01 \x01(\t2\x93\n\n\rStreamService\x12t\n\x03Get\x12\'.yandex.cloud.video.v1.GetStreamRequest\x1a\x1d.yandex.cloud.video.v1.Stream\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/video/v1/streams/{stream_id}\x12x\n\x04List\x12).yandex.cloud.video.v1.ListStreamsRequest\x1a*.yandex.cloud.video.v1.ListStreamsResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/video/v1/streams\x12\x90\x01\n\x08\x42\x61tchGet\x12-.yandex.cloud.video.v1.BatchGetStreamsRequest\x1a..yandex.cloud.video.v1.BatchGetStreamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/video/v1/streams:batchGet:\x01*\x12\x97\x01\n\x06\x43reate\x12*.yandex.cloud.video.v1.CreateStreamRequest\x1a!.yandex.cloud.operation.Operation\">\xb2\xd2*\x1e\n\x14\x43reateStreamMetadata\x12\x06Stream\x82\xd3\xe4\x93\x02\x16\"\x11/video/v1/streams:\x01*\x12\xa3\x01\n\x06Update\x12*.yandex.cloud.video.v1.UpdateStreamRequest\x1a!.yandex.cloud.operation.Operation\"J\xb2\xd2*\x1e\n\x14UpdateStreamMetadata\x12\x06Stream\x82\xd3\xe4\x93\x02\"2\x1d/video/v1/streams/{stream_id}:\x01*\x12\xaf\x01\n\x06\x44\x65lete\x12*.yandex.cloud.video.v1.DeleteStreamRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*-\n\x14\x44\x65leteStreamMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1f*\x1d/video/v1/streams/{stream_id}\x12\xc3\x01\n\x0b\x42\x61tchDelete\x12\x30.yandex.cloud.video.v1.BatchDeleteStreamsRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*3\n\x1a\x42\x61tchDeleteStreamsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\"\"\x1d/video/v1/streams:batchDelete:\x01*\x12\xc6\x01\n\rPerformAction\x12\x31.yandex.cloud.video.v1.PerformStreamActionRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*%\n\x1bPerformStreamActionMetadata\x12\x06Stream\x82\xd3\xe4\x93\x02\x30\"+/video/v1/streams/{stream_id}:performAction:\x01*B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
23
24
|
|
|
24
25
|
_globals = globals()
|
|
25
26
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -27,56 +28,116 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.strea
|
|
|
27
28
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
28
29
|
DESCRIPTOR._options = None
|
|
29
30
|
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
31
|
+
_GETSTREAMREQUEST.fields_by_name['stream_id']._options = None
|
|
32
|
+
_GETSTREAMREQUEST.fields_by_name['stream_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
33
|
+
_LISTSTREAMSREQUEST.fields_by_name['channel_id']._options = None
|
|
34
|
+
_LISTSTREAMSREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
35
|
+
_LISTSTREAMSREQUEST.fields_by_name['page_size']._options = None
|
|
36
|
+
_LISTSTREAMSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
37
|
+
_LISTSTREAMSREQUEST.fields_by_name['page_token']._options = None
|
|
38
|
+
_LISTSTREAMSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
|
|
39
|
+
_LISTSTREAMSREQUEST.fields_by_name['filter']._options = None
|
|
40
|
+
_LISTSTREAMSREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
41
|
+
_BATCHGETSTREAMSREQUEST.fields_by_name['channel_id']._options = None
|
|
42
|
+
_BATCHGETSTREAMSREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
43
|
+
_BATCHGETSTREAMSREQUEST.fields_by_name['stream_ids']._options = None
|
|
44
|
+
_BATCHGETSTREAMSREQUEST.fields_by_name['stream_ids']._serialized_options = b'\202\3101\0041-50\212\3101\004<=50'
|
|
30
45
|
_CREATESTREAMREQUEST_LABELSENTRY._options = None
|
|
31
46
|
_CREATESTREAMREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
47
|
+
_CREATESTREAMREQUEST.oneofs_by_name['stream_type']._options = None
|
|
48
|
+
_CREATESTREAMREQUEST.oneofs_by_name['stream_type']._serialized_options = b'\300\3011\001'
|
|
49
|
+
_CREATESTREAMREQUEST.fields_by_name['channel_id']._options = None
|
|
50
|
+
_CREATESTREAMREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
51
|
+
_CREATESTREAMREQUEST.fields_by_name['line_id']._options = None
|
|
52
|
+
_CREATESTREAMREQUEST.fields_by_name['line_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
53
|
+
_CREATESTREAMREQUEST.fields_by_name['title']._options = None
|
|
54
|
+
_CREATESTREAMREQUEST.fields_by_name['title']._serialized_options = b'\350\3071\001'
|
|
55
|
+
_CREATESTREAMREQUEST.fields_by_name['thumbnail_id']._options = None
|
|
56
|
+
_CREATESTREAMREQUEST.fields_by_name['thumbnail_id']._serialized_options = b'\212\3101\004<=50'
|
|
57
|
+
_CREATESTREAMREQUEST.fields_by_name['labels']._options = None
|
|
58
|
+
_CREATESTREAMREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_.@:/0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
|
|
59
|
+
_SCHEDULEPARAMS.fields_by_name['start_time']._options = None
|
|
60
|
+
_SCHEDULEPARAMS.fields_by_name['start_time']._serialized_options = b'\350\3071\001'
|
|
61
|
+
_SCHEDULEPARAMS.fields_by_name['finish_time']._options = None
|
|
62
|
+
_SCHEDULEPARAMS.fields_by_name['finish_time']._serialized_options = b'\350\3071\001'
|
|
32
63
|
_UPDATESTREAMREQUEST_LABELSENTRY._options = None
|
|
33
64
|
_UPDATESTREAMREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
65
|
+
_UPDATESTREAMREQUEST.fields_by_name['stream_id']._options = None
|
|
66
|
+
_UPDATESTREAMREQUEST.fields_by_name['stream_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
67
|
+
_UPDATESTREAMREQUEST.fields_by_name['line_id']._options = None
|
|
68
|
+
_UPDATESTREAMREQUEST.fields_by_name['line_id']._serialized_options = b'\212\3101\004<=50'
|
|
69
|
+
_UPDATESTREAMREQUEST.fields_by_name['thumbnail_id']._options = None
|
|
70
|
+
_UPDATESTREAMREQUEST.fields_by_name['thumbnail_id']._serialized_options = b'\212\3101\004<=50'
|
|
71
|
+
_UPDATESTREAMREQUEST.fields_by_name['labels']._options = None
|
|
72
|
+
_UPDATESTREAMREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_.@:/0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
|
|
73
|
+
_DELETESTREAMREQUEST.fields_by_name['stream_id']._options = None
|
|
74
|
+
_DELETESTREAMREQUEST.fields_by_name['stream_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
75
|
+
_BATCHDELETESTREAMSREQUEST.fields_by_name['channel_id']._options = None
|
|
76
|
+
_BATCHDELETESTREAMSREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
77
|
+
_BATCHDELETESTREAMSREQUEST.fields_by_name['stream_ids']._options = None
|
|
78
|
+
_BATCHDELETESTREAMSREQUEST.fields_by_name['stream_ids']._serialized_options = b'\202\3101\0041-50\212\3101\004<=50'
|
|
79
|
+
_PERFORMSTREAMACTIONREQUEST.oneofs_by_name['action']._options = None
|
|
80
|
+
_PERFORMSTREAMACTIONREQUEST.oneofs_by_name['action']._serialized_options = b'\300\3011\001'
|
|
81
|
+
_PERFORMSTREAMACTIONREQUEST.fields_by_name['stream_id']._options = None
|
|
82
|
+
_PERFORMSTREAMACTIONREQUEST.fields_by_name['stream_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
34
83
|
_STREAMSERVICE.methods_by_name['Get']._options = None
|
|
35
84
|
_STREAMSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002\037\022\035/video/v1/streams/{stream_id}'
|
|
36
85
|
_STREAMSERVICE.methods_by_name['List']._options = None
|
|
37
86
|
_STREAMSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\023\022\021/video/v1/streams'
|
|
87
|
+
_STREAMSERVICE.methods_by_name['BatchGet']._options = None
|
|
88
|
+
_STREAMSERVICE.methods_by_name['BatchGet']._serialized_options = b'\202\323\344\223\002\037\"\032/video/v1/streams:batchGet:\001*'
|
|
38
89
|
_STREAMSERVICE.methods_by_name['Create']._options = None
|
|
39
90
|
_STREAMSERVICE.methods_by_name['Create']._serialized_options = b'\262\322*\036\n\024CreateStreamMetadata\022\006Stream\202\323\344\223\002\026\"\021/video/v1/streams:\001*'
|
|
40
91
|
_STREAMSERVICE.methods_by_name['Update']._options = None
|
|
41
92
|
_STREAMSERVICE.methods_by_name['Update']._serialized_options = b'\262\322*\036\n\024UpdateStreamMetadata\022\006Stream\202\323\344\223\002\"2\035/video/v1/streams/{stream_id}:\001*'
|
|
42
93
|
_STREAMSERVICE.methods_by_name['Delete']._options = None
|
|
43
94
|
_STREAMSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*-\n\024DeleteStreamMetadata\022\025google.protobuf.Empty\202\323\344\223\002\037*\035/video/v1/streams/{stream_id}'
|
|
95
|
+
_STREAMSERVICE.methods_by_name['BatchDelete']._options = None
|
|
96
|
+
_STREAMSERVICE.methods_by_name['BatchDelete']._serialized_options = b'\262\322*3\n\032BatchDeleteStreamsMetadata\022\025google.protobuf.Empty\202\323\344\223\002\"\"\035/video/v1/streams:batchDelete:\001*'
|
|
44
97
|
_STREAMSERVICE.methods_by_name['PerformAction']._options = None
|
|
45
98
|
_STREAMSERVICE.methods_by_name['PerformAction']._serialized_options = b'\262\322*%\n\033PerformStreamActionMetadata\022\006Stream\202\323\344\223\0020\"+/video/v1/streams/{stream_id}:performAction:\001*'
|
|
46
|
-
_globals['_GETSTREAMREQUEST']._serialized_start=
|
|
47
|
-
_globals['_GETSTREAMREQUEST']._serialized_end=
|
|
48
|
-
_globals['_LISTSTREAMSREQUEST']._serialized_start=
|
|
49
|
-
_globals['_LISTSTREAMSREQUEST']._serialized_end=
|
|
50
|
-
_globals['_LISTSTREAMSRESPONSE']._serialized_start=
|
|
51
|
-
_globals['_LISTSTREAMSRESPONSE']._serialized_end=
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
99
|
+
_globals['_GETSTREAMREQUEST']._serialized_start=307
|
|
100
|
+
_globals['_GETSTREAMREQUEST']._serialized_end=358
|
|
101
|
+
_globals['_LISTSTREAMSREQUEST']._serialized_start=361
|
|
102
|
+
_globals['_LISTSTREAMSREQUEST']._serialized_end=529
|
|
103
|
+
_globals['_LISTSTREAMSRESPONSE']._serialized_start=531
|
|
104
|
+
_globals['_LISTSTREAMSRESPONSE']._serialized_end=631
|
|
105
|
+
_globals['_BATCHGETSTREAMSREQUEST']._serialized_start=633
|
|
106
|
+
_globals['_BATCHGETSTREAMSREQUEST']._serialized_end=729
|
|
107
|
+
_globals['_BATCHGETSTREAMSRESPONSE']._serialized_start=731
|
|
108
|
+
_globals['_BATCHGETSTREAMSRESPONSE']._serialized_end=804
|
|
109
|
+
_globals['_CREATESTREAMREQUEST']._serialized_start=807
|
|
110
|
+
_globals['_CREATESTREAMREQUEST']._serialized_end=1310
|
|
111
|
+
_globals['_CREATESTREAMREQUEST_LABELSENTRY']._serialized_start=1229
|
|
112
|
+
_globals['_CREATESTREAMREQUEST_LABELSENTRY']._serialized_end=1274
|
|
113
|
+
_globals['_ONDEMANDPARAMS']._serialized_start=1312
|
|
114
|
+
_globals['_ONDEMANDPARAMS']._serialized_end=1328
|
|
115
|
+
_globals['_SCHEDULEPARAMS']._serialized_start=1330
|
|
116
|
+
_globals['_SCHEDULEPARAMS']._serialized_end=1455
|
|
117
|
+
_globals['_CREATESTREAMMETADATA']._serialized_start=1457
|
|
118
|
+
_globals['_CREATESTREAMMETADATA']._serialized_end=1498
|
|
119
|
+
_globals['_UPDATESTREAMREQUEST']._serialized_start=1501
|
|
120
|
+
_globals['_UPDATESTREAMREQUEST']._serialized_end=2035
|
|
121
|
+
_globals['_UPDATESTREAMREQUEST_LABELSENTRY']._serialized_start=1229
|
|
122
|
+
_globals['_UPDATESTREAMREQUEST_LABELSENTRY']._serialized_end=1274
|
|
123
|
+
_globals['_UPDATESTREAMMETADATA']._serialized_start=2037
|
|
124
|
+
_globals['_UPDATESTREAMMETADATA']._serialized_end=2078
|
|
125
|
+
_globals['_DELETESTREAMREQUEST']._serialized_start=2080
|
|
126
|
+
_globals['_DELETESTREAMREQUEST']._serialized_end=2134
|
|
127
|
+
_globals['_DELETESTREAMMETADATA']._serialized_start=2136
|
|
128
|
+
_globals['_DELETESTREAMMETADATA']._serialized_end=2177
|
|
129
|
+
_globals['_BATCHDELETESTREAMSREQUEST']._serialized_start=2179
|
|
130
|
+
_globals['_BATCHDELETESTREAMSREQUEST']._serialized_end=2278
|
|
131
|
+
_globals['_BATCHDELETESTREAMSMETADATA']._serialized_start=2280
|
|
132
|
+
_globals['_BATCHDELETESTREAMSMETADATA']._serialized_end=2328
|
|
133
|
+
_globals['_PERFORMSTREAMACTIONREQUEST']._serialized_start=2331
|
|
134
|
+
_globals['_PERFORMSTREAMACTIONREQUEST']._serialized_end=2533
|
|
135
|
+
_globals['_PUBLISHACTION']._serialized_start=2535
|
|
136
|
+
_globals['_PUBLISHACTION']._serialized_end=2550
|
|
137
|
+
_globals['_STOPACTION']._serialized_start=2552
|
|
138
|
+
_globals['_STOPACTION']._serialized_end=2564
|
|
139
|
+
_globals['_PERFORMSTREAMACTIONMETADATA']._serialized_start=2566
|
|
140
|
+
_globals['_PERFORMSTREAMACTIONMETADATA']._serialized_end=2614
|
|
141
|
+
_globals['_STREAMSERVICE']._serialized_start=2617
|
|
142
|
+
_globals['_STREAMSERVICE']._serialized_end=3916
|
|
82
143
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -96,6 +96,46 @@ class ListStreamsResponse(google.protobuf.message.Message):
|
|
|
96
96
|
|
|
97
97
|
global___ListStreamsResponse = ListStreamsResponse
|
|
98
98
|
|
|
99
|
+
@typing.final
|
|
100
|
+
class BatchGetStreamsRequest(google.protobuf.message.Message):
|
|
101
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
102
|
+
|
|
103
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
104
|
+
STREAM_IDS_FIELD_NUMBER: builtins.int
|
|
105
|
+
channel_id: builtins.str
|
|
106
|
+
"""ID of the channel."""
|
|
107
|
+
@property
|
|
108
|
+
def stream_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
109
|
+
"""List of requested stream IDs."""
|
|
110
|
+
|
|
111
|
+
def __init__(
|
|
112
|
+
self,
|
|
113
|
+
*,
|
|
114
|
+
channel_id: builtins.str = ...,
|
|
115
|
+
stream_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
116
|
+
) -> None: ...
|
|
117
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "stream_ids", b"stream_ids"]) -> None: ...
|
|
118
|
+
|
|
119
|
+
global___BatchGetStreamsRequest = BatchGetStreamsRequest
|
|
120
|
+
|
|
121
|
+
@typing.final
|
|
122
|
+
class BatchGetStreamsResponse(google.protobuf.message.Message):
|
|
123
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
124
|
+
|
|
125
|
+
STREAMS_FIELD_NUMBER: builtins.int
|
|
126
|
+
@property
|
|
127
|
+
def streams(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.stream_pb2.Stream]:
|
|
128
|
+
"""List of streams for specific channel."""
|
|
129
|
+
|
|
130
|
+
def __init__(
|
|
131
|
+
self,
|
|
132
|
+
*,
|
|
133
|
+
streams: collections.abc.Iterable[yandex.cloud.video.v1.stream_pb2.Stream] | None = ...,
|
|
134
|
+
) -> None: ...
|
|
135
|
+
def ClearField(self, field_name: typing.Literal["streams", b"streams"]) -> None: ...
|
|
136
|
+
|
|
137
|
+
global___BatchGetStreamsResponse = BatchGetStreamsResponse
|
|
138
|
+
|
|
99
139
|
@typing.final
|
|
100
140
|
class CreateStreamRequest(google.protobuf.message.Message):
|
|
101
141
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -333,6 +373,46 @@ class DeleteStreamMetadata(google.protobuf.message.Message):
|
|
|
333
373
|
|
|
334
374
|
global___DeleteStreamMetadata = DeleteStreamMetadata
|
|
335
375
|
|
|
376
|
+
@typing.final
|
|
377
|
+
class BatchDeleteStreamsRequest(google.protobuf.message.Message):
|
|
378
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
379
|
+
|
|
380
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
381
|
+
STREAM_IDS_FIELD_NUMBER: builtins.int
|
|
382
|
+
channel_id: builtins.str
|
|
383
|
+
"""ID of the channel."""
|
|
384
|
+
@property
|
|
385
|
+
def stream_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
386
|
+
"""List of stream IDs."""
|
|
387
|
+
|
|
388
|
+
def __init__(
|
|
389
|
+
self,
|
|
390
|
+
*,
|
|
391
|
+
channel_id: builtins.str = ...,
|
|
392
|
+
stream_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
393
|
+
) -> None: ...
|
|
394
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "stream_ids", b"stream_ids"]) -> None: ...
|
|
395
|
+
|
|
396
|
+
global___BatchDeleteStreamsRequest = BatchDeleteStreamsRequest
|
|
397
|
+
|
|
398
|
+
@typing.final
|
|
399
|
+
class BatchDeleteStreamsMetadata(google.protobuf.message.Message):
|
|
400
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
401
|
+
|
|
402
|
+
STREAM_IDS_FIELD_NUMBER: builtins.int
|
|
403
|
+
@property
|
|
404
|
+
def stream_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
405
|
+
"""List of stream IDs."""
|
|
406
|
+
|
|
407
|
+
def __init__(
|
|
408
|
+
self,
|
|
409
|
+
*,
|
|
410
|
+
stream_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
411
|
+
) -> None: ...
|
|
412
|
+
def ClearField(self, field_name: typing.Literal["stream_ids", b"stream_ids"]) -> None: ...
|
|
413
|
+
|
|
414
|
+
global___BatchDeleteStreamsMetadata = BatchDeleteStreamsMetadata
|
|
415
|
+
|
|
336
416
|
@typing.final
|
|
337
417
|
class PerformStreamActionRequest(google.protobuf.message.Message):
|
|
338
418
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -27,6 +27,11 @@ class StreamServiceStub(object):
|
|
|
27
27
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.ListStreamsRequest.SerializeToString,
|
|
28
28
|
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.ListStreamsResponse.FromString,
|
|
29
29
|
)
|
|
30
|
+
self.BatchGet = channel.unary_unary(
|
|
31
|
+
'/yandex.cloud.video.v1.StreamService/BatchGet',
|
|
32
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.BatchGetStreamsRequest.SerializeToString,
|
|
33
|
+
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.BatchGetStreamsResponse.FromString,
|
|
34
|
+
)
|
|
30
35
|
self.Create = channel.unary_unary(
|
|
31
36
|
'/yandex.cloud.video.v1.StreamService/Create',
|
|
32
37
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.CreateStreamRequest.SerializeToString,
|
|
@@ -42,6 +47,11 @@ class StreamServiceStub(object):
|
|
|
42
47
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.DeleteStreamRequest.SerializeToString,
|
|
43
48
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
44
49
|
)
|
|
50
|
+
self.BatchDelete = channel.unary_unary(
|
|
51
|
+
'/yandex.cloud.video.v1.StreamService/BatchDelete',
|
|
52
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.BatchDeleteStreamsRequest.SerializeToString,
|
|
53
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
54
|
+
)
|
|
45
55
|
self.PerformAction = channel.unary_unary(
|
|
46
56
|
'/yandex.cloud.video.v1.StreamService/PerformAction',
|
|
47
57
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.PerformStreamActionRequest.SerializeToString,
|
|
@@ -67,6 +77,13 @@ class StreamServiceServicer(object):
|
|
|
67
77
|
context.set_details('Method not implemented!')
|
|
68
78
|
raise NotImplementedError('Method not implemented!')
|
|
69
79
|
|
|
80
|
+
def BatchGet(self, request, context):
|
|
81
|
+
"""Batch get streams for channel.
|
|
82
|
+
"""
|
|
83
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
84
|
+
context.set_details('Method not implemented!')
|
|
85
|
+
raise NotImplementedError('Method not implemented!')
|
|
86
|
+
|
|
70
87
|
def Create(self, request, context):
|
|
71
88
|
"""Create stream.
|
|
72
89
|
"""
|
|
@@ -88,6 +105,13 @@ class StreamServiceServicer(object):
|
|
|
88
105
|
context.set_details('Method not implemented!')
|
|
89
106
|
raise NotImplementedError('Method not implemented!')
|
|
90
107
|
|
|
108
|
+
def BatchDelete(self, request, context):
|
|
109
|
+
"""Batch delete streams.
|
|
110
|
+
"""
|
|
111
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
112
|
+
context.set_details('Method not implemented!')
|
|
113
|
+
raise NotImplementedError('Method not implemented!')
|
|
114
|
+
|
|
91
115
|
def PerformAction(self, request, context):
|
|
92
116
|
"""Perform an action on the episode.
|
|
93
117
|
"""
|
|
@@ -108,6 +132,11 @@ def add_StreamServiceServicer_to_server(servicer, server):
|
|
|
108
132
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.ListStreamsRequest.FromString,
|
|
109
133
|
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.ListStreamsResponse.SerializeToString,
|
|
110
134
|
),
|
|
135
|
+
'BatchGet': grpc.unary_unary_rpc_method_handler(
|
|
136
|
+
servicer.BatchGet,
|
|
137
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.BatchGetStreamsRequest.FromString,
|
|
138
|
+
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.BatchGetStreamsResponse.SerializeToString,
|
|
139
|
+
),
|
|
111
140
|
'Create': grpc.unary_unary_rpc_method_handler(
|
|
112
141
|
servicer.Create,
|
|
113
142
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.CreateStreamRequest.FromString,
|
|
@@ -123,6 +152,11 @@ def add_StreamServiceServicer_to_server(servicer, server):
|
|
|
123
152
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.DeleteStreamRequest.FromString,
|
|
124
153
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
125
154
|
),
|
|
155
|
+
'BatchDelete': grpc.unary_unary_rpc_method_handler(
|
|
156
|
+
servicer.BatchDelete,
|
|
157
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.BatchDeleteStreamsRequest.FromString,
|
|
158
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
159
|
+
),
|
|
126
160
|
'PerformAction': grpc.unary_unary_rpc_method_handler(
|
|
127
161
|
servicer.PerformAction,
|
|
128
162
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.PerformStreamActionRequest.FromString,
|
|
@@ -173,6 +207,23 @@ class StreamService(object):
|
|
|
173
207
|
options, channel_credentials,
|
|
174
208
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
175
209
|
|
|
210
|
+
@staticmethod
|
|
211
|
+
def BatchGet(request,
|
|
212
|
+
target,
|
|
213
|
+
options=(),
|
|
214
|
+
channel_credentials=None,
|
|
215
|
+
call_credentials=None,
|
|
216
|
+
insecure=False,
|
|
217
|
+
compression=None,
|
|
218
|
+
wait_for_ready=None,
|
|
219
|
+
timeout=None,
|
|
220
|
+
metadata=None):
|
|
221
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.StreamService/BatchGet',
|
|
222
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.BatchGetStreamsRequest.SerializeToString,
|
|
223
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.BatchGetStreamsResponse.FromString,
|
|
224
|
+
options, channel_credentials,
|
|
225
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
226
|
+
|
|
176
227
|
@staticmethod
|
|
177
228
|
def Create(request,
|
|
178
229
|
target,
|
|
@@ -224,6 +275,23 @@ class StreamService(object):
|
|
|
224
275
|
options, channel_credentials,
|
|
225
276
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
226
277
|
|
|
278
|
+
@staticmethod
|
|
279
|
+
def BatchDelete(request,
|
|
280
|
+
target,
|
|
281
|
+
options=(),
|
|
282
|
+
channel_credentials=None,
|
|
283
|
+
call_credentials=None,
|
|
284
|
+
insecure=False,
|
|
285
|
+
compression=None,
|
|
286
|
+
wait_for_ready=None,
|
|
287
|
+
timeout=None,
|
|
288
|
+
metadata=None):
|
|
289
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.StreamService/BatchDelete',
|
|
290
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_stream__service__pb2.BatchDeleteStreamsRequest.SerializeToString,
|
|
291
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
292
|
+
options, channel_credentials,
|
|
293
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
294
|
+
|
|
227
295
|
@staticmethod
|
|
228
296
|
def PerformAction(request,
|
|
229
297
|
target,
|
|
@@ -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,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
|
+
...
|