yandexcloud 0.359.0__py3-none-any.whl → 0.361.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 (67) hide show
  1. yandex/cloud/airflow/v1/cluster_pb2.py +32 -28
  2. yandex/cloud/airflow/v1/cluster_pb2.pyi +31 -2
  3. yandex/cloud/airflow/v1/cluster_service_pb2.py +26 -26
  4. yandex/cloud/airflow/v1/cluster_service_pb2.pyi +8 -2
  5. yandex/cloud/audittrails/v1/trail_pb2.py +47 -43
  6. yandex/cloud/audittrails/v1/trail_pb2.pyi +23 -3
  7. yandex/cloud/cdn/v1/rule_pb2.py +2 -2
  8. yandex/cloud/cdn/v1/rule_pb2.pyi +7 -1
  9. yandex/cloud/cdn/v1/rule_service_pb2.py +16 -16
  10. yandex/cloud/cdn/v1/rule_service_pb2.pyi +16 -3
  11. yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
  12. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +29 -21
  13. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +60 -0
  14. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +45 -0
  15. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +26 -0
  16. yandex/cloud/connectionmanager/v1/mongodb_pb2.py +14 -14
  17. yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +4 -1
  18. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +15 -15
  19. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +16 -0
  20. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +3 -1
  21. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1 -1
  22. yandex/cloud/monitoring/v3/group_widget_pb2.py +48 -0
  23. yandex/cloud/monitoring/v3/group_widget_pb2.pyi +131 -0
  24. yandex/cloud/monitoring/v3/group_widget_pb2_grpc.py +24 -0
  25. yandex/cloud/monitoring/v3/group_widget_pb2_grpc.pyi +17 -0
  26. yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
  27. yandex/cloud/monitoring/v3/widget_pb2.pyi +10 -3
  28. yandex/cloud/organizationmanager/v1/idp/__init__.py +0 -0
  29. yandex/cloud/organizationmanager/v1/idp/user_pb2.py +40 -0
  30. yandex/cloud/organizationmanager/v1/idp/user_pb2.pyi +149 -0
  31. yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.py +24 -0
  32. yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.pyi +17 -0
  33. yandex/cloud/organizationmanager/v1/idp/user_service_pb2.py +218 -0
  34. yandex/cloud/organizationmanager/v1/idp/user_service_pb2.pyi +809 -0
  35. yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.py +678 -0
  36. yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.pyi +322 -0
  37. yandex/cloud/organizationmanager/v1/idp/userpool_pb2.py +90 -0
  38. yandex/cloud/organizationmanager/v1/idp/userpool_pb2.pyi +549 -0
  39. yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.py +24 -0
  40. yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.pyi +17 -0
  41. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.py +162 -0
  42. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.pyi +596 -0
  43. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.py +678 -0
  44. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.pyi +322 -0
  45. yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -6
  46. yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +0 -1
  47. yandex/cloud/speechsense/v1/analysis/assistants_pb2.py +41 -0
  48. yandex/cloud/speechsense/v1/analysis/assistants_pb2.pyi +83 -0
  49. yandex/cloud/speechsense/v1/analysis/assistants_pb2_grpc.py +24 -0
  50. yandex/cloud/speechsense/v1/analysis/assistants_pb2_grpc.pyi +17 -0
  51. yandex/cloud/speechsense/v1/assistant_pb2.py +48 -0
  52. yandex/cloud/speechsense/v1/assistant_pb2.pyi +178 -0
  53. yandex/cloud/speechsense/v1/assistant_pb2_grpc.py +24 -0
  54. yandex/cloud/speechsense/v1/assistant_pb2_grpc.pyi +17 -0
  55. yandex/cloud/speechsense/v1/assistants_service_pb2.py +51 -0
  56. yandex/cloud/speechsense/v1/assistants_service_pb2.pyi +76 -0
  57. yandex/cloud/speechsense/v1/assistants_service_pb2_grpc.py +142 -0
  58. yandex/cloud/speechsense/v1/assistants_service_pb2_grpc.pyi +64 -0
  59. yandex/cloud/speechsense/v1/talk_pb2.py +16 -15
  60. yandex/cloud/speechsense/v1/talk_pb2.pyi +9 -2
  61. yandexcloud/__init__.py +1 -1
  62. {yandexcloud-0.359.0.dist-info → yandexcloud-0.361.0.dist-info}/METADATA +1 -1
  63. {yandexcloud-0.359.0.dist-info → yandexcloud-0.361.0.dist-info}/RECORD +67 -34
  64. {yandexcloud-0.359.0.dist-info → yandexcloud-0.361.0.dist-info}/AUTHORS +0 -0
  65. {yandexcloud-0.359.0.dist-info → yandexcloud-0.361.0.dist-info}/LICENSE +0 -0
  66. {yandexcloud-0.359.0.dist-info → yandexcloud-0.361.0.dist-info}/WHEEL +0 -0
  67. {yandexcloud-0.359.0.dist-info → yandexcloud-0.361.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,322 @@
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
+ import yandex.cloud.access.access_pb2
12
+ import yandex.cloud.operation.operation_pb2
13
+ import yandex.cloud.organizationmanager.v1.idp.userpool_pb2
14
+ import yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2
15
+
16
+ _T = typing.TypeVar("_T")
17
+
18
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
19
+
20
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
21
+ ...
22
+
23
+ class UserpoolServiceStub:
24
+ """A set of methods for managing userpools."""
25
+
26
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
27
+ Get: grpc.UnaryUnaryMultiCallable[
28
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolRequest,
29
+ yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Userpool,
30
+ ]
31
+ """Returns the specified userpool.
32
+
33
+ To get the list of available userpools, make a [List] request.
34
+ """
35
+
36
+ List: grpc.UnaryUnaryMultiCallable[
37
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsRequest,
38
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsResponse,
39
+ ]
40
+ """Retrieves the list of userpools in the specified organization."""
41
+
42
+ Create: grpc.UnaryUnaryMultiCallable[
43
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.CreateUserpoolRequest,
44
+ yandex.cloud.operation.operation_pb2.Operation,
45
+ ]
46
+ """Creates a userpool in the specified organization."""
47
+
48
+ Update: grpc.UnaryUnaryMultiCallable[
49
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.UpdateUserpoolRequest,
50
+ yandex.cloud.operation.operation_pb2.Operation,
51
+ ]
52
+ """Updates the specified userpool."""
53
+
54
+ Delete: grpc.UnaryUnaryMultiCallable[
55
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolRequest,
56
+ yandex.cloud.operation.operation_pb2.Operation,
57
+ ]
58
+ """Deletes the specified userpool."""
59
+
60
+ GetDomain: grpc.UnaryUnaryMultiCallable[
61
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolDomainRequest,
62
+ yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Domain,
63
+ ]
64
+ """Returns the specified domain for a userpool."""
65
+
66
+ ListDomains: grpc.UnaryUnaryMultiCallable[
67
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsRequest,
68
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsResponse,
69
+ ]
70
+ """Lists domains for the specified userpool."""
71
+
72
+ AddDomain: grpc.UnaryUnaryMultiCallable[
73
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.AddUserpoolDomainRequest,
74
+ yandex.cloud.operation.operation_pb2.Operation,
75
+ ]
76
+ """Adds a domain to the specified userpool."""
77
+
78
+ ValidateDomain: grpc.UnaryUnaryMultiCallable[
79
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ValidateUserpoolDomainRequest,
80
+ yandex.cloud.operation.operation_pb2.Operation,
81
+ ]
82
+ """Validates the specified domain for a userpool."""
83
+
84
+ DeleteDomain: grpc.UnaryUnaryMultiCallable[
85
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolDomainRequest,
86
+ yandex.cloud.operation.operation_pb2.Operation,
87
+ ]
88
+ """Deletes the specified domain from a userpool."""
89
+
90
+ ListOperations: grpc.UnaryUnaryMultiCallable[
91
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsRequest,
92
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsResponse,
93
+ ]
94
+ """Lists operations for the specified userpool."""
95
+
96
+ ListAccessBindings: grpc.UnaryUnaryMultiCallable[
97
+ yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
98
+ yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
99
+ ]
100
+ """Lists access bindings for the specified userpool."""
101
+
102
+ SetAccessBindings: grpc.UnaryUnaryMultiCallable[
103
+ yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
104
+ yandex.cloud.operation.operation_pb2.Operation,
105
+ ]
106
+ """Sets access bindings for the specified userpool."""
107
+
108
+ UpdateAccessBindings: grpc.UnaryUnaryMultiCallable[
109
+ yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
110
+ yandex.cloud.operation.operation_pb2.Operation,
111
+ ]
112
+ """Updates access bindings for the specified userpool."""
113
+
114
+ class UserpoolServiceAsyncStub:
115
+ """A set of methods for managing userpools."""
116
+
117
+ Get: grpc.aio.UnaryUnaryMultiCallable[
118
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolRequest,
119
+ yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Userpool,
120
+ ]
121
+ """Returns the specified userpool.
122
+
123
+ To get the list of available userpools, make a [List] request.
124
+ """
125
+
126
+ List: grpc.aio.UnaryUnaryMultiCallable[
127
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsRequest,
128
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsResponse,
129
+ ]
130
+ """Retrieves the list of userpools in the specified organization."""
131
+
132
+ Create: grpc.aio.UnaryUnaryMultiCallable[
133
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.CreateUserpoolRequest,
134
+ yandex.cloud.operation.operation_pb2.Operation,
135
+ ]
136
+ """Creates a userpool in the specified organization."""
137
+
138
+ Update: grpc.aio.UnaryUnaryMultiCallable[
139
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.UpdateUserpoolRequest,
140
+ yandex.cloud.operation.operation_pb2.Operation,
141
+ ]
142
+ """Updates the specified userpool."""
143
+
144
+ Delete: grpc.aio.UnaryUnaryMultiCallable[
145
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolRequest,
146
+ yandex.cloud.operation.operation_pb2.Operation,
147
+ ]
148
+ """Deletes the specified userpool."""
149
+
150
+ GetDomain: grpc.aio.UnaryUnaryMultiCallable[
151
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolDomainRequest,
152
+ yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Domain,
153
+ ]
154
+ """Returns the specified domain for a userpool."""
155
+
156
+ ListDomains: grpc.aio.UnaryUnaryMultiCallable[
157
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsRequest,
158
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsResponse,
159
+ ]
160
+ """Lists domains for the specified userpool."""
161
+
162
+ AddDomain: grpc.aio.UnaryUnaryMultiCallable[
163
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.AddUserpoolDomainRequest,
164
+ yandex.cloud.operation.operation_pb2.Operation,
165
+ ]
166
+ """Adds a domain to the specified userpool."""
167
+
168
+ ValidateDomain: grpc.aio.UnaryUnaryMultiCallable[
169
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ValidateUserpoolDomainRequest,
170
+ yandex.cloud.operation.operation_pb2.Operation,
171
+ ]
172
+ """Validates the specified domain for a userpool."""
173
+
174
+ DeleteDomain: grpc.aio.UnaryUnaryMultiCallable[
175
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolDomainRequest,
176
+ yandex.cloud.operation.operation_pb2.Operation,
177
+ ]
178
+ """Deletes the specified domain from a userpool."""
179
+
180
+ ListOperations: grpc.aio.UnaryUnaryMultiCallable[
181
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsRequest,
182
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsResponse,
183
+ ]
184
+ """Lists operations for the specified userpool."""
185
+
186
+ ListAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
187
+ yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
188
+ yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
189
+ ]
190
+ """Lists access bindings for the specified userpool."""
191
+
192
+ SetAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
193
+ yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
194
+ yandex.cloud.operation.operation_pb2.Operation,
195
+ ]
196
+ """Sets access bindings for the specified userpool."""
197
+
198
+ UpdateAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
199
+ yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
200
+ yandex.cloud.operation.operation_pb2.Operation,
201
+ ]
202
+ """Updates access bindings for the specified userpool."""
203
+
204
+ class UserpoolServiceServicer(metaclass=abc.ABCMeta):
205
+ """A set of methods for managing userpools."""
206
+
207
+ @abc.abstractmethod
208
+ def Get(
209
+ self,
210
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolRequest,
211
+ context: _ServicerContext,
212
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Userpool, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Userpool]]:
213
+ """Returns the specified userpool.
214
+
215
+ To get the list of available userpools, make a [List] request.
216
+ """
217
+
218
+ @abc.abstractmethod
219
+ def List(
220
+ self,
221
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsRequest,
222
+ context: _ServicerContext,
223
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsResponse]]:
224
+ """Retrieves the list of userpools in the specified organization."""
225
+
226
+ @abc.abstractmethod
227
+ def Create(
228
+ self,
229
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.CreateUserpoolRequest,
230
+ context: _ServicerContext,
231
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
232
+ """Creates a userpool in the specified organization."""
233
+
234
+ @abc.abstractmethod
235
+ def Update(
236
+ self,
237
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.UpdateUserpoolRequest,
238
+ context: _ServicerContext,
239
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
240
+ """Updates the specified userpool."""
241
+
242
+ @abc.abstractmethod
243
+ def Delete(
244
+ self,
245
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolRequest,
246
+ context: _ServicerContext,
247
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
248
+ """Deletes the specified userpool."""
249
+
250
+ @abc.abstractmethod
251
+ def GetDomain(
252
+ self,
253
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolDomainRequest,
254
+ context: _ServicerContext,
255
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Domain, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Domain]]:
256
+ """Returns the specified domain for a userpool."""
257
+
258
+ @abc.abstractmethod
259
+ def ListDomains(
260
+ self,
261
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsRequest,
262
+ context: _ServicerContext,
263
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsResponse]]:
264
+ """Lists domains for the specified userpool."""
265
+
266
+ @abc.abstractmethod
267
+ def AddDomain(
268
+ self,
269
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.AddUserpoolDomainRequest,
270
+ context: _ServicerContext,
271
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
272
+ """Adds a domain to the specified userpool."""
273
+
274
+ @abc.abstractmethod
275
+ def ValidateDomain(
276
+ self,
277
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ValidateUserpoolDomainRequest,
278
+ context: _ServicerContext,
279
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
280
+ """Validates the specified domain for a userpool."""
281
+
282
+ @abc.abstractmethod
283
+ def DeleteDomain(
284
+ self,
285
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolDomainRequest,
286
+ context: _ServicerContext,
287
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
288
+ """Deletes the specified domain from a userpool."""
289
+
290
+ @abc.abstractmethod
291
+ def ListOperations(
292
+ self,
293
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsRequest,
294
+ context: _ServicerContext,
295
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsResponse]]:
296
+ """Lists operations for the specified userpool."""
297
+
298
+ @abc.abstractmethod
299
+ def ListAccessBindings(
300
+ self,
301
+ request: yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
302
+ context: _ServicerContext,
303
+ ) -> typing.Union[yandex.cloud.access.access_pb2.ListAccessBindingsResponse, collections.abc.Awaitable[yandex.cloud.access.access_pb2.ListAccessBindingsResponse]]:
304
+ """Lists access bindings for the specified userpool."""
305
+
306
+ @abc.abstractmethod
307
+ def SetAccessBindings(
308
+ self,
309
+ request: yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
310
+ context: _ServicerContext,
311
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
312
+ """Sets access bindings for the specified userpool."""
313
+
314
+ @abc.abstractmethod
315
+ def UpdateAccessBindings(
316
+ self,
317
+ request: yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
318
+ context: _ServicerContext,
319
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
320
+ """Updates access bindings for the specified userpool."""
321
+
322
+ def add_UserpoolServiceServicer_to_server(servicer: UserpoolServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -27,7 +27,7 @@ from yandex.cloud.searchapi.v2 import search_query_pb2 as yandex_dot_cloud_dot_s
27
27
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/img_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\x80\x08\n\tImageSpec\x12@\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12<\n\x04size\x18\x02 \x01(\x0e\x32..yandex.cloud.searchapi.v2.ImageSpec.ImageSize\x12J\n\x0borientation\x18\x03 \x01(\x0e\x32\x35.yandex.cloud.searchapi.v2.ImageSpec.ImageOrientation\x12>\n\x05\x63olor\x18\x04 \x01(\x0e\x32/.yandex.cloud.searchapi.v2.ImageSpec.ImageColor\"n\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x02\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x03\"\x95\x01\n\x10ImageOrientation\x12!\n\x1dIMAGE_ORIENTATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aIMAGE_ORIENTATION_VERTICAL\x10\x01\x12 \n\x1cIMAGE_ORIENTATION_HORIZONTAL\x10\x02\x12\x1c\n\x18IMAGE_ORIENTATION_SQUARE\x10\x03\"\xb2\x01\n\tImageSize\x12\x1a\n\x16IMAGE_SIZE_UNSPECIFIED\x10\x00\x12\x17\n\x13IMAGE_SIZE_ENORMOUS\x10\x01\x12\x14\n\x10IMAGE_SIZE_LARGE\x10\x02\x12\x15\n\x11IMAGE_SIZE_MEDIUM\x10\x03\x12\x14\n\x10IMAGE_SIZE_SMALL\x10\x04\x12\x13\n\x0fIMAGE_SIZE_TINY\x10\x05\x12\x18\n\x14IMAGE_SIZE_WALLPAPER\x10\x06\"\xa9\x02\n\nImageColor\x12\x1b\n\x17IMAGE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_COLOR_COLOR\x10\x01\x12\x19\n\x15IMAGE_COLOR_GRAYSCALE\x10\x02\x12\x13\n\x0fIMAGE_COLOR_RED\x10\x03\x12\x16\n\x12IMAGE_COLOR_ORANGE\x10\x04\x12\x16\n\x12IMAGE_COLOR_YELLOW\x10\x05\x12\x15\n\x11IMAGE_COLOR_GREEN\x10\x06\x12\x14\n\x10IMAGE_COLOR_CYAN\x10\x07\x12\x14\n\x10IMAGE_COLOR_BLUE\x10\x08\x12\x16\n\x12IMAGE_COLOR_VIOLET\x10\t\x12\x15\n\x11IMAGE_COLOR_WHITE\x10\n\x12\x15\n\x11IMAGE_COLOR_BLACK\x10\x0b\"\xf6\x01\n\x12ImageSearchRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32&.yandex.cloud.searchapi.v2.SearchQueryB\x04\xe8\xc7\x31\x01\x12\x38\n\nimage_spec\x18\x02 \x01(\x0b\x32$.yandex.cloud.searchapi.v2.ImageSpec\x12\x0c\n\x04site\x18\x03 \x01(\t\x12\x1f\n\x0c\x64ocs_on_page\x18\x04 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1b\n\tfolder_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\nuser_agent\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=300\"-\n\x13ImageSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\"\x9a\x02\n\x19ImageSearchByImageRequest\x12\x18\n\x04site\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x1b\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\x03url\x18\x03 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12!\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x42\x11\xe8\xc7\x31\x01\x8a\xc8\x31\t<=3145728H\x00\x12\x1c\n\x02id\x18\x05 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12\x15\n\x04page\x18\x06 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\x46\n\x0b\x66\x61mily_mode\x18\x07 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.FamilyModeB\x07\n\x05image\"\xda\x02\n\x1aImageSearchByImageResponse\x12O\n\x06images\x18\x01 \x03(\x0b\x32?.yandex.cloud.searchapi.v2.ImageSearchByImageResponse.ImageInfo\x12\x0c\n\x04page\x18\x02 \x01(\x03\x12\x10\n\x08max_page\x18\x03 \x01(\x03\x12\n\n\x02id\x18\x04 \x01(\t\x1a\xbe\x01\n\tImageInfo\x12\x0b\n\x03url\x18\x01 \x01(\t\x12@\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12\r\n\x05width\x18\x03 \x01(\x03\x12\x0e\n\x06height\x18\x04 \x01(\x03\x12\x0f\n\x07passage\x18\x05 \x01(\t\x12\x0c\n\x04host\x18\x06 \x01(\t\x12\x12\n\npage_title\x18\x07 \x01(\t\x12\x10\n\x08page_url\x18\x08 \x01(\t2\xc0\x02\n\x12ImageSearchService\x12\x84\x01\n\x06Search\x12-.yandex.cloud.searchapi.v2.ImageSearchRequest\x1a..yandex.cloud.searchapi.v2.ImageSearchResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v2/image/search:\x01*\x12\xa2\x01\n\rSearchByImage\x12\x34.yandex.cloud.searchapi.v2.ImageSearchByImageRequest\x1a\x35.yandex.cloud.searchapi.v2.ImageSearchByImageResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v2/image/search_by_image:\x01*Be\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/img_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\x80\x08\n\tImageSpec\x12@\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12<\n\x04size\x18\x02 \x01(\x0e\x32..yandex.cloud.searchapi.v2.ImageSpec.ImageSize\x12J\n\x0borientation\x18\x03 \x01(\x0e\x32\x35.yandex.cloud.searchapi.v2.ImageSpec.ImageOrientation\x12>\n\x05\x63olor\x18\x04 \x01(\x0e\x32/.yandex.cloud.searchapi.v2.ImageSpec.ImageColor\"n\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x02\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x03\"\x95\x01\n\x10ImageOrientation\x12!\n\x1dIMAGE_ORIENTATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aIMAGE_ORIENTATION_VERTICAL\x10\x01\x12 \n\x1cIMAGE_ORIENTATION_HORIZONTAL\x10\x02\x12\x1c\n\x18IMAGE_ORIENTATION_SQUARE\x10\x03\"\xb2\x01\n\tImageSize\x12\x1a\n\x16IMAGE_SIZE_UNSPECIFIED\x10\x00\x12\x17\n\x13IMAGE_SIZE_ENORMOUS\x10\x01\x12\x14\n\x10IMAGE_SIZE_LARGE\x10\x02\x12\x15\n\x11IMAGE_SIZE_MEDIUM\x10\x03\x12\x14\n\x10IMAGE_SIZE_SMALL\x10\x04\x12\x13\n\x0fIMAGE_SIZE_TINY\x10\x05\x12\x18\n\x14IMAGE_SIZE_WALLPAPER\x10\x06\"\xa9\x02\n\nImageColor\x12\x1b\n\x17IMAGE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_COLOR_COLOR\x10\x01\x12\x19\n\x15IMAGE_COLOR_GRAYSCALE\x10\x02\x12\x13\n\x0fIMAGE_COLOR_RED\x10\x03\x12\x16\n\x12IMAGE_COLOR_ORANGE\x10\x04\x12\x16\n\x12IMAGE_COLOR_YELLOW\x10\x05\x12\x15\n\x11IMAGE_COLOR_GREEN\x10\x06\x12\x14\n\x10IMAGE_COLOR_CYAN\x10\x07\x12\x14\n\x10IMAGE_COLOR_BLUE\x10\x08\x12\x16\n\x12IMAGE_COLOR_VIOLET\x10\t\x12\x15\n\x11IMAGE_COLOR_WHITE\x10\n\x12\x15\n\x11IMAGE_COLOR_BLACK\x10\x0b\"\xf6\x01\n\x12ImageSearchRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32&.yandex.cloud.searchapi.v2.SearchQueryB\x04\xe8\xc7\x31\x01\x12\x38\n\nimage_spec\x18\x02 \x01(\x0b\x32$.yandex.cloud.searchapi.v2.ImageSpec\x12\x0c\n\x04site\x18\x03 \x01(\t\x12\x1f\n\x0c\x64ocs_on_page\x18\x04 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1b\n\tfolder_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\nuser_agent\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=300\"-\n\x13ImageSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\"\x9a\x02\n\x19ImageSearchByImageRequest\x12\x18\n\x04site\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x1b\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\x03url\x18\x03 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12!\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x42\x11\xe8\xc7\x31\x01\x8a\xc8\x31\t<=3145728H\x00\x12\x1c\n\x02id\x18\x05 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12\x15\n\x04page\x18\x06 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\x46\n\x0b\x66\x61mily_mode\x18\x07 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.FamilyModeB\x07\n\x05image\"\xde\x02\n\x1aImageSearchByImageResponse\x12O\n\x06images\x18\x01 \x03(\x0b\x32?.yandex.cloud.searchapi.v2.ImageSearchByImageResponse.ImageInfo\x12\x0c\n\x04page\x18\x02 \x01(\x03\x12\x14\n\x08max_page\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\n\n\x02id\x18\x04 \x01(\t\x1a\xbe\x01\n\tImageInfo\x12\x0b\n\x03url\x18\x01 \x01(\t\x12@\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12\r\n\x05width\x18\x03 \x01(\x03\x12\x0e\n\x06height\x18\x04 \x01(\x03\x12\x0f\n\x07passage\x18\x05 \x01(\t\x12\x0c\n\x04host\x18\x06 \x01(\t\x12\x12\n\npage_title\x18\x07 \x01(\t\x12\x10\n\x08page_url\x18\x08 \x01(\t2\xc0\x02\n\x12ImageSearchService\x12\x84\x01\n\x06Search\x12-.yandex.cloud.searchapi.v2.ImageSearchRequest\x1a..yandex.cloud.searchapi.v2.ImageSearchResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v2/image/search:\x01*\x12\xa2\x01\n\rSearchByImage\x12\x34.yandex.cloud.searchapi.v2.ImageSearchByImageRequest\x1a\x35.yandex.cloud.searchapi.v2.ImageSearchByImageResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v2/image/search_by_image:\x01*Be\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -57,6 +57,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
57
57
  _globals['_IMAGESEARCHBYIMAGEREQUEST'].fields_by_name['id']._serialized_options = b'\350\3071\001\212\3101\006<=1024'
58
58
  _globals['_IMAGESEARCHBYIMAGEREQUEST'].fields_by_name['page']._loaded_options = None
59
59
  _globals['_IMAGESEARCHBYIMAGEREQUEST'].fields_by_name['page']._serialized_options = b'\372\3071\003>=0'
60
+ _globals['_IMAGESEARCHBYIMAGERESPONSE'].fields_by_name['max_page']._loaded_options = None
61
+ _globals['_IMAGESEARCHBYIMAGERESPONSE'].fields_by_name['max_page']._serialized_options = b'\030\001'
60
62
  _globals['_IMAGESEARCHSERVICE'].methods_by_name['Search']._loaded_options = None
61
63
  _globals['_IMAGESEARCHSERVICE'].methods_by_name['Search']._serialized_options = b'\202\323\344\223\002\025\"\020/v2/image/search:\001*'
62
64
  _globals['_IMAGESEARCHSERVICE'].methods_by_name['SearchByImage']._loaded_options = None
@@ -78,9 +80,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
78
80
  _globals['_IMAGESEARCHBYIMAGEREQUEST']._serialized_start=1512
79
81
  _globals['_IMAGESEARCHBYIMAGEREQUEST']._serialized_end=1794
80
82
  _globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_start=1797
81
- _globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_end=2143
82
- _globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_start=1953
83
- _globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_end=2143
84
- _globals['_IMAGESEARCHSERVICE']._serialized_start=2146
85
- _globals['_IMAGESEARCHSERVICE']._serialized_end=2466
83
+ _globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_end=2147
84
+ _globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_start=1957
85
+ _globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_end=2147
86
+ _globals['_IMAGESEARCHSERVICE']._serialized_start=2150
87
+ _globals['_IMAGESEARCHSERVICE']._serialized_end=2470
86
88
  # @@protoc_insertion_point(module_scope)
@@ -336,7 +336,6 @@ class ImageSearchByImageResponse(google.protobuf.message.Message):
336
336
  page: builtins.int
337
337
  """The number of the page with search results."""
338
338
  max_page: builtins.int
339
- """The number of the last page with search results."""
340
339
  id: builtins.str
341
340
  """CBIR ID of the image used for the search."""
342
341
  @property
@@ -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)