yandexcloud 0.360.0__py3-none-any.whl → 0.362.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yandex/cloud/airflow/v1/cluster_pb2.py +32 -28
- yandex/cloud/airflow/v1/cluster_pb2.pyi +31 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +26 -26
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/audittrails/v1/trail_pb2.py +47 -43
- yandex/cloud/audittrails/v1/trail_pb2.pyi +23 -3
- yandex/cloud/baremetal/v1alpha/configuration_pb2.py +10 -6
- yandex/cloud/baremetal/v1alpha/configuration_pb2.pyi +10 -2
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +15 -15
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +4 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2.py +9 -9
- yandex/cloud/clouddesktop/v1/desktop_pb2.pyi +4 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +29 -21
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +60 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +45 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +26 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.py +14 -14
- yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +4 -1
- yandex/cloud/iam/v1/access_analyzer_service_pb2.py +56 -0
- yandex/cloud/iam/v1/access_analyzer_service_pb2.pyi +105 -0
- yandex/cloud/iam/v1/access_analyzer_service_pb2_grpc.py +101 -0
- yandex/cloud/iam/v1/access_analyzer_service_pb2_grpc.pyi +50 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +18 -18
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +24 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +2 -2
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1 -1
- yandex/cloud/mdb/clickhouse/v1/version_pb2.py +2 -2
- yandex/cloud/mdb/clickhouse/v1/version_pb2.pyi +5 -1
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +47 -43
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +34 -6
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +111 -107
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +35 -7
- yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host10_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host11_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host12_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host13_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host14_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host15_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host16_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2.py +81 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2.py +81 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2.py +181 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2.pyi +1130 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2.py +181 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2.pyi +1122 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.py +30 -28
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +30 -18
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +100 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +4 -4
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +127 -159
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +0 -93
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +0 -131
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +0 -57
- yandex/cloud/mdb/spqr/v1/database_service_pb2.py +13 -25
- yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +0 -35
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +0 -44
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +0 -20
- yandex/cloud/mdb/spqr/v1/user_service_pb2.py +17 -29
- yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +0 -35
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +0 -44
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +0 -20
- yandex/cloud/organizationmanager/v1/group_service_pb2.py +21 -3
- yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +102 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.py +44 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.pyi +20 -0
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -6
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +0 -1
- yandex/cloud/speechsense/v1/analysis/assistants_pb2.py +41 -0
- yandex/cloud/speechsense/v1/analysis/assistants_pb2.pyi +83 -0
- yandex/cloud/speechsense/v1/analysis/assistants_pb2_grpc.py +24 -0
- yandex/cloud/speechsense/v1/analysis/assistants_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/assistant_pb2.py +48 -0
- yandex/cloud/speechsense/v1/assistant_pb2.pyi +178 -0
- yandex/cloud/speechsense/v1/assistant_pb2_grpc.py +24 -0
- yandex/cloud/speechsense/v1/assistant_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2.py +51 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2.pyi +76 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2_grpc.py +142 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2_grpc.pyi +64 -0
- yandex/cloud/speechsense/v1/talk_pb2.py +16 -15
- yandex/cloud/speechsense/v1/talk_pb2.pyi +9 -2
- yandex/cloud/trino/v1/catalog_pb2.py +96 -84
- yandex/cloud/trino/v1/catalog_pb2.pyi +56 -3
- yandex/cloud/video/v1/video_service_pb2.py +54 -52
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/RECORD +129 -97
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/speechsense/v1/analysis/assistants.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/speechsense/v1/analysis/assistants.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5yandex/cloud/speechsense/v1/analysis/assistants.proto\x12$yandex.cloud.speechsense.v1.analysis\"^\n\nAssistants\x12P\n\x11\x61ssistant_results\x18\x01 \x03(\x0b\x32\x35.yandex.cloud.speechsense.v1.analysis.AssistantResult\"t\n\x0f\x41ssistantResult\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12K\n\x07results\x18\x02 \x03(\x0b\x32:.yandex.cloud.speechsense.v1.analysis.AssistantFieldResult\"}\n\x14\x41ssistantFieldResult\x12\x10\n\x08\x66ield_id\x18\x01 \x01(\t\x12\x17\n\rstring_result\x18\x02 \x01(\tH\x00\x12\x14\n\nint_result\x18\x03 \x01(\x03H\x00\x12\x16\n\x0c\x66loat_result\x18\x04 \x01(\x01H\x00\x42\x0c\n\nfield_typeB\x91\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x0f\x41ssistantsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.analysis.assistants_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n(yandex.cloud.api.speechsense.v1.analysisB\017AssistantsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
|
|
35
|
+
_globals['_ASSISTANTS']._serialized_start=95
|
|
36
|
+
_globals['_ASSISTANTS']._serialized_end=189
|
|
37
|
+
_globals['_ASSISTANTRESULT']._serialized_start=191
|
|
38
|
+
_globals['_ASSISTANTRESULT']._serialized_end=307
|
|
39
|
+
_globals['_ASSISTANTFIELDRESULT']._serialized_start=309
|
|
40
|
+
_globals['_ASSISTANTFIELDRESULT']._serialized_end=434
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,83 @@
|
|
|
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 Assistants(google.protobuf.message.Message):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
ASSISTANT_RESULTS_FIELD_NUMBER: builtins.int
|
|
20
|
+
@property
|
|
21
|
+
def assistant_results(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AssistantResult]:
|
|
22
|
+
"""List of assistants results"""
|
|
23
|
+
|
|
24
|
+
def __init__(
|
|
25
|
+
self,
|
|
26
|
+
*,
|
|
27
|
+
assistant_results: collections.abc.Iterable[global___AssistantResult] | None = ...,
|
|
28
|
+
) -> None: ...
|
|
29
|
+
def ClearField(self, field_name: typing.Literal["assistant_results", b"assistant_results"]) -> None: ...
|
|
30
|
+
|
|
31
|
+
global___Assistants = Assistants
|
|
32
|
+
|
|
33
|
+
@typing.final
|
|
34
|
+
class AssistantResult(google.protobuf.message.Message):
|
|
35
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
36
|
+
|
|
37
|
+
ASSISTANT_ID_FIELD_NUMBER: builtins.int
|
|
38
|
+
RESULTS_FIELD_NUMBER: builtins.int
|
|
39
|
+
assistant_id: builtins.str
|
|
40
|
+
"""Assistant id"""
|
|
41
|
+
@property
|
|
42
|
+
def results(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AssistantFieldResult]:
|
|
43
|
+
"""Per-field assistant results"""
|
|
44
|
+
|
|
45
|
+
def __init__(
|
|
46
|
+
self,
|
|
47
|
+
*,
|
|
48
|
+
assistant_id: builtins.str = ...,
|
|
49
|
+
results: collections.abc.Iterable[global___AssistantFieldResult] | None = ...,
|
|
50
|
+
) -> None: ...
|
|
51
|
+
def ClearField(self, field_name: typing.Literal["assistant_id", b"assistant_id", "results", b"results"]) -> None: ...
|
|
52
|
+
|
|
53
|
+
global___AssistantResult = AssistantResult
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class AssistantFieldResult(google.protobuf.message.Message):
|
|
57
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
58
|
+
|
|
59
|
+
FIELD_ID_FIELD_NUMBER: builtins.int
|
|
60
|
+
STRING_RESULT_FIELD_NUMBER: builtins.int
|
|
61
|
+
INT_RESULT_FIELD_NUMBER: builtins.int
|
|
62
|
+
FLOAT_RESULT_FIELD_NUMBER: builtins.int
|
|
63
|
+
field_id: builtins.str
|
|
64
|
+
"""Assistant result field id"""
|
|
65
|
+
string_result: builtins.str
|
|
66
|
+
"""Result as a string"""
|
|
67
|
+
int_result: builtins.int
|
|
68
|
+
"""Result as an integer"""
|
|
69
|
+
float_result: builtins.float
|
|
70
|
+
"""Result as a floating-point number"""
|
|
71
|
+
def __init__(
|
|
72
|
+
self,
|
|
73
|
+
*,
|
|
74
|
+
field_id: builtins.str = ...,
|
|
75
|
+
string_result: builtins.str = ...,
|
|
76
|
+
int_result: builtins.int = ...,
|
|
77
|
+
float_result: builtins.float = ...,
|
|
78
|
+
) -> None: ...
|
|
79
|
+
def HasField(self, field_name: typing.Literal["field_type", b"field_type", "float_result", b"float_result", "int_result", b"int_result", "string_result", b"string_result"]) -> builtins.bool: ...
|
|
80
|
+
def ClearField(self, field_name: typing.Literal["field_id", b"field_id", "field_type", b"field_type", "float_result", b"float_result", "int_result", b"int_result", "string_result", b"string_result"]) -> None: ...
|
|
81
|
+
def WhichOneof(self, oneof_group: typing.Literal["field_type", b"field_type"]) -> typing.Literal["string_result", "int_result", "float_result"] | None: ...
|
|
82
|
+
|
|
83
|
+
global___AssistantFieldResult = AssistantFieldResult
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/speechsense/v1/analysis/assistants_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -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,48 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/speechsense/v1/assistant.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/speechsense/v1/assistant.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
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/speechsense/v1/assistant.proto\x12\x1byandex.cloud.speechsense.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x03\n\tAssistant\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x10\n\x08model_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0e\n\x06prompt\x18\x06 \x01(\t\x12;\n\x06\x66ields\x18\x07 \x03(\x0b\x32+.yandex.cloud.speechsense.v1.AssistantField\x12\x0f\n\x07\x65nabled\x18\x08 \x01(\x08\x12\x42\n\x06labels\x18\t \x03(\x0b\x32\x32.yandex.cloud.speechsense.v1.Assistant.LabelsEntry\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x0b \x01(\t\x12/\n\x0bmodified_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bmodified_by\x18\r \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"~\n\x0e\x41ssistantField\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12=\n\x04type\x18\x04 \x01(\x0e\x32/.yandex.cloud.speechsense.v1.AssistantFieldType\"6\n\x05Model\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t*\x9e\x01\n\x12\x41ssistantFieldType\x12$\n ASSISTANT_FIELD_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41SSISTANT_FIELD_TYPE_STRING\x10\x01\x12\x1f\n\x1b\x41SSISTANT_FIELD_TYPE_NUMBER\x10\x02\x12 \n\x1c\x41SSISTANT_FIELD_TYPE_DECIMAL\x10\x03\x42~\n\x1fyandex.cloud.api.speechsense.v1B\x0e\x41ssistantProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsenseb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.assistant_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\037yandex.cloud.api.speechsense.v1B\016AssistantProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsense'
|
|
36
|
+
_globals['_ASSISTANT_LABELSENTRY']._loaded_options = None
|
|
37
|
+
_globals['_ASSISTANT_LABELSENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_ASSISTANTFIELDTYPE']._serialized_start=740
|
|
39
|
+
_globals['_ASSISTANTFIELDTYPE']._serialized_end=898
|
|
40
|
+
_globals['_ASSISTANT']._serialized_start=110
|
|
41
|
+
_globals['_ASSISTANT']._serialized_end=553
|
|
42
|
+
_globals['_ASSISTANT_LABELSENTRY']._serialized_start=508
|
|
43
|
+
_globals['_ASSISTANT_LABELSENTRY']._serialized_end=553
|
|
44
|
+
_globals['_ASSISTANTFIELD']._serialized_start=555
|
|
45
|
+
_globals['_ASSISTANTFIELD']._serialized_end=681
|
|
46
|
+
_globals['_MODEL']._serialized_start=683
|
|
47
|
+
_globals['_MODEL']._serialized_end=737
|
|
48
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,178 @@
|
|
|
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.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
|
|
16
|
+
if sys.version_info >= (3, 10):
|
|
17
|
+
import typing as typing_extensions
|
|
18
|
+
else:
|
|
19
|
+
import typing_extensions
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
22
|
+
|
|
23
|
+
class _AssistantFieldType:
|
|
24
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
25
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
26
|
+
|
|
27
|
+
class _AssistantFieldTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_AssistantFieldType.ValueType], builtins.type):
|
|
28
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
29
|
+
ASSISTANT_FIELD_TYPE_UNSPECIFIED: _AssistantFieldType.ValueType # 0
|
|
30
|
+
ASSISTANT_FIELD_TYPE_STRING: _AssistantFieldType.ValueType # 1
|
|
31
|
+
ASSISTANT_FIELD_TYPE_NUMBER: _AssistantFieldType.ValueType # 2
|
|
32
|
+
ASSISTANT_FIELD_TYPE_DECIMAL: _AssistantFieldType.ValueType # 3
|
|
33
|
+
"""Floating-point number"""
|
|
34
|
+
|
|
35
|
+
class AssistantFieldType(_AssistantFieldType, metaclass=_AssistantFieldTypeEnumTypeWrapper): ...
|
|
36
|
+
|
|
37
|
+
ASSISTANT_FIELD_TYPE_UNSPECIFIED: AssistantFieldType.ValueType # 0
|
|
38
|
+
ASSISTANT_FIELD_TYPE_STRING: AssistantFieldType.ValueType # 1
|
|
39
|
+
ASSISTANT_FIELD_TYPE_NUMBER: AssistantFieldType.ValueType # 2
|
|
40
|
+
ASSISTANT_FIELD_TYPE_DECIMAL: AssistantFieldType.ValueType # 3
|
|
41
|
+
"""Floating-point number"""
|
|
42
|
+
global___AssistantFieldType = AssistantFieldType
|
|
43
|
+
|
|
44
|
+
@typing.final
|
|
45
|
+
class Assistant(google.protobuf.message.Message):
|
|
46
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
47
|
+
|
|
48
|
+
@typing.final
|
|
49
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
50
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
51
|
+
|
|
52
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
53
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
54
|
+
key: builtins.str
|
|
55
|
+
value: builtins.str
|
|
56
|
+
def __init__(
|
|
57
|
+
self,
|
|
58
|
+
*,
|
|
59
|
+
key: builtins.str = ...,
|
|
60
|
+
value: builtins.str = ...,
|
|
61
|
+
) -> None: ...
|
|
62
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
63
|
+
|
|
64
|
+
ID_FIELD_NUMBER: builtins.int
|
|
65
|
+
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
66
|
+
MODEL_ID_FIELD_NUMBER: builtins.int
|
|
67
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
68
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
69
|
+
PROMPT_FIELD_NUMBER: builtins.int
|
|
70
|
+
FIELDS_FIELD_NUMBER: builtins.int
|
|
71
|
+
ENABLED_FIELD_NUMBER: builtins.int
|
|
72
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
73
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
74
|
+
CREATED_BY_FIELD_NUMBER: builtins.int
|
|
75
|
+
MODIFIED_AT_FIELD_NUMBER: builtins.int
|
|
76
|
+
MODIFIED_BY_FIELD_NUMBER: builtins.int
|
|
77
|
+
id: builtins.str
|
|
78
|
+
"""Assistant id"""
|
|
79
|
+
project_id: builtins.str
|
|
80
|
+
"""Project id"""
|
|
81
|
+
model_id: builtins.str
|
|
82
|
+
"""Model id"""
|
|
83
|
+
name: builtins.str
|
|
84
|
+
"""Assistant name"""
|
|
85
|
+
description: builtins.str
|
|
86
|
+
"""Assistant description"""
|
|
87
|
+
prompt: builtins.str
|
|
88
|
+
"""Prompt"""
|
|
89
|
+
enabled: builtins.bool
|
|
90
|
+
created_by: builtins.str
|
|
91
|
+
"""Subject id"""
|
|
92
|
+
modified_by: builtins.str
|
|
93
|
+
"""Subject id"""
|
|
94
|
+
@property
|
|
95
|
+
def fields(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AssistantField]:
|
|
96
|
+
"""Fields that will be set after assistant processing"""
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
100
|
+
"""Billing labels"""
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
104
|
+
@property
|
|
105
|
+
def modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
106
|
+
def __init__(
|
|
107
|
+
self,
|
|
108
|
+
*,
|
|
109
|
+
id: builtins.str = ...,
|
|
110
|
+
project_id: builtins.str = ...,
|
|
111
|
+
model_id: builtins.str = ...,
|
|
112
|
+
name: builtins.str = ...,
|
|
113
|
+
description: builtins.str = ...,
|
|
114
|
+
prompt: builtins.str = ...,
|
|
115
|
+
fields: collections.abc.Iterable[global___AssistantField] | None = ...,
|
|
116
|
+
enabled: builtins.bool = ...,
|
|
117
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
118
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
119
|
+
created_by: builtins.str = ...,
|
|
120
|
+
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
121
|
+
modified_by: builtins.str = ...,
|
|
122
|
+
) -> None: ...
|
|
123
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "modified_at", b"modified_at"]) -> builtins.bool: ...
|
|
124
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by", b"created_by", "description", b"description", "enabled", b"enabled", "fields", b"fields", "id", b"id", "labels", b"labels", "model_id", b"model_id", "modified_at", b"modified_at", "modified_by", b"modified_by", "name", b"name", "project_id", b"project_id", "prompt", b"prompt"]) -> None: ...
|
|
125
|
+
|
|
126
|
+
global___Assistant = Assistant
|
|
127
|
+
|
|
128
|
+
@typing.final
|
|
129
|
+
class AssistantField(google.protobuf.message.Message):
|
|
130
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
131
|
+
|
|
132
|
+
ID_FIELD_NUMBER: builtins.int
|
|
133
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
134
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
135
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
136
|
+
id: builtins.str
|
|
137
|
+
"""Field id"""
|
|
138
|
+
name: builtins.str
|
|
139
|
+
"""Field name"""
|
|
140
|
+
description: builtins.str
|
|
141
|
+
"""Field description"""
|
|
142
|
+
type: global___AssistantFieldType.ValueType
|
|
143
|
+
"""Field type"""
|
|
144
|
+
def __init__(
|
|
145
|
+
self,
|
|
146
|
+
*,
|
|
147
|
+
id: builtins.str = ...,
|
|
148
|
+
name: builtins.str = ...,
|
|
149
|
+
description: builtins.str = ...,
|
|
150
|
+
type: global___AssistantFieldType.ValueType = ...,
|
|
151
|
+
) -> None: ...
|
|
152
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "id", b"id", "name", b"name", "type", b"type"]) -> None: ...
|
|
153
|
+
|
|
154
|
+
global___AssistantField = AssistantField
|
|
155
|
+
|
|
156
|
+
@typing.final
|
|
157
|
+
class Model(google.protobuf.message.Message):
|
|
158
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
159
|
+
|
|
160
|
+
ID_FIELD_NUMBER: builtins.int
|
|
161
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
162
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
163
|
+
id: builtins.str
|
|
164
|
+
"""Model id"""
|
|
165
|
+
name: builtins.str
|
|
166
|
+
"""Model name"""
|
|
167
|
+
description: builtins.str
|
|
168
|
+
"""Model description"""
|
|
169
|
+
def __init__(
|
|
170
|
+
self,
|
|
171
|
+
*,
|
|
172
|
+
id: builtins.str = ...,
|
|
173
|
+
name: builtins.str = ...,
|
|
174
|
+
description: builtins.str = ...,
|
|
175
|
+
) -> None: ...
|
|
176
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "id", b"id", "name", b"name"]) -> None: ...
|
|
177
|
+
|
|
178
|
+
global___Model = Model
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/speechsense/v1/assistant_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -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,51 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/speechsense/v1/assistants_service.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/speechsense/v1/assistants_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from yandex.cloud.speechsense.v1 import assistant_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_assistant__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4yandex/cloud/speechsense/v1/assistants_service.proto\x12\x1byandex.cloud.speechsense.v1\x1a\x1cgoogle/api/annotations.proto\x1a+yandex/cloud/speechsense/v1/assistant.proto\"+\n\x15ListAssistantsRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"T\n\x16ListAssistantsResponse\x12:\n\nassistants\x18\x01 \x03(\x0b\x32&.yandex.cloud.speechsense.v1.Assistant\"\x13\n\x11ListModelsRequest\"H\n\x12ListModelsResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\".yandex.cloud.speechsense.v1.Model2\xd3\x02\n\x11\x41ssistantsService\x12\x9b\x01\n\x04List\x12\x32.yandex.cloud.speechsense.v1.ListAssistantsRequest\x1a\x33.yandex.cloud.speechsense.v1.ListAssistantsResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/speechsense/v1/assistants/list:\x01*\x12\x9f\x01\n\nListModels\x12..yandex.cloud.speechsense.v1.ListModelsRequest\x1a/.yandex.cloud.speechsense.v1.ListModelsResponse\"0\x82\xd3\xe4\x93\x02*\"%/speechsense/v1/assistants/listModels:\x01*B\x86\x01\n\x1fyandex.cloud.api.speechsense.v1B\x16\x41ssistantsServiceProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsenseb\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.assistants_service_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\037yandex.cloud.api.speechsense.v1B\026AssistantsServiceProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsense'
|
|
37
|
+
_globals['_ASSISTANTSSERVICE'].methods_by_name['List']._loaded_options = None
|
|
38
|
+
_globals['_ASSISTANTSSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002$\"\037/speechsense/v1/assistants/list:\001*'
|
|
39
|
+
_globals['_ASSISTANTSSERVICE'].methods_by_name['ListModels']._loaded_options = None
|
|
40
|
+
_globals['_ASSISTANTSSERVICE'].methods_by_name['ListModels']._serialized_options = b'\202\323\344\223\002*\"%/speechsense/v1/assistants/listModels:\001*'
|
|
41
|
+
_globals['_LISTASSISTANTSREQUEST']._serialized_start=160
|
|
42
|
+
_globals['_LISTASSISTANTSREQUEST']._serialized_end=203
|
|
43
|
+
_globals['_LISTASSISTANTSRESPONSE']._serialized_start=205
|
|
44
|
+
_globals['_LISTASSISTANTSRESPONSE']._serialized_end=289
|
|
45
|
+
_globals['_LISTMODELSREQUEST']._serialized_start=291
|
|
46
|
+
_globals['_LISTMODELSREQUEST']._serialized_end=310
|
|
47
|
+
_globals['_LISTMODELSRESPONSE']._serialized_start=312
|
|
48
|
+
_globals['_LISTMODELSRESPONSE']._serialized_end=384
|
|
49
|
+
_globals['_ASSISTANTSSERVICE']._serialized_start=387
|
|
50
|
+
_globals['_ASSISTANTSSERVICE']._serialized_end=726
|
|
51
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,76 @@
|
|
|
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.assistant_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class ListAssistantsRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
project_id: builtins.str
|
|
22
|
+
"""Project id"""
|
|
23
|
+
def __init__(
|
|
24
|
+
self,
|
|
25
|
+
*,
|
|
26
|
+
project_id: builtins.str = ...,
|
|
27
|
+
) -> None: ...
|
|
28
|
+
def ClearField(self, field_name: typing.Literal["project_id", b"project_id"]) -> None: ...
|
|
29
|
+
|
|
30
|
+
global___ListAssistantsRequest = ListAssistantsRequest
|
|
31
|
+
|
|
32
|
+
@typing.final
|
|
33
|
+
class ListAssistantsResponse(google.protobuf.message.Message):
|
|
34
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
35
|
+
|
|
36
|
+
ASSISTANTS_FIELD_NUMBER: builtins.int
|
|
37
|
+
@property
|
|
38
|
+
def assistants(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.speechsense.v1.assistant_pb2.Assistant]:
|
|
39
|
+
"""Assistants belonging to the given project"""
|
|
40
|
+
|
|
41
|
+
def __init__(
|
|
42
|
+
self,
|
|
43
|
+
*,
|
|
44
|
+
assistants: collections.abc.Iterable[yandex.cloud.speechsense.v1.assistant_pb2.Assistant] | None = ...,
|
|
45
|
+
) -> None: ...
|
|
46
|
+
def ClearField(self, field_name: typing.Literal["assistants", b"assistants"]) -> None: ...
|
|
47
|
+
|
|
48
|
+
global___ListAssistantsResponse = ListAssistantsResponse
|
|
49
|
+
|
|
50
|
+
@typing.final
|
|
51
|
+
class ListModelsRequest(google.protobuf.message.Message):
|
|
52
|
+
"""No parameters"""
|
|
53
|
+
|
|
54
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
55
|
+
|
|
56
|
+
def __init__(
|
|
57
|
+
self,
|
|
58
|
+
) -> None: ...
|
|
59
|
+
|
|
60
|
+
global___ListModelsRequest = ListModelsRequest
|
|
61
|
+
|
|
62
|
+
@typing.final
|
|
63
|
+
class ListModelsResponse(google.protobuf.message.Message):
|
|
64
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
65
|
+
|
|
66
|
+
MODELS_FIELD_NUMBER: builtins.int
|
|
67
|
+
@property
|
|
68
|
+
def models(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.speechsense.v1.assistant_pb2.Model]: ...
|
|
69
|
+
def __init__(
|
|
70
|
+
self,
|
|
71
|
+
*,
|
|
72
|
+
models: collections.abc.Iterable[yandex.cloud.speechsense.v1.assistant_pb2.Model] | None = ...,
|
|
73
|
+
) -> None: ...
|
|
74
|
+
def ClearField(self, field_name: typing.Literal["models", b"models"]) -> None: ...
|
|
75
|
+
|
|
76
|
+
global___ListModelsResponse = ListModelsResponse
|