yandexcloud 0.326.0__py3-none-any.whl → 0.328.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.py +21 -9
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +39 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +38 -3
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +24 -3
- yandex/cloud/ai/dataset/v1/dataset_pb2.py +10 -8
- yandex/cloud/ai/dataset/v1/dataset_pb2.pyi +13 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +45 -39
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +57 -2
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.py +34 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.pyi +20 -0
- yandex/cloud/ai/tuning/__init__.py +0 -0
- yandex/cloud/ai/tuning/v1/__init__.py +0 -0
- yandex/cloud/ai/tuning/v1/tuning_optimizers_pb2.py +26 -0
- yandex/cloud/ai/tuning/v1/tuning_optimizers_pb2.pyi +35 -0
- yandex/cloud/ai/tuning/v1/tuning_optimizers_pb2_grpc.py +4 -0
- yandex/cloud/ai/tuning/v1/tuning_optimizers_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_schedulers_pb2.py +30 -0
- yandex/cloud/ai/tuning/v1/tuning_schedulers_pb2.pyi +51 -0
- yandex/cloud/ai/tuning/v1/tuning_schedulers_pb2_grpc.py +4 -0
- yandex/cloud/ai/tuning/v1/tuning_schedulers_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +101 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +585 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +127 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +29 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +86 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2_grpc.py +4 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_types_pb2.py +28 -0
- yandex/cloud/ai/tuning/v1/tuning_types_pb2.pyi +50 -0
- yandex/cloud/ai/tuning/v1/tuning_types_pb2_grpc.py +4 -0
- yandex/cloud/ai/tuning/v1/tuning_types_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/private_connection_pb2.py +5 -3
- yandex/cloud/cic/v1/private_connection_pb2.pyi +1 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +41 -41
- yandex/cloud/dataproc/v1/cluster_pb2.py +20 -18
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +20 -1
- yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +5 -1
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +52 -48
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +45 -3
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +54 -54
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +7 -1
- yandex/cloud/datatransfer/v1/endpoint/clickhouse_pb2.pyi +1 -1
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.pyi +2 -2
- yandex/cloud/datatransfer/v1/endpoint/ydb_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/ydb_pb2.pyi +4 -1
- yandex/cloud/datatransfer/v1/endpoint/yds_pb2.py +4 -4
- yandex/cloud/datatransfer/v1/endpoint/yds_pb2.pyi +4 -1
- yandex/cloud/marketplace/metering/v1/product_usage_service_pb2.py +39 -0
- yandex/cloud/marketplace/metering/v1/product_usage_service_pb2.pyi +64 -0
- yandex/cloud/marketplace/metering/v1/product_usage_service_pb2_grpc.py +67 -0
- yandex/cloud/marketplace/metering/v1/product_usage_service_pb2_grpc.pyi +44 -0
- yandex/cloud/marketplace/pim/__init__.py +0 -0
- yandex/cloud/marketplace/pim/v1/__init__.py +0 -0
- yandex/cloud/marketplace/pim/v1/saas/__init__.py +0 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2.py +41 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2.pyi +158 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2_grpc.py +4 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2_grpc.pyi +17 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2.py +42 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2.pyi +71 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2_grpc.py +101 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2_grpc.pyi +60 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +81 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +789 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2_grpc.py +4 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
- yandex/cloud/monitoring/v3/widget_pb2.pyi +10 -3
- yandex/cloud/searchapi/v2/search_query_pb2.py +8 -6
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +24 -1
- yandex/cloud/searchapi/v2/search_service_pb2.py +14 -8
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +33 -6
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.py +64 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.pyi +29 -0
- yandex/cloud/serverless/containers/v1/container_pb2.py +44 -40
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +51 -2
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -6
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +31 -3
- yandex/cloud/serverless/functions/v1/function_pb2.py +42 -38
- yandex/cloud/serverless/functions/v1/function_pb2.pyi +51 -2
- yandex/cloud/serverless/functions/v1/function_service_pb2.py +36 -36
- yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +8 -2
- yandex/cloud/speechsense/v1/classifier_pb2.py +26 -0
- yandex/cloud/speechsense/v1/classifier_pb2.pyi +35 -0
- yandex/cloud/speechsense/v1/classifier_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/classifier_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/classifiers_service_pb2.py +34 -0
- yandex/cloud/speechsense/v1/classifiers_service_pb2.pyi +48 -0
- yandex/cloud/speechsense/v1/classifiers_service_pb2_grpc.py +67 -0
- yandex/cloud/speechsense/v1/classifiers_service_pb2_grpc.pyi +44 -0
- yandex/cloud/speechsense/v1/talk_service_pb2.py +28 -28
- yandex/cloud/speechsense/v1/talk_service_pb2.pyi +10 -2
- yandex/cloud/storage/v1/s3api_pb2.py +21 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +392 -0
- yandex/cloud/ydb/v1/database_pb2.py +24 -10
- yandex/cloud/ydb/v1/database_pb2.pyi +53 -3
- {yandexcloud-0.326.0.dist-info → yandexcloud-0.328.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.326.0.dist-info → yandexcloud-0.328.0.dist-info}/RECORD +106 -57
- {yandexcloud-0.326.0.dist-info → yandexcloud-0.328.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.326.0.dist-info → yandexcloud-0.328.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.326.0.dist-info → yandexcloud-0.328.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.326.0.dist-info → yandexcloud-0.328.0.dist-info}/top_level.txt +0 -0
|
@@ -12,11 +12,13 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
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
|
|
15
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
16
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
15
17
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
16
18
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
17
19
|
|
|
18
20
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nIyandex/cloud/ai/assistants/v1/searchindex/search_index_file_service.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\x1a\x41yandex/cloud/ai/assistants/v1/searchindex/search_index_file.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\"Q\n\x19GetSearchIndexFileRequest\x12\x15\n\x07\x66ile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\x0fsearch_index_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"c\n\x1bListSearchIndexFilesRequest\x12\x1d\n\x0fsearch_index_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\"\x82\x01\n\x1cListSearchIndexFilesResponse\x12I\n\x05\x66iles\x18\x01 \x03(\x0b\x32:.yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFile\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nIyandex/cloud/ai/assistants/v1/searchindex/search_index_file_service.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\x1a\x41yandex/cloud/ai/assistants/v1/searchindex/search_index_file.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\"\\\n!BatchCreateSearchIndexFileRequest\x12\x18\n\x08\x66ile_ids\x18\x01 \x03(\tB\x06\x82\xc8\x31\x02>0\x12\x1d\n\x0fsearch_index_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"o\n\"BatchCreateSearchIndexFileResponse\x12I\n\x05\x66iles\x18\x01 \x03(\x0b\x32:.yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFile\"Q\n\x19GetSearchIndexFileRequest\x12\x15\n\x07\x66ile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\x0fsearch_index_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"c\n\x1bListSearchIndexFilesRequest\x12\x1d\n\x0fsearch_index_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\"\x82\x01\n\x1cListSearchIndexFilesResponse\x12I\n\x05\x66iles\x18\x01 \x03(\x0b\x32:.yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFile\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x9a\x05\n\x16SearchIndexFileService\x12\xdd\x01\n\x0b\x42\x61tchCreate\x12L.yandex.cloud.ai.assistants.v1.searchindex.BatchCreateSearchIndexFileRequest\x1a!.yandex.cloud.operation.Operation\"]\xb2\xd2*$\x12\"BatchCreateSearchIndexFileResponse\x82\xd3\xe4\x93\x02/\"*/assistants/v1/searchIndexFile:batchCreate:\x01*\x12\xcb\x01\n\x03Get\x12\x44.yandex.cloud.ai.assistants.v1.searchindex.GetSearchIndexFileRequest\x1a:.yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFile\"B\x82\xd3\xe4\x93\x02<\x12:/assistants/v1/searchIndexFile/{search_index_id}/{file_id}\x12\xd1\x01\n\x04List\x12\x46.yandex.cloud.ai.assistants.v1.searchindex.ListSearchIndexFilesRequest\x1aG.yandex.cloud.ai.assistants.v1.searchindex.ListSearchIndexFilesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/assistants/v1/searchIndexFile/{search_index_id}B\x8a\x01\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindexb\x06proto3')
|
|
20
22
|
|
|
21
23
|
_globals = globals()
|
|
22
24
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -24,22 +26,32 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.assistants.
|
|
|
24
26
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
27
|
DESCRIPTOR._options = None
|
|
26
28
|
DESCRIPTOR._serialized_options = b'\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindex'
|
|
29
|
+
_BATCHCREATESEARCHINDEXFILEREQUEST.fields_by_name['file_ids']._options = None
|
|
30
|
+
_BATCHCREATESEARCHINDEXFILEREQUEST.fields_by_name['file_ids']._serialized_options = b'\202\3101\002>0'
|
|
31
|
+
_BATCHCREATESEARCHINDEXFILEREQUEST.fields_by_name['search_index_id']._options = None
|
|
32
|
+
_BATCHCREATESEARCHINDEXFILEREQUEST.fields_by_name['search_index_id']._serialized_options = b'\350\3071\001'
|
|
27
33
|
_GETSEARCHINDEXFILEREQUEST.fields_by_name['file_id']._options = None
|
|
28
34
|
_GETSEARCHINDEXFILEREQUEST.fields_by_name['file_id']._serialized_options = b'\350\3071\001'
|
|
29
35
|
_GETSEARCHINDEXFILEREQUEST.fields_by_name['search_index_id']._options = None
|
|
30
36
|
_GETSEARCHINDEXFILEREQUEST.fields_by_name['search_index_id']._serialized_options = b'\350\3071\001'
|
|
31
37
|
_LISTSEARCHINDEXFILESREQUEST.fields_by_name['search_index_id']._options = None
|
|
32
38
|
_LISTSEARCHINDEXFILESREQUEST.fields_by_name['search_index_id']._serialized_options = b'\350\3071\001'
|
|
39
|
+
_SEARCHINDEXFILESERVICE.methods_by_name['BatchCreate']._options = None
|
|
40
|
+
_SEARCHINDEXFILESERVICE.methods_by_name['BatchCreate']._serialized_options = b'\262\322*$\022\"BatchCreateSearchIndexFileResponse\202\323\344\223\002/\"*/assistants/v1/searchIndexFile:batchCreate:\001*'
|
|
33
41
|
_SEARCHINDEXFILESERVICE.methods_by_name['Get']._options = None
|
|
34
42
|
_SEARCHINDEXFILESERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002<\022:/assistants/v1/searchIndexFile/{search_index_id}/{file_id}'
|
|
35
43
|
_SEARCHINDEXFILESERVICE.methods_by_name['List']._options = None
|
|
36
44
|
_SEARCHINDEXFILESERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\0022\0220/assistants/v1/searchIndexFile/{search_index_id}'
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
+
_globals['_BATCHCREATESEARCHINDEXFILEREQUEST']._serialized_start=322
|
|
46
|
+
_globals['_BATCHCREATESEARCHINDEXFILEREQUEST']._serialized_end=414
|
|
47
|
+
_globals['_BATCHCREATESEARCHINDEXFILERESPONSE']._serialized_start=416
|
|
48
|
+
_globals['_BATCHCREATESEARCHINDEXFILERESPONSE']._serialized_end=527
|
|
49
|
+
_globals['_GETSEARCHINDEXFILEREQUEST']._serialized_start=529
|
|
50
|
+
_globals['_GETSEARCHINDEXFILEREQUEST']._serialized_end=610
|
|
51
|
+
_globals['_LISTSEARCHINDEXFILESREQUEST']._serialized_start=612
|
|
52
|
+
_globals['_LISTSEARCHINDEXFILESREQUEST']._serialized_end=711
|
|
53
|
+
_globals['_LISTSEARCHINDEXFILESRESPONSE']._serialized_start=714
|
|
54
|
+
_globals['_LISTSEARCHINDEXFILESRESPONSE']._serialized_end=844
|
|
55
|
+
_globals['_SEARCHINDEXFILESERVICE']._serialized_start=847
|
|
56
|
+
_globals['_SEARCHINDEXFILESERVICE']._serialized_end=1513
|
|
45
57
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,6 +13,45 @@ import yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2
|
|
|
13
13
|
|
|
14
14
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
15
|
|
|
16
|
+
@typing.final
|
|
17
|
+
class BatchCreateSearchIndexFileRequest(google.protobuf.message.Message):
|
|
18
|
+
"""Request message for creating multiple files within a search index."""
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
21
|
+
|
|
22
|
+
FILE_IDS_FIELD_NUMBER: builtins.int
|
|
23
|
+
SEARCH_INDEX_ID_FIELD_NUMBER: builtins.int
|
|
24
|
+
search_index_id: builtins.str
|
|
25
|
+
@property
|
|
26
|
+
def file_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
27
|
+
def __init__(
|
|
28
|
+
self,
|
|
29
|
+
*,
|
|
30
|
+
file_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
31
|
+
search_index_id: builtins.str = ...,
|
|
32
|
+
) -> None: ...
|
|
33
|
+
def ClearField(self, field_name: typing.Literal["file_ids", b"file_ids", "search_index_id", b"search_index_id"]) -> None: ...
|
|
34
|
+
|
|
35
|
+
global___BatchCreateSearchIndexFileRequest = BatchCreateSearchIndexFileRequest
|
|
36
|
+
|
|
37
|
+
@typing.final
|
|
38
|
+
class BatchCreateSearchIndexFileResponse(google.protobuf.message.Message):
|
|
39
|
+
"""Response message for the BatchCreate operation."""
|
|
40
|
+
|
|
41
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
42
|
+
|
|
43
|
+
FILES_FIELD_NUMBER: builtins.int
|
|
44
|
+
@property
|
|
45
|
+
def files(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile]: ...
|
|
46
|
+
def __init__(
|
|
47
|
+
self,
|
|
48
|
+
*,
|
|
49
|
+
files: collections.abc.Iterable[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile] | None = ...,
|
|
50
|
+
) -> None: ...
|
|
51
|
+
def ClearField(self, field_name: typing.Literal["files", b"files"]) -> None: ...
|
|
52
|
+
|
|
53
|
+
global___BatchCreateSearchIndexFileResponse = BatchCreateSearchIndexFileResponse
|
|
54
|
+
|
|
16
55
|
@typing.final
|
|
17
56
|
class GetSearchIndexFileRequest(google.protobuf.message.Message):
|
|
18
57
|
"""Request message for retrieving a file from a search index."""
|
|
@@ -4,10 +4,11 @@ import grpc
|
|
|
4
4
|
|
|
5
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
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
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class SearchIndexFileServiceStub(object):
|
|
10
|
-
"""
|
|
11
|
+
"""SearchIndexFileService provides operations for managing files within search indexes.
|
|
11
12
|
"""
|
|
12
13
|
|
|
13
14
|
def __init__(self, channel):
|
|
@@ -16,6 +17,11 @@ class SearchIndexFileServiceStub(object):
|
|
|
16
17
|
Args:
|
|
17
18
|
channel: A grpc.Channel.
|
|
18
19
|
"""
|
|
20
|
+
self.BatchCreate = channel.unary_unary(
|
|
21
|
+
'/yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFileService/BatchCreate',
|
|
22
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.BatchCreateSearchIndexFileRequest.SerializeToString,
|
|
23
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
24
|
+
)
|
|
19
25
|
self.Get = channel.unary_unary(
|
|
20
26
|
'/yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFileService/Get',
|
|
21
27
|
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.GetSearchIndexFileRequest.SerializeToString,
|
|
@@ -29,9 +35,16 @@ class SearchIndexFileServiceStub(object):
|
|
|
29
35
|
|
|
30
36
|
|
|
31
37
|
class SearchIndexFileServiceServicer(object):
|
|
32
|
-
"""
|
|
38
|
+
"""SearchIndexFileService provides operations for managing files within search indexes.
|
|
33
39
|
"""
|
|
34
40
|
|
|
41
|
+
def BatchCreate(self, request, context):
|
|
42
|
+
"""Creates multiple files within a search index in [asynchronous mode](/docs/foundation-models/concepts/#working-mode).
|
|
43
|
+
"""
|
|
44
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
45
|
+
context.set_details('Method not implemented!')
|
|
46
|
+
raise NotImplementedError('Method not implemented!')
|
|
47
|
+
|
|
35
48
|
def Get(self, request, context):
|
|
36
49
|
"""Retrieves details of a specific file that has been indexed within a search index.
|
|
37
50
|
"""
|
|
@@ -49,6 +62,11 @@ class SearchIndexFileServiceServicer(object):
|
|
|
49
62
|
|
|
50
63
|
def add_SearchIndexFileServiceServicer_to_server(servicer, server):
|
|
51
64
|
rpc_method_handlers = {
|
|
65
|
+
'BatchCreate': grpc.unary_unary_rpc_method_handler(
|
|
66
|
+
servicer.BatchCreate,
|
|
67
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.BatchCreateSearchIndexFileRequest.FromString,
|
|
68
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
69
|
+
),
|
|
52
70
|
'Get': grpc.unary_unary_rpc_method_handler(
|
|
53
71
|
servicer.Get,
|
|
54
72
|
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.GetSearchIndexFileRequest.FromString,
|
|
@@ -67,9 +85,26 @@ def add_SearchIndexFileServiceServicer_to_server(servicer, server):
|
|
|
67
85
|
|
|
68
86
|
# This class is part of an EXPERIMENTAL API.
|
|
69
87
|
class SearchIndexFileService(object):
|
|
70
|
-
"""
|
|
88
|
+
"""SearchIndexFileService provides operations for managing files within search indexes.
|
|
71
89
|
"""
|
|
72
90
|
|
|
91
|
+
@staticmethod
|
|
92
|
+
def BatchCreate(request,
|
|
93
|
+
target,
|
|
94
|
+
options=(),
|
|
95
|
+
channel_credentials=None,
|
|
96
|
+
call_credentials=None,
|
|
97
|
+
insecure=False,
|
|
98
|
+
compression=None,
|
|
99
|
+
wait_for_ready=None,
|
|
100
|
+
timeout=None,
|
|
101
|
+
metadata=None):
|
|
102
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.assistants.v1.searchindex.SearchIndexFileService/BatchCreate',
|
|
103
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_dot_search__index__file__service__pb2.BatchCreateSearchIndexFileRequest.SerializeToString,
|
|
104
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
105
|
+
options, channel_credentials,
|
|
106
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
107
|
+
|
|
73
108
|
@staticmethod
|
|
74
109
|
def Get(request,
|
|
75
110
|
target,
|
|
@@ -10,6 +10,7 @@ import grpc.aio
|
|
|
10
10
|
import typing
|
|
11
11
|
import yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2
|
|
12
12
|
import yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2
|
|
13
|
+
import yandex.cloud.operation.operation_pb2
|
|
13
14
|
|
|
14
15
|
_T = typing.TypeVar("_T")
|
|
15
16
|
|
|
@@ -19,9 +20,15 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
19
20
|
...
|
|
20
21
|
|
|
21
22
|
class SearchIndexFileServiceStub:
|
|
22
|
-
"""
|
|
23
|
+
"""SearchIndexFileService provides operations for managing files within search indexes."""
|
|
23
24
|
|
|
24
25
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
26
|
+
BatchCreate: grpc.UnaryUnaryMultiCallable[
|
|
27
|
+
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.BatchCreateSearchIndexFileRequest,
|
|
28
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
29
|
+
]
|
|
30
|
+
"""Creates multiple files within a search index in [asynchronous mode](/docs/foundation-models/concepts/#working-mode)."""
|
|
31
|
+
|
|
25
32
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
26
33
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.GetSearchIndexFileRequest,
|
|
27
34
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile,
|
|
@@ -35,7 +42,13 @@ class SearchIndexFileServiceStub:
|
|
|
35
42
|
"""List files that are indexed within a specific search index."""
|
|
36
43
|
|
|
37
44
|
class SearchIndexFileServiceAsyncStub:
|
|
38
|
-
"""
|
|
45
|
+
"""SearchIndexFileService provides operations for managing files within search indexes."""
|
|
46
|
+
|
|
47
|
+
BatchCreate: grpc.aio.UnaryUnaryMultiCallable[
|
|
48
|
+
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.BatchCreateSearchIndexFileRequest,
|
|
49
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
50
|
+
]
|
|
51
|
+
"""Creates multiple files within a search index in [asynchronous mode](/docs/foundation-models/concepts/#working-mode)."""
|
|
39
52
|
|
|
40
53
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
41
54
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.GetSearchIndexFileRequest,
|
|
@@ -50,7 +63,15 @@ class SearchIndexFileServiceAsyncStub:
|
|
|
50
63
|
"""List files that are indexed within a specific search index."""
|
|
51
64
|
|
|
52
65
|
class SearchIndexFileServiceServicer(metaclass=abc.ABCMeta):
|
|
53
|
-
"""
|
|
66
|
+
"""SearchIndexFileService provides operations for managing files within search indexes."""
|
|
67
|
+
|
|
68
|
+
@abc.abstractmethod
|
|
69
|
+
def BatchCreate(
|
|
70
|
+
self,
|
|
71
|
+
request: yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.BatchCreateSearchIndexFileRequest,
|
|
72
|
+
context: _ServicerContext,
|
|
73
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
74
|
+
"""Creates multiple files within a search index in [asynchronous mode](/docs/foundation-models/concepts/#working-mode)."""
|
|
54
75
|
|
|
55
76
|
@abc.abstractmethod
|
|
56
77
|
def Get(
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/ai/dataset/v1/dataset.proto\x12\x1ayandex.cloud.ai.dataset.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/ai/dataset/v1/dataset.proto\x12\x1ayandex.cloud.ai.dataset.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa5\x05\n\x0b\x44\x61tasetInfo\x12\x12\n\ndataset_id\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\x10\n\x08metadata\x18\x05 \x01(\t\x12>\n\x06status\x18\x06 \x01(\x0e\x32..yandex.cloud.ai.dataset.v1.DatasetInfo.Status\x12\x11\n\ttask_type\x18\x07 \x01(\t\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04rows\x18\n \x01(\x03\x12\x12\n\nsize_bytes\x18\x0b \x01(\x03\x12\x19\n\rcreated_by_id\x18\x0c \x01(\tB\x02\x18\x01\x12\x43\n\x06labels\x18\r \x03(\x0b\x32\x33.yandex.cloud.ai.dataset.v1.DatasetInfo.LabelsEntry\x12\x12\n\ncreated_by\x18\x0e \x01(\t\x12\x12\n\nupdated_by\x18\x0f \x01(\t\x12\x45\n\x10validation_error\x18\x15 \x03(\x0b\x32+.yandex.cloud.ai.dataset.v1.ValidationError\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"a\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0e\n\nVALIDATING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0b\n\x07INVALID\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05J\x04\x08\x10\x10\x15\"P\n\x0fValidationError\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x19\n\x11\x65rror_description\x18\x02 \x01(\t\x12\x13\n\x0brow_numbers\x18\x03 \x03(\x03\x42\x65\n\x1eyandex.cloud.api.ai.dataset.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/dataset/v1;fomob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -24,12 +24,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
24
24
|
DESCRIPTOR._serialized_options = b'\n\036yandex.cloud.api.ai.dataset.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/dataset/v1;fomo'
|
|
25
25
|
_DATASETINFO_LABELSENTRY._options = None
|
|
26
26
|
_DATASETINFO_LABELSENTRY._serialized_options = b'8\001'
|
|
27
|
+
_DATASETINFO.fields_by_name['created_by_id']._options = None
|
|
28
|
+
_DATASETINFO.fields_by_name['created_by_id']._serialized_options = b'\030\001'
|
|
27
29
|
_globals['_DATASETINFO']._serialized_start=106
|
|
28
|
-
_globals['_DATASETINFO']._serialized_end=
|
|
29
|
-
_globals['_DATASETINFO_LABELSENTRY']._serialized_start=
|
|
30
|
-
_globals['_DATASETINFO_LABELSENTRY']._serialized_end=
|
|
31
|
-
_globals['_DATASETINFO_STATUS']._serialized_start=
|
|
32
|
-
_globals['_DATASETINFO_STATUS']._serialized_end=
|
|
33
|
-
_globals['_VALIDATIONERROR']._serialized_start=
|
|
34
|
-
_globals['_VALIDATIONERROR']._serialized_end=
|
|
30
|
+
_globals['_DATASETINFO']._serialized_end=783
|
|
31
|
+
_globals['_DATASETINFO_LABELSENTRY']._serialized_start=633
|
|
32
|
+
_globals['_DATASETINFO_LABELSENTRY']._serialized_end=678
|
|
33
|
+
_globals['_DATASETINFO_STATUS']._serialized_start=680
|
|
34
|
+
_globals['_DATASETINFO_STATUS']._serialized_end=777
|
|
35
|
+
_globals['_VALIDATIONERROR']._serialized_start=785
|
|
36
|
+
_globals['_VALIDATIONERROR']._serialized_end=865
|
|
35
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -78,6 +78,9 @@ class DatasetInfo(google.protobuf.message.Message):
|
|
|
78
78
|
SIZE_BYTES_FIELD_NUMBER: builtins.int
|
|
79
79
|
CREATED_BY_ID_FIELD_NUMBER: builtins.int
|
|
80
80
|
LABELS_FIELD_NUMBER: builtins.int
|
|
81
|
+
CREATED_BY_FIELD_NUMBER: builtins.int
|
|
82
|
+
UPDATED_BY_FIELD_NUMBER: builtins.int
|
|
83
|
+
VALIDATION_ERROR_FIELD_NUMBER: builtins.int
|
|
81
84
|
dataset_id: builtins.str
|
|
82
85
|
"""ID of the dataset."""
|
|
83
86
|
folder_id: builtins.str
|
|
@@ -97,7 +100,11 @@ class DatasetInfo(google.protobuf.message.Message):
|
|
|
97
100
|
size_bytes: builtins.int
|
|
98
101
|
"""Size of the dataset."""
|
|
99
102
|
created_by_id: builtins.str
|
|
103
|
+
"""Deprecated. Use created_by instead"""
|
|
104
|
+
created_by: builtins.str
|
|
100
105
|
"""User ID of the dataset's creator."""
|
|
106
|
+
updated_by: builtins.str
|
|
107
|
+
"""User ID of the dataset's last updater."""
|
|
101
108
|
@property
|
|
102
109
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
103
110
|
"""Create dataset timestamp."""
|
|
@@ -110,6 +117,8 @@ class DatasetInfo(google.protobuf.message.Message):
|
|
|
110
117
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
111
118
|
"""Labels of the dataset"""
|
|
112
119
|
|
|
120
|
+
@property
|
|
121
|
+
def validation_error(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ValidationError]: ...
|
|
113
122
|
def __init__(
|
|
114
123
|
self,
|
|
115
124
|
*,
|
|
@@ -126,9 +135,12 @@ class DatasetInfo(google.protobuf.message.Message):
|
|
|
126
135
|
size_bytes: builtins.int = ...,
|
|
127
136
|
created_by_id: builtins.str = ...,
|
|
128
137
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
138
|
+
created_by: builtins.str = ...,
|
|
139
|
+
updated_by: builtins.str = ...,
|
|
140
|
+
validation_error: collections.abc.Iterable[global___ValidationError] | None = ...,
|
|
129
141
|
) -> None: ...
|
|
130
142
|
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
131
|
-
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by_id", b"created_by_id", "dataset_id", b"dataset_id", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "metadata", b"metadata", "name", b"name", "rows", b"rows", "size_bytes", b"size_bytes", "status", b"status", "task_type", b"task_type", "updated_at", b"updated_at"]) -> None: ...
|
|
143
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by", b"created_by", "created_by_id", b"created_by_id", "dataset_id", b"dataset_id", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "metadata", b"metadata", "name", b"name", "rows", b"rows", "size_bytes", b"size_bytes", "status", b"status", "task_type", b"task_type", "updated_at", b"updated_at", "updated_by", b"updated_by", "validation_error", b"validation_error"]) -> None: ...
|
|
132
144
|
|
|
133
145
|
global___DatasetInfo = DatasetInfo
|
|
134
146
|
|
|
@@ -18,7 +18,7 @@ from yandex.cloud.ai.dataset.v1 import dataset_pb2 as yandex_dot_cloud_dot_ai_do
|
|
|
18
18
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/ai/dataset/v1/dataset_service.proto\x12\x1ayandex.cloud.ai.dataset.v1\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a(yandex/cloud/ai/dataset/v1/dataset.proto\x1a google/protobuf/field_mask.proto\"2\n\x16\x44\x65scribeDatasetRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"S\n\x17\x44\x65scribeDatasetResponse\x12\x38\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\'.yandex.cloud.ai.dataset.v1.DatasetInfo\"2\n\x16ValidateDatasetRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"Y\n\x17ValidateDatasetMetadata\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x12\n\nvalid_rows\x18\x02 \x01(\x03\x12\x16\n\x0eprocessed_rows\x18\x03 \x01(\x03\"|\n\x17ValidateDatasetResponse\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x10\n\x08is_valid\x18\x02 \x01(\x08\x12;\n\x06\x65rrors\x18\x03 \x03(\x0b\x32+.yandex.cloud.ai.dataset.v1.ValidationError\"0\n\x14\x44\x65leteDatasetRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x17\n\x15\x44\x65leteDatasetResponse\"\
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/ai/dataset/v1/dataset_service.proto\x12\x1ayandex.cloud.ai.dataset.v1\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a(yandex/cloud/ai/dataset/v1/dataset.proto\x1a google/protobuf/field_mask.proto\"2\n\x16\x44\x65scribeDatasetRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"S\n\x17\x44\x65scribeDatasetResponse\x12\x38\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\'.yandex.cloud.ai.dataset.v1.DatasetInfo\"2\n\x16ValidateDatasetRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"Y\n\x17ValidateDatasetMetadata\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x12\n\nvalid_rows\x18\x02 \x01(\x03\x12\x16\n\x0eprocessed_rows\x18\x03 \x01(\x03\"|\n\x17ValidateDatasetResponse\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x10\n\x08is_valid\x18\x02 \x01(\x08\x12;\n\x06\x65rrors\x18\x03 \x03(\x0b\x32+.yandex.cloud.ai.dataset.v1.ValidationError\"0\n\x14\x44\x65leteDatasetRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x17\n\x15\x44\x65leteDatasetResponse\"\xbd\x02\n\x14\x43reateDatasetRequest\x12\x1a\n\x04name\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=63\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x10\n\x08metadata\x18\x04 \x01(\t\x12\x1f\n\ttask_type\x18\x05 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12L\n\x06labels\x18\x06 \x03(\x0b\x32<.yandex.cloud.ai.dataset.v1.CreateDatasetRequest.LabelsEntry\x12#\n\rupload_format\x18\x07 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"e\n\x15\x43reateDatasetResponse\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x38\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32\'.yandex.cloud.ai.dataset.v1.DatasetInfo\"\x81\x02\n\x14UpdateDatasetRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12L\n\x06labels\x18\x05 \x03(\x0b\x32<.yandex.cloud.ai.dataset.v1.UpdateDatasetRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\x15UpdateDatasetResponse\x12\x38\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\'.yandex.cloud.ai.dataset.v1.DatasetInfo\"P\n\x18GetUploadDraftUrlRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1a\n\nsize_bytes\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\"C\n\x19GetUploadDraftUrlResponse\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x12\n\nupload_url\x18\x02 \x01(\t\"g\n StartMultipartUploadDraftRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1a\n\nsize_bytes\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\x12\r\n\x05parts\x18\x03 \x01(\x03\"V\n!StartMultipartUploadDraftResponse\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x1d\n\x15multipart_upload_urls\x18\x02 \x03(\t\"E\n\x10UploadedPartInfo\x12\x1d\n\x08part_num\x18\x01 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31-10000\x12\x12\n\x04\x65tag\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"\x83\x01\n!FinishMultipartUploadDraftRequest\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x44\n\x0euploaded_parts\x18\x02 \x03(\x0b\x32,.yandex.cloud.ai.dataset.v1.UploadedPartInfo\"8\n\"FinishMultipartUploadDraftResponse\x12\x12\n\ndataset_id\x18\x01 \x01(\t\"\xcd\x01\n\x13ListDatasetsRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12>\n\x06status\x18\x02 \x01(\x0e\x32..yandex.cloud.ai.dataset.v1.DatasetInfo.Status\x12\x1c\n\x14\x64\x61taset_name_pattern\x18\x03 \x01(\t\x12\x18\n\x10task_type_filter\x18\x04 \x01(\t\x12\x11\n\tpage_size\x18\x05 \x01(\x03\x12\x12\n\npage_token\x18\x06 \x01(\t\"j\n\x14ListDatasetsResponse\x12\x39\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32\'.yandex.cloud.ai.dataset.v1.DatasetInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"3\n\x18ListUploadFormatsRequest\x12\x17\n\ttask_type\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\",\n\x19ListUploadFormatsResponse\x12\x0f\n\x07\x66ormats\x18\x01 \x03(\t\"\x12\n\x10ListTypesRequest\"\"\n\x11ListTypesResponse\x12\r\n\x05types\x18\x01 \x03(\t2\x82\x0b\n\x0e\x44\x61tasetService\x12s\n\x08\x44\x65scribe\x12\x32.yandex.cloud.ai.dataset.v1.DescribeDatasetRequest\x1a\x33.yandex.cloud.ai.dataset.v1.DescribeDatasetResponse\x12\x99\x01\n\x08Validate\x12\x32.yandex.cloud.ai.dataset.v1.ValidateDatasetRequest\x1a!.yandex.cloud.operation.Operation\"6\xb2\xd2*2\n\x17ValidateDatasetMetadata\x12\x17ValidateDatasetResponse\x12m\n\x06\x43reate\x12\x30.yandex.cloud.ai.dataset.v1.CreateDatasetRequest\x1a\x31.yandex.cloud.ai.dataset.v1.CreateDatasetResponse\x12m\n\x06Update\x12\x30.yandex.cloud.ai.dataset.v1.UpdateDatasetRequest\x1a\x31.yandex.cloud.ai.dataset.v1.UpdateDatasetResponse\x12m\n\x06\x44\x65lete\x12\x30.yandex.cloud.ai.dataset.v1.DeleteDatasetRequest\x1a\x31.yandex.cloud.ai.dataset.v1.DeleteDatasetResponse\x12i\n\x04List\x12/.yandex.cloud.ai.dataset.v1.ListDatasetsRequest\x1a\x30.yandex.cloud.ai.dataset.v1.ListDatasetsResponse\x12\x80\x01\n\x11ListUploadFormats\x12\x34.yandex.cloud.ai.dataset.v1.ListUploadFormatsRequest\x1a\x35.yandex.cloud.ai.dataset.v1.ListUploadFormatsResponse\x12\x80\x01\n\x11GetUploadDraftUrl\x12\x34.yandex.cloud.ai.dataset.v1.GetUploadDraftUrlRequest\x1a\x35.yandex.cloud.ai.dataset.v1.GetUploadDraftUrlResponse\x12\x98\x01\n\x19StartMultipartUploadDraft\x12<.yandex.cloud.ai.dataset.v1.StartMultipartUploadDraftRequest\x1a=.yandex.cloud.ai.dataset.v1.StartMultipartUploadDraftResponse\x12\x9b\x01\n\x1a\x46inishMultipartUploadDraft\x12=.yandex.cloud.ai.dataset.v1.FinishMultipartUploadDraftRequest\x1a>.yandex.cloud.ai.dataset.v1.FinishMultipartUploadDraftResponse\x12h\n\tListTypes\x12,.yandex.cloud.ai.dataset.v1.ListTypesRequest\x1a-.yandex.cloud.ai.dataset.v1.ListTypesResponseBe\n\x1eyandex.cloud.api.ai.dataset.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/dataset/v1;fomob\x06proto3')
|
|
22
22
|
|
|
23
23
|
_globals = globals()
|
|
24
24
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,11 +35,13 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
35
35
|
_CREATEDATASETREQUEST_LABELSENTRY._options = None
|
|
36
36
|
_CREATEDATASETREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
37
37
|
_CREATEDATASETREQUEST.fields_by_name['name']._options = None
|
|
38
|
-
_CREATEDATASETREQUEST.fields_by_name['name']._serialized_options = b'\350\3071\001'
|
|
38
|
+
_CREATEDATASETREQUEST.fields_by_name['name']._serialized_options = b'\350\3071\001\212\3101\004<=63'
|
|
39
39
|
_CREATEDATASETREQUEST.fields_by_name['folder_id']._options = None
|
|
40
|
-
_CREATEDATASETREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
40
|
+
_CREATEDATASETREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
41
41
|
_CREATEDATASETREQUEST.fields_by_name['task_type']._options = None
|
|
42
|
-
_CREATEDATASETREQUEST.fields_by_name['task_type']._serialized_options = b'\350\3071\001'
|
|
42
|
+
_CREATEDATASETREQUEST.fields_by_name['task_type']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
43
|
+
_CREATEDATASETREQUEST.fields_by_name['upload_format']._options = None
|
|
44
|
+
_CREATEDATASETREQUEST.fields_by_name['upload_format']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
43
45
|
_UPDATEDATASETREQUEST_LABELSENTRY._options = None
|
|
44
46
|
_UPDATEDATASETREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
45
47
|
_UPDATEDATASETREQUEST.fields_by_name['dataset_id']._options = None
|
|
@@ -79,39 +81,43 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
79
81
|
_globals['_DELETEDATASETRESPONSE']._serialized_start=717
|
|
80
82
|
_globals['_DELETEDATASETRESPONSE']._serialized_end=740
|
|
81
83
|
_globals['_CREATEDATASETREQUEST']._serialized_start=743
|
|
82
|
-
_globals['_CREATEDATASETREQUEST']._serialized_end=
|
|
83
|
-
_globals['_CREATEDATASETREQUEST_LABELSENTRY']._serialized_start=
|
|
84
|
-
_globals['_CREATEDATASETREQUEST_LABELSENTRY']._serialized_end=
|
|
85
|
-
_globals['_CREATEDATASETRESPONSE']._serialized_start=
|
|
86
|
-
_globals['_CREATEDATASETRESPONSE']._serialized_end=
|
|
87
|
-
_globals['_UPDATEDATASETREQUEST']._serialized_start=
|
|
88
|
-
_globals['_UPDATEDATASETREQUEST']._serialized_end=
|
|
89
|
-
_globals['_UPDATEDATASETREQUEST_LABELSENTRY']._serialized_start=
|
|
90
|
-
_globals['_UPDATEDATASETREQUEST_LABELSENTRY']._serialized_end=
|
|
91
|
-
_globals['_UPDATEDATASETRESPONSE']._serialized_start=
|
|
92
|
-
_globals['_UPDATEDATASETRESPONSE']._serialized_end=
|
|
93
|
-
_globals['_GETUPLOADDRAFTURLREQUEST']._serialized_start=
|
|
94
|
-
_globals['_GETUPLOADDRAFTURLREQUEST']._serialized_end=
|
|
95
|
-
_globals['_GETUPLOADDRAFTURLRESPONSE']._serialized_start=
|
|
96
|
-
_globals['_GETUPLOADDRAFTURLRESPONSE']._serialized_end=
|
|
97
|
-
_globals['_STARTMULTIPARTUPLOADDRAFTREQUEST']._serialized_start=
|
|
98
|
-
_globals['_STARTMULTIPARTUPLOADDRAFTREQUEST']._serialized_end=
|
|
99
|
-
_globals['_STARTMULTIPARTUPLOADDRAFTRESPONSE']._serialized_start=
|
|
100
|
-
_globals['_STARTMULTIPARTUPLOADDRAFTRESPONSE']._serialized_end=
|
|
101
|
-
_globals['_UPLOADEDPARTINFO']._serialized_start=
|
|
102
|
-
_globals['_UPLOADEDPARTINFO']._serialized_end=
|
|
103
|
-
_globals['_FINISHMULTIPARTUPLOADDRAFTREQUEST']._serialized_start=
|
|
104
|
-
_globals['_FINISHMULTIPARTUPLOADDRAFTREQUEST']._serialized_end=
|
|
105
|
-
_globals['_FINISHMULTIPARTUPLOADDRAFTRESPONSE']._serialized_start=
|
|
106
|
-
_globals['_FINISHMULTIPARTUPLOADDRAFTRESPONSE']._serialized_end=
|
|
107
|
-
_globals['_LISTDATASETSREQUEST']._serialized_start=
|
|
108
|
-
_globals['_LISTDATASETSREQUEST']._serialized_end=
|
|
109
|
-
_globals['_LISTDATASETSRESPONSE']._serialized_start=
|
|
110
|
-
_globals['_LISTDATASETSRESPONSE']._serialized_end=
|
|
111
|
-
_globals['_LISTUPLOADFORMATSREQUEST']._serialized_start=
|
|
112
|
-
_globals['_LISTUPLOADFORMATSREQUEST']._serialized_end=
|
|
113
|
-
_globals['_LISTUPLOADFORMATSRESPONSE']._serialized_start=
|
|
114
|
-
_globals['_LISTUPLOADFORMATSRESPONSE']._serialized_end=
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
84
|
+
_globals['_CREATEDATASETREQUEST']._serialized_end=1060
|
|
85
|
+
_globals['_CREATEDATASETREQUEST_LABELSENTRY']._serialized_start=1015
|
|
86
|
+
_globals['_CREATEDATASETREQUEST_LABELSENTRY']._serialized_end=1060
|
|
87
|
+
_globals['_CREATEDATASETRESPONSE']._serialized_start=1062
|
|
88
|
+
_globals['_CREATEDATASETRESPONSE']._serialized_end=1163
|
|
89
|
+
_globals['_UPDATEDATASETREQUEST']._serialized_start=1166
|
|
90
|
+
_globals['_UPDATEDATASETREQUEST']._serialized_end=1423
|
|
91
|
+
_globals['_UPDATEDATASETREQUEST_LABELSENTRY']._serialized_start=1015
|
|
92
|
+
_globals['_UPDATEDATASETREQUEST_LABELSENTRY']._serialized_end=1060
|
|
93
|
+
_globals['_UPDATEDATASETRESPONSE']._serialized_start=1425
|
|
94
|
+
_globals['_UPDATEDATASETRESPONSE']._serialized_end=1506
|
|
95
|
+
_globals['_GETUPLOADDRAFTURLREQUEST']._serialized_start=1508
|
|
96
|
+
_globals['_GETUPLOADDRAFTURLREQUEST']._serialized_end=1588
|
|
97
|
+
_globals['_GETUPLOADDRAFTURLRESPONSE']._serialized_start=1590
|
|
98
|
+
_globals['_GETUPLOADDRAFTURLRESPONSE']._serialized_end=1657
|
|
99
|
+
_globals['_STARTMULTIPARTUPLOADDRAFTREQUEST']._serialized_start=1659
|
|
100
|
+
_globals['_STARTMULTIPARTUPLOADDRAFTREQUEST']._serialized_end=1762
|
|
101
|
+
_globals['_STARTMULTIPARTUPLOADDRAFTRESPONSE']._serialized_start=1764
|
|
102
|
+
_globals['_STARTMULTIPARTUPLOADDRAFTRESPONSE']._serialized_end=1850
|
|
103
|
+
_globals['_UPLOADEDPARTINFO']._serialized_start=1852
|
|
104
|
+
_globals['_UPLOADEDPARTINFO']._serialized_end=1921
|
|
105
|
+
_globals['_FINISHMULTIPARTUPLOADDRAFTREQUEST']._serialized_start=1924
|
|
106
|
+
_globals['_FINISHMULTIPARTUPLOADDRAFTREQUEST']._serialized_end=2055
|
|
107
|
+
_globals['_FINISHMULTIPARTUPLOADDRAFTRESPONSE']._serialized_start=2057
|
|
108
|
+
_globals['_FINISHMULTIPARTUPLOADDRAFTRESPONSE']._serialized_end=2113
|
|
109
|
+
_globals['_LISTDATASETSREQUEST']._serialized_start=2116
|
|
110
|
+
_globals['_LISTDATASETSREQUEST']._serialized_end=2321
|
|
111
|
+
_globals['_LISTDATASETSRESPONSE']._serialized_start=2323
|
|
112
|
+
_globals['_LISTDATASETSRESPONSE']._serialized_end=2429
|
|
113
|
+
_globals['_LISTUPLOADFORMATSREQUEST']._serialized_start=2431
|
|
114
|
+
_globals['_LISTUPLOADFORMATSREQUEST']._serialized_end=2482
|
|
115
|
+
_globals['_LISTUPLOADFORMATSRESPONSE']._serialized_start=2484
|
|
116
|
+
_globals['_LISTUPLOADFORMATSRESPONSE']._serialized_end=2528
|
|
117
|
+
_globals['_LISTTYPESREQUEST']._serialized_start=2530
|
|
118
|
+
_globals['_LISTTYPESREQUEST']._serialized_end=2548
|
|
119
|
+
_globals['_LISTTYPESRESPONSE']._serialized_start=2550
|
|
120
|
+
_globals['_LISTTYPESRESPONSE']._serialized_end=2584
|
|
121
|
+
_globals['_DATASETSERVICE']._serialized_start=2587
|
|
122
|
+
_globals['_DATASETSERVICE']._serialized_end=3997
|
|
117
123
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -450,20 +450,38 @@ class ListDatasetsRequest(google.protobuf.message.Message):
|
|
|
450
450
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
451
451
|
STATUS_FIELD_NUMBER: builtins.int
|
|
452
452
|
DATASET_NAME_PATTERN_FIELD_NUMBER: builtins.int
|
|
453
|
+
TASK_TYPE_FILTER_FIELD_NUMBER: builtins.int
|
|
454
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
455
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
453
456
|
folder_id: builtins.str
|
|
454
457
|
"""Folder ID of the datasets to list."""
|
|
455
458
|
status: yandex.cloud.ai.dataset.v1.dataset_pb2.DatasetInfo.Status.ValueType
|
|
456
459
|
"""Status of the datasets to list. Optional."""
|
|
457
460
|
dataset_name_pattern: builtins.str
|
|
458
461
|
"""Name substring of the datasets to list. Optional."""
|
|
462
|
+
task_type_filter: builtins.str
|
|
463
|
+
"""Task type of the datasets to list. Optional."""
|
|
464
|
+
page_size: builtins.int
|
|
465
|
+
"""The maximum number of results per page to return. If the number of available
|
|
466
|
+
results is larger than [page_size],
|
|
467
|
+
the service returns a [ListDatasetsResponse.next_page_token]
|
|
468
|
+
that can be used to get the next page of results in subsequent list requests. Default value: 100.
|
|
469
|
+
"""
|
|
470
|
+
page_token: builtins.str
|
|
471
|
+
"""Page token. To get the next page of results, set [page_token] to the
|
|
472
|
+
[ListDatasetsResponse.next_page_token] returned by a previous list request.
|
|
473
|
+
"""
|
|
459
474
|
def __init__(
|
|
460
475
|
self,
|
|
461
476
|
*,
|
|
462
477
|
folder_id: builtins.str = ...,
|
|
463
478
|
status: yandex.cloud.ai.dataset.v1.dataset_pb2.DatasetInfo.Status.ValueType = ...,
|
|
464
479
|
dataset_name_pattern: builtins.str = ...,
|
|
480
|
+
task_type_filter: builtins.str = ...,
|
|
481
|
+
page_size: builtins.int = ...,
|
|
482
|
+
page_token: builtins.str = ...,
|
|
465
483
|
) -> None: ...
|
|
466
|
-
def ClearField(self, field_name: typing.Literal["dataset_name_pattern", b"dataset_name_pattern", "folder_id", b"folder_id", "status", b"status"]) -> None: ...
|
|
484
|
+
def ClearField(self, field_name: typing.Literal["dataset_name_pattern", b"dataset_name_pattern", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token", "status", b"status", "task_type_filter", b"task_type_filter"]) -> None: ...
|
|
467
485
|
|
|
468
486
|
global___ListDatasetsRequest = ListDatasetsRequest
|
|
469
487
|
|
|
@@ -472,6 +490,14 @@ class ListDatasetsResponse(google.protobuf.message.Message):
|
|
|
472
490
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
473
491
|
|
|
474
492
|
DATASETS_FIELD_NUMBER: builtins.int
|
|
493
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
494
|
+
next_page_token: builtins.str
|
|
495
|
+
"""[next_page_token] token allows you to get the next page of results for list requests.
|
|
496
|
+
If the number of results is larger than [ListDatasetsRequest.page_size], use
|
|
497
|
+
the [next_page_token] as the value for the [ListDatasetsRequest.page_token] query parameter
|
|
498
|
+
in the next list request. Each subsequent list request will have its own
|
|
499
|
+
[next_page_token] to continue paging through the results.
|
|
500
|
+
"""
|
|
475
501
|
@property
|
|
476
502
|
def datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.dataset.v1.dataset_pb2.DatasetInfo]:
|
|
477
503
|
"""Information about listed datasets."""
|
|
@@ -480,8 +506,9 @@ class ListDatasetsResponse(google.protobuf.message.Message):
|
|
|
480
506
|
self,
|
|
481
507
|
*,
|
|
482
508
|
datasets: collections.abc.Iterable[yandex.cloud.ai.dataset.v1.dataset_pb2.DatasetInfo] | None = ...,
|
|
509
|
+
next_page_token: builtins.str = ...,
|
|
483
510
|
) -> None: ...
|
|
484
|
-
def ClearField(self, field_name: typing.Literal["datasets", b"datasets"]) -> None: ...
|
|
511
|
+
def ClearField(self, field_name: typing.Literal["datasets", b"datasets", "next_page_token", b"next_page_token"]) -> None: ...
|
|
485
512
|
|
|
486
513
|
global___ListDatasetsResponse = ListDatasetsResponse
|
|
487
514
|
|
|
@@ -518,3 +545,31 @@ class ListUploadFormatsResponse(google.protobuf.message.Message):
|
|
|
518
545
|
def ClearField(self, field_name: typing.Literal["formats", b"formats"]) -> None: ...
|
|
519
546
|
|
|
520
547
|
global___ListUploadFormatsResponse = ListUploadFormatsResponse
|
|
548
|
+
|
|
549
|
+
@typing.final
|
|
550
|
+
class ListTypesRequest(google.protobuf.message.Message):
|
|
551
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
552
|
+
|
|
553
|
+
def __init__(
|
|
554
|
+
self,
|
|
555
|
+
) -> None: ...
|
|
556
|
+
|
|
557
|
+
global___ListTypesRequest = ListTypesRequest
|
|
558
|
+
|
|
559
|
+
@typing.final
|
|
560
|
+
class ListTypesResponse(google.protobuf.message.Message):
|
|
561
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
562
|
+
|
|
563
|
+
TYPES_FIELD_NUMBER: builtins.int
|
|
564
|
+
@property
|
|
565
|
+
def types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
566
|
+
"""List of dataset type"""
|
|
567
|
+
|
|
568
|
+
def __init__(
|
|
569
|
+
self,
|
|
570
|
+
*,
|
|
571
|
+
types: collections.abc.Iterable[builtins.str] | None = ...,
|
|
572
|
+
) -> None: ...
|
|
573
|
+
def ClearField(self, field_name: typing.Literal["types", b"types"]) -> None: ...
|
|
574
|
+
|
|
575
|
+
global___ListTypesResponse = ListTypesResponse
|
|
@@ -66,6 +66,11 @@ class DatasetServiceStub(object):
|
|
|
66
66
|
request_serializer=yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.FinishMultipartUploadDraftRequest.SerializeToString,
|
|
67
67
|
response_deserializer=yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.FinishMultipartUploadDraftResponse.FromString,
|
|
68
68
|
)
|
|
69
|
+
self.ListTypes = channel.unary_unary(
|
|
70
|
+
'/yandex.cloud.ai.dataset.v1.DatasetService/ListTypes',
|
|
71
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.ListTypesRequest.SerializeToString,
|
|
72
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.ListTypesResponse.FromString,
|
|
73
|
+
)
|
|
69
74
|
|
|
70
75
|
|
|
71
76
|
class DatasetServiceServicer(object):
|
|
@@ -143,6 +148,13 @@ class DatasetServiceServicer(object):
|
|
|
143
148
|
context.set_details('Method not implemented!')
|
|
144
149
|
raise NotImplementedError('Method not implemented!')
|
|
145
150
|
|
|
151
|
+
def ListTypes(self, request, context):
|
|
152
|
+
"""Returns a list of dataset types
|
|
153
|
+
"""
|
|
154
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
155
|
+
context.set_details('Method not implemented!')
|
|
156
|
+
raise NotImplementedError('Method not implemented!')
|
|
157
|
+
|
|
146
158
|
|
|
147
159
|
def add_DatasetServiceServicer_to_server(servicer, server):
|
|
148
160
|
rpc_method_handlers = {
|
|
@@ -196,6 +208,11 @@ def add_DatasetServiceServicer_to_server(servicer, server):
|
|
|
196
208
|
request_deserializer=yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.FinishMultipartUploadDraftRequest.FromString,
|
|
197
209
|
response_serializer=yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.FinishMultipartUploadDraftResponse.SerializeToString,
|
|
198
210
|
),
|
|
211
|
+
'ListTypes': grpc.unary_unary_rpc_method_handler(
|
|
212
|
+
servicer.ListTypes,
|
|
213
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.ListTypesRequest.FromString,
|
|
214
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.ListTypesResponse.SerializeToString,
|
|
215
|
+
),
|
|
199
216
|
}
|
|
200
217
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
201
218
|
'yandex.cloud.ai.dataset.v1.DatasetService', rpc_method_handlers)
|
|
@@ -376,3 +393,20 @@ class DatasetService(object):
|
|
|
376
393
|
yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.FinishMultipartUploadDraftResponse.FromString,
|
|
377
394
|
options, channel_credentials,
|
|
378
395
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
396
|
+
|
|
397
|
+
@staticmethod
|
|
398
|
+
def ListTypes(request,
|
|
399
|
+
target,
|
|
400
|
+
options=(),
|
|
401
|
+
channel_credentials=None,
|
|
402
|
+
call_credentials=None,
|
|
403
|
+
insecure=False,
|
|
404
|
+
compression=None,
|
|
405
|
+
wait_for_ready=None,
|
|
406
|
+
timeout=None,
|
|
407
|
+
metadata=None):
|
|
408
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.dataset.v1.DatasetService/ListTypes',
|
|
409
|
+
yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.ListTypesRequest.SerializeToString,
|
|
410
|
+
yandex_dot_cloud_dot_ai_dot_dataset_dot_v1_dot_dataset__service__pb2.ListTypesResponse.FromString,
|
|
411
|
+
options, channel_credentials,
|
|
412
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|