yandexcloud 0.294.0__py3-none-any.whl → 0.296.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/foundation_models/v1/image_generation/image_generation_pb2.py +5 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +28 -1
- yandex/cloud/backup/v1/resource_pb2.py +16 -14
- yandex/cloud/backup/v1/resource_pb2.pyi +38 -1
- yandex/cloud/billing/v1/customer_service_pb2.pyi +1 -1
- yandex/cloud/billing/v1/sku_service_pb2.pyi +1 -0
- yandex/cloud/compute/v1/instance_pb2.pyi +1 -3
- yandex/cloud/compute/v1/instance_service_pb2.py +26 -26
- yandex/cloud/compute/v1/instance_service_pb2.pyi +5 -1
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +40 -32
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +78 -1
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +56 -54
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +21 -6
- yandex/cloud/datasphere/v2/project_service_pb2.py +34 -30
- yandex/cloud/datasphere/v2/project_service_pb2.pyi +13 -3
- yandex/cloud/iam/v1/api_key_service_pb2.py +13 -3
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +53 -0
- yandex/cloud/iam/v1/api_key_service_pb2_grpc.py +34 -0
- yandex/cloud/iam/v1/api_key_service_pb2_grpc.pyi +20 -0
- yandex/cloud/iot/devices/v1/registry_pb2.py +13 -13
- yandex/cloud/iot/devices/v1/registry_pb2.pyi +4 -0
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +23 -3
- yandex/cloud/iot/devices/v1/registry_service_pb2.pyi +64 -0
- yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.py +68 -0
- yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.pyi +40 -0
- yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +226 -52
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -35
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +32 -2
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +13 -7
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +33 -16
- yandex/cloud/organizationmanager/v1/os_login_service_pb2.py +20 -20
- yandex/cloud/organizationmanager/v1/os_login_service_pb2.pyi +2 -2
- yandex/cloud/serverless/functions/v1/function_pb2.py +30 -28
- yandex/cloud/serverless/functions/v1/function_pb2.pyi +5 -1
- yandex/cloud/serverless/functions/v1/function_service_pb2.py +38 -36
- yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +5 -1
- yandex/cloud/smartcaptcha/__init__.py +0 -0
- yandex/cloud/smartcaptcha/v1/__init__.py +0 -0
- yandex/cloud/smartcaptcha/v1/captcha_pb2.py +100 -0
- yandex/cloud/smartcaptcha/v1/captcha_pb2.pyi +500 -0
- yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.py +4 -0
- yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.pyi +17 -0
- yandex/cloud/smartcaptcha/v1/captcha_service_pb2.py +76 -0
- yandex/cloud/smartcaptcha/v1/captcha_service_pb2.pyi +268 -0
- yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.py +242 -0
- yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.pyi +152 -0
- yandex/cloud/smartwebsecurity/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +110 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +520 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +78 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +260 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.py +208 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.pyi +132 -0
- yandex/cloud/speechsense/v1/analysis/__init__.py +0 -0
- yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.py +28 -0
- yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.pyi +40 -0
- yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.py +29 -0
- yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.pyi +66 -0
- yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/points_pb2.py +29 -0
- yandex/cloud/speechsense/v1/analysis/points_pb2.pyi +53 -0
- yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.py +30 -0
- yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.pyi +93 -0
- yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.py +27 -0
- yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.pyi +41 -0
- yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.py +28 -0
- yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.pyi +58 -0
- yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.py +27 -0
- yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.pyi +43 -0
- yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.py +30 -0
- yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.pyi +91 -0
- yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.py +33 -0
- yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.pyi +102 -0
- yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/transcription_pb2.py +41 -0
- yandex/cloud/speechsense/v1/analysis/transcription_pb2.pyi +186 -0
- yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.py +27 -0
- yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.pyi +70 -0
- yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/search_pb2.py +51 -0
- yandex/cloud/speechsense/v1/search_pb2.pyi +324 -0
- yandex/cloud/speechsense/v1/search_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/search_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/talk_pb2.py +38 -0
- yandex/cloud/speechsense/v1/talk_pb2.pyi +161 -0
- yandex/cloud/speechsense/v1/talk_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/talk_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/talk_service_pb2.py +34 -18
- yandex/cloud/speechsense/v1/talk_service_pb2.pyi +143 -0
- yandex/cloud/speechsense/v1/talk_service_pb2_grpc.py +68 -0
- yandex/cloud/speechsense/v1/talk_service_pb2_grpc.pyi +40 -0
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/METADATA +8 -8
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/RECORD +119 -46
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/top_level.txt +0 -0
|
@@ -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,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/speechsense/v1/analysis/interrupts_statistics.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 yandex.cloud.speechsense.v1.analysis import statistics_common_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_analysis_dot_statistics__common__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@yandex/cloud/speechsense/v1/analysis/interrupts_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\"n\n\x14InterruptsStatistics\x12V\n\x12speaker_interrupts\x18\x01 \x03(\x0b\x32:.yandex.cloud.speechsense.v1.analysis.InterruptsEvaluation\"\xdc\x01\n\x14InterruptsEvaluation\x12\x13\n\x0bspeaker_tag\x18\x01 \x01(\t\x12\x18\n\x10interrupts_count\x18\x02 \x01(\x03\x12\x1e\n\x16interrupts_duration_ms\x18\x03 \x01(\x03\x12P\n\ninterrupts\x18\x04 \x03(\x0b\x32<.yandex.cloud.speechsense.v1.analysis.AudioSegmentBoundaries\x12#\n\x1binterrupts_duration_seconds\x18\x05 \x01(\x03\x42\x9b\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x19InterruptsStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.analysis.interrupts_statistics_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.speechsense.v1.analysisB\031InterruptsStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
|
|
25
|
+
_globals['_INTERRUPTSSTATISTICS']._serialized_start=168
|
|
26
|
+
_globals['_INTERRUPTSSTATISTICS']._serialized_end=278
|
|
27
|
+
_globals['_INTERRUPTSEVALUATION']._serialized_start=281
|
|
28
|
+
_globals['_INTERRUPTSEVALUATION']._serialized_end=501
|
|
29
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,66 @@
|
|
|
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.speechsense.v1.analysis.statistics_common_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class InterruptsStatistics(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
SPEAKER_INTERRUPTS_FIELD_NUMBER: builtins.int
|
|
21
|
+
@property
|
|
22
|
+
def speaker_interrupts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___InterruptsEvaluation]:
|
|
23
|
+
"""Interrupts description for every speaker"""
|
|
24
|
+
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*,
|
|
28
|
+
speaker_interrupts: collections.abc.Iterable[global___InterruptsEvaluation] | None = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["speaker_interrupts", b"speaker_interrupts"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___InterruptsStatistics = InterruptsStatistics
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class InterruptsEvaluation(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
SPEAKER_TAG_FIELD_NUMBER: builtins.int
|
|
39
|
+
INTERRUPTS_COUNT_FIELD_NUMBER: builtins.int
|
|
40
|
+
INTERRUPTS_DURATION_MS_FIELD_NUMBER: builtins.int
|
|
41
|
+
INTERRUPTS_FIELD_NUMBER: builtins.int
|
|
42
|
+
INTERRUPTS_DURATION_SECONDS_FIELD_NUMBER: builtins.int
|
|
43
|
+
speaker_tag: builtins.str
|
|
44
|
+
"""Speaker tag"""
|
|
45
|
+
interrupts_count: builtins.int
|
|
46
|
+
"""Number of interrupts made by the speaker"""
|
|
47
|
+
interrupts_duration_ms: builtins.int
|
|
48
|
+
"""Total duration of all interrupts"""
|
|
49
|
+
interrupts_duration_seconds: builtins.int
|
|
50
|
+
"""Total duration of all interrupts in seconds"""
|
|
51
|
+
@property
|
|
52
|
+
def interrupts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.AudioSegmentBoundaries]:
|
|
53
|
+
"""Boundaries for every interrupt"""
|
|
54
|
+
|
|
55
|
+
def __init__(
|
|
56
|
+
self,
|
|
57
|
+
*,
|
|
58
|
+
speaker_tag: builtins.str = ...,
|
|
59
|
+
interrupts_count: builtins.int = ...,
|
|
60
|
+
interrupts_duration_ms: builtins.int = ...,
|
|
61
|
+
interrupts: collections.abc.Iterable[yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.AudioSegmentBoundaries] | None = ...,
|
|
62
|
+
interrupts_duration_seconds: builtins.int = ...,
|
|
63
|
+
) -> None: ...
|
|
64
|
+
def ClearField(self, field_name: typing.Literal["interrupts", b"interrupts", "interrupts_count", b"interrupts_count", "interrupts_duration_ms", b"interrupts_duration_ms", "interrupts_duration_seconds", b"interrupts_duration_seconds", "speaker_tag", b"speaker_tag"]) -> None: ...
|
|
65
|
+
|
|
66
|
+
global___InterruptsEvaluation = InterruptsEvaluation
|
|
@@ -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,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/speechsense/v1/analysis/points.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 wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/speechsense/v1/analysis/points.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a\x1egoogle/protobuf/wrappers.proto\"B\n\x06Points\x12\x38\n\x04quiz\x18\x01 \x03(\x0b\x32*.yandex.cloud.speechsense.v1.analysis.Quiz\"S\n\x04Quiz\x12\x0f\n\x07request\x18\x01 \x01(\t\x12.\n\x08response\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\n\n\x02id\x18\x03 \x01(\tB\x8d\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x0bPointsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.analysis.points_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.speechsense.v1.analysisB\013PointsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
|
|
25
|
+
_globals['_POINTS']._serialized_start=123
|
|
26
|
+
_globals['_POINTS']._serialized_end=189
|
|
27
|
+
_globals['_QUIZ']._serialized_start=191
|
|
28
|
+
_globals['_QUIZ']._serialized_end=274
|
|
29
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,53 @@
|
|
|
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 google.protobuf.wrappers_pb2
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class Points(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
QUIZ_FIELD_NUMBER: builtins.int
|
|
21
|
+
@property
|
|
22
|
+
def quiz(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Quiz]: ...
|
|
23
|
+
def __init__(
|
|
24
|
+
self,
|
|
25
|
+
*,
|
|
26
|
+
quiz: collections.abc.Iterable[global___Quiz] | None = ...,
|
|
27
|
+
) -> None: ...
|
|
28
|
+
def ClearField(self, field_name: typing.Literal["quiz", b"quiz"]) -> None: ...
|
|
29
|
+
|
|
30
|
+
global___Points = Points
|
|
31
|
+
|
|
32
|
+
@typing.final
|
|
33
|
+
class Quiz(google.protobuf.message.Message):
|
|
34
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
35
|
+
|
|
36
|
+
REQUEST_FIELD_NUMBER: builtins.int
|
|
37
|
+
RESPONSE_FIELD_NUMBER: builtins.int
|
|
38
|
+
ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
request: builtins.str
|
|
40
|
+
id: builtins.str
|
|
41
|
+
@property
|
|
42
|
+
def response(self) -> google.protobuf.wrappers_pb2.StringValue: ...
|
|
43
|
+
def __init__(
|
|
44
|
+
self,
|
|
45
|
+
*,
|
|
46
|
+
request: builtins.str = ...,
|
|
47
|
+
response: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
48
|
+
id: builtins.str = ...,
|
|
49
|
+
) -> None: ...
|
|
50
|
+
def HasField(self, field_name: typing.Literal["response", b"response"]) -> builtins.bool: ...
|
|
51
|
+
def ClearField(self, field_name: typing.Literal["id", b"id", "request", b"request", "response", b"response"]) -> None: ...
|
|
52
|
+
|
|
53
|
+
global___Quiz = Quiz
|
|
@@ -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,30 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/speechsense/v1/analysis/predefined_classifiers.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
|
+
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nAyandex/cloud/speechsense/v1/analysis/predefined_classifiers.proto\x12$yandex.cloud.speechsense.v1.analysis\"\xfa\x01\n\x1bRecognitionClassifierResult\x12\x15\n\rstart_time_ms\x18\x01 \x01(\x03\x12\x13\n\x0b\x65nd_time_ms\x18\x02 \x01(\x03\x12\x12\n\nclassifier\x18\x03 \x01(\t\x12I\n\nhighlights\x18\x04 \x03(\x0b\x32\x35.yandex.cloud.speechsense.v1.analysis.PhraseHighlight\x12P\n\x06labels\x18\x05 \x03(\x0b\x32@.yandex.cloud.speechsense.v1.analysis.RecognitionClassifierLabel\">\n\x0fPhraseHighlight\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06offset\x18\x02 \x01(\x03\x12\r\n\x05\x63ount\x18\x03 \x01(\x03\"?\n\x1aRecognitionClassifierLabel\x12\r\n\x05label\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x01\x42\x9c\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x1aRecognitionClassifierProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3')
|
|
17
|
+
|
|
18
|
+
_globals = globals()
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.analysis.predefined_classifiers_pb2', _globals)
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
DESCRIPTOR._options = None
|
|
23
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.speechsense.v1.analysisB\032RecognitionClassifierProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
|
|
24
|
+
_globals['_RECOGNITIONCLASSIFIERRESULT']._serialized_start=108
|
|
25
|
+
_globals['_RECOGNITIONCLASSIFIERRESULT']._serialized_end=358
|
|
26
|
+
_globals['_PHRASEHIGHLIGHT']._serialized_start=360
|
|
27
|
+
_globals['_PHRASEHIGHLIGHT']._serialized_end=422
|
|
28
|
+
_globals['_RECOGNITIONCLASSIFIERLABEL']._serialized_start=424
|
|
29
|
+
_globals['_RECOGNITIONCLASSIFIERLABEL']._serialized_end=487
|
|
30
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
@typing.final
|
|
16
|
+
class RecognitionClassifierResult(google.protobuf.message.Message):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
START_TIME_MS_FIELD_NUMBER: builtins.int
|
|
20
|
+
END_TIME_MS_FIELD_NUMBER: builtins.int
|
|
21
|
+
CLASSIFIER_FIELD_NUMBER: builtins.int
|
|
22
|
+
HIGHLIGHTS_FIELD_NUMBER: builtins.int
|
|
23
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
24
|
+
start_time_ms: builtins.int
|
|
25
|
+
"""Start time of the audio segment used for classification"""
|
|
26
|
+
end_time_ms: builtins.int
|
|
27
|
+
"""End time of the audio segment used for classification"""
|
|
28
|
+
classifier: builtins.str
|
|
29
|
+
"""Name of the triggered classifier"""
|
|
30
|
+
@property
|
|
31
|
+
def highlights(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PhraseHighlight]:
|
|
32
|
+
"""List of highlights, i.e. parts of phrase that determine the result of the classification"""
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
def labels(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RecognitionClassifierLabel]:
|
|
36
|
+
"""Classifier predictions"""
|
|
37
|
+
|
|
38
|
+
def __init__(
|
|
39
|
+
self,
|
|
40
|
+
*,
|
|
41
|
+
start_time_ms: builtins.int = ...,
|
|
42
|
+
end_time_ms: builtins.int = ...,
|
|
43
|
+
classifier: builtins.str = ...,
|
|
44
|
+
highlights: collections.abc.Iterable[global___PhraseHighlight] | None = ...,
|
|
45
|
+
labels: collections.abc.Iterable[global___RecognitionClassifierLabel] | None = ...,
|
|
46
|
+
) -> None: ...
|
|
47
|
+
def ClearField(self, field_name: typing.Literal["classifier", b"classifier", "end_time_ms", b"end_time_ms", "highlights", b"highlights", "labels", b"labels", "start_time_ms", b"start_time_ms"]) -> None: ...
|
|
48
|
+
|
|
49
|
+
global___RecognitionClassifierResult = RecognitionClassifierResult
|
|
50
|
+
|
|
51
|
+
@typing.final
|
|
52
|
+
class PhraseHighlight(google.protobuf.message.Message):
|
|
53
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
54
|
+
|
|
55
|
+
TEXT_FIELD_NUMBER: builtins.int
|
|
56
|
+
OFFSET_FIELD_NUMBER: builtins.int
|
|
57
|
+
COUNT_FIELD_NUMBER: builtins.int
|
|
58
|
+
text: builtins.str
|
|
59
|
+
"""Text transcription of the highlighted audio segment"""
|
|
60
|
+
offset: builtins.int
|
|
61
|
+
"""offset in symbols from the beginning of whole phrase where highlight begins"""
|
|
62
|
+
count: builtins.int
|
|
63
|
+
"""count of symbols in highlighted text"""
|
|
64
|
+
def __init__(
|
|
65
|
+
self,
|
|
66
|
+
*,
|
|
67
|
+
text: builtins.str = ...,
|
|
68
|
+
offset: builtins.int = ...,
|
|
69
|
+
count: builtins.int = ...,
|
|
70
|
+
) -> None: ...
|
|
71
|
+
def ClearField(self, field_name: typing.Literal["count", b"count", "offset", b"offset", "text", b"text"]) -> None: ...
|
|
72
|
+
|
|
73
|
+
global___PhraseHighlight = PhraseHighlight
|
|
74
|
+
|
|
75
|
+
@typing.final
|
|
76
|
+
class RecognitionClassifierLabel(google.protobuf.message.Message):
|
|
77
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
78
|
+
|
|
79
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
80
|
+
CONFIDENCE_FIELD_NUMBER: builtins.int
|
|
81
|
+
label: builtins.str
|
|
82
|
+
"""The label of the class predicted by the classifier"""
|
|
83
|
+
confidence: builtins.float
|
|
84
|
+
"""The prediction confidence"""
|
|
85
|
+
def __init__(
|
|
86
|
+
self,
|
|
87
|
+
*,
|
|
88
|
+
label: builtins.str = ...,
|
|
89
|
+
confidence: builtins.float = ...,
|
|
90
|
+
) -> None: ...
|
|
91
|
+
def ClearField(self, field_name: typing.Literal["confidence", b"confidence", "label", b"label"]) -> None: ...
|
|
92
|
+
|
|
93
|
+
global___RecognitionClassifierLabel = RecognitionClassifierLabel
|
|
@@ -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,27 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/speechsense/v1/analysis/silence_statistics.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 yandex.cloud.speechsense.v1.analysis import statistics_common_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_analysis_dot_statistics__common__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=yandex/cloud/speechsense/v1/analysis/silence_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\"\x91\x02\n\x11SilenceStatistics\x12.\n&total_simultaneous_silence_duration_ms\x18\x01 \x01(\x03\x12(\n total_simultaneous_silence_ratio\x18\x02 \x01(\x01\x12m\n(simultaneous_silence_duration_estimation\x18\x03 \x01(\x0b\x32;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics\x12\x33\n+total_simultaneous_silence_duration_seconds\x18\x04 \x01(\x03\x42\x98\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x16SilenceStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.analysis.silence_statistics_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.speechsense.v1.analysisB\026SilenceStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
|
|
25
|
+
_globals['_SILENCESTATISTICS']._serialized_start=166
|
|
26
|
+
_globals['_SILENCESTATISTICS']._serialized_end=439
|
|
27
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,41 @@
|
|
|
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.message
|
|
9
|
+
import typing
|
|
10
|
+
import yandex.cloud.speechsense.v1.analysis.statistics_common_pb2
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
@typing.final
|
|
15
|
+
class SilenceStatistics(google.protobuf.message.Message):
|
|
16
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17
|
+
|
|
18
|
+
TOTAL_SIMULTANEOUS_SILENCE_DURATION_MS_FIELD_NUMBER: builtins.int
|
|
19
|
+
TOTAL_SIMULTANEOUS_SILENCE_RATIO_FIELD_NUMBER: builtins.int
|
|
20
|
+
SIMULTANEOUS_SILENCE_DURATION_ESTIMATION_FIELD_NUMBER: builtins.int
|
|
21
|
+
TOTAL_SIMULTANEOUS_SILENCE_DURATION_SECONDS_FIELD_NUMBER: builtins.int
|
|
22
|
+
total_simultaneous_silence_duration_ms: builtins.int
|
|
23
|
+
total_simultaneous_silence_ratio: builtins.float
|
|
24
|
+
"""Simultaneous silence ratio within audio segment"""
|
|
25
|
+
total_simultaneous_silence_duration_seconds: builtins.int
|
|
26
|
+
@property
|
|
27
|
+
def simultaneous_silence_duration_estimation(self) -> yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics:
|
|
28
|
+
"""Descriptive statistics for simultaneous silence duration distribution"""
|
|
29
|
+
|
|
30
|
+
def __init__(
|
|
31
|
+
self,
|
|
32
|
+
*,
|
|
33
|
+
total_simultaneous_silence_duration_ms: builtins.int = ...,
|
|
34
|
+
total_simultaneous_silence_ratio: builtins.float = ...,
|
|
35
|
+
simultaneous_silence_duration_estimation: yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics | None = ...,
|
|
36
|
+
total_simultaneous_silence_duration_seconds: builtins.int = ...,
|
|
37
|
+
) -> None: ...
|
|
38
|
+
def HasField(self, field_name: typing.Literal["simultaneous_silence_duration_estimation", b"simultaneous_silence_duration_estimation"]) -> builtins.bool: ...
|
|
39
|
+
def ClearField(self, field_name: typing.Literal["simultaneous_silence_duration_estimation", b"simultaneous_silence_duration_estimation", "total_simultaneous_silence_duration_ms", b"total_simultaneous_silence_duration_ms", "total_simultaneous_silence_duration_seconds", b"total_simultaneous_silence_duration_seconds", "total_simultaneous_silence_ratio", b"total_simultaneous_silence_ratio"]) -> None: ...
|
|
40
|
+
|
|
41
|
+
global___SilenceStatistics = SilenceStatistics
|
|
@@ -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,28 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/speechsense/v1/analysis/speaker_statistics.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 yandex.cloud.speechsense.v1.analysis import statistics_common_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_analysis_dot_statistics__common__pb2
|
|
15
|
+
from yandex.cloud.speechsense.v1.analysis import utterance_statistics_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_analysis_dot_utterance__statistics__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=yandex/cloud/speechsense/v1/analysis/speaker_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\x1a?yandex/cloud/speechsense/v1/analysis/utterance_statistics.proto\"\xb3\x03\n\x11SpeakerStatistics\x12\x13\n\x0bspeaker_tag\x18\x01 \x01(\t\x12V\n\x13\x63omplete_statistics\x18\x02 \x01(\x0b\x32\x39.yandex.cloud.speechsense.v1.analysis.UtteranceStatistics\x12X\n\x13words_per_utterance\x18\x03 \x01(\x0b\x32;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics\x12Z\n\x15letters_per_utterance\x18\x04 \x01(\x0b\x32;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics\x12\x17\n\x0futterance_count\x18\x05 \x01(\x03\x12\x62\n\x1dutterance_duration_estimation\x18\x06 \x01(\x0b\x32;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsB\x98\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x16SpeakerStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_globals = globals()
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.analysis.speaker_statistics_pb2', _globals)
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.speechsense.v1.analysisB\026SpeakerStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
|
|
26
|
+
_globals['_SPEAKERSTATISTICS']._serialized_start=231
|
|
27
|
+
_globals['_SPEAKERSTATISTICS']._serialized_end=666
|
|
28
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,58 @@
|
|
|
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.message
|
|
9
|
+
import typing
|
|
10
|
+
import yandex.cloud.speechsense.v1.analysis.statistics_common_pb2
|
|
11
|
+
import yandex.cloud.speechsense.v1.analysis.utterance_statistics_pb2
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
@typing.final
|
|
16
|
+
class SpeakerStatistics(google.protobuf.message.Message):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
SPEAKER_TAG_FIELD_NUMBER: builtins.int
|
|
20
|
+
COMPLETE_STATISTICS_FIELD_NUMBER: builtins.int
|
|
21
|
+
WORDS_PER_UTTERANCE_FIELD_NUMBER: builtins.int
|
|
22
|
+
LETTERS_PER_UTTERANCE_FIELD_NUMBER: builtins.int
|
|
23
|
+
UTTERANCE_COUNT_FIELD_NUMBER: builtins.int
|
|
24
|
+
UTTERANCE_DURATION_ESTIMATION_FIELD_NUMBER: builtins.int
|
|
25
|
+
speaker_tag: builtins.str
|
|
26
|
+
"""Speaker tag"""
|
|
27
|
+
utterance_count: builtins.int
|
|
28
|
+
"""Number of utterances"""
|
|
29
|
+
@property
|
|
30
|
+
def complete_statistics(self) -> yandex.cloud.speechsense.v1.analysis.utterance_statistics_pb2.UtteranceStatistics:
|
|
31
|
+
"""analysis of all phrases in format of single utterance"""
|
|
32
|
+
|
|
33
|
+
@property
|
|
34
|
+
def words_per_utterance(self) -> yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics:
|
|
35
|
+
"""Descriptive statistics for words per utterance distribution"""
|
|
36
|
+
|
|
37
|
+
@property
|
|
38
|
+
def letters_per_utterance(self) -> yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics:
|
|
39
|
+
"""Descriptive statistics for letters per utterance distribution"""
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def utterance_duration_estimation(self) -> yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics:
|
|
43
|
+
"""Descriptive statistics for utterance duration distribution"""
|
|
44
|
+
|
|
45
|
+
def __init__(
|
|
46
|
+
self,
|
|
47
|
+
*,
|
|
48
|
+
speaker_tag: builtins.str = ...,
|
|
49
|
+
complete_statistics: yandex.cloud.speechsense.v1.analysis.utterance_statistics_pb2.UtteranceStatistics | None = ...,
|
|
50
|
+
words_per_utterance: yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics | None = ...,
|
|
51
|
+
letters_per_utterance: yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics | None = ...,
|
|
52
|
+
utterance_count: builtins.int = ...,
|
|
53
|
+
utterance_duration_estimation: yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics | None = ...,
|
|
54
|
+
) -> None: ...
|
|
55
|
+
def HasField(self, field_name: typing.Literal["complete_statistics", b"complete_statistics", "letters_per_utterance", b"letters_per_utterance", "utterance_duration_estimation", b"utterance_duration_estimation", "words_per_utterance", b"words_per_utterance"]) -> builtins.bool: ...
|
|
56
|
+
def ClearField(self, field_name: typing.Literal["complete_statistics", b"complete_statistics", "letters_per_utterance", b"letters_per_utterance", "speaker_tag", b"speaker_tag", "utterance_count", b"utterance_count", "utterance_duration_estimation", b"utterance_duration_estimation", "words_per_utterance", b"words_per_utterance"]) -> None: ...
|
|
57
|
+
|
|
58
|
+
global___SpeakerStatistics = SpeakerStatistics
|
|
@@ -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,27 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/speechsense/v1/analysis/speech_statistics.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 yandex.cloud.speechsense.v1.analysis import statistics_common_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_analysis_dot_statistics__common__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<yandex/cloud/speechsense/v1/analysis/speech_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\"\x8c\x02\n\x10SpeechStatistics\x12\x32\n*total_simultaneous_speech_duration_seconds\x18\x01 \x01(\x03\x12-\n%total_simultaneous_speech_duration_ms\x18\x02 \x01(\x03\x12\'\n\x1ftotal_simultaneous_speech_ratio\x18\x03 \x01(\x01\x12l\n\'simultaneous_speech_duration_estimation\x18\x04 \x01(\x0b\x32;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsB\x97\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x15SpeechStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.analysis.speech_statistics_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.speechsense.v1.analysisB\025SpeechStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
|
|
25
|
+
_globals['_SPEECHSTATISTICS']._serialized_start=165
|
|
26
|
+
_globals['_SPEECHSTATISTICS']._serialized_end=433
|
|
27
|
+
# @@protoc_insertion_point(module_scope)
|