yandexcloud 0.339.0__py3-none-any.whl → 0.341.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +9 -3
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +46 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +8 -6
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +26 -3
- yandex/cloud/ai/batch_inference/__init__.py +0 -0
- yandex/cloud/ai/batch_inference/v1/__init__.py +0 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2.py +67 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2.pyi +195 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2_grpc.py +230 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2_grpc.pyi +104 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.py +45 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.pyi +119 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2_grpc.py +24 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2.py +52 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2.pyi +126 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2_grpc.py +24 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.py +8 -8
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +15 -7
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +2 -2
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +6 -6
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +16 -0
- yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +1 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +8 -4
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +16 -4
- yandex/cloud/ai/vision/v1/vision_service_pb2.pyi +1 -1
- yandex/cloud/billing/v1/budget_pb2.pyi +4 -4
- yandex/cloud/cdn/v1/shielding_pb2.py +37 -0
- yandex/cloud/cdn/v1/shielding_pb2.pyi +41 -0
- yandex/cloud/cdn/v1/shielding_pb2_grpc.py +24 -0
- yandex/cloud/cdn/v1/shielding_pb2_grpc.pyi +17 -0
- yandex/cloud/cdn/v1/shielding_service_pb2.py +89 -0
- yandex/cloud/cdn/v1/shielding_service_pb2.pyi +201 -0
- yandex/cloud/cdn/v1/shielding_service_pb2_grpc.py +281 -0
- yandex/cloud/cdn/v1/shielding_service_pb2_grpc.pyi +141 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +6 -8
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +40 -24
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +72 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +90 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +52 -0
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.pyi +1 -1
- yandex/cloud/compute/v1/instancegroup/instance_group_service_pb2.py +4 -4
- yandex/cloud/dataproc/v1/cluster_pb2.py +10 -10
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/k8s/v1/cluster_service_pb2.py +80 -73
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/kms/v1/symmetric_key_service_pb2.py +50 -48
- yandex/cloud/logging/v1/log_entry_pb2.py +12 -12
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2.py +46 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2.pyi +53 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2.py +106 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2.pyi +248 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2_grpc.py +315 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2_grpc.pyi +131 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2.py +44 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2.pyi +59 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2.py +60 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2.pyi +72 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2_grpc.py +141 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2_grpc.pyi +59 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +59 -43
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +67 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2.py +44 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2.pyi +35 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2.py +101 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2.pyi +187 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2_grpc.py +231 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2_grpc.pyi +105 -0
- yandex/cloud/mdb/mysql/v1/user_pb2.py +4 -4
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +4 -0
- yandex/cloud/mdb/opensearch/v1/extension/__init__.py +0 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2.py +37 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2.pyi +34 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2_grpc.py +24 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2.py +47 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2.pyi +77 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2.py +104 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2.pyi +215 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2_grpc.py +276 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2_grpc.pyi +126 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +120 -120
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/monitoring/v3/timeline_pb2.py +2 -2
- yandex/cloud/monitoring/v3/timeline_pb2.pyi +4 -2
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +1 -1
- yandex/cloud/video/v1/channel_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/episode_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/playlist_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/stream_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/video_service_pb2.pyi +5 -2
- yandexcloud/__init__.py +1 -1
- yandexcloud/_sdk.py +1 -0
- yandexcloud/_wrappers/__init__.py +15 -0
- yandexcloud/_wrappers/spark/__init__.py +603 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/METADATA +2 -1
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/RECORD +115 -55
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,131 @@
|
|
|
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.mdb.clickhouse.v1.cluster_extension_pb2
|
|
12
|
+
import yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2
|
|
13
|
+
import yandex.cloud.operation.operation_pb2
|
|
14
|
+
|
|
15
|
+
_T = typing.TypeVar("_T")
|
|
16
|
+
|
|
17
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
18
|
+
|
|
19
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
class ClusterExtensionServiceStub:
|
|
23
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
24
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
25
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.GetClusterExtensionRequest,
|
|
26
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_pb2.ClusterExtension,
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.ListClusterExtensionsRequest,
|
|
31
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.ListClusterExtensionsResponse,
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
35
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.CreateClusterExtensionRequest,
|
|
36
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
40
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.DeleteClusterExtensionRequest,
|
|
41
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
Update: grpc.UnaryUnaryMultiCallable[
|
|
45
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.UpdateClusterExtensionRequest,
|
|
46
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
SetExtensions: grpc.UnaryUnaryMultiCallable[
|
|
50
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.SetClusterExtensionsRequest,
|
|
51
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
52
|
+
]
|
|
53
|
+
"""Set the list of cluster extensions. Not specified extensions will be deleted."""
|
|
54
|
+
|
|
55
|
+
class ClusterExtensionServiceAsyncStub:
|
|
56
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
57
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.GetClusterExtensionRequest,
|
|
58
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_pb2.ClusterExtension,
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
62
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.ListClusterExtensionsRequest,
|
|
63
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.ListClusterExtensionsResponse,
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
67
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.CreateClusterExtensionRequest,
|
|
68
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
72
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.DeleteClusterExtensionRequest,
|
|
73
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
77
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.UpdateClusterExtensionRequest,
|
|
78
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
79
|
+
]
|
|
80
|
+
|
|
81
|
+
SetExtensions: grpc.aio.UnaryUnaryMultiCallable[
|
|
82
|
+
yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.SetClusterExtensionsRequest,
|
|
83
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
84
|
+
]
|
|
85
|
+
"""Set the list of cluster extensions. Not specified extensions will be deleted."""
|
|
86
|
+
|
|
87
|
+
class ClusterExtensionServiceServicer(metaclass=abc.ABCMeta):
|
|
88
|
+
@abc.abstractmethod
|
|
89
|
+
def Get(
|
|
90
|
+
self,
|
|
91
|
+
request: yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.GetClusterExtensionRequest,
|
|
92
|
+
context: _ServicerContext,
|
|
93
|
+
) -> typing.Union[yandex.cloud.mdb.clickhouse.v1.cluster_extension_pb2.ClusterExtension, collections.abc.Awaitable[yandex.cloud.mdb.clickhouse.v1.cluster_extension_pb2.ClusterExtension]]: ...
|
|
94
|
+
|
|
95
|
+
@abc.abstractmethod
|
|
96
|
+
def List(
|
|
97
|
+
self,
|
|
98
|
+
request: yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.ListClusterExtensionsRequest,
|
|
99
|
+
context: _ServicerContext,
|
|
100
|
+
) -> typing.Union[yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.ListClusterExtensionsResponse, collections.abc.Awaitable[yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.ListClusterExtensionsResponse]]: ...
|
|
101
|
+
|
|
102
|
+
@abc.abstractmethod
|
|
103
|
+
def Create(
|
|
104
|
+
self,
|
|
105
|
+
request: yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.CreateClusterExtensionRequest,
|
|
106
|
+
context: _ServicerContext,
|
|
107
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
|
|
108
|
+
|
|
109
|
+
@abc.abstractmethod
|
|
110
|
+
def Delete(
|
|
111
|
+
self,
|
|
112
|
+
request: yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.DeleteClusterExtensionRequest,
|
|
113
|
+
context: _ServicerContext,
|
|
114
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
|
|
115
|
+
|
|
116
|
+
@abc.abstractmethod
|
|
117
|
+
def Update(
|
|
118
|
+
self,
|
|
119
|
+
request: yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.UpdateClusterExtensionRequest,
|
|
120
|
+
context: _ServicerContext,
|
|
121
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
|
|
122
|
+
|
|
123
|
+
@abc.abstractmethod
|
|
124
|
+
def SetExtensions(
|
|
125
|
+
self,
|
|
126
|
+
request: yandex.cloud.mdb.clickhouse.v1.cluster_extension_service_pb2.SetClusterExtensionsRequest,
|
|
127
|
+
context: _ServicerContext,
|
|
128
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
129
|
+
"""Set the list of cluster extensions. Not specified extensions will be deleted."""
|
|
130
|
+
|
|
131
|
+
def add_ClusterExtensionServiceServicer_to_server(servicer: ClusterExtensionServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/mdb/clickhouse/v1/extension.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/mdb/clickhouse/v1/extension.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/mdb/clickhouse/v1/extension.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1dyandex/cloud/validation.proto\"c\n\tExtension\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x42\n\x08versions\x18\x02 \x03(\x0b\x32\x30.yandex.cloud.mdb.clickhouse.v1.ExtensionVersion\"I\n\x10\x45xtensionVersion\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x02 \x01(\x08\x12\x12\n\ndeprecated\x18\x03 \x01(\x08\x42s\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouseb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.mdb.clickhouse.v1.extension_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouse'
|
|
36
|
+
_globals['_EXTENSION'].fields_by_name['name']._loaded_options = None
|
|
37
|
+
_globals['_EXTENSION'].fields_by_name['name']._serialized_options = b'\350\3071\001'
|
|
38
|
+
_globals['_EXTENSIONVERSION'].fields_by_name['id']._loaded_options = None
|
|
39
|
+
_globals['_EXTENSIONVERSION'].fields_by_name['id']._serialized_options = b'\350\3071\001'
|
|
40
|
+
_globals['_EXTENSION']._serialized_start=113
|
|
41
|
+
_globals['_EXTENSION']._serialized_end=212
|
|
42
|
+
_globals['_EXTENSIONVERSION']._serialized_start=214
|
|
43
|
+
_globals['_EXTENSIONVERSION']._serialized_end=287
|
|
44
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
@typing.final
|
|
16
|
+
class Extension(google.protobuf.message.Message):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
20
|
+
VERSIONS_FIELD_NUMBER: builtins.int
|
|
21
|
+
name: builtins.str
|
|
22
|
+
"""Required. Extension name."""
|
|
23
|
+
@property
|
|
24
|
+
def versions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExtensionVersion]:
|
|
25
|
+
"""Required. All extension available versions."""
|
|
26
|
+
|
|
27
|
+
def __init__(
|
|
28
|
+
self,
|
|
29
|
+
*,
|
|
30
|
+
name: builtins.str = ...,
|
|
31
|
+
versions: collections.abc.Iterable[global___ExtensionVersion] | None = ...,
|
|
32
|
+
) -> None: ...
|
|
33
|
+
def ClearField(self, field_name: typing.Literal["name", b"name", "versions", b"versions"]) -> None: ...
|
|
34
|
+
|
|
35
|
+
global___Extension = Extension
|
|
36
|
+
|
|
37
|
+
@typing.final
|
|
38
|
+
class ExtensionVersion(google.protobuf.message.Message):
|
|
39
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
40
|
+
|
|
41
|
+
ID_FIELD_NUMBER: builtins.int
|
|
42
|
+
DEFAULT_FIELD_NUMBER: builtins.int
|
|
43
|
+
DEPRECATED_FIELD_NUMBER: builtins.int
|
|
44
|
+
id: builtins.str
|
|
45
|
+
"""Required. Version ID."""
|
|
46
|
+
default: builtins.bool
|
|
47
|
+
"""Is default version."""
|
|
48
|
+
deprecated: builtins.bool
|
|
49
|
+
"""Is version deprecated."""
|
|
50
|
+
def __init__(
|
|
51
|
+
self,
|
|
52
|
+
*,
|
|
53
|
+
id: builtins.str = ...,
|
|
54
|
+
default: builtins.bool = ...,
|
|
55
|
+
deprecated: builtins.bool = ...,
|
|
56
|
+
) -> None: ...
|
|
57
|
+
def ClearField(self, field_name: typing.Literal["default", b"default", "deprecated", b"deprecated", "id", b"id"]) -> None: ...
|
|
58
|
+
|
|
59
|
+
global___ExtensionVersion = ExtensionVersion
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/mdb/clickhouse/v1/extension_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/mdb/clickhouse/v1/extension_service.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/mdb/clickhouse/v1/extension_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
|
+
from yandex.cloud.mdb.clickhouse.v1 import extension_pb2 as yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/mdb/clickhouse/v1/extension_service.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\x1a.yandex/cloud/mdb/clickhouse/v1/extension.proto\"X\n\x13GetExtensionRequest\x12$\n\x0e\x65xtension_name\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=63\x12\x1b\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"r\n\x15ListExtensionsRequest\x12\x1d\n\tpage_size\x18\x01 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1b\n\tfolder_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"p\n\x16ListExtensionsResponse\x12=\n\nextensions\x18\x01 \x03(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Extension\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd9\x02\n\x10\x45xtensionService\x12\xa1\x01\n\x03Get\x12\x33.yandex.cloud.mdb.clickhouse.v1.GetExtensionRequest\x1a).yandex.cloud.mdb.clickhouse.v1.Extension\":\x82\xd3\xe4\x93\x02\x34\x12\x32/managed-clickhouse/v1/extensions/{extension_name}\x12\xa0\x01\n\x04List\x12\x35.yandex.cloud.mdb.clickhouse.v1.ListExtensionsRequest\x1a\x36.yandex.cloud.mdb.clickhouse.v1.ListExtensionsResponse\")\x82\xd3\xe4\x93\x02#\x12!/managed-clickhouse/v1/extensionsBs\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouseb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.mdb.clickhouse.v1.extension_service_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouse'
|
|
38
|
+
_globals['_GETEXTENSIONREQUEST'].fields_by_name['extension_name']._loaded_options = None
|
|
39
|
+
_globals['_GETEXTENSIONREQUEST'].fields_by_name['extension_name']._serialized_options = b'\350\3071\001\212\3101\004<=63'
|
|
40
|
+
_globals['_GETEXTENSIONREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
41
|
+
_globals['_GETEXTENSIONREQUEST'].fields_by_name['folder_id']._serialized_options = b'\212\3101\004<=50'
|
|
42
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
43
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
44
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
45
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
46
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
47
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['folder_id']._serialized_options = b'\212\3101\004<=50'
|
|
48
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
49
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\0024\0222/managed-clickhouse/v1/extensions/{extension_name}'
|
|
50
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['List']._loaded_options = None
|
|
51
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002#\022!/managed-clickhouse/v1/extensions'
|
|
52
|
+
_globals['_GETEXTENSIONREQUEST']._serialized_start=199
|
|
53
|
+
_globals['_GETEXTENSIONREQUEST']._serialized_end=287
|
|
54
|
+
_globals['_LISTEXTENSIONSREQUEST']._serialized_start=289
|
|
55
|
+
_globals['_LISTEXTENSIONSREQUEST']._serialized_end=403
|
|
56
|
+
_globals['_LISTEXTENSIONSRESPONSE']._serialized_start=405
|
|
57
|
+
_globals['_LISTEXTENSIONSRESPONSE']._serialized_end=517
|
|
58
|
+
_globals['_EXTENSIONSERVICE']._serialized_start=520
|
|
59
|
+
_globals['_EXTENSIONSERVICE']._serialized_end=865
|
|
60
|
+
# @@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.mdb.clickhouse.v1.extension_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetExtensionRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
EXTENSION_NAME_FIELD_NUMBER: builtins.int
|
|
21
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
extension_name: builtins.str
|
|
23
|
+
folder_id: builtins.str
|
|
24
|
+
def __init__(
|
|
25
|
+
self,
|
|
26
|
+
*,
|
|
27
|
+
extension_name: builtins.str = ...,
|
|
28
|
+
folder_id: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["extension_name", b"extension_name", "folder_id", b"folder_id"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___GetExtensionRequest = GetExtensionRequest
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class ListExtensionsRequest(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
39
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
40
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
41
|
+
page_size: builtins.int
|
|
42
|
+
page_token: builtins.str
|
|
43
|
+
folder_id: builtins.str
|
|
44
|
+
def __init__(
|
|
45
|
+
self,
|
|
46
|
+
*,
|
|
47
|
+
page_size: builtins.int = ...,
|
|
48
|
+
page_token: builtins.str = ...,
|
|
49
|
+
folder_id: builtins.str = ...,
|
|
50
|
+
) -> None: ...
|
|
51
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
52
|
+
|
|
53
|
+
global___ListExtensionsRequest = ListExtensionsRequest
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class ListExtensionsResponse(google.protobuf.message.Message):
|
|
57
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
58
|
+
|
|
59
|
+
EXTENSIONS_FIELD_NUMBER: builtins.int
|
|
60
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
61
|
+
next_page_token: builtins.str
|
|
62
|
+
@property
|
|
63
|
+
def extensions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.clickhouse.v1.extension_pb2.Extension]: ...
|
|
64
|
+
def __init__(
|
|
65
|
+
self,
|
|
66
|
+
*,
|
|
67
|
+
extensions: collections.abc.Iterable[yandex.cloud.mdb.clickhouse.v1.extension_pb2.Extension] | None = ...,
|
|
68
|
+
next_page_token: builtins.str = ...,
|
|
69
|
+
) -> None: ...
|
|
70
|
+
def ClearField(self, field_name: typing.Literal["extensions", b"extensions", "next_page_token", b"next_page_token"]) -> None: ...
|
|
71
|
+
|
|
72
|
+
global___ListExtensionsResponse = ListExtensionsResponse
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
from yandex.cloud.mdb.clickhouse.v1 import extension_pb2 as yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__pb2
|
|
7
|
+
from yandex.cloud.mdb.clickhouse.v1 import extension_service_pb2 as yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2
|
|
8
|
+
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
10
|
+
GRPC_VERSION = grpc.__version__
|
|
11
|
+
_version_not_supported = False
|
|
12
|
+
|
|
13
|
+
try:
|
|
14
|
+
from grpc._utilities import first_version_is_lower
|
|
15
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
16
|
+
except ImportError:
|
|
17
|
+
_version_not_supported = True
|
|
18
|
+
|
|
19
|
+
if _version_not_supported:
|
|
20
|
+
raise RuntimeError(
|
|
21
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
22
|
+
+ f' but the generated code in yandex/cloud/mdb/clickhouse/v1/extension_service_pb2_grpc.py depends on'
|
|
23
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
24
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
25
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class ExtensionServiceStub(object):
|
|
30
|
+
"""Missing associated documentation comment in .proto file."""
|
|
31
|
+
|
|
32
|
+
def __init__(self, channel):
|
|
33
|
+
"""Constructor.
|
|
34
|
+
|
|
35
|
+
Args:
|
|
36
|
+
channel: A grpc.Channel.
|
|
37
|
+
"""
|
|
38
|
+
self.Get = channel.unary_unary(
|
|
39
|
+
'/yandex.cloud.mdb.clickhouse.v1.ExtensionService/Get',
|
|
40
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2.GetExtensionRequest.SerializeToString,
|
|
41
|
+
response_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__pb2.Extension.FromString,
|
|
42
|
+
_registered_method=True)
|
|
43
|
+
self.List = channel.unary_unary(
|
|
44
|
+
'/yandex.cloud.mdb.clickhouse.v1.ExtensionService/List',
|
|
45
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2.ListExtensionsRequest.SerializeToString,
|
|
46
|
+
response_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2.ListExtensionsResponse.FromString,
|
|
47
|
+
_registered_method=True)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class ExtensionServiceServicer(object):
|
|
51
|
+
"""Missing associated documentation comment in .proto file."""
|
|
52
|
+
|
|
53
|
+
def Get(self, request, context):
|
|
54
|
+
"""Missing associated documentation comment in .proto file."""
|
|
55
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
|
+
context.set_details('Method not implemented!')
|
|
57
|
+
raise NotImplementedError('Method not implemented!')
|
|
58
|
+
|
|
59
|
+
def List(self, request, context):
|
|
60
|
+
"""Missing associated documentation comment in .proto file."""
|
|
61
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
62
|
+
context.set_details('Method not implemented!')
|
|
63
|
+
raise NotImplementedError('Method not implemented!')
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def add_ExtensionServiceServicer_to_server(servicer, server):
|
|
67
|
+
rpc_method_handlers = {
|
|
68
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
69
|
+
servicer.Get,
|
|
70
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2.GetExtensionRequest.FromString,
|
|
71
|
+
response_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__pb2.Extension.SerializeToString,
|
|
72
|
+
),
|
|
73
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
74
|
+
servicer.List,
|
|
75
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2.ListExtensionsRequest.FromString,
|
|
76
|
+
response_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2.ListExtensionsResponse.SerializeToString,
|
|
77
|
+
),
|
|
78
|
+
}
|
|
79
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
80
|
+
'yandex.cloud.mdb.clickhouse.v1.ExtensionService', rpc_method_handlers)
|
|
81
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
82
|
+
server.add_registered_method_handlers('yandex.cloud.mdb.clickhouse.v1.ExtensionService', rpc_method_handlers)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
# This class is part of an EXPERIMENTAL API.
|
|
86
|
+
class ExtensionService(object):
|
|
87
|
+
"""Missing associated documentation comment in .proto file."""
|
|
88
|
+
|
|
89
|
+
@staticmethod
|
|
90
|
+
def Get(request,
|
|
91
|
+
target,
|
|
92
|
+
options=(),
|
|
93
|
+
channel_credentials=None,
|
|
94
|
+
call_credentials=None,
|
|
95
|
+
insecure=False,
|
|
96
|
+
compression=None,
|
|
97
|
+
wait_for_ready=None,
|
|
98
|
+
timeout=None,
|
|
99
|
+
metadata=None):
|
|
100
|
+
return grpc.experimental.unary_unary(
|
|
101
|
+
request,
|
|
102
|
+
target,
|
|
103
|
+
'/yandex.cloud.mdb.clickhouse.v1.ExtensionService/Get',
|
|
104
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2.GetExtensionRequest.SerializeToString,
|
|
105
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__pb2.Extension.FromString,
|
|
106
|
+
options,
|
|
107
|
+
channel_credentials,
|
|
108
|
+
insecure,
|
|
109
|
+
call_credentials,
|
|
110
|
+
compression,
|
|
111
|
+
wait_for_ready,
|
|
112
|
+
timeout,
|
|
113
|
+
metadata,
|
|
114
|
+
_registered_method=True)
|
|
115
|
+
|
|
116
|
+
@staticmethod
|
|
117
|
+
def List(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(
|
|
128
|
+
request,
|
|
129
|
+
target,
|
|
130
|
+
'/yandex.cloud.mdb.clickhouse.v1.ExtensionService/List',
|
|
131
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2.ListExtensionsRequest.SerializeToString,
|
|
132
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_extension__service__pb2.ListExtensionsResponse.FromString,
|
|
133
|
+
options,
|
|
134
|
+
channel_credentials,
|
|
135
|
+
insecure,
|
|
136
|
+
call_credentials,
|
|
137
|
+
compression,
|
|
138
|
+
wait_for_ready,
|
|
139
|
+
timeout,
|
|
140
|
+
metadata,
|
|
141
|
+
_registered_method=True)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
import yandex.cloud.mdb.clickhouse.v1.extension_pb2
|
|
12
|
+
import yandex.cloud.mdb.clickhouse.v1.extension_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 ExtensionServiceStub:
|
|
22
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
23
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
24
|
+
yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.GetExtensionRequest,
|
|
25
|
+
yandex.cloud.mdb.clickhouse.v1.extension_pb2.Extension,
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
29
|
+
yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.ListExtensionsRequest,
|
|
30
|
+
yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.ListExtensionsResponse,
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
class ExtensionServiceAsyncStub:
|
|
34
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
35
|
+
yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.GetExtensionRequest,
|
|
36
|
+
yandex.cloud.mdb.clickhouse.v1.extension_pb2.Extension,
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
40
|
+
yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.ListExtensionsRequest,
|
|
41
|
+
yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.ListExtensionsResponse,
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
class ExtensionServiceServicer(metaclass=abc.ABCMeta):
|
|
45
|
+
@abc.abstractmethod
|
|
46
|
+
def Get(
|
|
47
|
+
self,
|
|
48
|
+
request: yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.GetExtensionRequest,
|
|
49
|
+
context: _ServicerContext,
|
|
50
|
+
) -> typing.Union[yandex.cloud.mdb.clickhouse.v1.extension_pb2.Extension, collections.abc.Awaitable[yandex.cloud.mdb.clickhouse.v1.extension_pb2.Extension]]: ...
|
|
51
|
+
|
|
52
|
+
@abc.abstractmethod
|
|
53
|
+
def List(
|
|
54
|
+
self,
|
|
55
|
+
request: yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.ListExtensionsRequest,
|
|
56
|
+
context: _ServicerContext,
|
|
57
|
+
) -> typing.Union[yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.ListExtensionsResponse, collections.abc.Awaitable[yandex.cloud.mdb.clickhouse.v1.extension_service_pb2.ListExtensionsResponse]]: ...
|
|
58
|
+
|
|
59
|
+
def add_ExtensionServiceServicer_to_server(servicer: ExtensionServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|