yandexcloud 0.352.0__py3-none-any.whl → 0.354.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.

Files changed (80) hide show
  1. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +18 -18
  2. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +18 -2
  3. yandex/cloud/baremetal/v1alpha/disk_pb2.py +2 -2
  4. yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +8 -4
  5. yandex/cloud/baremetal/v1alpha/server_pb2.py +13 -11
  6. yandex/cloud/connectionmanager/__init__.py +0 -0
  7. yandex/cloud/connectionmanager/v1/__init__.py +0 -0
  8. yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
  9. yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
  10. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
  11. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
  12. yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
  13. yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
  14. yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
  15. yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
  16. yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
  17. yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
  18. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
  19. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
  20. yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
  21. yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
  22. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +371 -0
  23. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +187 -0
  24. yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
  25. yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
  26. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
  27. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
  28. yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
  29. yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
  30. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
  31. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
  32. yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
  33. yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
  34. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
  35. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
  36. yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
  37. yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
  38. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
  39. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
  40. yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
  41. yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
  42. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
  43. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
  44. yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
  45. yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
  46. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
  47. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
  48. yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
  49. yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
  50. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
  51. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
  52. yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
  53. yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
  54. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
  55. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
  56. yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
  57. yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
  58. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
  59. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
  60. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +94 -76
  61. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
  62. yandex/cloud/organizationmanager/v1/group_pb2.py +3 -3
  63. yandex/cloud/organizationmanager/v1/group_pb2.pyi +9 -1
  64. yandex/cloud/organizationmanager/v1/group_service_pb2.py +95 -37
  65. yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +276 -0
  66. yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.py +220 -0
  67. yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.pyi +100 -0
  68. yandex/cloud/organizationmanager/v1/saml/federation_pb2.py +17 -3
  69. yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
  70. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
  71. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
  72. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
  73. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
  74. yandexcloud/__init__.py +1 -1
  75. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/METADATA +1 -1
  76. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/RECORD +80 -26
  77. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/AUTHORS +0 -0
  78. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/LICENSE +0 -0
  79. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/WHEEL +0 -0
  80. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,50 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/connectionmanager/v1/postgresql.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/connectionmanager/v1/postgresql.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from yandex.cloud.connectionmanager.v1 import common_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_common__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/connectionmanager/v1/postgresql.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"j\n\x0ePostgreSQLAuth\x12L\n\ruser_password\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.UserPasswordAuthH\x00\x42\n\n\x08security\"\xa5\x05\n\x11PostgreSQLCluster\x12H\n\x05hosts\x18\x04 \x03(\x0b\x32\x39.yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host\x12@\n\ntls_params\x18\x03 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSParams\x1a\xf7\x03\n\x04Host\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\x12L\n\x04role\x18\x03 \x01(\x0e\x32>.yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.Role\x12[\n\x0creplica_type\x18\x04 \x01(\x0e\x32\x45.yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.ReplicaType\x12P\n\x06health\x18\x05 \x01(\x0e\x32@.yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.Health\"5\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06MASTER\x10\x01\x12\x0b\n\x07REPLICA\x10\x02\"L\n\x0bReplicaType\x12\x1c\n\x18REPLICA_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41SYNC\x10\x01\x12\x08\n\x04SYNC\x10\x02\x12\n\n\x06QUORUM\x10\x03\"Q\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x12\x0c\n\x08READONLY\x10\x04J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"\xd3\x01\n\x14PostgreSQLConnection\x12\x45\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x34.yandex.cloud.connectionmanager.v1.PostgreSQLCluster\x12\x1a\n\x12managed_cluster_id\x18\x02 \x01(\t\x12?\n\x04\x61uth\x18\x04 \x01(\x0b\x32\x31.yandex.cloud.connectionmanager.v1.PostgreSQLAuth\x12\x11\n\tdatabases\x18\x05 \x03(\tJ\x04\x08\x03\x10\x04\x42\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.connectionmanager.v1.postgresql_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.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
36
+ _globals['_POSTGRESQLAUTH']._serialized_start=137
37
+ _globals['_POSTGRESQLAUTH']._serialized_end=243
38
+ _globals['_POSTGRESQLCLUSTER']._serialized_start=246
39
+ _globals['_POSTGRESQLCLUSTER']._serialized_end=923
40
+ _globals['_POSTGRESQLCLUSTER_HOST']._serialized_start=408
41
+ _globals['_POSTGRESQLCLUSTER_HOST']._serialized_end=911
42
+ _globals['_POSTGRESQLCLUSTER_HOST_ROLE']._serialized_start=697
43
+ _globals['_POSTGRESQLCLUSTER_HOST_ROLE']._serialized_end=750
44
+ _globals['_POSTGRESQLCLUSTER_HOST_REPLICATYPE']._serialized_start=752
45
+ _globals['_POSTGRESQLCLUSTER_HOST_REPLICATYPE']._serialized_end=828
46
+ _globals['_POSTGRESQLCLUSTER_HOST_HEALTH']._serialized_start=830
47
+ _globals['_POSTGRESQLCLUSTER_HOST_HEALTH']._serialized_end=911
48
+ _globals['_POSTGRESQLCONNECTION']._serialized_start=926
49
+ _globals['_POSTGRESQLCONNECTION']._serialized_end=1137
50
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,171 @@
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.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import sys
13
+ import typing
14
+ import yandex.cloud.connectionmanager.v1.common_pb2
15
+
16
+ if sys.version_info >= (3, 10):
17
+ import typing as typing_extensions
18
+ else:
19
+ import typing_extensions
20
+
21
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
22
+
23
+ @typing.final
24
+ class PostgreSQLAuth(google.protobuf.message.Message):
25
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
26
+
27
+ USER_PASSWORD_FIELD_NUMBER: builtins.int
28
+ @property
29
+ def user_password(self) -> yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth: ...
30
+ def __init__(
31
+ self,
32
+ *,
33
+ user_password: yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth | None = ...,
34
+ ) -> None: ...
35
+ def HasField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> builtins.bool: ...
36
+ def ClearField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> None: ...
37
+ def WhichOneof(self, oneof_group: typing.Literal["security", b"security"]) -> typing.Literal["user_password"] | None: ...
38
+
39
+ global___PostgreSQLAuth = PostgreSQLAuth
40
+
41
+ @typing.final
42
+ class PostgreSQLCluster(google.protobuf.message.Message):
43
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
44
+
45
+ @typing.final
46
+ class Host(google.protobuf.message.Message):
47
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
48
+
49
+ class _Role:
50
+ ValueType = typing.NewType("ValueType", builtins.int)
51
+ V: typing_extensions.TypeAlias = ValueType
52
+
53
+ class _RoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PostgreSQLCluster.Host._Role.ValueType], builtins.type):
54
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
55
+ ROLE_UNSPECIFIED: PostgreSQLCluster.Host._Role.ValueType # 0
56
+ MASTER: PostgreSQLCluster.Host._Role.ValueType # 1
57
+ REPLICA: PostgreSQLCluster.Host._Role.ValueType # 2
58
+
59
+ class Role(_Role, metaclass=_RoleEnumTypeWrapper): ...
60
+ ROLE_UNSPECIFIED: PostgreSQLCluster.Host.Role.ValueType # 0
61
+ MASTER: PostgreSQLCluster.Host.Role.ValueType # 1
62
+ REPLICA: PostgreSQLCluster.Host.Role.ValueType # 2
63
+
64
+ class _ReplicaType:
65
+ ValueType = typing.NewType("ValueType", builtins.int)
66
+ V: typing_extensions.TypeAlias = ValueType
67
+
68
+ class _ReplicaTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PostgreSQLCluster.Host._ReplicaType.ValueType], builtins.type):
69
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
70
+ REPLICA_TYPE_UNSPECIFIED: PostgreSQLCluster.Host._ReplicaType.ValueType # 0
71
+ ASYNC: PostgreSQLCluster.Host._ReplicaType.ValueType # 1
72
+ SYNC: PostgreSQLCluster.Host._ReplicaType.ValueType # 2
73
+ QUORUM: PostgreSQLCluster.Host._ReplicaType.ValueType # 3
74
+
75
+ class ReplicaType(_ReplicaType, metaclass=_ReplicaTypeEnumTypeWrapper): ...
76
+ REPLICA_TYPE_UNSPECIFIED: PostgreSQLCluster.Host.ReplicaType.ValueType # 0
77
+ ASYNC: PostgreSQLCluster.Host.ReplicaType.ValueType # 1
78
+ SYNC: PostgreSQLCluster.Host.ReplicaType.ValueType # 2
79
+ QUORUM: PostgreSQLCluster.Host.ReplicaType.ValueType # 3
80
+
81
+ class _Health:
82
+ ValueType = typing.NewType("ValueType", builtins.int)
83
+ V: typing_extensions.TypeAlias = ValueType
84
+
85
+ class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PostgreSQLCluster.Host._Health.ValueType], builtins.type):
86
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
87
+ HEALTH_UNSPECIFIED: PostgreSQLCluster.Host._Health.ValueType # 0
88
+ ALIVE: PostgreSQLCluster.Host._Health.ValueType # 1
89
+ DEAD: PostgreSQLCluster.Host._Health.ValueType # 2
90
+ DEGRADED: PostgreSQLCluster.Host._Health.ValueType # 3
91
+ READONLY: PostgreSQLCluster.Host._Health.ValueType # 4
92
+
93
+ class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
94
+ HEALTH_UNSPECIFIED: PostgreSQLCluster.Host.Health.ValueType # 0
95
+ ALIVE: PostgreSQLCluster.Host.Health.ValueType # 1
96
+ DEAD: PostgreSQLCluster.Host.Health.ValueType # 2
97
+ DEGRADED: PostgreSQLCluster.Host.Health.ValueType # 3
98
+ READONLY: PostgreSQLCluster.Host.Health.ValueType # 4
99
+
100
+ HOST_FIELD_NUMBER: builtins.int
101
+ PORT_FIELD_NUMBER: builtins.int
102
+ ROLE_FIELD_NUMBER: builtins.int
103
+ REPLICA_TYPE_FIELD_NUMBER: builtins.int
104
+ HEALTH_FIELD_NUMBER: builtins.int
105
+ host: builtins.str
106
+ port: builtins.int
107
+ role: global___PostgreSQLCluster.Host.Role.ValueType
108
+ replica_type: global___PostgreSQLCluster.Host.ReplicaType.ValueType
109
+ health: global___PostgreSQLCluster.Host.Health.ValueType
110
+ def __init__(
111
+ self,
112
+ *,
113
+ host: builtins.str = ...,
114
+ port: builtins.int = ...,
115
+ role: global___PostgreSQLCluster.Host.Role.ValueType = ...,
116
+ replica_type: global___PostgreSQLCluster.Host.ReplicaType.ValueType = ...,
117
+ health: global___PostgreSQLCluster.Host.Health.ValueType = ...,
118
+ ) -> None: ...
119
+ def ClearField(self, field_name: typing.Literal["health", b"health", "host", b"host", "port", b"port", "replica_type", b"replica_type", "role", b"role"]) -> None: ...
120
+
121
+ HOSTS_FIELD_NUMBER: builtins.int
122
+ TLS_PARAMS_FIELD_NUMBER: builtins.int
123
+ @property
124
+ def hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PostgreSQLCluster.Host]: ...
125
+ @property
126
+ def tls_params(self) -> yandex.cloud.connectionmanager.v1.common_pb2.TLSParams: ...
127
+ def __init__(
128
+ self,
129
+ *,
130
+ hosts: collections.abc.Iterable[global___PostgreSQLCluster.Host] | None = ...,
131
+ tls_params: yandex.cloud.connectionmanager.v1.common_pb2.TLSParams | None = ...,
132
+ ) -> None: ...
133
+ def HasField(self, field_name: typing.Literal["tls_params", b"tls_params"]) -> builtins.bool: ...
134
+ def ClearField(self, field_name: typing.Literal["hosts", b"hosts", "tls_params", b"tls_params"]) -> None: ...
135
+
136
+ global___PostgreSQLCluster = PostgreSQLCluster
137
+
138
+ @typing.final
139
+ class PostgreSQLConnection(google.protobuf.message.Message):
140
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
141
+
142
+ CLUSTER_FIELD_NUMBER: builtins.int
143
+ MANAGED_CLUSTER_ID_FIELD_NUMBER: builtins.int
144
+ AUTH_FIELD_NUMBER: builtins.int
145
+ DATABASES_FIELD_NUMBER: builtins.int
146
+ managed_cluster_id: builtins.str
147
+ """When creating/updating Connection, the field "managed_cluster_id" is
148
+ mutually exclusive with "cluster".
149
+ """
150
+ @property
151
+ def cluster(self) -> global___PostgreSQLCluster:
152
+ """When creating/updating Connection, the field "cluster" is mutually
153
+ exclusive with "managed_cluster_id".
154
+ """
155
+
156
+ @property
157
+ def auth(self) -> global___PostgreSQLAuth: ...
158
+ @property
159
+ def databases(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
160
+ def __init__(
161
+ self,
162
+ *,
163
+ cluster: global___PostgreSQLCluster | None = ...,
164
+ managed_cluster_id: builtins.str = ...,
165
+ auth: global___PostgreSQLAuth | None = ...,
166
+ databases: collections.abc.Iterable[builtins.str] | None = ...,
167
+ ) -> None: ...
168
+ def HasField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> builtins.bool: ...
169
+ def ClearField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster", "databases", b"databases", "managed_cluster_id", b"managed_cluster_id"]) -> None: ...
170
+
171
+ global___PostgreSQLConnection = PostgreSQLConnection
@@ -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/connectionmanager/v1/postgresql_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,50 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/connectionmanager/v1/redis.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/connectionmanager/v1/redis.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from yandex.cloud.connectionmanager.v1 import common_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_common__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/connectionmanager/v1/redis.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"\xd0\x01\n\tRedisAuth\x12V\n\ruser_password\x18\x01 \x01(\x0b\x32=.yandex.cloud.connectionmanager.v1.RedisAuth.UserPasswordAuthH\x00\x1a_\n\x10UserPasswordAuth\x12\x0c\n\x04user\x18\x01 \x01(\t\x12=\n\x08password\x18\x02 \x01(\x0b\x32+.yandex.cloud.connectionmanager.v1.PasswordB\n\n\x08security\"\x89\x04\n\x0cRedisCluster\x12\x43\n\x05hosts\x18\x06 \x03(\x0b\x32\x34.yandex.cloud.connectionmanager.v1.RedisCluster.Host\x12\x15\n\rsentinel_port\x18\x03 \x01(\x03\x12@\n\ntls_params\x18\x04 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSParams\x1a\xc8\x02\n\x04Host\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\x12G\n\x04role\x18\x03 \x01(\x0e\x32\x39.yandex.cloud.connectionmanager.v1.RedisCluster.Host.Role\x12K\n\x06health\x18\x04 \x01(\x0e\x32;.yandex.cloud.connectionmanager.v1.RedisCluster.Host.Health\x12\x12\n\nshard_name\x18\x05 \x01(\t\"5\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06MASTER\x10\x01\x12\x0b\n\x07REPLICA\x10\x02\"C\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06\"\xa8\x01\n\x0fRedisConnection\x12@\n\x07\x63luster\x18\x01 \x01(\x0b\x32/.yandex.cloud.connectionmanager.v1.RedisCluster\x12:\n\x04\x61uth\x18\x03 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.RedisAuth\x12\x11\n\tdatabases\x18\x04 \x03(\x03J\x04\x08\x02\x10\x03\x42\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.connectionmanager.v1.redis_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.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
36
+ _globals['_REDISAUTH']._serialized_start=133
37
+ _globals['_REDISAUTH']._serialized_end=341
38
+ _globals['_REDISAUTH_USERPASSWORDAUTH']._serialized_start=234
39
+ _globals['_REDISAUTH_USERPASSWORDAUTH']._serialized_end=329
40
+ _globals['_REDISCLUSTER']._serialized_start=344
41
+ _globals['_REDISCLUSTER']._serialized_end=865
42
+ _globals['_REDISCLUSTER_HOST']._serialized_start=519
43
+ _globals['_REDISCLUSTER_HOST']._serialized_end=847
44
+ _globals['_REDISCLUSTER_HOST_ROLE']._serialized_start=725
45
+ _globals['_REDISCLUSTER_HOST_ROLE']._serialized_end=778
46
+ _globals['_REDISCLUSTER_HOST_HEALTH']._serialized_start=780
47
+ _globals['_REDISCLUSTER_HOST_HEALTH']._serialized_end=847
48
+ _globals['_REDISCONNECTION']._serialized_start=868
49
+ _globals['_REDISCONNECTION']._serialized_end=1036
50
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,163 @@
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.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import sys
13
+ import typing
14
+ import yandex.cloud.connectionmanager.v1.common_pb2
15
+
16
+ if sys.version_info >= (3, 10):
17
+ import typing as typing_extensions
18
+ else:
19
+ import typing_extensions
20
+
21
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
22
+
23
+ @typing.final
24
+ class RedisAuth(google.protobuf.message.Message):
25
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
26
+
27
+ @typing.final
28
+ class UserPasswordAuth(google.protobuf.message.Message):
29
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
30
+
31
+ USER_FIELD_NUMBER: builtins.int
32
+ PASSWORD_FIELD_NUMBER: builtins.int
33
+ user: builtins.str
34
+ @property
35
+ def password(self) -> yandex.cloud.connectionmanager.v1.common_pb2.Password: ...
36
+ def __init__(
37
+ self,
38
+ *,
39
+ user: builtins.str = ...,
40
+ password: yandex.cloud.connectionmanager.v1.common_pb2.Password | None = ...,
41
+ ) -> None: ...
42
+ def HasField(self, field_name: typing.Literal["password", b"password"]) -> builtins.bool: ...
43
+ def ClearField(self, field_name: typing.Literal["password", b"password", "user", b"user"]) -> None: ...
44
+
45
+ USER_PASSWORD_FIELD_NUMBER: builtins.int
46
+ @property
47
+ def user_password(self) -> global___RedisAuth.UserPasswordAuth: ...
48
+ def __init__(
49
+ self,
50
+ *,
51
+ user_password: global___RedisAuth.UserPasswordAuth | None = ...,
52
+ ) -> None: ...
53
+ def HasField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> builtins.bool: ...
54
+ def ClearField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> None: ...
55
+ def WhichOneof(self, oneof_group: typing.Literal["security", b"security"]) -> typing.Literal["user_password"] | None: ...
56
+
57
+ global___RedisAuth = RedisAuth
58
+
59
+ @typing.final
60
+ class RedisCluster(google.protobuf.message.Message):
61
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
62
+
63
+ @typing.final
64
+ class Host(google.protobuf.message.Message):
65
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
66
+
67
+ class _Role:
68
+ ValueType = typing.NewType("ValueType", builtins.int)
69
+ V: typing_extensions.TypeAlias = ValueType
70
+
71
+ class _RoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[RedisCluster.Host._Role.ValueType], builtins.type):
72
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
73
+ ROLE_UNSPECIFIED: RedisCluster.Host._Role.ValueType # 0
74
+ MASTER: RedisCluster.Host._Role.ValueType # 1
75
+ REPLICA: RedisCluster.Host._Role.ValueType # 2
76
+
77
+ class Role(_Role, metaclass=_RoleEnumTypeWrapper): ...
78
+ ROLE_UNSPECIFIED: RedisCluster.Host.Role.ValueType # 0
79
+ MASTER: RedisCluster.Host.Role.ValueType # 1
80
+ REPLICA: RedisCluster.Host.Role.ValueType # 2
81
+
82
+ class _Health:
83
+ ValueType = typing.NewType("ValueType", builtins.int)
84
+ V: typing_extensions.TypeAlias = ValueType
85
+
86
+ class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[RedisCluster.Host._Health.ValueType], builtins.type):
87
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
88
+ HEALTH_UNSPECIFIED: RedisCluster.Host._Health.ValueType # 0
89
+ ALIVE: RedisCluster.Host._Health.ValueType # 1
90
+ DEAD: RedisCluster.Host._Health.ValueType # 2
91
+ DEGRADED: RedisCluster.Host._Health.ValueType # 3
92
+
93
+ class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
94
+ HEALTH_UNSPECIFIED: RedisCluster.Host.Health.ValueType # 0
95
+ ALIVE: RedisCluster.Host.Health.ValueType # 1
96
+ DEAD: RedisCluster.Host.Health.ValueType # 2
97
+ DEGRADED: RedisCluster.Host.Health.ValueType # 3
98
+
99
+ HOST_FIELD_NUMBER: builtins.int
100
+ PORT_FIELD_NUMBER: builtins.int
101
+ ROLE_FIELD_NUMBER: builtins.int
102
+ HEALTH_FIELD_NUMBER: builtins.int
103
+ SHARD_NAME_FIELD_NUMBER: builtins.int
104
+ host: builtins.str
105
+ port: builtins.int
106
+ role: global___RedisCluster.Host.Role.ValueType
107
+ health: global___RedisCluster.Host.Health.ValueType
108
+ shard_name: builtins.str
109
+ def __init__(
110
+ self,
111
+ *,
112
+ host: builtins.str = ...,
113
+ port: builtins.int = ...,
114
+ role: global___RedisCluster.Host.Role.ValueType = ...,
115
+ health: global___RedisCluster.Host.Health.ValueType = ...,
116
+ shard_name: builtins.str = ...,
117
+ ) -> None: ...
118
+ def ClearField(self, field_name: typing.Literal["health", b"health", "host", b"host", "port", b"port", "role", b"role", "shard_name", b"shard_name"]) -> None: ...
119
+
120
+ HOSTS_FIELD_NUMBER: builtins.int
121
+ SENTINEL_PORT_FIELD_NUMBER: builtins.int
122
+ TLS_PARAMS_FIELD_NUMBER: builtins.int
123
+ sentinel_port: builtins.int
124
+ @property
125
+ def hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RedisCluster.Host]: ...
126
+ @property
127
+ def tls_params(self) -> yandex.cloud.connectionmanager.v1.common_pb2.TLSParams: ...
128
+ def __init__(
129
+ self,
130
+ *,
131
+ hosts: collections.abc.Iterable[global___RedisCluster.Host] | None = ...,
132
+ sentinel_port: builtins.int = ...,
133
+ tls_params: yandex.cloud.connectionmanager.v1.common_pb2.TLSParams | None = ...,
134
+ ) -> None: ...
135
+ def HasField(self, field_name: typing.Literal["tls_params", b"tls_params"]) -> builtins.bool: ...
136
+ def ClearField(self, field_name: typing.Literal["hosts", b"hosts", "sentinel_port", b"sentinel_port", "tls_params", b"tls_params"]) -> None: ...
137
+
138
+ global___RedisCluster = RedisCluster
139
+
140
+ @typing.final
141
+ class RedisConnection(google.protobuf.message.Message):
142
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
143
+
144
+ CLUSTER_FIELD_NUMBER: builtins.int
145
+ AUTH_FIELD_NUMBER: builtins.int
146
+ DATABASES_FIELD_NUMBER: builtins.int
147
+ @property
148
+ def cluster(self) -> global___RedisCluster: ...
149
+ @property
150
+ def auth(self) -> global___RedisAuth: ...
151
+ @property
152
+ def databases(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
153
+ def __init__(
154
+ self,
155
+ *,
156
+ cluster: global___RedisCluster | None = ...,
157
+ auth: global___RedisAuth | None = ...,
158
+ databases: collections.abc.Iterable[builtins.int] | None = ...,
159
+ ) -> None: ...
160
+ def HasField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> builtins.bool: ...
161
+ def ClearField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster", "databases", b"databases"]) -> None: ...
162
+
163
+ global___RedisConnection = RedisConnection
@@ -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/connectionmanager/v1/redis_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,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/connectionmanager/v1/trino.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/connectionmanager/v1/trino.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from yandex.cloud.connectionmanager.v1 import common_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_common__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/connectionmanager/v1/trino.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"e\n\tTrinoAuth\x12L\n\ruser_password\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.UserPasswordAuthH\x00\x42\n\n\x08security\"\xcd\x01\n\x0cTrinoCluster\x12P\n\x0b\x63oordinator\x18\x01 \x01(\x0b\x32;.yandex.cloud.connectionmanager.v1.TrinoCluster.Coordinator\x12@\n\ntls_params\x18\x02 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSParams\x1a)\n\x0b\x43oordinator\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\"\x8f\x01\n\x0fTrinoConnection\x12@\n\x07\x63luster\x18\x01 \x01(\x0b\x32/.yandex.cloud.connectionmanager.v1.TrinoCluster\x12:\n\x04\x61uth\x18\x02 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TrinoAuthB\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.connectionmanager.v1.trino_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.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
36
+ _globals['_TRINOAUTH']._serialized_start=132
37
+ _globals['_TRINOAUTH']._serialized_end=233
38
+ _globals['_TRINOCLUSTER']._serialized_start=236
39
+ _globals['_TRINOCLUSTER']._serialized_end=441
40
+ _globals['_TRINOCLUSTER_COORDINATOR']._serialized_start=400
41
+ _globals['_TRINOCLUSTER_COORDINATOR']._serialized_end=441
42
+ _globals['_TRINOCONNECTION']._serialized_start=444
43
+ _globals['_TRINOCONNECTION']._serialized_end=587
44
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,88 @@
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
+ import yandex.cloud.connectionmanager.v1.common_pb2
11
+
12
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
13
+
14
+ @typing.final
15
+ class TrinoAuth(google.protobuf.message.Message):
16
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
17
+
18
+ USER_PASSWORD_FIELD_NUMBER: builtins.int
19
+ @property
20
+ def user_password(self) -> yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth: ...
21
+ def __init__(
22
+ self,
23
+ *,
24
+ user_password: yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth | None = ...,
25
+ ) -> None: ...
26
+ def HasField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> builtins.bool: ...
27
+ def ClearField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> None: ...
28
+ def WhichOneof(self, oneof_group: typing.Literal["security", b"security"]) -> typing.Literal["user_password"] | None: ...
29
+
30
+ global___TrinoAuth = TrinoAuth
31
+
32
+ @typing.final
33
+ class TrinoCluster(google.protobuf.message.Message):
34
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
35
+
36
+ @typing.final
37
+ class Coordinator(google.protobuf.message.Message):
38
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
39
+
40
+ HOST_FIELD_NUMBER: builtins.int
41
+ PORT_FIELD_NUMBER: builtins.int
42
+ host: builtins.str
43
+ port: builtins.int
44
+ def __init__(
45
+ self,
46
+ *,
47
+ host: builtins.str = ...,
48
+ port: builtins.int = ...,
49
+ ) -> None: ...
50
+ def ClearField(self, field_name: typing.Literal["host", b"host", "port", b"port"]) -> None: ...
51
+
52
+ COORDINATOR_FIELD_NUMBER: builtins.int
53
+ TLS_PARAMS_FIELD_NUMBER: builtins.int
54
+ @property
55
+ def coordinator(self) -> global___TrinoCluster.Coordinator: ...
56
+ @property
57
+ def tls_params(self) -> yandex.cloud.connectionmanager.v1.common_pb2.TLSParams: ...
58
+ def __init__(
59
+ self,
60
+ *,
61
+ coordinator: global___TrinoCluster.Coordinator | None = ...,
62
+ tls_params: yandex.cloud.connectionmanager.v1.common_pb2.TLSParams | None = ...,
63
+ ) -> None: ...
64
+ def HasField(self, field_name: typing.Literal["coordinator", b"coordinator", "tls_params", b"tls_params"]) -> builtins.bool: ...
65
+ def ClearField(self, field_name: typing.Literal["coordinator", b"coordinator", "tls_params", b"tls_params"]) -> None: ...
66
+
67
+ global___TrinoCluster = TrinoCluster
68
+
69
+ @typing.final
70
+ class TrinoConnection(google.protobuf.message.Message):
71
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
72
+
73
+ CLUSTER_FIELD_NUMBER: builtins.int
74
+ AUTH_FIELD_NUMBER: builtins.int
75
+ @property
76
+ def cluster(self) -> global___TrinoCluster: ...
77
+ @property
78
+ def auth(self) -> global___TrinoAuth: ...
79
+ def __init__(
80
+ self,
81
+ *,
82
+ cluster: global___TrinoCluster | None = ...,
83
+ auth: global___TrinoAuth | None = ...,
84
+ ) -> None: ...
85
+ def HasField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> builtins.bool: ...
86
+ def ClearField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> None: ...
87
+
88
+ global___TrinoConnection = TrinoConnection