yandexcloud 0.316.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/backup/v1/resource_pb2.py +10 -10
- yandex/cloud/backup/v1/resource_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/datatransfer/v1/transfer_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +17 -3
- 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/loadtesting/agent/v1/agent_registration_service_pb2.py +18 -11
- yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.pyi +23 -1
- yandex/cloud/loadtesting/api/v1/agent/agent_pb2.py +6 -5
- yandex/cloud/loadtesting/api/v1/agent/agent_pb2.pyi +9 -1
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2.py +29 -0
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2.pyi +27 -0
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2_grpc.py +4 -0
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2_grpc.pyi +17 -0
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.py +27 -26
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.pyi +9 -2
- yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.pyi +5 -1
- 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/mdb/mysql/v1/backup_service_pb2.py +17 -13
- yandex/cloud/mdb/mysql/v1/backup_service_pb2_grpc.py +35 -0
- yandex/cloud/mdb/mysql/v1/backup_service_pb2_grpc.pyi +21 -0
- yandex/cloud/mdb/opensearch/v1/auth_pb2.py +6 -5
- yandex/cloud/mdb/opensearch/v1/auth_pb2.pyi +9 -1
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +50 -43
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +40 -4
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +61 -61
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +32 -8
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +46 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +28 -2
- yandex/cloud/oauth/claims_pb2.py +8 -7
- yandex/cloud/oauth/claims_pb2.pyi +9 -2
- yandex/cloud/serverless/eventrouter/__init__.py +0 -0
- yandex/cloud/serverless/eventrouter/v1/__init__.py +0 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +33 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +107 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2_grpc.py +4 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +115 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +320 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2_grpc.py +346 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2_grpc.pyi +219 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +61 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +223 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2_grpc.py +4 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.py +135 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +397 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2_grpc.py +414 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2_grpc.pyi +259 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +37 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +31 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +71 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +51 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +123 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +534 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2_grpc.py +4 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.py +139 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +415 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2_grpc.py +414 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2_grpc.pyi +259 -0
- yandex/cloud/serverless/functions/v1/function_pb2.py +34 -34
- yandex/cloud/serverless/functions/v1/function_pb2.pyi +8 -0
- yandex/cloud/serverless/workflows/__init__.py +0 -0
- yandex/cloud/serverless/workflows/v1/__init__.py +0 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2.py +43 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2.pyi +203 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2_grpc.py +4 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +74 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +231 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +206 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +130 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.py +41 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.pyi +174 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2_grpc.py +4 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2.py +47 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2.pyi +260 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2_grpc.py +4 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +112 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.pyi +395 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +241 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +151 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2.py +77 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2.pyi +352 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2.py +78 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2.pyi +244 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2_grpc.py +208 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2_grpc.pyi +132 -0
- yandex/cloud/smartwebsecurity/v1/waf/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2.py +35 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2.pyi +71 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2.py +37 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2.pyi +31 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2_grpc.py +71 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2_grpc.pyi +51 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +81 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +296 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +76 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +283 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2_grpc.py +208 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2_grpc.pyi +132 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2.py +32 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2.pyi +95 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/project_pb2.py +29 -0
- yandex/cloud/speechsense/v1/project_pb2.pyi +79 -0
- yandex/cloud/speechsense/v1/project_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/project_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/project_service_pb2.py +35 -0
- yandex/cloud/speechsense/v1/project_service_pb2.pyi +59 -0
- yandex/cloud/speechsense/v1/project_service_pb2_grpc.py +68 -0
- yandex/cloud/speechsense/v1/project_service_pb2_grpc.pyi +45 -0
- yandex/cloud/speechsense/v1/talk_pb2.py +8 -7
- yandex/cloud/speechsense/v1/talk_pb2.pyi +7 -2
- 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
- yandex/cloud/video/v1/channel_service_pb2.py +33 -28
- yandex/cloud/video/v1/episode_service_pb2.py +56 -47
- yandex/cloud/video/v1/stream_line_service_pb2.py +67 -60
- yandex/cloud/video/v1/stream_service_pb2.py +46 -41
- yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -22
- yandex/cloud/video/v1/video_service_pb2.py +62 -53
- yandexcloud/_sdk.py +1 -0
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/RECORD +259 -58
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,199 @@
|
|
|
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.runs import run_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2
|
|
6
|
+
from yandex.cloud.ai.assistants.v1.runs import run_service_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class RunServiceStub(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.runs.RunService/Create',
|
|
20
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.CreateRunRequest.SerializeToString,
|
|
21
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2.Run.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.Listen = channel.unary_stream(
|
|
24
|
+
'/yandex.cloud.ai.assistants.v1.runs.RunService/Listen',
|
|
25
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListenRunRequest.SerializeToString,
|
|
26
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.StreamEvent.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.Get = channel.unary_unary(
|
|
29
|
+
'/yandex.cloud.ai.assistants.v1.runs.RunService/Get',
|
|
30
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.GetRunRequest.SerializeToString,
|
|
31
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2.Run.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.GetLastByThread = channel.unary_unary(
|
|
34
|
+
'/yandex.cloud.ai.assistants.v1.runs.RunService/GetLastByThread',
|
|
35
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.GetLastRunByThreadRequest.SerializeToString,
|
|
36
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2.Run.FromString,
|
|
37
|
+
)
|
|
38
|
+
self.List = channel.unary_unary(
|
|
39
|
+
'/yandex.cloud.ai.assistants.v1.runs.RunService/List',
|
|
40
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListRunsRequest.SerializeToString,
|
|
41
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListRunsResponse.FromString,
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class RunServiceServicer(object):
|
|
46
|
+
"""Missing associated documentation comment in .proto file."""
|
|
47
|
+
|
|
48
|
+
def Create(self, request, context):
|
|
49
|
+
"""Missing associated documentation comment in .proto file."""
|
|
50
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
51
|
+
context.set_details('Method not implemented!')
|
|
52
|
+
raise NotImplementedError('Method not implemented!')
|
|
53
|
+
|
|
54
|
+
def Listen(self, request, context):
|
|
55
|
+
"""Missing associated documentation comment in .proto file."""
|
|
56
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
57
|
+
context.set_details('Method not implemented!')
|
|
58
|
+
raise NotImplementedError('Method not implemented!')
|
|
59
|
+
|
|
60
|
+
def Get(self, request, context):
|
|
61
|
+
"""Missing associated documentation comment in .proto file."""
|
|
62
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
|
+
context.set_details('Method not implemented!')
|
|
64
|
+
raise NotImplementedError('Method not implemented!')
|
|
65
|
+
|
|
66
|
+
def GetLastByThread(self, request, context):
|
|
67
|
+
"""Missing associated documentation comment in .proto file."""
|
|
68
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
69
|
+
context.set_details('Method not implemented!')
|
|
70
|
+
raise NotImplementedError('Method not implemented!')
|
|
71
|
+
|
|
72
|
+
def List(self, request, context):
|
|
73
|
+
"""Missing associated documentation comment in .proto file."""
|
|
74
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
75
|
+
context.set_details('Method not implemented!')
|
|
76
|
+
raise NotImplementedError('Method not implemented!')
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def add_RunServiceServicer_to_server(servicer, server):
|
|
80
|
+
rpc_method_handlers = {
|
|
81
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
82
|
+
servicer.Create,
|
|
83
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.CreateRunRequest.FromString,
|
|
84
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2.Run.SerializeToString,
|
|
85
|
+
),
|
|
86
|
+
'Listen': grpc.unary_stream_rpc_method_handler(
|
|
87
|
+
servicer.Listen,
|
|
88
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListenRunRequest.FromString,
|
|
89
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.StreamEvent.SerializeToString,
|
|
90
|
+
),
|
|
91
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
92
|
+
servicer.Get,
|
|
93
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.GetRunRequest.FromString,
|
|
94
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2.Run.SerializeToString,
|
|
95
|
+
),
|
|
96
|
+
'GetLastByThread': grpc.unary_unary_rpc_method_handler(
|
|
97
|
+
servicer.GetLastByThread,
|
|
98
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.GetLastRunByThreadRequest.FromString,
|
|
99
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2.Run.SerializeToString,
|
|
100
|
+
),
|
|
101
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
102
|
+
servicer.List,
|
|
103
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListRunsRequest.FromString,
|
|
104
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListRunsResponse.SerializeToString,
|
|
105
|
+
),
|
|
106
|
+
}
|
|
107
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
108
|
+
'yandex.cloud.ai.assistants.v1.runs.RunService', rpc_method_handlers)
|
|
109
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
# This class is part of an EXPERIMENTAL API.
|
|
113
|
+
class RunService(object):
|
|
114
|
+
"""Missing associated documentation comment in .proto file."""
|
|
115
|
+
|
|
116
|
+
@staticmethod
|
|
117
|
+
def Create(request,
|
|
118
|
+
target,
|
|
119
|
+
options=(),
|
|
120
|
+
channel_credentials=None,
|
|
121
|
+
call_credentials=None,
|
|
122
|
+
insecure=False,
|
|
123
|
+
compression=None,
|
|
124
|
+
wait_for_ready=None,
|
|
125
|
+
timeout=None,
|
|
126
|
+
metadata=None):
|
|
127
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.assistants.v1.runs.RunService/Create',
|
|
128
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.CreateRunRequest.SerializeToString,
|
|
129
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2.Run.FromString,
|
|
130
|
+
options, channel_credentials,
|
|
131
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
132
|
+
|
|
133
|
+
@staticmethod
|
|
134
|
+
def Listen(request,
|
|
135
|
+
target,
|
|
136
|
+
options=(),
|
|
137
|
+
channel_credentials=None,
|
|
138
|
+
call_credentials=None,
|
|
139
|
+
insecure=False,
|
|
140
|
+
compression=None,
|
|
141
|
+
wait_for_ready=None,
|
|
142
|
+
timeout=None,
|
|
143
|
+
metadata=None):
|
|
144
|
+
return grpc.experimental.unary_stream(request, target, '/yandex.cloud.ai.assistants.v1.runs.RunService/Listen',
|
|
145
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListenRunRequest.SerializeToString,
|
|
146
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.StreamEvent.FromString,
|
|
147
|
+
options, channel_credentials,
|
|
148
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
149
|
+
|
|
150
|
+
@staticmethod
|
|
151
|
+
def Get(request,
|
|
152
|
+
target,
|
|
153
|
+
options=(),
|
|
154
|
+
channel_credentials=None,
|
|
155
|
+
call_credentials=None,
|
|
156
|
+
insecure=False,
|
|
157
|
+
compression=None,
|
|
158
|
+
wait_for_ready=None,
|
|
159
|
+
timeout=None,
|
|
160
|
+
metadata=None):
|
|
161
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.assistants.v1.runs.RunService/Get',
|
|
162
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.GetRunRequest.SerializeToString,
|
|
163
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2.Run.FromString,
|
|
164
|
+
options, channel_credentials,
|
|
165
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
166
|
+
|
|
167
|
+
@staticmethod
|
|
168
|
+
def GetLastByThread(request,
|
|
169
|
+
target,
|
|
170
|
+
options=(),
|
|
171
|
+
channel_credentials=None,
|
|
172
|
+
call_credentials=None,
|
|
173
|
+
insecure=False,
|
|
174
|
+
compression=None,
|
|
175
|
+
wait_for_ready=None,
|
|
176
|
+
timeout=None,
|
|
177
|
+
metadata=None):
|
|
178
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.assistants.v1.runs.RunService/GetLastByThread',
|
|
179
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.GetLastRunByThreadRequest.SerializeToString,
|
|
180
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__pb2.Run.FromString,
|
|
181
|
+
options, channel_credentials,
|
|
182
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
183
|
+
|
|
184
|
+
@staticmethod
|
|
185
|
+
def List(request,
|
|
186
|
+
target,
|
|
187
|
+
options=(),
|
|
188
|
+
channel_credentials=None,
|
|
189
|
+
call_credentials=None,
|
|
190
|
+
insecure=False,
|
|
191
|
+
compression=None,
|
|
192
|
+
wait_for_ready=None,
|
|
193
|
+
timeout=None,
|
|
194
|
+
metadata=None):
|
|
195
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.assistants.v1.runs.RunService/List',
|
|
196
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListRunsRequest.SerializeToString,
|
|
197
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListRunsResponse.FromString,
|
|
198
|
+
options, channel_credentials,
|
|
199
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,110 @@
|
|
|
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.runs.run_pb2
|
|
12
|
+
import yandex.cloud.ai.assistants.v1.runs.run_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 RunServiceStub:
|
|
22
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
23
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
24
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.CreateRunRequest,
|
|
25
|
+
yandex.cloud.ai.assistants.v1.runs.run_pb2.Run,
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
Listen: grpc.UnaryStreamMultiCallable[
|
|
29
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListenRunRequest,
|
|
30
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.StreamEvent,
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.GetRunRequest,
|
|
35
|
+
yandex.cloud.ai.assistants.v1.runs.run_pb2.Run,
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
GetLastByThread: grpc.UnaryUnaryMultiCallable[
|
|
39
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.GetLastRunByThreadRequest,
|
|
40
|
+
yandex.cloud.ai.assistants.v1.runs.run_pb2.Run,
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
44
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListRunsRequest,
|
|
45
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListRunsResponse,
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
class RunServiceAsyncStub:
|
|
49
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
50
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.CreateRunRequest,
|
|
51
|
+
yandex.cloud.ai.assistants.v1.runs.run_pb2.Run,
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
Listen: grpc.aio.UnaryStreamMultiCallable[
|
|
55
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListenRunRequest,
|
|
56
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.StreamEvent,
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
60
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.GetRunRequest,
|
|
61
|
+
yandex.cloud.ai.assistants.v1.runs.run_pb2.Run,
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
GetLastByThread: grpc.aio.UnaryUnaryMultiCallable[
|
|
65
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.GetLastRunByThreadRequest,
|
|
66
|
+
yandex.cloud.ai.assistants.v1.runs.run_pb2.Run,
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
70
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListRunsRequest,
|
|
71
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListRunsResponse,
|
|
72
|
+
]
|
|
73
|
+
|
|
74
|
+
class RunServiceServicer(metaclass=abc.ABCMeta):
|
|
75
|
+
@abc.abstractmethod
|
|
76
|
+
def Create(
|
|
77
|
+
self,
|
|
78
|
+
request: yandex.cloud.ai.assistants.v1.runs.run_service_pb2.CreateRunRequest,
|
|
79
|
+
context: _ServicerContext,
|
|
80
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.runs.run_pb2.Run, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.runs.run_pb2.Run]]: ...
|
|
81
|
+
|
|
82
|
+
@abc.abstractmethod
|
|
83
|
+
def Listen(
|
|
84
|
+
self,
|
|
85
|
+
request: yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListenRunRequest,
|
|
86
|
+
context: _ServicerContext,
|
|
87
|
+
) -> typing.Union[collections.abc.Iterator[yandex.cloud.ai.assistants.v1.runs.run_service_pb2.StreamEvent], collections.abc.AsyncIterator[yandex.cloud.ai.assistants.v1.runs.run_service_pb2.StreamEvent]]: ...
|
|
88
|
+
|
|
89
|
+
@abc.abstractmethod
|
|
90
|
+
def Get(
|
|
91
|
+
self,
|
|
92
|
+
request: yandex.cloud.ai.assistants.v1.runs.run_service_pb2.GetRunRequest,
|
|
93
|
+
context: _ServicerContext,
|
|
94
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.runs.run_pb2.Run, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.runs.run_pb2.Run]]: ...
|
|
95
|
+
|
|
96
|
+
@abc.abstractmethod
|
|
97
|
+
def GetLastByThread(
|
|
98
|
+
self,
|
|
99
|
+
request: yandex.cloud.ai.assistants.v1.runs.run_service_pb2.GetLastRunByThreadRequest,
|
|
100
|
+
context: _ServicerContext,
|
|
101
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.runs.run_pb2.Run, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.runs.run_pb2.Run]]: ...
|
|
102
|
+
|
|
103
|
+
@abc.abstractmethod
|
|
104
|
+
def List(
|
|
105
|
+
self,
|
|
106
|
+
request: yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListRunsRequest,
|
|
107
|
+
context: _ServicerContext,
|
|
108
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListRunsResponse, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.runs.run_service_pb2.ListRunsResponse]]: ...
|
|
109
|
+
|
|
110
|
+
def add_RunServiceServicer_to_server(servicer: RunServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/ai/assistants/v1/searchindex/common.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
|
+
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/ai/assistants/v1/searchindex/common.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\"U\n\x16StaticChunkingStrategy\x12\x1d\n\x15max_chunk_size_tokens\x18\x01 \x01(\x03\x12\x1c\n\x14\x63hunk_overlap_tokens\x18\x02 \x01(\x03\"|\n\x10\x43hunkingStrategy\x12\\\n\x0fstatic_strategy\x18\x01 \x01(\x0b\x32\x41.yandex.cloud.ai.assistants.v1.searchindex.StaticChunkingStrategyH\x00\x42\n\n\x08StrategyB\x8a\x01\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindexb\x06proto3')
|
|
17
|
+
|
|
18
|
+
_globals = globals()
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.assistants.v1.searchindex.common_pb2', _globals)
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
DESCRIPTOR._options = None
|
|
23
|
+
DESCRIPTOR._serialized_options = b'\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindex'
|
|
24
|
+
_globals['_STATICCHUNKINGSTRATEGY']._serialized_start=101
|
|
25
|
+
_globals['_STATICCHUNKINGSTRATEGY']._serialized_end=186
|
|
26
|
+
_globals['_CHUNKINGSTRATEGY']._serialized_start=188
|
|
27
|
+
_globals['_CHUNKINGSTRATEGY']._serialized_end=312
|
|
28
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.message
|
|
9
|
+
import typing
|
|
10
|
+
|
|
11
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
12
|
+
|
|
13
|
+
@typing.final
|
|
14
|
+
class StaticChunkingStrategy(google.protobuf.message.Message):
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
16
|
+
|
|
17
|
+
MAX_CHUNK_SIZE_TOKENS_FIELD_NUMBER: builtins.int
|
|
18
|
+
CHUNK_OVERLAP_TOKENS_FIELD_NUMBER: builtins.int
|
|
19
|
+
max_chunk_size_tokens: builtins.int
|
|
20
|
+
chunk_overlap_tokens: builtins.int
|
|
21
|
+
def __init__(
|
|
22
|
+
self,
|
|
23
|
+
*,
|
|
24
|
+
max_chunk_size_tokens: builtins.int = ...,
|
|
25
|
+
chunk_overlap_tokens: builtins.int = ...,
|
|
26
|
+
) -> None: ...
|
|
27
|
+
def ClearField(self, field_name: typing.Literal["chunk_overlap_tokens", b"chunk_overlap_tokens", "max_chunk_size_tokens", b"max_chunk_size_tokens"]) -> None: ...
|
|
28
|
+
|
|
29
|
+
global___StaticChunkingStrategy = StaticChunkingStrategy
|
|
30
|
+
|
|
31
|
+
@typing.final
|
|
32
|
+
class ChunkingStrategy(google.protobuf.message.Message):
|
|
33
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
34
|
+
|
|
35
|
+
STATIC_STRATEGY_FIELD_NUMBER: builtins.int
|
|
36
|
+
@property
|
|
37
|
+
def static_strategy(self) -> global___StaticChunkingStrategy: ...
|
|
38
|
+
def __init__(
|
|
39
|
+
self,
|
|
40
|
+
*,
|
|
41
|
+
static_strategy: global___StaticChunkingStrategy | None = ...,
|
|
42
|
+
) -> None: ...
|
|
43
|
+
def HasField(self, field_name: typing.Literal["Strategy", b"Strategy", "static_strategy", b"static_strategy"]) -> builtins.bool: ...
|
|
44
|
+
def ClearField(self, field_name: typing.Literal["Strategy", b"Strategy", "static_strategy", b"static_strategy"]) -> None: ...
|
|
45
|
+
def WhichOneof(self, oneof_group: typing.Literal["Strategy", b"Strategy"]) -> typing.Literal["static_strategy"] | None: ...
|
|
46
|
+
|
|
47
|
+
global___ChunkingStrategy = ChunkingStrategy
|
|
@@ -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,28 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/ai/assistants/v1/searchindex/search_index_file.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.assistants.v1.searchindex import common_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_searchindex_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'\nAyandex/cloud/ai/assistants/v1/searchindex/search_index_file.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\x1a\x36yandex/cloud/ai/assistants/v1/searchindex/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd2\x01\n\x0fSearchIndexFile\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0fsearch_index_id\x18\x02 \x01(\t\x12\x12\n\ncreated_by\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12V\n\x11\x63hunking_strategy\x18\x05 \x01(\x0b\x32;.yandex.cloud.ai.assistants.v1.searchindex.ChunkingStrategyB\x8a\x01\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindexb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_globals = globals()
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.assistants.v1.searchindex.search_index_file_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.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindex'
|
|
26
|
+
_globals['_SEARCHINDEXFILE']._serialized_start=202
|
|
27
|
+
_globals['_SEARCHINDEXFILE']._serialized_end=412
|
|
28
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.message
|
|
9
|
+
import google.protobuf.timestamp_pb2
|
|
10
|
+
import typing
|
|
11
|
+
import yandex.cloud.ai.assistants.v1.searchindex.common_pb2
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
@typing.final
|
|
16
|
+
class SearchIndexFile(google.protobuf.message.Message):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
ID_FIELD_NUMBER: builtins.int
|
|
20
|
+
SEARCH_INDEX_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
CREATED_BY_FIELD_NUMBER: builtins.int
|
|
22
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
23
|
+
CHUNKING_STRATEGY_FIELD_NUMBER: builtins.int
|
|
24
|
+
id: builtins.str
|
|
25
|
+
search_index_id: builtins.str
|
|
26
|
+
created_by: builtins.str
|
|
27
|
+
@property
|
|
28
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
29
|
+
@property
|
|
30
|
+
def chunking_strategy(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy: ...
|
|
31
|
+
def __init__(
|
|
32
|
+
self,
|
|
33
|
+
*,
|
|
34
|
+
id: builtins.str = ...,
|
|
35
|
+
search_index_id: builtins.str = ...,
|
|
36
|
+
created_by: builtins.str = ...,
|
|
37
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
38
|
+
chunking_strategy: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy | None = ...,
|
|
39
|
+
) -> None: ...
|
|
40
|
+
def HasField(self, field_name: typing.Literal["chunking_strategy", b"chunking_strategy", "created_at", b"created_at"]) -> builtins.bool: ...
|
|
41
|
+
def ClearField(self, field_name: typing.Literal["chunking_strategy", b"chunking_strategy", "created_at", b"created_at", "created_by", b"created_by", "id", b"id", "search_index_id", b"search_index_id"]) -> None: ...
|
|
42
|
+
|
|
43
|
+
global___SearchIndexFile = SearchIndexFile
|
|
@@ -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,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/ai/assistants/v1/searchindex/search_index_file_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.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 import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
16
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
17
|
+
|
|
18
|
+
|
|
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\xba\x03\n\x16SearchIndexFileService\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
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindex'
|
|
27
|
+
_GETSEARCHINDEXFILEREQUEST.fields_by_name['file_id']._options = None
|
|
28
|
+
_GETSEARCHINDEXFILEREQUEST.fields_by_name['file_id']._serialized_options = b'\350\3071\001'
|
|
29
|
+
_GETSEARCHINDEXFILEREQUEST.fields_by_name['search_index_id']._options = None
|
|
30
|
+
_GETSEARCHINDEXFILEREQUEST.fields_by_name['search_index_id']._serialized_options = b'\350\3071\001'
|
|
31
|
+
_LISTSEARCHINDEXFILESREQUEST.fields_by_name['search_index_id']._options = None
|
|
32
|
+
_LISTSEARCHINDEXFILESREQUEST.fields_by_name['search_index_id']._serialized_options = b'\350\3071\001'
|
|
33
|
+
_SEARCHINDEXFILESERVICE.methods_by_name['Get']._options = None
|
|
34
|
+
_SEARCHINDEXFILESERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002<\022:/assistants/v1/searchIndexFile/{search_index_id}/{file_id}'
|
|
35
|
+
_SEARCHINDEXFILESERVICE.methods_by_name['List']._options = None
|
|
36
|
+
_SEARCHINDEXFILESERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\0022\0220/assistants/v1/searchIndexFile/{search_index_id}'
|
|
37
|
+
_globals['_GETSEARCHINDEXFILEREQUEST']._serialized_start=248
|
|
38
|
+
_globals['_GETSEARCHINDEXFILEREQUEST']._serialized_end=329
|
|
39
|
+
_globals['_LISTSEARCHINDEXFILESREQUEST']._serialized_start=331
|
|
40
|
+
_globals['_LISTSEARCHINDEXFILESREQUEST']._serialized_end=430
|
|
41
|
+
_globals['_LISTSEARCHINDEXFILESRESPONSE']._serialized_start=433
|
|
42
|
+
_globals['_LISTSEARCHINDEXFILESRESPONSE']._serialized_end=563
|
|
43
|
+
_globals['_SEARCHINDEXFILESERVICE']._serialized_start=566
|
|
44
|
+
_globals['_SEARCHINDEXFILESERVICE']._serialized_end=1008
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,72 @@
|
|
|
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.searchindex.search_index_file_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetSearchIndexFileRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
FILE_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
SEARCH_INDEX_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
file_id: builtins.str
|
|
23
|
+
search_index_id: builtins.str
|
|
24
|
+
def __init__(
|
|
25
|
+
self,
|
|
26
|
+
*,
|
|
27
|
+
file_id: builtins.str = ...,
|
|
28
|
+
search_index_id: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["file_id", b"file_id", "search_index_id", b"search_index_id"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___GetSearchIndexFileRequest = GetSearchIndexFileRequest
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class ListSearchIndexFilesRequest(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
SEARCH_INDEX_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
40
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
41
|
+
search_index_id: builtins.str
|
|
42
|
+
page_size: builtins.int
|
|
43
|
+
page_token: builtins.str
|
|
44
|
+
def __init__(
|
|
45
|
+
self,
|
|
46
|
+
*,
|
|
47
|
+
search_index_id: builtins.str = ...,
|
|
48
|
+
page_size: builtins.int = ...,
|
|
49
|
+
page_token: builtins.str = ...,
|
|
50
|
+
) -> None: ...
|
|
51
|
+
def ClearField(self, field_name: typing.Literal["page_size", b"page_size", "page_token", b"page_token", "search_index_id", b"search_index_id"]) -> None: ...
|
|
52
|
+
|
|
53
|
+
global___ListSearchIndexFilesRequest = ListSearchIndexFilesRequest
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class ListSearchIndexFilesResponse(google.protobuf.message.Message):
|
|
57
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
58
|
+
|
|
59
|
+
FILES_FIELD_NUMBER: builtins.int
|
|
60
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
61
|
+
next_page_token: builtins.str
|
|
62
|
+
@property
|
|
63
|
+
def files(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile]: ...
|
|
64
|
+
def __init__(
|
|
65
|
+
self,
|
|
66
|
+
*,
|
|
67
|
+
files: collections.abc.Iterable[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile] | None = ...,
|
|
68
|
+
next_page_token: builtins.str = ...,
|
|
69
|
+
) -> None: ...
|
|
70
|
+
def ClearField(self, field_name: typing.Literal["files", b"files", "next_page_token", b"next_page_token"]) -> None: ...
|
|
71
|
+
|
|
72
|
+
global___ListSearchIndexFilesResponse = ListSearchIndexFilesResponse
|