yandexcloud 0.317.0__py3-none-any.whl → 0.318.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/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +101 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +88 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +293 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.pyi +127 -0
- yandex/cloud/ai/assistants/v1/common_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +40 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +154 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +237 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/searchindex/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +47 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +43 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +72 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +100 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +59 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +37 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +132 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +205 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +200 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +111 -0
- yandex/cloud/ai/assistants/v1/threads/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +176 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.py +55 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.py +133 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.pyi +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +200 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/users/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.py +75 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.pyi +195 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/common/__init__.py +0 -0
- yandex/cloud/ai/common/common_pb2.py +30 -0
- yandex/cloud/ai/common/common_pb2.pyi +69 -0
- yandex/cloud/ai/common/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/common/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/__init__.py +0 -0
- yandex/cloud/ai/files/v1/__init__.py +0 -0
- yandex/cloud/ai/files/v1/file_pb2.py +32 -0
- yandex/cloud/ai/files/v1/file_pb2.pyi +85 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.py +4 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/v1/file_service_pb2.py +85 -0
- yandex/cloud/ai/files/v1/file_service_pb2.pyi +228 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.pyi +127 -0
- yandex/cloud/backup/v1/provider_service_pb2.py +12 -10
- yandex/cloud/backup/v1/provider_service_pb2.pyi +5 -1
- yandex/cloud/billing/v1/customer_pb2.pyi +32 -8
- yandex/cloud/billing/v1/customer_service_pb2.pyi +10 -2
- yandex/cloud/cloudrouter/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +42 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +215 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.py +4 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +57 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +137 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +179 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +138 -0
- yandex/cloud/iam/v1/refresh_token_pb2.py +29 -0
- yandex/cloud/iam/v1/refresh_token_pb2.pyi +98 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.py +4 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.py +67 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.pyi +186 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.py +105 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.pyi +71 -0
- yandex/cloud/iam/v1/service_control_pb2.py +5 -5
- yandex/cloud/iam/v1/service_control_pb2.pyi +4 -0
- yandex/cloud/lockbox/v1/secret_pb2.py +23 -11
- yandex/cloud/lockbox/v1/secret_pb2.pyi +73 -4
- yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -46
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +14 -3
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +27 -25
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +16 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +81 -57
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +144 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +68 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +40 -0
- yandex/cloud/oauth/claims_pb2.py +8 -7
- yandex/cloud/oauth/claims_pb2.pyi +9 -2
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +1 -1
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +3 -1
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +2 -0
- yandex/cloud/storage/v1/s3api_pb2.py +35 -0
- yandex/cloud/storage/v1/s3api_pb2.pyi +181 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.py +4 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.pyi +17 -0
- yandexcloud/_sdk.py +1 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.318.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.318.0.dist-info}/RECORD +135 -28
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.318.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.318.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.318.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.318.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import yandex.cloud.ai.assistants.v1.threads.message_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class CreateMessageRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
@typing.final
|
|
21
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
22
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
23
|
+
|
|
24
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
25
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
26
|
+
key: builtins.str
|
|
27
|
+
value: builtins.str
|
|
28
|
+
def __init__(
|
|
29
|
+
self,
|
|
30
|
+
*,
|
|
31
|
+
key: builtins.str = ...,
|
|
32
|
+
value: builtins.str = ...,
|
|
33
|
+
) -> None: ...
|
|
34
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
35
|
+
|
|
36
|
+
THREAD_ID_FIELD_NUMBER: builtins.int
|
|
37
|
+
AUTHOR_FIELD_NUMBER: builtins.int
|
|
38
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
39
|
+
CONTENT_FIELD_NUMBER: builtins.int
|
|
40
|
+
thread_id: builtins.str
|
|
41
|
+
@property
|
|
42
|
+
def author(self) -> yandex.cloud.ai.assistants.v1.threads.message_pb2.Author: ...
|
|
43
|
+
@property
|
|
44
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
45
|
+
@property
|
|
46
|
+
def content(self) -> yandex.cloud.ai.assistants.v1.threads.message_pb2.MessageContent: ...
|
|
47
|
+
def __init__(
|
|
48
|
+
self,
|
|
49
|
+
*,
|
|
50
|
+
thread_id: builtins.str = ...,
|
|
51
|
+
author: yandex.cloud.ai.assistants.v1.threads.message_pb2.Author | None = ...,
|
|
52
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
53
|
+
content: yandex.cloud.ai.assistants.v1.threads.message_pb2.MessageContent | None = ...,
|
|
54
|
+
) -> None: ...
|
|
55
|
+
def HasField(self, field_name: typing.Literal["author", b"author", "content", b"content"]) -> builtins.bool: ...
|
|
56
|
+
def ClearField(self, field_name: typing.Literal["author", b"author", "content", b"content", "labels", b"labels", "thread_id", b"thread_id"]) -> None: ...
|
|
57
|
+
|
|
58
|
+
global___CreateMessageRequest = CreateMessageRequest
|
|
59
|
+
|
|
60
|
+
@typing.final
|
|
61
|
+
class GetMessageRequest(google.protobuf.message.Message):
|
|
62
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
63
|
+
|
|
64
|
+
THREAD_ID_FIELD_NUMBER: builtins.int
|
|
65
|
+
MESSAGE_ID_FIELD_NUMBER: builtins.int
|
|
66
|
+
thread_id: builtins.str
|
|
67
|
+
message_id: builtins.str
|
|
68
|
+
def __init__(
|
|
69
|
+
self,
|
|
70
|
+
*,
|
|
71
|
+
thread_id: builtins.str = ...,
|
|
72
|
+
message_id: builtins.str = ...,
|
|
73
|
+
) -> None: ...
|
|
74
|
+
def ClearField(self, field_name: typing.Literal["message_id", b"message_id", "thread_id", b"thread_id"]) -> None: ...
|
|
75
|
+
|
|
76
|
+
global___GetMessageRequest = GetMessageRequest
|
|
77
|
+
|
|
78
|
+
@typing.final
|
|
79
|
+
class ListMessagesRequest(google.protobuf.message.Message):
|
|
80
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
81
|
+
|
|
82
|
+
THREAD_ID_FIELD_NUMBER: builtins.int
|
|
83
|
+
thread_id: builtins.str
|
|
84
|
+
def __init__(
|
|
85
|
+
self,
|
|
86
|
+
*,
|
|
87
|
+
thread_id: builtins.str = ...,
|
|
88
|
+
) -> None: ...
|
|
89
|
+
def ClearField(self, field_name: typing.Literal["thread_id", b"thread_id"]) -> None: ...
|
|
90
|
+
|
|
91
|
+
global___ListMessagesRequest = ListMessagesRequest
|
|
@@ -0,0 +1,133 @@
|
|
|
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.threads import message_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2
|
|
6
|
+
from yandex.cloud.ai.assistants.v1.threads import message_service_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class MessageServiceStub(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.Create = channel.unary_unary(
|
|
19
|
+
'/yandex.cloud.ai.assistants.v1.threads.MessageService/Create',
|
|
20
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2.CreateMessageRequest.SerializeToString,
|
|
21
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2.Message.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.Get = channel.unary_unary(
|
|
24
|
+
'/yandex.cloud.ai.assistants.v1.threads.MessageService/Get',
|
|
25
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2.GetMessageRequest.SerializeToString,
|
|
26
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2.Message.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.List = channel.unary_stream(
|
|
29
|
+
'/yandex.cloud.ai.assistants.v1.threads.MessageService/List',
|
|
30
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2.ListMessagesRequest.SerializeToString,
|
|
31
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2.Message.FromString,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class MessageServiceServicer(object):
|
|
36
|
+
"""Missing associated documentation comment in .proto file."""
|
|
37
|
+
|
|
38
|
+
def Create(self, request, context):
|
|
39
|
+
"""Missing associated documentation comment in .proto file."""
|
|
40
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
41
|
+
context.set_details('Method not implemented!')
|
|
42
|
+
raise NotImplementedError('Method not implemented!')
|
|
43
|
+
|
|
44
|
+
def Get(self, request, context):
|
|
45
|
+
"""Missing associated documentation comment in .proto file."""
|
|
46
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
47
|
+
context.set_details('Method not implemented!')
|
|
48
|
+
raise NotImplementedError('Method not implemented!')
|
|
49
|
+
|
|
50
|
+
def List(self, request, context):
|
|
51
|
+
"""Missing associated documentation comment in .proto file."""
|
|
52
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
|
+
context.set_details('Method not implemented!')
|
|
54
|
+
raise NotImplementedError('Method not implemented!')
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def add_MessageServiceServicer_to_server(servicer, server):
|
|
58
|
+
rpc_method_handlers = {
|
|
59
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
60
|
+
servicer.Create,
|
|
61
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2.CreateMessageRequest.FromString,
|
|
62
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2.Message.SerializeToString,
|
|
63
|
+
),
|
|
64
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
65
|
+
servicer.Get,
|
|
66
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2.GetMessageRequest.FromString,
|
|
67
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2.Message.SerializeToString,
|
|
68
|
+
),
|
|
69
|
+
'List': grpc.unary_stream_rpc_method_handler(
|
|
70
|
+
servicer.List,
|
|
71
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2.ListMessagesRequest.FromString,
|
|
72
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2.Message.SerializeToString,
|
|
73
|
+
),
|
|
74
|
+
}
|
|
75
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
76
|
+
'yandex.cloud.ai.assistants.v1.threads.MessageService', rpc_method_handlers)
|
|
77
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
# This class is part of an EXPERIMENTAL API.
|
|
81
|
+
class MessageService(object):
|
|
82
|
+
"""Missing associated documentation comment in .proto file."""
|
|
83
|
+
|
|
84
|
+
@staticmethod
|
|
85
|
+
def Create(request,
|
|
86
|
+
target,
|
|
87
|
+
options=(),
|
|
88
|
+
channel_credentials=None,
|
|
89
|
+
call_credentials=None,
|
|
90
|
+
insecure=False,
|
|
91
|
+
compression=None,
|
|
92
|
+
wait_for_ready=None,
|
|
93
|
+
timeout=None,
|
|
94
|
+
metadata=None):
|
|
95
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.assistants.v1.threads.MessageService/Create',
|
|
96
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2.CreateMessageRequest.SerializeToString,
|
|
97
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2.Message.FromString,
|
|
98
|
+
options, channel_credentials,
|
|
99
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
100
|
+
|
|
101
|
+
@staticmethod
|
|
102
|
+
def Get(request,
|
|
103
|
+
target,
|
|
104
|
+
options=(),
|
|
105
|
+
channel_credentials=None,
|
|
106
|
+
call_credentials=None,
|
|
107
|
+
insecure=False,
|
|
108
|
+
compression=None,
|
|
109
|
+
wait_for_ready=None,
|
|
110
|
+
timeout=None,
|
|
111
|
+
metadata=None):
|
|
112
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.assistants.v1.threads.MessageService/Get',
|
|
113
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2.GetMessageRequest.SerializeToString,
|
|
114
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2.Message.FromString,
|
|
115
|
+
options, channel_credentials,
|
|
116
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
117
|
+
|
|
118
|
+
@staticmethod
|
|
119
|
+
def List(request,
|
|
120
|
+
target,
|
|
121
|
+
options=(),
|
|
122
|
+
channel_credentials=None,
|
|
123
|
+
call_credentials=None,
|
|
124
|
+
insecure=False,
|
|
125
|
+
compression=None,
|
|
126
|
+
wait_for_ready=None,
|
|
127
|
+
timeout=None,
|
|
128
|
+
metadata=None):
|
|
129
|
+
return grpc.experimental.unary_stream(request, target, '/yandex.cloud.ai.assistants.v1.threads.MessageService/List',
|
|
130
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__service__pb2.ListMessagesRequest.SerializeToString,
|
|
131
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2.Message.FromString,
|
|
132
|
+
options, channel_credentials,
|
|
133
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,76 @@
|
|
|
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.threads.message_pb2
|
|
12
|
+
import yandex.cloud.ai.assistants.v1.threads.message_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 MessageServiceStub:
|
|
22
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
23
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
24
|
+
yandex.cloud.ai.assistants.v1.threads.message_service_pb2.CreateMessageRequest,
|
|
25
|
+
yandex.cloud.ai.assistants.v1.threads.message_pb2.Message,
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
29
|
+
yandex.cloud.ai.assistants.v1.threads.message_service_pb2.GetMessageRequest,
|
|
30
|
+
yandex.cloud.ai.assistants.v1.threads.message_pb2.Message,
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
List: grpc.UnaryStreamMultiCallable[
|
|
34
|
+
yandex.cloud.ai.assistants.v1.threads.message_service_pb2.ListMessagesRequest,
|
|
35
|
+
yandex.cloud.ai.assistants.v1.threads.message_pb2.Message,
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
class MessageServiceAsyncStub:
|
|
39
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
40
|
+
yandex.cloud.ai.assistants.v1.threads.message_service_pb2.CreateMessageRequest,
|
|
41
|
+
yandex.cloud.ai.assistants.v1.threads.message_pb2.Message,
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
45
|
+
yandex.cloud.ai.assistants.v1.threads.message_service_pb2.GetMessageRequest,
|
|
46
|
+
yandex.cloud.ai.assistants.v1.threads.message_pb2.Message,
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
List: grpc.aio.UnaryStreamMultiCallable[
|
|
50
|
+
yandex.cloud.ai.assistants.v1.threads.message_service_pb2.ListMessagesRequest,
|
|
51
|
+
yandex.cloud.ai.assistants.v1.threads.message_pb2.Message,
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
class MessageServiceServicer(metaclass=abc.ABCMeta):
|
|
55
|
+
@abc.abstractmethod
|
|
56
|
+
def Create(
|
|
57
|
+
self,
|
|
58
|
+
request: yandex.cloud.ai.assistants.v1.threads.message_service_pb2.CreateMessageRequest,
|
|
59
|
+
context: _ServicerContext,
|
|
60
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.threads.message_pb2.Message, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.threads.message_pb2.Message]]: ...
|
|
61
|
+
|
|
62
|
+
@abc.abstractmethod
|
|
63
|
+
def Get(
|
|
64
|
+
self,
|
|
65
|
+
request: yandex.cloud.ai.assistants.v1.threads.message_service_pb2.GetMessageRequest,
|
|
66
|
+
context: _ServicerContext,
|
|
67
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.threads.message_pb2.Message, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.threads.message_pb2.Message]]: ...
|
|
68
|
+
|
|
69
|
+
@abc.abstractmethod
|
|
70
|
+
def List(
|
|
71
|
+
self,
|
|
72
|
+
request: yandex.cloud.ai.assistants.v1.threads.message_service_pb2.ListMessagesRequest,
|
|
73
|
+
context: _ServicerContext,
|
|
74
|
+
) -> typing.Union[collections.abc.Iterator[yandex.cloud.ai.assistants.v1.threads.message_pb2.Message], collections.abc.AsyncIterator[yandex.cloud.ai.assistants.v1.threads.message_pb2.Message]]: ...
|
|
75
|
+
|
|
76
|
+
def add_MessageServiceServicer_to_server(servicer: MessageServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/ai/assistants/v1/threads/thread.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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/ai/assistants/v1/threads/thread.proto\x12%yandex.cloud.ai.assistants.v1.threads\x1a#yandex/cloud/ai/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe4\x03\n\x06Thread\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!\n\x19\x64\x65\x66\x61ult_message_author_id\x18\x05 \x01(\t\x12\x12\n\ncreated_by\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x08 \x01(\t\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x11\x65xpiration_config\x18\n \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12.\n\nexpires_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x06labels\x18\x0c \x03(\x0b\x32\x39.yandex.cloud.ai.assistants.v1.threads.Thread.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42~\n)yandex.cloud.api.ai.assistants.v1.threadsZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/threads;threadsb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_globals = globals()
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.assistants.v1.threads.thread_pb2', _globals)
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
DESCRIPTOR._serialized_options = b'\n)yandex.cloud.api.ai.assistants.v1.threadsZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/threads;threads'
|
|
26
|
+
_THREAD_LABELSENTRY._options = None
|
|
27
|
+
_THREAD_LABELSENTRY._serialized_options = b'8\001'
|
|
28
|
+
_globals['_THREAD']._serialized_start=164
|
|
29
|
+
_globals['_THREAD']._serialized_end=648
|
|
30
|
+
_globals['_THREAD_LABELSENTRY']._serialized_start=603
|
|
31
|
+
_globals['_THREAD_LABELSENTRY']._serialized_end=648
|
|
32
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,85 @@
|
|
|
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.common.common_pb2
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class Thread(google.protobuf.message.Message):
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
23
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
24
|
+
|
|
25
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
26
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
27
|
+
key: builtins.str
|
|
28
|
+
value: builtins.str
|
|
29
|
+
def __init__(
|
|
30
|
+
self,
|
|
31
|
+
*,
|
|
32
|
+
key: builtins.str = ...,
|
|
33
|
+
value: builtins.str = ...,
|
|
34
|
+
) -> None: ...
|
|
35
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
36
|
+
|
|
37
|
+
ID_FIELD_NUMBER: builtins.int
|
|
38
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
40
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
41
|
+
DEFAULT_MESSAGE_AUTHOR_ID_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
|
+
id: builtins.str
|
|
50
|
+
folder_id: builtins.str
|
|
51
|
+
name: builtins.str
|
|
52
|
+
description: builtins.str
|
|
53
|
+
default_message_author_id: builtins.str
|
|
54
|
+
created_by: builtins.str
|
|
55
|
+
updated_by: builtins.str
|
|
56
|
+
@property
|
|
57
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
58
|
+
@property
|
|
59
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
60
|
+
@property
|
|
61
|
+
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig: ...
|
|
62
|
+
@property
|
|
63
|
+
def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
64
|
+
@property
|
|
65
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
66
|
+
def __init__(
|
|
67
|
+
self,
|
|
68
|
+
*,
|
|
69
|
+
id: builtins.str = ...,
|
|
70
|
+
folder_id: builtins.str = ...,
|
|
71
|
+
name: builtins.str = ...,
|
|
72
|
+
description: builtins.str = ...,
|
|
73
|
+
default_message_author_id: builtins.str = ...,
|
|
74
|
+
created_by: builtins.str = ...,
|
|
75
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
76
|
+
updated_by: builtins.str = ...,
|
|
77
|
+
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
78
|
+
expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
|
|
79
|
+
expires_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
80
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
81
|
+
) -> None: ...
|
|
82
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
83
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by", b"created_by", "default_message_author_id", b"default_message_author_id", "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", "updated_at", b"updated_at", "updated_by", b"updated_by"]) -> None: ...
|
|
84
|
+
|
|
85
|
+
global___Thread = Thread
|
|
@@ -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,76 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/ai/assistants/v1/threads/thread_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.threads import message_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2
|
|
16
|
+
from yandex.cloud.ai.assistants.v1.threads import thread_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_thread__pb2
|
|
17
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
18
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
19
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/ai/assistants/v1/threads/thread_service.proto\x12%yandex.cloud.ai.assistants.v1.threads\x1a#yandex/cloud/ai/common/common.proto\x1a\x33yandex/cloud/ai/assistants/v1/threads/message.proto\x1a\x32yandex/cloud/ai/assistants/v1/threads/thread.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\"\x86\x03\n\x13\x43reateThreadRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x44\n\x08messages\x18\x02 \x03(\x0b\x32\x32.yandex.cloud.ai.assistants.v1.threads.MessageData\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12!\n\x19\x64\x65\x66\x61ult_message_author_id\x18\x05 \x01(\t\x12\x43\n\x11\x65xpiration_config\x18\x06 \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12V\n\x06labels\x18\x07 \x03(\x0b\x32\x46.yandex.cloud.ai.assistants.v1.threads.CreateThreadRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x10GetThreadRequest\x12\x17\n\tthread_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xd4\x02\n\x13UpdateThreadRequest\x12\x17\n\tthread_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\x12V\n\x06labels\x18\x06 \x03(\x0b\x32\x46.yandex.cloud.ai.assistants.v1.threads.UpdateThreadRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x13\x44\x65leteThreadRequest\x12\x17\n\tthread_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x16\n\x14\x44\x65leteThreadResponse\"T\n\x12ListThreadsRequest\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\n\x13ListThreadsResponse\x12>\n\x07threads\x18\x01 \x03(\x0b\x32-.yandex.cloud.ai.assistants.v1.threads.Thread\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb9\x06\n\rThreadService\x12\x96\x01\n\x06\x43reate\x12:.yandex.cloud.ai.assistants.v1.threads.CreateThreadRequest\x1a-.yandex.cloud.ai.assistants.v1.threads.Thread\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/assistants/v1/threads:\x01*\x12\x99\x01\n\x03Get\x12\x37.yandex.cloud.ai.assistants.v1.threads.GetThreadRequest\x1a-.yandex.cloud.ai.assistants.v1.threads.Thread\"*\x82\xd3\xe4\x93\x02$\x12\"/assistants/v1/threads/{thread_id}\x12\xa2\x01\n\x06Update\x12:.yandex.cloud.ai.assistants.v1.threads.UpdateThreadRequest\x1a-.yandex.cloud.ai.assistants.v1.threads.Thread\"-\x82\xd3\xe4\x93\x02\'2\"/assistants/v1/threads/{thread_id}:\x01*\x12\xad\x01\n\x06\x44\x65lete\x12:.yandex.cloud.ai.assistants.v1.threads.DeleteThreadRequest\x1a;.yandex.cloud.ai.assistants.v1.threads.DeleteThreadResponse\"*\x82\xd3\xe4\x93\x02$*\"/assistants/v1/threads/{thread_id}\x12\x9d\x01\n\x04List\x12\x39.yandex.cloud.ai.assistants.v1.threads.ListThreadsRequest\x1a:.yandex.cloud.ai.assistants.v1.threads.ListThreadsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/assistants/v1/threadsB~\n)yandex.cloud.api.ai.assistants.v1.threadsZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/threads;threadsb\x06proto3')
|
|
23
|
+
|
|
24
|
+
_globals = globals()
|
|
25
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
26
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.assistants.v1.threads.thread_service_pb2', _globals)
|
|
27
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
28
|
+
DESCRIPTOR._options = None
|
|
29
|
+
DESCRIPTOR._serialized_options = b'\n)yandex.cloud.api.ai.assistants.v1.threadsZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/threads;threads'
|
|
30
|
+
_CREATETHREADREQUEST_LABELSENTRY._options = None
|
|
31
|
+
_CREATETHREADREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
32
|
+
_CREATETHREADREQUEST.fields_by_name['folder_id']._options = None
|
|
33
|
+
_CREATETHREADREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
34
|
+
_GETTHREADREQUEST.fields_by_name['thread_id']._options = None
|
|
35
|
+
_GETTHREADREQUEST.fields_by_name['thread_id']._serialized_options = b'\350\3071\001'
|
|
36
|
+
_UPDATETHREADREQUEST_LABELSENTRY._options = None
|
|
37
|
+
_UPDATETHREADREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
38
|
+
_UPDATETHREADREQUEST.fields_by_name['thread_id']._options = None
|
|
39
|
+
_UPDATETHREADREQUEST.fields_by_name['thread_id']._serialized_options = b'\350\3071\001'
|
|
40
|
+
_UPDATETHREADREQUEST.fields_by_name['update_mask']._options = None
|
|
41
|
+
_UPDATETHREADREQUEST.fields_by_name['update_mask']._serialized_options = b'\350\3071\001'
|
|
42
|
+
_DELETETHREADREQUEST.fields_by_name['thread_id']._options = None
|
|
43
|
+
_DELETETHREADREQUEST.fields_by_name['thread_id']._serialized_options = b'\350\3071\001'
|
|
44
|
+
_LISTTHREADSREQUEST.fields_by_name['folder_id']._options = None
|
|
45
|
+
_LISTTHREADSREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
46
|
+
_THREADSERVICE.methods_by_name['Create']._options = None
|
|
47
|
+
_THREADSERVICE.methods_by_name['Create']._serialized_options = b'\202\323\344\223\002\033\"\026/assistants/v1/threads:\001*'
|
|
48
|
+
_THREADSERVICE.methods_by_name['Get']._options = None
|
|
49
|
+
_THREADSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002$\022\"/assistants/v1/threads/{thread_id}'
|
|
50
|
+
_THREADSERVICE.methods_by_name['Update']._options = None
|
|
51
|
+
_THREADSERVICE.methods_by_name['Update']._serialized_options = b'\202\323\344\223\002\'2\"/assistants/v1/threads/{thread_id}:\001*'
|
|
52
|
+
_THREADSERVICE.methods_by_name['Delete']._options = None
|
|
53
|
+
_THREADSERVICE.methods_by_name['Delete']._serialized_options = b'\202\323\344\223\002$*\"/assistants/v1/threads/{thread_id}'
|
|
54
|
+
_THREADSERVICE.methods_by_name['List']._options = None
|
|
55
|
+
_THREADSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\030\022\026/assistants/v1/threads'
|
|
56
|
+
_globals['_CREATETHREADREQUEST']._serialized_start=339
|
|
57
|
+
_globals['_CREATETHREADREQUEST']._serialized_end=729
|
|
58
|
+
_globals['_CREATETHREADREQUEST_LABELSENTRY']._serialized_start=684
|
|
59
|
+
_globals['_CREATETHREADREQUEST_LABELSENTRY']._serialized_end=729
|
|
60
|
+
_globals['_GETTHREADREQUEST']._serialized_start=731
|
|
61
|
+
_globals['_GETTHREADREQUEST']._serialized_end=774
|
|
62
|
+
_globals['_UPDATETHREADREQUEST']._serialized_start=777
|
|
63
|
+
_globals['_UPDATETHREADREQUEST']._serialized_end=1117
|
|
64
|
+
_globals['_UPDATETHREADREQUEST_LABELSENTRY']._serialized_start=684
|
|
65
|
+
_globals['_UPDATETHREADREQUEST_LABELSENTRY']._serialized_end=729
|
|
66
|
+
_globals['_DELETETHREADREQUEST']._serialized_start=1119
|
|
67
|
+
_globals['_DELETETHREADREQUEST']._serialized_end=1165
|
|
68
|
+
_globals['_DELETETHREADRESPONSE']._serialized_start=1167
|
|
69
|
+
_globals['_DELETETHREADRESPONSE']._serialized_end=1189
|
|
70
|
+
_globals['_LISTTHREADSREQUEST']._serialized_start=1191
|
|
71
|
+
_globals['_LISTTHREADSREQUEST']._serialized_end=1275
|
|
72
|
+
_globals['_LISTTHREADSRESPONSE']._serialized_start=1277
|
|
73
|
+
_globals['_LISTTHREADSRESPONSE']._serialized_end=1387
|
|
74
|
+
_globals['_THREADSERVICE']._serialized_start=1390
|
|
75
|
+
_globals['_THREADSERVICE']._serialized_end=2215
|
|
76
|
+
# @@protoc_insertion_point(module_scope)
|