perxis.collections.collections_pb2_grpc
Client and server classes corresponding to protobuf-defined services.
1# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2"""Client and server classes corresponding to protobuf-defined services.""" 3import grpc 4import warnings 5 6from perxis.collections import collections_pb2 as collections_dot_collections__pb2 7from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 8 9GRPC_GENERATED_VERSION = '1.67.1' 10GRPC_VERSION = grpc.__version__ 11_version_not_supported = False 12 13try: 14 from grpc._utilities import first_version_is_lower 15 _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) 16except ImportError: 17 _version_not_supported = True 18 19if _version_not_supported: 20 raise RuntimeError( 21 f'The grpc package installed is at version {GRPC_VERSION},' 22 + f' but the generated code in collections/collections_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 29class CollectionsStub(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.Create = channel.unary_unary( 39 '/content.collections.Collections/Create', 40 request_serializer=collections_dot_collections__pb2.CreateRequest.SerializeToString, 41 response_deserializer=collections_dot_collections__pb2.CreateResponse.FromString, 42 _registered_method=True) 43 self.Get = channel.unary_unary( 44 '/content.collections.Collections/Get', 45 request_serializer=collections_dot_collections__pb2.GetRequest.SerializeToString, 46 response_deserializer=collections_dot_collections__pb2.GetResponse.FromString, 47 _registered_method=True) 48 self.List = channel.unary_unary( 49 '/content.collections.Collections/List', 50 request_serializer=collections_dot_collections__pb2.ListRequest.SerializeToString, 51 response_deserializer=collections_dot_collections__pb2.ListResponse.FromString, 52 _registered_method=True) 53 self.Update = channel.unary_unary( 54 '/content.collections.Collections/Update', 55 request_serializer=collections_dot_collections__pb2.UpdateRequest.SerializeToString, 56 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 57 _registered_method=True) 58 self.SetSchema = channel.unary_unary( 59 '/content.collections.Collections/SetSchema', 60 request_serializer=collections_dot_collections__pb2.SetSchemaRequest.SerializeToString, 61 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 62 _registered_method=True) 63 self.Delete = channel.unary_unary( 64 '/content.collections.Collections/Delete', 65 request_serializer=collections_dot_collections__pb2.DeleteRequest.SerializeToString, 66 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 67 _registered_method=True) 68 69 70class CollectionsServicer(object): 71 """Missing associated documentation comment in .proto file.""" 72 73 def Create(self, request, context): 74 """Создать коллекцию. Установка схемы производится через отдельный метод `SetSchema` и методом `Create` игнорируется 75 """ 76 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 77 context.set_details('Method not implemented!') 78 raise NotImplementedError('Method not implemented!') 79 80 def Get(self, request, context): 81 """Получить коллекцию. Схема коллекции возвращается полная, т.е. включая все подключаемые подсхемы, если не указано 82 обратное в `GetRequest.options` 83 """ 84 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 85 context.set_details('Method not implemented!') 86 raise NotImplementedError('Method not implemented!') 87 88 def List(self, request, context): 89 """Возвращает список коллекций, отсортированных в алфавитном порядке. По умолчанию не возвращает коллекции без данных 90 и скрытые коллекции, подробнее см. `ListRequest.filter` 91 """ 92 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 93 context.set_details('Method not implemented!') 94 raise NotImplementedError('Method not implemented!') 95 96 def Update(self, request, context): 97 """Обновить коллекцию. Установка схемы производится через отдельный метод `SetSchema` и методом `Update` игнорируется 98 """ 99 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 100 context.set_details('Method not implemented!') 101 raise NotImplementedError('Method not implemented!') 102 103 def SetSchema(self, request, context): 104 """Установить схему коллекции. По результатам вызова метода не происходит *применение* схемы - например, 105 не перестраиваются индексы БД коллекции, поскольку это может быть длительный процесс. После редактирования всех 106 необходимых схем окружения необходимо их применить - выполнить миграцию путем вызова метода `Environments.Migrate`. 107 Если схема коллекции изменена, но миграция еще не была запущена, коллекция будет находиться в состоянии `CHANGED`. 108 109 Если в процессе миграции возникли ошибки, в соответствующие коллекции в поле `Collection.state_info` будет записано 110 содержание ошибки и установлено состояние `ERROR` 111 """ 112 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 113 context.set_details('Method not implemented!') 114 raise NotImplementedError('Method not implemented!') 115 116 def Delete(self, request, context): 117 """Удалить коллекцию 118 """ 119 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 120 context.set_details('Method not implemented!') 121 raise NotImplementedError('Method not implemented!') 122 123 124def add_CollectionsServicer_to_server(servicer, server): 125 rpc_method_handlers = { 126 'Create': grpc.unary_unary_rpc_method_handler( 127 servicer.Create, 128 request_deserializer=collections_dot_collections__pb2.CreateRequest.FromString, 129 response_serializer=collections_dot_collections__pb2.CreateResponse.SerializeToString, 130 ), 131 'Get': grpc.unary_unary_rpc_method_handler( 132 servicer.Get, 133 request_deserializer=collections_dot_collections__pb2.GetRequest.FromString, 134 response_serializer=collections_dot_collections__pb2.GetResponse.SerializeToString, 135 ), 136 'List': grpc.unary_unary_rpc_method_handler( 137 servicer.List, 138 request_deserializer=collections_dot_collections__pb2.ListRequest.FromString, 139 response_serializer=collections_dot_collections__pb2.ListResponse.SerializeToString, 140 ), 141 'Update': grpc.unary_unary_rpc_method_handler( 142 servicer.Update, 143 request_deserializer=collections_dot_collections__pb2.UpdateRequest.FromString, 144 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 145 ), 146 'SetSchema': grpc.unary_unary_rpc_method_handler( 147 servicer.SetSchema, 148 request_deserializer=collections_dot_collections__pb2.SetSchemaRequest.FromString, 149 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 150 ), 151 'Delete': grpc.unary_unary_rpc_method_handler( 152 servicer.Delete, 153 request_deserializer=collections_dot_collections__pb2.DeleteRequest.FromString, 154 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 155 ), 156 } 157 generic_handler = grpc.method_handlers_generic_handler( 158 'content.collections.Collections', rpc_method_handlers) 159 server.add_generic_rpc_handlers((generic_handler,)) 160 server.add_registered_method_handlers('content.collections.Collections', rpc_method_handlers) 161 162 163 # This class is part of an EXPERIMENTAL API. 164class Collections(object): 165 """Missing associated documentation comment in .proto file.""" 166 167 @staticmethod 168 def Create(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( 179 request, 180 target, 181 '/content.collections.Collections/Create', 182 collections_dot_collections__pb2.CreateRequest.SerializeToString, 183 collections_dot_collections__pb2.CreateResponse.FromString, 184 options, 185 channel_credentials, 186 insecure, 187 call_credentials, 188 compression, 189 wait_for_ready, 190 timeout, 191 metadata, 192 _registered_method=True) 193 194 @staticmethod 195 def Get(request, 196 target, 197 options=(), 198 channel_credentials=None, 199 call_credentials=None, 200 insecure=False, 201 compression=None, 202 wait_for_ready=None, 203 timeout=None, 204 metadata=None): 205 return grpc.experimental.unary_unary( 206 request, 207 target, 208 '/content.collections.Collections/Get', 209 collections_dot_collections__pb2.GetRequest.SerializeToString, 210 collections_dot_collections__pb2.GetResponse.FromString, 211 options, 212 channel_credentials, 213 insecure, 214 call_credentials, 215 compression, 216 wait_for_ready, 217 timeout, 218 metadata, 219 _registered_method=True) 220 221 @staticmethod 222 def List(request, 223 target, 224 options=(), 225 channel_credentials=None, 226 call_credentials=None, 227 insecure=False, 228 compression=None, 229 wait_for_ready=None, 230 timeout=None, 231 metadata=None): 232 return grpc.experimental.unary_unary( 233 request, 234 target, 235 '/content.collections.Collections/List', 236 collections_dot_collections__pb2.ListRequest.SerializeToString, 237 collections_dot_collections__pb2.ListResponse.FromString, 238 options, 239 channel_credentials, 240 insecure, 241 call_credentials, 242 compression, 243 wait_for_ready, 244 timeout, 245 metadata, 246 _registered_method=True) 247 248 @staticmethod 249 def Update(request, 250 target, 251 options=(), 252 channel_credentials=None, 253 call_credentials=None, 254 insecure=False, 255 compression=None, 256 wait_for_ready=None, 257 timeout=None, 258 metadata=None): 259 return grpc.experimental.unary_unary( 260 request, 261 target, 262 '/content.collections.Collections/Update', 263 collections_dot_collections__pb2.UpdateRequest.SerializeToString, 264 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 265 options, 266 channel_credentials, 267 insecure, 268 call_credentials, 269 compression, 270 wait_for_ready, 271 timeout, 272 metadata, 273 _registered_method=True) 274 275 @staticmethod 276 def SetSchema(request, 277 target, 278 options=(), 279 channel_credentials=None, 280 call_credentials=None, 281 insecure=False, 282 compression=None, 283 wait_for_ready=None, 284 timeout=None, 285 metadata=None): 286 return grpc.experimental.unary_unary( 287 request, 288 target, 289 '/content.collections.Collections/SetSchema', 290 collections_dot_collections__pb2.SetSchemaRequest.SerializeToString, 291 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 292 options, 293 channel_credentials, 294 insecure, 295 call_credentials, 296 compression, 297 wait_for_ready, 298 timeout, 299 metadata, 300 _registered_method=True) 301 302 @staticmethod 303 def Delete(request, 304 target, 305 options=(), 306 channel_credentials=None, 307 call_credentials=None, 308 insecure=False, 309 compression=None, 310 wait_for_ready=None, 311 timeout=None, 312 metadata=None): 313 return grpc.experimental.unary_unary( 314 request, 315 target, 316 '/content.collections.Collections/Delete', 317 collections_dot_collections__pb2.DeleteRequest.SerializeToString, 318 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 319 options, 320 channel_credentials, 321 insecure, 322 call_credentials, 323 compression, 324 wait_for_ready, 325 timeout, 326 metadata, 327 _registered_method=True)
30class CollectionsStub(object): 31 """Missing associated documentation comment in .proto file.""" 32 33 def __init__(self, channel): 34 """Constructor. 35 36 Args: 37 channel: A grpc.Channel. 38 """ 39 self.Create = channel.unary_unary( 40 '/content.collections.Collections/Create', 41 request_serializer=collections_dot_collections__pb2.CreateRequest.SerializeToString, 42 response_deserializer=collections_dot_collections__pb2.CreateResponse.FromString, 43 _registered_method=True) 44 self.Get = channel.unary_unary( 45 '/content.collections.Collections/Get', 46 request_serializer=collections_dot_collections__pb2.GetRequest.SerializeToString, 47 response_deserializer=collections_dot_collections__pb2.GetResponse.FromString, 48 _registered_method=True) 49 self.List = channel.unary_unary( 50 '/content.collections.Collections/List', 51 request_serializer=collections_dot_collections__pb2.ListRequest.SerializeToString, 52 response_deserializer=collections_dot_collections__pb2.ListResponse.FromString, 53 _registered_method=True) 54 self.Update = channel.unary_unary( 55 '/content.collections.Collections/Update', 56 request_serializer=collections_dot_collections__pb2.UpdateRequest.SerializeToString, 57 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 58 _registered_method=True) 59 self.SetSchema = channel.unary_unary( 60 '/content.collections.Collections/SetSchema', 61 request_serializer=collections_dot_collections__pb2.SetSchemaRequest.SerializeToString, 62 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 63 _registered_method=True) 64 self.Delete = channel.unary_unary( 65 '/content.collections.Collections/Delete', 66 request_serializer=collections_dot_collections__pb2.DeleteRequest.SerializeToString, 67 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 68 _registered_method=True)
Missing associated documentation comment in .proto file.
33 def __init__(self, channel): 34 """Constructor. 35 36 Args: 37 channel: A grpc.Channel. 38 """ 39 self.Create = channel.unary_unary( 40 '/content.collections.Collections/Create', 41 request_serializer=collections_dot_collections__pb2.CreateRequest.SerializeToString, 42 response_deserializer=collections_dot_collections__pb2.CreateResponse.FromString, 43 _registered_method=True) 44 self.Get = channel.unary_unary( 45 '/content.collections.Collections/Get', 46 request_serializer=collections_dot_collections__pb2.GetRequest.SerializeToString, 47 response_deserializer=collections_dot_collections__pb2.GetResponse.FromString, 48 _registered_method=True) 49 self.List = channel.unary_unary( 50 '/content.collections.Collections/List', 51 request_serializer=collections_dot_collections__pb2.ListRequest.SerializeToString, 52 response_deserializer=collections_dot_collections__pb2.ListResponse.FromString, 53 _registered_method=True) 54 self.Update = channel.unary_unary( 55 '/content.collections.Collections/Update', 56 request_serializer=collections_dot_collections__pb2.UpdateRequest.SerializeToString, 57 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 58 _registered_method=True) 59 self.SetSchema = channel.unary_unary( 60 '/content.collections.Collections/SetSchema', 61 request_serializer=collections_dot_collections__pb2.SetSchemaRequest.SerializeToString, 62 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 63 _registered_method=True) 64 self.Delete = channel.unary_unary( 65 '/content.collections.Collections/Delete', 66 request_serializer=collections_dot_collections__pb2.DeleteRequest.SerializeToString, 67 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 68 _registered_method=True)
Constructor.
Arguments:
- channel: A grpc.Channel.
71class CollectionsServicer(object): 72 """Missing associated documentation comment in .proto file.""" 73 74 def Create(self, request, context): 75 """Создать коллекцию. Установка схемы производится через отдельный метод `SetSchema` и методом `Create` игнорируется 76 """ 77 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 78 context.set_details('Method not implemented!') 79 raise NotImplementedError('Method not implemented!') 80 81 def Get(self, request, context): 82 """Получить коллекцию. Схема коллекции возвращается полная, т.е. включая все подключаемые подсхемы, если не указано 83 обратное в `GetRequest.options` 84 """ 85 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 86 context.set_details('Method not implemented!') 87 raise NotImplementedError('Method not implemented!') 88 89 def List(self, request, context): 90 """Возвращает список коллекций, отсортированных в алфавитном порядке. По умолчанию не возвращает коллекции без данных 91 и скрытые коллекции, подробнее см. `ListRequest.filter` 92 """ 93 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 94 context.set_details('Method not implemented!') 95 raise NotImplementedError('Method not implemented!') 96 97 def Update(self, request, context): 98 """Обновить коллекцию. Установка схемы производится через отдельный метод `SetSchema` и методом `Update` игнорируется 99 """ 100 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 101 context.set_details('Method not implemented!') 102 raise NotImplementedError('Method not implemented!') 103 104 def SetSchema(self, request, context): 105 """Установить схему коллекции. По результатам вызова метода не происходит *применение* схемы - например, 106 не перестраиваются индексы БД коллекции, поскольку это может быть длительный процесс. После редактирования всех 107 необходимых схем окружения необходимо их применить - выполнить миграцию путем вызова метода `Environments.Migrate`. 108 Если схема коллекции изменена, но миграция еще не была запущена, коллекция будет находиться в состоянии `CHANGED`. 109 110 Если в процессе миграции возникли ошибки, в соответствующие коллекции в поле `Collection.state_info` будет записано 111 содержание ошибки и установлено состояние `ERROR` 112 """ 113 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 114 context.set_details('Method not implemented!') 115 raise NotImplementedError('Method not implemented!') 116 117 def Delete(self, request, context): 118 """Удалить коллекцию 119 """ 120 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 121 context.set_details('Method not implemented!') 122 raise NotImplementedError('Method not implemented!')
Missing associated documentation comment in .proto file.
74 def Create(self, request, context): 75 """Создать коллекцию. Установка схемы производится через отдельный метод `SetSchema` и методом `Create` игнорируется 76 """ 77 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 78 context.set_details('Method not implemented!') 79 raise NotImplementedError('Method not implemented!')
81 def Get(self, request, context): 82 """Получить коллекцию. Схема коллекции возвращается полная, т.е. включая все подключаемые подсхемы, если не указано 83 обратное в `GetRequest.options` 84 """ 85 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 86 context.set_details('Method not implemented!') 87 raise NotImplementedError('Method not implemented!')
Получить коллекцию. Схема коллекции возвращается полная, т.е. включая все подключаемые подсхемы, если не указано
обратное в GetRequest.options
89 def List(self, request, context): 90 """Возвращает список коллекций, отсортированных в алфавитном порядке. По умолчанию не возвращает коллекции без данных 91 и скрытые коллекции, подробнее см. `ListRequest.filter` 92 """ 93 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 94 context.set_details('Method not implemented!') 95 raise NotImplementedError('Method not implemented!')
Возвращает список коллекций, отсортированных в алфавитном порядке. По умолчанию не возвращает коллекции без данных
и скрытые коллекции, подробнее см. ListRequest.filter
97 def Update(self, request, context): 98 """Обновить коллекцию. Установка схемы производится через отдельный метод `SetSchema` и методом `Update` игнорируется 99 """ 100 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 101 context.set_details('Method not implemented!') 102 raise NotImplementedError('Method not implemented!')
104 def SetSchema(self, request, context): 105 """Установить схему коллекции. По результатам вызова метода не происходит *применение* схемы - например, 106 не перестраиваются индексы БД коллекции, поскольку это может быть длительный процесс. После редактирования всех 107 необходимых схем окружения необходимо их применить - выполнить миграцию путем вызова метода `Environments.Migrate`. 108 Если схема коллекции изменена, но миграция еще не была запущена, коллекция будет находиться в состоянии `CHANGED`. 109 110 Если в процессе миграции возникли ошибки, в соответствующие коллекции в поле `Collection.state_info` будет записано 111 содержание ошибки и установлено состояние `ERROR` 112 """ 113 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 114 context.set_details('Method not implemented!') 115 raise NotImplementedError('Method not implemented!')
Установить схему коллекции. По результатам вызова метода не происходит применение схемы - например,
не перестраиваются индексы БД коллекции, поскольку это может быть длительный процесс. После редактирования всех
необходимых схем окружения необходимо их применить - выполнить миграцию путем вызова метода Environments.Migrate
.
Если схема коллекции изменена, но миграция еще не была запущена, коллекция будет находиться в состоянии CHANGED
.
Если в процессе миграции возникли ошибки, в соответствующие коллекции в поле Collection.state_info
будет записано
содержание ошибки и установлено состояние ERROR
125def add_CollectionsServicer_to_server(servicer, server): 126 rpc_method_handlers = { 127 'Create': grpc.unary_unary_rpc_method_handler( 128 servicer.Create, 129 request_deserializer=collections_dot_collections__pb2.CreateRequest.FromString, 130 response_serializer=collections_dot_collections__pb2.CreateResponse.SerializeToString, 131 ), 132 'Get': grpc.unary_unary_rpc_method_handler( 133 servicer.Get, 134 request_deserializer=collections_dot_collections__pb2.GetRequest.FromString, 135 response_serializer=collections_dot_collections__pb2.GetResponse.SerializeToString, 136 ), 137 'List': grpc.unary_unary_rpc_method_handler( 138 servicer.List, 139 request_deserializer=collections_dot_collections__pb2.ListRequest.FromString, 140 response_serializer=collections_dot_collections__pb2.ListResponse.SerializeToString, 141 ), 142 'Update': grpc.unary_unary_rpc_method_handler( 143 servicer.Update, 144 request_deserializer=collections_dot_collections__pb2.UpdateRequest.FromString, 145 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 146 ), 147 'SetSchema': grpc.unary_unary_rpc_method_handler( 148 servicer.SetSchema, 149 request_deserializer=collections_dot_collections__pb2.SetSchemaRequest.FromString, 150 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 151 ), 152 'Delete': grpc.unary_unary_rpc_method_handler( 153 servicer.Delete, 154 request_deserializer=collections_dot_collections__pb2.DeleteRequest.FromString, 155 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 156 ), 157 } 158 generic_handler = grpc.method_handlers_generic_handler( 159 'content.collections.Collections', rpc_method_handlers) 160 server.add_generic_rpc_handlers((generic_handler,)) 161 server.add_registered_method_handlers('content.collections.Collections', rpc_method_handlers)
165class Collections(object): 166 """Missing associated documentation comment in .proto file.""" 167 168 @staticmethod 169 def Create(request, 170 target, 171 options=(), 172 channel_credentials=None, 173 call_credentials=None, 174 insecure=False, 175 compression=None, 176 wait_for_ready=None, 177 timeout=None, 178 metadata=None): 179 return grpc.experimental.unary_unary( 180 request, 181 target, 182 '/content.collections.Collections/Create', 183 collections_dot_collections__pb2.CreateRequest.SerializeToString, 184 collections_dot_collections__pb2.CreateResponse.FromString, 185 options, 186 channel_credentials, 187 insecure, 188 call_credentials, 189 compression, 190 wait_for_ready, 191 timeout, 192 metadata, 193 _registered_method=True) 194 195 @staticmethod 196 def Get(request, 197 target, 198 options=(), 199 channel_credentials=None, 200 call_credentials=None, 201 insecure=False, 202 compression=None, 203 wait_for_ready=None, 204 timeout=None, 205 metadata=None): 206 return grpc.experimental.unary_unary( 207 request, 208 target, 209 '/content.collections.Collections/Get', 210 collections_dot_collections__pb2.GetRequest.SerializeToString, 211 collections_dot_collections__pb2.GetResponse.FromString, 212 options, 213 channel_credentials, 214 insecure, 215 call_credentials, 216 compression, 217 wait_for_ready, 218 timeout, 219 metadata, 220 _registered_method=True) 221 222 @staticmethod 223 def List(request, 224 target, 225 options=(), 226 channel_credentials=None, 227 call_credentials=None, 228 insecure=False, 229 compression=None, 230 wait_for_ready=None, 231 timeout=None, 232 metadata=None): 233 return grpc.experimental.unary_unary( 234 request, 235 target, 236 '/content.collections.Collections/List', 237 collections_dot_collections__pb2.ListRequest.SerializeToString, 238 collections_dot_collections__pb2.ListResponse.FromString, 239 options, 240 channel_credentials, 241 insecure, 242 call_credentials, 243 compression, 244 wait_for_ready, 245 timeout, 246 metadata, 247 _registered_method=True) 248 249 @staticmethod 250 def Update(request, 251 target, 252 options=(), 253 channel_credentials=None, 254 call_credentials=None, 255 insecure=False, 256 compression=None, 257 wait_for_ready=None, 258 timeout=None, 259 metadata=None): 260 return grpc.experimental.unary_unary( 261 request, 262 target, 263 '/content.collections.Collections/Update', 264 collections_dot_collections__pb2.UpdateRequest.SerializeToString, 265 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 266 options, 267 channel_credentials, 268 insecure, 269 call_credentials, 270 compression, 271 wait_for_ready, 272 timeout, 273 metadata, 274 _registered_method=True) 275 276 @staticmethod 277 def SetSchema(request, 278 target, 279 options=(), 280 channel_credentials=None, 281 call_credentials=None, 282 insecure=False, 283 compression=None, 284 wait_for_ready=None, 285 timeout=None, 286 metadata=None): 287 return grpc.experimental.unary_unary( 288 request, 289 target, 290 '/content.collections.Collections/SetSchema', 291 collections_dot_collections__pb2.SetSchemaRequest.SerializeToString, 292 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 293 options, 294 channel_credentials, 295 insecure, 296 call_credentials, 297 compression, 298 wait_for_ready, 299 timeout, 300 metadata, 301 _registered_method=True) 302 303 @staticmethod 304 def Delete(request, 305 target, 306 options=(), 307 channel_credentials=None, 308 call_credentials=None, 309 insecure=False, 310 compression=None, 311 wait_for_ready=None, 312 timeout=None, 313 metadata=None): 314 return grpc.experimental.unary_unary( 315 request, 316 target, 317 '/content.collections.Collections/Delete', 318 collections_dot_collections__pb2.DeleteRequest.SerializeToString, 319 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 320 options, 321 channel_credentials, 322 insecure, 323 call_credentials, 324 compression, 325 wait_for_ready, 326 timeout, 327 metadata, 328 _registered_method=True)
Missing associated documentation comment in .proto file.
168 @staticmethod 169 def Create(request, 170 target, 171 options=(), 172 channel_credentials=None, 173 call_credentials=None, 174 insecure=False, 175 compression=None, 176 wait_for_ready=None, 177 timeout=None, 178 metadata=None): 179 return grpc.experimental.unary_unary( 180 request, 181 target, 182 '/content.collections.Collections/Create', 183 collections_dot_collections__pb2.CreateRequest.SerializeToString, 184 collections_dot_collections__pb2.CreateResponse.FromString, 185 options, 186 channel_credentials, 187 insecure, 188 call_credentials, 189 compression, 190 wait_for_ready, 191 timeout, 192 metadata, 193 _registered_method=True)
195 @staticmethod 196 def Get(request, 197 target, 198 options=(), 199 channel_credentials=None, 200 call_credentials=None, 201 insecure=False, 202 compression=None, 203 wait_for_ready=None, 204 timeout=None, 205 metadata=None): 206 return grpc.experimental.unary_unary( 207 request, 208 target, 209 '/content.collections.Collections/Get', 210 collections_dot_collections__pb2.GetRequest.SerializeToString, 211 collections_dot_collections__pb2.GetResponse.FromString, 212 options, 213 channel_credentials, 214 insecure, 215 call_credentials, 216 compression, 217 wait_for_ready, 218 timeout, 219 metadata, 220 _registered_method=True)
222 @staticmethod 223 def List(request, 224 target, 225 options=(), 226 channel_credentials=None, 227 call_credentials=None, 228 insecure=False, 229 compression=None, 230 wait_for_ready=None, 231 timeout=None, 232 metadata=None): 233 return grpc.experimental.unary_unary( 234 request, 235 target, 236 '/content.collections.Collections/List', 237 collections_dot_collections__pb2.ListRequest.SerializeToString, 238 collections_dot_collections__pb2.ListResponse.FromString, 239 options, 240 channel_credentials, 241 insecure, 242 call_credentials, 243 compression, 244 wait_for_ready, 245 timeout, 246 metadata, 247 _registered_method=True)
249 @staticmethod 250 def Update(request, 251 target, 252 options=(), 253 channel_credentials=None, 254 call_credentials=None, 255 insecure=False, 256 compression=None, 257 wait_for_ready=None, 258 timeout=None, 259 metadata=None): 260 return grpc.experimental.unary_unary( 261 request, 262 target, 263 '/content.collections.Collections/Update', 264 collections_dot_collections__pb2.UpdateRequest.SerializeToString, 265 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 266 options, 267 channel_credentials, 268 insecure, 269 call_credentials, 270 compression, 271 wait_for_ready, 272 timeout, 273 metadata, 274 _registered_method=True)
276 @staticmethod 277 def SetSchema(request, 278 target, 279 options=(), 280 channel_credentials=None, 281 call_credentials=None, 282 insecure=False, 283 compression=None, 284 wait_for_ready=None, 285 timeout=None, 286 metadata=None): 287 return grpc.experimental.unary_unary( 288 request, 289 target, 290 '/content.collections.Collections/SetSchema', 291 collections_dot_collections__pb2.SetSchemaRequest.SerializeToString, 292 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 293 options, 294 channel_credentials, 295 insecure, 296 call_credentials, 297 compression, 298 wait_for_ready, 299 timeout, 300 metadata, 301 _registered_method=True)
303 @staticmethod 304 def Delete(request, 305 target, 306 options=(), 307 channel_credentials=None, 308 call_credentials=None, 309 insecure=False, 310 compression=None, 311 wait_for_ready=None, 312 timeout=None, 313 metadata=None): 314 return grpc.experimental.unary_unary( 315 request, 316 target, 317 '/content.collections.Collections/Delete', 318 collections_dot_collections__pb2.DeleteRequest.SerializeToString, 319 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 320 options, 321 channel_credentials, 322 insecure, 323 call_credentials, 324 compression, 325 wait_for_ready, 326 timeout, 327 metadata, 328 _registered_method=True)