yandexcloud 0.317.0__py3-none-any.whl → 0.319.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.
Files changed (135) hide show
  1. yandex/cloud/ai/assistants/__init__.py +0 -0
  2. yandex/cloud/ai/assistants/v1/__init__.py +0 -0
  3. yandex/cloud/ai/assistants/v1/assistant_pb2.py +33 -0
  4. yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +101 -0
  5. yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.py +4 -0
  6. yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.pyi +17 -0
  7. yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +88 -0
  8. yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +293 -0
  9. yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.py +232 -0
  10. yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.pyi +127 -0
  11. yandex/cloud/ai/assistants/v1/common_pb2.py +33 -0
  12. yandex/cloud/ai/assistants/v1/common_pb2.pyi +91 -0
  13. yandex/cloud/ai/assistants/v1/common_pb2_grpc.py +4 -0
  14. yandex/cloud/ai/assistants/v1/common_pb2_grpc.pyi +17 -0
  15. yandex/cloud/ai/assistants/v1/runs/__init__.py +0 -0
  16. yandex/cloud/ai/assistants/v1/runs/run_pb2.py +40 -0
  17. yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +154 -0
  18. yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.py +4 -0
  19. yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.pyi +17 -0
  20. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +77 -0
  21. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +237 -0
  22. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +199 -0
  23. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +110 -0
  24. yandex/cloud/ai/assistants/v1/searchindex/__init__.py +0 -0
  25. yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +28 -0
  26. yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +47 -0
  27. yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.py +4 -0
  28. yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.pyi +17 -0
  29. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +28 -0
  30. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +43 -0
  31. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.py +4 -0
  32. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.pyi +17 -0
  33. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.py +45 -0
  34. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +72 -0
  35. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +100 -0
  36. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +59 -0
  37. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +37 -0
  38. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +132 -0
  39. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.py +4 -0
  40. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.pyi +17 -0
  41. yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +77 -0
  42. yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +205 -0
  43. yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +200 -0
  44. yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +111 -0
  45. yandex/cloud/ai/assistants/v1/threads/__init__.py +0 -0
  46. yandex/cloud/ai/assistants/v1/threads/message_pb2.py +45 -0
  47. yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +176 -0
  48. yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.py +4 -0
  49. yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.pyi +17 -0
  50. yandex/cloud/ai/assistants/v1/threads/message_service_pb2.py +55 -0
  51. yandex/cloud/ai/assistants/v1/threads/message_service_pb2.pyi +91 -0
  52. yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.py +133 -0
  53. yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.pyi +76 -0
  54. yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +32 -0
  55. yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +85 -0
  56. yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.py +4 -0
  57. yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.pyi +17 -0
  58. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +76 -0
  59. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +200 -0
  60. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.py +199 -0
  61. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.pyi +110 -0
  62. yandex/cloud/ai/assistants/v1/users/__init__.py +0 -0
  63. yandex/cloud/ai/assistants/v1/users/user_pb2.py +32 -0
  64. yandex/cloud/ai/assistants/v1/users/user_pb2.pyi +85 -0
  65. yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.py +4 -0
  66. yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.pyi +17 -0
  67. yandex/cloud/ai/assistants/v1/users/user_service_pb2.py +75 -0
  68. yandex/cloud/ai/assistants/v1/users/user_service_pb2.pyi +195 -0
  69. yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.py +199 -0
  70. yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.pyi +110 -0
  71. yandex/cloud/ai/common/__init__.py +0 -0
  72. yandex/cloud/ai/common/common_pb2.py +30 -0
  73. yandex/cloud/ai/common/common_pb2.pyi +69 -0
  74. yandex/cloud/ai/common/common_pb2_grpc.py +4 -0
  75. yandex/cloud/ai/common/common_pb2_grpc.pyi +17 -0
  76. yandex/cloud/ai/files/__init__.py +0 -0
  77. yandex/cloud/ai/files/v1/__init__.py +0 -0
  78. yandex/cloud/ai/files/v1/file_pb2.py +32 -0
  79. yandex/cloud/ai/files/v1/file_pb2.pyi +85 -0
  80. yandex/cloud/ai/files/v1/file_pb2_grpc.py +4 -0
  81. yandex/cloud/ai/files/v1/file_pb2_grpc.pyi +17 -0
  82. yandex/cloud/ai/files/v1/file_service_pb2.py +85 -0
  83. yandex/cloud/ai/files/v1/file_service_pb2.pyi +228 -0
  84. yandex/cloud/ai/files/v1/file_service_pb2_grpc.py +232 -0
  85. yandex/cloud/ai/files/v1/file_service_pb2_grpc.pyi +127 -0
  86. yandex/cloud/backup/v1/provider_service_pb2.py +12 -10
  87. yandex/cloud/backup/v1/provider_service_pb2.pyi +5 -1
  88. yandex/cloud/billing/v1/customer_pb2.pyi +32 -8
  89. yandex/cloud/billing/v1/customer_service_pb2.pyi +10 -2
  90. yandex/cloud/cloudrouter/__init__.py +0 -0
  91. yandex/cloud/cloudrouter/v1/__init__.py +0 -0
  92. yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +42 -0
  93. yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +215 -0
  94. yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.py +4 -0
  95. yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.pyi +17 -0
  96. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +57 -0
  97. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +137 -0
  98. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +179 -0
  99. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +138 -0
  100. yandex/cloud/iam/v1/refresh_token_pb2.py +29 -0
  101. yandex/cloud/iam/v1/refresh_token_pb2.pyi +98 -0
  102. yandex/cloud/iam/v1/refresh_token_pb2_grpc.py +4 -0
  103. yandex/cloud/iam/v1/refresh_token_pb2_grpc.pyi +17 -0
  104. yandex/cloud/iam/v1/refresh_token_service_pb2.py +67 -0
  105. yandex/cloud/iam/v1/refresh_token_service_pb2.pyi +186 -0
  106. yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.py +105 -0
  107. yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.pyi +71 -0
  108. yandex/cloud/iam/v1/service_control_pb2.py +5 -5
  109. yandex/cloud/iam/v1/service_control_pb2.pyi +4 -0
  110. yandex/cloud/lockbox/v1/secret_pb2.py +23 -11
  111. yandex/cloud/lockbox/v1/secret_pb2.pyi +73 -4
  112. yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -46
  113. yandex/cloud/lockbox/v1/secret_service_pb2.pyi +14 -3
  114. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +27 -25
  115. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +16 -0
  116. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +81 -57
  117. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +144 -0
  118. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +68 -0
  119. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +40 -0
  120. yandex/cloud/oauth/claims_pb2.py +8 -7
  121. yandex/cloud/oauth/claims_pb2.pyi +9 -2
  122. yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +1 -1
  123. yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +3 -1
  124. yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +2 -0
  125. yandex/cloud/storage/v1/s3api_pb2.py +35 -0
  126. yandex/cloud/storage/v1/s3api_pb2.pyi +181 -0
  127. yandex/cloud/storage/v1/s3api_pb2_grpc.py +4 -0
  128. yandex/cloud/storage/v1/s3api_pb2_grpc.pyi +17 -0
  129. yandexcloud/_sdk.py +2 -0
  130. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/METADATA +1 -1
  131. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/RECORD +135 -28
  132. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/AUTHORS +0 -0
  133. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/LICENSE +0 -0
  134. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/WHEEL +0 -0
  135. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,100 @@
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
+
5
+ from yandex.cloud.ai.assistants.v1.searchindex import search_index_file_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__pb2
6
+ from yandex.cloud.ai.assistants.v1.searchindex import search_index_file_service_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2
7
+
8
+
9
+ class SearchIndexFileServiceStub(object):
10
+ """Missing associated documentation comment in .proto file."""
11
+
12
+ def __init__(self, channel):
13
+ """Constructor.
14
+
15
+ Args:
16
+ channel: A grpc.Channel.
17
+ """
18
+ self.Get = channel.unary_unary(
19
+ '/yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFileService/Get',
20
+ request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.GetSearchIndexFileRequest.SerializeToString,
21
+ response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__pb2.SearchIndexFile.FromString,
22
+ )
23
+ self.List = channel.unary_unary(
24
+ '/yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFileService/List',
25
+ request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.ListSearchIndexFilesRequest.SerializeToString,
26
+ response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.ListSearchIndexFilesResponse.FromString,
27
+ )
28
+
29
+
30
+ class SearchIndexFileServiceServicer(object):
31
+ """Missing associated documentation comment in .proto file."""
32
+
33
+ def Get(self, request, context):
34
+ """Missing associated documentation comment in .proto file."""
35
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
36
+ context.set_details('Method not implemented!')
37
+ raise NotImplementedError('Method not implemented!')
38
+
39
+ def List(self, request, context):
40
+ """Missing associated documentation comment in .proto file."""
41
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
42
+ context.set_details('Method not implemented!')
43
+ raise NotImplementedError('Method not implemented!')
44
+
45
+
46
+ def add_SearchIndexFileServiceServicer_to_server(servicer, server):
47
+ rpc_method_handlers = {
48
+ 'Get': grpc.unary_unary_rpc_method_handler(
49
+ servicer.Get,
50
+ request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.GetSearchIndexFileRequest.FromString,
51
+ response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__pb2.SearchIndexFile.SerializeToString,
52
+ ),
53
+ 'List': grpc.unary_unary_rpc_method_handler(
54
+ servicer.List,
55
+ request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.ListSearchIndexFilesRequest.FromString,
56
+ response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.ListSearchIndexFilesResponse.SerializeToString,
57
+ ),
58
+ }
59
+ generic_handler = grpc.method_handlers_generic_handler(
60
+ 'yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFileService', rpc_method_handlers)
61
+ server.add_generic_rpc_handlers((generic_handler,))
62
+
63
+
64
+ # This class is part of an EXPERIMENTAL API.
65
+ class SearchIndexFileService(object):
66
+ """Missing associated documentation comment in .proto file."""
67
+
68
+ @staticmethod
69
+ def Get(request,
70
+ target,
71
+ options=(),
72
+ channel_credentials=None,
73
+ call_credentials=None,
74
+ insecure=False,
75
+ compression=None,
76
+ wait_for_ready=None,
77
+ timeout=None,
78
+ metadata=None):
79
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFileService/Get',
80
+ yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.GetSearchIndexFileRequest.SerializeToString,
81
+ yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__pb2.SearchIndexFile.FromString,
82
+ options, channel_credentials,
83
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
84
+
85
+ @staticmethod
86
+ def List(request,
87
+ target,
88
+ options=(),
89
+ channel_credentials=None,
90
+ call_credentials=None,
91
+ insecure=False,
92
+ compression=None,
93
+ wait_for_ready=None,
94
+ timeout=None,
95
+ metadata=None):
96
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFileService/List',
97
+ yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.ListSearchIndexFilesRequest.SerializeToString,
98
+ yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.ListSearchIndexFilesResponse.FromString,
99
+ options, channel_credentials,
100
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,59 @@
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.ai.assistants.v1.searchindex.search_index_file_pb2
12
+ import yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2
13
+
14
+ _T = typing.TypeVar("_T")
15
+
16
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
17
+
18
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
19
+ ...
20
+
21
+ class SearchIndexFileServiceStub:
22
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
23
+ Get: grpc.UnaryUnaryMultiCallable[
24
+ yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.GetSearchIndexFileRequest,
25
+ yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile,
26
+ ]
27
+
28
+ List: grpc.UnaryUnaryMultiCallable[
29
+ yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesRequest,
30
+ yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse,
31
+ ]
32
+
33
+ class SearchIndexFileServiceAsyncStub:
34
+ Get: grpc.aio.UnaryUnaryMultiCallable[
35
+ yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.GetSearchIndexFileRequest,
36
+ yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile,
37
+ ]
38
+
39
+ List: grpc.aio.UnaryUnaryMultiCallable[
40
+ yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesRequest,
41
+ yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse,
42
+ ]
43
+
44
+ class SearchIndexFileServiceServicer(metaclass=abc.ABCMeta):
45
+ @abc.abstractmethod
46
+ def Get(
47
+ self,
48
+ request: yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.GetSearchIndexFileRequest,
49
+ context: _ServicerContext,
50
+ ) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile]]: ...
51
+
52
+ @abc.abstractmethod
53
+ def List(
54
+ self,
55
+ request: yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesRequest,
56
+ context: _ServicerContext,
57
+ ) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse]]: ...
58
+
59
+ def add_SearchIndexFileServiceServicer_to_server(servicer: SearchIndexFileServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -0,0 +1,37 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/ai/assistants/v1/searchindex/search_index.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.ai.common import common_pb2 as yandex_dot_cloud_dot_ai_dot_common_dot_common__pb2
15
+ from yandex.cloud.ai.assistants.v1.searchindex import common_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_common__pb2
16
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<yandex/cloud/ai/assistants/v1/searchindex/search_index.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\x1a#yandex/cloud/ai/common/common.proto\x1a\x36yandex/cloud/ai/assistants/v1/searchindex/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x92\x05\n\x0bSearchIndex\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\ncreated_by\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x07 \x01(\t\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x11\x65xpiration_config\x18\t \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12.\n\nexpires_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x06labels\x18\x0b \x03(\x0b\x32\x42.yandex.cloud.ai.assistants.v1.searchindex.SearchIndex.LabelsEntry\x12W\n\x11text_search_index\x18\x0c \x01(\x0b\x32:.yandex.cloud.ai.assistants.v1.searchindex.TextSearchIndexH\x00\x12[\n\x13vector_search_index\x18\r \x01(\x0b\x32<.yandex.cloud.ai.assistants.v1.searchindex.VectorSearchIndexH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0b\n\tIndexType\"i\n\x0fTextSearchIndex\x12V\n\x11\x63hunking_strategy\x18\x01 \x01(\x0b\x32;.yandex.cloud.ai.assistants.v1.searchindex.ChunkingStrategy\"\xa1\x01\n\x11VectorSearchIndex\x12\x18\n\x10\x64oc_embedder_uri\x18\x01 \x01(\t\x12\x1a\n\x12query_embedder_uri\x18\x02 \x01(\t\x12V\n\x11\x63hunking_strategy\x18\x03 \x01(\x0b\x32;.yandex.cloud.ai.assistants.v1.searchindex.ChunkingStrategyB\x8a\x01\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindexb\x06proto3')
20
+
21
+ _globals = globals()
22
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2', _globals)
24
+ if _descriptor._USE_C_DESCRIPTORS == False:
25
+ DESCRIPTOR._options = None
26
+ DESCRIPTOR._serialized_options = b'\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindex'
27
+ _SEARCHINDEX_LABELSENTRY._options = None
28
+ _SEARCHINDEX_LABELSENTRY._serialized_options = b'8\001'
29
+ _globals['_SEARCHINDEX']._serialized_start=234
30
+ _globals['_SEARCHINDEX']._serialized_end=892
31
+ _globals['_SEARCHINDEX_LABELSENTRY']._serialized_start=834
32
+ _globals['_SEARCHINDEX_LABELSENTRY']._serialized_end=879
33
+ _globals['_TEXTSEARCHINDEX']._serialized_start=894
34
+ _globals['_TEXTSEARCHINDEX']._serialized_end=999
35
+ _globals['_VECTORSEARCHINDEX']._serialized_start=1002
36
+ _globals['_VECTORSEARCHINDEX']._serialized_end=1163
37
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,132 @@
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.ai.assistants.v1.searchindex.common_pb2
14
+ import yandex.cloud.ai.common.common_pb2
15
+
16
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
17
+
18
+ @typing.final
19
+ class SearchIndex(google.protobuf.message.Message):
20
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
21
+
22
+ @typing.final
23
+ class LabelsEntry(google.protobuf.message.Message):
24
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
25
+
26
+ KEY_FIELD_NUMBER: builtins.int
27
+ VALUE_FIELD_NUMBER: builtins.int
28
+ key: builtins.str
29
+ value: builtins.str
30
+ def __init__(
31
+ self,
32
+ *,
33
+ key: builtins.str = ...,
34
+ value: builtins.str = ...,
35
+ ) -> None: ...
36
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
37
+
38
+ ID_FIELD_NUMBER: builtins.int
39
+ FOLDER_ID_FIELD_NUMBER: builtins.int
40
+ NAME_FIELD_NUMBER: builtins.int
41
+ DESCRIPTION_FIELD_NUMBER: builtins.int
42
+ CREATED_BY_FIELD_NUMBER: builtins.int
43
+ CREATED_AT_FIELD_NUMBER: builtins.int
44
+ UPDATED_BY_FIELD_NUMBER: builtins.int
45
+ UPDATED_AT_FIELD_NUMBER: builtins.int
46
+ EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
47
+ EXPIRES_AT_FIELD_NUMBER: builtins.int
48
+ LABELS_FIELD_NUMBER: builtins.int
49
+ TEXT_SEARCH_INDEX_FIELD_NUMBER: builtins.int
50
+ VECTOR_SEARCH_INDEX_FIELD_NUMBER: builtins.int
51
+ id: builtins.str
52
+ folder_id: builtins.str
53
+ name: builtins.str
54
+ description: builtins.str
55
+ created_by: builtins.str
56
+ updated_by: builtins.str
57
+ @property
58
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
59
+ @property
60
+ def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
61
+ @property
62
+ def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig: ...
63
+ @property
64
+ def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
65
+ @property
66
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
67
+ @property
68
+ def text_search_index(self) -> global___TextSearchIndex: ...
69
+ @property
70
+ def vector_search_index(self) -> global___VectorSearchIndex: ...
71
+ def __init__(
72
+ self,
73
+ *,
74
+ id: builtins.str = ...,
75
+ folder_id: builtins.str = ...,
76
+ name: builtins.str = ...,
77
+ description: builtins.str = ...,
78
+ created_by: builtins.str = ...,
79
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
80
+ updated_by: builtins.str = ...,
81
+ updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
82
+ expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
83
+ expires_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
84
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
85
+ text_search_index: global___TextSearchIndex | None = ...,
86
+ vector_search_index: global___VectorSearchIndex | None = ...,
87
+ ) -> None: ...
88
+ def HasField(self, field_name: typing.Literal["IndexType", b"IndexType", "created_at", b"created_at", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "text_search_index", b"text_search_index", "updated_at", b"updated_at", "vector_search_index", b"vector_search_index"]) -> builtins.bool: ...
89
+ def ClearField(self, field_name: typing.Literal["IndexType", b"IndexType", "created_at", b"created_at", "created_by", b"created_by", "description", b"description", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "text_search_index", b"text_search_index", "updated_at", b"updated_at", "updated_by", b"updated_by", "vector_search_index", b"vector_search_index"]) -> None: ...
90
+ def WhichOneof(self, oneof_group: typing.Literal["IndexType", b"IndexType"]) -> typing.Literal["text_search_index", "vector_search_index"] | None: ...
91
+
92
+ global___SearchIndex = SearchIndex
93
+
94
+ @typing.final
95
+ class TextSearchIndex(google.protobuf.message.Message):
96
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
97
+
98
+ CHUNKING_STRATEGY_FIELD_NUMBER: builtins.int
99
+ @property
100
+ def chunking_strategy(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy: ...
101
+ def __init__(
102
+ self,
103
+ *,
104
+ chunking_strategy: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy | None = ...,
105
+ ) -> None: ...
106
+ def HasField(self, field_name: typing.Literal["chunking_strategy", b"chunking_strategy"]) -> builtins.bool: ...
107
+ def ClearField(self, field_name: typing.Literal["chunking_strategy", b"chunking_strategy"]) -> None: ...
108
+
109
+ global___TextSearchIndex = TextSearchIndex
110
+
111
+ @typing.final
112
+ class VectorSearchIndex(google.protobuf.message.Message):
113
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
114
+
115
+ DOC_EMBEDDER_URI_FIELD_NUMBER: builtins.int
116
+ QUERY_EMBEDDER_URI_FIELD_NUMBER: builtins.int
117
+ CHUNKING_STRATEGY_FIELD_NUMBER: builtins.int
118
+ doc_embedder_uri: builtins.str
119
+ query_embedder_uri: builtins.str
120
+ @property
121
+ def chunking_strategy(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy: ...
122
+ def __init__(
123
+ self,
124
+ *,
125
+ doc_embedder_uri: builtins.str = ...,
126
+ query_embedder_uri: builtins.str = ...,
127
+ chunking_strategy: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy | None = ...,
128
+ ) -> None: ...
129
+ def HasField(self, field_name: typing.Literal["chunking_strategy", b"chunking_strategy"]) -> builtins.bool: ...
130
+ def ClearField(self, field_name: typing.Literal["chunking_strategy", b"chunking_strategy", "doc_embedder_uri", b"doc_embedder_uri", "query_embedder_uri", b"query_embedder_uri"]) -> None: ...
131
+
132
+ global___VectorSearchIndex = VectorSearchIndex
@@ -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,77 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/ai/assistants/v1/searchindex/search_index_service.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.ai.common import common_pb2 as yandex_dot_cloud_dot_ai_dot_common_dot_common__pb2
15
+ from yandex.cloud.ai.assistants.v1.searchindex import search_index_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__pb2
16
+ from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
17
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
18
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
19
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
20
+ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
21
+
22
+
23
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nDyandex/cloud/ai/assistants/v1/searchindex/search_index_service.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\x1a#yandex/cloud/ai/common/common.proto\x1a<yandex/cloud/ai/assistants/v1/searchindex/search_index.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\"\x80\x04\n\x18\x43reateSearchIndexRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x10\n\x08\x66ile_ids\x18\x02 \x03(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x43\n\x11\x65xpiration_config\x18\x05 \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12_\n\x06labels\x18\x06 \x03(\x0b\x32O.yandex.cloud.ai.assistants.v1.searchindex.CreateSearchIndexRequest.LabelsEntry\x12W\n\x11text_search_index\x18\x07 \x01(\x0b\x32:.yandex.cloud.ai.assistants.v1.searchindex.TextSearchIndexH\x00\x12[\n\x13vector_search_index\x18\x08 \x01(\x0b\x32<.yandex.cloud.ai.assistants.v1.searchindex.VectorSearchIndexH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0b\n\tIndexType\"6\n\x15GetSearchIndexRequest\x12\x1d\n\x0fsearch_index_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xe8\x02\n\x18UpdateSearchIndexRequest\x12\x1d\n\x0fsearch_index_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x43\n\x11\x65xpiration_config\x18\x05 \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12_\n\x06labels\x18\x06 \x03(\x0b\x32O.yandex.cloud.ai.assistants.v1.searchindex.UpdateSearchIndexRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"9\n\x18\x44\x65leteSearchIndexRequest\x12\x1d\n\x0fsearch_index_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x1b\n\x19\x44\x65leteSearchIndexResponse\"Z\n\x18ListSearchIndicesRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n\x19ListSearchIndicesResponse\x12G\n\x07indices\x18\x01 \x03(\x0b\x32\x36.yandex.cloud.ai.assistants.v1.searchindex.SearchIndex\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xbc\x07\n\x12SearchIndexService\x12\xa8\x01\n\x06\x43reate\x12\x43.yandex.cloud.ai.assistants.v1.searchindex.CreateSearchIndexRequest\x1a!.yandex.cloud.operation.Operation\"6\xb2\xd2*\r\x12\x0bSearchIndex\x82\xd3\xe4\x93\x02\x1f\"\x1a/assistants/v1/searchIndex:\x01*\x12\xb5\x01\n\x03Get\x12@.yandex.cloud.ai.assistants.v1.searchindex.GetSearchIndexRequest\x1a\x36.yandex.cloud.ai.assistants.v1.searchindex.SearchIndex\"4\x82\xd3\xe4\x93\x02.\x12,/assistants/v1/searchIndex/{search_index_id}\x12\xbe\x01\n\x06Update\x12\x43.yandex.cloud.ai.assistants.v1.searchindex.UpdateSearchIndexRequest\x1a\x36.yandex.cloud.ai.assistants.v1.searchindex.SearchIndex\"7\x82\xd3\xe4\x93\x02\x31\x32,/assistants/v1/searchIndex/{search_index_id}:\x01*\x12\xc9\x01\n\x06\x44\x65lete\x12\x43.yandex.cloud.ai.assistants.v1.searchindex.DeleteSearchIndexRequest\x1a\x44.yandex.cloud.ai.assistants.v1.searchindex.DeleteSearchIndexResponse\"4\x82\xd3\xe4\x93\x02.*,/assistants/v1/searchIndex/{search_index_id}\x12\xb5\x01\n\x04List\x12\x43.yandex.cloud.ai.assistants.v1.searchindex.ListSearchIndicesRequest\x1a\x44.yandex.cloud.ai.assistants.v1.searchindex.ListSearchIndicesResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/assistants/v1/searchIndexB\x8a\x01\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindexb\x06proto3')
24
+
25
+ _globals = globals()
26
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
27
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2', _globals)
28
+ if _descriptor._USE_C_DESCRIPTORS == False:
29
+ DESCRIPTOR._options = None
30
+ DESCRIPTOR._serialized_options = b'\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindex'
31
+ _CREATESEARCHINDEXREQUEST_LABELSENTRY._options = None
32
+ _CREATESEARCHINDEXREQUEST_LABELSENTRY._serialized_options = b'8\001'
33
+ _CREATESEARCHINDEXREQUEST.fields_by_name['folder_id']._options = None
34
+ _CREATESEARCHINDEXREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
35
+ _GETSEARCHINDEXREQUEST.fields_by_name['search_index_id']._options = None
36
+ _GETSEARCHINDEXREQUEST.fields_by_name['search_index_id']._serialized_options = b'\350\3071\001'
37
+ _UPDATESEARCHINDEXREQUEST_LABELSENTRY._options = None
38
+ _UPDATESEARCHINDEXREQUEST_LABELSENTRY._serialized_options = b'8\001'
39
+ _UPDATESEARCHINDEXREQUEST.fields_by_name['search_index_id']._options = None
40
+ _UPDATESEARCHINDEXREQUEST.fields_by_name['search_index_id']._serialized_options = b'\350\3071\001'
41
+ _UPDATESEARCHINDEXREQUEST.fields_by_name['update_mask']._options = None
42
+ _UPDATESEARCHINDEXREQUEST.fields_by_name['update_mask']._serialized_options = b'\350\3071\001'
43
+ _DELETESEARCHINDEXREQUEST.fields_by_name['search_index_id']._options = None
44
+ _DELETESEARCHINDEXREQUEST.fields_by_name['search_index_id']._serialized_options = b'\350\3071\001'
45
+ _LISTSEARCHINDICESREQUEST.fields_by_name['folder_id']._options = None
46
+ _LISTSEARCHINDICESREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
47
+ _SEARCHINDEXSERVICE.methods_by_name['Create']._options = None
48
+ _SEARCHINDEXSERVICE.methods_by_name['Create']._serialized_options = b'\262\322*\r\022\013SearchIndex\202\323\344\223\002\037\"\032/assistants/v1/searchIndex:\001*'
49
+ _SEARCHINDEXSERVICE.methods_by_name['Get']._options = None
50
+ _SEARCHINDEXSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002.\022,/assistants/v1/searchIndex/{search_index_id}'
51
+ _SEARCHINDEXSERVICE.methods_by_name['Update']._options = None
52
+ _SEARCHINDEXSERVICE.methods_by_name['Update']._serialized_options = b'\202\323\344\223\00212,/assistants/v1/searchIndex/{search_index_id}:\001*'
53
+ _SEARCHINDEXSERVICE.methods_by_name['Delete']._options = None
54
+ _SEARCHINDEXSERVICE.methods_by_name['Delete']._serialized_options = b'\202\323\344\223\002.*,/assistants/v1/searchIndex/{search_index_id}'
55
+ _SEARCHINDEXSERVICE.methods_by_name['List']._options = None
56
+ _SEARCHINDEXSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\034\022\032/assistants/v1/searchIndex'
57
+ _globals['_CREATESEARCHINDEXREQUEST']._serialized_start=384
58
+ _globals['_CREATESEARCHINDEXREQUEST']._serialized_end=896
59
+ _globals['_CREATESEARCHINDEXREQUEST_LABELSENTRY']._serialized_start=838
60
+ _globals['_CREATESEARCHINDEXREQUEST_LABELSENTRY']._serialized_end=883
61
+ _globals['_GETSEARCHINDEXREQUEST']._serialized_start=898
62
+ _globals['_GETSEARCHINDEXREQUEST']._serialized_end=952
63
+ _globals['_UPDATESEARCHINDEXREQUEST']._serialized_start=955
64
+ _globals['_UPDATESEARCHINDEXREQUEST']._serialized_end=1315
65
+ _globals['_UPDATESEARCHINDEXREQUEST_LABELSENTRY']._serialized_start=838
66
+ _globals['_UPDATESEARCHINDEXREQUEST_LABELSENTRY']._serialized_end=883
67
+ _globals['_DELETESEARCHINDEXREQUEST']._serialized_start=1317
68
+ _globals['_DELETESEARCHINDEXREQUEST']._serialized_end=1374
69
+ _globals['_DELETESEARCHINDEXRESPONSE']._serialized_start=1376
70
+ _globals['_DELETESEARCHINDEXRESPONSE']._serialized_end=1403
71
+ _globals['_LISTSEARCHINDICESREQUEST']._serialized_start=1405
72
+ _globals['_LISTSEARCHINDICESREQUEST']._serialized_end=1495
73
+ _globals['_LISTSEARCHINDICESRESPONSE']._serialized_start=1497
74
+ _globals['_LISTSEARCHINDICESRESPONSE']._serialized_end=1622
75
+ _globals['_SEARCHINDEXSERVICE']._serialized_start=1625
76
+ _globals['_SEARCHINDEXSERVICE']._serialized_end=2581
77
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,205 @@
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.field_mask_pb2
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.message
12
+ import typing
13
+ import yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2
14
+ import yandex.cloud.ai.common.common_pb2
15
+
16
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
17
+
18
+ @typing.final
19
+ class CreateSearchIndexRequest(google.protobuf.message.Message):
20
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
21
+
22
+ @typing.final
23
+ class LabelsEntry(google.protobuf.message.Message):
24
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
25
+
26
+ KEY_FIELD_NUMBER: builtins.int
27
+ VALUE_FIELD_NUMBER: builtins.int
28
+ key: builtins.str
29
+ value: builtins.str
30
+ def __init__(
31
+ self,
32
+ *,
33
+ key: builtins.str = ...,
34
+ value: builtins.str = ...,
35
+ ) -> None: ...
36
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
37
+
38
+ FOLDER_ID_FIELD_NUMBER: builtins.int
39
+ FILE_IDS_FIELD_NUMBER: builtins.int
40
+ NAME_FIELD_NUMBER: builtins.int
41
+ DESCRIPTION_FIELD_NUMBER: builtins.int
42
+ EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
43
+ LABELS_FIELD_NUMBER: builtins.int
44
+ TEXT_SEARCH_INDEX_FIELD_NUMBER: builtins.int
45
+ VECTOR_SEARCH_INDEX_FIELD_NUMBER: builtins.int
46
+ folder_id: builtins.str
47
+ name: builtins.str
48
+ description: builtins.str
49
+ @property
50
+ def file_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
51
+ @property
52
+ def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig: ...
53
+ @property
54
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
55
+ @property
56
+ def text_search_index(self) -> yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.TextSearchIndex: ...
57
+ @property
58
+ def vector_search_index(self) -> yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.VectorSearchIndex: ...
59
+ def __init__(
60
+ self,
61
+ *,
62
+ folder_id: builtins.str = ...,
63
+ file_ids: collections.abc.Iterable[builtins.str] | None = ...,
64
+ name: builtins.str = ...,
65
+ description: builtins.str = ...,
66
+ expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
67
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
68
+ text_search_index: yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.TextSearchIndex | None = ...,
69
+ vector_search_index: yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.VectorSearchIndex | None = ...,
70
+ ) -> None: ...
71
+ def HasField(self, field_name: typing.Literal["IndexType", b"IndexType", "expiration_config", b"expiration_config", "text_search_index", b"text_search_index", "vector_search_index", b"vector_search_index"]) -> builtins.bool: ...
72
+ def ClearField(self, field_name: typing.Literal["IndexType", b"IndexType", "description", b"description", "expiration_config", b"expiration_config", "file_ids", b"file_ids", "folder_id", b"folder_id", "labels", b"labels", "name", b"name", "text_search_index", b"text_search_index", "vector_search_index", b"vector_search_index"]) -> None: ...
73
+ def WhichOneof(self, oneof_group: typing.Literal["IndexType", b"IndexType"]) -> typing.Literal["text_search_index", "vector_search_index"] | None: ...
74
+
75
+ global___CreateSearchIndexRequest = CreateSearchIndexRequest
76
+
77
+ @typing.final
78
+ class GetSearchIndexRequest(google.protobuf.message.Message):
79
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
80
+
81
+ SEARCH_INDEX_ID_FIELD_NUMBER: builtins.int
82
+ search_index_id: builtins.str
83
+ def __init__(
84
+ self,
85
+ *,
86
+ search_index_id: builtins.str = ...,
87
+ ) -> None: ...
88
+ def ClearField(self, field_name: typing.Literal["search_index_id", b"search_index_id"]) -> None: ...
89
+
90
+ global___GetSearchIndexRequest = GetSearchIndexRequest
91
+
92
+ @typing.final
93
+ class UpdateSearchIndexRequest(google.protobuf.message.Message):
94
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
95
+
96
+ @typing.final
97
+ class LabelsEntry(google.protobuf.message.Message):
98
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
99
+
100
+ KEY_FIELD_NUMBER: builtins.int
101
+ VALUE_FIELD_NUMBER: builtins.int
102
+ key: builtins.str
103
+ value: builtins.str
104
+ def __init__(
105
+ self,
106
+ *,
107
+ key: builtins.str = ...,
108
+ value: builtins.str = ...,
109
+ ) -> None: ...
110
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
111
+
112
+ SEARCH_INDEX_ID_FIELD_NUMBER: builtins.int
113
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
114
+ NAME_FIELD_NUMBER: builtins.int
115
+ DESCRIPTION_FIELD_NUMBER: builtins.int
116
+ EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
117
+ LABELS_FIELD_NUMBER: builtins.int
118
+ search_index_id: builtins.str
119
+ name: builtins.str
120
+ description: builtins.str
121
+ @property
122
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: ...
123
+ @property
124
+ def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig: ...
125
+ @property
126
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
127
+ def __init__(
128
+ self,
129
+ *,
130
+ search_index_id: builtins.str = ...,
131
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
132
+ name: builtins.str = ...,
133
+ description: builtins.str = ...,
134
+ expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
135
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
136
+ ) -> None: ...
137
+ def HasField(self, field_name: typing.Literal["expiration_config", b"expiration_config", "update_mask", b"update_mask"]) -> builtins.bool: ...
138
+ def ClearField(self, field_name: typing.Literal["description", b"description", "expiration_config", b"expiration_config", "labels", b"labels", "name", b"name", "search_index_id", b"search_index_id", "update_mask", b"update_mask"]) -> None: ...
139
+
140
+ global___UpdateSearchIndexRequest = UpdateSearchIndexRequest
141
+
142
+ @typing.final
143
+ class DeleteSearchIndexRequest(google.protobuf.message.Message):
144
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
145
+
146
+ SEARCH_INDEX_ID_FIELD_NUMBER: builtins.int
147
+ search_index_id: builtins.str
148
+ def __init__(
149
+ self,
150
+ *,
151
+ search_index_id: builtins.str = ...,
152
+ ) -> None: ...
153
+ def ClearField(self, field_name: typing.Literal["search_index_id", b"search_index_id"]) -> None: ...
154
+
155
+ global___DeleteSearchIndexRequest = DeleteSearchIndexRequest
156
+
157
+ @typing.final
158
+ class DeleteSearchIndexResponse(google.protobuf.message.Message):
159
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
160
+
161
+ def __init__(
162
+ self,
163
+ ) -> None: ...
164
+
165
+ global___DeleteSearchIndexResponse = DeleteSearchIndexResponse
166
+
167
+ @typing.final
168
+ class ListSearchIndicesRequest(google.protobuf.message.Message):
169
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
170
+
171
+ FOLDER_ID_FIELD_NUMBER: builtins.int
172
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
173
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
174
+ folder_id: builtins.str
175
+ page_size: builtins.int
176
+ page_token: builtins.str
177
+ def __init__(
178
+ self,
179
+ *,
180
+ folder_id: builtins.str = ...,
181
+ page_size: builtins.int = ...,
182
+ page_token: builtins.str = ...,
183
+ ) -> None: ...
184
+ def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
185
+
186
+ global___ListSearchIndicesRequest = ListSearchIndicesRequest
187
+
188
+ @typing.final
189
+ class ListSearchIndicesResponse(google.protobuf.message.Message):
190
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
191
+
192
+ INDICES_FIELD_NUMBER: builtins.int
193
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
194
+ next_page_token: builtins.str
195
+ @property
196
+ def indices(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex]: ...
197
+ def __init__(
198
+ self,
199
+ *,
200
+ indices: collections.abc.Iterable[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex] | None = ...,
201
+ next_page_token: builtins.str = ...,
202
+ ) -> None: ...
203
+ def ClearField(self, field_name: typing.Literal["indices", b"indices", "next_page_token", b"next_page_token"]) -> None: ...
204
+
205
+ global___ListSearchIndicesResponse = ListSearchIndicesResponse