@@ -8,7 +8,7 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
8
8
DESCRIPTOR : _descriptor .FileDescriptor
9
9
10
10
class ErrorCode (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
11
- __slots__ = ()
11
+ __slots__ = []
12
12
Success : _ClassVar [ErrorCode ]
13
13
UnexpectedError : _ClassVar [ErrorCode ]
14
14
ConnectFailed : _ClassVar [ErrorCode ]
@@ -70,7 +70,7 @@ class ErrorCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
70
70
DDRequestRace : _ClassVar [ErrorCode ]
71
71
72
72
class IndexState (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
73
- __slots__ = ()
73
+ __slots__ = []
74
74
IndexStateNone : _ClassVar [IndexState ]
75
75
Unissued : _ClassVar [IndexState ]
76
76
InProgress : _ClassVar [IndexState ]
@@ -79,7 +79,7 @@ class IndexState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
79
79
Retry : _ClassVar [IndexState ]
80
80
81
81
class SegmentState (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
82
- __slots__ = ()
82
+ __slots__ = []
83
83
SegmentStateNone : _ClassVar [SegmentState ]
84
84
NotExist : _ClassVar [SegmentState ]
85
85
Growing : _ClassVar [SegmentState ]
@@ -90,7 +90,7 @@ class SegmentState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
90
90
Importing : _ClassVar [SegmentState ]
91
91
92
92
class PlaceholderType (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
93
- __slots__ = ()
93
+ __slots__ = []
94
94
None : _ClassVar [PlaceholderType ]
95
95
BinaryVector : _ClassVar [PlaceholderType ]
96
96
FloatVector : _ClassVar [PlaceholderType ]
@@ -101,7 +101,7 @@ class PlaceholderType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
101
101
VarChar : _ClassVar [PlaceholderType ]
102
102
103
103
class MsgType (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
104
- __slots__ = ()
104
+ __slots__ = []
105
105
Undefined : _ClassVar [MsgType ]
106
106
CreateCollection : _ClassVar [MsgType ]
107
107
DropCollection : _ClassVar [MsgType ]
@@ -206,26 +206,26 @@ class MsgType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
206
206
ListDatabases : _ClassVar [MsgType ]
207
207
208
208
class DslType (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
209
- __slots__ = ()
209
+ __slots__ = []
210
210
Dsl : _ClassVar [DslType ]
211
211
BoolExprV1 : _ClassVar [DslType ]
212
212
213
213
class CompactionState (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
214
- __slots__ = ()
214
+ __slots__ = []
215
215
UndefiedState : _ClassVar [CompactionState ]
216
216
Executing : _ClassVar [CompactionState ]
217
217
Completed : _ClassVar [CompactionState ]
218
218
219
219
class ConsistencyLevel (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
220
- __slots__ = ()
220
+ __slots__ = []
221
221
Strong : _ClassVar [ConsistencyLevel ]
222
222
Session : _ClassVar [ConsistencyLevel ]
223
223
Bounded : _ClassVar [ConsistencyLevel ]
224
224
Eventually : _ClassVar [ConsistencyLevel ]
225
225
Customized : _ClassVar [ConsistencyLevel ]
226
226
227
227
class ImportState (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
228
- __slots__ = ()
228
+ __slots__ = []
229
229
ImportPending : _ClassVar [ImportState ]
230
230
ImportFailed : _ClassVar [ImportState ]
231
231
ImportStarted : _ClassVar [ImportState ]
@@ -235,13 +235,13 @@ class ImportState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
235
235
ImportFailedAndCleaned : _ClassVar [ImportState ]
236
236
237
237
class ObjectType (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
238
- __slots__ = ()
238
+ __slots__ = []
239
239
Collection : _ClassVar [ObjectType ]
240
240
Global : _ClassVar [ObjectType ]
241
241
User : _ClassVar [ObjectType ]
242
242
243
243
class ObjectPrivilege (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
244
- __slots__ = ()
244
+ __slots__ = []
245
245
PrivilegeAll : _ClassVar [ObjectPrivilege ]
246
246
PrivilegeCreateCollection : _ClassVar [ObjectPrivilege ]
247
247
PrivilegeDropCollection : _ClassVar [ObjectPrivilege ]
@@ -293,15 +293,15 @@ class ObjectPrivilege(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
293
293
PrivilegeUpdateResourceGroups : _ClassVar [ObjectPrivilege ]
294
294
295
295
class StateCode (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
296
- __slots__ = ()
296
+ __slots__ = []
297
297
Initializing : _ClassVar [StateCode ]
298
298
Healthy : _ClassVar [StateCode ]
299
299
Abnormal : _ClassVar [StateCode ]
300
300
StandBy : _ClassVar [StateCode ]
301
301
Stopping : _ClassVar [StateCode ]
302
302
303
303
class LoadState (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
304
- __slots__ = ()
304
+ __slots__ = []
305
305
LoadStateNotExist : _ClassVar [LoadState ]
306
306
LoadStateNotLoad : _ClassVar [LoadState ]
307
307
LoadStateLoading : _ClassVar [LoadState ]
@@ -571,9 +571,9 @@ PRIVILEGE_EXT_OBJ_FIELD_NUMBER: _ClassVar[int]
571
571
privilege_ext_obj : _descriptor .FieldDescriptor
572
572
573
573
class Status (_message .Message ):
574
- __slots__ = ( "error_code" , "reason" , "code" , "retriable" , "detail" , "extra_info" )
574
+ __slots__ = [ "error_code" , "reason" , "code" , "retriable" , "detail" , "extra_info" ]
575
575
class ExtraInfoEntry (_message .Message ):
576
- __slots__ = ( "key" , "value" )
576
+ __slots__ = [ "key" , "value" ]
577
577
KEY_FIELD_NUMBER : _ClassVar [int ]
578
578
VALUE_FIELD_NUMBER : _ClassVar [int ]
579
579
key : str
@@ -594,29 +594,29 @@ class Status(_message.Message):
594
594
def __init__ (self , error_code : _Optional [_Union [ErrorCode , str ]] = ..., reason : _Optional [str ] = ..., code : _Optional [int ] = ..., retriable : bool = ..., detail : _Optional [str ] = ..., extra_info : _Optional [_Mapping [str , str ]] = ...) -> None : ...
595
595
596
596
class KeyValuePair (_message .Message ):
597
- __slots__ = ( "key" , "value" )
597
+ __slots__ = [ "key" , "value" ]
598
598
KEY_FIELD_NUMBER : _ClassVar [int ]
599
599
VALUE_FIELD_NUMBER : _ClassVar [int ]
600
600
key : str
601
601
value : str
602
602
def __init__ (self , key : _Optional [str ] = ..., value : _Optional [str ] = ...) -> None : ...
603
603
604
604
class KeyDataPair (_message .Message ):
605
- __slots__ = ( "key" , "data" )
605
+ __slots__ = [ "key" , "data" ]
606
606
KEY_FIELD_NUMBER : _ClassVar [int ]
607
607
DATA_FIELD_NUMBER : _ClassVar [int ]
608
608
key : str
609
609
data : bytes
610
610
def __init__ (self , key : _Optional [str ] = ..., data : _Optional [bytes ] = ...) -> None : ...
611
611
612
612
class Blob (_message .Message ):
613
- __slots__ = ( "value" ,)
613
+ __slots__ = [ "value" ]
614
614
VALUE_FIELD_NUMBER : _ClassVar [int ]
615
615
value : bytes
616
616
def __init__ (self , value : _Optional [bytes ] = ...) -> None : ...
617
617
618
618
class PlaceholderValue (_message .Message ):
619
- __slots__ = ( "tag" , "type" , "values" )
619
+ __slots__ = [ "tag" , "type" , "values" ]
620
620
TAG_FIELD_NUMBER : _ClassVar [int ]
621
621
TYPE_FIELD_NUMBER : _ClassVar [int ]
622
622
VALUES_FIELD_NUMBER : _ClassVar [int ]
@@ -626,23 +626,23 @@ class PlaceholderValue(_message.Message):
626
626
def __init__ (self , tag : _Optional [str ] = ..., type : _Optional [_Union [PlaceholderType , str ]] = ..., values : _Optional [_Iterable [bytes ]] = ...) -> None : ...
627
627
628
628
class PlaceholderGroup (_message .Message ):
629
- __slots__ = ( "placeholders" ,)
629
+ __slots__ = [ "placeholders" ]
630
630
PLACEHOLDERS_FIELD_NUMBER : _ClassVar [int ]
631
631
placeholders : _containers .RepeatedCompositeFieldContainer [PlaceholderValue ]
632
632
def __init__ (self , placeholders : _Optional [_Iterable [_Union [PlaceholderValue , _Mapping ]]] = ...) -> None : ...
633
633
634
634
class Address (_message .Message ):
635
- __slots__ = ( "ip" , "port" )
635
+ __slots__ = [ "ip" , "port" ]
636
636
IP_FIELD_NUMBER : _ClassVar [int ]
637
637
PORT_FIELD_NUMBER : _ClassVar [int ]
638
638
ip : str
639
639
port : int
640
640
def __init__ (self , ip : _Optional [str ] = ..., port : _Optional [int ] = ...) -> None : ...
641
641
642
642
class MsgBase (_message .Message ):
643
- __slots__ = ( "msg_type" , "msgID" , "timestamp" , "sourceID" , "targetID" , "properties" , "replicateInfo" )
643
+ __slots__ = [ "msg_type" , "msgID" , "timestamp" , "sourceID" , "targetID" , "properties" , "replicateInfo" ]
644
644
class PropertiesEntry (_message .Message ):
645
- __slots__ = ( "key" , "value" )
645
+ __slots__ = [ "key" , "value" ]
646
646
KEY_FIELD_NUMBER : _ClassVar [int ]
647
647
VALUE_FIELD_NUMBER : _ClassVar [int ]
648
648
key : str
@@ -665,29 +665,29 @@ class MsgBase(_message.Message):
665
665
def __init__ (self , msg_type : _Optional [_Union [MsgType , str ]] = ..., msgID : _Optional [int ] = ..., timestamp : _Optional [int ] = ..., sourceID : _Optional [int ] = ..., targetID : _Optional [int ] = ..., properties : _Optional [_Mapping [str , str ]] = ..., replicateInfo : _Optional [_Union [ReplicateInfo , _Mapping ]] = ...) -> None : ...
666
666
667
667
class ReplicateInfo (_message .Message ):
668
- __slots__ = ( "isReplicate" , "msgTimestamp" )
668
+ __slots__ = [ "isReplicate" , "msgTimestamp" ]
669
669
ISREPLICATE_FIELD_NUMBER : _ClassVar [int ]
670
670
MSGTIMESTAMP_FIELD_NUMBER : _ClassVar [int ]
671
671
isReplicate : bool
672
672
msgTimestamp : int
673
673
def __init__ (self , isReplicate : bool = ..., msgTimestamp : _Optional [int ] = ...) -> None : ...
674
674
675
675
class MsgHeader (_message .Message ):
676
- __slots__ = ( "base" ,)
676
+ __slots__ = [ "base" ]
677
677
BASE_FIELD_NUMBER : _ClassVar [int ]
678
678
base : MsgBase
679
679
def __init__ (self , base : _Optional [_Union [MsgBase , _Mapping ]] = ...) -> None : ...
680
680
681
681
class DMLMsgHeader (_message .Message ):
682
- __slots__ = ( "base" , "shardName" )
682
+ __slots__ = [ "base" , "shardName" ]
683
683
BASE_FIELD_NUMBER : _ClassVar [int ]
684
684
SHARDNAME_FIELD_NUMBER : _ClassVar [int ]
685
685
base : MsgBase
686
686
shardName : str
687
687
def __init__ (self , base : _Optional [_Union [MsgBase , _Mapping ]] = ..., shardName : _Optional [str ] = ...) -> None : ...
688
688
689
689
class PrivilegeExt (_message .Message ):
690
- __slots__ = ( "object_type" , "object_privilege" , "object_name_index" , "object_name_indexs" )
690
+ __slots__ = [ "object_type" , "object_privilege" , "object_name_index" , "object_name_indexs" ]
691
691
OBJECT_TYPE_FIELD_NUMBER : _ClassVar [int ]
692
692
OBJECT_PRIVILEGE_FIELD_NUMBER : _ClassVar [int ]
693
693
OBJECT_NAME_INDEX_FIELD_NUMBER : _ClassVar [int ]
@@ -699,17 +699,17 @@ class PrivilegeExt(_message.Message):
699
699
def __init__ (self , object_type : _Optional [_Union [ObjectType , str ]] = ..., object_privilege : _Optional [_Union [ObjectPrivilege , str ]] = ..., object_name_index : _Optional [int ] = ..., object_name_indexs : _Optional [int ] = ...) -> None : ...
700
700
701
701
class SegmentStats (_message .Message ):
702
- __slots__ = ( "SegmentID" , "NumRows" )
702
+ __slots__ = [ "SegmentID" , "NumRows" ]
703
703
SEGMENTID_FIELD_NUMBER : _ClassVar [int ]
704
704
NUMROWS_FIELD_NUMBER : _ClassVar [int ]
705
705
SegmentID : int
706
706
NumRows : int
707
707
def __init__ (self , SegmentID : _Optional [int ] = ..., NumRows : _Optional [int ] = ...) -> None : ...
708
708
709
709
class ClientInfo (_message .Message ):
710
- __slots__ = ( "sdk_type" , "sdk_version" , "local_time" , "user" , "host" , "reserved" )
710
+ __slots__ = [ "sdk_type" , "sdk_version" , "local_time" , "user" , "host" , "reserved" ]
711
711
class ReservedEntry (_message .Message ):
712
- __slots__ = ( "key" , "value" )
712
+ __slots__ = [ "key" , "value" ]
713
713
KEY_FIELD_NUMBER : _ClassVar [int ]
714
714
VALUE_FIELD_NUMBER : _ClassVar [int ]
715
715
key : str
@@ -730,9 +730,9 @@ class ClientInfo(_message.Message):
730
730
def __init__ (self , sdk_type : _Optional [str ] = ..., sdk_version : _Optional [str ] = ..., local_time : _Optional [str ] = ..., user : _Optional [str ] = ..., host : _Optional [str ] = ..., reserved : _Optional [_Mapping [str , str ]] = ...) -> None : ...
731
731
732
732
class ServerInfo (_message .Message ):
733
- __slots__ = ( "build_tags" , "build_time" , "git_commit" , "go_version" , "deploy_mode" , "reserved" )
733
+ __slots__ = [ "build_tags" , "build_time" , "git_commit" , "go_version" , "deploy_mode" , "reserved" ]
734
734
class ReservedEntry (_message .Message ):
735
- __slots__ = ( "key" , "value" )
735
+ __slots__ = [ "key" , "value" ]
736
736
KEY_FIELD_NUMBER : _ClassVar [int ]
737
737
VALUE_FIELD_NUMBER : _ClassVar [int ]
738
738
key : str
@@ -753,7 +753,7 @@ class ServerInfo(_message.Message):
753
753
def __init__ (self , build_tags : _Optional [str ] = ..., build_time : _Optional [str ] = ..., git_commit : _Optional [str ] = ..., go_version : _Optional [str ] = ..., deploy_mode : _Optional [str ] = ..., reserved : _Optional [_Mapping [str , str ]] = ...) -> None : ...
754
754
755
755
class NodeInfo (_message .Message ):
756
- __slots__ = ( "node_id" , "address" , "hostname" )
756
+ __slots__ = [ "node_id" , "address" , "hostname" ]
757
757
NODE_ID_FIELD_NUMBER : _ClassVar [int ]
758
758
ADDRESS_FIELD_NUMBER : _ClassVar [int ]
759
759
HOSTNAME_FIELD_NUMBER : _ClassVar [int ]
0 commit comments