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.

Files changed (119) hide show
  1. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.py +5 -3
  2. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +28 -1
  3. yandex/cloud/backup/v1/resource_pb2.py +16 -14
  4. yandex/cloud/backup/v1/resource_pb2.pyi +38 -1
  5. yandex/cloud/billing/v1/customer_service_pb2.pyi +1 -1
  6. yandex/cloud/billing/v1/sku_service_pb2.pyi +1 -0
  7. yandex/cloud/compute/v1/instance_pb2.pyi +1 -3
  8. yandex/cloud/compute/v1/instance_service_pb2.py +26 -26
  9. yandex/cloud/compute/v1/instance_service_pb2.pyi +5 -1
  10. yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +40 -32
  11. yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +78 -1
  12. yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +56 -54
  13. yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +21 -6
  14. yandex/cloud/datasphere/v2/project_service_pb2.py +34 -30
  15. yandex/cloud/datasphere/v2/project_service_pb2.pyi +13 -3
  16. yandex/cloud/iam/v1/api_key_service_pb2.py +13 -3
  17. yandex/cloud/iam/v1/api_key_service_pb2.pyi +53 -0
  18. yandex/cloud/iam/v1/api_key_service_pb2_grpc.py +34 -0
  19. yandex/cloud/iam/v1/api_key_service_pb2_grpc.pyi +20 -0
  20. yandex/cloud/iot/devices/v1/registry_pb2.py +13 -13
  21. yandex/cloud/iot/devices/v1/registry_pb2.pyi +4 -0
  22. yandex/cloud/iot/devices/v1/registry_service_pb2.py +23 -3
  23. yandex/cloud/iot/devices/v1/registry_service_pb2.pyi +64 -0
  24. yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.py +68 -0
  25. yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.pyi +40 -0
  26. yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +226 -52
  27. yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -35
  28. yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +32 -2
  29. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +13 -7
  30. yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +33 -16
  31. yandex/cloud/organizationmanager/v1/os_login_service_pb2.py +20 -20
  32. yandex/cloud/organizationmanager/v1/os_login_service_pb2.pyi +2 -2
  33. yandex/cloud/serverless/functions/v1/function_pb2.py +30 -28
  34. yandex/cloud/serverless/functions/v1/function_pb2.pyi +5 -1
  35. yandex/cloud/serverless/functions/v1/function_service_pb2.py +38 -36
  36. yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +5 -1
  37. yandex/cloud/smartcaptcha/__init__.py +0 -0
  38. yandex/cloud/smartcaptcha/v1/__init__.py +0 -0
  39. yandex/cloud/smartcaptcha/v1/captcha_pb2.py +100 -0
  40. yandex/cloud/smartcaptcha/v1/captcha_pb2.pyi +500 -0
  41. yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.py +4 -0
  42. yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.pyi +17 -0
  43. yandex/cloud/smartcaptcha/v1/captcha_service_pb2.py +76 -0
  44. yandex/cloud/smartcaptcha/v1/captcha_service_pb2.pyi +268 -0
  45. yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.py +242 -0
  46. yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.pyi +152 -0
  47. yandex/cloud/smartwebsecurity/__init__.py +0 -0
  48. yandex/cloud/smartwebsecurity/v1/__init__.py +0 -0
  49. yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +110 -0
  50. yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +520 -0
  51. yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.py +4 -0
  52. yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.pyi +17 -0
  53. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +78 -0
  54. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +260 -0
  55. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.py +208 -0
  56. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.pyi +132 -0
  57. yandex/cloud/speechsense/v1/analysis/__init__.py +0 -0
  58. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.py +28 -0
  59. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.pyi +40 -0
  60. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.py +4 -0
  61. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.pyi +17 -0
  62. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.py +29 -0
  63. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.pyi +66 -0
  64. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.py +4 -0
  65. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.pyi +17 -0
  66. yandex/cloud/speechsense/v1/analysis/points_pb2.py +29 -0
  67. yandex/cloud/speechsense/v1/analysis/points_pb2.pyi +53 -0
  68. yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.py +4 -0
  69. yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.pyi +17 -0
  70. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.py +30 -0
  71. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.pyi +93 -0
  72. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.py +4 -0
  73. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.pyi +17 -0
  74. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.py +27 -0
  75. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.pyi +41 -0
  76. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.py +4 -0
  77. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.pyi +17 -0
  78. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.py +28 -0
  79. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.pyi +58 -0
  80. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.py +4 -0
  81. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.pyi +17 -0
  82. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.py +27 -0
  83. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.pyi +43 -0
  84. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.py +4 -0
  85. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.pyi +17 -0
  86. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.py +30 -0
  87. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.pyi +91 -0
  88. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.py +4 -0
  89. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.pyi +17 -0
  90. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.py +33 -0
  91. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.pyi +102 -0
  92. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.py +4 -0
  93. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.pyi +17 -0
  94. yandex/cloud/speechsense/v1/analysis/transcription_pb2.py +41 -0
  95. yandex/cloud/speechsense/v1/analysis/transcription_pb2.pyi +186 -0
  96. yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.py +4 -0
  97. yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.pyi +17 -0
  98. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.py +27 -0
  99. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.pyi +70 -0
  100. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.py +4 -0
  101. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.pyi +17 -0
  102. yandex/cloud/speechsense/v1/search_pb2.py +51 -0
  103. yandex/cloud/speechsense/v1/search_pb2.pyi +324 -0
  104. yandex/cloud/speechsense/v1/search_pb2_grpc.py +4 -0
  105. yandex/cloud/speechsense/v1/search_pb2_grpc.pyi +17 -0
  106. yandex/cloud/speechsense/v1/talk_pb2.py +38 -0
  107. yandex/cloud/speechsense/v1/talk_pb2.pyi +161 -0
  108. yandex/cloud/speechsense/v1/talk_pb2_grpc.py +4 -0
  109. yandex/cloud/speechsense/v1/talk_pb2_grpc.pyi +17 -0
  110. yandex/cloud/speechsense/v1/talk_service_pb2.py +34 -18
  111. yandex/cloud/speechsense/v1/talk_service_pb2.pyi +143 -0
  112. yandex/cloud/speechsense/v1/talk_service_pb2_grpc.py +68 -0
  113. yandex/cloud/speechsense/v1/talk_service_pb2_grpc.pyi +40 -0
  114. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/METADATA +8 -8
  115. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/RECORD +119 -46
  116. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/AUTHORS +0 -0
  117. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/LICENSE +0 -0
  118. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/WHEEL +0 -0
  119. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,43 @@
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 SpeechStatistics(google.protobuf.message.Message):
16
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
17
+
18
+ TOTAL_SIMULTANEOUS_SPEECH_DURATION_SECONDS_FIELD_NUMBER: builtins.int
19
+ TOTAL_SIMULTANEOUS_SPEECH_DURATION_MS_FIELD_NUMBER: builtins.int
20
+ TOTAL_SIMULTANEOUS_SPEECH_RATIO_FIELD_NUMBER: builtins.int
21
+ SIMULTANEOUS_SPEECH_DURATION_ESTIMATION_FIELD_NUMBER: builtins.int
22
+ total_simultaneous_speech_duration_seconds: builtins.int
23
+ """Total simultaneous speech duration in seconds"""
24
+ total_simultaneous_speech_duration_ms: builtins.int
25
+ """Total simultaneous speech duration in ms"""
26
+ total_simultaneous_speech_ratio: builtins.float
27
+ """Simultaneous speech ratio within audio segment"""
28
+ @property
29
+ def simultaneous_speech_duration_estimation(self) -> yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics:
30
+ """Descriptive statistics for simultaneous speech duration distribution"""
31
+
32
+ def __init__(
33
+ self,
34
+ *,
35
+ total_simultaneous_speech_duration_seconds: builtins.int = ...,
36
+ total_simultaneous_speech_duration_ms: builtins.int = ...,
37
+ total_simultaneous_speech_ratio: builtins.float = ...,
38
+ simultaneous_speech_duration_estimation: yandex.cloud.speechsense.v1.analysis.statistics_common_pb2.DescriptiveStatistics | None = ...,
39
+ ) -> None: ...
40
+ def HasField(self, field_name: typing.Literal["simultaneous_speech_duration_estimation", b"simultaneous_speech_duration_estimation"]) -> builtins.bool: ...
41
+ def ClearField(self, field_name: typing.Literal["simultaneous_speech_duration_estimation", b"simultaneous_speech_duration_estimation", "total_simultaneous_speech_duration_ms", b"total_simultaneous_speech_duration_ms", "total_simultaneous_speech_duration_seconds", b"total_simultaneous_speech_duration_seconds", "total_simultaneous_speech_ratio", b"total_simultaneous_speech_ratio"]) -> None: ...
42
+
43
+ global___SpeechStatistics = SpeechStatistics
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,30 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/speechsense/v1/analysis/statistics_common.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'\n<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\x12$yandex.cloud.speechsense.v1.analysis\"\x8f\x01\n\x15\x44\x65scriptiveStatistics\x12\x0b\n\x03min\x18\x01 \x01(\x01\x12\x0b\n\x03max\x18\x02 \x01(\x01\x12\x0c\n\x04mean\x18\x03 \x01(\x01\x12\x0b\n\x03std\x18\x04 \x01(\x01\x12\x41\n\tquantiles\x18\x05 \x03(\x0b\x32..yandex.cloud.speechsense.v1.analysis.Quantile\"(\n\x08Quantile\x12\r\n\x05level\x18\x01 \x01(\x01\x12\r\n\x05value\x18\x02 \x01(\x01\"^\n\x16\x41udioSegmentBoundaries\x12\x15\n\rstart_time_ms\x18\x01 \x01(\x03\x12\x13\n\x0b\x65nd_time_ms\x18\x02 \x01(\x03\x12\x18\n\x10\x64uration_seconds\x18\x03 \x01(\x03\x42\x97\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x15StatisticsCommonProtoZTgithub.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.statistics_common_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\025StatisticsCommonProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
24
+ _globals['_DESCRIPTIVESTATISTICS']._serialized_start=103
25
+ _globals['_DESCRIPTIVESTATISTICS']._serialized_end=246
26
+ _globals['_QUANTILE']._serialized_start=248
27
+ _globals['_QUANTILE']._serialized_end=288
28
+ _globals['_AUDIOSEGMENTBOUNDARIES']._serialized_start=290
29
+ _globals['_AUDIOSEGMENTBOUNDARIES']._serialized_end=384
30
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,91 @@
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 DescriptiveStatistics(google.protobuf.message.Message):
17
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18
+
19
+ MIN_FIELD_NUMBER: builtins.int
20
+ MAX_FIELD_NUMBER: builtins.int
21
+ MEAN_FIELD_NUMBER: builtins.int
22
+ STD_FIELD_NUMBER: builtins.int
23
+ QUANTILES_FIELD_NUMBER: builtins.int
24
+ min: builtins.float
25
+ """Minimum observed value"""
26
+ max: builtins.float
27
+ """Maximum observed value"""
28
+ mean: builtins.float
29
+ """Estimated mean of distribution"""
30
+ std: builtins.float
31
+ """Estimated standard deviation of distribution"""
32
+ @property
33
+ def quantiles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Quantile]:
34
+ """List of evaluated quantiles"""
35
+
36
+ def __init__(
37
+ self,
38
+ *,
39
+ min: builtins.float = ...,
40
+ max: builtins.float = ...,
41
+ mean: builtins.float = ...,
42
+ std: builtins.float = ...,
43
+ quantiles: collections.abc.Iterable[global___Quantile] | None = ...,
44
+ ) -> None: ...
45
+ def ClearField(self, field_name: typing.Literal["max", b"max", "mean", b"mean", "min", b"min", "quantiles", b"quantiles", "std", b"std"]) -> None: ...
46
+
47
+ global___DescriptiveStatistics = DescriptiveStatistics
48
+
49
+ @typing.final
50
+ class Quantile(google.protobuf.message.Message):
51
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
52
+
53
+ LEVEL_FIELD_NUMBER: builtins.int
54
+ VALUE_FIELD_NUMBER: builtins.int
55
+ level: builtins.float
56
+ """Quantile level in range (0, 1)"""
57
+ value: builtins.float
58
+ """Quantile value"""
59
+ def __init__(
60
+ self,
61
+ *,
62
+ level: builtins.float = ...,
63
+ value: builtins.float = ...,
64
+ ) -> None: ...
65
+ def ClearField(self, field_name: typing.Literal["level", b"level", "value", b"value"]) -> None: ...
66
+
67
+ global___Quantile = Quantile
68
+
69
+ @typing.final
70
+ class AudioSegmentBoundaries(google.protobuf.message.Message):
71
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
72
+
73
+ START_TIME_MS_FIELD_NUMBER: builtins.int
74
+ END_TIME_MS_FIELD_NUMBER: builtins.int
75
+ DURATION_SECONDS_FIELD_NUMBER: builtins.int
76
+ start_time_ms: builtins.int
77
+ """Audio segment start time"""
78
+ end_time_ms: builtins.int
79
+ """Audio segment end time"""
80
+ duration_seconds: builtins.int
81
+ """Duration in seconds"""
82
+ def __init__(
83
+ self,
84
+ *,
85
+ start_time_ms: builtins.int = ...,
86
+ end_time_ms: builtins.int = ...,
87
+ duration_seconds: builtins.int = ...,
88
+ ) -> None: ...
89
+ def ClearField(self, field_name: typing.Literal["duration_seconds", b"duration_seconds", "end_time_ms", b"end_time_ms", "start_time_ms", b"start_time_ms"]) -> None: ...
90
+
91
+ global___AudioSegmentBoundaries = AudioSegmentBoundaries
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,33 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/speechsense/v1/analysis/text_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
+ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;yandex/cloud/speechsense/v1/analysis/text_classifiers.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a\x1egoogle/protobuf/wrappers.proto\"l\n\x0fTextClassifiers\x12Y\n\x15\x63lassification_result\x18\x01 \x03(\x0b\x32:.yandex.cloud.speechsense.v1.analysis.ClassificationResult\"\x85\x01\n\x14\x43lassificationResult\x12\x12\n\nclassifier\x18\x01 \x01(\t\x12Y\n\x15\x63lassifier_statistics\x18\x02 \x03(\x0b\x32:.yandex.cloud.speechsense.v1.analysis.ClassifierStatistics\"\xa5\x01\n\x14\x43lassifierStatistics\x12\x33\n\x0e\x63hannel_number\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x13\n\x0btotal_count\x18\x02 \x01(\x03\x12\x43\n\nhistograms\x18\x03 \x03(\x0b\x32/.yandex.cloud.speechsense.v1.analysis.Histogram\"!\n\tHistogram\x12\x14\n\x0c\x63ount_values\x18\x01 \x03(\x03\x42\x96\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x14TextClassifiersProtoZTgithub.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.text_classifiers_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\024TextClassifiersProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
25
+ _globals['_TEXTCLASSIFIERS']._serialized_start=133
26
+ _globals['_TEXTCLASSIFIERS']._serialized_end=241
27
+ _globals['_CLASSIFICATIONRESULT']._serialized_start=244
28
+ _globals['_CLASSIFICATIONRESULT']._serialized_end=377
29
+ _globals['_CLASSIFIERSTATISTICS']._serialized_start=380
30
+ _globals['_CLASSIFIERSTATISTICS']._serialized_end=545
31
+ _globals['_HISTOGRAM']._serialized_start=547
32
+ _globals['_HISTOGRAM']._serialized_end=580
33
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,102 @@
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 TextClassifiers(google.protobuf.message.Message):
18
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
19
+
20
+ CLASSIFICATION_RESULT_FIELD_NUMBER: builtins.int
21
+ @property
22
+ def classification_result(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ClassificationResult]: ...
23
+ def __init__(
24
+ self,
25
+ *,
26
+ classification_result: collections.abc.Iterable[global___ClassificationResult] | None = ...,
27
+ ) -> None: ...
28
+ def ClearField(self, field_name: typing.Literal["classification_result", b"classification_result"]) -> None: ...
29
+
30
+ global___TextClassifiers = TextClassifiers
31
+
32
+ @typing.final
33
+ class ClassificationResult(google.protobuf.message.Message):
34
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
35
+
36
+ CLASSIFIER_FIELD_NUMBER: builtins.int
37
+ CLASSIFIER_STATISTICS_FIELD_NUMBER: builtins.int
38
+ classifier: builtins.str
39
+ """Classifier name"""
40
+ @property
41
+ def classifier_statistics(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ClassifierStatistics]:
42
+ """Classifier statistics"""
43
+
44
+ def __init__(
45
+ self,
46
+ *,
47
+ classifier: builtins.str = ...,
48
+ classifier_statistics: collections.abc.Iterable[global___ClassifierStatistics] | None = ...,
49
+ ) -> None: ...
50
+ def ClearField(self, field_name: typing.Literal["classifier", b"classifier", "classifier_statistics", b"classifier_statistics"]) -> None: ...
51
+
52
+ global___ClassificationResult = ClassificationResult
53
+
54
+ @typing.final
55
+ class ClassifierStatistics(google.protobuf.message.Message):
56
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
57
+
58
+ CHANNEL_NUMBER_FIELD_NUMBER: builtins.int
59
+ TOTAL_COUNT_FIELD_NUMBER: builtins.int
60
+ HISTOGRAMS_FIELD_NUMBER: builtins.int
61
+ total_count: builtins.int
62
+ """classifier total count"""
63
+ @property
64
+ def channel_number(self) -> google.protobuf.wrappers_pb2.Int64Value:
65
+ """Channel number, null for whole talk"""
66
+
67
+ @property
68
+ def histograms(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Histogram]:
69
+ """Represents various histograms build on top of classifiers"""
70
+
71
+ def __init__(
72
+ self,
73
+ *,
74
+ channel_number: google.protobuf.wrappers_pb2.Int64Value | None = ...,
75
+ total_count: builtins.int = ...,
76
+ histograms: collections.abc.Iterable[global___Histogram] | None = ...,
77
+ ) -> None: ...
78
+ def HasField(self, field_name: typing.Literal["channel_number", b"channel_number"]) -> builtins.bool: ...
79
+ def ClearField(self, field_name: typing.Literal["channel_number", b"channel_number", "histograms", b"histograms", "total_count", b"total_count"]) -> None: ...
80
+
81
+ global___ClassifierStatistics = ClassifierStatistics
82
+
83
+ @typing.final
84
+ class Histogram(google.protobuf.message.Message):
85
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
86
+
87
+ COUNT_VALUES_FIELD_NUMBER: builtins.int
88
+ @property
89
+ def count_values(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
90
+ """histogram count values. For example:
91
+ if len(count_values) = 2, it means that histogram is 50/50,
92
+ if len(count_values) = 3 - [0] value represents first third, [1] - second third, [2] - last third, etc.
93
+ """
94
+
95
+ def __init__(
96
+ self,
97
+ *,
98
+ count_values: collections.abc.Iterable[builtins.int] | None = ...,
99
+ ) -> None: ...
100
+ def ClearField(self, field_name: typing.Literal["count_values", b"count_values"]) -> None: ...
101
+
102
+ global___Histogram = Histogram
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,41 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/speechsense/v1/analysis/transcription.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
+ 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
+ from yandex.cloud.speechsense.v1.analysis import predefined_classifiers_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_analysis_dot_predefined__classifiers__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8yandex/cloud/speechsense/v1/analysis/transcription.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a\x1fgoogle/protobuf/timestamp.proto\x1a?yandex/cloud/speechsense/v1/analysis/utterance_statistics.proto\x1a\x41yandex/cloud/speechsense/v1/analysis/predefined_classifiers.proto\"\xa4\x01\n\rTranscription\x12=\n\x07phrases\x18\x01 \x03(\x0b\x32,.yandex.cloud.speechsense.v1.analysis.Phrase\x12T\n\x13\x61lgorithms_metadata\x18\x02 \x03(\x0b\x32\x37.yandex.cloud.speechsense.v1.analysis.AlgorithmMetadata\"\xb2\x02\n\x06Phrase\x12\x16\n\x0e\x63hannel_number\x18\x01 \x01(\x03\x12\x15\n\rstart_time_ms\x18\x02 \x01(\x03\x12\x13\n\x0b\x65nd_time_ms\x18\x03 \x01(\x03\x12@\n\x06phrase\x18\x04 \x01(\x0b\x32\x30.yandex.cloud.speechsense.v1.analysis.PhraseText\x12J\n\nstatistics\x18\x05 \x01(\x0b\x32\x36.yandex.cloud.speechsense.v1.analysis.PhraseStatistics\x12V\n\x0b\x63lassifiers\x18\x06 \x03(\x0b\x32\x41.yandex.cloud.speechsense.v1.analysis.RecognitionClassifierResult\"\x80\x01\n\nPhraseText\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x17\n\x0fnormalized_text\x18\x03 \x01(\t\x12\x39\n\x05words\x18\x04 \x03(\x0b\x32*.yandex.cloud.speechsense.v1.analysis.Word\"@\n\x04Word\x12\x0c\n\x04word\x18\x01 \x01(\t\x12\x15\n\rstart_time_ms\x18\x02 \x01(\x03\x12\x13\n\x0b\x65nd_time_ms\x18\x03 \x01(\x03\"\xdf\x01\n\x11\x41lgorithmMetadata\x12\x35\n\x11\x63reated_task_date\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13\x63ompleted_task_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x05\x65rror\x18\x03 \x01(\x0b\x32+.yandex.cloud.speechsense.v1.analysis.Error\x12\x10\n\x08trace_id\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\"&\n\x05\x45rror\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\"a\n\x10PhraseStatistics\x12M\n\nstatistics\x18\x01 \x01(\x0b\x32\x39.yandex.cloud.speechsense.v1.analysis.UtteranceStatisticsB\x94\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x12TranscriptionProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3')
20
+
21
+ _globals = globals()
22
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.analysis.transcription_pb2', _globals)
24
+ if _descriptor._USE_C_DESCRIPTORS == False:
25
+ DESCRIPTOR._options = None
26
+ DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.speechsense.v1.analysisB\022TranscriptionProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
27
+ _globals['_TRANSCRIPTION']._serialized_start=264
28
+ _globals['_TRANSCRIPTION']._serialized_end=428
29
+ _globals['_PHRASE']._serialized_start=431
30
+ _globals['_PHRASE']._serialized_end=737
31
+ _globals['_PHRASETEXT']._serialized_start=740
32
+ _globals['_PHRASETEXT']._serialized_end=868
33
+ _globals['_WORD']._serialized_start=870
34
+ _globals['_WORD']._serialized_end=934
35
+ _globals['_ALGORITHMMETADATA']._serialized_start=937
36
+ _globals['_ALGORITHMMETADATA']._serialized_end=1160
37
+ _globals['_ERROR']._serialized_start=1162
38
+ _globals['_ERROR']._serialized_end=1200
39
+ _globals['_PHRASESTATISTICS']._serialized_start=1202
40
+ _globals['_PHRASESTATISTICS']._serialized_end=1299
41
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,186 @@
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.timestamp_pb2
12
+ import typing
13
+ import yandex.cloud.speechsense.v1.analysis.predefined_classifiers_pb2
14
+ import yandex.cloud.speechsense.v1.analysis.utterance_statistics_pb2
15
+
16
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
17
+
18
+ @typing.final
19
+ class Transcription(google.protobuf.message.Message):
20
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
21
+
22
+ PHRASES_FIELD_NUMBER: builtins.int
23
+ ALGORITHMS_METADATA_FIELD_NUMBER: builtins.int
24
+ @property
25
+ def phrases(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Phrase]: ...
26
+ @property
27
+ def algorithms_metadata(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AlgorithmMetadata]:
28
+ """Their might be several algorithms that work on talk transcription. For example: speechkit and translator
29
+ So there might be other fields here for tracing
30
+ """
31
+
32
+ def __init__(
33
+ self,
34
+ *,
35
+ phrases: collections.abc.Iterable[global___Phrase] | None = ...,
36
+ algorithms_metadata: collections.abc.Iterable[global___AlgorithmMetadata] | None = ...,
37
+ ) -> None: ...
38
+ def ClearField(self, field_name: typing.Literal["algorithms_metadata", b"algorithms_metadata", "phrases", b"phrases"]) -> None: ...
39
+
40
+ global___Transcription = Transcription
41
+
42
+ @typing.final
43
+ class Phrase(google.protobuf.message.Message):
44
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
45
+
46
+ CHANNEL_NUMBER_FIELD_NUMBER: builtins.int
47
+ START_TIME_MS_FIELD_NUMBER: builtins.int
48
+ END_TIME_MS_FIELD_NUMBER: builtins.int
49
+ PHRASE_FIELD_NUMBER: builtins.int
50
+ STATISTICS_FIELD_NUMBER: builtins.int
51
+ CLASSIFIERS_FIELD_NUMBER: builtins.int
52
+ channel_number: builtins.int
53
+ start_time_ms: builtins.int
54
+ end_time_ms: builtins.int
55
+ @property
56
+ def phrase(self) -> global___PhraseText: ...
57
+ @property
58
+ def statistics(self) -> global___PhraseStatistics: ...
59
+ @property
60
+ def classifiers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.speechsense.v1.analysis.predefined_classifiers_pb2.RecognitionClassifierResult]: ...
61
+ def __init__(
62
+ self,
63
+ *,
64
+ channel_number: builtins.int = ...,
65
+ start_time_ms: builtins.int = ...,
66
+ end_time_ms: builtins.int = ...,
67
+ phrase: global___PhraseText | None = ...,
68
+ statistics: global___PhraseStatistics | None = ...,
69
+ classifiers: collections.abc.Iterable[yandex.cloud.speechsense.v1.analysis.predefined_classifiers_pb2.RecognitionClassifierResult] | None = ...,
70
+ ) -> None: ...
71
+ def HasField(self, field_name: typing.Literal["phrase", b"phrase", "statistics", b"statistics"]) -> builtins.bool: ...
72
+ def ClearField(self, field_name: typing.Literal["channel_number", b"channel_number", "classifiers", b"classifiers", "end_time_ms", b"end_time_ms", "phrase", b"phrase", "start_time_ms", b"start_time_ms", "statistics", b"statistics"]) -> None: ...
73
+
74
+ global___Phrase = Phrase
75
+
76
+ @typing.final
77
+ class PhraseText(google.protobuf.message.Message):
78
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
79
+
80
+ TEXT_FIELD_NUMBER: builtins.int
81
+ LANGUAGE_FIELD_NUMBER: builtins.int
82
+ NORMALIZED_TEXT_FIELD_NUMBER: builtins.int
83
+ WORDS_FIELD_NUMBER: builtins.int
84
+ text: builtins.str
85
+ language: builtins.str
86
+ normalized_text: builtins.str
87
+ @property
88
+ def words(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Word]: ...
89
+ def __init__(
90
+ self,
91
+ *,
92
+ text: builtins.str = ...,
93
+ language: builtins.str = ...,
94
+ normalized_text: builtins.str = ...,
95
+ words: collections.abc.Iterable[global___Word] | None = ...,
96
+ ) -> None: ...
97
+ def ClearField(self, field_name: typing.Literal["language", b"language", "normalized_text", b"normalized_text", "text", b"text", "words", b"words"]) -> None: ...
98
+
99
+ global___PhraseText = PhraseText
100
+
101
+ @typing.final
102
+ class Word(google.protobuf.message.Message):
103
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
104
+
105
+ WORD_FIELD_NUMBER: builtins.int
106
+ START_TIME_MS_FIELD_NUMBER: builtins.int
107
+ END_TIME_MS_FIELD_NUMBER: builtins.int
108
+ word: builtins.str
109
+ start_time_ms: builtins.int
110
+ end_time_ms: builtins.int
111
+ def __init__(
112
+ self,
113
+ *,
114
+ word: builtins.str = ...,
115
+ start_time_ms: builtins.int = ...,
116
+ end_time_ms: builtins.int = ...,
117
+ ) -> None: ...
118
+ def ClearField(self, field_name: typing.Literal["end_time_ms", b"end_time_ms", "start_time_ms", b"start_time_ms", "word", b"word"]) -> None: ...
119
+
120
+ global___Word = Word
121
+
122
+ @typing.final
123
+ class AlgorithmMetadata(google.protobuf.message.Message):
124
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
125
+
126
+ CREATED_TASK_DATE_FIELD_NUMBER: builtins.int
127
+ COMPLETED_TASK_DATE_FIELD_NUMBER: builtins.int
128
+ ERROR_FIELD_NUMBER: builtins.int
129
+ TRACE_ID_FIELD_NUMBER: builtins.int
130
+ NAME_FIELD_NUMBER: builtins.int
131
+ trace_id: builtins.str
132
+ name: builtins.str
133
+ @property
134
+ def created_task_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
135
+ @property
136
+ def completed_task_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
137
+ @property
138
+ def error(self) -> global___Error: ...
139
+ def __init__(
140
+ self,
141
+ *,
142
+ created_task_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
143
+ completed_task_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
144
+ error: global___Error | None = ...,
145
+ trace_id: builtins.str = ...,
146
+ name: builtins.str = ...,
147
+ ) -> None: ...
148
+ def HasField(self, field_name: typing.Literal["completed_task_date", b"completed_task_date", "created_task_date", b"created_task_date", "error", b"error"]) -> builtins.bool: ...
149
+ def ClearField(self, field_name: typing.Literal["completed_task_date", b"completed_task_date", "created_task_date", b"created_task_date", "error", b"error", "name", b"name", "trace_id", b"trace_id"]) -> None: ...
150
+
151
+ global___AlgorithmMetadata = AlgorithmMetadata
152
+
153
+ @typing.final
154
+ class Error(google.protobuf.message.Message):
155
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
156
+
157
+ CODE_FIELD_NUMBER: builtins.int
158
+ MESSAGE_FIELD_NUMBER: builtins.int
159
+ code: builtins.str
160
+ message: builtins.str
161
+ def __init__(
162
+ self,
163
+ *,
164
+ code: builtins.str = ...,
165
+ message: builtins.str = ...,
166
+ ) -> None: ...
167
+ def ClearField(self, field_name: typing.Literal["code", b"code", "message", b"message"]) -> None: ...
168
+
169
+ global___Error = Error
170
+
171
+ @typing.final
172
+ class PhraseStatistics(google.protobuf.message.Message):
173
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
174
+
175
+ STATISTICS_FIELD_NUMBER: builtins.int
176
+ @property
177
+ def statistics(self) -> yandex.cloud.speechsense.v1.analysis.utterance_statistics_pb2.UtteranceStatistics: ...
178
+ def __init__(
179
+ self,
180
+ *,
181
+ statistics: yandex.cloud.speechsense.v1.analysis.utterance_statistics_pb2.UtteranceStatistics | None = ...,
182
+ ) -> None: ...
183
+ def HasField(self, field_name: typing.Literal["statistics", b"statistics"]) -> builtins.bool: ...
184
+ def ClearField(self, field_name: typing.Literal["statistics", b"statistics"]) -> None: ...
185
+
186
+ global___PhraseStatistics = PhraseStatistics
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,27 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/speechsense/v1/analysis/utterance_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/utterance_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\"\xbf\x03\n\x13UtteranceStatistics\x12\x13\n\x0bspeaker_tag\x18\x01 \x01(\t\x12W\n\x11speech_boundaries\x18\x02 \x01(\x0b\x32<.yandex.cloud.speechsense.v1.analysis.AudioSegmentBoundaries\x12\x17\n\x0ftotal_speech_ms\x18\x03 \x01(\x03\x12\x14\n\x0cspeech_ratio\x18\x04 \x01(\x01\x12\x18\n\x10total_silence_ms\x18\x05 \x01(\x03\x12\x15\n\rsilence_ratio\x18\x06 \x01(\x01\x12\x13\n\x0bwords_count\x18\x07 \x01(\x03\x12\x15\n\rletters_count\x18\x08 \x01(\x03\x12U\n\x10words_per_second\x18\t \x01(\x0b\x32;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics\x12W\n\x12letters_per_second\x18\n \x01(\x0b\x32;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsB\x9a\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x18UtteranceStatisticsProtoZTgithub.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.utterance_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\030UtteranceStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
25
+ _globals['_UTTERANCESTATISTICS']._serialized_start=168
26
+ _globals['_UTTERANCESTATISTICS']._serialized_end=615
27
+ # @@protoc_insertion_point(module_scope)