yandexcloud 0.343.0__py3-none-any.whl → 0.344.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.
- yandex/cloud/ai/tts/v3/tts_pb2.py +13 -1
- yandex/cloud/ai/tts/v3/tts_pb2.pyi +171 -0
- yandex/cloud/ai/tts/v3/tts_service_pb2.py +2 -2
- yandex/cloud/ai/tts/v3/tts_service_pb2_grpc.py +44 -0
- yandex/cloud/ai/tts/v3/tts_service_pb2_grpc.pyi +20 -0
- yandex/cloud/clouddesktop/__init__.py +0 -0
- yandex/cloud/clouddesktop/v1/__init__.py +0 -0
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +71 -0
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +232 -0
- yandex/cloud/clouddesktop/v1/desktop_group_pb2_grpc.py +24 -0
- yandex/cloud/clouddesktop/v1/desktop_group_pb2_grpc.pyi +17 -0
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +146 -0
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +443 -0
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2_grpc.py +502 -0
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2_grpc.pyi +242 -0
- yandex/cloud/clouddesktop/v1/desktop_image_pb2.py +44 -0
- yandex/cloud/clouddesktop/v1/desktop_image_pb2.pyi +111 -0
- yandex/cloud/clouddesktop/v1/desktop_image_pb2_grpc.py +24 -0
- yandex/cloud/clouddesktop/v1/desktop_image_pb2_grpc.pyi +17 -0
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2.py +115 -0
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2.pyi +275 -0
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2_grpc.py +323 -0
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2_grpc.pyi +152 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2.py +65 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2.pyi +208 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2_grpc.py +24 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2_grpc.pyi +17 -0
- yandex/cloud/clouddesktop/v1/desktop_service_pb2.py +171 -0
- yandex/cloud/clouddesktop/v1/desktop_service_pb2.pyi +541 -0
- yandex/cloud/clouddesktop/v1/desktop_service_pb2_grpc.py +589 -0
- yandex/cloud/clouddesktop/v1/desktop_service_pb2_grpc.pyi +281 -0
- yandex/cloud/clouddesktop/v1/disk_pb2.py +44 -0
- yandex/cloud/clouddesktop/v1/disk_pb2.pyi +61 -0
- yandex/cloud/clouddesktop/v1/disk_pb2_grpc.py +24 -0
- yandex/cloud/clouddesktop/v1/disk_pb2_grpc.pyi +17 -0
- yandex/cloud/marketplace/metering/v1/product_usage_service_pb2_grpc.py +6 -3
- yandex/cloud/marketplace/metering/v1/product_usage_service_pb2_grpc.pyi +6 -0
- yandex/cloud/metastore/__init__.py +0 -0
- yandex/cloud/metastore/v1/__init__.py +0 -0
- yandex/cloud/metastore/v1/cluster_pb2.py +67 -0
- yandex/cloud/metastore/v1/cluster_pb2.pyi +325 -0
- yandex/cloud/metastore/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/metastore/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/metastore/v1/cluster_service_pb2.py +176 -0
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +628 -0
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +502 -0
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +247 -0
- yandex/cloud/metastore/v1/maintenance_pb2.py +53 -0
- yandex/cloud/metastore/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/metastore/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/metastore/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +52 -47
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +52 -5
- yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
- yandex/cloud/monitoring/v3/dashboard_pb2.pyi +8 -1
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +15 -2
- yandex/cloud/monitoring/v3/link_item_pb2.py +40 -0
- yandex/cloud/monitoring/v3/link_item_pb2.pyi +53 -0
- yandex/cloud/monitoring/v3/link_item_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/link_item_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/link_pb2.py +39 -0
- yandex/cloud/monitoring/v3/link_pb2.pyi +70 -0
- yandex/cloud/monitoring/v3/link_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/link_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -55
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +52 -5
- yandex/cloud/monitoring/v3/thresholds_pb2.py +41 -0
- yandex/cloud/monitoring/v3/thresholds_pb2.pyi +73 -0
- yandex/cloud/monitoring/v3/thresholds_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/thresholds_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
- yandex/cloud/monitoring/v3/widget_pb2.pyi +8 -1
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +25 -25
- yandex/cloud/speechsense/v1/talk_service_pb2.py +39 -31
- yandex/cloud/speechsense/v1/talk_service_pb2.pyi +38 -0
- yandex/cloud/speechsense/v1/talk_service_pb2_grpc.py +46 -0
- yandex/cloud/speechsense/v1/talk_service_pb2_grpc.pyi +27 -0
- yandex/cloud/storage/v1/bucket_service_pb2.py +30 -30
- yandex/cloud/storage/v1/bucket_service_pb2.pyi +26 -4
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.344.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.344.0.dist-info}/RECORD +87 -31
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.344.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.344.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.344.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.344.0.dist-info}/top_level.txt +0 -0
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n yandex/cloud/ai/tts/v3/tts.proto\x12\x10speechkit.tts.v3\"j\n\x0c\x41udioContent\x12\x11\n\x07\x63ontent\x18\x01 \x01(\x0cH\x00\x12\x38\n\naudio_spec\x18\x02 \x01(\x0b\x32$.speechkit.tts.v3.AudioFormatOptionsB\r\n\x0b\x41udioSource\"\x91\x01\n\x12\x41udioFormatOptions\x12/\n\traw_audio\x18\x01 \x01(\x0b\x32\x1a.speechkit.tts.v3.RawAudioH\x00\x12;\n\x0f\x63ontainer_audio\x18\x02 \x01(\x0b\x32 .speechkit.tts.v3.ContainerAudioH\x00\x42\r\n\x0b\x41udioFormat\"\xaa\x01\n\x08RawAudio\x12@\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32(.speechkit.tts.v3.RawAudio.AudioEncoding\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x03\"A\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x10\n\x0cLINEAR16_PCM\x10\x01\"\xbf\x01\n\x0e\x43ontainerAudio\x12Q\n\x14\x63ontainer_audio_type\x18\x01 \x01(\x0e\x32\x33.speechkit.tts.v3.ContainerAudio.ContainerAudioType\"Z\n\x12\x43ontainerAudioType\x12$\n CONTAINER_AUDIO_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03WAV\x10\x01\x12\x0c\n\x08OGG_OPUS\x10\x02\x12\x07\n\x03MP3\x10\x03\"=\n\x0cTextVariable\x12\x15\n\rvariable_name\x18\x01 \x01(\t\x12\x16\n\x0evariable_value\x18\x02 \x01(\t\"]\n\rAudioVariable\x12\x15\n\rvariable_name\x18\x01 \x01(\t\x12\x19\n\x11variable_start_ms\x18\x02 \x01(\x03\x12\x1a\n\x12variable_length_ms\x18\x03 \x01(\x03\"\xa5\x01\n\x1aUtteranceSynthesisResponse\x12\x31\n\x0b\x61udio_chunk\x18\x01 \x01(\x0b\x32\x1c.speechkit.tts.v3.AudioChunk\x12/\n\ntext_chunk\x18\x02 \x01(\x0b\x32\x1b.speechkit.tts.v3.TextChunk\x12\x10\n\x08start_ms\x18\x03 \x01(\x03\x12\x11\n\tlength_ms\x18\x04 \x01(\x03\"\xa9\x01\n\rAudioTemplate\x12-\n\x05\x61udio\x18\x01 \x01(\x0b\x32\x1e.speechkit.tts.v3.AudioContent\x12\x35\n\rtext_template\x18\x02 \x01(\x0b\x32\x1e.speechkit.tts.v3.TextTemplate\x12\x32\n\tvariables\x18\x03 \x03(\x0b\x32\x1f.speechkit.tts.v3.AudioVariable\"\x1a\n\nAudioChunk\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x19\n\tTextChunk\x12\x0c\n\x04text\x18\x01 \x01(\t\"X\n\x0cTextTemplate\x12\x15\n\rtext_template\x18\x01 \x01(\t\x12\x31\n\tvariables\x18\x02 \x03(\x0b\x32\x1e.speechkit.tts.v3.TextVariable\"\xda\x01\n\x0c\x44urationHint\x12\x41\n\x06policy\x18\x01 \x01(\x0e\x32\x31.speechkit.tts.v3.DurationHint.DurationHintPolicy\x12\x13\n\x0b\x64uration_ms\x18\x02 \x01(\x03\"r\n\x12\x44urationHintPolicy\x12$\n DURATION_HINT_POLICY_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x45XACT_DURATION\x10\x01\x12\x10\n\x0cMIN_DURATION\x10\x02\x12\x10\n\x0cMAX_DURATION\x10\x03\"\xd9\x01\n\x05Hints\x12\x0f\n\x05voice\x18\x01 \x01(\tH\x00\x12\x39\n\x0e\x61udio_template\x18\x02 \x01(\x0b\x32\x1f.speechkit.tts.v3.AudioTemplateH\x00\x12\x0f\n\x05speed\x18\x03 \x01(\x01H\x00\x12\x10\n\x06volume\x18\x04 \x01(\x01H\x00\x12\x0e\n\x04role\x18\x05 \x01(\tH\x00\x12\x15\n\x0bpitch_shift\x18\x06 \x01(\x01H\x00\x12\x32\n\x08\x64uration\x18\x07 \x01(\x0b\x32\x1e.speechkit.tts.v3.DurationHintH\x00\x42\x06\n\x04Hint\"\xcc\x03\n\x19UtteranceSynthesisRequest\x12\r\n\x05model\x18\x01 \x01(\t\x12\x0e\n\x04text\x18\x02 \x01(\tH\x00\x12\x37\n\rtext_template\x18\x03 \x01(\x0b\x32\x1e.speechkit.tts.v3.TextTemplateH\x00\x12&\n\x05hints\x18\x04 \x03(\x0b\x32\x17.speechkit.tts.v3.Hints\x12?\n\x11output_audio_spec\x18\x05 \x01(\x0b\x32$.speechkit.tts.v3.AudioFormatOptions\x12j\n\x1bloudness_normalization_type\x18\x06 \x01(\x0e\x32\x45.speechkit.tts.v3.UtteranceSynthesisRequest.LoudnessNormalizationType\x12\x13\n\x0bunsafe_mode\x18\x07 \x01(\x08\"`\n\x19LoudnessNormalizationType\x12+\n\'LOUDNESS_NORMALIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08MAX_PEAK\x10\x01\x12\x08\n\x04LUFS\x10\x02\x42\x0b\n\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n yandex/cloud/ai/tts/v3/tts.proto\x12\x10speechkit.tts.v3\"j\n\x0c\x41udioContent\x12\x11\n\x07\x63ontent\x18\x01 \x01(\x0cH\x00\x12\x38\n\naudio_spec\x18\x02 \x01(\x0b\x32$.speechkit.tts.v3.AudioFormatOptionsB\r\n\x0b\x41udioSource\"\x91\x01\n\x12\x41udioFormatOptions\x12/\n\traw_audio\x18\x01 \x01(\x0b\x32\x1a.speechkit.tts.v3.RawAudioH\x00\x12;\n\x0f\x63ontainer_audio\x18\x02 \x01(\x0b\x32 .speechkit.tts.v3.ContainerAudioH\x00\x42\r\n\x0b\x41udioFormat\"\xaa\x01\n\x08RawAudio\x12@\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32(.speechkit.tts.v3.RawAudio.AudioEncoding\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x03\"A\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x10\n\x0cLINEAR16_PCM\x10\x01\"\xbf\x01\n\x0e\x43ontainerAudio\x12Q\n\x14\x63ontainer_audio_type\x18\x01 \x01(\x0e\x32\x33.speechkit.tts.v3.ContainerAudio.ContainerAudioType\"Z\n\x12\x43ontainerAudioType\x12$\n CONTAINER_AUDIO_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03WAV\x10\x01\x12\x0c\n\x08OGG_OPUS\x10\x02\x12\x07\n\x03MP3\x10\x03\"=\n\x0cTextVariable\x12\x15\n\rvariable_name\x18\x01 \x01(\t\x12\x16\n\x0evariable_value\x18\x02 \x01(\t\"]\n\rAudioVariable\x12\x15\n\rvariable_name\x18\x01 \x01(\t\x12\x19\n\x11variable_start_ms\x18\x02 \x01(\x03\x12\x1a\n\x12variable_length_ms\x18\x03 \x01(\x03\"\xa5\x01\n\x1aUtteranceSynthesisResponse\x12\x31\n\x0b\x61udio_chunk\x18\x01 \x01(\x0b\x32\x1c.speechkit.tts.v3.AudioChunk\x12/\n\ntext_chunk\x18\x02 \x01(\x0b\x32\x1b.speechkit.tts.v3.TextChunk\x12\x10\n\x08start_ms\x18\x03 \x01(\x03\x12\x11\n\tlength_ms\x18\x04 \x01(\x03\"\xa9\x01\n\rAudioTemplate\x12-\n\x05\x61udio\x18\x01 \x01(\x0b\x32\x1e.speechkit.tts.v3.AudioContent\x12\x35\n\rtext_template\x18\x02 \x01(\x0b\x32\x1e.speechkit.tts.v3.TextTemplate\x12\x32\n\tvariables\x18\x03 \x03(\x0b\x32\x1f.speechkit.tts.v3.AudioVariable\"\x1a\n\nAudioChunk\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x19\n\tTextChunk\x12\x0c\n\x04text\x18\x01 \x01(\t\"X\n\x0cTextTemplate\x12\x15\n\rtext_template\x18\x01 \x01(\t\x12\x31\n\tvariables\x18\x02 \x03(\x0b\x32\x1e.speechkit.tts.v3.TextVariable\"\xda\x01\n\x0c\x44urationHint\x12\x41\n\x06policy\x18\x01 \x01(\x0e\x32\x31.speechkit.tts.v3.DurationHint.DurationHintPolicy\x12\x13\n\x0b\x64uration_ms\x18\x02 \x01(\x03\"r\n\x12\x44urationHintPolicy\x12$\n DURATION_HINT_POLICY_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x45XACT_DURATION\x10\x01\x12\x10\n\x0cMIN_DURATION\x10\x02\x12\x10\n\x0cMAX_DURATION\x10\x03\"\xd9\x01\n\x05Hints\x12\x0f\n\x05voice\x18\x01 \x01(\tH\x00\x12\x39\n\x0e\x61udio_template\x18\x02 \x01(\x0b\x32\x1f.speechkit.tts.v3.AudioTemplateH\x00\x12\x0f\n\x05speed\x18\x03 \x01(\x01H\x00\x12\x10\n\x06volume\x18\x04 \x01(\x01H\x00\x12\x0e\n\x04role\x18\x05 \x01(\tH\x00\x12\x15\n\x0bpitch_shift\x18\x06 \x01(\x01H\x00\x12\x32\n\x08\x64uration\x18\x07 \x01(\x0b\x32\x1e.speechkit.tts.v3.DurationHintH\x00\x42\x06\n\x04Hint\"\xcc\x03\n\x19UtteranceSynthesisRequest\x12\r\n\x05model\x18\x01 \x01(\t\x12\x0e\n\x04text\x18\x02 \x01(\tH\x00\x12\x37\n\rtext_template\x18\x03 \x01(\x0b\x32\x1e.speechkit.tts.v3.TextTemplateH\x00\x12&\n\x05hints\x18\x04 \x03(\x0b\x32\x17.speechkit.tts.v3.Hints\x12?\n\x11output_audio_spec\x18\x05 \x01(\x0b\x32$.speechkit.tts.v3.AudioFormatOptions\x12j\n\x1bloudness_normalization_type\x18\x06 \x01(\x0e\x32\x45.speechkit.tts.v3.UtteranceSynthesisRequest.LoudnessNormalizationType\x12\x13\n\x0bunsafe_mode\x18\x07 \x01(\x08\"`\n\x19LoudnessNormalizationType\x12+\n\'LOUDNESS_NORMALIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08MAX_PEAK\x10\x01\x12\x08\n\x04LUFS\x10\x02\x42\x0b\n\tUtterance\"\x85\x02\n\x10SynthesisOptions\x12\r\n\x05model\x18\x01 \x01(\t\x12\r\n\x05voice\x18\x02 \x01(\t\x12\x0c\n\x04role\x18\x03 \x01(\t\x12\r\n\x05speed\x18\x04 \x01(\x01\x12\x0e\n\x06volume\x18\x05 \x01(\x01\x12\x13\n\x0bpitch_shift\x18\x06 \x01(\x01\x12?\n\x11output_audio_spec\x18\x07 \x01(\x0b\x32$.speechkit.tts.v3.AudioFormatOptions\x12P\n\x1bloudness_normalization_type\x18\x08 \x01(\x0e\x32+.speechkit.tts.v3.LoudnessNormalizationType\"\x1e\n\x0eSynthesisInput\x12\x0c\n\x04text\x18\x01 \x01(\t\"\x15\n\x13\x46orceSynthesisEvent\"\xd7\x01\n\x16StreamSynthesisRequest\x12\x35\n\x07options\x18\x01 \x01(\x0b\x32\".speechkit.tts.v3.SynthesisOptionsH\x00\x12;\n\x0fsynthesis_input\x18\x02 \x01(\x0b\x32 .speechkit.tts.v3.SynthesisInputH\x00\x12@\n\x0f\x66orce_synthesis\x18\x03 \x01(\x0b\x32%.speechkit.tts.v3.ForceSynthesisEventH\x00\x42\x07\n\x05\x45vent\"\xa2\x01\n\x17StreamSynthesisResponse\x12\x31\n\x0b\x61udio_chunk\x18\x01 \x01(\x0b\x32\x1c.speechkit.tts.v3.AudioChunk\x12/\n\ntext_chunk\x18\x02 \x01(\x0b\x32\x1b.speechkit.tts.v3.TextChunk\x12\x10\n\x08start_ms\x18\x03 \x01(\x03\x12\x11\n\tlength_ms\x18\x04 \x01(\x03*`\n\x19LoudnessNormalizationType\x12+\n\'LOUDNESS_NORMALIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08MAX_PEAK\x10\x01\x12\x08\n\x04LUFS\x10\x02\x42\\\n\x1ayandex.cloud.api.ai.tts.v3Z>github.com/yandex-cloud/go-genproto/yandex/cloud/ai/tts/v3;ttsb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -32,6 +32,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.tts.v3.tts_
|
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'\n\032yandex.cloud.api.ai.tts.v3Z>github.com/yandex-cloud/go-genproto/yandex/cloud/ai/tts/v3;tts'
|
|
35
|
+
_globals['_LOUDNESSNORMALIZATIONTYPE']._serialized_start=2113
|
|
36
|
+
_globals['_LOUDNESSNORMALIZATIONTYPE']._serialized_end=2209
|
|
35
37
|
_globals['_AUDIOCONTENT']._serialized_start=54
|
|
36
38
|
_globals['_AUDIOCONTENT']._serialized_end=160
|
|
37
39
|
_globals['_AUDIOFORMATOPTIONS']._serialized_start=163
|
|
@@ -68,4 +70,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
68
70
|
_globals['_UTTERANCESYNTHESISREQUEST']._serialized_end=2222
|
|
69
71
|
_globals['_UTTERANCESYNTHESISREQUEST_LOUDNESSNORMALIZATIONTYPE']._serialized_start=2113
|
|
70
72
|
_globals['_UTTERANCESYNTHESISREQUEST_LOUDNESSNORMALIZATIONTYPE']._serialized_end=2209
|
|
73
|
+
_globals['_SYNTHESISOPTIONS']._serialized_start=2225
|
|
74
|
+
_globals['_SYNTHESISOPTIONS']._serialized_end=2486
|
|
75
|
+
_globals['_SYNTHESISINPUT']._serialized_start=2488
|
|
76
|
+
_globals['_SYNTHESISINPUT']._serialized_end=2518
|
|
77
|
+
_globals['_FORCESYNTHESISEVENT']._serialized_start=2520
|
|
78
|
+
_globals['_FORCESYNTHESISEVENT']._serialized_end=2541
|
|
79
|
+
_globals['_STREAMSYNTHESISREQUEST']._serialized_start=2544
|
|
80
|
+
_globals['_STREAMSYNTHESISREQUEST']._serialized_end=2759
|
|
81
|
+
_globals['_STREAMSYNTHESISRESPONSE']._serialized_start=2762
|
|
82
|
+
_globals['_STREAMSYNTHESISRESPONSE']._serialized_end=2924
|
|
71
83
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,6 +19,30 @@ else:
|
|
|
19
19
|
|
|
20
20
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
21
21
|
|
|
22
|
+
class _LoudnessNormalizationType:
|
|
23
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
24
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
25
|
+
|
|
26
|
+
class _LoudnessNormalizationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_LoudnessNormalizationType.ValueType], builtins.type):
|
|
27
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
28
|
+
LOUDNESS_NORMALIZATION_TYPE_UNSPECIFIED: _LoudnessNormalizationType.ValueType # 0
|
|
29
|
+
"""Unspecified loudness normalization. The default behavior will be used."""
|
|
30
|
+
MAX_PEAK: _LoudnessNormalizationType.ValueType # 1
|
|
31
|
+
"""The type of normalization, wherein the gain is changed to bring the highest PCM sample value or analog signal peak to a given level."""
|
|
32
|
+
LUFS: _LoudnessNormalizationType.ValueType # 2
|
|
33
|
+
"""The type of normalization based on EBU R 128 recommendation."""
|
|
34
|
+
|
|
35
|
+
class LoudnessNormalizationType(_LoudnessNormalizationType, metaclass=_LoudnessNormalizationTypeEnumTypeWrapper):
|
|
36
|
+
"""Specifies the loudness normalization algorithm to use when synthesizing audio."""
|
|
37
|
+
|
|
38
|
+
LOUDNESS_NORMALIZATION_TYPE_UNSPECIFIED: LoudnessNormalizationType.ValueType # 0
|
|
39
|
+
"""Unspecified loudness normalization. The default behavior will be used."""
|
|
40
|
+
MAX_PEAK: LoudnessNormalizationType.ValueType # 1
|
|
41
|
+
"""The type of normalization, wherein the gain is changed to bring the highest PCM sample value or analog signal peak to a given level."""
|
|
42
|
+
LUFS: LoudnessNormalizationType.ValueType # 2
|
|
43
|
+
"""The type of normalization based on EBU R 128 recommendation."""
|
|
44
|
+
global___LoudnessNormalizationType = LoudnessNormalizationType
|
|
45
|
+
|
|
22
46
|
@typing.final
|
|
23
47
|
class AudioContent(google.protobuf.message.Message):
|
|
24
48
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -472,3 +496,150 @@ class UtteranceSynthesisRequest(google.protobuf.message.Message):
|
|
|
472
496
|
def WhichOneof(self, oneof_group: typing.Literal["Utterance", b"Utterance"]) -> typing.Literal["text", "text_template"] | None: ...
|
|
473
497
|
|
|
474
498
|
global___UtteranceSynthesisRequest = UtteranceSynthesisRequest
|
|
499
|
+
|
|
500
|
+
@typing.final
|
|
501
|
+
class SynthesisOptions(google.protobuf.message.Message):
|
|
502
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
503
|
+
|
|
504
|
+
MODEL_FIELD_NUMBER: builtins.int
|
|
505
|
+
VOICE_FIELD_NUMBER: builtins.int
|
|
506
|
+
ROLE_FIELD_NUMBER: builtins.int
|
|
507
|
+
SPEED_FIELD_NUMBER: builtins.int
|
|
508
|
+
VOLUME_FIELD_NUMBER: builtins.int
|
|
509
|
+
PITCH_SHIFT_FIELD_NUMBER: builtins.int
|
|
510
|
+
OUTPUT_AUDIO_SPEC_FIELD_NUMBER: builtins.int
|
|
511
|
+
LOUDNESS_NORMALIZATION_TYPE_FIELD_NUMBER: builtins.int
|
|
512
|
+
model: builtins.str
|
|
513
|
+
"""The name of the TTS model to use for synthesis. Currently should be empty. Do not use it."""
|
|
514
|
+
voice: builtins.str
|
|
515
|
+
"""The voice to use for speech synthesis."""
|
|
516
|
+
role: builtins.str
|
|
517
|
+
"""The role or speaking style. Can be used to specify pronunciation character for the speaker."""
|
|
518
|
+
speed: builtins.float
|
|
519
|
+
"""Speed multiplier (default: 1.0)."""
|
|
520
|
+
volume: builtins.float
|
|
521
|
+
"""Volume adjustment:
|
|
522
|
+
* For `MAX_PEAK`: range is (0, 1], default 0.7.
|
|
523
|
+
* For `LUFS`: range is [-145, 0), default -19.
|
|
524
|
+
"""
|
|
525
|
+
pitch_shift: builtins.float
|
|
526
|
+
"""Pitch adjustment, in Hz, range [-1000, 1000], default 0."""
|
|
527
|
+
loudness_normalization_type: global___LoudnessNormalizationType.ValueType
|
|
528
|
+
"""Loudness normalization type for output (default: `LUFS`)."""
|
|
529
|
+
@property
|
|
530
|
+
def output_audio_spec(self) -> global___AudioFormatOptions:
|
|
531
|
+
"""Specifies output audio format. Default: 22050Hz, linear 16-bit signed little-endian PCM, with WAV header."""
|
|
532
|
+
|
|
533
|
+
def __init__(
|
|
534
|
+
self,
|
|
535
|
+
*,
|
|
536
|
+
model: builtins.str = ...,
|
|
537
|
+
voice: builtins.str = ...,
|
|
538
|
+
role: builtins.str = ...,
|
|
539
|
+
speed: builtins.float = ...,
|
|
540
|
+
volume: builtins.float = ...,
|
|
541
|
+
pitch_shift: builtins.float = ...,
|
|
542
|
+
output_audio_spec: global___AudioFormatOptions | None = ...,
|
|
543
|
+
loudness_normalization_type: global___LoudnessNormalizationType.ValueType = ...,
|
|
544
|
+
) -> None: ...
|
|
545
|
+
def HasField(self, field_name: typing.Literal["output_audio_spec", b"output_audio_spec"]) -> builtins.bool: ...
|
|
546
|
+
def ClearField(self, field_name: typing.Literal["loudness_normalization_type", b"loudness_normalization_type", "model", b"model", "output_audio_spec", b"output_audio_spec", "pitch_shift", b"pitch_shift", "role", b"role", "speed", b"speed", "voice", b"voice", "volume", b"volume"]) -> None: ...
|
|
547
|
+
|
|
548
|
+
global___SynthesisOptions = SynthesisOptions
|
|
549
|
+
|
|
550
|
+
@typing.final
|
|
551
|
+
class SynthesisInput(google.protobuf.message.Message):
|
|
552
|
+
"""The input for synthesis."""
|
|
553
|
+
|
|
554
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
555
|
+
|
|
556
|
+
TEXT_FIELD_NUMBER: builtins.int
|
|
557
|
+
text: builtins.str
|
|
558
|
+
"""The text string to be synthesized."""
|
|
559
|
+
def __init__(
|
|
560
|
+
self,
|
|
561
|
+
*,
|
|
562
|
+
text: builtins.str = ...,
|
|
563
|
+
) -> None: ...
|
|
564
|
+
def ClearField(self, field_name: typing.Literal["text", b"text"]) -> None: ...
|
|
565
|
+
|
|
566
|
+
global___SynthesisInput = SynthesisInput
|
|
567
|
+
|
|
568
|
+
@typing.final
|
|
569
|
+
class ForceSynthesisEvent(google.protobuf.message.Message):
|
|
570
|
+
"""Event to forcibly trigger synthesis."""
|
|
571
|
+
|
|
572
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
573
|
+
|
|
574
|
+
def __init__(
|
|
575
|
+
self,
|
|
576
|
+
) -> None: ...
|
|
577
|
+
|
|
578
|
+
global___ForceSynthesisEvent = ForceSynthesisEvent
|
|
579
|
+
|
|
580
|
+
@typing.final
|
|
581
|
+
class StreamSynthesisRequest(google.protobuf.message.Message):
|
|
582
|
+
"""Sent by client to control or provide data during streaming synthesis."""
|
|
583
|
+
|
|
584
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
585
|
+
|
|
586
|
+
OPTIONS_FIELD_NUMBER: builtins.int
|
|
587
|
+
SYNTHESIS_INPUT_FIELD_NUMBER: builtins.int
|
|
588
|
+
FORCE_SYNTHESIS_FIELD_NUMBER: builtins.int
|
|
589
|
+
@property
|
|
590
|
+
def options(self) -> global___SynthesisOptions:
|
|
591
|
+
"""Synthesis options. Must be provided in the first request of the stream and cannot be updated afterwards."""
|
|
592
|
+
|
|
593
|
+
@property
|
|
594
|
+
def synthesis_input(self) -> global___SynthesisInput:
|
|
595
|
+
"""Input to be synthesized."""
|
|
596
|
+
|
|
597
|
+
@property
|
|
598
|
+
def force_synthesis(self) -> global___ForceSynthesisEvent:
|
|
599
|
+
"""Triggers immediate synthesis of buffered input."""
|
|
600
|
+
|
|
601
|
+
def __init__(
|
|
602
|
+
self,
|
|
603
|
+
*,
|
|
604
|
+
options: global___SynthesisOptions | None = ...,
|
|
605
|
+
synthesis_input: global___SynthesisInput | None = ...,
|
|
606
|
+
force_synthesis: global___ForceSynthesisEvent | None = ...,
|
|
607
|
+
) -> None: ...
|
|
608
|
+
def HasField(self, field_name: typing.Literal["Event", b"Event", "force_synthesis", b"force_synthesis", "options", b"options", "synthesis_input", b"synthesis_input"]) -> builtins.bool: ...
|
|
609
|
+
def ClearField(self, field_name: typing.Literal["Event", b"Event", "force_synthesis", b"force_synthesis", "options", b"options", "synthesis_input", b"synthesis_input"]) -> None: ...
|
|
610
|
+
def WhichOneof(self, oneof_group: typing.Literal["Event", b"Event"]) -> typing.Literal["options", "synthesis_input", "force_synthesis"] | None: ...
|
|
611
|
+
|
|
612
|
+
global___StreamSynthesisRequest = StreamSynthesisRequest
|
|
613
|
+
|
|
614
|
+
@typing.final
|
|
615
|
+
class StreamSynthesisResponse(google.protobuf.message.Message):
|
|
616
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
617
|
+
|
|
618
|
+
AUDIO_CHUNK_FIELD_NUMBER: builtins.int
|
|
619
|
+
TEXT_CHUNK_FIELD_NUMBER: builtins.int
|
|
620
|
+
START_MS_FIELD_NUMBER: builtins.int
|
|
621
|
+
LENGTH_MS_FIELD_NUMBER: builtins.int
|
|
622
|
+
start_ms: builtins.int
|
|
623
|
+
"""Start time of the audio chunk in milliseconds."""
|
|
624
|
+
length_ms: builtins.int
|
|
625
|
+
"""Length of the audio chunk in milliseconds."""
|
|
626
|
+
@property
|
|
627
|
+
def audio_chunk(self) -> global___AudioChunk:
|
|
628
|
+
"""Part of synthesized audio."""
|
|
629
|
+
|
|
630
|
+
@property
|
|
631
|
+
def text_chunk(self) -> global___TextChunk:
|
|
632
|
+
"""Part of synthesized text."""
|
|
633
|
+
|
|
634
|
+
def __init__(
|
|
635
|
+
self,
|
|
636
|
+
*,
|
|
637
|
+
audio_chunk: global___AudioChunk | None = ...,
|
|
638
|
+
text_chunk: global___TextChunk | None = ...,
|
|
639
|
+
start_ms: builtins.int = ...,
|
|
640
|
+
length_ms: builtins.int = ...,
|
|
641
|
+
) -> None: ...
|
|
642
|
+
def HasField(self, field_name: typing.Literal["audio_chunk", b"audio_chunk", "text_chunk", b"text_chunk"]) -> builtins.bool: ...
|
|
643
|
+
def ClearField(self, field_name: typing.Literal["audio_chunk", b"audio_chunk", "length_ms", b"length_ms", "start_ms", b"start_ms", "text_chunk", b"text_chunk"]) -> None: ...
|
|
644
|
+
|
|
645
|
+
global___StreamSynthesisResponse = StreamSynthesisResponse
|
|
@@ -26,7 +26,7 @@ from yandex.cloud.ai.tts.v3 import tts_pb2 as yandex_dot_cloud_dot_ai_dot_tts_do
|
|
|
26
26
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/ai/tts/v3/tts_service.proto\x12\x10speechkit.tts.v3\x1a yandex/cloud/ai/tts/v3/tts.proto\x1a\x1cgoogle/api/annotations.proto2\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/ai/tts/v3/tts_service.proto\x12\x10speechkit.tts.v3\x1a yandex/cloud/ai/tts/v3/tts.proto\x1a\x1cgoogle/api/annotations.proto2\x96\x02\n\x0bSynthesizer\x12\x98\x01\n\x12UtteranceSynthesis\x12+.speechkit.tts.v3.UtteranceSynthesisRequest\x1a,.speechkit.tts.v3.UtteranceSynthesisResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/tts/v3/utteranceSynthesis:\x01*0\x01\x12l\n\x0fStreamSynthesis\x12(.speechkit.tts.v3.StreamSynthesisRequest\x1a).speechkit.tts.v3.StreamSynthesisResponse\"\x00(\x01\x30\x01\x42\\\n\x1ayandex.cloud.api.ai.tts.v3Z>github.com/yandex-cloud/go-genproto/yandex/cloud/ai/tts/v3;ttsb\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,5 +37,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals['_SYNTHESIZER'].methods_by_name['UtteranceSynthesis']._loaded_options = None
|
|
38
38
|
_globals['_SYNTHESIZER'].methods_by_name['UtteranceSynthesis']._serialized_options = b'\202\323\344\223\002\037\"\032/tts/v3/utteranceSynthesis:\001*'
|
|
39
39
|
_globals['_SYNTHESIZER']._serialized_start=127
|
|
40
|
-
_globals['_SYNTHESIZER']._serialized_end=
|
|
40
|
+
_globals['_SYNTHESIZER']._serialized_end=405
|
|
41
41
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -40,6 +40,11 @@ class SynthesizerStub(object):
|
|
|
40
40
|
request_serializer=yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.UtteranceSynthesisRequest.SerializeToString,
|
|
41
41
|
response_deserializer=yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.UtteranceSynthesisResponse.FromString,
|
|
42
42
|
_registered_method=True)
|
|
43
|
+
self.StreamSynthesis = channel.stream_stream(
|
|
44
|
+
'/speechkit.tts.v3.Synthesizer/StreamSynthesis',
|
|
45
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.StreamSynthesisRequest.SerializeToString,
|
|
46
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.StreamSynthesisResponse.FromString,
|
|
47
|
+
_registered_method=True)
|
|
43
48
|
|
|
44
49
|
|
|
45
50
|
class SynthesizerServicer(object):
|
|
@@ -53,6 +58,13 @@ class SynthesizerServicer(object):
|
|
|
53
58
|
context.set_details('Method not implemented!')
|
|
54
59
|
raise NotImplementedError('Method not implemented!')
|
|
55
60
|
|
|
61
|
+
def StreamSynthesis(self, request_iterator, context):
|
|
62
|
+
"""Bidirectional streaming RPC for real-time synthesis.
|
|
63
|
+
"""
|
|
64
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
65
|
+
context.set_details('Method not implemented!')
|
|
66
|
+
raise NotImplementedError('Method not implemented!')
|
|
67
|
+
|
|
56
68
|
|
|
57
69
|
def add_SynthesizerServicer_to_server(servicer, server):
|
|
58
70
|
rpc_method_handlers = {
|
|
@@ -61,6 +73,11 @@ def add_SynthesizerServicer_to_server(servicer, server):
|
|
|
61
73
|
request_deserializer=yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.UtteranceSynthesisRequest.FromString,
|
|
62
74
|
response_serializer=yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.UtteranceSynthesisResponse.SerializeToString,
|
|
63
75
|
),
|
|
76
|
+
'StreamSynthesis': grpc.stream_stream_rpc_method_handler(
|
|
77
|
+
servicer.StreamSynthesis,
|
|
78
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.StreamSynthesisRequest.FromString,
|
|
79
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.StreamSynthesisResponse.SerializeToString,
|
|
80
|
+
),
|
|
64
81
|
}
|
|
65
82
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
66
83
|
'speechkit.tts.v3.Synthesizer', rpc_method_handlers)
|
|
@@ -99,3 +116,30 @@ class Synthesizer(object):
|
|
|
99
116
|
timeout,
|
|
100
117
|
metadata,
|
|
101
118
|
_registered_method=True)
|
|
119
|
+
|
|
120
|
+
@staticmethod
|
|
121
|
+
def StreamSynthesis(request_iterator,
|
|
122
|
+
target,
|
|
123
|
+
options=(),
|
|
124
|
+
channel_credentials=None,
|
|
125
|
+
call_credentials=None,
|
|
126
|
+
insecure=False,
|
|
127
|
+
compression=None,
|
|
128
|
+
wait_for_ready=None,
|
|
129
|
+
timeout=None,
|
|
130
|
+
metadata=None):
|
|
131
|
+
return grpc.experimental.stream_stream(
|
|
132
|
+
request_iterator,
|
|
133
|
+
target,
|
|
134
|
+
'/speechkit.tts.v3.Synthesizer/StreamSynthesis',
|
|
135
|
+
yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.StreamSynthesisRequest.SerializeToString,
|
|
136
|
+
yandex_dot_cloud_dot_ai_dot_tts_dot_v3_dot_tts__pb2.StreamSynthesisResponse.FromString,
|
|
137
|
+
options,
|
|
138
|
+
channel_credentials,
|
|
139
|
+
insecure,
|
|
140
|
+
call_credentials,
|
|
141
|
+
compression,
|
|
142
|
+
wait_for_ready,
|
|
143
|
+
timeout,
|
|
144
|
+
metadata,
|
|
145
|
+
_registered_method=True)
|
|
@@ -27,6 +27,12 @@ class SynthesizerStub:
|
|
|
27
27
|
]
|
|
28
28
|
"""Synthesizing text into speech."""
|
|
29
29
|
|
|
30
|
+
StreamSynthesis: grpc.StreamStreamMultiCallable[
|
|
31
|
+
yandex.cloud.ai.tts.v3.tts_pb2.StreamSynthesisRequest,
|
|
32
|
+
yandex.cloud.ai.tts.v3.tts_pb2.StreamSynthesisResponse,
|
|
33
|
+
]
|
|
34
|
+
"""Bidirectional streaming RPC for real-time synthesis."""
|
|
35
|
+
|
|
30
36
|
class SynthesizerAsyncStub:
|
|
31
37
|
"""A set of methods for voice synthesis."""
|
|
32
38
|
|
|
@@ -36,6 +42,12 @@ class SynthesizerAsyncStub:
|
|
|
36
42
|
]
|
|
37
43
|
"""Synthesizing text into speech."""
|
|
38
44
|
|
|
45
|
+
StreamSynthesis: grpc.aio.StreamStreamMultiCallable[
|
|
46
|
+
yandex.cloud.ai.tts.v3.tts_pb2.StreamSynthesisRequest,
|
|
47
|
+
yandex.cloud.ai.tts.v3.tts_pb2.StreamSynthesisResponse,
|
|
48
|
+
]
|
|
49
|
+
"""Bidirectional streaming RPC for real-time synthesis."""
|
|
50
|
+
|
|
39
51
|
class SynthesizerServicer(metaclass=abc.ABCMeta):
|
|
40
52
|
"""A set of methods for voice synthesis."""
|
|
41
53
|
|
|
@@ -47,4 +59,12 @@ class SynthesizerServicer(metaclass=abc.ABCMeta):
|
|
|
47
59
|
) -> typing.Union[collections.abc.Iterator[yandex.cloud.ai.tts.v3.tts_pb2.UtteranceSynthesisResponse], collections.abc.AsyncIterator[yandex.cloud.ai.tts.v3.tts_pb2.UtteranceSynthesisResponse]]:
|
|
48
60
|
"""Synthesizing text into speech."""
|
|
49
61
|
|
|
62
|
+
@abc.abstractmethod
|
|
63
|
+
def StreamSynthesis(
|
|
64
|
+
self,
|
|
65
|
+
request_iterator: _MaybeAsyncIterator[yandex.cloud.ai.tts.v3.tts_pb2.StreamSynthesisRequest],
|
|
66
|
+
context: _ServicerContext,
|
|
67
|
+
) -> typing.Union[collections.abc.Iterator[yandex.cloud.ai.tts.v3.tts_pb2.StreamSynthesisResponse], collections.abc.AsyncIterator[yandex.cloud.ai.tts.v3.tts_pb2.StreamSynthesisResponse]]:
|
|
68
|
+
"""Bidirectional streaming RPC for real-time synthesis."""
|
|
69
|
+
|
|
50
70
|
def add_SynthesizerServicer_to_server(servicer: SynthesizerServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/clouddesktop/v1/desktop_group.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/clouddesktop/v1/desktop_group.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from yandex.cloud.access import access_pb2 as yandex_dot_cloud_dot_access_dot_access__pb2
|
|
27
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
|
+
from yandex.cloud.clouddesktop.v1 import disk_pb2 as yandex_dot_cloud_dot_clouddesktop_dot_v1_dot_disk__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/clouddesktop/v1/desktop_group.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/access/access.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/clouddesktop/v1/disk.proto\"\x94\x06\n\x0c\x44\x65sktopGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x06status\x18\x04 \x01(\x0e\x32\x35.yandex.cloud.clouddesktop.v1.api.DesktopGroup.Status\x12\x0c\n\x04name\x18\x0b \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0c \x01(\t\x12G\n\x0eresources_spec\x18\x15 \x01(\x0b\x32/.yandex.cloud.clouddesktop.v1.api.ResourcesSpec\x12V\n\x16network_interface_spec\x18\x16 \x01(\x0b\x32\x36.yandex.cloud.clouddesktop.v1.api.NetworkInterfaceSpec\x12J\n\x06labels\x18\x17 \x03(\x0b\x32:.yandex.cloud.clouddesktop.v1.api.DesktopGroup.LabelsEntry\x12\x42\n\x0e\x62oot_disk_spec\x18\x18 \x01(\x0b\x32*.yandex.cloud.clouddesktop.v1.api.DiskSpec\x12\x42\n\x0e\x64\x61ta_disk_spec\x18\x19 \x01(\x0b\x32*.yandex.cloud.clouddesktop.v1.api.DiskSpec\x12Q\n\x0cgroup_config\x18\x1a \x01(\x0b\x32;.yandex.cloud.clouddesktop.v1.api.DesktopGroupConfiguration\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03J\x04\x08\r\x10\x15J\x04\x08\x05\x10\x0b\"\xd3\x02\n\x19\x44\x65sktopGroupConfiguration\x12%\n\x12min_ready_desktops\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\x12&\n\x13max_desktops_amount\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-512\x12]\n\x0c\x64\x65sktop_type\x18\x03 \x01(\x0e\x32G.yandex.cloud.clouddesktop.v1.api.DesktopGroupConfiguration.DesktopType\x12\x37\n\x07members\x18\x04 \x03(\x0b\x32\x1c.yandex.cloud.access.SubjectB\x08\x82\xc8\x31\x04\x30-10\"O\n\x0b\x44\x65sktopType\x12\x1c\n\x18\x44\x45SKTOP_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPERSISTENT\x10\x01\x12\x12\n\x0eNON_PERSISTENT\x10\x02\"b\n\rResourcesSpec\x12\x17\n\x06memory\x18\x01 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12\x16\n\x05\x63ores\x18\x02 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12 \n\rcore_fraction\x18\x03 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\"`\n\x14NetworkInterfaceSpec\x12 \n\nnetwork_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\nsubnet_ids\x18\x02 \x03(\tB\x12\x82\xc8\x31\x02>0\x8a\xc8\x31\x04<=50\x90\xc8\x31\x01\x42q\n yandex.cloud.api.clouddesktop.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/clouddesktop/v1;clouddesktopb\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.clouddesktop.v1.desktop_group_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n yandex.cloud.api.clouddesktop.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/clouddesktop/v1;clouddesktop'
|
|
39
|
+
_globals['_DESKTOPGROUP_LABELSENTRY']._loaded_options = None
|
|
40
|
+
_globals['_DESKTOPGROUP_LABELSENTRY']._serialized_options = b'8\001'
|
|
41
|
+
_globals['_DESKTOPGROUPCONFIGURATION'].fields_by_name['min_ready_desktops']._loaded_options = None
|
|
42
|
+
_globals['_DESKTOPGROUPCONFIGURATION'].fields_by_name['min_ready_desktops']._serialized_options = b'\372\3071\0051-512'
|
|
43
|
+
_globals['_DESKTOPGROUPCONFIGURATION'].fields_by_name['max_desktops_amount']._loaded_options = None
|
|
44
|
+
_globals['_DESKTOPGROUPCONFIGURATION'].fields_by_name['max_desktops_amount']._serialized_options = b'\372\3071\0050-512'
|
|
45
|
+
_globals['_DESKTOPGROUPCONFIGURATION'].fields_by_name['members']._loaded_options = None
|
|
46
|
+
_globals['_DESKTOPGROUPCONFIGURATION'].fields_by_name['members']._serialized_options = b'\202\3101\0040-10'
|
|
47
|
+
_globals['_RESOURCESSPEC'].fields_by_name['memory']._loaded_options = None
|
|
48
|
+
_globals['_RESOURCESSPEC'].fields_by_name['memory']._serialized_options = b'\372\3071\003>=1'
|
|
49
|
+
_globals['_RESOURCESSPEC'].fields_by_name['cores']._loaded_options = None
|
|
50
|
+
_globals['_RESOURCESSPEC'].fields_by_name['cores']._serialized_options = b'\372\3071\003>=1'
|
|
51
|
+
_globals['_RESOURCESSPEC'].fields_by_name['core_fraction']._loaded_options = None
|
|
52
|
+
_globals['_RESOURCESSPEC'].fields_by_name['core_fraction']._serialized_options = b'\372\3071\0050-100'
|
|
53
|
+
_globals['_NETWORKINTERFACESPEC'].fields_by_name['network_id']._loaded_options = None
|
|
54
|
+
_globals['_NETWORKINTERFACESPEC'].fields_by_name['network_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
55
|
+
_globals['_NETWORKINTERFACESPEC'].fields_by_name['subnet_ids']._loaded_options = None
|
|
56
|
+
_globals['_NETWORKINTERFACESPEC'].fields_by_name['subnet_ids']._serialized_options = b'\202\3101\002>0\212\3101\004<=50\220\3101\001'
|
|
57
|
+
_globals['_DESKTOPGROUP']._serialized_start=226
|
|
58
|
+
_globals['_DESKTOPGROUP']._serialized_end=1014
|
|
59
|
+
_globals['_DESKTOPGROUP_LABELSENTRY']._serialized_start=883
|
|
60
|
+
_globals['_DESKTOPGROUP_LABELSENTRY']._serialized_end=928
|
|
61
|
+
_globals['_DESKTOPGROUP_STATUS']._serialized_start=930
|
|
62
|
+
_globals['_DESKTOPGROUP_STATUS']._serialized_end=1002
|
|
63
|
+
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_start=1017
|
|
64
|
+
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_end=1356
|
|
65
|
+
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_start=1277
|
|
66
|
+
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_end=1356
|
|
67
|
+
_globals['_RESOURCESSPEC']._serialized_start=1358
|
|
68
|
+
_globals['_RESOURCESSPEC']._serialized_end=1456
|
|
69
|
+
_globals['_NETWORKINTERFACESPEC']._serialized_start=1458
|
|
70
|
+
_globals['_NETWORKINTERFACESPEC']._serialized_end=1554
|
|
71
|
+
# @@protoc_insertion_point(module_scope)
|