github.com/matrixorigin/matrixone@v1.2.0/pkg/vm/engine/memoryengine/operations.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: operations.proto
     3  
     4  package memoryengine
     5  
     6  import (
     7  	fmt "fmt"
     8  	io "io"
     9  	math "math"
    10  	math_bits "math/bits"
    11  
    12  	_ "github.com/gogo/protobuf/gogoproto"
    13  	proto "github.com/gogo/protobuf/proto"
    14  	plan "github.com/matrixorigin/matrixone/pkg/pb/plan"
    15  	github_com_matrixorigin_matrixone_pkg_vm_engine "github.com/matrixorigin/matrixone/pkg/vm/engine"
    16  )
    17  
    18  // Reference imports to suppress errors if they are not otherwise used.
    19  var _ = proto.Marshal
    20  var _ = fmt.Errorf
    21  var _ = math.Inf
    22  
    23  // This is a compile-time assertion to ensure that this generated file
    24  // is compatible with the proto package it is being compiled against.
    25  // A compilation error at this line likely means your copy of the
    26  // proto package needs to be updated.
    27  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    28  
    29  func (m *AccessInfo) Reset()         { *m = AccessInfo{} }
    30  func (m *AccessInfo) String() string { return proto.CompactTextString(m) }
    31  func (*AccessInfo) ProtoMessage()    {}
    32  func (*AccessInfo) Descriptor() ([]byte, []int) {
    33  	return fileDescriptor_1b4a5877375e491e, []int{0}
    34  }
    35  func (m *AccessInfo) XXX_Unmarshal(b []byte) error {
    36  	return m.Unmarshal(b)
    37  }
    38  func (m *AccessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    39  	if deterministic {
    40  		return xxx_messageInfo_AccessInfo.Marshal(b, m, deterministic)
    41  	} else {
    42  		b = b[:cap(b)]
    43  		n, err := m.MarshalToSizedBuffer(b)
    44  		if err != nil {
    45  			return nil, err
    46  		}
    47  		return b[:n], nil
    48  	}
    49  }
    50  func (m *AccessInfo) XXX_Merge(src proto.Message) {
    51  	xxx_messageInfo_AccessInfo.Merge(m, src)
    52  }
    53  func (m *AccessInfo) XXX_Size() int {
    54  	return m.ProtoSize()
    55  }
    56  func (m *AccessInfo) XXX_DiscardUnknown() {
    57  	xxx_messageInfo_AccessInfo.DiscardUnknown(m)
    58  }
    59  
    60  var xxx_messageInfo_AccessInfo proto.InternalMessageInfo
    61  
    62  func (m *AccessInfo) GetAccountID() uint32 {
    63  	if m != nil {
    64  		return m.AccountID
    65  	}
    66  	return 0
    67  }
    68  
    69  func (m *AccessInfo) GetUserID() uint32 {
    70  	if m != nil {
    71  		return m.UserID
    72  	}
    73  	return 0
    74  }
    75  
    76  func (m *AccessInfo) GetRoleID() uint32 {
    77  	if m != nil {
    78  		return m.RoleID
    79  	}
    80  	return 0
    81  }
    82  
    83  func (m *OpenDatabaseReq) Reset()         { *m = OpenDatabaseReq{} }
    84  func (m *OpenDatabaseReq) String() string { return proto.CompactTextString(m) }
    85  func (*OpenDatabaseReq) ProtoMessage()    {}
    86  func (*OpenDatabaseReq) Descriptor() ([]byte, []int) {
    87  	return fileDescriptor_1b4a5877375e491e, []int{1}
    88  }
    89  func (m *OpenDatabaseReq) XXX_Unmarshal(b []byte) error {
    90  	return m.Unmarshal(b)
    91  }
    92  func (m *OpenDatabaseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    93  	if deterministic {
    94  		return xxx_messageInfo_OpenDatabaseReq.Marshal(b, m, deterministic)
    95  	} else {
    96  		b = b[:cap(b)]
    97  		n, err := m.MarshalToSizedBuffer(b)
    98  		if err != nil {
    99  			return nil, err
   100  		}
   101  		return b[:n], nil
   102  	}
   103  }
   104  func (m *OpenDatabaseReq) XXX_Merge(src proto.Message) {
   105  	xxx_messageInfo_OpenDatabaseReq.Merge(m, src)
   106  }
   107  func (m *OpenDatabaseReq) XXX_Size() int {
   108  	return m.ProtoSize()
   109  }
   110  func (m *OpenDatabaseReq) XXX_DiscardUnknown() {
   111  	xxx_messageInfo_OpenDatabaseReq.DiscardUnknown(m)
   112  }
   113  
   114  var xxx_messageInfo_OpenDatabaseReq proto.InternalMessageInfo
   115  
   116  func (m *OpenDatabaseReq) GetAccessInfo() AccessInfo {
   117  	if m != nil {
   118  		return m.AccessInfo
   119  	}
   120  	return AccessInfo{}
   121  }
   122  
   123  func (m *OpenDatabaseReq) GetName() string {
   124  	if m != nil {
   125  		return m.Name
   126  	}
   127  	return ""
   128  }
   129  
   130  func (m *OpenDatabaseResp) Reset()         { *m = OpenDatabaseResp{} }
   131  func (m *OpenDatabaseResp) String() string { return proto.CompactTextString(m) }
   132  func (*OpenDatabaseResp) ProtoMessage()    {}
   133  func (*OpenDatabaseResp) Descriptor() ([]byte, []int) {
   134  	return fileDescriptor_1b4a5877375e491e, []int{2}
   135  }
   136  func (m *OpenDatabaseResp) XXX_Unmarshal(b []byte) error {
   137  	return m.Unmarshal(b)
   138  }
   139  func (m *OpenDatabaseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   140  	if deterministic {
   141  		return xxx_messageInfo_OpenDatabaseResp.Marshal(b, m, deterministic)
   142  	} else {
   143  		b = b[:cap(b)]
   144  		n, err := m.MarshalToSizedBuffer(b)
   145  		if err != nil {
   146  			return nil, err
   147  		}
   148  		return b[:n], nil
   149  	}
   150  }
   151  func (m *OpenDatabaseResp) XXX_Merge(src proto.Message) {
   152  	xxx_messageInfo_OpenDatabaseResp.Merge(m, src)
   153  }
   154  func (m *OpenDatabaseResp) XXX_Size() int {
   155  	return m.ProtoSize()
   156  }
   157  func (m *OpenDatabaseResp) XXX_DiscardUnknown() {
   158  	xxx_messageInfo_OpenDatabaseResp.DiscardUnknown(m)
   159  }
   160  
   161  var xxx_messageInfo_OpenDatabaseResp proto.InternalMessageInfo
   162  
   163  func (m *OpenDatabaseResp) GetID() ID {
   164  	if m != nil {
   165  		return m.ID
   166  	}
   167  	return 0
   168  }
   169  
   170  func (m *OpenDatabaseResp) GetName() string {
   171  	if m != nil {
   172  		return m.Name
   173  	}
   174  	return ""
   175  }
   176  
   177  func (m *CreateDatabaseReq) Reset()         { *m = CreateDatabaseReq{} }
   178  func (m *CreateDatabaseReq) String() string { return proto.CompactTextString(m) }
   179  func (*CreateDatabaseReq) ProtoMessage()    {}
   180  func (*CreateDatabaseReq) Descriptor() ([]byte, []int) {
   181  	return fileDescriptor_1b4a5877375e491e, []int{3}
   182  }
   183  func (m *CreateDatabaseReq) XXX_Unmarshal(b []byte) error {
   184  	return m.Unmarshal(b)
   185  }
   186  func (m *CreateDatabaseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   187  	if deterministic {
   188  		return xxx_messageInfo_CreateDatabaseReq.Marshal(b, m, deterministic)
   189  	} else {
   190  		b = b[:cap(b)]
   191  		n, err := m.MarshalToSizedBuffer(b)
   192  		if err != nil {
   193  			return nil, err
   194  		}
   195  		return b[:n], nil
   196  	}
   197  }
   198  func (m *CreateDatabaseReq) XXX_Merge(src proto.Message) {
   199  	xxx_messageInfo_CreateDatabaseReq.Merge(m, src)
   200  }
   201  func (m *CreateDatabaseReq) XXX_Size() int {
   202  	return m.ProtoSize()
   203  }
   204  func (m *CreateDatabaseReq) XXX_DiscardUnknown() {
   205  	xxx_messageInfo_CreateDatabaseReq.DiscardUnknown(m)
   206  }
   207  
   208  var xxx_messageInfo_CreateDatabaseReq proto.InternalMessageInfo
   209  
   210  func (m *CreateDatabaseReq) GetID() ID {
   211  	if m != nil {
   212  		return m.ID
   213  	}
   214  	return 0
   215  }
   216  
   217  func (m *CreateDatabaseReq) GetAccessInfo() AccessInfo {
   218  	if m != nil {
   219  		return m.AccessInfo
   220  	}
   221  	return AccessInfo{}
   222  }
   223  
   224  func (m *CreateDatabaseReq) GetName() string {
   225  	if m != nil {
   226  		return m.Name
   227  	}
   228  	return ""
   229  }
   230  
   231  func (m *CreateDatabaseResp) Reset()         { *m = CreateDatabaseResp{} }
   232  func (m *CreateDatabaseResp) String() string { return proto.CompactTextString(m) }
   233  func (*CreateDatabaseResp) ProtoMessage()    {}
   234  func (*CreateDatabaseResp) Descriptor() ([]byte, []int) {
   235  	return fileDescriptor_1b4a5877375e491e, []int{4}
   236  }
   237  func (m *CreateDatabaseResp) XXX_Unmarshal(b []byte) error {
   238  	return m.Unmarshal(b)
   239  }
   240  func (m *CreateDatabaseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   241  	if deterministic {
   242  		return xxx_messageInfo_CreateDatabaseResp.Marshal(b, m, deterministic)
   243  	} else {
   244  		b = b[:cap(b)]
   245  		n, err := m.MarshalToSizedBuffer(b)
   246  		if err != nil {
   247  			return nil, err
   248  		}
   249  		return b[:n], nil
   250  	}
   251  }
   252  func (m *CreateDatabaseResp) XXX_Merge(src proto.Message) {
   253  	xxx_messageInfo_CreateDatabaseResp.Merge(m, src)
   254  }
   255  func (m *CreateDatabaseResp) XXX_Size() int {
   256  	return m.ProtoSize()
   257  }
   258  func (m *CreateDatabaseResp) XXX_DiscardUnknown() {
   259  	xxx_messageInfo_CreateDatabaseResp.DiscardUnknown(m)
   260  }
   261  
   262  var xxx_messageInfo_CreateDatabaseResp proto.InternalMessageInfo
   263  
   264  func (m *CreateDatabaseResp) GetID() ID {
   265  	if m != nil {
   266  		return m.ID
   267  	}
   268  	return 0
   269  }
   270  
   271  func (m *GetDatabasesReq) Reset()         { *m = GetDatabasesReq{} }
   272  func (m *GetDatabasesReq) String() string { return proto.CompactTextString(m) }
   273  func (*GetDatabasesReq) ProtoMessage()    {}
   274  func (*GetDatabasesReq) Descriptor() ([]byte, []int) {
   275  	return fileDescriptor_1b4a5877375e491e, []int{5}
   276  }
   277  func (m *GetDatabasesReq) XXX_Unmarshal(b []byte) error {
   278  	return m.Unmarshal(b)
   279  }
   280  func (m *GetDatabasesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   281  	if deterministic {
   282  		return xxx_messageInfo_GetDatabasesReq.Marshal(b, m, deterministic)
   283  	} else {
   284  		b = b[:cap(b)]
   285  		n, err := m.MarshalToSizedBuffer(b)
   286  		if err != nil {
   287  			return nil, err
   288  		}
   289  		return b[:n], nil
   290  	}
   291  }
   292  func (m *GetDatabasesReq) XXX_Merge(src proto.Message) {
   293  	xxx_messageInfo_GetDatabasesReq.Merge(m, src)
   294  }
   295  func (m *GetDatabasesReq) XXX_Size() int {
   296  	return m.ProtoSize()
   297  }
   298  func (m *GetDatabasesReq) XXX_DiscardUnknown() {
   299  	xxx_messageInfo_GetDatabasesReq.DiscardUnknown(m)
   300  }
   301  
   302  var xxx_messageInfo_GetDatabasesReq proto.InternalMessageInfo
   303  
   304  func (m *GetDatabasesReq) GetAccessInfo() AccessInfo {
   305  	if m != nil {
   306  		return m.AccessInfo
   307  	}
   308  	return AccessInfo{}
   309  }
   310  
   311  func (m *GetDatabasesResp) Reset()         { *m = GetDatabasesResp{} }
   312  func (m *GetDatabasesResp) String() string { return proto.CompactTextString(m) }
   313  func (*GetDatabasesResp) ProtoMessage()    {}
   314  func (*GetDatabasesResp) Descriptor() ([]byte, []int) {
   315  	return fileDescriptor_1b4a5877375e491e, []int{6}
   316  }
   317  func (m *GetDatabasesResp) XXX_Unmarshal(b []byte) error {
   318  	return m.Unmarshal(b)
   319  }
   320  func (m *GetDatabasesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   321  	if deterministic {
   322  		return xxx_messageInfo_GetDatabasesResp.Marshal(b, m, deterministic)
   323  	} else {
   324  		b = b[:cap(b)]
   325  		n, err := m.MarshalToSizedBuffer(b)
   326  		if err != nil {
   327  			return nil, err
   328  		}
   329  		return b[:n], nil
   330  	}
   331  }
   332  func (m *GetDatabasesResp) XXX_Merge(src proto.Message) {
   333  	xxx_messageInfo_GetDatabasesResp.Merge(m, src)
   334  }
   335  func (m *GetDatabasesResp) XXX_Size() int {
   336  	return m.ProtoSize()
   337  }
   338  func (m *GetDatabasesResp) XXX_DiscardUnknown() {
   339  	xxx_messageInfo_GetDatabasesResp.DiscardUnknown(m)
   340  }
   341  
   342  var xxx_messageInfo_GetDatabasesResp proto.InternalMessageInfo
   343  
   344  func (m *GetDatabasesResp) GetNames() []string {
   345  	if m != nil {
   346  		return m.Names
   347  	}
   348  	return nil
   349  }
   350  
   351  func (m *DeleteDatabaseReq) Reset()         { *m = DeleteDatabaseReq{} }
   352  func (m *DeleteDatabaseReq) String() string { return proto.CompactTextString(m) }
   353  func (*DeleteDatabaseReq) ProtoMessage()    {}
   354  func (*DeleteDatabaseReq) Descriptor() ([]byte, []int) {
   355  	return fileDescriptor_1b4a5877375e491e, []int{7}
   356  }
   357  func (m *DeleteDatabaseReq) XXX_Unmarshal(b []byte) error {
   358  	return m.Unmarshal(b)
   359  }
   360  func (m *DeleteDatabaseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   361  	if deterministic {
   362  		return xxx_messageInfo_DeleteDatabaseReq.Marshal(b, m, deterministic)
   363  	} else {
   364  		b = b[:cap(b)]
   365  		n, err := m.MarshalToSizedBuffer(b)
   366  		if err != nil {
   367  			return nil, err
   368  		}
   369  		return b[:n], nil
   370  	}
   371  }
   372  func (m *DeleteDatabaseReq) XXX_Merge(src proto.Message) {
   373  	xxx_messageInfo_DeleteDatabaseReq.Merge(m, src)
   374  }
   375  func (m *DeleteDatabaseReq) XXX_Size() int {
   376  	return m.ProtoSize()
   377  }
   378  func (m *DeleteDatabaseReq) XXX_DiscardUnknown() {
   379  	xxx_messageInfo_DeleteDatabaseReq.DiscardUnknown(m)
   380  }
   381  
   382  var xxx_messageInfo_DeleteDatabaseReq proto.InternalMessageInfo
   383  
   384  func (m *DeleteDatabaseReq) GetAccessInfo() AccessInfo {
   385  	if m != nil {
   386  		return m.AccessInfo
   387  	}
   388  	return AccessInfo{}
   389  }
   390  
   391  func (m *DeleteDatabaseReq) GetName() string {
   392  	if m != nil {
   393  		return m.Name
   394  	}
   395  	return ""
   396  }
   397  
   398  func (m *DeleteDatabaseResp) Reset()         { *m = DeleteDatabaseResp{} }
   399  func (m *DeleteDatabaseResp) String() string { return proto.CompactTextString(m) }
   400  func (*DeleteDatabaseResp) ProtoMessage()    {}
   401  func (*DeleteDatabaseResp) Descriptor() ([]byte, []int) {
   402  	return fileDescriptor_1b4a5877375e491e, []int{8}
   403  }
   404  func (m *DeleteDatabaseResp) XXX_Unmarshal(b []byte) error {
   405  	return m.Unmarshal(b)
   406  }
   407  func (m *DeleteDatabaseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   408  	if deterministic {
   409  		return xxx_messageInfo_DeleteDatabaseResp.Marshal(b, m, deterministic)
   410  	} else {
   411  		b = b[:cap(b)]
   412  		n, err := m.MarshalToSizedBuffer(b)
   413  		if err != nil {
   414  			return nil, err
   415  		}
   416  		return b[:n], nil
   417  	}
   418  }
   419  func (m *DeleteDatabaseResp) XXX_Merge(src proto.Message) {
   420  	xxx_messageInfo_DeleteDatabaseResp.Merge(m, src)
   421  }
   422  func (m *DeleteDatabaseResp) XXX_Size() int {
   423  	return m.ProtoSize()
   424  }
   425  func (m *DeleteDatabaseResp) XXX_DiscardUnknown() {
   426  	xxx_messageInfo_DeleteDatabaseResp.DiscardUnknown(m)
   427  }
   428  
   429  var xxx_messageInfo_DeleteDatabaseResp proto.InternalMessageInfo
   430  
   431  func (m *DeleteDatabaseResp) GetID() ID {
   432  	if m != nil {
   433  		return m.ID
   434  	}
   435  	return 0
   436  }
   437  
   438  func (m *OpenRelationReq) Reset()         { *m = OpenRelationReq{} }
   439  func (m *OpenRelationReq) String() string { return proto.CompactTextString(m) }
   440  func (*OpenRelationReq) ProtoMessage()    {}
   441  func (*OpenRelationReq) Descriptor() ([]byte, []int) {
   442  	return fileDescriptor_1b4a5877375e491e, []int{9}
   443  }
   444  func (m *OpenRelationReq) XXX_Unmarshal(b []byte) error {
   445  	return m.Unmarshal(b)
   446  }
   447  func (m *OpenRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   448  	if deterministic {
   449  		return xxx_messageInfo_OpenRelationReq.Marshal(b, m, deterministic)
   450  	} else {
   451  		b = b[:cap(b)]
   452  		n, err := m.MarshalToSizedBuffer(b)
   453  		if err != nil {
   454  			return nil, err
   455  		}
   456  		return b[:n], nil
   457  	}
   458  }
   459  func (m *OpenRelationReq) XXX_Merge(src proto.Message) {
   460  	xxx_messageInfo_OpenRelationReq.Merge(m, src)
   461  }
   462  func (m *OpenRelationReq) XXX_Size() int {
   463  	return m.ProtoSize()
   464  }
   465  func (m *OpenRelationReq) XXX_DiscardUnknown() {
   466  	xxx_messageInfo_OpenRelationReq.DiscardUnknown(m)
   467  }
   468  
   469  var xxx_messageInfo_OpenRelationReq proto.InternalMessageInfo
   470  
   471  func (m *OpenRelationReq) GetDatabaseID() ID {
   472  	if m != nil {
   473  		return m.DatabaseID
   474  	}
   475  	return 0
   476  }
   477  
   478  func (m *OpenRelationReq) GetDatabaseName() string {
   479  	if m != nil {
   480  		return m.DatabaseName
   481  	}
   482  	return ""
   483  }
   484  
   485  func (m *OpenRelationReq) GetName() string {
   486  	if m != nil {
   487  		return m.Name
   488  	}
   489  	return ""
   490  }
   491  
   492  func (m *OpenRelationResp) Reset()         { *m = OpenRelationResp{} }
   493  func (m *OpenRelationResp) String() string { return proto.CompactTextString(m) }
   494  func (*OpenRelationResp) ProtoMessage()    {}
   495  func (*OpenRelationResp) Descriptor() ([]byte, []int) {
   496  	return fileDescriptor_1b4a5877375e491e, []int{10}
   497  }
   498  func (m *OpenRelationResp) XXX_Unmarshal(b []byte) error {
   499  	return m.Unmarshal(b)
   500  }
   501  func (m *OpenRelationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   502  	if deterministic {
   503  		return xxx_messageInfo_OpenRelationResp.Marshal(b, m, deterministic)
   504  	} else {
   505  		b = b[:cap(b)]
   506  		n, err := m.MarshalToSizedBuffer(b)
   507  		if err != nil {
   508  			return nil, err
   509  		}
   510  		return b[:n], nil
   511  	}
   512  }
   513  func (m *OpenRelationResp) XXX_Merge(src proto.Message) {
   514  	xxx_messageInfo_OpenRelationResp.Merge(m, src)
   515  }
   516  func (m *OpenRelationResp) XXX_Size() int {
   517  	return m.ProtoSize()
   518  }
   519  func (m *OpenRelationResp) XXX_DiscardUnknown() {
   520  	xxx_messageInfo_OpenRelationResp.DiscardUnknown(m)
   521  }
   522  
   523  var xxx_messageInfo_OpenRelationResp proto.InternalMessageInfo
   524  
   525  func (m *OpenRelationResp) GetID() ID {
   526  	if m != nil {
   527  		return m.ID
   528  	}
   529  	return 0
   530  }
   531  
   532  func (m *OpenRelationResp) GetType() RelationType {
   533  	if m != nil {
   534  		return m.Type
   535  	}
   536  	return 0
   537  }
   538  
   539  func (m *OpenRelationResp) GetDatabaseName() string {
   540  	if m != nil {
   541  		return m.DatabaseName
   542  	}
   543  	return ""
   544  }
   545  
   546  func (m *OpenRelationResp) GetRelationName() string {
   547  	if m != nil {
   548  		return m.RelationName
   549  	}
   550  	return ""
   551  }
   552  
   553  func (m *CreateRelationReq) Reset()         { *m = CreateRelationReq{} }
   554  func (m *CreateRelationReq) String() string { return proto.CompactTextString(m) }
   555  func (*CreateRelationReq) ProtoMessage()    {}
   556  func (*CreateRelationReq) Descriptor() ([]byte, []int) {
   557  	return fileDescriptor_1b4a5877375e491e, []int{11}
   558  }
   559  func (m *CreateRelationReq) XXX_Unmarshal(b []byte) error {
   560  	return m.Unmarshal(b)
   561  }
   562  func (m *CreateRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   563  	if deterministic {
   564  		return xxx_messageInfo_CreateRelationReq.Marshal(b, m, deterministic)
   565  	} else {
   566  		b = b[:cap(b)]
   567  		n, err := m.MarshalToSizedBuffer(b)
   568  		if err != nil {
   569  			return nil, err
   570  		}
   571  		return b[:n], nil
   572  	}
   573  }
   574  func (m *CreateRelationReq) XXX_Merge(src proto.Message) {
   575  	xxx_messageInfo_CreateRelationReq.Merge(m, src)
   576  }
   577  func (m *CreateRelationReq) XXX_Size() int {
   578  	return m.ProtoSize()
   579  }
   580  func (m *CreateRelationReq) XXX_DiscardUnknown() {
   581  	xxx_messageInfo_CreateRelationReq.DiscardUnknown(m)
   582  }
   583  
   584  var xxx_messageInfo_CreateRelationReq proto.InternalMessageInfo
   585  
   586  func (m *CreateRelationReq) GetID() ID {
   587  	if m != nil {
   588  		return m.ID
   589  	}
   590  	return 0
   591  }
   592  
   593  func (m *CreateRelationReq) GetDatabaseID() ID {
   594  	if m != nil {
   595  		return m.DatabaseID
   596  	}
   597  	return 0
   598  }
   599  
   600  func (m *CreateRelationReq) GetDatabaseName() string {
   601  	if m != nil {
   602  		return m.DatabaseName
   603  	}
   604  	return ""
   605  }
   606  
   607  func (m *CreateRelationReq) GetName() string {
   608  	if m != nil {
   609  		return m.Name
   610  	}
   611  	return ""
   612  }
   613  
   614  func (m *CreateRelationReq) GetType() RelationType {
   615  	if m != nil {
   616  		return m.Type
   617  	}
   618  	return 0
   619  }
   620  
   621  func (m *CreateRelationResp) Reset()         { *m = CreateRelationResp{} }
   622  func (m *CreateRelationResp) String() string { return proto.CompactTextString(m) }
   623  func (*CreateRelationResp) ProtoMessage()    {}
   624  func (*CreateRelationResp) Descriptor() ([]byte, []int) {
   625  	return fileDescriptor_1b4a5877375e491e, []int{12}
   626  }
   627  func (m *CreateRelationResp) XXX_Unmarshal(b []byte) error {
   628  	return m.Unmarshal(b)
   629  }
   630  func (m *CreateRelationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   631  	if deterministic {
   632  		return xxx_messageInfo_CreateRelationResp.Marshal(b, m, deterministic)
   633  	} else {
   634  		b = b[:cap(b)]
   635  		n, err := m.MarshalToSizedBuffer(b)
   636  		if err != nil {
   637  			return nil, err
   638  		}
   639  		return b[:n], nil
   640  	}
   641  }
   642  func (m *CreateRelationResp) XXX_Merge(src proto.Message) {
   643  	xxx_messageInfo_CreateRelationResp.Merge(m, src)
   644  }
   645  func (m *CreateRelationResp) XXX_Size() int {
   646  	return m.ProtoSize()
   647  }
   648  func (m *CreateRelationResp) XXX_DiscardUnknown() {
   649  	xxx_messageInfo_CreateRelationResp.DiscardUnknown(m)
   650  }
   651  
   652  var xxx_messageInfo_CreateRelationResp proto.InternalMessageInfo
   653  
   654  func (m *CreateRelationResp) GetID() ID {
   655  	if m != nil {
   656  		return m.ID
   657  	}
   658  	return 0
   659  }
   660  
   661  func (m *GetRelationsReq) Reset()         { *m = GetRelationsReq{} }
   662  func (m *GetRelationsReq) String() string { return proto.CompactTextString(m) }
   663  func (*GetRelationsReq) ProtoMessage()    {}
   664  func (*GetRelationsReq) Descriptor() ([]byte, []int) {
   665  	return fileDescriptor_1b4a5877375e491e, []int{13}
   666  }
   667  func (m *GetRelationsReq) XXX_Unmarshal(b []byte) error {
   668  	return m.Unmarshal(b)
   669  }
   670  func (m *GetRelationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   671  	if deterministic {
   672  		return xxx_messageInfo_GetRelationsReq.Marshal(b, m, deterministic)
   673  	} else {
   674  		b = b[:cap(b)]
   675  		n, err := m.MarshalToSizedBuffer(b)
   676  		if err != nil {
   677  			return nil, err
   678  		}
   679  		return b[:n], nil
   680  	}
   681  }
   682  func (m *GetRelationsReq) XXX_Merge(src proto.Message) {
   683  	xxx_messageInfo_GetRelationsReq.Merge(m, src)
   684  }
   685  func (m *GetRelationsReq) XXX_Size() int {
   686  	return m.ProtoSize()
   687  }
   688  func (m *GetRelationsReq) XXX_DiscardUnknown() {
   689  	xxx_messageInfo_GetRelationsReq.DiscardUnknown(m)
   690  }
   691  
   692  var xxx_messageInfo_GetRelationsReq proto.InternalMessageInfo
   693  
   694  func (m *GetRelationsReq) GetDatabaseID() ID {
   695  	if m != nil {
   696  		return m.DatabaseID
   697  	}
   698  	return 0
   699  }
   700  
   701  func (m *GetRelationsResp) Reset()         { *m = GetRelationsResp{} }
   702  func (m *GetRelationsResp) String() string { return proto.CompactTextString(m) }
   703  func (*GetRelationsResp) ProtoMessage()    {}
   704  func (*GetRelationsResp) Descriptor() ([]byte, []int) {
   705  	return fileDescriptor_1b4a5877375e491e, []int{14}
   706  }
   707  func (m *GetRelationsResp) XXX_Unmarshal(b []byte) error {
   708  	return m.Unmarshal(b)
   709  }
   710  func (m *GetRelationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   711  	if deterministic {
   712  		return xxx_messageInfo_GetRelationsResp.Marshal(b, m, deterministic)
   713  	} else {
   714  		b = b[:cap(b)]
   715  		n, err := m.MarshalToSizedBuffer(b)
   716  		if err != nil {
   717  			return nil, err
   718  		}
   719  		return b[:n], nil
   720  	}
   721  }
   722  func (m *GetRelationsResp) XXX_Merge(src proto.Message) {
   723  	xxx_messageInfo_GetRelationsResp.Merge(m, src)
   724  }
   725  func (m *GetRelationsResp) XXX_Size() int {
   726  	return m.ProtoSize()
   727  }
   728  func (m *GetRelationsResp) XXX_DiscardUnknown() {
   729  	xxx_messageInfo_GetRelationsResp.DiscardUnknown(m)
   730  }
   731  
   732  var xxx_messageInfo_GetRelationsResp proto.InternalMessageInfo
   733  
   734  func (m *GetRelationsResp) GetNames() []string {
   735  	if m != nil {
   736  		return m.Names
   737  	}
   738  	return nil
   739  }
   740  
   741  func (m *DeleteRelationReq) Reset()         { *m = DeleteRelationReq{} }
   742  func (m *DeleteRelationReq) String() string { return proto.CompactTextString(m) }
   743  func (*DeleteRelationReq) ProtoMessage()    {}
   744  func (*DeleteRelationReq) Descriptor() ([]byte, []int) {
   745  	return fileDescriptor_1b4a5877375e491e, []int{15}
   746  }
   747  func (m *DeleteRelationReq) XXX_Unmarshal(b []byte) error {
   748  	return m.Unmarshal(b)
   749  }
   750  func (m *DeleteRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   751  	if deterministic {
   752  		return xxx_messageInfo_DeleteRelationReq.Marshal(b, m, deterministic)
   753  	} else {
   754  		b = b[:cap(b)]
   755  		n, err := m.MarshalToSizedBuffer(b)
   756  		if err != nil {
   757  			return nil, err
   758  		}
   759  		return b[:n], nil
   760  	}
   761  }
   762  func (m *DeleteRelationReq) XXX_Merge(src proto.Message) {
   763  	xxx_messageInfo_DeleteRelationReq.Merge(m, src)
   764  }
   765  func (m *DeleteRelationReq) XXX_Size() int {
   766  	return m.ProtoSize()
   767  }
   768  func (m *DeleteRelationReq) XXX_DiscardUnknown() {
   769  	xxx_messageInfo_DeleteRelationReq.DiscardUnknown(m)
   770  }
   771  
   772  var xxx_messageInfo_DeleteRelationReq proto.InternalMessageInfo
   773  
   774  func (m *DeleteRelationReq) GetDatabaseID() ID {
   775  	if m != nil {
   776  		return m.DatabaseID
   777  	}
   778  	return 0
   779  }
   780  
   781  func (m *DeleteRelationReq) GetDatabaseName() string {
   782  	if m != nil {
   783  		return m.DatabaseName
   784  	}
   785  	return ""
   786  }
   787  
   788  func (m *DeleteRelationReq) GetName() string {
   789  	if m != nil {
   790  		return m.Name
   791  	}
   792  	return ""
   793  }
   794  
   795  func (m *DeleteRelationResp) Reset()         { *m = DeleteRelationResp{} }
   796  func (m *DeleteRelationResp) String() string { return proto.CompactTextString(m) }
   797  func (*DeleteRelationResp) ProtoMessage()    {}
   798  func (*DeleteRelationResp) Descriptor() ([]byte, []int) {
   799  	return fileDescriptor_1b4a5877375e491e, []int{16}
   800  }
   801  func (m *DeleteRelationResp) XXX_Unmarshal(b []byte) error {
   802  	return m.Unmarshal(b)
   803  }
   804  func (m *DeleteRelationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   805  	if deterministic {
   806  		return xxx_messageInfo_DeleteRelationResp.Marshal(b, m, deterministic)
   807  	} else {
   808  		b = b[:cap(b)]
   809  		n, err := m.MarshalToSizedBuffer(b)
   810  		if err != nil {
   811  			return nil, err
   812  		}
   813  		return b[:n], nil
   814  	}
   815  }
   816  func (m *DeleteRelationResp) XXX_Merge(src proto.Message) {
   817  	xxx_messageInfo_DeleteRelationResp.Merge(m, src)
   818  }
   819  func (m *DeleteRelationResp) XXX_Size() int {
   820  	return m.ProtoSize()
   821  }
   822  func (m *DeleteRelationResp) XXX_DiscardUnknown() {
   823  	xxx_messageInfo_DeleteRelationResp.DiscardUnknown(m)
   824  }
   825  
   826  var xxx_messageInfo_DeleteRelationResp proto.InternalMessageInfo
   827  
   828  func (m *DeleteRelationResp) GetID() ID {
   829  	if m != nil {
   830  		return m.ID
   831  	}
   832  	return 0
   833  }
   834  
   835  func (m *GetTableDefsReq) Reset()         { *m = GetTableDefsReq{} }
   836  func (m *GetTableDefsReq) String() string { return proto.CompactTextString(m) }
   837  func (*GetTableDefsReq) ProtoMessage()    {}
   838  func (*GetTableDefsReq) Descriptor() ([]byte, []int) {
   839  	return fileDescriptor_1b4a5877375e491e, []int{17}
   840  }
   841  func (m *GetTableDefsReq) XXX_Unmarshal(b []byte) error {
   842  	return m.Unmarshal(b)
   843  }
   844  func (m *GetTableDefsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   845  	if deterministic {
   846  		return xxx_messageInfo_GetTableDefsReq.Marshal(b, m, deterministic)
   847  	} else {
   848  		b = b[:cap(b)]
   849  		n, err := m.MarshalToSizedBuffer(b)
   850  		if err != nil {
   851  			return nil, err
   852  		}
   853  		return b[:n], nil
   854  	}
   855  }
   856  func (m *GetTableDefsReq) XXX_Merge(src proto.Message) {
   857  	xxx_messageInfo_GetTableDefsReq.Merge(m, src)
   858  }
   859  func (m *GetTableDefsReq) XXX_Size() int {
   860  	return m.ProtoSize()
   861  }
   862  func (m *GetTableDefsReq) XXX_DiscardUnknown() {
   863  	xxx_messageInfo_GetTableDefsReq.DiscardUnknown(m)
   864  }
   865  
   866  var xxx_messageInfo_GetTableDefsReq proto.InternalMessageInfo
   867  
   868  func (m *GetTableDefsReq) GetTableID() ID {
   869  	if m != nil {
   870  		return m.TableID
   871  	}
   872  	return 0
   873  }
   874  
   875  func (m *GetTableDefsResp) Reset()         { *m = GetTableDefsResp{} }
   876  func (m *GetTableDefsResp) String() string { return proto.CompactTextString(m) }
   877  func (*GetTableDefsResp) ProtoMessage()    {}
   878  func (*GetTableDefsResp) Descriptor() ([]byte, []int) {
   879  	return fileDescriptor_1b4a5877375e491e, []int{18}
   880  }
   881  func (m *GetTableDefsResp) XXX_Unmarshal(b []byte) error {
   882  	return m.Unmarshal(b)
   883  }
   884  func (m *GetTableDefsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   885  	if deterministic {
   886  		return xxx_messageInfo_GetTableDefsResp.Marshal(b, m, deterministic)
   887  	} else {
   888  		b = b[:cap(b)]
   889  		n, err := m.MarshalToSizedBuffer(b)
   890  		if err != nil {
   891  			return nil, err
   892  		}
   893  		return b[:n], nil
   894  	}
   895  }
   896  func (m *GetTableDefsResp) XXX_Merge(src proto.Message) {
   897  	xxx_messageInfo_GetTableDefsResp.Merge(m, src)
   898  }
   899  func (m *GetTableDefsResp) XXX_Size() int {
   900  	return m.ProtoSize()
   901  }
   902  func (m *GetTableDefsResp) XXX_DiscardUnknown() {
   903  	xxx_messageInfo_GetTableDefsResp.DiscardUnknown(m)
   904  }
   905  
   906  var xxx_messageInfo_GetTableDefsResp proto.InternalMessageInfo
   907  
   908  func (m *WriteResp) Reset()         { *m = WriteResp{} }
   909  func (m *WriteResp) String() string { return proto.CompactTextString(m) }
   910  func (*WriteResp) ProtoMessage()    {}
   911  func (*WriteResp) Descriptor() ([]byte, []int) {
   912  	return fileDescriptor_1b4a5877375e491e, []int{19}
   913  }
   914  func (m *WriteResp) XXX_Unmarshal(b []byte) error {
   915  	return m.Unmarshal(b)
   916  }
   917  func (m *WriteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   918  	if deterministic {
   919  		return xxx_messageInfo_WriteResp.Marshal(b, m, deterministic)
   920  	} else {
   921  		b = b[:cap(b)]
   922  		n, err := m.MarshalToSizedBuffer(b)
   923  		if err != nil {
   924  			return nil, err
   925  		}
   926  		return b[:n], nil
   927  	}
   928  }
   929  func (m *WriteResp) XXX_Merge(src proto.Message) {
   930  	xxx_messageInfo_WriteResp.Merge(m, src)
   931  }
   932  func (m *WriteResp) XXX_Size() int {
   933  	return m.ProtoSize()
   934  }
   935  func (m *WriteResp) XXX_DiscardUnknown() {
   936  	xxx_messageInfo_WriteResp.DiscardUnknown(m)
   937  }
   938  
   939  var xxx_messageInfo_WriteResp proto.InternalMessageInfo
   940  
   941  func (m *NewTableIterReq) Reset()         { *m = NewTableIterReq{} }
   942  func (m *NewTableIterReq) String() string { return proto.CompactTextString(m) }
   943  func (*NewTableIterReq) ProtoMessage()    {}
   944  func (*NewTableIterReq) Descriptor() ([]byte, []int) {
   945  	return fileDescriptor_1b4a5877375e491e, []int{20}
   946  }
   947  func (m *NewTableIterReq) XXX_Unmarshal(b []byte) error {
   948  	return m.Unmarshal(b)
   949  }
   950  func (m *NewTableIterReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   951  	if deterministic {
   952  		return xxx_messageInfo_NewTableIterReq.Marshal(b, m, deterministic)
   953  	} else {
   954  		b = b[:cap(b)]
   955  		n, err := m.MarshalToSizedBuffer(b)
   956  		if err != nil {
   957  			return nil, err
   958  		}
   959  		return b[:n], nil
   960  	}
   961  }
   962  func (m *NewTableIterReq) XXX_Merge(src proto.Message) {
   963  	xxx_messageInfo_NewTableIterReq.Merge(m, src)
   964  }
   965  func (m *NewTableIterReq) XXX_Size() int {
   966  	return m.ProtoSize()
   967  }
   968  func (m *NewTableIterReq) XXX_DiscardUnknown() {
   969  	xxx_messageInfo_NewTableIterReq.DiscardUnknown(m)
   970  }
   971  
   972  var xxx_messageInfo_NewTableIterReq proto.InternalMessageInfo
   973  
   974  func (m *NewTableIterReq) GetTableID() ID {
   975  	if m != nil {
   976  		return m.TableID
   977  	}
   978  	return 0
   979  }
   980  
   981  func (m *NewTableIterReq) GetExpr() *plan.Expr {
   982  	if m != nil {
   983  		return m.Expr
   984  	}
   985  	return nil
   986  }
   987  
   988  func (m *NewTableIterResp) Reset()         { *m = NewTableIterResp{} }
   989  func (m *NewTableIterResp) String() string { return proto.CompactTextString(m) }
   990  func (*NewTableIterResp) ProtoMessage()    {}
   991  func (*NewTableIterResp) Descriptor() ([]byte, []int) {
   992  	return fileDescriptor_1b4a5877375e491e, []int{21}
   993  }
   994  func (m *NewTableIterResp) XXX_Unmarshal(b []byte) error {
   995  	return m.Unmarshal(b)
   996  }
   997  func (m *NewTableIterResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   998  	if deterministic {
   999  		return xxx_messageInfo_NewTableIterResp.Marshal(b, m, deterministic)
  1000  	} else {
  1001  		b = b[:cap(b)]
  1002  		n, err := m.MarshalToSizedBuffer(b)
  1003  		if err != nil {
  1004  			return nil, err
  1005  		}
  1006  		return b[:n], nil
  1007  	}
  1008  }
  1009  func (m *NewTableIterResp) XXX_Merge(src proto.Message) {
  1010  	xxx_messageInfo_NewTableIterResp.Merge(m, src)
  1011  }
  1012  func (m *NewTableIterResp) XXX_Size() int {
  1013  	return m.ProtoSize()
  1014  }
  1015  func (m *NewTableIterResp) XXX_DiscardUnknown() {
  1016  	xxx_messageInfo_NewTableIterResp.DiscardUnknown(m)
  1017  }
  1018  
  1019  var xxx_messageInfo_NewTableIterResp proto.InternalMessageInfo
  1020  
  1021  func (m *NewTableIterResp) GetIterID() ID {
  1022  	if m != nil {
  1023  		return m.IterID
  1024  	}
  1025  	return 0
  1026  }
  1027  
  1028  func (m *ReadReq) Reset()         { *m = ReadReq{} }
  1029  func (m *ReadReq) String() string { return proto.CompactTextString(m) }
  1030  func (*ReadReq) ProtoMessage()    {}
  1031  func (*ReadReq) Descriptor() ([]byte, []int) {
  1032  	return fileDescriptor_1b4a5877375e491e, []int{22}
  1033  }
  1034  func (m *ReadReq) XXX_Unmarshal(b []byte) error {
  1035  	return m.Unmarshal(b)
  1036  }
  1037  func (m *ReadReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1038  	if deterministic {
  1039  		return xxx_messageInfo_ReadReq.Marshal(b, m, deterministic)
  1040  	} else {
  1041  		b = b[:cap(b)]
  1042  		n, err := m.MarshalToSizedBuffer(b)
  1043  		if err != nil {
  1044  			return nil, err
  1045  		}
  1046  		return b[:n], nil
  1047  	}
  1048  }
  1049  func (m *ReadReq) XXX_Merge(src proto.Message) {
  1050  	xxx_messageInfo_ReadReq.Merge(m, src)
  1051  }
  1052  func (m *ReadReq) XXX_Size() int {
  1053  	return m.ProtoSize()
  1054  }
  1055  func (m *ReadReq) XXX_DiscardUnknown() {
  1056  	xxx_messageInfo_ReadReq.DiscardUnknown(m)
  1057  }
  1058  
  1059  var xxx_messageInfo_ReadReq proto.InternalMessageInfo
  1060  
  1061  func (m *ReadReq) GetIterID() ID {
  1062  	if m != nil {
  1063  		return m.IterID
  1064  	}
  1065  	return 0
  1066  }
  1067  
  1068  func (m *ReadReq) GetColNames() []string {
  1069  	if m != nil {
  1070  		return m.ColNames
  1071  	}
  1072  	return nil
  1073  }
  1074  
  1075  func (m *DeleteResp) Reset()         { *m = DeleteResp{} }
  1076  func (m *DeleteResp) String() string { return proto.CompactTextString(m) }
  1077  func (*DeleteResp) ProtoMessage()    {}
  1078  func (*DeleteResp) Descriptor() ([]byte, []int) {
  1079  	return fileDescriptor_1b4a5877375e491e, []int{23}
  1080  }
  1081  func (m *DeleteResp) XXX_Unmarshal(b []byte) error {
  1082  	return m.Unmarshal(b)
  1083  }
  1084  func (m *DeleteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1085  	if deterministic {
  1086  		return xxx_messageInfo_DeleteResp.Marshal(b, m, deterministic)
  1087  	} else {
  1088  		b = b[:cap(b)]
  1089  		n, err := m.MarshalToSizedBuffer(b)
  1090  		if err != nil {
  1091  			return nil, err
  1092  		}
  1093  		return b[:n], nil
  1094  	}
  1095  }
  1096  func (m *DeleteResp) XXX_Merge(src proto.Message) {
  1097  	xxx_messageInfo_DeleteResp.Merge(m, src)
  1098  }
  1099  func (m *DeleteResp) XXX_Size() int {
  1100  	return m.ProtoSize()
  1101  }
  1102  func (m *DeleteResp) XXX_DiscardUnknown() {
  1103  	xxx_messageInfo_DeleteResp.DiscardUnknown(m)
  1104  }
  1105  
  1106  var xxx_messageInfo_DeleteResp proto.InternalMessageInfo
  1107  
  1108  func (m *GetPrimaryKeysReq) Reset()         { *m = GetPrimaryKeysReq{} }
  1109  func (m *GetPrimaryKeysReq) String() string { return proto.CompactTextString(m) }
  1110  func (*GetPrimaryKeysReq) ProtoMessage()    {}
  1111  func (*GetPrimaryKeysReq) Descriptor() ([]byte, []int) {
  1112  	return fileDescriptor_1b4a5877375e491e, []int{24}
  1113  }
  1114  func (m *GetPrimaryKeysReq) XXX_Unmarshal(b []byte) error {
  1115  	return m.Unmarshal(b)
  1116  }
  1117  func (m *GetPrimaryKeysReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1118  	if deterministic {
  1119  		return xxx_messageInfo_GetPrimaryKeysReq.Marshal(b, m, deterministic)
  1120  	} else {
  1121  		b = b[:cap(b)]
  1122  		n, err := m.MarshalToSizedBuffer(b)
  1123  		if err != nil {
  1124  			return nil, err
  1125  		}
  1126  		return b[:n], nil
  1127  	}
  1128  }
  1129  func (m *GetPrimaryKeysReq) XXX_Merge(src proto.Message) {
  1130  	xxx_messageInfo_GetPrimaryKeysReq.Merge(m, src)
  1131  }
  1132  func (m *GetPrimaryKeysReq) XXX_Size() int {
  1133  	return m.ProtoSize()
  1134  }
  1135  func (m *GetPrimaryKeysReq) XXX_DiscardUnknown() {
  1136  	xxx_messageInfo_GetPrimaryKeysReq.DiscardUnknown(m)
  1137  }
  1138  
  1139  var xxx_messageInfo_GetPrimaryKeysReq proto.InternalMessageInfo
  1140  
  1141  func (m *GetPrimaryKeysReq) GetTableID() ID {
  1142  	if m != nil {
  1143  		return m.TableID
  1144  	}
  1145  	return 0
  1146  }
  1147  
  1148  func (m *GetPrimaryKeysResp) Reset()         { *m = GetPrimaryKeysResp{} }
  1149  func (m *GetPrimaryKeysResp) String() string { return proto.CompactTextString(m) }
  1150  func (*GetPrimaryKeysResp) ProtoMessage()    {}
  1151  func (*GetPrimaryKeysResp) Descriptor() ([]byte, []int) {
  1152  	return fileDescriptor_1b4a5877375e491e, []int{25}
  1153  }
  1154  func (m *GetPrimaryKeysResp) XXX_Unmarshal(b []byte) error {
  1155  	return m.Unmarshal(b)
  1156  }
  1157  func (m *GetPrimaryKeysResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1158  	if deterministic {
  1159  		return xxx_messageInfo_GetPrimaryKeysResp.Marshal(b, m, deterministic)
  1160  	} else {
  1161  		b = b[:cap(b)]
  1162  		n, err := m.MarshalToSizedBuffer(b)
  1163  		if err != nil {
  1164  			return nil, err
  1165  		}
  1166  		return b[:n], nil
  1167  	}
  1168  }
  1169  func (m *GetPrimaryKeysResp) XXX_Merge(src proto.Message) {
  1170  	xxx_messageInfo_GetPrimaryKeysResp.Merge(m, src)
  1171  }
  1172  func (m *GetPrimaryKeysResp) XXX_Size() int {
  1173  	return m.ProtoSize()
  1174  }
  1175  func (m *GetPrimaryKeysResp) XXX_DiscardUnknown() {
  1176  	xxx_messageInfo_GetPrimaryKeysResp.DiscardUnknown(m)
  1177  }
  1178  
  1179  var xxx_messageInfo_GetPrimaryKeysResp proto.InternalMessageInfo
  1180  
  1181  func (m *CloseTableIterReq) Reset()         { *m = CloseTableIterReq{} }
  1182  func (m *CloseTableIterReq) String() string { return proto.CompactTextString(m) }
  1183  func (*CloseTableIterReq) ProtoMessage()    {}
  1184  func (*CloseTableIterReq) Descriptor() ([]byte, []int) {
  1185  	return fileDescriptor_1b4a5877375e491e, []int{26}
  1186  }
  1187  func (m *CloseTableIterReq) XXX_Unmarshal(b []byte) error {
  1188  	return m.Unmarshal(b)
  1189  }
  1190  func (m *CloseTableIterReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1191  	if deterministic {
  1192  		return xxx_messageInfo_CloseTableIterReq.Marshal(b, m, deterministic)
  1193  	} else {
  1194  		b = b[:cap(b)]
  1195  		n, err := m.MarshalToSizedBuffer(b)
  1196  		if err != nil {
  1197  			return nil, err
  1198  		}
  1199  		return b[:n], nil
  1200  	}
  1201  }
  1202  func (m *CloseTableIterReq) XXX_Merge(src proto.Message) {
  1203  	xxx_messageInfo_CloseTableIterReq.Merge(m, src)
  1204  }
  1205  func (m *CloseTableIterReq) XXX_Size() int {
  1206  	return m.ProtoSize()
  1207  }
  1208  func (m *CloseTableIterReq) XXX_DiscardUnknown() {
  1209  	xxx_messageInfo_CloseTableIterReq.DiscardUnknown(m)
  1210  }
  1211  
  1212  var xxx_messageInfo_CloseTableIterReq proto.InternalMessageInfo
  1213  
  1214  func (m *CloseTableIterReq) GetIterID() ID {
  1215  	if m != nil {
  1216  		return m.IterID
  1217  	}
  1218  	return 0
  1219  }
  1220  
  1221  func (m *CloseTableIterResp) Reset()         { *m = CloseTableIterResp{} }
  1222  func (m *CloseTableIterResp) String() string { return proto.CompactTextString(m) }
  1223  func (*CloseTableIterResp) ProtoMessage()    {}
  1224  func (*CloseTableIterResp) Descriptor() ([]byte, []int) {
  1225  	return fileDescriptor_1b4a5877375e491e, []int{27}
  1226  }
  1227  func (m *CloseTableIterResp) XXX_Unmarshal(b []byte) error {
  1228  	return m.Unmarshal(b)
  1229  }
  1230  func (m *CloseTableIterResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1231  	if deterministic {
  1232  		return xxx_messageInfo_CloseTableIterResp.Marshal(b, m, deterministic)
  1233  	} else {
  1234  		b = b[:cap(b)]
  1235  		n, err := m.MarshalToSizedBuffer(b)
  1236  		if err != nil {
  1237  			return nil, err
  1238  		}
  1239  		return b[:n], nil
  1240  	}
  1241  }
  1242  func (m *CloseTableIterResp) XXX_Merge(src proto.Message) {
  1243  	xxx_messageInfo_CloseTableIterResp.Merge(m, src)
  1244  }
  1245  func (m *CloseTableIterResp) XXX_Size() int {
  1246  	return m.ProtoSize()
  1247  }
  1248  func (m *CloseTableIterResp) XXX_DiscardUnknown() {
  1249  	xxx_messageInfo_CloseTableIterResp.DiscardUnknown(m)
  1250  }
  1251  
  1252  var xxx_messageInfo_CloseTableIterResp proto.InternalMessageInfo
  1253  
  1254  func (m *GetHiddenKeysReq) Reset()         { *m = GetHiddenKeysReq{} }
  1255  func (m *GetHiddenKeysReq) String() string { return proto.CompactTextString(m) }
  1256  func (*GetHiddenKeysReq) ProtoMessage()    {}
  1257  func (*GetHiddenKeysReq) Descriptor() ([]byte, []int) {
  1258  	return fileDescriptor_1b4a5877375e491e, []int{28}
  1259  }
  1260  func (m *GetHiddenKeysReq) XXX_Unmarshal(b []byte) error {
  1261  	return m.Unmarshal(b)
  1262  }
  1263  func (m *GetHiddenKeysReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1264  	if deterministic {
  1265  		return xxx_messageInfo_GetHiddenKeysReq.Marshal(b, m, deterministic)
  1266  	} else {
  1267  		b = b[:cap(b)]
  1268  		n, err := m.MarshalToSizedBuffer(b)
  1269  		if err != nil {
  1270  			return nil, err
  1271  		}
  1272  		return b[:n], nil
  1273  	}
  1274  }
  1275  func (m *GetHiddenKeysReq) XXX_Merge(src proto.Message) {
  1276  	xxx_messageInfo_GetHiddenKeysReq.Merge(m, src)
  1277  }
  1278  func (m *GetHiddenKeysReq) XXX_Size() int {
  1279  	return m.ProtoSize()
  1280  }
  1281  func (m *GetHiddenKeysReq) XXX_DiscardUnknown() {
  1282  	xxx_messageInfo_GetHiddenKeysReq.DiscardUnknown(m)
  1283  }
  1284  
  1285  var xxx_messageInfo_GetHiddenKeysReq proto.InternalMessageInfo
  1286  
  1287  func (m *GetHiddenKeysReq) GetTableID() ID {
  1288  	if m != nil {
  1289  		return m.TableID
  1290  	}
  1291  	return 0
  1292  }
  1293  
  1294  func (m *GetHiddenKeysResp) Reset()         { *m = GetHiddenKeysResp{} }
  1295  func (m *GetHiddenKeysResp) String() string { return proto.CompactTextString(m) }
  1296  func (*GetHiddenKeysResp) ProtoMessage()    {}
  1297  func (*GetHiddenKeysResp) Descriptor() ([]byte, []int) {
  1298  	return fileDescriptor_1b4a5877375e491e, []int{29}
  1299  }
  1300  func (m *GetHiddenKeysResp) XXX_Unmarshal(b []byte) error {
  1301  	return m.Unmarshal(b)
  1302  }
  1303  func (m *GetHiddenKeysResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1304  	if deterministic {
  1305  		return xxx_messageInfo_GetHiddenKeysResp.Marshal(b, m, deterministic)
  1306  	} else {
  1307  		b = b[:cap(b)]
  1308  		n, err := m.MarshalToSizedBuffer(b)
  1309  		if err != nil {
  1310  			return nil, err
  1311  		}
  1312  		return b[:n], nil
  1313  	}
  1314  }
  1315  func (m *GetHiddenKeysResp) XXX_Merge(src proto.Message) {
  1316  	xxx_messageInfo_GetHiddenKeysResp.Merge(m, src)
  1317  }
  1318  func (m *GetHiddenKeysResp) XXX_Size() int {
  1319  	return m.ProtoSize()
  1320  }
  1321  func (m *GetHiddenKeysResp) XXX_DiscardUnknown() {
  1322  	xxx_messageInfo_GetHiddenKeysResp.DiscardUnknown(m)
  1323  }
  1324  
  1325  var xxx_messageInfo_GetHiddenKeysResp proto.InternalMessageInfo
  1326  
  1327  func (m *TableStatsReq) Reset()         { *m = TableStatsReq{} }
  1328  func (m *TableStatsReq) String() string { return proto.CompactTextString(m) }
  1329  func (*TableStatsReq) ProtoMessage()    {}
  1330  func (*TableStatsReq) Descriptor() ([]byte, []int) {
  1331  	return fileDescriptor_1b4a5877375e491e, []int{30}
  1332  }
  1333  func (m *TableStatsReq) XXX_Unmarshal(b []byte) error {
  1334  	return m.Unmarshal(b)
  1335  }
  1336  func (m *TableStatsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1337  	if deterministic {
  1338  		return xxx_messageInfo_TableStatsReq.Marshal(b, m, deterministic)
  1339  	} else {
  1340  		b = b[:cap(b)]
  1341  		n, err := m.MarshalToSizedBuffer(b)
  1342  		if err != nil {
  1343  			return nil, err
  1344  		}
  1345  		return b[:n], nil
  1346  	}
  1347  }
  1348  func (m *TableStatsReq) XXX_Merge(src proto.Message) {
  1349  	xxx_messageInfo_TableStatsReq.Merge(m, src)
  1350  }
  1351  func (m *TableStatsReq) XXX_Size() int {
  1352  	return m.ProtoSize()
  1353  }
  1354  func (m *TableStatsReq) XXX_DiscardUnknown() {
  1355  	xxx_messageInfo_TableStatsReq.DiscardUnknown(m)
  1356  }
  1357  
  1358  var xxx_messageInfo_TableStatsReq proto.InternalMessageInfo
  1359  
  1360  func (m *TableStatsReq) GetTableID() ID {
  1361  	if m != nil {
  1362  		return m.TableID
  1363  	}
  1364  	return 0
  1365  }
  1366  
  1367  func (m *TableStatsResp) Reset()         { *m = TableStatsResp{} }
  1368  func (m *TableStatsResp) String() string { return proto.CompactTextString(m) }
  1369  func (*TableStatsResp) ProtoMessage()    {}
  1370  func (*TableStatsResp) Descriptor() ([]byte, []int) {
  1371  	return fileDescriptor_1b4a5877375e491e, []int{31}
  1372  }
  1373  func (m *TableStatsResp) XXX_Unmarshal(b []byte) error {
  1374  	return m.Unmarshal(b)
  1375  }
  1376  func (m *TableStatsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1377  	if deterministic {
  1378  		return xxx_messageInfo_TableStatsResp.Marshal(b, m, deterministic)
  1379  	} else {
  1380  		b = b[:cap(b)]
  1381  		n, err := m.MarshalToSizedBuffer(b)
  1382  		if err != nil {
  1383  			return nil, err
  1384  		}
  1385  		return b[:n], nil
  1386  	}
  1387  }
  1388  func (m *TableStatsResp) XXX_Merge(src proto.Message) {
  1389  	xxx_messageInfo_TableStatsResp.Merge(m, src)
  1390  }
  1391  func (m *TableStatsResp) XXX_Size() int {
  1392  	return m.ProtoSize()
  1393  }
  1394  func (m *TableStatsResp) XXX_DiscardUnknown() {
  1395  	xxx_messageInfo_TableStatsResp.DiscardUnknown(m)
  1396  }
  1397  
  1398  var xxx_messageInfo_TableStatsResp proto.InternalMessageInfo
  1399  
  1400  func (m *TableStatsResp) GetRows() int {
  1401  	if m != nil {
  1402  		return m.Rows
  1403  	}
  1404  	return 0
  1405  }
  1406  
  1407  func (m *GetTableColumnsReq) Reset()         { *m = GetTableColumnsReq{} }
  1408  func (m *GetTableColumnsReq) String() string { return proto.CompactTextString(m) }
  1409  func (*GetTableColumnsReq) ProtoMessage()    {}
  1410  func (*GetTableColumnsReq) Descriptor() ([]byte, []int) {
  1411  	return fileDescriptor_1b4a5877375e491e, []int{32}
  1412  }
  1413  func (m *GetTableColumnsReq) XXX_Unmarshal(b []byte) error {
  1414  	return m.Unmarshal(b)
  1415  }
  1416  func (m *GetTableColumnsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1417  	if deterministic {
  1418  		return xxx_messageInfo_GetTableColumnsReq.Marshal(b, m, deterministic)
  1419  	} else {
  1420  		b = b[:cap(b)]
  1421  		n, err := m.MarshalToSizedBuffer(b)
  1422  		if err != nil {
  1423  			return nil, err
  1424  		}
  1425  		return b[:n], nil
  1426  	}
  1427  }
  1428  func (m *GetTableColumnsReq) XXX_Merge(src proto.Message) {
  1429  	xxx_messageInfo_GetTableColumnsReq.Merge(m, src)
  1430  }
  1431  func (m *GetTableColumnsReq) XXX_Size() int {
  1432  	return m.ProtoSize()
  1433  }
  1434  func (m *GetTableColumnsReq) XXX_DiscardUnknown() {
  1435  	xxx_messageInfo_GetTableColumnsReq.DiscardUnknown(m)
  1436  }
  1437  
  1438  var xxx_messageInfo_GetTableColumnsReq proto.InternalMessageInfo
  1439  
  1440  func (m *GetTableColumnsReq) GetTableID() ID {
  1441  	if m != nil {
  1442  		return m.TableID
  1443  	}
  1444  	return 0
  1445  }
  1446  
  1447  func (m *GetTableColumnsResp) Reset()         { *m = GetTableColumnsResp{} }
  1448  func (m *GetTableColumnsResp) String() string { return proto.CompactTextString(m) }
  1449  func (*GetTableColumnsResp) ProtoMessage()    {}
  1450  func (*GetTableColumnsResp) Descriptor() ([]byte, []int) {
  1451  	return fileDescriptor_1b4a5877375e491e, []int{33}
  1452  }
  1453  func (m *GetTableColumnsResp) XXX_Unmarshal(b []byte) error {
  1454  	return m.Unmarshal(b)
  1455  }
  1456  func (m *GetTableColumnsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1457  	if deterministic {
  1458  		return xxx_messageInfo_GetTableColumnsResp.Marshal(b, m, deterministic)
  1459  	} else {
  1460  		b = b[:cap(b)]
  1461  		n, err := m.MarshalToSizedBuffer(b)
  1462  		if err != nil {
  1463  			return nil, err
  1464  		}
  1465  		return b[:n], nil
  1466  	}
  1467  }
  1468  func (m *GetTableColumnsResp) XXX_Merge(src proto.Message) {
  1469  	xxx_messageInfo_GetTableColumnsResp.Merge(m, src)
  1470  }
  1471  func (m *GetTableColumnsResp) XXX_Size() int {
  1472  	return m.ProtoSize()
  1473  }
  1474  func (m *GetTableColumnsResp) XXX_DiscardUnknown() {
  1475  	xxx_messageInfo_GetTableColumnsResp.DiscardUnknown(m)
  1476  }
  1477  
  1478  var xxx_messageInfo_GetTableColumnsResp proto.InternalMessageInfo
  1479  
  1480  func (m *TruncateRelationReq) Reset()         { *m = TruncateRelationReq{} }
  1481  func (m *TruncateRelationReq) String() string { return proto.CompactTextString(m) }
  1482  func (*TruncateRelationReq) ProtoMessage()    {}
  1483  func (*TruncateRelationReq) Descriptor() ([]byte, []int) {
  1484  	return fileDescriptor_1b4a5877375e491e, []int{34}
  1485  }
  1486  func (m *TruncateRelationReq) XXX_Unmarshal(b []byte) error {
  1487  	return m.Unmarshal(b)
  1488  }
  1489  func (m *TruncateRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1490  	if deterministic {
  1491  		return xxx_messageInfo_TruncateRelationReq.Marshal(b, m, deterministic)
  1492  	} else {
  1493  		b = b[:cap(b)]
  1494  		n, err := m.MarshalToSizedBuffer(b)
  1495  		if err != nil {
  1496  			return nil, err
  1497  		}
  1498  		return b[:n], nil
  1499  	}
  1500  }
  1501  func (m *TruncateRelationReq) XXX_Merge(src proto.Message) {
  1502  	xxx_messageInfo_TruncateRelationReq.Merge(m, src)
  1503  }
  1504  func (m *TruncateRelationReq) XXX_Size() int {
  1505  	return m.ProtoSize()
  1506  }
  1507  func (m *TruncateRelationReq) XXX_DiscardUnknown() {
  1508  	xxx_messageInfo_TruncateRelationReq.DiscardUnknown(m)
  1509  }
  1510  
  1511  var xxx_messageInfo_TruncateRelationReq proto.InternalMessageInfo
  1512  
  1513  func (m *TruncateRelationReq) GetNewTableID() ID {
  1514  	if m != nil {
  1515  		return m.NewTableID
  1516  	}
  1517  	return 0
  1518  }
  1519  
  1520  func (m *TruncateRelationReq) GetOldTableID() ID {
  1521  	if m != nil {
  1522  		return m.OldTableID
  1523  	}
  1524  	return 0
  1525  }
  1526  
  1527  func (m *TruncateRelationReq) GetDatabaseID() ID {
  1528  	if m != nil {
  1529  		return m.DatabaseID
  1530  	}
  1531  	return 0
  1532  }
  1533  
  1534  func (m *TruncateRelationReq) GetDatabaseName() string {
  1535  	if m != nil {
  1536  		return m.DatabaseName
  1537  	}
  1538  	return ""
  1539  }
  1540  
  1541  func (m *TruncateRelationReq) GetName() string {
  1542  	if m != nil {
  1543  		return m.Name
  1544  	}
  1545  	return ""
  1546  }
  1547  
  1548  func (m *TruncateRelationResp) Reset()         { *m = TruncateRelationResp{} }
  1549  func (m *TruncateRelationResp) String() string { return proto.CompactTextString(m) }
  1550  func (*TruncateRelationResp) ProtoMessage()    {}
  1551  func (*TruncateRelationResp) Descriptor() ([]byte, []int) {
  1552  	return fileDescriptor_1b4a5877375e491e, []int{35}
  1553  }
  1554  func (m *TruncateRelationResp) XXX_Unmarshal(b []byte) error {
  1555  	return m.Unmarshal(b)
  1556  }
  1557  func (m *TruncateRelationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1558  	if deterministic {
  1559  		return xxx_messageInfo_TruncateRelationResp.Marshal(b, m, deterministic)
  1560  	} else {
  1561  		b = b[:cap(b)]
  1562  		n, err := m.MarshalToSizedBuffer(b)
  1563  		if err != nil {
  1564  			return nil, err
  1565  		}
  1566  		return b[:n], nil
  1567  	}
  1568  }
  1569  func (m *TruncateRelationResp) XXX_Merge(src proto.Message) {
  1570  	xxx_messageInfo_TruncateRelationResp.Merge(m, src)
  1571  }
  1572  func (m *TruncateRelationResp) XXX_Size() int {
  1573  	return m.ProtoSize()
  1574  }
  1575  func (m *TruncateRelationResp) XXX_DiscardUnknown() {
  1576  	xxx_messageInfo_TruncateRelationResp.DiscardUnknown(m)
  1577  }
  1578  
  1579  var xxx_messageInfo_TruncateRelationResp proto.InternalMessageInfo
  1580  
  1581  func (m *TruncateRelationResp) GetID() ID {
  1582  	if m != nil {
  1583  		return m.ID
  1584  	}
  1585  	return 0
  1586  }
  1587  
  1588  func (m *AddTableDefReq) Reset()         { *m = AddTableDefReq{} }
  1589  func (m *AddTableDefReq) String() string { return proto.CompactTextString(m) }
  1590  func (*AddTableDefReq) ProtoMessage()    {}
  1591  func (*AddTableDefReq) Descriptor() ([]byte, []int) {
  1592  	return fileDescriptor_1b4a5877375e491e, []int{36}
  1593  }
  1594  func (m *AddTableDefReq) XXX_Unmarshal(b []byte) error {
  1595  	return m.Unmarshal(b)
  1596  }
  1597  func (m *AddTableDefReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1598  	if deterministic {
  1599  		return xxx_messageInfo_AddTableDefReq.Marshal(b, m, deterministic)
  1600  	} else {
  1601  		b = b[:cap(b)]
  1602  		n, err := m.MarshalToSizedBuffer(b)
  1603  		if err != nil {
  1604  			return nil, err
  1605  		}
  1606  		return b[:n], nil
  1607  	}
  1608  }
  1609  func (m *AddTableDefReq) XXX_Merge(src proto.Message) {
  1610  	xxx_messageInfo_AddTableDefReq.Merge(m, src)
  1611  }
  1612  func (m *AddTableDefReq) XXX_Size() int {
  1613  	return m.ProtoSize()
  1614  }
  1615  func (m *AddTableDefReq) XXX_DiscardUnknown() {
  1616  	xxx_messageInfo_AddTableDefReq.DiscardUnknown(m)
  1617  }
  1618  
  1619  var xxx_messageInfo_AddTableDefReq proto.InternalMessageInfo
  1620  
  1621  func (m *AddTableDefReq) GetTableID() ID {
  1622  	if m != nil {
  1623  		return m.TableID
  1624  	}
  1625  	return 0
  1626  }
  1627  
  1628  func (m *AddTableDefReq) GetDatabaseName() string {
  1629  	if m != nil {
  1630  		return m.DatabaseName
  1631  	}
  1632  	return ""
  1633  }
  1634  
  1635  func (m *AddTableDefReq) GetTableName() string {
  1636  	if m != nil {
  1637  		return m.TableName
  1638  	}
  1639  	return ""
  1640  }
  1641  
  1642  func (m *AddTableDefResp) Reset()         { *m = AddTableDefResp{} }
  1643  func (m *AddTableDefResp) String() string { return proto.CompactTextString(m) }
  1644  func (*AddTableDefResp) ProtoMessage()    {}
  1645  func (*AddTableDefResp) Descriptor() ([]byte, []int) {
  1646  	return fileDescriptor_1b4a5877375e491e, []int{37}
  1647  }
  1648  func (m *AddTableDefResp) XXX_Unmarshal(b []byte) error {
  1649  	return m.Unmarshal(b)
  1650  }
  1651  func (m *AddTableDefResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1652  	if deterministic {
  1653  		return xxx_messageInfo_AddTableDefResp.Marshal(b, m, deterministic)
  1654  	} else {
  1655  		b = b[:cap(b)]
  1656  		n, err := m.MarshalToSizedBuffer(b)
  1657  		if err != nil {
  1658  			return nil, err
  1659  		}
  1660  		return b[:n], nil
  1661  	}
  1662  }
  1663  func (m *AddTableDefResp) XXX_Merge(src proto.Message) {
  1664  	xxx_messageInfo_AddTableDefResp.Merge(m, src)
  1665  }
  1666  func (m *AddTableDefResp) XXX_Size() int {
  1667  	return m.ProtoSize()
  1668  }
  1669  func (m *AddTableDefResp) XXX_DiscardUnknown() {
  1670  	xxx_messageInfo_AddTableDefResp.DiscardUnknown(m)
  1671  }
  1672  
  1673  var xxx_messageInfo_AddTableDefResp proto.InternalMessageInfo
  1674  
  1675  func (m *DelTableDefReq) Reset()         { *m = DelTableDefReq{} }
  1676  func (m *DelTableDefReq) String() string { return proto.CompactTextString(m) }
  1677  func (*DelTableDefReq) ProtoMessage()    {}
  1678  func (*DelTableDefReq) Descriptor() ([]byte, []int) {
  1679  	return fileDescriptor_1b4a5877375e491e, []int{38}
  1680  }
  1681  func (m *DelTableDefReq) XXX_Unmarshal(b []byte) error {
  1682  	return m.Unmarshal(b)
  1683  }
  1684  func (m *DelTableDefReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1685  	if deterministic {
  1686  		return xxx_messageInfo_DelTableDefReq.Marshal(b, m, deterministic)
  1687  	} else {
  1688  		b = b[:cap(b)]
  1689  		n, err := m.MarshalToSizedBuffer(b)
  1690  		if err != nil {
  1691  			return nil, err
  1692  		}
  1693  		return b[:n], nil
  1694  	}
  1695  }
  1696  func (m *DelTableDefReq) XXX_Merge(src proto.Message) {
  1697  	xxx_messageInfo_DelTableDefReq.Merge(m, src)
  1698  }
  1699  func (m *DelTableDefReq) XXX_Size() int {
  1700  	return m.ProtoSize()
  1701  }
  1702  func (m *DelTableDefReq) XXX_DiscardUnknown() {
  1703  	xxx_messageInfo_DelTableDefReq.DiscardUnknown(m)
  1704  }
  1705  
  1706  var xxx_messageInfo_DelTableDefReq proto.InternalMessageInfo
  1707  
  1708  func (m *DelTableDefReq) GetTableID() ID {
  1709  	if m != nil {
  1710  		return m.TableID
  1711  	}
  1712  	return 0
  1713  }
  1714  
  1715  func (m *DelTableDefReq) GetDatabaseName() string {
  1716  	if m != nil {
  1717  		return m.DatabaseName
  1718  	}
  1719  	return ""
  1720  }
  1721  
  1722  func (m *DelTableDefReq) GetTableName() string {
  1723  	if m != nil {
  1724  		return m.TableName
  1725  	}
  1726  	return ""
  1727  }
  1728  
  1729  func (m *DelTableDefResp) Reset()         { *m = DelTableDefResp{} }
  1730  func (m *DelTableDefResp) String() string { return proto.CompactTextString(m) }
  1731  func (*DelTableDefResp) ProtoMessage()    {}
  1732  func (*DelTableDefResp) Descriptor() ([]byte, []int) {
  1733  	return fileDescriptor_1b4a5877375e491e, []int{39}
  1734  }
  1735  func (m *DelTableDefResp) XXX_Unmarshal(b []byte) error {
  1736  	return m.Unmarshal(b)
  1737  }
  1738  func (m *DelTableDefResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1739  	if deterministic {
  1740  		return xxx_messageInfo_DelTableDefResp.Marshal(b, m, deterministic)
  1741  	} else {
  1742  		b = b[:cap(b)]
  1743  		n, err := m.MarshalToSizedBuffer(b)
  1744  		if err != nil {
  1745  			return nil, err
  1746  		}
  1747  		return b[:n], nil
  1748  	}
  1749  }
  1750  func (m *DelTableDefResp) XXX_Merge(src proto.Message) {
  1751  	xxx_messageInfo_DelTableDefResp.Merge(m, src)
  1752  }
  1753  func (m *DelTableDefResp) XXX_Size() int {
  1754  	return m.ProtoSize()
  1755  }
  1756  func (m *DelTableDefResp) XXX_DiscardUnknown() {
  1757  	xxx_messageInfo_DelTableDefResp.DiscardUnknown(m)
  1758  }
  1759  
  1760  var xxx_messageInfo_DelTableDefResp proto.InternalMessageInfo
  1761  
  1762  func (m *UpdateResp) Reset()         { *m = UpdateResp{} }
  1763  func (m *UpdateResp) String() string { return proto.CompactTextString(m) }
  1764  func (*UpdateResp) ProtoMessage()    {}
  1765  func (*UpdateResp) Descriptor() ([]byte, []int) {
  1766  	return fileDescriptor_1b4a5877375e491e, []int{40}
  1767  }
  1768  func (m *UpdateResp) XXX_Unmarshal(b []byte) error {
  1769  	return m.Unmarshal(b)
  1770  }
  1771  func (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1772  	if deterministic {
  1773  		return xxx_messageInfo_UpdateResp.Marshal(b, m, deterministic)
  1774  	} else {
  1775  		b = b[:cap(b)]
  1776  		n, err := m.MarshalToSizedBuffer(b)
  1777  		if err != nil {
  1778  			return nil, err
  1779  		}
  1780  		return b[:n], nil
  1781  	}
  1782  }
  1783  func (m *UpdateResp) XXX_Merge(src proto.Message) {
  1784  	xxx_messageInfo_UpdateResp.Merge(m, src)
  1785  }
  1786  func (m *UpdateResp) XXX_Size() int {
  1787  	return m.ProtoSize()
  1788  }
  1789  func (m *UpdateResp) XXX_DiscardUnknown() {
  1790  	xxx_messageInfo_UpdateResp.DiscardUnknown(m)
  1791  }
  1792  
  1793  var xxx_messageInfo_UpdateResp proto.InternalMessageInfo
  1794  
  1795  func init() {
  1796  	proto.RegisterType((*AccessInfo)(nil), "memoryengine.AccessInfo")
  1797  	proto.RegisterType((*OpenDatabaseReq)(nil), "memoryengine.OpenDatabaseReq")
  1798  	proto.RegisterType((*OpenDatabaseResp)(nil), "memoryengine.OpenDatabaseResp")
  1799  	proto.RegisterType((*CreateDatabaseReq)(nil), "memoryengine.CreateDatabaseReq")
  1800  	proto.RegisterType((*CreateDatabaseResp)(nil), "memoryengine.CreateDatabaseResp")
  1801  	proto.RegisterType((*GetDatabasesReq)(nil), "memoryengine.GetDatabasesReq")
  1802  	proto.RegisterType((*GetDatabasesResp)(nil), "memoryengine.GetDatabasesResp")
  1803  	proto.RegisterType((*DeleteDatabaseReq)(nil), "memoryengine.DeleteDatabaseReq")
  1804  	proto.RegisterType((*DeleteDatabaseResp)(nil), "memoryengine.DeleteDatabaseResp")
  1805  	proto.RegisterType((*OpenRelationReq)(nil), "memoryengine.OpenRelationReq")
  1806  	proto.RegisterType((*OpenRelationResp)(nil), "memoryengine.OpenRelationResp")
  1807  	proto.RegisterType((*CreateRelationReq)(nil), "memoryengine.CreateRelationReq")
  1808  	proto.RegisterType((*CreateRelationResp)(nil), "memoryengine.CreateRelationResp")
  1809  	proto.RegisterType((*GetRelationsReq)(nil), "memoryengine.GetRelationsReq")
  1810  	proto.RegisterType((*GetRelationsResp)(nil), "memoryengine.GetRelationsResp")
  1811  	proto.RegisterType((*DeleteRelationReq)(nil), "memoryengine.DeleteRelationReq")
  1812  	proto.RegisterType((*DeleteRelationResp)(nil), "memoryengine.DeleteRelationResp")
  1813  	proto.RegisterType((*GetTableDefsReq)(nil), "memoryengine.GetTableDefsReq")
  1814  	proto.RegisterType((*GetTableDefsResp)(nil), "memoryengine.GetTableDefsResp")
  1815  	proto.RegisterType((*WriteResp)(nil), "memoryengine.WriteResp")
  1816  	proto.RegisterType((*NewTableIterReq)(nil), "memoryengine.NewTableIterReq")
  1817  	proto.RegisterType((*NewTableIterResp)(nil), "memoryengine.NewTableIterResp")
  1818  	proto.RegisterType((*ReadReq)(nil), "memoryengine.ReadReq")
  1819  	proto.RegisterType((*DeleteResp)(nil), "memoryengine.DeleteResp")
  1820  	proto.RegisterType((*GetPrimaryKeysReq)(nil), "memoryengine.GetPrimaryKeysReq")
  1821  	proto.RegisterType((*GetPrimaryKeysResp)(nil), "memoryengine.GetPrimaryKeysResp")
  1822  	proto.RegisterType((*CloseTableIterReq)(nil), "memoryengine.CloseTableIterReq")
  1823  	proto.RegisterType((*CloseTableIterResp)(nil), "memoryengine.CloseTableIterResp")
  1824  	proto.RegisterType((*GetHiddenKeysReq)(nil), "memoryengine.GetHiddenKeysReq")
  1825  	proto.RegisterType((*GetHiddenKeysResp)(nil), "memoryengine.GetHiddenKeysResp")
  1826  	proto.RegisterType((*TableStatsReq)(nil), "memoryengine.TableStatsReq")
  1827  	proto.RegisterType((*TableStatsResp)(nil), "memoryengine.TableStatsResp")
  1828  	proto.RegisterType((*GetTableColumnsReq)(nil), "memoryengine.GetTableColumnsReq")
  1829  	proto.RegisterType((*GetTableColumnsResp)(nil), "memoryengine.GetTableColumnsResp")
  1830  	proto.RegisterType((*TruncateRelationReq)(nil), "memoryengine.TruncateRelationReq")
  1831  	proto.RegisterType((*TruncateRelationResp)(nil), "memoryengine.TruncateRelationResp")
  1832  	proto.RegisterType((*AddTableDefReq)(nil), "memoryengine.AddTableDefReq")
  1833  	proto.RegisterType((*AddTableDefResp)(nil), "memoryengine.AddTableDefResp")
  1834  	proto.RegisterType((*DelTableDefReq)(nil), "memoryengine.DelTableDefReq")
  1835  	proto.RegisterType((*DelTableDefResp)(nil), "memoryengine.DelTableDefResp")
  1836  	proto.RegisterType((*UpdateResp)(nil), "memoryengine.UpdateResp")
  1837  }
  1838  
  1839  func init() { proto.RegisterFile("operations.proto", fileDescriptor_1b4a5877375e491e) }
  1840  
  1841  var fileDescriptor_1b4a5877375e491e = []byte{
  1842  	// 993 bytes of a gzipped FileDescriptorProto
  1843  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0x4f, 0x6f, 0x1b, 0x45,
  1844  	0x14, 0xf7, 0x7a, 0x37, 0x0e, 0x7e, 0x75, 0x1a, 0x7b, 0x5a, 0x15, 0x2b, 0x54, 0x6b, 0x2b, 0x20,
  1845  	0x94, 0x0b, 0xb6, 0x94, 0x22, 0x41, 0x03, 0xb4, 0x8a, 0xb3, 0xa8, 0x58, 0x95, 0xda, 0x6a, 0x9b,
  1846  	0xaa, 0xe2, 0x54, 0xd6, 0xde, 0xb1, 0x59, 0x75, 0xff, 0xb1, 0x33, 0x26, 0xf5, 0x17, 0xe0, 0xc4,
  1847  	0x81, 0x4f, 0x80, 0xe0, 0xdb, 0x54, 0xe2, 0x92, 0x23, 0xea, 0xc1, 0x82, 0xe4, 0x0b, 0x70, 0xce,
  1848  	0x09, 0xed, 0xdb, 0xd9, 0xf5, 0xac, 0x97, 0x24, 0xb6, 0x68, 0x38, 0x70, 0xdb, 0x79, 0x33, 0xbf,
  1849  	0x37, 0xbf, 0xf7, 0x7b, 0x7f, 0xc6, 0x86, 0x7a, 0x10, 0xd2, 0xc8, 0xe2, 0x4e, 0xe0, 0xb3, 0x4e,
  1850  	0x18, 0x05, 0x3c, 0x20, 0x35, 0x8f, 0x7a, 0x41, 0x34, 0xa5, 0xfe, 0xd8, 0xf1, 0xe9, 0xd6, 0x47,
  1851  	0x63, 0x87, 0x7f, 0x3b, 0x19, 0x74, 0x86, 0x81, 0xd7, 0x1d, 0x07, 0xe3, 0xa0, 0x8b, 0x87, 0x06,
  1852  	0x93, 0x11, 0xae, 0x70, 0x81, 0x5f, 0x09, 0x78, 0x0b, 0x42, 0xd7, 0xf2, 0x93, 0xef, 0xed, 0x6f,
  1853  	0x00, 0xf6, 0x87, 0x43, 0xca, 0x58, 0xdf, 0x1f, 0x05, 0xe4, 0x36, 0x54, 0xf7, 0x87, 0xc3, 0x60,
  1854  	0xe2, 0xf3, 0xbe, 0xd1, 0x54, 0xda, 0xca, 0xce, 0x86, 0x39, 0x37, 0x90, 0x5b, 0x50, 0x79, 0xc6,
  1855  	0x68, 0xd4, 0x37, 0x9a, 0x65, 0xdc, 0x12, 0xab, 0xd8, 0x6e, 0x06, 0x2e, 0xed, 0x1b, 0x4d, 0x35,
  1856  	0xb1, 0x27, 0xab, 0x3d, 0xed, 0xaf, 0x5f, 0x5b, 0xa5, 0xed, 0x97, 0xb0, 0xf9, 0x38, 0xa4, 0xbe,
  1857  	0x61, 0x71, 0x6b, 0x60, 0x31, 0x6a, 0xd2, 0xef, 0xc8, 0x3d, 0xf9, 0x52, 0xbc, 0xe7, 0xda, 0x6e,
  1858  	0xb3, 0x23, 0x87, 0xd4, 0x99, 0xef, 0xf7, 0xb4, 0xd7, 0xb3, 0x56, 0xc9, 0x94, 0x69, 0x12, 0xd0,
  1859  	0x1e, 0x59, 0x1e, 0x45, 0x1a, 0x55, 0x13, 0xbf, 0xc5, 0x65, 0x06, 0xd4, 0xf3, 0x97, 0xb1, 0x90,
  1860  	0xdc, 0x82, 0xb2, 0x88, 0x46, 0xeb, 0x55, 0xce, 0x66, 0xad, 0x72, 0xdf, 0x30, 0xcb, 0x7d, 0x23,
  1861  	0xf6, 0xe2, 0x4b, 0x5e, 0xfc, 0xb9, 0x97, 0x1f, 0x14, 0x68, 0x1c, 0x44, 0xd4, 0xe2, 0x54, 0x66,
  1862  	0x7d, 0x9e, 0x9f, 0xfb, 0x70, 0xcd, 0x42, 0x6e, 0x2f, 0x9c, 0x38, 0x9c, 0xf2, 0x72, 0xe1, 0x58,
  1863  	0xb9, 0x70, 0x90, 0x88, 0x5a, 0x20, 0xb2, 0x0b, 0x64, 0x91, 0xc7, 0xf9, 0x01, 0x09, 0xcc, 0x73,
  1864  	0xd8, 0x7c, 0x40, 0x79, 0x0a, 0x60, 0x6f, 0x41, 0x6f, 0xe1, 0xb8, 0x03, 0xf5, 0xbc, 0x63, 0x16,
  1865  	0x92, 0x9b, 0xb0, 0x16, 0xab, 0xcf, 0x9a, 0x4a, 0x5b, 0xdd, 0xa9, 0x9a, 0xc9, 0x42, 0x9c, 0xf7,
  1866  	0xa0, 0x61, 0x50, 0x97, 0xe6, 0x45, 0xbc, 0xba, 0xd4, 0xef, 0x02, 0x59, 0xbc, 0xee, 0x52, 0xad,
  1867  	0x8e, 0x92, 0xda, 0x34, 0xa9, 0x8b, 0xdd, 0x15, 0x13, 0xfc, 0x10, 0x20, 0x75, 0x50, 0x00, 0x4a,
  1868  	0x3b, 0x64, 0x1b, 0x6a, 0xe9, 0x4a, 0x22, 0x94, 0xb3, 0x65, 0x64, 0xd5, 0x02, 0xd9, 0x9f, 0x95,
  1869  	0xa4, 0x50, 0xe7, 0x37, 0x5f, 0x50, 0xa8, 0x1f, 0x80, 0xc6, 0xa7, 0x61, 0x72, 0xc5, 0x46, 0xaf,
  1870  	0x7e, 0x36, 0x6b, 0xd5, 0x52, 0xdc, 0xe1, 0x34, 0xa4, 0x26, 0xee, 0x16, 0x08, 0xa9, 0xff, 0x40,
  1871  	0x68, 0x1b, 0x32, 0x24, 0x9e, 0xd1, 0x92, 0x33, 0xb2, 0x4d, 0x10, 0xfc, 0xb1, 0x9c, 0xb6, 0x80,
  1872  	0x2c, 0xce, 0x79, 0x0c, 0xf3, 0xa2, 0x95, 0xcf, 0x15, 0xed, 0x7d, 0xd8, 0xb0, 0xc5, 0xea, 0x85,
  1873  	0x54, 0xf2, 0x35, 0x7b, 0x41, 0x35, 0x7f, 0x4e, 0x0e, 0xbf, 0x33, 0x09, 0xd6, 0x2e, 0x94, 0xc0,
  1874  	0x04, 0xcd, 0xa0, 0x23, 0xd6, 0xac, 0xb4, 0xd5, 0x9d, 0x5a, 0xef, 0xde, 0x9b, 0x59, 0x6b, 0x4f,
  1875  	0x9a, 0x8c, 0x9e, 0xc5, 0x23, 0xe7, 0x55, 0x10, 0x39, 0x63, 0xc7, 0x4f, 0x17, 0x3e, 0xed, 0x86,
  1876  	0x2f, 0xc7, 0xdd, 0xef, 0xbd, 0xae, 0x28, 0xbe, 0x43, 0x6b, 0xe0, 0x52, 0x83, 0x8e, 0x9e, 0xf4,
  1877  	0x4c, 0xf4, 0xb5, 0xd8, 0x88, 0xcb, 0x24, 0x4c, 0x60, 0xee, 0x63, 0x23, 0xa6, 0x00, 0xb6, 0x42,
  1878  	0x71, 0xe5, 0x1a, 0x4e, 0x72, 0x70, 0x49, 0xc3, 0x4d, 0xd3, 0x86, 0xfb, 0xef, 0xeb, 0x39, 0x6b,
  1879  	0xbe, 0x15, 0xf4, 0xb9, 0x8b, 0xfa, 0xa4, 0x82, 0xa3, 0x3e, 0x6d, 0x58, 0xc7, 0x75, 0x01, 0x95,
  1880  	0x9a, 0x05, 0xd4, 0x45, 0x65, 0x24, 0x28, 0x0b, 0xb3, 0xe4, 0x2b, 0x6f, 0x3d, 0xf9, 0x0d, 0xa8,
  1881  	0x3e, 0x8f, 0x1c, 0x8e, 0x03, 0x45, 0x98, 0xbe, 0x86, 0xcd, 0x47, 0xf4, 0x28, 0x21, 0xc5, 0x69,
  1882  	0xb4, 0x14, 0x77, 0xa2, 0x83, 0xf6, 0xe5, 0xab, 0x30, 0x12, 0x2f, 0x04, 0x74, 0xf0, 0x19, 0x8e,
  1883  	0x2d, 0x26, 0xda, 0x85, 0xeb, 0x4f, 0xa1, 0x9e, 0x77, 0xcd, 0x42, 0xa2, 0x43, 0x25, 0xfe, 0x2e,
  1884  	0xb8, 0x16, 0x56, 0x81, 0x7c, 0x08, 0xeb, 0x26, 0xb5, 0xec, 0x98, 0xcc, 0x25, 0x00, 0xb2, 0x05,
  1885  	0xef, 0x1c, 0x04, 0x6e, 0x52, 0x49, 0x65, 0xac, 0xa4, 0x6c, 0x2d, 0x9c, 0x11, 0x80, 0x34, 0xa3,
  1886  	0x59, 0xd4, 0x9f, 0x41, 0xe3, 0x01, 0xe5, 0x4f, 0x22, 0xc7, 0xb3, 0xa2, 0xe9, 0x43, 0x3a, 0x5d,
  1887  	0x29, 0x67, 0x01, 0x90, 0x45, 0x30, 0x0b, 0xc9, 0x53, 0x58, 0xdb, 0xe7, 0x3c, 0x4a, 0xd3, 0xf6,
  1888  	0xc5, 0x9b, 0x59, 0xeb, 0xee, 0xaa, 0x69, 0x8b, 0x1d, 0x38, 0x83, 0x09, 0xa7, 0x66, 0xe2, 0x2b,
  1889  	0xab, 0xaf, 0xc6, 0x81, 0x1b, 0x30, 0x9a, 0xcb, 0xd2, 0x72, 0x4a, 0x6e, 0x01, 0x59, 0x84, 0x66,
  1890  	0x22, 0xec, 0x61, 0xed, 0x7d, 0xe5, 0xd8, 0x36, 0xf5, 0x57, 0xd5, 0xc0, 0x47, 0x01, 0x65, 0xec,
  1891  	0xd5, 0x4a, 0xf0, 0x09, 0x6c, 0x20, 0x81, 0xa7, 0xdc, 0xe2, 0x2b, 0x11, 0xbd, 0x03, 0xd7, 0x65,
  1892  	0x20, 0x0b, 0xc9, 0x7b, 0xa0, 0x99, 0xc1, 0x11, 0x43, 0x98, 0xda, 0x5b, 0x3f, 0x9b, 0xb5, 0x54,
  1893  	0xc7, 0xe7, 0x26, 0x1a, 0x05, 0xe8, 0x73, 0xcc, 0x30, 0xe2, 0x0e, 0x02, 0x77, 0xe2, 0xf9, 0x2b,
  1894  	0x5d, 0x19, 0xc2, 0x8d, 0x02, 0xfa, 0x6a, 0xd5, 0xf9, 0x4d, 0x81, 0x1b, 0x87, 0xd1, 0xc4, 0x1f,
  1895  	0x5a, 0x85, 0x91, 0x99, 0x75, 0x60, 0x61, 0x64, 0xce, 0x77, 0xe2, 0x73, 0x8f, 0x5d, 0x3b, 0x3d,
  1896  	0xb7, 0xf0, 0xea, 0xcd, 0x77, 0x16, 0x46, 0xb0, 0xba, 0xf4, 0x08, 0xd6, 0x2e, 0x18, 0xc1, 0x6b,
  1897  	0x85, 0x11, 0xfc, 0x31, 0xdc, 0x2c, 0x06, 0x73, 0xe9, 0x10, 0x3e, 0x56, 0xe0, 0xfa, 0xbe, 0x6d,
  1898  	0xa7, 0x93, 0x6f, 0xb9, 0x41, 0xb6, 0xcc, 0x5b, 0x71, 0x1b, 0xaa, 0x78, 0x5c, 0x7a, 0x30, 0xe6,
  1899  	0x06, 0x72, 0x08, 0xaa, 0x41, 0x47, 0x18, 0x61, 0xad, 0xd7, 0x8b, 0x7f, 0xe5, 0xfd, 0xcb, 0x79,
  1900  	0x1d, 0xbb, 0x13, 0x21, 0xbd, 0x0b, 0x9b, 0xb9, 0x88, 0xb2, 0xce, 0x8d, 0x63, 0x35, 0xa8, 0xfb,
  1901  	0x3f, 0x8b, 0x35, 0x17, 0x51, 0x16, 0x2b, 0x01, 0x78, 0x16, 0xda, 0x96, 0x3c, 0xbe, 0x7b, 0xed,
  1902  	0xe3, 0x3f, 0xf5, 0xd2, 0xeb, 0x13, 0x5d, 0x39, 0x3e, 0xd1, 0x95, 0x3f, 0x4e, 0xf4, 0xd2, 0x4f,
  1903  	0xa7, 0x7a, 0xe9, 0x97, 0x53, 0x5d, 0x39, 0x3e, 0xd5, 0x4b, 0xbf, 0x9f, 0xea, 0xa5, 0x41, 0x05,
  1904  	0xff, 0x14, 0xde, 0xf9, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x9c, 0x6a, 0x97, 0xdf, 0x71, 0x0e, 0x00,
  1905  	0x00,
  1906  }
  1907  
  1908  func (m *AccessInfo) Marshal() (dAtA []byte, err error) {
  1909  	size := m.ProtoSize()
  1910  	dAtA = make([]byte, size)
  1911  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1912  	if err != nil {
  1913  		return nil, err
  1914  	}
  1915  	return dAtA[:n], nil
  1916  }
  1917  
  1918  func (m *AccessInfo) MarshalTo(dAtA []byte) (int, error) {
  1919  	size := m.ProtoSize()
  1920  	return m.MarshalToSizedBuffer(dAtA[:size])
  1921  }
  1922  
  1923  func (m *AccessInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1924  	i := len(dAtA)
  1925  	_ = i
  1926  	var l int
  1927  	_ = l
  1928  	if m.RoleID != 0 {
  1929  		i = encodeVarintOperations(dAtA, i, uint64(m.RoleID))
  1930  		i--
  1931  		dAtA[i] = 0x18
  1932  	}
  1933  	if m.UserID != 0 {
  1934  		i = encodeVarintOperations(dAtA, i, uint64(m.UserID))
  1935  		i--
  1936  		dAtA[i] = 0x10
  1937  	}
  1938  	if m.AccountID != 0 {
  1939  		i = encodeVarintOperations(dAtA, i, uint64(m.AccountID))
  1940  		i--
  1941  		dAtA[i] = 0x8
  1942  	}
  1943  	return len(dAtA) - i, nil
  1944  }
  1945  
  1946  func (m *OpenDatabaseReq) Marshal() (dAtA []byte, err error) {
  1947  	size := m.ProtoSize()
  1948  	dAtA = make([]byte, size)
  1949  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1950  	if err != nil {
  1951  		return nil, err
  1952  	}
  1953  	return dAtA[:n], nil
  1954  }
  1955  
  1956  func (m *OpenDatabaseReq) MarshalTo(dAtA []byte) (int, error) {
  1957  	size := m.ProtoSize()
  1958  	return m.MarshalToSizedBuffer(dAtA[:size])
  1959  }
  1960  
  1961  func (m *OpenDatabaseReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1962  	i := len(dAtA)
  1963  	_ = i
  1964  	var l int
  1965  	_ = l
  1966  	if len(m.Name) > 0 {
  1967  		i -= len(m.Name)
  1968  		copy(dAtA[i:], m.Name)
  1969  		i = encodeVarintOperations(dAtA, i, uint64(len(m.Name)))
  1970  		i--
  1971  		dAtA[i] = 0x12
  1972  	}
  1973  	{
  1974  		size, err := m.AccessInfo.MarshalToSizedBuffer(dAtA[:i])
  1975  		if err != nil {
  1976  			return 0, err
  1977  		}
  1978  		i -= size
  1979  		i = encodeVarintOperations(dAtA, i, uint64(size))
  1980  	}
  1981  	i--
  1982  	dAtA[i] = 0xa
  1983  	return len(dAtA) - i, nil
  1984  }
  1985  
  1986  func (m *OpenDatabaseResp) Marshal() (dAtA []byte, err error) {
  1987  	size := m.ProtoSize()
  1988  	dAtA = make([]byte, size)
  1989  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1990  	if err != nil {
  1991  		return nil, err
  1992  	}
  1993  	return dAtA[:n], nil
  1994  }
  1995  
  1996  func (m *OpenDatabaseResp) MarshalTo(dAtA []byte) (int, error) {
  1997  	size := m.ProtoSize()
  1998  	return m.MarshalToSizedBuffer(dAtA[:size])
  1999  }
  2000  
  2001  func (m *OpenDatabaseResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2002  	i := len(dAtA)
  2003  	_ = i
  2004  	var l int
  2005  	_ = l
  2006  	if len(m.Name) > 0 {
  2007  		i -= len(m.Name)
  2008  		copy(dAtA[i:], m.Name)
  2009  		i = encodeVarintOperations(dAtA, i, uint64(len(m.Name)))
  2010  		i--
  2011  		dAtA[i] = 0x12
  2012  	}
  2013  	if m.ID != 0 {
  2014  		i = encodeVarintOperations(dAtA, i, uint64(m.ID))
  2015  		i--
  2016  		dAtA[i] = 0x8
  2017  	}
  2018  	return len(dAtA) - i, nil
  2019  }
  2020  
  2021  func (m *CreateDatabaseReq) Marshal() (dAtA []byte, err error) {
  2022  	size := m.ProtoSize()
  2023  	dAtA = make([]byte, size)
  2024  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2025  	if err != nil {
  2026  		return nil, err
  2027  	}
  2028  	return dAtA[:n], nil
  2029  }
  2030  
  2031  func (m *CreateDatabaseReq) MarshalTo(dAtA []byte) (int, error) {
  2032  	size := m.ProtoSize()
  2033  	return m.MarshalToSizedBuffer(dAtA[:size])
  2034  }
  2035  
  2036  func (m *CreateDatabaseReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2037  	i := len(dAtA)
  2038  	_ = i
  2039  	var l int
  2040  	_ = l
  2041  	if len(m.Name) > 0 {
  2042  		i -= len(m.Name)
  2043  		copy(dAtA[i:], m.Name)
  2044  		i = encodeVarintOperations(dAtA, i, uint64(len(m.Name)))
  2045  		i--
  2046  		dAtA[i] = 0x1a
  2047  	}
  2048  	{
  2049  		size, err := m.AccessInfo.MarshalToSizedBuffer(dAtA[:i])
  2050  		if err != nil {
  2051  			return 0, err
  2052  		}
  2053  		i -= size
  2054  		i = encodeVarintOperations(dAtA, i, uint64(size))
  2055  	}
  2056  	i--
  2057  	dAtA[i] = 0x12
  2058  	if m.ID != 0 {
  2059  		i = encodeVarintOperations(dAtA, i, uint64(m.ID))
  2060  		i--
  2061  		dAtA[i] = 0x8
  2062  	}
  2063  	return len(dAtA) - i, nil
  2064  }
  2065  
  2066  func (m *CreateDatabaseResp) Marshal() (dAtA []byte, err error) {
  2067  	size := m.ProtoSize()
  2068  	dAtA = make([]byte, size)
  2069  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2070  	if err != nil {
  2071  		return nil, err
  2072  	}
  2073  	return dAtA[:n], nil
  2074  }
  2075  
  2076  func (m *CreateDatabaseResp) MarshalTo(dAtA []byte) (int, error) {
  2077  	size := m.ProtoSize()
  2078  	return m.MarshalToSizedBuffer(dAtA[:size])
  2079  }
  2080  
  2081  func (m *CreateDatabaseResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2082  	i := len(dAtA)
  2083  	_ = i
  2084  	var l int
  2085  	_ = l
  2086  	if m.ID != 0 {
  2087  		i = encodeVarintOperations(dAtA, i, uint64(m.ID))
  2088  		i--
  2089  		dAtA[i] = 0x8
  2090  	}
  2091  	return len(dAtA) - i, nil
  2092  }
  2093  
  2094  func (m *GetDatabasesReq) Marshal() (dAtA []byte, err error) {
  2095  	size := m.ProtoSize()
  2096  	dAtA = make([]byte, size)
  2097  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2098  	if err != nil {
  2099  		return nil, err
  2100  	}
  2101  	return dAtA[:n], nil
  2102  }
  2103  
  2104  func (m *GetDatabasesReq) MarshalTo(dAtA []byte) (int, error) {
  2105  	size := m.ProtoSize()
  2106  	return m.MarshalToSizedBuffer(dAtA[:size])
  2107  }
  2108  
  2109  func (m *GetDatabasesReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2110  	i := len(dAtA)
  2111  	_ = i
  2112  	var l int
  2113  	_ = l
  2114  	{
  2115  		size, err := m.AccessInfo.MarshalToSizedBuffer(dAtA[:i])
  2116  		if err != nil {
  2117  			return 0, err
  2118  		}
  2119  		i -= size
  2120  		i = encodeVarintOperations(dAtA, i, uint64(size))
  2121  	}
  2122  	i--
  2123  	dAtA[i] = 0xa
  2124  	return len(dAtA) - i, nil
  2125  }
  2126  
  2127  func (m *GetDatabasesResp) Marshal() (dAtA []byte, err error) {
  2128  	size := m.ProtoSize()
  2129  	dAtA = make([]byte, size)
  2130  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2131  	if err != nil {
  2132  		return nil, err
  2133  	}
  2134  	return dAtA[:n], nil
  2135  }
  2136  
  2137  func (m *GetDatabasesResp) MarshalTo(dAtA []byte) (int, error) {
  2138  	size := m.ProtoSize()
  2139  	return m.MarshalToSizedBuffer(dAtA[:size])
  2140  }
  2141  
  2142  func (m *GetDatabasesResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2143  	i := len(dAtA)
  2144  	_ = i
  2145  	var l int
  2146  	_ = l
  2147  	if len(m.Names) > 0 {
  2148  		for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- {
  2149  			i -= len(m.Names[iNdEx])
  2150  			copy(dAtA[i:], m.Names[iNdEx])
  2151  			i = encodeVarintOperations(dAtA, i, uint64(len(m.Names[iNdEx])))
  2152  			i--
  2153  			dAtA[i] = 0xa
  2154  		}
  2155  	}
  2156  	return len(dAtA) - i, nil
  2157  }
  2158  
  2159  func (m *DeleteDatabaseReq) Marshal() (dAtA []byte, err error) {
  2160  	size := m.ProtoSize()
  2161  	dAtA = make([]byte, size)
  2162  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2163  	if err != nil {
  2164  		return nil, err
  2165  	}
  2166  	return dAtA[:n], nil
  2167  }
  2168  
  2169  func (m *DeleteDatabaseReq) MarshalTo(dAtA []byte) (int, error) {
  2170  	size := m.ProtoSize()
  2171  	return m.MarshalToSizedBuffer(dAtA[:size])
  2172  }
  2173  
  2174  func (m *DeleteDatabaseReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2175  	i := len(dAtA)
  2176  	_ = i
  2177  	var l int
  2178  	_ = l
  2179  	if len(m.Name) > 0 {
  2180  		i -= len(m.Name)
  2181  		copy(dAtA[i:], m.Name)
  2182  		i = encodeVarintOperations(dAtA, i, uint64(len(m.Name)))
  2183  		i--
  2184  		dAtA[i] = 0x12
  2185  	}
  2186  	{
  2187  		size, err := m.AccessInfo.MarshalToSizedBuffer(dAtA[:i])
  2188  		if err != nil {
  2189  			return 0, err
  2190  		}
  2191  		i -= size
  2192  		i = encodeVarintOperations(dAtA, i, uint64(size))
  2193  	}
  2194  	i--
  2195  	dAtA[i] = 0xa
  2196  	return len(dAtA) - i, nil
  2197  }
  2198  
  2199  func (m *DeleteDatabaseResp) Marshal() (dAtA []byte, err error) {
  2200  	size := m.ProtoSize()
  2201  	dAtA = make([]byte, size)
  2202  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2203  	if err != nil {
  2204  		return nil, err
  2205  	}
  2206  	return dAtA[:n], nil
  2207  }
  2208  
  2209  func (m *DeleteDatabaseResp) MarshalTo(dAtA []byte) (int, error) {
  2210  	size := m.ProtoSize()
  2211  	return m.MarshalToSizedBuffer(dAtA[:size])
  2212  }
  2213  
  2214  func (m *DeleteDatabaseResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2215  	i := len(dAtA)
  2216  	_ = i
  2217  	var l int
  2218  	_ = l
  2219  	if m.ID != 0 {
  2220  		i = encodeVarintOperations(dAtA, i, uint64(m.ID))
  2221  		i--
  2222  		dAtA[i] = 0x8
  2223  	}
  2224  	return len(dAtA) - i, nil
  2225  }
  2226  
  2227  func (m *OpenRelationReq) Marshal() (dAtA []byte, err error) {
  2228  	size := m.ProtoSize()
  2229  	dAtA = make([]byte, size)
  2230  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2231  	if err != nil {
  2232  		return nil, err
  2233  	}
  2234  	return dAtA[:n], nil
  2235  }
  2236  
  2237  func (m *OpenRelationReq) MarshalTo(dAtA []byte) (int, error) {
  2238  	size := m.ProtoSize()
  2239  	return m.MarshalToSizedBuffer(dAtA[:size])
  2240  }
  2241  
  2242  func (m *OpenRelationReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2243  	i := len(dAtA)
  2244  	_ = i
  2245  	var l int
  2246  	_ = l
  2247  	if len(m.Name) > 0 {
  2248  		i -= len(m.Name)
  2249  		copy(dAtA[i:], m.Name)
  2250  		i = encodeVarintOperations(dAtA, i, uint64(len(m.Name)))
  2251  		i--
  2252  		dAtA[i] = 0x1a
  2253  	}
  2254  	if len(m.DatabaseName) > 0 {
  2255  		i -= len(m.DatabaseName)
  2256  		copy(dAtA[i:], m.DatabaseName)
  2257  		i = encodeVarintOperations(dAtA, i, uint64(len(m.DatabaseName)))
  2258  		i--
  2259  		dAtA[i] = 0x12
  2260  	}
  2261  	if m.DatabaseID != 0 {
  2262  		i = encodeVarintOperations(dAtA, i, uint64(m.DatabaseID))
  2263  		i--
  2264  		dAtA[i] = 0x8
  2265  	}
  2266  	return len(dAtA) - i, nil
  2267  }
  2268  
  2269  func (m *OpenRelationResp) Marshal() (dAtA []byte, err error) {
  2270  	size := m.ProtoSize()
  2271  	dAtA = make([]byte, size)
  2272  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2273  	if err != nil {
  2274  		return nil, err
  2275  	}
  2276  	return dAtA[:n], nil
  2277  }
  2278  
  2279  func (m *OpenRelationResp) MarshalTo(dAtA []byte) (int, error) {
  2280  	size := m.ProtoSize()
  2281  	return m.MarshalToSizedBuffer(dAtA[:size])
  2282  }
  2283  
  2284  func (m *OpenRelationResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2285  	i := len(dAtA)
  2286  	_ = i
  2287  	var l int
  2288  	_ = l
  2289  	if len(m.RelationName) > 0 {
  2290  		i -= len(m.RelationName)
  2291  		copy(dAtA[i:], m.RelationName)
  2292  		i = encodeVarintOperations(dAtA, i, uint64(len(m.RelationName)))
  2293  		i--
  2294  		dAtA[i] = 0x22
  2295  	}
  2296  	if len(m.DatabaseName) > 0 {
  2297  		i -= len(m.DatabaseName)
  2298  		copy(dAtA[i:], m.DatabaseName)
  2299  		i = encodeVarintOperations(dAtA, i, uint64(len(m.DatabaseName)))
  2300  		i--
  2301  		dAtA[i] = 0x1a
  2302  	}
  2303  	if m.Type != 0 {
  2304  		i = encodeVarintOperations(dAtA, i, uint64(m.Type))
  2305  		i--
  2306  		dAtA[i] = 0x10
  2307  	}
  2308  	if m.ID != 0 {
  2309  		i = encodeVarintOperations(dAtA, i, uint64(m.ID))
  2310  		i--
  2311  		dAtA[i] = 0x8
  2312  	}
  2313  	return len(dAtA) - i, nil
  2314  }
  2315  
  2316  func (m *CreateRelationReq) Marshal() (dAtA []byte, err error) {
  2317  	size := m.ProtoSize()
  2318  	dAtA = make([]byte, size)
  2319  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2320  	if err != nil {
  2321  		return nil, err
  2322  	}
  2323  	return dAtA[:n], nil
  2324  }
  2325  
  2326  func (m *CreateRelationReq) MarshalTo(dAtA []byte) (int, error) {
  2327  	size := m.ProtoSize()
  2328  	return m.MarshalToSizedBuffer(dAtA[:size])
  2329  }
  2330  
  2331  func (m *CreateRelationReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2332  	i := len(dAtA)
  2333  	_ = i
  2334  	var l int
  2335  	_ = l
  2336  	if len(m.Defs) > 0 {
  2337  		for iNdEx := len(m.Defs) - 1; iNdEx >= 0; iNdEx-- {
  2338  			{
  2339  				size := m.Defs[iNdEx].ProtoSize()
  2340  				i -= size
  2341  				if _, err := m.Defs[iNdEx].MarshalTo(dAtA[i:]); err != nil {
  2342  					return 0, err
  2343  				}
  2344  				i = encodeVarintOperations(dAtA, i, uint64(size))
  2345  			}
  2346  			i--
  2347  			dAtA[i] = 0x32
  2348  		}
  2349  	}
  2350  	if m.Type != 0 {
  2351  		i = encodeVarintOperations(dAtA, i, uint64(m.Type))
  2352  		i--
  2353  		dAtA[i] = 0x28
  2354  	}
  2355  	if len(m.Name) > 0 {
  2356  		i -= len(m.Name)
  2357  		copy(dAtA[i:], m.Name)
  2358  		i = encodeVarintOperations(dAtA, i, uint64(len(m.Name)))
  2359  		i--
  2360  		dAtA[i] = 0x22
  2361  	}
  2362  	if len(m.DatabaseName) > 0 {
  2363  		i -= len(m.DatabaseName)
  2364  		copy(dAtA[i:], m.DatabaseName)
  2365  		i = encodeVarintOperations(dAtA, i, uint64(len(m.DatabaseName)))
  2366  		i--
  2367  		dAtA[i] = 0x1a
  2368  	}
  2369  	if m.DatabaseID != 0 {
  2370  		i = encodeVarintOperations(dAtA, i, uint64(m.DatabaseID))
  2371  		i--
  2372  		dAtA[i] = 0x10
  2373  	}
  2374  	if m.ID != 0 {
  2375  		i = encodeVarintOperations(dAtA, i, uint64(m.ID))
  2376  		i--
  2377  		dAtA[i] = 0x8
  2378  	}
  2379  	return len(dAtA) - i, nil
  2380  }
  2381  
  2382  func (m *CreateRelationResp) Marshal() (dAtA []byte, err error) {
  2383  	size := m.ProtoSize()
  2384  	dAtA = make([]byte, size)
  2385  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2386  	if err != nil {
  2387  		return nil, err
  2388  	}
  2389  	return dAtA[:n], nil
  2390  }
  2391  
  2392  func (m *CreateRelationResp) MarshalTo(dAtA []byte) (int, error) {
  2393  	size := m.ProtoSize()
  2394  	return m.MarshalToSizedBuffer(dAtA[:size])
  2395  }
  2396  
  2397  func (m *CreateRelationResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2398  	i := len(dAtA)
  2399  	_ = i
  2400  	var l int
  2401  	_ = l
  2402  	if m.ID != 0 {
  2403  		i = encodeVarintOperations(dAtA, i, uint64(m.ID))
  2404  		i--
  2405  		dAtA[i] = 0x8
  2406  	}
  2407  	return len(dAtA) - i, nil
  2408  }
  2409  
  2410  func (m *GetRelationsReq) Marshal() (dAtA []byte, err error) {
  2411  	size := m.ProtoSize()
  2412  	dAtA = make([]byte, size)
  2413  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2414  	if err != nil {
  2415  		return nil, err
  2416  	}
  2417  	return dAtA[:n], nil
  2418  }
  2419  
  2420  func (m *GetRelationsReq) MarshalTo(dAtA []byte) (int, error) {
  2421  	size := m.ProtoSize()
  2422  	return m.MarshalToSizedBuffer(dAtA[:size])
  2423  }
  2424  
  2425  func (m *GetRelationsReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2426  	i := len(dAtA)
  2427  	_ = i
  2428  	var l int
  2429  	_ = l
  2430  	if m.DatabaseID != 0 {
  2431  		i = encodeVarintOperations(dAtA, i, uint64(m.DatabaseID))
  2432  		i--
  2433  		dAtA[i] = 0x8
  2434  	}
  2435  	return len(dAtA) - i, nil
  2436  }
  2437  
  2438  func (m *GetRelationsResp) Marshal() (dAtA []byte, err error) {
  2439  	size := m.ProtoSize()
  2440  	dAtA = make([]byte, size)
  2441  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2442  	if err != nil {
  2443  		return nil, err
  2444  	}
  2445  	return dAtA[:n], nil
  2446  }
  2447  
  2448  func (m *GetRelationsResp) MarshalTo(dAtA []byte) (int, error) {
  2449  	size := m.ProtoSize()
  2450  	return m.MarshalToSizedBuffer(dAtA[:size])
  2451  }
  2452  
  2453  func (m *GetRelationsResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2454  	i := len(dAtA)
  2455  	_ = i
  2456  	var l int
  2457  	_ = l
  2458  	if len(m.Names) > 0 {
  2459  		for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- {
  2460  			i -= len(m.Names[iNdEx])
  2461  			copy(dAtA[i:], m.Names[iNdEx])
  2462  			i = encodeVarintOperations(dAtA, i, uint64(len(m.Names[iNdEx])))
  2463  			i--
  2464  			dAtA[i] = 0xa
  2465  		}
  2466  	}
  2467  	return len(dAtA) - i, nil
  2468  }
  2469  
  2470  func (m *DeleteRelationReq) Marshal() (dAtA []byte, err error) {
  2471  	size := m.ProtoSize()
  2472  	dAtA = make([]byte, size)
  2473  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2474  	if err != nil {
  2475  		return nil, err
  2476  	}
  2477  	return dAtA[:n], nil
  2478  }
  2479  
  2480  func (m *DeleteRelationReq) MarshalTo(dAtA []byte) (int, error) {
  2481  	size := m.ProtoSize()
  2482  	return m.MarshalToSizedBuffer(dAtA[:size])
  2483  }
  2484  
  2485  func (m *DeleteRelationReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2486  	i := len(dAtA)
  2487  	_ = i
  2488  	var l int
  2489  	_ = l
  2490  	if len(m.Name) > 0 {
  2491  		i -= len(m.Name)
  2492  		copy(dAtA[i:], m.Name)
  2493  		i = encodeVarintOperations(dAtA, i, uint64(len(m.Name)))
  2494  		i--
  2495  		dAtA[i] = 0x1a
  2496  	}
  2497  	if len(m.DatabaseName) > 0 {
  2498  		i -= len(m.DatabaseName)
  2499  		copy(dAtA[i:], m.DatabaseName)
  2500  		i = encodeVarintOperations(dAtA, i, uint64(len(m.DatabaseName)))
  2501  		i--
  2502  		dAtA[i] = 0x12
  2503  	}
  2504  	if m.DatabaseID != 0 {
  2505  		i = encodeVarintOperations(dAtA, i, uint64(m.DatabaseID))
  2506  		i--
  2507  		dAtA[i] = 0x8
  2508  	}
  2509  	return len(dAtA) - i, nil
  2510  }
  2511  
  2512  func (m *DeleteRelationResp) Marshal() (dAtA []byte, err error) {
  2513  	size := m.ProtoSize()
  2514  	dAtA = make([]byte, size)
  2515  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2516  	if err != nil {
  2517  		return nil, err
  2518  	}
  2519  	return dAtA[:n], nil
  2520  }
  2521  
  2522  func (m *DeleteRelationResp) MarshalTo(dAtA []byte) (int, error) {
  2523  	size := m.ProtoSize()
  2524  	return m.MarshalToSizedBuffer(dAtA[:size])
  2525  }
  2526  
  2527  func (m *DeleteRelationResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2528  	i := len(dAtA)
  2529  	_ = i
  2530  	var l int
  2531  	_ = l
  2532  	if m.ID != 0 {
  2533  		i = encodeVarintOperations(dAtA, i, uint64(m.ID))
  2534  		i--
  2535  		dAtA[i] = 0x8
  2536  	}
  2537  	return len(dAtA) - i, nil
  2538  }
  2539  
  2540  func (m *GetTableDefsReq) Marshal() (dAtA []byte, err error) {
  2541  	size := m.ProtoSize()
  2542  	dAtA = make([]byte, size)
  2543  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2544  	if err != nil {
  2545  		return nil, err
  2546  	}
  2547  	return dAtA[:n], nil
  2548  }
  2549  
  2550  func (m *GetTableDefsReq) MarshalTo(dAtA []byte) (int, error) {
  2551  	size := m.ProtoSize()
  2552  	return m.MarshalToSizedBuffer(dAtA[:size])
  2553  }
  2554  
  2555  func (m *GetTableDefsReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2556  	i := len(dAtA)
  2557  	_ = i
  2558  	var l int
  2559  	_ = l
  2560  	if m.TableID != 0 {
  2561  		i = encodeVarintOperations(dAtA, i, uint64(m.TableID))
  2562  		i--
  2563  		dAtA[i] = 0x8
  2564  	}
  2565  	return len(dAtA) - i, nil
  2566  }
  2567  
  2568  func (m *GetTableDefsResp) Marshal() (dAtA []byte, err error) {
  2569  	size := m.ProtoSize()
  2570  	dAtA = make([]byte, size)
  2571  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2572  	if err != nil {
  2573  		return nil, err
  2574  	}
  2575  	return dAtA[:n], nil
  2576  }
  2577  
  2578  func (m *GetTableDefsResp) MarshalTo(dAtA []byte) (int, error) {
  2579  	size := m.ProtoSize()
  2580  	return m.MarshalToSizedBuffer(dAtA[:size])
  2581  }
  2582  
  2583  func (m *GetTableDefsResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2584  	i := len(dAtA)
  2585  	_ = i
  2586  	var l int
  2587  	_ = l
  2588  	if len(m.Defs) > 0 {
  2589  		for iNdEx := len(m.Defs) - 1; iNdEx >= 0; iNdEx-- {
  2590  			{
  2591  				size := m.Defs[iNdEx].ProtoSize()
  2592  				i -= size
  2593  				if _, err := m.Defs[iNdEx].MarshalTo(dAtA[i:]); err != nil {
  2594  					return 0, err
  2595  				}
  2596  				i = encodeVarintOperations(dAtA, i, uint64(size))
  2597  			}
  2598  			i--
  2599  			dAtA[i] = 0xa
  2600  		}
  2601  	}
  2602  	return len(dAtA) - i, nil
  2603  }
  2604  
  2605  func (m *WriteResp) Marshal() (dAtA []byte, err error) {
  2606  	size := m.ProtoSize()
  2607  	dAtA = make([]byte, size)
  2608  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2609  	if err != nil {
  2610  		return nil, err
  2611  	}
  2612  	return dAtA[:n], nil
  2613  }
  2614  
  2615  func (m *WriteResp) MarshalTo(dAtA []byte) (int, error) {
  2616  	size := m.ProtoSize()
  2617  	return m.MarshalToSizedBuffer(dAtA[:size])
  2618  }
  2619  
  2620  func (m *WriteResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2621  	i := len(dAtA)
  2622  	_ = i
  2623  	var l int
  2624  	_ = l
  2625  	return len(dAtA) - i, nil
  2626  }
  2627  
  2628  func (m *NewTableIterReq) Marshal() (dAtA []byte, err error) {
  2629  	size := m.ProtoSize()
  2630  	dAtA = make([]byte, size)
  2631  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2632  	if err != nil {
  2633  		return nil, err
  2634  	}
  2635  	return dAtA[:n], nil
  2636  }
  2637  
  2638  func (m *NewTableIterReq) MarshalTo(dAtA []byte) (int, error) {
  2639  	size := m.ProtoSize()
  2640  	return m.MarshalToSizedBuffer(dAtA[:size])
  2641  }
  2642  
  2643  func (m *NewTableIterReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2644  	i := len(dAtA)
  2645  	_ = i
  2646  	var l int
  2647  	_ = l
  2648  	if m.Expr != nil {
  2649  		{
  2650  			size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i])
  2651  			if err != nil {
  2652  				return 0, err
  2653  			}
  2654  			i -= size
  2655  			i = encodeVarintOperations(dAtA, i, uint64(size))
  2656  		}
  2657  		i--
  2658  		dAtA[i] = 0x12
  2659  	}
  2660  	if m.TableID != 0 {
  2661  		i = encodeVarintOperations(dAtA, i, uint64(m.TableID))
  2662  		i--
  2663  		dAtA[i] = 0x8
  2664  	}
  2665  	return len(dAtA) - i, nil
  2666  }
  2667  
  2668  func (m *NewTableIterResp) Marshal() (dAtA []byte, err error) {
  2669  	size := m.ProtoSize()
  2670  	dAtA = make([]byte, size)
  2671  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2672  	if err != nil {
  2673  		return nil, err
  2674  	}
  2675  	return dAtA[:n], nil
  2676  }
  2677  
  2678  func (m *NewTableIterResp) MarshalTo(dAtA []byte) (int, error) {
  2679  	size := m.ProtoSize()
  2680  	return m.MarshalToSizedBuffer(dAtA[:size])
  2681  }
  2682  
  2683  func (m *NewTableIterResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2684  	i := len(dAtA)
  2685  	_ = i
  2686  	var l int
  2687  	_ = l
  2688  	if m.IterID != 0 {
  2689  		i = encodeVarintOperations(dAtA, i, uint64(m.IterID))
  2690  		i--
  2691  		dAtA[i] = 0x8
  2692  	}
  2693  	return len(dAtA) - i, nil
  2694  }
  2695  
  2696  func (m *ReadReq) Marshal() (dAtA []byte, err error) {
  2697  	size := m.ProtoSize()
  2698  	dAtA = make([]byte, size)
  2699  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2700  	if err != nil {
  2701  		return nil, err
  2702  	}
  2703  	return dAtA[:n], nil
  2704  }
  2705  
  2706  func (m *ReadReq) MarshalTo(dAtA []byte) (int, error) {
  2707  	size := m.ProtoSize()
  2708  	return m.MarshalToSizedBuffer(dAtA[:size])
  2709  }
  2710  
  2711  func (m *ReadReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2712  	i := len(dAtA)
  2713  	_ = i
  2714  	var l int
  2715  	_ = l
  2716  	if len(m.ColNames) > 0 {
  2717  		for iNdEx := len(m.ColNames) - 1; iNdEx >= 0; iNdEx-- {
  2718  			i -= len(m.ColNames[iNdEx])
  2719  			copy(dAtA[i:], m.ColNames[iNdEx])
  2720  			i = encodeVarintOperations(dAtA, i, uint64(len(m.ColNames[iNdEx])))
  2721  			i--
  2722  			dAtA[i] = 0x12
  2723  		}
  2724  	}
  2725  	if m.IterID != 0 {
  2726  		i = encodeVarintOperations(dAtA, i, uint64(m.IterID))
  2727  		i--
  2728  		dAtA[i] = 0x8
  2729  	}
  2730  	return len(dAtA) - i, nil
  2731  }
  2732  
  2733  func (m *DeleteResp) Marshal() (dAtA []byte, err error) {
  2734  	size := m.ProtoSize()
  2735  	dAtA = make([]byte, size)
  2736  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2737  	if err != nil {
  2738  		return nil, err
  2739  	}
  2740  	return dAtA[:n], nil
  2741  }
  2742  
  2743  func (m *DeleteResp) MarshalTo(dAtA []byte) (int, error) {
  2744  	size := m.ProtoSize()
  2745  	return m.MarshalToSizedBuffer(dAtA[:size])
  2746  }
  2747  
  2748  func (m *DeleteResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2749  	i := len(dAtA)
  2750  	_ = i
  2751  	var l int
  2752  	_ = l
  2753  	return len(dAtA) - i, nil
  2754  }
  2755  
  2756  func (m *GetPrimaryKeysReq) Marshal() (dAtA []byte, err error) {
  2757  	size := m.ProtoSize()
  2758  	dAtA = make([]byte, size)
  2759  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2760  	if err != nil {
  2761  		return nil, err
  2762  	}
  2763  	return dAtA[:n], nil
  2764  }
  2765  
  2766  func (m *GetPrimaryKeysReq) MarshalTo(dAtA []byte) (int, error) {
  2767  	size := m.ProtoSize()
  2768  	return m.MarshalToSizedBuffer(dAtA[:size])
  2769  }
  2770  
  2771  func (m *GetPrimaryKeysReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2772  	i := len(dAtA)
  2773  	_ = i
  2774  	var l int
  2775  	_ = l
  2776  	if m.TableID != 0 {
  2777  		i = encodeVarintOperations(dAtA, i, uint64(m.TableID))
  2778  		i--
  2779  		dAtA[i] = 0x8
  2780  	}
  2781  	return len(dAtA) - i, nil
  2782  }
  2783  
  2784  func (m *GetPrimaryKeysResp) Marshal() (dAtA []byte, err error) {
  2785  	size := m.ProtoSize()
  2786  	dAtA = make([]byte, size)
  2787  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2788  	if err != nil {
  2789  		return nil, err
  2790  	}
  2791  	return dAtA[:n], nil
  2792  }
  2793  
  2794  func (m *GetPrimaryKeysResp) MarshalTo(dAtA []byte) (int, error) {
  2795  	size := m.ProtoSize()
  2796  	return m.MarshalToSizedBuffer(dAtA[:size])
  2797  }
  2798  
  2799  func (m *GetPrimaryKeysResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2800  	i := len(dAtA)
  2801  	_ = i
  2802  	var l int
  2803  	_ = l
  2804  	if len(m.Attrs) > 0 {
  2805  		for iNdEx := len(m.Attrs) - 1; iNdEx >= 0; iNdEx-- {
  2806  			{
  2807  				size := m.Attrs[iNdEx].ProtoSize()
  2808  				i -= size
  2809  				if _, err := m.Attrs[iNdEx].MarshalTo(dAtA[i:]); err != nil {
  2810  					return 0, err
  2811  				}
  2812  				i = encodeVarintOperations(dAtA, i, uint64(size))
  2813  			}
  2814  			i--
  2815  			dAtA[i] = 0xa
  2816  		}
  2817  	}
  2818  	return len(dAtA) - i, nil
  2819  }
  2820  
  2821  func (m *CloseTableIterReq) Marshal() (dAtA []byte, err error) {
  2822  	size := m.ProtoSize()
  2823  	dAtA = make([]byte, size)
  2824  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2825  	if err != nil {
  2826  		return nil, err
  2827  	}
  2828  	return dAtA[:n], nil
  2829  }
  2830  
  2831  func (m *CloseTableIterReq) MarshalTo(dAtA []byte) (int, error) {
  2832  	size := m.ProtoSize()
  2833  	return m.MarshalToSizedBuffer(dAtA[:size])
  2834  }
  2835  
  2836  func (m *CloseTableIterReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2837  	i := len(dAtA)
  2838  	_ = i
  2839  	var l int
  2840  	_ = l
  2841  	if m.IterID != 0 {
  2842  		i = encodeVarintOperations(dAtA, i, uint64(m.IterID))
  2843  		i--
  2844  		dAtA[i] = 0x8
  2845  	}
  2846  	return len(dAtA) - i, nil
  2847  }
  2848  
  2849  func (m *CloseTableIterResp) Marshal() (dAtA []byte, err error) {
  2850  	size := m.ProtoSize()
  2851  	dAtA = make([]byte, size)
  2852  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2853  	if err != nil {
  2854  		return nil, err
  2855  	}
  2856  	return dAtA[:n], nil
  2857  }
  2858  
  2859  func (m *CloseTableIterResp) MarshalTo(dAtA []byte) (int, error) {
  2860  	size := m.ProtoSize()
  2861  	return m.MarshalToSizedBuffer(dAtA[:size])
  2862  }
  2863  
  2864  func (m *CloseTableIterResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2865  	i := len(dAtA)
  2866  	_ = i
  2867  	var l int
  2868  	_ = l
  2869  	return len(dAtA) - i, nil
  2870  }
  2871  
  2872  func (m *GetHiddenKeysReq) Marshal() (dAtA []byte, err error) {
  2873  	size := m.ProtoSize()
  2874  	dAtA = make([]byte, size)
  2875  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2876  	if err != nil {
  2877  		return nil, err
  2878  	}
  2879  	return dAtA[:n], nil
  2880  }
  2881  
  2882  func (m *GetHiddenKeysReq) MarshalTo(dAtA []byte) (int, error) {
  2883  	size := m.ProtoSize()
  2884  	return m.MarshalToSizedBuffer(dAtA[:size])
  2885  }
  2886  
  2887  func (m *GetHiddenKeysReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2888  	i := len(dAtA)
  2889  	_ = i
  2890  	var l int
  2891  	_ = l
  2892  	if m.TableID != 0 {
  2893  		i = encodeVarintOperations(dAtA, i, uint64(m.TableID))
  2894  		i--
  2895  		dAtA[i] = 0x8
  2896  	}
  2897  	return len(dAtA) - i, nil
  2898  }
  2899  
  2900  func (m *GetHiddenKeysResp) Marshal() (dAtA []byte, err error) {
  2901  	size := m.ProtoSize()
  2902  	dAtA = make([]byte, size)
  2903  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2904  	if err != nil {
  2905  		return nil, err
  2906  	}
  2907  	return dAtA[:n], nil
  2908  }
  2909  
  2910  func (m *GetHiddenKeysResp) MarshalTo(dAtA []byte) (int, error) {
  2911  	size := m.ProtoSize()
  2912  	return m.MarshalToSizedBuffer(dAtA[:size])
  2913  }
  2914  
  2915  func (m *GetHiddenKeysResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2916  	i := len(dAtA)
  2917  	_ = i
  2918  	var l int
  2919  	_ = l
  2920  	if len(m.Attrs) > 0 {
  2921  		for iNdEx := len(m.Attrs) - 1; iNdEx >= 0; iNdEx-- {
  2922  			{
  2923  				size := m.Attrs[iNdEx].ProtoSize()
  2924  				i -= size
  2925  				if _, err := m.Attrs[iNdEx].MarshalTo(dAtA[i:]); err != nil {
  2926  					return 0, err
  2927  				}
  2928  				i = encodeVarintOperations(dAtA, i, uint64(size))
  2929  			}
  2930  			i--
  2931  			dAtA[i] = 0xa
  2932  		}
  2933  	}
  2934  	return len(dAtA) - i, nil
  2935  }
  2936  
  2937  func (m *TableStatsReq) Marshal() (dAtA []byte, err error) {
  2938  	size := m.ProtoSize()
  2939  	dAtA = make([]byte, size)
  2940  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2941  	if err != nil {
  2942  		return nil, err
  2943  	}
  2944  	return dAtA[:n], nil
  2945  }
  2946  
  2947  func (m *TableStatsReq) MarshalTo(dAtA []byte) (int, error) {
  2948  	size := m.ProtoSize()
  2949  	return m.MarshalToSizedBuffer(dAtA[:size])
  2950  }
  2951  
  2952  func (m *TableStatsReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2953  	i := len(dAtA)
  2954  	_ = i
  2955  	var l int
  2956  	_ = l
  2957  	if m.TableID != 0 {
  2958  		i = encodeVarintOperations(dAtA, i, uint64(m.TableID))
  2959  		i--
  2960  		dAtA[i] = 0x8
  2961  	}
  2962  	return len(dAtA) - i, nil
  2963  }
  2964  
  2965  func (m *TableStatsResp) Marshal() (dAtA []byte, err error) {
  2966  	size := m.ProtoSize()
  2967  	dAtA = make([]byte, size)
  2968  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2969  	if err != nil {
  2970  		return nil, err
  2971  	}
  2972  	return dAtA[:n], nil
  2973  }
  2974  
  2975  func (m *TableStatsResp) MarshalTo(dAtA []byte) (int, error) {
  2976  	size := m.ProtoSize()
  2977  	return m.MarshalToSizedBuffer(dAtA[:size])
  2978  }
  2979  
  2980  func (m *TableStatsResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2981  	i := len(dAtA)
  2982  	_ = i
  2983  	var l int
  2984  	_ = l
  2985  	if m.Rows != 0 {
  2986  		i = encodeVarintOperations(dAtA, i, uint64(m.Rows))
  2987  		i--
  2988  		dAtA[i] = 0x8
  2989  	}
  2990  	return len(dAtA) - i, nil
  2991  }
  2992  
  2993  func (m *GetTableColumnsReq) Marshal() (dAtA []byte, err error) {
  2994  	size := m.ProtoSize()
  2995  	dAtA = make([]byte, size)
  2996  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2997  	if err != nil {
  2998  		return nil, err
  2999  	}
  3000  	return dAtA[:n], nil
  3001  }
  3002  
  3003  func (m *GetTableColumnsReq) MarshalTo(dAtA []byte) (int, error) {
  3004  	size := m.ProtoSize()
  3005  	return m.MarshalToSizedBuffer(dAtA[:size])
  3006  }
  3007  
  3008  func (m *GetTableColumnsReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3009  	i := len(dAtA)
  3010  	_ = i
  3011  	var l int
  3012  	_ = l
  3013  	if m.TableID != 0 {
  3014  		i = encodeVarintOperations(dAtA, i, uint64(m.TableID))
  3015  		i--
  3016  		dAtA[i] = 0x8
  3017  	}
  3018  	return len(dAtA) - i, nil
  3019  }
  3020  
  3021  func (m *GetTableColumnsResp) Marshal() (dAtA []byte, err error) {
  3022  	size := m.ProtoSize()
  3023  	dAtA = make([]byte, size)
  3024  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3025  	if err != nil {
  3026  		return nil, err
  3027  	}
  3028  	return dAtA[:n], nil
  3029  }
  3030  
  3031  func (m *GetTableColumnsResp) MarshalTo(dAtA []byte) (int, error) {
  3032  	size := m.ProtoSize()
  3033  	return m.MarshalToSizedBuffer(dAtA[:size])
  3034  }
  3035  
  3036  func (m *GetTableColumnsResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3037  	i := len(dAtA)
  3038  	_ = i
  3039  	var l int
  3040  	_ = l
  3041  	if len(m.Attrs) > 0 {
  3042  		for iNdEx := len(m.Attrs) - 1; iNdEx >= 0; iNdEx-- {
  3043  			{
  3044  				size := m.Attrs[iNdEx].ProtoSize()
  3045  				i -= size
  3046  				if _, err := m.Attrs[iNdEx].MarshalTo(dAtA[i:]); err != nil {
  3047  					return 0, err
  3048  				}
  3049  				i = encodeVarintOperations(dAtA, i, uint64(size))
  3050  			}
  3051  			i--
  3052  			dAtA[i] = 0xa
  3053  		}
  3054  	}
  3055  	return len(dAtA) - i, nil
  3056  }
  3057  
  3058  func (m *TruncateRelationReq) Marshal() (dAtA []byte, err error) {
  3059  	size := m.ProtoSize()
  3060  	dAtA = make([]byte, size)
  3061  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3062  	if err != nil {
  3063  		return nil, err
  3064  	}
  3065  	return dAtA[:n], nil
  3066  }
  3067  
  3068  func (m *TruncateRelationReq) MarshalTo(dAtA []byte) (int, error) {
  3069  	size := m.ProtoSize()
  3070  	return m.MarshalToSizedBuffer(dAtA[:size])
  3071  }
  3072  
  3073  func (m *TruncateRelationReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3074  	i := len(dAtA)
  3075  	_ = i
  3076  	var l int
  3077  	_ = l
  3078  	if len(m.Name) > 0 {
  3079  		i -= len(m.Name)
  3080  		copy(dAtA[i:], m.Name)
  3081  		i = encodeVarintOperations(dAtA, i, uint64(len(m.Name)))
  3082  		i--
  3083  		dAtA[i] = 0x2a
  3084  	}
  3085  	if len(m.DatabaseName) > 0 {
  3086  		i -= len(m.DatabaseName)
  3087  		copy(dAtA[i:], m.DatabaseName)
  3088  		i = encodeVarintOperations(dAtA, i, uint64(len(m.DatabaseName)))
  3089  		i--
  3090  		dAtA[i] = 0x22
  3091  	}
  3092  	if m.DatabaseID != 0 {
  3093  		i = encodeVarintOperations(dAtA, i, uint64(m.DatabaseID))
  3094  		i--
  3095  		dAtA[i] = 0x18
  3096  	}
  3097  	if m.OldTableID != 0 {
  3098  		i = encodeVarintOperations(dAtA, i, uint64(m.OldTableID))
  3099  		i--
  3100  		dAtA[i] = 0x10
  3101  	}
  3102  	if m.NewTableID != 0 {
  3103  		i = encodeVarintOperations(dAtA, i, uint64(m.NewTableID))
  3104  		i--
  3105  		dAtA[i] = 0x8
  3106  	}
  3107  	return len(dAtA) - i, nil
  3108  }
  3109  
  3110  func (m *TruncateRelationResp) Marshal() (dAtA []byte, err error) {
  3111  	size := m.ProtoSize()
  3112  	dAtA = make([]byte, size)
  3113  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3114  	if err != nil {
  3115  		return nil, err
  3116  	}
  3117  	return dAtA[:n], nil
  3118  }
  3119  
  3120  func (m *TruncateRelationResp) MarshalTo(dAtA []byte) (int, error) {
  3121  	size := m.ProtoSize()
  3122  	return m.MarshalToSizedBuffer(dAtA[:size])
  3123  }
  3124  
  3125  func (m *TruncateRelationResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3126  	i := len(dAtA)
  3127  	_ = i
  3128  	var l int
  3129  	_ = l
  3130  	if m.ID != 0 {
  3131  		i = encodeVarintOperations(dAtA, i, uint64(m.ID))
  3132  		i--
  3133  		dAtA[i] = 0x8
  3134  	}
  3135  	return len(dAtA) - i, nil
  3136  }
  3137  
  3138  func (m *AddTableDefReq) Marshal() (dAtA []byte, err error) {
  3139  	size := m.ProtoSize()
  3140  	dAtA = make([]byte, size)
  3141  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3142  	if err != nil {
  3143  		return nil, err
  3144  	}
  3145  	return dAtA[:n], nil
  3146  }
  3147  
  3148  func (m *AddTableDefReq) MarshalTo(dAtA []byte) (int, error) {
  3149  	size := m.ProtoSize()
  3150  	return m.MarshalToSizedBuffer(dAtA[:size])
  3151  }
  3152  
  3153  func (m *AddTableDefReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3154  	i := len(dAtA)
  3155  	_ = i
  3156  	var l int
  3157  	_ = l
  3158  	{
  3159  		size := m.Def.ProtoSize()
  3160  		i -= size
  3161  		if _, err := m.Def.MarshalTo(dAtA[i:]); err != nil {
  3162  			return 0, err
  3163  		}
  3164  		i = encodeVarintOperations(dAtA, i, uint64(size))
  3165  	}
  3166  	i--
  3167  	dAtA[i] = 0x22
  3168  	if len(m.TableName) > 0 {
  3169  		i -= len(m.TableName)
  3170  		copy(dAtA[i:], m.TableName)
  3171  		i = encodeVarintOperations(dAtA, i, uint64(len(m.TableName)))
  3172  		i--
  3173  		dAtA[i] = 0x1a
  3174  	}
  3175  	if len(m.DatabaseName) > 0 {
  3176  		i -= len(m.DatabaseName)
  3177  		copy(dAtA[i:], m.DatabaseName)
  3178  		i = encodeVarintOperations(dAtA, i, uint64(len(m.DatabaseName)))
  3179  		i--
  3180  		dAtA[i] = 0x12
  3181  	}
  3182  	if m.TableID != 0 {
  3183  		i = encodeVarintOperations(dAtA, i, uint64(m.TableID))
  3184  		i--
  3185  		dAtA[i] = 0x8
  3186  	}
  3187  	return len(dAtA) - i, nil
  3188  }
  3189  
  3190  func (m *AddTableDefResp) Marshal() (dAtA []byte, err error) {
  3191  	size := m.ProtoSize()
  3192  	dAtA = make([]byte, size)
  3193  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3194  	if err != nil {
  3195  		return nil, err
  3196  	}
  3197  	return dAtA[:n], nil
  3198  }
  3199  
  3200  func (m *AddTableDefResp) MarshalTo(dAtA []byte) (int, error) {
  3201  	size := m.ProtoSize()
  3202  	return m.MarshalToSizedBuffer(dAtA[:size])
  3203  }
  3204  
  3205  func (m *AddTableDefResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3206  	i := len(dAtA)
  3207  	_ = i
  3208  	var l int
  3209  	_ = l
  3210  	return len(dAtA) - i, nil
  3211  }
  3212  
  3213  func (m *DelTableDefReq) Marshal() (dAtA []byte, err error) {
  3214  	size := m.ProtoSize()
  3215  	dAtA = make([]byte, size)
  3216  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3217  	if err != nil {
  3218  		return nil, err
  3219  	}
  3220  	return dAtA[:n], nil
  3221  }
  3222  
  3223  func (m *DelTableDefReq) MarshalTo(dAtA []byte) (int, error) {
  3224  	size := m.ProtoSize()
  3225  	return m.MarshalToSizedBuffer(dAtA[:size])
  3226  }
  3227  
  3228  func (m *DelTableDefReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3229  	i := len(dAtA)
  3230  	_ = i
  3231  	var l int
  3232  	_ = l
  3233  	{
  3234  		size := m.Def.ProtoSize()
  3235  		i -= size
  3236  		if _, err := m.Def.MarshalTo(dAtA[i:]); err != nil {
  3237  			return 0, err
  3238  		}
  3239  		i = encodeVarintOperations(dAtA, i, uint64(size))
  3240  	}
  3241  	i--
  3242  	dAtA[i] = 0x22
  3243  	if len(m.TableName) > 0 {
  3244  		i -= len(m.TableName)
  3245  		copy(dAtA[i:], m.TableName)
  3246  		i = encodeVarintOperations(dAtA, i, uint64(len(m.TableName)))
  3247  		i--
  3248  		dAtA[i] = 0x1a
  3249  	}
  3250  	if len(m.DatabaseName) > 0 {
  3251  		i -= len(m.DatabaseName)
  3252  		copy(dAtA[i:], m.DatabaseName)
  3253  		i = encodeVarintOperations(dAtA, i, uint64(len(m.DatabaseName)))
  3254  		i--
  3255  		dAtA[i] = 0x12
  3256  	}
  3257  	if m.TableID != 0 {
  3258  		i = encodeVarintOperations(dAtA, i, uint64(m.TableID))
  3259  		i--
  3260  		dAtA[i] = 0x8
  3261  	}
  3262  	return len(dAtA) - i, nil
  3263  }
  3264  
  3265  func (m *DelTableDefResp) Marshal() (dAtA []byte, err error) {
  3266  	size := m.ProtoSize()
  3267  	dAtA = make([]byte, size)
  3268  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3269  	if err != nil {
  3270  		return nil, err
  3271  	}
  3272  	return dAtA[:n], nil
  3273  }
  3274  
  3275  func (m *DelTableDefResp) MarshalTo(dAtA []byte) (int, error) {
  3276  	size := m.ProtoSize()
  3277  	return m.MarshalToSizedBuffer(dAtA[:size])
  3278  }
  3279  
  3280  func (m *DelTableDefResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3281  	i := len(dAtA)
  3282  	_ = i
  3283  	var l int
  3284  	_ = l
  3285  	return len(dAtA) - i, nil
  3286  }
  3287  
  3288  func (m *UpdateResp) Marshal() (dAtA []byte, err error) {
  3289  	size := m.ProtoSize()
  3290  	dAtA = make([]byte, size)
  3291  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3292  	if err != nil {
  3293  		return nil, err
  3294  	}
  3295  	return dAtA[:n], nil
  3296  }
  3297  
  3298  func (m *UpdateResp) MarshalTo(dAtA []byte) (int, error) {
  3299  	size := m.ProtoSize()
  3300  	return m.MarshalToSizedBuffer(dAtA[:size])
  3301  }
  3302  
  3303  func (m *UpdateResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3304  	i := len(dAtA)
  3305  	_ = i
  3306  	var l int
  3307  	_ = l
  3308  	return len(dAtA) - i, nil
  3309  }
  3310  
  3311  func encodeVarintOperations(dAtA []byte, offset int, v uint64) int {
  3312  	offset -= sovOperations(v)
  3313  	base := offset
  3314  	for v >= 1<<7 {
  3315  		dAtA[offset] = uint8(v&0x7f | 0x80)
  3316  		v >>= 7
  3317  		offset++
  3318  	}
  3319  	dAtA[offset] = uint8(v)
  3320  	return base
  3321  }
  3322  func (m *AccessInfo) ProtoSize() (n int) {
  3323  	if m == nil {
  3324  		return 0
  3325  	}
  3326  	var l int
  3327  	_ = l
  3328  	if m.AccountID != 0 {
  3329  		n += 1 + sovOperations(uint64(m.AccountID))
  3330  	}
  3331  	if m.UserID != 0 {
  3332  		n += 1 + sovOperations(uint64(m.UserID))
  3333  	}
  3334  	if m.RoleID != 0 {
  3335  		n += 1 + sovOperations(uint64(m.RoleID))
  3336  	}
  3337  	return n
  3338  }
  3339  
  3340  func (m *OpenDatabaseReq) ProtoSize() (n int) {
  3341  	if m == nil {
  3342  		return 0
  3343  	}
  3344  	var l int
  3345  	_ = l
  3346  	l = m.AccessInfo.ProtoSize()
  3347  	n += 1 + l + sovOperations(uint64(l))
  3348  	l = len(m.Name)
  3349  	if l > 0 {
  3350  		n += 1 + l + sovOperations(uint64(l))
  3351  	}
  3352  	return n
  3353  }
  3354  
  3355  func (m *OpenDatabaseResp) ProtoSize() (n int) {
  3356  	if m == nil {
  3357  		return 0
  3358  	}
  3359  	var l int
  3360  	_ = l
  3361  	if m.ID != 0 {
  3362  		n += 1 + sovOperations(uint64(m.ID))
  3363  	}
  3364  	l = len(m.Name)
  3365  	if l > 0 {
  3366  		n += 1 + l + sovOperations(uint64(l))
  3367  	}
  3368  	return n
  3369  }
  3370  
  3371  func (m *CreateDatabaseReq) ProtoSize() (n int) {
  3372  	if m == nil {
  3373  		return 0
  3374  	}
  3375  	var l int
  3376  	_ = l
  3377  	if m.ID != 0 {
  3378  		n += 1 + sovOperations(uint64(m.ID))
  3379  	}
  3380  	l = m.AccessInfo.ProtoSize()
  3381  	n += 1 + l + sovOperations(uint64(l))
  3382  	l = len(m.Name)
  3383  	if l > 0 {
  3384  		n += 1 + l + sovOperations(uint64(l))
  3385  	}
  3386  	return n
  3387  }
  3388  
  3389  func (m *CreateDatabaseResp) ProtoSize() (n int) {
  3390  	if m == nil {
  3391  		return 0
  3392  	}
  3393  	var l int
  3394  	_ = l
  3395  	if m.ID != 0 {
  3396  		n += 1 + sovOperations(uint64(m.ID))
  3397  	}
  3398  	return n
  3399  }
  3400  
  3401  func (m *GetDatabasesReq) ProtoSize() (n int) {
  3402  	if m == nil {
  3403  		return 0
  3404  	}
  3405  	var l int
  3406  	_ = l
  3407  	l = m.AccessInfo.ProtoSize()
  3408  	n += 1 + l + sovOperations(uint64(l))
  3409  	return n
  3410  }
  3411  
  3412  func (m *GetDatabasesResp) ProtoSize() (n int) {
  3413  	if m == nil {
  3414  		return 0
  3415  	}
  3416  	var l int
  3417  	_ = l
  3418  	if len(m.Names) > 0 {
  3419  		for _, s := range m.Names {
  3420  			l = len(s)
  3421  			n += 1 + l + sovOperations(uint64(l))
  3422  		}
  3423  	}
  3424  	return n
  3425  }
  3426  
  3427  func (m *DeleteDatabaseReq) ProtoSize() (n int) {
  3428  	if m == nil {
  3429  		return 0
  3430  	}
  3431  	var l int
  3432  	_ = l
  3433  	l = m.AccessInfo.ProtoSize()
  3434  	n += 1 + l + sovOperations(uint64(l))
  3435  	l = len(m.Name)
  3436  	if l > 0 {
  3437  		n += 1 + l + sovOperations(uint64(l))
  3438  	}
  3439  	return n
  3440  }
  3441  
  3442  func (m *DeleteDatabaseResp) ProtoSize() (n int) {
  3443  	if m == nil {
  3444  		return 0
  3445  	}
  3446  	var l int
  3447  	_ = l
  3448  	if m.ID != 0 {
  3449  		n += 1 + sovOperations(uint64(m.ID))
  3450  	}
  3451  	return n
  3452  }
  3453  
  3454  func (m *OpenRelationReq) ProtoSize() (n int) {
  3455  	if m == nil {
  3456  		return 0
  3457  	}
  3458  	var l int
  3459  	_ = l
  3460  	if m.DatabaseID != 0 {
  3461  		n += 1 + sovOperations(uint64(m.DatabaseID))
  3462  	}
  3463  	l = len(m.DatabaseName)
  3464  	if l > 0 {
  3465  		n += 1 + l + sovOperations(uint64(l))
  3466  	}
  3467  	l = len(m.Name)
  3468  	if l > 0 {
  3469  		n += 1 + l + sovOperations(uint64(l))
  3470  	}
  3471  	return n
  3472  }
  3473  
  3474  func (m *OpenRelationResp) ProtoSize() (n int) {
  3475  	if m == nil {
  3476  		return 0
  3477  	}
  3478  	var l int
  3479  	_ = l
  3480  	if m.ID != 0 {
  3481  		n += 1 + sovOperations(uint64(m.ID))
  3482  	}
  3483  	if m.Type != 0 {
  3484  		n += 1 + sovOperations(uint64(m.Type))
  3485  	}
  3486  	l = len(m.DatabaseName)
  3487  	if l > 0 {
  3488  		n += 1 + l + sovOperations(uint64(l))
  3489  	}
  3490  	l = len(m.RelationName)
  3491  	if l > 0 {
  3492  		n += 1 + l + sovOperations(uint64(l))
  3493  	}
  3494  	return n
  3495  }
  3496  
  3497  func (m *CreateRelationReq) ProtoSize() (n int) {
  3498  	if m == nil {
  3499  		return 0
  3500  	}
  3501  	var l int
  3502  	_ = l
  3503  	if m.ID != 0 {
  3504  		n += 1 + sovOperations(uint64(m.ID))
  3505  	}
  3506  	if m.DatabaseID != 0 {
  3507  		n += 1 + sovOperations(uint64(m.DatabaseID))
  3508  	}
  3509  	l = len(m.DatabaseName)
  3510  	if l > 0 {
  3511  		n += 1 + l + sovOperations(uint64(l))
  3512  	}
  3513  	l = len(m.Name)
  3514  	if l > 0 {
  3515  		n += 1 + l + sovOperations(uint64(l))
  3516  	}
  3517  	if m.Type != 0 {
  3518  		n += 1 + sovOperations(uint64(m.Type))
  3519  	}
  3520  	if len(m.Defs) > 0 {
  3521  		for _, e := range m.Defs {
  3522  			l = e.ProtoSize()
  3523  			n += 1 + l + sovOperations(uint64(l))
  3524  		}
  3525  	}
  3526  	return n
  3527  }
  3528  
  3529  func (m *CreateRelationResp) ProtoSize() (n int) {
  3530  	if m == nil {
  3531  		return 0
  3532  	}
  3533  	var l int
  3534  	_ = l
  3535  	if m.ID != 0 {
  3536  		n += 1 + sovOperations(uint64(m.ID))
  3537  	}
  3538  	return n
  3539  }
  3540  
  3541  func (m *GetRelationsReq) ProtoSize() (n int) {
  3542  	if m == nil {
  3543  		return 0
  3544  	}
  3545  	var l int
  3546  	_ = l
  3547  	if m.DatabaseID != 0 {
  3548  		n += 1 + sovOperations(uint64(m.DatabaseID))
  3549  	}
  3550  	return n
  3551  }
  3552  
  3553  func (m *GetRelationsResp) ProtoSize() (n int) {
  3554  	if m == nil {
  3555  		return 0
  3556  	}
  3557  	var l int
  3558  	_ = l
  3559  	if len(m.Names) > 0 {
  3560  		for _, s := range m.Names {
  3561  			l = len(s)
  3562  			n += 1 + l + sovOperations(uint64(l))
  3563  		}
  3564  	}
  3565  	return n
  3566  }
  3567  
  3568  func (m *DeleteRelationReq) ProtoSize() (n int) {
  3569  	if m == nil {
  3570  		return 0
  3571  	}
  3572  	var l int
  3573  	_ = l
  3574  	if m.DatabaseID != 0 {
  3575  		n += 1 + sovOperations(uint64(m.DatabaseID))
  3576  	}
  3577  	l = len(m.DatabaseName)
  3578  	if l > 0 {
  3579  		n += 1 + l + sovOperations(uint64(l))
  3580  	}
  3581  	l = len(m.Name)
  3582  	if l > 0 {
  3583  		n += 1 + l + sovOperations(uint64(l))
  3584  	}
  3585  	return n
  3586  }
  3587  
  3588  func (m *DeleteRelationResp) ProtoSize() (n int) {
  3589  	if m == nil {
  3590  		return 0
  3591  	}
  3592  	var l int
  3593  	_ = l
  3594  	if m.ID != 0 {
  3595  		n += 1 + sovOperations(uint64(m.ID))
  3596  	}
  3597  	return n
  3598  }
  3599  
  3600  func (m *GetTableDefsReq) ProtoSize() (n int) {
  3601  	if m == nil {
  3602  		return 0
  3603  	}
  3604  	var l int
  3605  	_ = l
  3606  	if m.TableID != 0 {
  3607  		n += 1 + sovOperations(uint64(m.TableID))
  3608  	}
  3609  	return n
  3610  }
  3611  
  3612  func (m *GetTableDefsResp) ProtoSize() (n int) {
  3613  	if m == nil {
  3614  		return 0
  3615  	}
  3616  	var l int
  3617  	_ = l
  3618  	if len(m.Defs) > 0 {
  3619  		for _, e := range m.Defs {
  3620  			l = e.ProtoSize()
  3621  			n += 1 + l + sovOperations(uint64(l))
  3622  		}
  3623  	}
  3624  	return n
  3625  }
  3626  
  3627  func (m *WriteResp) ProtoSize() (n int) {
  3628  	if m == nil {
  3629  		return 0
  3630  	}
  3631  	var l int
  3632  	_ = l
  3633  	return n
  3634  }
  3635  
  3636  func (m *NewTableIterReq) ProtoSize() (n int) {
  3637  	if m == nil {
  3638  		return 0
  3639  	}
  3640  	var l int
  3641  	_ = l
  3642  	if m.TableID != 0 {
  3643  		n += 1 + sovOperations(uint64(m.TableID))
  3644  	}
  3645  	if m.Expr != nil {
  3646  		l = m.Expr.ProtoSize()
  3647  		n += 1 + l + sovOperations(uint64(l))
  3648  	}
  3649  	return n
  3650  }
  3651  
  3652  func (m *NewTableIterResp) ProtoSize() (n int) {
  3653  	if m == nil {
  3654  		return 0
  3655  	}
  3656  	var l int
  3657  	_ = l
  3658  	if m.IterID != 0 {
  3659  		n += 1 + sovOperations(uint64(m.IterID))
  3660  	}
  3661  	return n
  3662  }
  3663  
  3664  func (m *ReadReq) ProtoSize() (n int) {
  3665  	if m == nil {
  3666  		return 0
  3667  	}
  3668  	var l int
  3669  	_ = l
  3670  	if m.IterID != 0 {
  3671  		n += 1 + sovOperations(uint64(m.IterID))
  3672  	}
  3673  	if len(m.ColNames) > 0 {
  3674  		for _, s := range m.ColNames {
  3675  			l = len(s)
  3676  			n += 1 + l + sovOperations(uint64(l))
  3677  		}
  3678  	}
  3679  	return n
  3680  }
  3681  
  3682  func (m *DeleteResp) ProtoSize() (n int) {
  3683  	if m == nil {
  3684  		return 0
  3685  	}
  3686  	var l int
  3687  	_ = l
  3688  	return n
  3689  }
  3690  
  3691  func (m *GetPrimaryKeysReq) ProtoSize() (n int) {
  3692  	if m == nil {
  3693  		return 0
  3694  	}
  3695  	var l int
  3696  	_ = l
  3697  	if m.TableID != 0 {
  3698  		n += 1 + sovOperations(uint64(m.TableID))
  3699  	}
  3700  	return n
  3701  }
  3702  
  3703  func (m *GetPrimaryKeysResp) ProtoSize() (n int) {
  3704  	if m == nil {
  3705  		return 0
  3706  	}
  3707  	var l int
  3708  	_ = l
  3709  	if len(m.Attrs) > 0 {
  3710  		for _, e := range m.Attrs {
  3711  			l = e.ProtoSize()
  3712  			n += 1 + l + sovOperations(uint64(l))
  3713  		}
  3714  	}
  3715  	return n
  3716  }
  3717  
  3718  func (m *CloseTableIterReq) ProtoSize() (n int) {
  3719  	if m == nil {
  3720  		return 0
  3721  	}
  3722  	var l int
  3723  	_ = l
  3724  	if m.IterID != 0 {
  3725  		n += 1 + sovOperations(uint64(m.IterID))
  3726  	}
  3727  	return n
  3728  }
  3729  
  3730  func (m *CloseTableIterResp) ProtoSize() (n int) {
  3731  	if m == nil {
  3732  		return 0
  3733  	}
  3734  	var l int
  3735  	_ = l
  3736  	return n
  3737  }
  3738  
  3739  func (m *GetHiddenKeysReq) ProtoSize() (n int) {
  3740  	if m == nil {
  3741  		return 0
  3742  	}
  3743  	var l int
  3744  	_ = l
  3745  	if m.TableID != 0 {
  3746  		n += 1 + sovOperations(uint64(m.TableID))
  3747  	}
  3748  	return n
  3749  }
  3750  
  3751  func (m *GetHiddenKeysResp) ProtoSize() (n int) {
  3752  	if m == nil {
  3753  		return 0
  3754  	}
  3755  	var l int
  3756  	_ = l
  3757  	if len(m.Attrs) > 0 {
  3758  		for _, e := range m.Attrs {
  3759  			l = e.ProtoSize()
  3760  			n += 1 + l + sovOperations(uint64(l))
  3761  		}
  3762  	}
  3763  	return n
  3764  }
  3765  
  3766  func (m *TableStatsReq) ProtoSize() (n int) {
  3767  	if m == nil {
  3768  		return 0
  3769  	}
  3770  	var l int
  3771  	_ = l
  3772  	if m.TableID != 0 {
  3773  		n += 1 + sovOperations(uint64(m.TableID))
  3774  	}
  3775  	return n
  3776  }
  3777  
  3778  func (m *TableStatsResp) ProtoSize() (n int) {
  3779  	if m == nil {
  3780  		return 0
  3781  	}
  3782  	var l int
  3783  	_ = l
  3784  	if m.Rows != 0 {
  3785  		n += 1 + sovOperations(uint64(m.Rows))
  3786  	}
  3787  	return n
  3788  }
  3789  
  3790  func (m *GetTableColumnsReq) ProtoSize() (n int) {
  3791  	if m == nil {
  3792  		return 0
  3793  	}
  3794  	var l int
  3795  	_ = l
  3796  	if m.TableID != 0 {
  3797  		n += 1 + sovOperations(uint64(m.TableID))
  3798  	}
  3799  	return n
  3800  }
  3801  
  3802  func (m *GetTableColumnsResp) ProtoSize() (n int) {
  3803  	if m == nil {
  3804  		return 0
  3805  	}
  3806  	var l int
  3807  	_ = l
  3808  	if len(m.Attrs) > 0 {
  3809  		for _, e := range m.Attrs {
  3810  			l = e.ProtoSize()
  3811  			n += 1 + l + sovOperations(uint64(l))
  3812  		}
  3813  	}
  3814  	return n
  3815  }
  3816  
  3817  func (m *TruncateRelationReq) ProtoSize() (n int) {
  3818  	if m == nil {
  3819  		return 0
  3820  	}
  3821  	var l int
  3822  	_ = l
  3823  	if m.NewTableID != 0 {
  3824  		n += 1 + sovOperations(uint64(m.NewTableID))
  3825  	}
  3826  	if m.OldTableID != 0 {
  3827  		n += 1 + sovOperations(uint64(m.OldTableID))
  3828  	}
  3829  	if m.DatabaseID != 0 {
  3830  		n += 1 + sovOperations(uint64(m.DatabaseID))
  3831  	}
  3832  	l = len(m.DatabaseName)
  3833  	if l > 0 {
  3834  		n += 1 + l + sovOperations(uint64(l))
  3835  	}
  3836  	l = len(m.Name)
  3837  	if l > 0 {
  3838  		n += 1 + l + sovOperations(uint64(l))
  3839  	}
  3840  	return n
  3841  }
  3842  
  3843  func (m *TruncateRelationResp) ProtoSize() (n int) {
  3844  	if m == nil {
  3845  		return 0
  3846  	}
  3847  	var l int
  3848  	_ = l
  3849  	if m.ID != 0 {
  3850  		n += 1 + sovOperations(uint64(m.ID))
  3851  	}
  3852  	return n
  3853  }
  3854  
  3855  func (m *AddTableDefReq) ProtoSize() (n int) {
  3856  	if m == nil {
  3857  		return 0
  3858  	}
  3859  	var l int
  3860  	_ = l
  3861  	if m.TableID != 0 {
  3862  		n += 1 + sovOperations(uint64(m.TableID))
  3863  	}
  3864  	l = len(m.DatabaseName)
  3865  	if l > 0 {
  3866  		n += 1 + l + sovOperations(uint64(l))
  3867  	}
  3868  	l = len(m.TableName)
  3869  	if l > 0 {
  3870  		n += 1 + l + sovOperations(uint64(l))
  3871  	}
  3872  	l = m.Def.ProtoSize()
  3873  	n += 1 + l + sovOperations(uint64(l))
  3874  	return n
  3875  }
  3876  
  3877  func (m *AddTableDefResp) ProtoSize() (n int) {
  3878  	if m == nil {
  3879  		return 0
  3880  	}
  3881  	var l int
  3882  	_ = l
  3883  	return n
  3884  }
  3885  
  3886  func (m *DelTableDefReq) ProtoSize() (n int) {
  3887  	if m == nil {
  3888  		return 0
  3889  	}
  3890  	var l int
  3891  	_ = l
  3892  	if m.TableID != 0 {
  3893  		n += 1 + sovOperations(uint64(m.TableID))
  3894  	}
  3895  	l = len(m.DatabaseName)
  3896  	if l > 0 {
  3897  		n += 1 + l + sovOperations(uint64(l))
  3898  	}
  3899  	l = len(m.TableName)
  3900  	if l > 0 {
  3901  		n += 1 + l + sovOperations(uint64(l))
  3902  	}
  3903  	l = m.Def.ProtoSize()
  3904  	n += 1 + l + sovOperations(uint64(l))
  3905  	return n
  3906  }
  3907  
  3908  func (m *DelTableDefResp) ProtoSize() (n int) {
  3909  	if m == nil {
  3910  		return 0
  3911  	}
  3912  	var l int
  3913  	_ = l
  3914  	return n
  3915  }
  3916  
  3917  func (m *UpdateResp) ProtoSize() (n int) {
  3918  	if m == nil {
  3919  		return 0
  3920  	}
  3921  	var l int
  3922  	_ = l
  3923  	return n
  3924  }
  3925  
  3926  func sovOperations(x uint64) (n int) {
  3927  	return (math_bits.Len64(x|1) + 6) / 7
  3928  }
  3929  func sozOperations(x uint64) (n int) {
  3930  	return sovOperations(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  3931  }
  3932  func (m *AccessInfo) Unmarshal(dAtA []byte) error {
  3933  	l := len(dAtA)
  3934  	iNdEx := 0
  3935  	for iNdEx < l {
  3936  		preIndex := iNdEx
  3937  		var wire uint64
  3938  		for shift := uint(0); ; shift += 7 {
  3939  			if shift >= 64 {
  3940  				return ErrIntOverflowOperations
  3941  			}
  3942  			if iNdEx >= l {
  3943  				return io.ErrUnexpectedEOF
  3944  			}
  3945  			b := dAtA[iNdEx]
  3946  			iNdEx++
  3947  			wire |= uint64(b&0x7F) << shift
  3948  			if b < 0x80 {
  3949  				break
  3950  			}
  3951  		}
  3952  		fieldNum := int32(wire >> 3)
  3953  		wireType := int(wire & 0x7)
  3954  		if wireType == 4 {
  3955  			return fmt.Errorf("proto: AccessInfo: wiretype end group for non-group")
  3956  		}
  3957  		if fieldNum <= 0 {
  3958  			return fmt.Errorf("proto: AccessInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3959  		}
  3960  		switch fieldNum {
  3961  		case 1:
  3962  			if wireType != 0 {
  3963  				return fmt.Errorf("proto: wrong wireType = %d for field AccountID", wireType)
  3964  			}
  3965  			m.AccountID = 0
  3966  			for shift := uint(0); ; shift += 7 {
  3967  				if shift >= 64 {
  3968  					return ErrIntOverflowOperations
  3969  				}
  3970  				if iNdEx >= l {
  3971  					return io.ErrUnexpectedEOF
  3972  				}
  3973  				b := dAtA[iNdEx]
  3974  				iNdEx++
  3975  				m.AccountID |= uint32(b&0x7F) << shift
  3976  				if b < 0x80 {
  3977  					break
  3978  				}
  3979  			}
  3980  		case 2:
  3981  			if wireType != 0 {
  3982  				return fmt.Errorf("proto: wrong wireType = %d for field UserID", wireType)
  3983  			}
  3984  			m.UserID = 0
  3985  			for shift := uint(0); ; shift += 7 {
  3986  				if shift >= 64 {
  3987  					return ErrIntOverflowOperations
  3988  				}
  3989  				if iNdEx >= l {
  3990  					return io.ErrUnexpectedEOF
  3991  				}
  3992  				b := dAtA[iNdEx]
  3993  				iNdEx++
  3994  				m.UserID |= uint32(b&0x7F) << shift
  3995  				if b < 0x80 {
  3996  					break
  3997  				}
  3998  			}
  3999  		case 3:
  4000  			if wireType != 0 {
  4001  				return fmt.Errorf("proto: wrong wireType = %d for field RoleID", wireType)
  4002  			}
  4003  			m.RoleID = 0
  4004  			for shift := uint(0); ; shift += 7 {
  4005  				if shift >= 64 {
  4006  					return ErrIntOverflowOperations
  4007  				}
  4008  				if iNdEx >= l {
  4009  					return io.ErrUnexpectedEOF
  4010  				}
  4011  				b := dAtA[iNdEx]
  4012  				iNdEx++
  4013  				m.RoleID |= uint32(b&0x7F) << shift
  4014  				if b < 0x80 {
  4015  					break
  4016  				}
  4017  			}
  4018  		default:
  4019  			iNdEx = preIndex
  4020  			skippy, err := skipOperations(dAtA[iNdEx:])
  4021  			if err != nil {
  4022  				return err
  4023  			}
  4024  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4025  				return ErrInvalidLengthOperations
  4026  			}
  4027  			if (iNdEx + skippy) > l {
  4028  				return io.ErrUnexpectedEOF
  4029  			}
  4030  			iNdEx += skippy
  4031  		}
  4032  	}
  4033  
  4034  	if iNdEx > l {
  4035  		return io.ErrUnexpectedEOF
  4036  	}
  4037  	return nil
  4038  }
  4039  func (m *OpenDatabaseReq) Unmarshal(dAtA []byte) error {
  4040  	l := len(dAtA)
  4041  	iNdEx := 0
  4042  	for iNdEx < l {
  4043  		preIndex := iNdEx
  4044  		var wire uint64
  4045  		for shift := uint(0); ; shift += 7 {
  4046  			if shift >= 64 {
  4047  				return ErrIntOverflowOperations
  4048  			}
  4049  			if iNdEx >= l {
  4050  				return io.ErrUnexpectedEOF
  4051  			}
  4052  			b := dAtA[iNdEx]
  4053  			iNdEx++
  4054  			wire |= uint64(b&0x7F) << shift
  4055  			if b < 0x80 {
  4056  				break
  4057  			}
  4058  		}
  4059  		fieldNum := int32(wire >> 3)
  4060  		wireType := int(wire & 0x7)
  4061  		if wireType == 4 {
  4062  			return fmt.Errorf("proto: OpenDatabaseReq: wiretype end group for non-group")
  4063  		}
  4064  		if fieldNum <= 0 {
  4065  			return fmt.Errorf("proto: OpenDatabaseReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4066  		}
  4067  		switch fieldNum {
  4068  		case 1:
  4069  			if wireType != 2 {
  4070  				return fmt.Errorf("proto: wrong wireType = %d for field AccessInfo", wireType)
  4071  			}
  4072  			var msglen int
  4073  			for shift := uint(0); ; shift += 7 {
  4074  				if shift >= 64 {
  4075  					return ErrIntOverflowOperations
  4076  				}
  4077  				if iNdEx >= l {
  4078  					return io.ErrUnexpectedEOF
  4079  				}
  4080  				b := dAtA[iNdEx]
  4081  				iNdEx++
  4082  				msglen |= int(b&0x7F) << shift
  4083  				if b < 0x80 {
  4084  					break
  4085  				}
  4086  			}
  4087  			if msglen < 0 {
  4088  				return ErrInvalidLengthOperations
  4089  			}
  4090  			postIndex := iNdEx + msglen
  4091  			if postIndex < 0 {
  4092  				return ErrInvalidLengthOperations
  4093  			}
  4094  			if postIndex > l {
  4095  				return io.ErrUnexpectedEOF
  4096  			}
  4097  			if err := m.AccessInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4098  				return err
  4099  			}
  4100  			iNdEx = postIndex
  4101  		case 2:
  4102  			if wireType != 2 {
  4103  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4104  			}
  4105  			var stringLen uint64
  4106  			for shift := uint(0); ; shift += 7 {
  4107  				if shift >= 64 {
  4108  					return ErrIntOverflowOperations
  4109  				}
  4110  				if iNdEx >= l {
  4111  					return io.ErrUnexpectedEOF
  4112  				}
  4113  				b := dAtA[iNdEx]
  4114  				iNdEx++
  4115  				stringLen |= uint64(b&0x7F) << shift
  4116  				if b < 0x80 {
  4117  					break
  4118  				}
  4119  			}
  4120  			intStringLen := int(stringLen)
  4121  			if intStringLen < 0 {
  4122  				return ErrInvalidLengthOperations
  4123  			}
  4124  			postIndex := iNdEx + intStringLen
  4125  			if postIndex < 0 {
  4126  				return ErrInvalidLengthOperations
  4127  			}
  4128  			if postIndex > l {
  4129  				return io.ErrUnexpectedEOF
  4130  			}
  4131  			m.Name = string(dAtA[iNdEx:postIndex])
  4132  			iNdEx = postIndex
  4133  		default:
  4134  			iNdEx = preIndex
  4135  			skippy, err := skipOperations(dAtA[iNdEx:])
  4136  			if err != nil {
  4137  				return err
  4138  			}
  4139  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4140  				return ErrInvalidLengthOperations
  4141  			}
  4142  			if (iNdEx + skippy) > l {
  4143  				return io.ErrUnexpectedEOF
  4144  			}
  4145  			iNdEx += skippy
  4146  		}
  4147  	}
  4148  
  4149  	if iNdEx > l {
  4150  		return io.ErrUnexpectedEOF
  4151  	}
  4152  	return nil
  4153  }
  4154  func (m *OpenDatabaseResp) Unmarshal(dAtA []byte) error {
  4155  	l := len(dAtA)
  4156  	iNdEx := 0
  4157  	for iNdEx < l {
  4158  		preIndex := iNdEx
  4159  		var wire uint64
  4160  		for shift := uint(0); ; shift += 7 {
  4161  			if shift >= 64 {
  4162  				return ErrIntOverflowOperations
  4163  			}
  4164  			if iNdEx >= l {
  4165  				return io.ErrUnexpectedEOF
  4166  			}
  4167  			b := dAtA[iNdEx]
  4168  			iNdEx++
  4169  			wire |= uint64(b&0x7F) << shift
  4170  			if b < 0x80 {
  4171  				break
  4172  			}
  4173  		}
  4174  		fieldNum := int32(wire >> 3)
  4175  		wireType := int(wire & 0x7)
  4176  		if wireType == 4 {
  4177  			return fmt.Errorf("proto: OpenDatabaseResp: wiretype end group for non-group")
  4178  		}
  4179  		if fieldNum <= 0 {
  4180  			return fmt.Errorf("proto: OpenDatabaseResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4181  		}
  4182  		switch fieldNum {
  4183  		case 1:
  4184  			if wireType != 0 {
  4185  				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4186  			}
  4187  			m.ID = 0
  4188  			for shift := uint(0); ; shift += 7 {
  4189  				if shift >= 64 {
  4190  					return ErrIntOverflowOperations
  4191  				}
  4192  				if iNdEx >= l {
  4193  					return io.ErrUnexpectedEOF
  4194  				}
  4195  				b := dAtA[iNdEx]
  4196  				iNdEx++
  4197  				m.ID |= ID(b&0x7F) << shift
  4198  				if b < 0x80 {
  4199  					break
  4200  				}
  4201  			}
  4202  		case 2:
  4203  			if wireType != 2 {
  4204  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4205  			}
  4206  			var stringLen uint64
  4207  			for shift := uint(0); ; shift += 7 {
  4208  				if shift >= 64 {
  4209  					return ErrIntOverflowOperations
  4210  				}
  4211  				if iNdEx >= l {
  4212  					return io.ErrUnexpectedEOF
  4213  				}
  4214  				b := dAtA[iNdEx]
  4215  				iNdEx++
  4216  				stringLen |= uint64(b&0x7F) << shift
  4217  				if b < 0x80 {
  4218  					break
  4219  				}
  4220  			}
  4221  			intStringLen := int(stringLen)
  4222  			if intStringLen < 0 {
  4223  				return ErrInvalidLengthOperations
  4224  			}
  4225  			postIndex := iNdEx + intStringLen
  4226  			if postIndex < 0 {
  4227  				return ErrInvalidLengthOperations
  4228  			}
  4229  			if postIndex > l {
  4230  				return io.ErrUnexpectedEOF
  4231  			}
  4232  			m.Name = string(dAtA[iNdEx:postIndex])
  4233  			iNdEx = postIndex
  4234  		default:
  4235  			iNdEx = preIndex
  4236  			skippy, err := skipOperations(dAtA[iNdEx:])
  4237  			if err != nil {
  4238  				return err
  4239  			}
  4240  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4241  				return ErrInvalidLengthOperations
  4242  			}
  4243  			if (iNdEx + skippy) > l {
  4244  				return io.ErrUnexpectedEOF
  4245  			}
  4246  			iNdEx += skippy
  4247  		}
  4248  	}
  4249  
  4250  	if iNdEx > l {
  4251  		return io.ErrUnexpectedEOF
  4252  	}
  4253  	return nil
  4254  }
  4255  func (m *CreateDatabaseReq) Unmarshal(dAtA []byte) error {
  4256  	l := len(dAtA)
  4257  	iNdEx := 0
  4258  	for iNdEx < l {
  4259  		preIndex := iNdEx
  4260  		var wire uint64
  4261  		for shift := uint(0); ; shift += 7 {
  4262  			if shift >= 64 {
  4263  				return ErrIntOverflowOperations
  4264  			}
  4265  			if iNdEx >= l {
  4266  				return io.ErrUnexpectedEOF
  4267  			}
  4268  			b := dAtA[iNdEx]
  4269  			iNdEx++
  4270  			wire |= uint64(b&0x7F) << shift
  4271  			if b < 0x80 {
  4272  				break
  4273  			}
  4274  		}
  4275  		fieldNum := int32(wire >> 3)
  4276  		wireType := int(wire & 0x7)
  4277  		if wireType == 4 {
  4278  			return fmt.Errorf("proto: CreateDatabaseReq: wiretype end group for non-group")
  4279  		}
  4280  		if fieldNum <= 0 {
  4281  			return fmt.Errorf("proto: CreateDatabaseReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4282  		}
  4283  		switch fieldNum {
  4284  		case 1:
  4285  			if wireType != 0 {
  4286  				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4287  			}
  4288  			m.ID = 0
  4289  			for shift := uint(0); ; shift += 7 {
  4290  				if shift >= 64 {
  4291  					return ErrIntOverflowOperations
  4292  				}
  4293  				if iNdEx >= l {
  4294  					return io.ErrUnexpectedEOF
  4295  				}
  4296  				b := dAtA[iNdEx]
  4297  				iNdEx++
  4298  				m.ID |= ID(b&0x7F) << shift
  4299  				if b < 0x80 {
  4300  					break
  4301  				}
  4302  			}
  4303  		case 2:
  4304  			if wireType != 2 {
  4305  				return fmt.Errorf("proto: wrong wireType = %d for field AccessInfo", wireType)
  4306  			}
  4307  			var msglen int
  4308  			for shift := uint(0); ; shift += 7 {
  4309  				if shift >= 64 {
  4310  					return ErrIntOverflowOperations
  4311  				}
  4312  				if iNdEx >= l {
  4313  					return io.ErrUnexpectedEOF
  4314  				}
  4315  				b := dAtA[iNdEx]
  4316  				iNdEx++
  4317  				msglen |= int(b&0x7F) << shift
  4318  				if b < 0x80 {
  4319  					break
  4320  				}
  4321  			}
  4322  			if msglen < 0 {
  4323  				return ErrInvalidLengthOperations
  4324  			}
  4325  			postIndex := iNdEx + msglen
  4326  			if postIndex < 0 {
  4327  				return ErrInvalidLengthOperations
  4328  			}
  4329  			if postIndex > l {
  4330  				return io.ErrUnexpectedEOF
  4331  			}
  4332  			if err := m.AccessInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4333  				return err
  4334  			}
  4335  			iNdEx = postIndex
  4336  		case 3:
  4337  			if wireType != 2 {
  4338  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4339  			}
  4340  			var stringLen uint64
  4341  			for shift := uint(0); ; shift += 7 {
  4342  				if shift >= 64 {
  4343  					return ErrIntOverflowOperations
  4344  				}
  4345  				if iNdEx >= l {
  4346  					return io.ErrUnexpectedEOF
  4347  				}
  4348  				b := dAtA[iNdEx]
  4349  				iNdEx++
  4350  				stringLen |= uint64(b&0x7F) << shift
  4351  				if b < 0x80 {
  4352  					break
  4353  				}
  4354  			}
  4355  			intStringLen := int(stringLen)
  4356  			if intStringLen < 0 {
  4357  				return ErrInvalidLengthOperations
  4358  			}
  4359  			postIndex := iNdEx + intStringLen
  4360  			if postIndex < 0 {
  4361  				return ErrInvalidLengthOperations
  4362  			}
  4363  			if postIndex > l {
  4364  				return io.ErrUnexpectedEOF
  4365  			}
  4366  			m.Name = string(dAtA[iNdEx:postIndex])
  4367  			iNdEx = postIndex
  4368  		default:
  4369  			iNdEx = preIndex
  4370  			skippy, err := skipOperations(dAtA[iNdEx:])
  4371  			if err != nil {
  4372  				return err
  4373  			}
  4374  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4375  				return ErrInvalidLengthOperations
  4376  			}
  4377  			if (iNdEx + skippy) > l {
  4378  				return io.ErrUnexpectedEOF
  4379  			}
  4380  			iNdEx += skippy
  4381  		}
  4382  	}
  4383  
  4384  	if iNdEx > l {
  4385  		return io.ErrUnexpectedEOF
  4386  	}
  4387  	return nil
  4388  }
  4389  func (m *CreateDatabaseResp) Unmarshal(dAtA []byte) error {
  4390  	l := len(dAtA)
  4391  	iNdEx := 0
  4392  	for iNdEx < l {
  4393  		preIndex := iNdEx
  4394  		var wire uint64
  4395  		for shift := uint(0); ; shift += 7 {
  4396  			if shift >= 64 {
  4397  				return ErrIntOverflowOperations
  4398  			}
  4399  			if iNdEx >= l {
  4400  				return io.ErrUnexpectedEOF
  4401  			}
  4402  			b := dAtA[iNdEx]
  4403  			iNdEx++
  4404  			wire |= uint64(b&0x7F) << shift
  4405  			if b < 0x80 {
  4406  				break
  4407  			}
  4408  		}
  4409  		fieldNum := int32(wire >> 3)
  4410  		wireType := int(wire & 0x7)
  4411  		if wireType == 4 {
  4412  			return fmt.Errorf("proto: CreateDatabaseResp: wiretype end group for non-group")
  4413  		}
  4414  		if fieldNum <= 0 {
  4415  			return fmt.Errorf("proto: CreateDatabaseResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4416  		}
  4417  		switch fieldNum {
  4418  		case 1:
  4419  			if wireType != 0 {
  4420  				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4421  			}
  4422  			m.ID = 0
  4423  			for shift := uint(0); ; shift += 7 {
  4424  				if shift >= 64 {
  4425  					return ErrIntOverflowOperations
  4426  				}
  4427  				if iNdEx >= l {
  4428  					return io.ErrUnexpectedEOF
  4429  				}
  4430  				b := dAtA[iNdEx]
  4431  				iNdEx++
  4432  				m.ID |= ID(b&0x7F) << shift
  4433  				if b < 0x80 {
  4434  					break
  4435  				}
  4436  			}
  4437  		default:
  4438  			iNdEx = preIndex
  4439  			skippy, err := skipOperations(dAtA[iNdEx:])
  4440  			if err != nil {
  4441  				return err
  4442  			}
  4443  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4444  				return ErrInvalidLengthOperations
  4445  			}
  4446  			if (iNdEx + skippy) > l {
  4447  				return io.ErrUnexpectedEOF
  4448  			}
  4449  			iNdEx += skippy
  4450  		}
  4451  	}
  4452  
  4453  	if iNdEx > l {
  4454  		return io.ErrUnexpectedEOF
  4455  	}
  4456  	return nil
  4457  }
  4458  func (m *GetDatabasesReq) Unmarshal(dAtA []byte) error {
  4459  	l := len(dAtA)
  4460  	iNdEx := 0
  4461  	for iNdEx < l {
  4462  		preIndex := iNdEx
  4463  		var wire uint64
  4464  		for shift := uint(0); ; shift += 7 {
  4465  			if shift >= 64 {
  4466  				return ErrIntOverflowOperations
  4467  			}
  4468  			if iNdEx >= l {
  4469  				return io.ErrUnexpectedEOF
  4470  			}
  4471  			b := dAtA[iNdEx]
  4472  			iNdEx++
  4473  			wire |= uint64(b&0x7F) << shift
  4474  			if b < 0x80 {
  4475  				break
  4476  			}
  4477  		}
  4478  		fieldNum := int32(wire >> 3)
  4479  		wireType := int(wire & 0x7)
  4480  		if wireType == 4 {
  4481  			return fmt.Errorf("proto: GetDatabasesReq: wiretype end group for non-group")
  4482  		}
  4483  		if fieldNum <= 0 {
  4484  			return fmt.Errorf("proto: GetDatabasesReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4485  		}
  4486  		switch fieldNum {
  4487  		case 1:
  4488  			if wireType != 2 {
  4489  				return fmt.Errorf("proto: wrong wireType = %d for field AccessInfo", wireType)
  4490  			}
  4491  			var msglen int
  4492  			for shift := uint(0); ; shift += 7 {
  4493  				if shift >= 64 {
  4494  					return ErrIntOverflowOperations
  4495  				}
  4496  				if iNdEx >= l {
  4497  					return io.ErrUnexpectedEOF
  4498  				}
  4499  				b := dAtA[iNdEx]
  4500  				iNdEx++
  4501  				msglen |= int(b&0x7F) << shift
  4502  				if b < 0x80 {
  4503  					break
  4504  				}
  4505  			}
  4506  			if msglen < 0 {
  4507  				return ErrInvalidLengthOperations
  4508  			}
  4509  			postIndex := iNdEx + msglen
  4510  			if postIndex < 0 {
  4511  				return ErrInvalidLengthOperations
  4512  			}
  4513  			if postIndex > l {
  4514  				return io.ErrUnexpectedEOF
  4515  			}
  4516  			if err := m.AccessInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4517  				return err
  4518  			}
  4519  			iNdEx = postIndex
  4520  		default:
  4521  			iNdEx = preIndex
  4522  			skippy, err := skipOperations(dAtA[iNdEx:])
  4523  			if err != nil {
  4524  				return err
  4525  			}
  4526  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4527  				return ErrInvalidLengthOperations
  4528  			}
  4529  			if (iNdEx + skippy) > l {
  4530  				return io.ErrUnexpectedEOF
  4531  			}
  4532  			iNdEx += skippy
  4533  		}
  4534  	}
  4535  
  4536  	if iNdEx > l {
  4537  		return io.ErrUnexpectedEOF
  4538  	}
  4539  	return nil
  4540  }
  4541  func (m *GetDatabasesResp) Unmarshal(dAtA []byte) error {
  4542  	l := len(dAtA)
  4543  	iNdEx := 0
  4544  	for iNdEx < l {
  4545  		preIndex := iNdEx
  4546  		var wire uint64
  4547  		for shift := uint(0); ; shift += 7 {
  4548  			if shift >= 64 {
  4549  				return ErrIntOverflowOperations
  4550  			}
  4551  			if iNdEx >= l {
  4552  				return io.ErrUnexpectedEOF
  4553  			}
  4554  			b := dAtA[iNdEx]
  4555  			iNdEx++
  4556  			wire |= uint64(b&0x7F) << shift
  4557  			if b < 0x80 {
  4558  				break
  4559  			}
  4560  		}
  4561  		fieldNum := int32(wire >> 3)
  4562  		wireType := int(wire & 0x7)
  4563  		if wireType == 4 {
  4564  			return fmt.Errorf("proto: GetDatabasesResp: wiretype end group for non-group")
  4565  		}
  4566  		if fieldNum <= 0 {
  4567  			return fmt.Errorf("proto: GetDatabasesResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4568  		}
  4569  		switch fieldNum {
  4570  		case 1:
  4571  			if wireType != 2 {
  4572  				return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType)
  4573  			}
  4574  			var stringLen uint64
  4575  			for shift := uint(0); ; shift += 7 {
  4576  				if shift >= 64 {
  4577  					return ErrIntOverflowOperations
  4578  				}
  4579  				if iNdEx >= l {
  4580  					return io.ErrUnexpectedEOF
  4581  				}
  4582  				b := dAtA[iNdEx]
  4583  				iNdEx++
  4584  				stringLen |= uint64(b&0x7F) << shift
  4585  				if b < 0x80 {
  4586  					break
  4587  				}
  4588  			}
  4589  			intStringLen := int(stringLen)
  4590  			if intStringLen < 0 {
  4591  				return ErrInvalidLengthOperations
  4592  			}
  4593  			postIndex := iNdEx + intStringLen
  4594  			if postIndex < 0 {
  4595  				return ErrInvalidLengthOperations
  4596  			}
  4597  			if postIndex > l {
  4598  				return io.ErrUnexpectedEOF
  4599  			}
  4600  			m.Names = append(m.Names, string(dAtA[iNdEx:postIndex]))
  4601  			iNdEx = postIndex
  4602  		default:
  4603  			iNdEx = preIndex
  4604  			skippy, err := skipOperations(dAtA[iNdEx:])
  4605  			if err != nil {
  4606  				return err
  4607  			}
  4608  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4609  				return ErrInvalidLengthOperations
  4610  			}
  4611  			if (iNdEx + skippy) > l {
  4612  				return io.ErrUnexpectedEOF
  4613  			}
  4614  			iNdEx += skippy
  4615  		}
  4616  	}
  4617  
  4618  	if iNdEx > l {
  4619  		return io.ErrUnexpectedEOF
  4620  	}
  4621  	return nil
  4622  }
  4623  func (m *DeleteDatabaseReq) Unmarshal(dAtA []byte) error {
  4624  	l := len(dAtA)
  4625  	iNdEx := 0
  4626  	for iNdEx < l {
  4627  		preIndex := iNdEx
  4628  		var wire uint64
  4629  		for shift := uint(0); ; shift += 7 {
  4630  			if shift >= 64 {
  4631  				return ErrIntOverflowOperations
  4632  			}
  4633  			if iNdEx >= l {
  4634  				return io.ErrUnexpectedEOF
  4635  			}
  4636  			b := dAtA[iNdEx]
  4637  			iNdEx++
  4638  			wire |= uint64(b&0x7F) << shift
  4639  			if b < 0x80 {
  4640  				break
  4641  			}
  4642  		}
  4643  		fieldNum := int32(wire >> 3)
  4644  		wireType := int(wire & 0x7)
  4645  		if wireType == 4 {
  4646  			return fmt.Errorf("proto: DeleteDatabaseReq: wiretype end group for non-group")
  4647  		}
  4648  		if fieldNum <= 0 {
  4649  			return fmt.Errorf("proto: DeleteDatabaseReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4650  		}
  4651  		switch fieldNum {
  4652  		case 1:
  4653  			if wireType != 2 {
  4654  				return fmt.Errorf("proto: wrong wireType = %d for field AccessInfo", wireType)
  4655  			}
  4656  			var msglen int
  4657  			for shift := uint(0); ; shift += 7 {
  4658  				if shift >= 64 {
  4659  					return ErrIntOverflowOperations
  4660  				}
  4661  				if iNdEx >= l {
  4662  					return io.ErrUnexpectedEOF
  4663  				}
  4664  				b := dAtA[iNdEx]
  4665  				iNdEx++
  4666  				msglen |= int(b&0x7F) << shift
  4667  				if b < 0x80 {
  4668  					break
  4669  				}
  4670  			}
  4671  			if msglen < 0 {
  4672  				return ErrInvalidLengthOperations
  4673  			}
  4674  			postIndex := iNdEx + msglen
  4675  			if postIndex < 0 {
  4676  				return ErrInvalidLengthOperations
  4677  			}
  4678  			if postIndex > l {
  4679  				return io.ErrUnexpectedEOF
  4680  			}
  4681  			if err := m.AccessInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4682  				return err
  4683  			}
  4684  			iNdEx = postIndex
  4685  		case 2:
  4686  			if wireType != 2 {
  4687  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4688  			}
  4689  			var stringLen uint64
  4690  			for shift := uint(0); ; shift += 7 {
  4691  				if shift >= 64 {
  4692  					return ErrIntOverflowOperations
  4693  				}
  4694  				if iNdEx >= l {
  4695  					return io.ErrUnexpectedEOF
  4696  				}
  4697  				b := dAtA[iNdEx]
  4698  				iNdEx++
  4699  				stringLen |= uint64(b&0x7F) << shift
  4700  				if b < 0x80 {
  4701  					break
  4702  				}
  4703  			}
  4704  			intStringLen := int(stringLen)
  4705  			if intStringLen < 0 {
  4706  				return ErrInvalidLengthOperations
  4707  			}
  4708  			postIndex := iNdEx + intStringLen
  4709  			if postIndex < 0 {
  4710  				return ErrInvalidLengthOperations
  4711  			}
  4712  			if postIndex > l {
  4713  				return io.ErrUnexpectedEOF
  4714  			}
  4715  			m.Name = string(dAtA[iNdEx:postIndex])
  4716  			iNdEx = postIndex
  4717  		default:
  4718  			iNdEx = preIndex
  4719  			skippy, err := skipOperations(dAtA[iNdEx:])
  4720  			if err != nil {
  4721  				return err
  4722  			}
  4723  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4724  				return ErrInvalidLengthOperations
  4725  			}
  4726  			if (iNdEx + skippy) > l {
  4727  				return io.ErrUnexpectedEOF
  4728  			}
  4729  			iNdEx += skippy
  4730  		}
  4731  	}
  4732  
  4733  	if iNdEx > l {
  4734  		return io.ErrUnexpectedEOF
  4735  	}
  4736  	return nil
  4737  }
  4738  func (m *DeleteDatabaseResp) Unmarshal(dAtA []byte) error {
  4739  	l := len(dAtA)
  4740  	iNdEx := 0
  4741  	for iNdEx < l {
  4742  		preIndex := iNdEx
  4743  		var wire uint64
  4744  		for shift := uint(0); ; shift += 7 {
  4745  			if shift >= 64 {
  4746  				return ErrIntOverflowOperations
  4747  			}
  4748  			if iNdEx >= l {
  4749  				return io.ErrUnexpectedEOF
  4750  			}
  4751  			b := dAtA[iNdEx]
  4752  			iNdEx++
  4753  			wire |= uint64(b&0x7F) << shift
  4754  			if b < 0x80 {
  4755  				break
  4756  			}
  4757  		}
  4758  		fieldNum := int32(wire >> 3)
  4759  		wireType := int(wire & 0x7)
  4760  		if wireType == 4 {
  4761  			return fmt.Errorf("proto: DeleteDatabaseResp: wiretype end group for non-group")
  4762  		}
  4763  		if fieldNum <= 0 {
  4764  			return fmt.Errorf("proto: DeleteDatabaseResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4765  		}
  4766  		switch fieldNum {
  4767  		case 1:
  4768  			if wireType != 0 {
  4769  				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4770  			}
  4771  			m.ID = 0
  4772  			for shift := uint(0); ; shift += 7 {
  4773  				if shift >= 64 {
  4774  					return ErrIntOverflowOperations
  4775  				}
  4776  				if iNdEx >= l {
  4777  					return io.ErrUnexpectedEOF
  4778  				}
  4779  				b := dAtA[iNdEx]
  4780  				iNdEx++
  4781  				m.ID |= ID(b&0x7F) << shift
  4782  				if b < 0x80 {
  4783  					break
  4784  				}
  4785  			}
  4786  		default:
  4787  			iNdEx = preIndex
  4788  			skippy, err := skipOperations(dAtA[iNdEx:])
  4789  			if err != nil {
  4790  				return err
  4791  			}
  4792  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4793  				return ErrInvalidLengthOperations
  4794  			}
  4795  			if (iNdEx + skippy) > l {
  4796  				return io.ErrUnexpectedEOF
  4797  			}
  4798  			iNdEx += skippy
  4799  		}
  4800  	}
  4801  
  4802  	if iNdEx > l {
  4803  		return io.ErrUnexpectedEOF
  4804  	}
  4805  	return nil
  4806  }
  4807  func (m *OpenRelationReq) Unmarshal(dAtA []byte) error {
  4808  	l := len(dAtA)
  4809  	iNdEx := 0
  4810  	for iNdEx < l {
  4811  		preIndex := iNdEx
  4812  		var wire uint64
  4813  		for shift := uint(0); ; shift += 7 {
  4814  			if shift >= 64 {
  4815  				return ErrIntOverflowOperations
  4816  			}
  4817  			if iNdEx >= l {
  4818  				return io.ErrUnexpectedEOF
  4819  			}
  4820  			b := dAtA[iNdEx]
  4821  			iNdEx++
  4822  			wire |= uint64(b&0x7F) << shift
  4823  			if b < 0x80 {
  4824  				break
  4825  			}
  4826  		}
  4827  		fieldNum := int32(wire >> 3)
  4828  		wireType := int(wire & 0x7)
  4829  		if wireType == 4 {
  4830  			return fmt.Errorf("proto: OpenRelationReq: wiretype end group for non-group")
  4831  		}
  4832  		if fieldNum <= 0 {
  4833  			return fmt.Errorf("proto: OpenRelationReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4834  		}
  4835  		switch fieldNum {
  4836  		case 1:
  4837  			if wireType != 0 {
  4838  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseID", wireType)
  4839  			}
  4840  			m.DatabaseID = 0
  4841  			for shift := uint(0); ; shift += 7 {
  4842  				if shift >= 64 {
  4843  					return ErrIntOverflowOperations
  4844  				}
  4845  				if iNdEx >= l {
  4846  					return io.ErrUnexpectedEOF
  4847  				}
  4848  				b := dAtA[iNdEx]
  4849  				iNdEx++
  4850  				m.DatabaseID |= ID(b&0x7F) << shift
  4851  				if b < 0x80 {
  4852  					break
  4853  				}
  4854  			}
  4855  		case 2:
  4856  			if wireType != 2 {
  4857  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseName", wireType)
  4858  			}
  4859  			var stringLen uint64
  4860  			for shift := uint(0); ; shift += 7 {
  4861  				if shift >= 64 {
  4862  					return ErrIntOverflowOperations
  4863  				}
  4864  				if iNdEx >= l {
  4865  					return io.ErrUnexpectedEOF
  4866  				}
  4867  				b := dAtA[iNdEx]
  4868  				iNdEx++
  4869  				stringLen |= uint64(b&0x7F) << shift
  4870  				if b < 0x80 {
  4871  					break
  4872  				}
  4873  			}
  4874  			intStringLen := int(stringLen)
  4875  			if intStringLen < 0 {
  4876  				return ErrInvalidLengthOperations
  4877  			}
  4878  			postIndex := iNdEx + intStringLen
  4879  			if postIndex < 0 {
  4880  				return ErrInvalidLengthOperations
  4881  			}
  4882  			if postIndex > l {
  4883  				return io.ErrUnexpectedEOF
  4884  			}
  4885  			m.DatabaseName = string(dAtA[iNdEx:postIndex])
  4886  			iNdEx = postIndex
  4887  		case 3:
  4888  			if wireType != 2 {
  4889  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4890  			}
  4891  			var stringLen uint64
  4892  			for shift := uint(0); ; shift += 7 {
  4893  				if shift >= 64 {
  4894  					return ErrIntOverflowOperations
  4895  				}
  4896  				if iNdEx >= l {
  4897  					return io.ErrUnexpectedEOF
  4898  				}
  4899  				b := dAtA[iNdEx]
  4900  				iNdEx++
  4901  				stringLen |= uint64(b&0x7F) << shift
  4902  				if b < 0x80 {
  4903  					break
  4904  				}
  4905  			}
  4906  			intStringLen := int(stringLen)
  4907  			if intStringLen < 0 {
  4908  				return ErrInvalidLengthOperations
  4909  			}
  4910  			postIndex := iNdEx + intStringLen
  4911  			if postIndex < 0 {
  4912  				return ErrInvalidLengthOperations
  4913  			}
  4914  			if postIndex > l {
  4915  				return io.ErrUnexpectedEOF
  4916  			}
  4917  			m.Name = string(dAtA[iNdEx:postIndex])
  4918  			iNdEx = postIndex
  4919  		default:
  4920  			iNdEx = preIndex
  4921  			skippy, err := skipOperations(dAtA[iNdEx:])
  4922  			if err != nil {
  4923  				return err
  4924  			}
  4925  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4926  				return ErrInvalidLengthOperations
  4927  			}
  4928  			if (iNdEx + skippy) > l {
  4929  				return io.ErrUnexpectedEOF
  4930  			}
  4931  			iNdEx += skippy
  4932  		}
  4933  	}
  4934  
  4935  	if iNdEx > l {
  4936  		return io.ErrUnexpectedEOF
  4937  	}
  4938  	return nil
  4939  }
  4940  func (m *OpenRelationResp) Unmarshal(dAtA []byte) error {
  4941  	l := len(dAtA)
  4942  	iNdEx := 0
  4943  	for iNdEx < l {
  4944  		preIndex := iNdEx
  4945  		var wire uint64
  4946  		for shift := uint(0); ; shift += 7 {
  4947  			if shift >= 64 {
  4948  				return ErrIntOverflowOperations
  4949  			}
  4950  			if iNdEx >= l {
  4951  				return io.ErrUnexpectedEOF
  4952  			}
  4953  			b := dAtA[iNdEx]
  4954  			iNdEx++
  4955  			wire |= uint64(b&0x7F) << shift
  4956  			if b < 0x80 {
  4957  				break
  4958  			}
  4959  		}
  4960  		fieldNum := int32(wire >> 3)
  4961  		wireType := int(wire & 0x7)
  4962  		if wireType == 4 {
  4963  			return fmt.Errorf("proto: OpenRelationResp: wiretype end group for non-group")
  4964  		}
  4965  		if fieldNum <= 0 {
  4966  			return fmt.Errorf("proto: OpenRelationResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4967  		}
  4968  		switch fieldNum {
  4969  		case 1:
  4970  			if wireType != 0 {
  4971  				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4972  			}
  4973  			m.ID = 0
  4974  			for shift := uint(0); ; shift += 7 {
  4975  				if shift >= 64 {
  4976  					return ErrIntOverflowOperations
  4977  				}
  4978  				if iNdEx >= l {
  4979  					return io.ErrUnexpectedEOF
  4980  				}
  4981  				b := dAtA[iNdEx]
  4982  				iNdEx++
  4983  				m.ID |= ID(b&0x7F) << shift
  4984  				if b < 0x80 {
  4985  					break
  4986  				}
  4987  			}
  4988  		case 2:
  4989  			if wireType != 0 {
  4990  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4991  			}
  4992  			m.Type = 0
  4993  			for shift := uint(0); ; shift += 7 {
  4994  				if shift >= 64 {
  4995  					return ErrIntOverflowOperations
  4996  				}
  4997  				if iNdEx >= l {
  4998  					return io.ErrUnexpectedEOF
  4999  				}
  5000  				b := dAtA[iNdEx]
  5001  				iNdEx++
  5002  				m.Type |= RelationType(b&0x7F) << shift
  5003  				if b < 0x80 {
  5004  					break
  5005  				}
  5006  			}
  5007  		case 3:
  5008  			if wireType != 2 {
  5009  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseName", wireType)
  5010  			}
  5011  			var stringLen uint64
  5012  			for shift := uint(0); ; shift += 7 {
  5013  				if shift >= 64 {
  5014  					return ErrIntOverflowOperations
  5015  				}
  5016  				if iNdEx >= l {
  5017  					return io.ErrUnexpectedEOF
  5018  				}
  5019  				b := dAtA[iNdEx]
  5020  				iNdEx++
  5021  				stringLen |= uint64(b&0x7F) << shift
  5022  				if b < 0x80 {
  5023  					break
  5024  				}
  5025  			}
  5026  			intStringLen := int(stringLen)
  5027  			if intStringLen < 0 {
  5028  				return ErrInvalidLengthOperations
  5029  			}
  5030  			postIndex := iNdEx + intStringLen
  5031  			if postIndex < 0 {
  5032  				return ErrInvalidLengthOperations
  5033  			}
  5034  			if postIndex > l {
  5035  				return io.ErrUnexpectedEOF
  5036  			}
  5037  			m.DatabaseName = string(dAtA[iNdEx:postIndex])
  5038  			iNdEx = postIndex
  5039  		case 4:
  5040  			if wireType != 2 {
  5041  				return fmt.Errorf("proto: wrong wireType = %d for field RelationName", wireType)
  5042  			}
  5043  			var stringLen uint64
  5044  			for shift := uint(0); ; shift += 7 {
  5045  				if shift >= 64 {
  5046  					return ErrIntOverflowOperations
  5047  				}
  5048  				if iNdEx >= l {
  5049  					return io.ErrUnexpectedEOF
  5050  				}
  5051  				b := dAtA[iNdEx]
  5052  				iNdEx++
  5053  				stringLen |= uint64(b&0x7F) << shift
  5054  				if b < 0x80 {
  5055  					break
  5056  				}
  5057  			}
  5058  			intStringLen := int(stringLen)
  5059  			if intStringLen < 0 {
  5060  				return ErrInvalidLengthOperations
  5061  			}
  5062  			postIndex := iNdEx + intStringLen
  5063  			if postIndex < 0 {
  5064  				return ErrInvalidLengthOperations
  5065  			}
  5066  			if postIndex > l {
  5067  				return io.ErrUnexpectedEOF
  5068  			}
  5069  			m.RelationName = string(dAtA[iNdEx:postIndex])
  5070  			iNdEx = postIndex
  5071  		default:
  5072  			iNdEx = preIndex
  5073  			skippy, err := skipOperations(dAtA[iNdEx:])
  5074  			if err != nil {
  5075  				return err
  5076  			}
  5077  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5078  				return ErrInvalidLengthOperations
  5079  			}
  5080  			if (iNdEx + skippy) > l {
  5081  				return io.ErrUnexpectedEOF
  5082  			}
  5083  			iNdEx += skippy
  5084  		}
  5085  	}
  5086  
  5087  	if iNdEx > l {
  5088  		return io.ErrUnexpectedEOF
  5089  	}
  5090  	return nil
  5091  }
  5092  func (m *CreateRelationReq) Unmarshal(dAtA []byte) error {
  5093  	l := len(dAtA)
  5094  	iNdEx := 0
  5095  	for iNdEx < l {
  5096  		preIndex := iNdEx
  5097  		var wire uint64
  5098  		for shift := uint(0); ; shift += 7 {
  5099  			if shift >= 64 {
  5100  				return ErrIntOverflowOperations
  5101  			}
  5102  			if iNdEx >= l {
  5103  				return io.ErrUnexpectedEOF
  5104  			}
  5105  			b := dAtA[iNdEx]
  5106  			iNdEx++
  5107  			wire |= uint64(b&0x7F) << shift
  5108  			if b < 0x80 {
  5109  				break
  5110  			}
  5111  		}
  5112  		fieldNum := int32(wire >> 3)
  5113  		wireType := int(wire & 0x7)
  5114  		if wireType == 4 {
  5115  			return fmt.Errorf("proto: CreateRelationReq: wiretype end group for non-group")
  5116  		}
  5117  		if fieldNum <= 0 {
  5118  			return fmt.Errorf("proto: CreateRelationReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5119  		}
  5120  		switch fieldNum {
  5121  		case 1:
  5122  			if wireType != 0 {
  5123  				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  5124  			}
  5125  			m.ID = 0
  5126  			for shift := uint(0); ; shift += 7 {
  5127  				if shift >= 64 {
  5128  					return ErrIntOverflowOperations
  5129  				}
  5130  				if iNdEx >= l {
  5131  					return io.ErrUnexpectedEOF
  5132  				}
  5133  				b := dAtA[iNdEx]
  5134  				iNdEx++
  5135  				m.ID |= ID(b&0x7F) << shift
  5136  				if b < 0x80 {
  5137  					break
  5138  				}
  5139  			}
  5140  		case 2:
  5141  			if wireType != 0 {
  5142  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseID", wireType)
  5143  			}
  5144  			m.DatabaseID = 0
  5145  			for shift := uint(0); ; shift += 7 {
  5146  				if shift >= 64 {
  5147  					return ErrIntOverflowOperations
  5148  				}
  5149  				if iNdEx >= l {
  5150  					return io.ErrUnexpectedEOF
  5151  				}
  5152  				b := dAtA[iNdEx]
  5153  				iNdEx++
  5154  				m.DatabaseID |= ID(b&0x7F) << shift
  5155  				if b < 0x80 {
  5156  					break
  5157  				}
  5158  			}
  5159  		case 3:
  5160  			if wireType != 2 {
  5161  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseName", wireType)
  5162  			}
  5163  			var stringLen uint64
  5164  			for shift := uint(0); ; shift += 7 {
  5165  				if shift >= 64 {
  5166  					return ErrIntOverflowOperations
  5167  				}
  5168  				if iNdEx >= l {
  5169  					return io.ErrUnexpectedEOF
  5170  				}
  5171  				b := dAtA[iNdEx]
  5172  				iNdEx++
  5173  				stringLen |= uint64(b&0x7F) << shift
  5174  				if b < 0x80 {
  5175  					break
  5176  				}
  5177  			}
  5178  			intStringLen := int(stringLen)
  5179  			if intStringLen < 0 {
  5180  				return ErrInvalidLengthOperations
  5181  			}
  5182  			postIndex := iNdEx + intStringLen
  5183  			if postIndex < 0 {
  5184  				return ErrInvalidLengthOperations
  5185  			}
  5186  			if postIndex > l {
  5187  				return io.ErrUnexpectedEOF
  5188  			}
  5189  			m.DatabaseName = string(dAtA[iNdEx:postIndex])
  5190  			iNdEx = postIndex
  5191  		case 4:
  5192  			if wireType != 2 {
  5193  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5194  			}
  5195  			var stringLen uint64
  5196  			for shift := uint(0); ; shift += 7 {
  5197  				if shift >= 64 {
  5198  					return ErrIntOverflowOperations
  5199  				}
  5200  				if iNdEx >= l {
  5201  					return io.ErrUnexpectedEOF
  5202  				}
  5203  				b := dAtA[iNdEx]
  5204  				iNdEx++
  5205  				stringLen |= uint64(b&0x7F) << shift
  5206  				if b < 0x80 {
  5207  					break
  5208  				}
  5209  			}
  5210  			intStringLen := int(stringLen)
  5211  			if intStringLen < 0 {
  5212  				return ErrInvalidLengthOperations
  5213  			}
  5214  			postIndex := iNdEx + intStringLen
  5215  			if postIndex < 0 {
  5216  				return ErrInvalidLengthOperations
  5217  			}
  5218  			if postIndex > l {
  5219  				return io.ErrUnexpectedEOF
  5220  			}
  5221  			m.Name = string(dAtA[iNdEx:postIndex])
  5222  			iNdEx = postIndex
  5223  		case 5:
  5224  			if wireType != 0 {
  5225  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5226  			}
  5227  			m.Type = 0
  5228  			for shift := uint(0); ; shift += 7 {
  5229  				if shift >= 64 {
  5230  					return ErrIntOverflowOperations
  5231  				}
  5232  				if iNdEx >= l {
  5233  					return io.ErrUnexpectedEOF
  5234  				}
  5235  				b := dAtA[iNdEx]
  5236  				iNdEx++
  5237  				m.Type |= RelationType(b&0x7F) << shift
  5238  				if b < 0x80 {
  5239  					break
  5240  				}
  5241  			}
  5242  		case 6:
  5243  			if wireType != 2 {
  5244  				return fmt.Errorf("proto: wrong wireType = %d for field Defs", wireType)
  5245  			}
  5246  			var byteLen int
  5247  			for shift := uint(0); ; shift += 7 {
  5248  				if shift >= 64 {
  5249  					return ErrIntOverflowOperations
  5250  				}
  5251  				if iNdEx >= l {
  5252  					return io.ErrUnexpectedEOF
  5253  				}
  5254  				b := dAtA[iNdEx]
  5255  				iNdEx++
  5256  				byteLen |= int(b&0x7F) << shift
  5257  				if b < 0x80 {
  5258  					break
  5259  				}
  5260  			}
  5261  			if byteLen < 0 {
  5262  				return ErrInvalidLengthOperations
  5263  			}
  5264  			postIndex := iNdEx + byteLen
  5265  			if postIndex < 0 {
  5266  				return ErrInvalidLengthOperations
  5267  			}
  5268  			if postIndex > l {
  5269  				return io.ErrUnexpectedEOF
  5270  			}
  5271  			var v github_com_matrixorigin_matrixone_pkg_vm_engine.TableDefPB
  5272  			m.Defs = append(m.Defs, v)
  5273  			if err := m.Defs[len(m.Defs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5274  				return err
  5275  			}
  5276  			iNdEx = postIndex
  5277  		default:
  5278  			iNdEx = preIndex
  5279  			skippy, err := skipOperations(dAtA[iNdEx:])
  5280  			if err != nil {
  5281  				return err
  5282  			}
  5283  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5284  				return ErrInvalidLengthOperations
  5285  			}
  5286  			if (iNdEx + skippy) > l {
  5287  				return io.ErrUnexpectedEOF
  5288  			}
  5289  			iNdEx += skippy
  5290  		}
  5291  	}
  5292  
  5293  	if iNdEx > l {
  5294  		return io.ErrUnexpectedEOF
  5295  	}
  5296  	return nil
  5297  }
  5298  func (m *CreateRelationResp) Unmarshal(dAtA []byte) error {
  5299  	l := len(dAtA)
  5300  	iNdEx := 0
  5301  	for iNdEx < l {
  5302  		preIndex := iNdEx
  5303  		var wire uint64
  5304  		for shift := uint(0); ; shift += 7 {
  5305  			if shift >= 64 {
  5306  				return ErrIntOverflowOperations
  5307  			}
  5308  			if iNdEx >= l {
  5309  				return io.ErrUnexpectedEOF
  5310  			}
  5311  			b := dAtA[iNdEx]
  5312  			iNdEx++
  5313  			wire |= uint64(b&0x7F) << shift
  5314  			if b < 0x80 {
  5315  				break
  5316  			}
  5317  		}
  5318  		fieldNum := int32(wire >> 3)
  5319  		wireType := int(wire & 0x7)
  5320  		if wireType == 4 {
  5321  			return fmt.Errorf("proto: CreateRelationResp: wiretype end group for non-group")
  5322  		}
  5323  		if fieldNum <= 0 {
  5324  			return fmt.Errorf("proto: CreateRelationResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5325  		}
  5326  		switch fieldNum {
  5327  		case 1:
  5328  			if wireType != 0 {
  5329  				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  5330  			}
  5331  			m.ID = 0
  5332  			for shift := uint(0); ; shift += 7 {
  5333  				if shift >= 64 {
  5334  					return ErrIntOverflowOperations
  5335  				}
  5336  				if iNdEx >= l {
  5337  					return io.ErrUnexpectedEOF
  5338  				}
  5339  				b := dAtA[iNdEx]
  5340  				iNdEx++
  5341  				m.ID |= ID(b&0x7F) << shift
  5342  				if b < 0x80 {
  5343  					break
  5344  				}
  5345  			}
  5346  		default:
  5347  			iNdEx = preIndex
  5348  			skippy, err := skipOperations(dAtA[iNdEx:])
  5349  			if err != nil {
  5350  				return err
  5351  			}
  5352  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5353  				return ErrInvalidLengthOperations
  5354  			}
  5355  			if (iNdEx + skippy) > l {
  5356  				return io.ErrUnexpectedEOF
  5357  			}
  5358  			iNdEx += skippy
  5359  		}
  5360  	}
  5361  
  5362  	if iNdEx > l {
  5363  		return io.ErrUnexpectedEOF
  5364  	}
  5365  	return nil
  5366  }
  5367  func (m *GetRelationsReq) Unmarshal(dAtA []byte) error {
  5368  	l := len(dAtA)
  5369  	iNdEx := 0
  5370  	for iNdEx < l {
  5371  		preIndex := iNdEx
  5372  		var wire uint64
  5373  		for shift := uint(0); ; shift += 7 {
  5374  			if shift >= 64 {
  5375  				return ErrIntOverflowOperations
  5376  			}
  5377  			if iNdEx >= l {
  5378  				return io.ErrUnexpectedEOF
  5379  			}
  5380  			b := dAtA[iNdEx]
  5381  			iNdEx++
  5382  			wire |= uint64(b&0x7F) << shift
  5383  			if b < 0x80 {
  5384  				break
  5385  			}
  5386  		}
  5387  		fieldNum := int32(wire >> 3)
  5388  		wireType := int(wire & 0x7)
  5389  		if wireType == 4 {
  5390  			return fmt.Errorf("proto: GetRelationsReq: wiretype end group for non-group")
  5391  		}
  5392  		if fieldNum <= 0 {
  5393  			return fmt.Errorf("proto: GetRelationsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5394  		}
  5395  		switch fieldNum {
  5396  		case 1:
  5397  			if wireType != 0 {
  5398  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseID", wireType)
  5399  			}
  5400  			m.DatabaseID = 0
  5401  			for shift := uint(0); ; shift += 7 {
  5402  				if shift >= 64 {
  5403  					return ErrIntOverflowOperations
  5404  				}
  5405  				if iNdEx >= l {
  5406  					return io.ErrUnexpectedEOF
  5407  				}
  5408  				b := dAtA[iNdEx]
  5409  				iNdEx++
  5410  				m.DatabaseID |= ID(b&0x7F) << shift
  5411  				if b < 0x80 {
  5412  					break
  5413  				}
  5414  			}
  5415  		default:
  5416  			iNdEx = preIndex
  5417  			skippy, err := skipOperations(dAtA[iNdEx:])
  5418  			if err != nil {
  5419  				return err
  5420  			}
  5421  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5422  				return ErrInvalidLengthOperations
  5423  			}
  5424  			if (iNdEx + skippy) > l {
  5425  				return io.ErrUnexpectedEOF
  5426  			}
  5427  			iNdEx += skippy
  5428  		}
  5429  	}
  5430  
  5431  	if iNdEx > l {
  5432  		return io.ErrUnexpectedEOF
  5433  	}
  5434  	return nil
  5435  }
  5436  func (m *GetRelationsResp) Unmarshal(dAtA []byte) error {
  5437  	l := len(dAtA)
  5438  	iNdEx := 0
  5439  	for iNdEx < l {
  5440  		preIndex := iNdEx
  5441  		var wire uint64
  5442  		for shift := uint(0); ; shift += 7 {
  5443  			if shift >= 64 {
  5444  				return ErrIntOverflowOperations
  5445  			}
  5446  			if iNdEx >= l {
  5447  				return io.ErrUnexpectedEOF
  5448  			}
  5449  			b := dAtA[iNdEx]
  5450  			iNdEx++
  5451  			wire |= uint64(b&0x7F) << shift
  5452  			if b < 0x80 {
  5453  				break
  5454  			}
  5455  		}
  5456  		fieldNum := int32(wire >> 3)
  5457  		wireType := int(wire & 0x7)
  5458  		if wireType == 4 {
  5459  			return fmt.Errorf("proto: GetRelationsResp: wiretype end group for non-group")
  5460  		}
  5461  		if fieldNum <= 0 {
  5462  			return fmt.Errorf("proto: GetRelationsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5463  		}
  5464  		switch fieldNum {
  5465  		case 1:
  5466  			if wireType != 2 {
  5467  				return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType)
  5468  			}
  5469  			var stringLen uint64
  5470  			for shift := uint(0); ; shift += 7 {
  5471  				if shift >= 64 {
  5472  					return ErrIntOverflowOperations
  5473  				}
  5474  				if iNdEx >= l {
  5475  					return io.ErrUnexpectedEOF
  5476  				}
  5477  				b := dAtA[iNdEx]
  5478  				iNdEx++
  5479  				stringLen |= uint64(b&0x7F) << shift
  5480  				if b < 0x80 {
  5481  					break
  5482  				}
  5483  			}
  5484  			intStringLen := int(stringLen)
  5485  			if intStringLen < 0 {
  5486  				return ErrInvalidLengthOperations
  5487  			}
  5488  			postIndex := iNdEx + intStringLen
  5489  			if postIndex < 0 {
  5490  				return ErrInvalidLengthOperations
  5491  			}
  5492  			if postIndex > l {
  5493  				return io.ErrUnexpectedEOF
  5494  			}
  5495  			m.Names = append(m.Names, string(dAtA[iNdEx:postIndex]))
  5496  			iNdEx = postIndex
  5497  		default:
  5498  			iNdEx = preIndex
  5499  			skippy, err := skipOperations(dAtA[iNdEx:])
  5500  			if err != nil {
  5501  				return err
  5502  			}
  5503  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5504  				return ErrInvalidLengthOperations
  5505  			}
  5506  			if (iNdEx + skippy) > l {
  5507  				return io.ErrUnexpectedEOF
  5508  			}
  5509  			iNdEx += skippy
  5510  		}
  5511  	}
  5512  
  5513  	if iNdEx > l {
  5514  		return io.ErrUnexpectedEOF
  5515  	}
  5516  	return nil
  5517  }
  5518  func (m *DeleteRelationReq) Unmarshal(dAtA []byte) error {
  5519  	l := len(dAtA)
  5520  	iNdEx := 0
  5521  	for iNdEx < l {
  5522  		preIndex := iNdEx
  5523  		var wire uint64
  5524  		for shift := uint(0); ; shift += 7 {
  5525  			if shift >= 64 {
  5526  				return ErrIntOverflowOperations
  5527  			}
  5528  			if iNdEx >= l {
  5529  				return io.ErrUnexpectedEOF
  5530  			}
  5531  			b := dAtA[iNdEx]
  5532  			iNdEx++
  5533  			wire |= uint64(b&0x7F) << shift
  5534  			if b < 0x80 {
  5535  				break
  5536  			}
  5537  		}
  5538  		fieldNum := int32(wire >> 3)
  5539  		wireType := int(wire & 0x7)
  5540  		if wireType == 4 {
  5541  			return fmt.Errorf("proto: DeleteRelationReq: wiretype end group for non-group")
  5542  		}
  5543  		if fieldNum <= 0 {
  5544  			return fmt.Errorf("proto: DeleteRelationReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5545  		}
  5546  		switch fieldNum {
  5547  		case 1:
  5548  			if wireType != 0 {
  5549  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseID", wireType)
  5550  			}
  5551  			m.DatabaseID = 0
  5552  			for shift := uint(0); ; shift += 7 {
  5553  				if shift >= 64 {
  5554  					return ErrIntOverflowOperations
  5555  				}
  5556  				if iNdEx >= l {
  5557  					return io.ErrUnexpectedEOF
  5558  				}
  5559  				b := dAtA[iNdEx]
  5560  				iNdEx++
  5561  				m.DatabaseID |= ID(b&0x7F) << shift
  5562  				if b < 0x80 {
  5563  					break
  5564  				}
  5565  			}
  5566  		case 2:
  5567  			if wireType != 2 {
  5568  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseName", wireType)
  5569  			}
  5570  			var stringLen uint64
  5571  			for shift := uint(0); ; shift += 7 {
  5572  				if shift >= 64 {
  5573  					return ErrIntOverflowOperations
  5574  				}
  5575  				if iNdEx >= l {
  5576  					return io.ErrUnexpectedEOF
  5577  				}
  5578  				b := dAtA[iNdEx]
  5579  				iNdEx++
  5580  				stringLen |= uint64(b&0x7F) << shift
  5581  				if b < 0x80 {
  5582  					break
  5583  				}
  5584  			}
  5585  			intStringLen := int(stringLen)
  5586  			if intStringLen < 0 {
  5587  				return ErrInvalidLengthOperations
  5588  			}
  5589  			postIndex := iNdEx + intStringLen
  5590  			if postIndex < 0 {
  5591  				return ErrInvalidLengthOperations
  5592  			}
  5593  			if postIndex > l {
  5594  				return io.ErrUnexpectedEOF
  5595  			}
  5596  			m.DatabaseName = string(dAtA[iNdEx:postIndex])
  5597  			iNdEx = postIndex
  5598  		case 3:
  5599  			if wireType != 2 {
  5600  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5601  			}
  5602  			var stringLen uint64
  5603  			for shift := uint(0); ; shift += 7 {
  5604  				if shift >= 64 {
  5605  					return ErrIntOverflowOperations
  5606  				}
  5607  				if iNdEx >= l {
  5608  					return io.ErrUnexpectedEOF
  5609  				}
  5610  				b := dAtA[iNdEx]
  5611  				iNdEx++
  5612  				stringLen |= uint64(b&0x7F) << shift
  5613  				if b < 0x80 {
  5614  					break
  5615  				}
  5616  			}
  5617  			intStringLen := int(stringLen)
  5618  			if intStringLen < 0 {
  5619  				return ErrInvalidLengthOperations
  5620  			}
  5621  			postIndex := iNdEx + intStringLen
  5622  			if postIndex < 0 {
  5623  				return ErrInvalidLengthOperations
  5624  			}
  5625  			if postIndex > l {
  5626  				return io.ErrUnexpectedEOF
  5627  			}
  5628  			m.Name = string(dAtA[iNdEx:postIndex])
  5629  			iNdEx = postIndex
  5630  		default:
  5631  			iNdEx = preIndex
  5632  			skippy, err := skipOperations(dAtA[iNdEx:])
  5633  			if err != nil {
  5634  				return err
  5635  			}
  5636  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5637  				return ErrInvalidLengthOperations
  5638  			}
  5639  			if (iNdEx + skippy) > l {
  5640  				return io.ErrUnexpectedEOF
  5641  			}
  5642  			iNdEx += skippy
  5643  		}
  5644  	}
  5645  
  5646  	if iNdEx > l {
  5647  		return io.ErrUnexpectedEOF
  5648  	}
  5649  	return nil
  5650  }
  5651  func (m *DeleteRelationResp) Unmarshal(dAtA []byte) error {
  5652  	l := len(dAtA)
  5653  	iNdEx := 0
  5654  	for iNdEx < l {
  5655  		preIndex := iNdEx
  5656  		var wire uint64
  5657  		for shift := uint(0); ; shift += 7 {
  5658  			if shift >= 64 {
  5659  				return ErrIntOverflowOperations
  5660  			}
  5661  			if iNdEx >= l {
  5662  				return io.ErrUnexpectedEOF
  5663  			}
  5664  			b := dAtA[iNdEx]
  5665  			iNdEx++
  5666  			wire |= uint64(b&0x7F) << shift
  5667  			if b < 0x80 {
  5668  				break
  5669  			}
  5670  		}
  5671  		fieldNum := int32(wire >> 3)
  5672  		wireType := int(wire & 0x7)
  5673  		if wireType == 4 {
  5674  			return fmt.Errorf("proto: DeleteRelationResp: wiretype end group for non-group")
  5675  		}
  5676  		if fieldNum <= 0 {
  5677  			return fmt.Errorf("proto: DeleteRelationResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5678  		}
  5679  		switch fieldNum {
  5680  		case 1:
  5681  			if wireType != 0 {
  5682  				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  5683  			}
  5684  			m.ID = 0
  5685  			for shift := uint(0); ; shift += 7 {
  5686  				if shift >= 64 {
  5687  					return ErrIntOverflowOperations
  5688  				}
  5689  				if iNdEx >= l {
  5690  					return io.ErrUnexpectedEOF
  5691  				}
  5692  				b := dAtA[iNdEx]
  5693  				iNdEx++
  5694  				m.ID |= ID(b&0x7F) << shift
  5695  				if b < 0x80 {
  5696  					break
  5697  				}
  5698  			}
  5699  		default:
  5700  			iNdEx = preIndex
  5701  			skippy, err := skipOperations(dAtA[iNdEx:])
  5702  			if err != nil {
  5703  				return err
  5704  			}
  5705  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5706  				return ErrInvalidLengthOperations
  5707  			}
  5708  			if (iNdEx + skippy) > l {
  5709  				return io.ErrUnexpectedEOF
  5710  			}
  5711  			iNdEx += skippy
  5712  		}
  5713  	}
  5714  
  5715  	if iNdEx > l {
  5716  		return io.ErrUnexpectedEOF
  5717  	}
  5718  	return nil
  5719  }
  5720  func (m *GetTableDefsReq) Unmarshal(dAtA []byte) error {
  5721  	l := len(dAtA)
  5722  	iNdEx := 0
  5723  	for iNdEx < l {
  5724  		preIndex := iNdEx
  5725  		var wire uint64
  5726  		for shift := uint(0); ; shift += 7 {
  5727  			if shift >= 64 {
  5728  				return ErrIntOverflowOperations
  5729  			}
  5730  			if iNdEx >= l {
  5731  				return io.ErrUnexpectedEOF
  5732  			}
  5733  			b := dAtA[iNdEx]
  5734  			iNdEx++
  5735  			wire |= uint64(b&0x7F) << shift
  5736  			if b < 0x80 {
  5737  				break
  5738  			}
  5739  		}
  5740  		fieldNum := int32(wire >> 3)
  5741  		wireType := int(wire & 0x7)
  5742  		if wireType == 4 {
  5743  			return fmt.Errorf("proto: GetTableDefsReq: wiretype end group for non-group")
  5744  		}
  5745  		if fieldNum <= 0 {
  5746  			return fmt.Errorf("proto: GetTableDefsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5747  		}
  5748  		switch fieldNum {
  5749  		case 1:
  5750  			if wireType != 0 {
  5751  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
  5752  			}
  5753  			m.TableID = 0
  5754  			for shift := uint(0); ; shift += 7 {
  5755  				if shift >= 64 {
  5756  					return ErrIntOverflowOperations
  5757  				}
  5758  				if iNdEx >= l {
  5759  					return io.ErrUnexpectedEOF
  5760  				}
  5761  				b := dAtA[iNdEx]
  5762  				iNdEx++
  5763  				m.TableID |= ID(b&0x7F) << shift
  5764  				if b < 0x80 {
  5765  					break
  5766  				}
  5767  			}
  5768  		default:
  5769  			iNdEx = preIndex
  5770  			skippy, err := skipOperations(dAtA[iNdEx:])
  5771  			if err != nil {
  5772  				return err
  5773  			}
  5774  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5775  				return ErrInvalidLengthOperations
  5776  			}
  5777  			if (iNdEx + skippy) > l {
  5778  				return io.ErrUnexpectedEOF
  5779  			}
  5780  			iNdEx += skippy
  5781  		}
  5782  	}
  5783  
  5784  	if iNdEx > l {
  5785  		return io.ErrUnexpectedEOF
  5786  	}
  5787  	return nil
  5788  }
  5789  func (m *GetTableDefsResp) Unmarshal(dAtA []byte) error {
  5790  	l := len(dAtA)
  5791  	iNdEx := 0
  5792  	for iNdEx < l {
  5793  		preIndex := iNdEx
  5794  		var wire uint64
  5795  		for shift := uint(0); ; shift += 7 {
  5796  			if shift >= 64 {
  5797  				return ErrIntOverflowOperations
  5798  			}
  5799  			if iNdEx >= l {
  5800  				return io.ErrUnexpectedEOF
  5801  			}
  5802  			b := dAtA[iNdEx]
  5803  			iNdEx++
  5804  			wire |= uint64(b&0x7F) << shift
  5805  			if b < 0x80 {
  5806  				break
  5807  			}
  5808  		}
  5809  		fieldNum := int32(wire >> 3)
  5810  		wireType := int(wire & 0x7)
  5811  		if wireType == 4 {
  5812  			return fmt.Errorf("proto: GetTableDefsResp: wiretype end group for non-group")
  5813  		}
  5814  		if fieldNum <= 0 {
  5815  			return fmt.Errorf("proto: GetTableDefsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5816  		}
  5817  		switch fieldNum {
  5818  		case 1:
  5819  			if wireType != 2 {
  5820  				return fmt.Errorf("proto: wrong wireType = %d for field Defs", wireType)
  5821  			}
  5822  			var byteLen int
  5823  			for shift := uint(0); ; shift += 7 {
  5824  				if shift >= 64 {
  5825  					return ErrIntOverflowOperations
  5826  				}
  5827  				if iNdEx >= l {
  5828  					return io.ErrUnexpectedEOF
  5829  				}
  5830  				b := dAtA[iNdEx]
  5831  				iNdEx++
  5832  				byteLen |= int(b&0x7F) << shift
  5833  				if b < 0x80 {
  5834  					break
  5835  				}
  5836  			}
  5837  			if byteLen < 0 {
  5838  				return ErrInvalidLengthOperations
  5839  			}
  5840  			postIndex := iNdEx + byteLen
  5841  			if postIndex < 0 {
  5842  				return ErrInvalidLengthOperations
  5843  			}
  5844  			if postIndex > l {
  5845  				return io.ErrUnexpectedEOF
  5846  			}
  5847  			var v github_com_matrixorigin_matrixone_pkg_vm_engine.TableDefPB
  5848  			m.Defs = append(m.Defs, v)
  5849  			if err := m.Defs[len(m.Defs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5850  				return err
  5851  			}
  5852  			iNdEx = postIndex
  5853  		default:
  5854  			iNdEx = preIndex
  5855  			skippy, err := skipOperations(dAtA[iNdEx:])
  5856  			if err != nil {
  5857  				return err
  5858  			}
  5859  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5860  				return ErrInvalidLengthOperations
  5861  			}
  5862  			if (iNdEx + skippy) > l {
  5863  				return io.ErrUnexpectedEOF
  5864  			}
  5865  			iNdEx += skippy
  5866  		}
  5867  	}
  5868  
  5869  	if iNdEx > l {
  5870  		return io.ErrUnexpectedEOF
  5871  	}
  5872  	return nil
  5873  }
  5874  func (m *WriteResp) Unmarshal(dAtA []byte) error {
  5875  	l := len(dAtA)
  5876  	iNdEx := 0
  5877  	for iNdEx < l {
  5878  		preIndex := iNdEx
  5879  		var wire uint64
  5880  		for shift := uint(0); ; shift += 7 {
  5881  			if shift >= 64 {
  5882  				return ErrIntOverflowOperations
  5883  			}
  5884  			if iNdEx >= l {
  5885  				return io.ErrUnexpectedEOF
  5886  			}
  5887  			b := dAtA[iNdEx]
  5888  			iNdEx++
  5889  			wire |= uint64(b&0x7F) << shift
  5890  			if b < 0x80 {
  5891  				break
  5892  			}
  5893  		}
  5894  		fieldNum := int32(wire >> 3)
  5895  		wireType := int(wire & 0x7)
  5896  		if wireType == 4 {
  5897  			return fmt.Errorf("proto: WriteResp: wiretype end group for non-group")
  5898  		}
  5899  		if fieldNum <= 0 {
  5900  			return fmt.Errorf("proto: WriteResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5901  		}
  5902  		switch fieldNum {
  5903  		default:
  5904  			iNdEx = preIndex
  5905  			skippy, err := skipOperations(dAtA[iNdEx:])
  5906  			if err != nil {
  5907  				return err
  5908  			}
  5909  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5910  				return ErrInvalidLengthOperations
  5911  			}
  5912  			if (iNdEx + skippy) > l {
  5913  				return io.ErrUnexpectedEOF
  5914  			}
  5915  			iNdEx += skippy
  5916  		}
  5917  	}
  5918  
  5919  	if iNdEx > l {
  5920  		return io.ErrUnexpectedEOF
  5921  	}
  5922  	return nil
  5923  }
  5924  func (m *NewTableIterReq) Unmarshal(dAtA []byte) error {
  5925  	l := len(dAtA)
  5926  	iNdEx := 0
  5927  	for iNdEx < l {
  5928  		preIndex := iNdEx
  5929  		var wire uint64
  5930  		for shift := uint(0); ; shift += 7 {
  5931  			if shift >= 64 {
  5932  				return ErrIntOverflowOperations
  5933  			}
  5934  			if iNdEx >= l {
  5935  				return io.ErrUnexpectedEOF
  5936  			}
  5937  			b := dAtA[iNdEx]
  5938  			iNdEx++
  5939  			wire |= uint64(b&0x7F) << shift
  5940  			if b < 0x80 {
  5941  				break
  5942  			}
  5943  		}
  5944  		fieldNum := int32(wire >> 3)
  5945  		wireType := int(wire & 0x7)
  5946  		if wireType == 4 {
  5947  			return fmt.Errorf("proto: NewTableIterReq: wiretype end group for non-group")
  5948  		}
  5949  		if fieldNum <= 0 {
  5950  			return fmt.Errorf("proto: NewTableIterReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5951  		}
  5952  		switch fieldNum {
  5953  		case 1:
  5954  			if wireType != 0 {
  5955  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
  5956  			}
  5957  			m.TableID = 0
  5958  			for shift := uint(0); ; shift += 7 {
  5959  				if shift >= 64 {
  5960  					return ErrIntOverflowOperations
  5961  				}
  5962  				if iNdEx >= l {
  5963  					return io.ErrUnexpectedEOF
  5964  				}
  5965  				b := dAtA[iNdEx]
  5966  				iNdEx++
  5967  				m.TableID |= ID(b&0x7F) << shift
  5968  				if b < 0x80 {
  5969  					break
  5970  				}
  5971  			}
  5972  		case 2:
  5973  			if wireType != 2 {
  5974  				return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType)
  5975  			}
  5976  			var msglen int
  5977  			for shift := uint(0); ; shift += 7 {
  5978  				if shift >= 64 {
  5979  					return ErrIntOverflowOperations
  5980  				}
  5981  				if iNdEx >= l {
  5982  					return io.ErrUnexpectedEOF
  5983  				}
  5984  				b := dAtA[iNdEx]
  5985  				iNdEx++
  5986  				msglen |= int(b&0x7F) << shift
  5987  				if b < 0x80 {
  5988  					break
  5989  				}
  5990  			}
  5991  			if msglen < 0 {
  5992  				return ErrInvalidLengthOperations
  5993  			}
  5994  			postIndex := iNdEx + msglen
  5995  			if postIndex < 0 {
  5996  				return ErrInvalidLengthOperations
  5997  			}
  5998  			if postIndex > l {
  5999  				return io.ErrUnexpectedEOF
  6000  			}
  6001  			if m.Expr == nil {
  6002  				m.Expr = &plan.Expr{}
  6003  			}
  6004  			if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6005  				return err
  6006  			}
  6007  			iNdEx = postIndex
  6008  		default:
  6009  			iNdEx = preIndex
  6010  			skippy, err := skipOperations(dAtA[iNdEx:])
  6011  			if err != nil {
  6012  				return err
  6013  			}
  6014  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6015  				return ErrInvalidLengthOperations
  6016  			}
  6017  			if (iNdEx + skippy) > l {
  6018  				return io.ErrUnexpectedEOF
  6019  			}
  6020  			iNdEx += skippy
  6021  		}
  6022  	}
  6023  
  6024  	if iNdEx > l {
  6025  		return io.ErrUnexpectedEOF
  6026  	}
  6027  	return nil
  6028  }
  6029  func (m *NewTableIterResp) Unmarshal(dAtA []byte) error {
  6030  	l := len(dAtA)
  6031  	iNdEx := 0
  6032  	for iNdEx < l {
  6033  		preIndex := iNdEx
  6034  		var wire uint64
  6035  		for shift := uint(0); ; shift += 7 {
  6036  			if shift >= 64 {
  6037  				return ErrIntOverflowOperations
  6038  			}
  6039  			if iNdEx >= l {
  6040  				return io.ErrUnexpectedEOF
  6041  			}
  6042  			b := dAtA[iNdEx]
  6043  			iNdEx++
  6044  			wire |= uint64(b&0x7F) << shift
  6045  			if b < 0x80 {
  6046  				break
  6047  			}
  6048  		}
  6049  		fieldNum := int32(wire >> 3)
  6050  		wireType := int(wire & 0x7)
  6051  		if wireType == 4 {
  6052  			return fmt.Errorf("proto: NewTableIterResp: wiretype end group for non-group")
  6053  		}
  6054  		if fieldNum <= 0 {
  6055  			return fmt.Errorf("proto: NewTableIterResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6056  		}
  6057  		switch fieldNum {
  6058  		case 1:
  6059  			if wireType != 0 {
  6060  				return fmt.Errorf("proto: wrong wireType = %d for field IterID", wireType)
  6061  			}
  6062  			m.IterID = 0
  6063  			for shift := uint(0); ; shift += 7 {
  6064  				if shift >= 64 {
  6065  					return ErrIntOverflowOperations
  6066  				}
  6067  				if iNdEx >= l {
  6068  					return io.ErrUnexpectedEOF
  6069  				}
  6070  				b := dAtA[iNdEx]
  6071  				iNdEx++
  6072  				m.IterID |= ID(b&0x7F) << shift
  6073  				if b < 0x80 {
  6074  					break
  6075  				}
  6076  			}
  6077  		default:
  6078  			iNdEx = preIndex
  6079  			skippy, err := skipOperations(dAtA[iNdEx:])
  6080  			if err != nil {
  6081  				return err
  6082  			}
  6083  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6084  				return ErrInvalidLengthOperations
  6085  			}
  6086  			if (iNdEx + skippy) > l {
  6087  				return io.ErrUnexpectedEOF
  6088  			}
  6089  			iNdEx += skippy
  6090  		}
  6091  	}
  6092  
  6093  	if iNdEx > l {
  6094  		return io.ErrUnexpectedEOF
  6095  	}
  6096  	return nil
  6097  }
  6098  func (m *ReadReq) Unmarshal(dAtA []byte) error {
  6099  	l := len(dAtA)
  6100  	iNdEx := 0
  6101  	for iNdEx < l {
  6102  		preIndex := iNdEx
  6103  		var wire uint64
  6104  		for shift := uint(0); ; shift += 7 {
  6105  			if shift >= 64 {
  6106  				return ErrIntOverflowOperations
  6107  			}
  6108  			if iNdEx >= l {
  6109  				return io.ErrUnexpectedEOF
  6110  			}
  6111  			b := dAtA[iNdEx]
  6112  			iNdEx++
  6113  			wire |= uint64(b&0x7F) << shift
  6114  			if b < 0x80 {
  6115  				break
  6116  			}
  6117  		}
  6118  		fieldNum := int32(wire >> 3)
  6119  		wireType := int(wire & 0x7)
  6120  		if wireType == 4 {
  6121  			return fmt.Errorf("proto: ReadReq: wiretype end group for non-group")
  6122  		}
  6123  		if fieldNum <= 0 {
  6124  			return fmt.Errorf("proto: ReadReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6125  		}
  6126  		switch fieldNum {
  6127  		case 1:
  6128  			if wireType != 0 {
  6129  				return fmt.Errorf("proto: wrong wireType = %d for field IterID", wireType)
  6130  			}
  6131  			m.IterID = 0
  6132  			for shift := uint(0); ; shift += 7 {
  6133  				if shift >= 64 {
  6134  					return ErrIntOverflowOperations
  6135  				}
  6136  				if iNdEx >= l {
  6137  					return io.ErrUnexpectedEOF
  6138  				}
  6139  				b := dAtA[iNdEx]
  6140  				iNdEx++
  6141  				m.IterID |= ID(b&0x7F) << shift
  6142  				if b < 0x80 {
  6143  					break
  6144  				}
  6145  			}
  6146  		case 2:
  6147  			if wireType != 2 {
  6148  				return fmt.Errorf("proto: wrong wireType = %d for field ColNames", wireType)
  6149  			}
  6150  			var stringLen uint64
  6151  			for shift := uint(0); ; shift += 7 {
  6152  				if shift >= 64 {
  6153  					return ErrIntOverflowOperations
  6154  				}
  6155  				if iNdEx >= l {
  6156  					return io.ErrUnexpectedEOF
  6157  				}
  6158  				b := dAtA[iNdEx]
  6159  				iNdEx++
  6160  				stringLen |= uint64(b&0x7F) << shift
  6161  				if b < 0x80 {
  6162  					break
  6163  				}
  6164  			}
  6165  			intStringLen := int(stringLen)
  6166  			if intStringLen < 0 {
  6167  				return ErrInvalidLengthOperations
  6168  			}
  6169  			postIndex := iNdEx + intStringLen
  6170  			if postIndex < 0 {
  6171  				return ErrInvalidLengthOperations
  6172  			}
  6173  			if postIndex > l {
  6174  				return io.ErrUnexpectedEOF
  6175  			}
  6176  			m.ColNames = append(m.ColNames, string(dAtA[iNdEx:postIndex]))
  6177  			iNdEx = postIndex
  6178  		default:
  6179  			iNdEx = preIndex
  6180  			skippy, err := skipOperations(dAtA[iNdEx:])
  6181  			if err != nil {
  6182  				return err
  6183  			}
  6184  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6185  				return ErrInvalidLengthOperations
  6186  			}
  6187  			if (iNdEx + skippy) > l {
  6188  				return io.ErrUnexpectedEOF
  6189  			}
  6190  			iNdEx += skippy
  6191  		}
  6192  	}
  6193  
  6194  	if iNdEx > l {
  6195  		return io.ErrUnexpectedEOF
  6196  	}
  6197  	return nil
  6198  }
  6199  func (m *DeleteResp) Unmarshal(dAtA []byte) error {
  6200  	l := len(dAtA)
  6201  	iNdEx := 0
  6202  	for iNdEx < l {
  6203  		preIndex := iNdEx
  6204  		var wire uint64
  6205  		for shift := uint(0); ; shift += 7 {
  6206  			if shift >= 64 {
  6207  				return ErrIntOverflowOperations
  6208  			}
  6209  			if iNdEx >= l {
  6210  				return io.ErrUnexpectedEOF
  6211  			}
  6212  			b := dAtA[iNdEx]
  6213  			iNdEx++
  6214  			wire |= uint64(b&0x7F) << shift
  6215  			if b < 0x80 {
  6216  				break
  6217  			}
  6218  		}
  6219  		fieldNum := int32(wire >> 3)
  6220  		wireType := int(wire & 0x7)
  6221  		if wireType == 4 {
  6222  			return fmt.Errorf("proto: DeleteResp: wiretype end group for non-group")
  6223  		}
  6224  		if fieldNum <= 0 {
  6225  			return fmt.Errorf("proto: DeleteResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6226  		}
  6227  		switch fieldNum {
  6228  		default:
  6229  			iNdEx = preIndex
  6230  			skippy, err := skipOperations(dAtA[iNdEx:])
  6231  			if err != nil {
  6232  				return err
  6233  			}
  6234  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6235  				return ErrInvalidLengthOperations
  6236  			}
  6237  			if (iNdEx + skippy) > l {
  6238  				return io.ErrUnexpectedEOF
  6239  			}
  6240  			iNdEx += skippy
  6241  		}
  6242  	}
  6243  
  6244  	if iNdEx > l {
  6245  		return io.ErrUnexpectedEOF
  6246  	}
  6247  	return nil
  6248  }
  6249  func (m *GetPrimaryKeysReq) Unmarshal(dAtA []byte) error {
  6250  	l := len(dAtA)
  6251  	iNdEx := 0
  6252  	for iNdEx < l {
  6253  		preIndex := iNdEx
  6254  		var wire uint64
  6255  		for shift := uint(0); ; shift += 7 {
  6256  			if shift >= 64 {
  6257  				return ErrIntOverflowOperations
  6258  			}
  6259  			if iNdEx >= l {
  6260  				return io.ErrUnexpectedEOF
  6261  			}
  6262  			b := dAtA[iNdEx]
  6263  			iNdEx++
  6264  			wire |= uint64(b&0x7F) << shift
  6265  			if b < 0x80 {
  6266  				break
  6267  			}
  6268  		}
  6269  		fieldNum := int32(wire >> 3)
  6270  		wireType := int(wire & 0x7)
  6271  		if wireType == 4 {
  6272  			return fmt.Errorf("proto: GetPrimaryKeysReq: wiretype end group for non-group")
  6273  		}
  6274  		if fieldNum <= 0 {
  6275  			return fmt.Errorf("proto: GetPrimaryKeysReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6276  		}
  6277  		switch fieldNum {
  6278  		case 1:
  6279  			if wireType != 0 {
  6280  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
  6281  			}
  6282  			m.TableID = 0
  6283  			for shift := uint(0); ; shift += 7 {
  6284  				if shift >= 64 {
  6285  					return ErrIntOverflowOperations
  6286  				}
  6287  				if iNdEx >= l {
  6288  					return io.ErrUnexpectedEOF
  6289  				}
  6290  				b := dAtA[iNdEx]
  6291  				iNdEx++
  6292  				m.TableID |= ID(b&0x7F) << shift
  6293  				if b < 0x80 {
  6294  					break
  6295  				}
  6296  			}
  6297  		default:
  6298  			iNdEx = preIndex
  6299  			skippy, err := skipOperations(dAtA[iNdEx:])
  6300  			if err != nil {
  6301  				return err
  6302  			}
  6303  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6304  				return ErrInvalidLengthOperations
  6305  			}
  6306  			if (iNdEx + skippy) > l {
  6307  				return io.ErrUnexpectedEOF
  6308  			}
  6309  			iNdEx += skippy
  6310  		}
  6311  	}
  6312  
  6313  	if iNdEx > l {
  6314  		return io.ErrUnexpectedEOF
  6315  	}
  6316  	return nil
  6317  }
  6318  func (m *GetPrimaryKeysResp) Unmarshal(dAtA []byte) error {
  6319  	l := len(dAtA)
  6320  	iNdEx := 0
  6321  	for iNdEx < l {
  6322  		preIndex := iNdEx
  6323  		var wire uint64
  6324  		for shift := uint(0); ; shift += 7 {
  6325  			if shift >= 64 {
  6326  				return ErrIntOverflowOperations
  6327  			}
  6328  			if iNdEx >= l {
  6329  				return io.ErrUnexpectedEOF
  6330  			}
  6331  			b := dAtA[iNdEx]
  6332  			iNdEx++
  6333  			wire |= uint64(b&0x7F) << shift
  6334  			if b < 0x80 {
  6335  				break
  6336  			}
  6337  		}
  6338  		fieldNum := int32(wire >> 3)
  6339  		wireType := int(wire & 0x7)
  6340  		if wireType == 4 {
  6341  			return fmt.Errorf("proto: GetPrimaryKeysResp: wiretype end group for non-group")
  6342  		}
  6343  		if fieldNum <= 0 {
  6344  			return fmt.Errorf("proto: GetPrimaryKeysResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6345  		}
  6346  		switch fieldNum {
  6347  		case 1:
  6348  			if wireType != 2 {
  6349  				return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
  6350  			}
  6351  			var byteLen int
  6352  			for shift := uint(0); ; shift += 7 {
  6353  				if shift >= 64 {
  6354  					return ErrIntOverflowOperations
  6355  				}
  6356  				if iNdEx >= l {
  6357  					return io.ErrUnexpectedEOF
  6358  				}
  6359  				b := dAtA[iNdEx]
  6360  				iNdEx++
  6361  				byteLen |= int(b&0x7F) << shift
  6362  				if b < 0x80 {
  6363  					break
  6364  				}
  6365  			}
  6366  			if byteLen < 0 {
  6367  				return ErrInvalidLengthOperations
  6368  			}
  6369  			postIndex := iNdEx + byteLen
  6370  			if postIndex < 0 {
  6371  				return ErrInvalidLengthOperations
  6372  			}
  6373  			if postIndex > l {
  6374  				return io.ErrUnexpectedEOF
  6375  			}
  6376  			var v github_com_matrixorigin_matrixone_pkg_vm_engine.Attribute
  6377  			m.Attrs = append(m.Attrs, v)
  6378  			if err := m.Attrs[len(m.Attrs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6379  				return err
  6380  			}
  6381  			iNdEx = postIndex
  6382  		default:
  6383  			iNdEx = preIndex
  6384  			skippy, err := skipOperations(dAtA[iNdEx:])
  6385  			if err != nil {
  6386  				return err
  6387  			}
  6388  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6389  				return ErrInvalidLengthOperations
  6390  			}
  6391  			if (iNdEx + skippy) > l {
  6392  				return io.ErrUnexpectedEOF
  6393  			}
  6394  			iNdEx += skippy
  6395  		}
  6396  	}
  6397  
  6398  	if iNdEx > l {
  6399  		return io.ErrUnexpectedEOF
  6400  	}
  6401  	return nil
  6402  }
  6403  func (m *CloseTableIterReq) Unmarshal(dAtA []byte) error {
  6404  	l := len(dAtA)
  6405  	iNdEx := 0
  6406  	for iNdEx < l {
  6407  		preIndex := iNdEx
  6408  		var wire uint64
  6409  		for shift := uint(0); ; shift += 7 {
  6410  			if shift >= 64 {
  6411  				return ErrIntOverflowOperations
  6412  			}
  6413  			if iNdEx >= l {
  6414  				return io.ErrUnexpectedEOF
  6415  			}
  6416  			b := dAtA[iNdEx]
  6417  			iNdEx++
  6418  			wire |= uint64(b&0x7F) << shift
  6419  			if b < 0x80 {
  6420  				break
  6421  			}
  6422  		}
  6423  		fieldNum := int32(wire >> 3)
  6424  		wireType := int(wire & 0x7)
  6425  		if wireType == 4 {
  6426  			return fmt.Errorf("proto: CloseTableIterReq: wiretype end group for non-group")
  6427  		}
  6428  		if fieldNum <= 0 {
  6429  			return fmt.Errorf("proto: CloseTableIterReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6430  		}
  6431  		switch fieldNum {
  6432  		case 1:
  6433  			if wireType != 0 {
  6434  				return fmt.Errorf("proto: wrong wireType = %d for field IterID", wireType)
  6435  			}
  6436  			m.IterID = 0
  6437  			for shift := uint(0); ; shift += 7 {
  6438  				if shift >= 64 {
  6439  					return ErrIntOverflowOperations
  6440  				}
  6441  				if iNdEx >= l {
  6442  					return io.ErrUnexpectedEOF
  6443  				}
  6444  				b := dAtA[iNdEx]
  6445  				iNdEx++
  6446  				m.IterID |= ID(b&0x7F) << shift
  6447  				if b < 0x80 {
  6448  					break
  6449  				}
  6450  			}
  6451  		default:
  6452  			iNdEx = preIndex
  6453  			skippy, err := skipOperations(dAtA[iNdEx:])
  6454  			if err != nil {
  6455  				return err
  6456  			}
  6457  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6458  				return ErrInvalidLengthOperations
  6459  			}
  6460  			if (iNdEx + skippy) > l {
  6461  				return io.ErrUnexpectedEOF
  6462  			}
  6463  			iNdEx += skippy
  6464  		}
  6465  	}
  6466  
  6467  	if iNdEx > l {
  6468  		return io.ErrUnexpectedEOF
  6469  	}
  6470  	return nil
  6471  }
  6472  func (m *CloseTableIterResp) Unmarshal(dAtA []byte) error {
  6473  	l := len(dAtA)
  6474  	iNdEx := 0
  6475  	for iNdEx < l {
  6476  		preIndex := iNdEx
  6477  		var wire uint64
  6478  		for shift := uint(0); ; shift += 7 {
  6479  			if shift >= 64 {
  6480  				return ErrIntOverflowOperations
  6481  			}
  6482  			if iNdEx >= l {
  6483  				return io.ErrUnexpectedEOF
  6484  			}
  6485  			b := dAtA[iNdEx]
  6486  			iNdEx++
  6487  			wire |= uint64(b&0x7F) << shift
  6488  			if b < 0x80 {
  6489  				break
  6490  			}
  6491  		}
  6492  		fieldNum := int32(wire >> 3)
  6493  		wireType := int(wire & 0x7)
  6494  		if wireType == 4 {
  6495  			return fmt.Errorf("proto: CloseTableIterResp: wiretype end group for non-group")
  6496  		}
  6497  		if fieldNum <= 0 {
  6498  			return fmt.Errorf("proto: CloseTableIterResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6499  		}
  6500  		switch fieldNum {
  6501  		default:
  6502  			iNdEx = preIndex
  6503  			skippy, err := skipOperations(dAtA[iNdEx:])
  6504  			if err != nil {
  6505  				return err
  6506  			}
  6507  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6508  				return ErrInvalidLengthOperations
  6509  			}
  6510  			if (iNdEx + skippy) > l {
  6511  				return io.ErrUnexpectedEOF
  6512  			}
  6513  			iNdEx += skippy
  6514  		}
  6515  	}
  6516  
  6517  	if iNdEx > l {
  6518  		return io.ErrUnexpectedEOF
  6519  	}
  6520  	return nil
  6521  }
  6522  func (m *GetHiddenKeysReq) Unmarshal(dAtA []byte) error {
  6523  	l := len(dAtA)
  6524  	iNdEx := 0
  6525  	for iNdEx < l {
  6526  		preIndex := iNdEx
  6527  		var wire uint64
  6528  		for shift := uint(0); ; shift += 7 {
  6529  			if shift >= 64 {
  6530  				return ErrIntOverflowOperations
  6531  			}
  6532  			if iNdEx >= l {
  6533  				return io.ErrUnexpectedEOF
  6534  			}
  6535  			b := dAtA[iNdEx]
  6536  			iNdEx++
  6537  			wire |= uint64(b&0x7F) << shift
  6538  			if b < 0x80 {
  6539  				break
  6540  			}
  6541  		}
  6542  		fieldNum := int32(wire >> 3)
  6543  		wireType := int(wire & 0x7)
  6544  		if wireType == 4 {
  6545  			return fmt.Errorf("proto: GetHiddenKeysReq: wiretype end group for non-group")
  6546  		}
  6547  		if fieldNum <= 0 {
  6548  			return fmt.Errorf("proto: GetHiddenKeysReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6549  		}
  6550  		switch fieldNum {
  6551  		case 1:
  6552  			if wireType != 0 {
  6553  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
  6554  			}
  6555  			m.TableID = 0
  6556  			for shift := uint(0); ; shift += 7 {
  6557  				if shift >= 64 {
  6558  					return ErrIntOverflowOperations
  6559  				}
  6560  				if iNdEx >= l {
  6561  					return io.ErrUnexpectedEOF
  6562  				}
  6563  				b := dAtA[iNdEx]
  6564  				iNdEx++
  6565  				m.TableID |= ID(b&0x7F) << shift
  6566  				if b < 0x80 {
  6567  					break
  6568  				}
  6569  			}
  6570  		default:
  6571  			iNdEx = preIndex
  6572  			skippy, err := skipOperations(dAtA[iNdEx:])
  6573  			if err != nil {
  6574  				return err
  6575  			}
  6576  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6577  				return ErrInvalidLengthOperations
  6578  			}
  6579  			if (iNdEx + skippy) > l {
  6580  				return io.ErrUnexpectedEOF
  6581  			}
  6582  			iNdEx += skippy
  6583  		}
  6584  	}
  6585  
  6586  	if iNdEx > l {
  6587  		return io.ErrUnexpectedEOF
  6588  	}
  6589  	return nil
  6590  }
  6591  func (m *GetHiddenKeysResp) Unmarshal(dAtA []byte) error {
  6592  	l := len(dAtA)
  6593  	iNdEx := 0
  6594  	for iNdEx < l {
  6595  		preIndex := iNdEx
  6596  		var wire uint64
  6597  		for shift := uint(0); ; shift += 7 {
  6598  			if shift >= 64 {
  6599  				return ErrIntOverflowOperations
  6600  			}
  6601  			if iNdEx >= l {
  6602  				return io.ErrUnexpectedEOF
  6603  			}
  6604  			b := dAtA[iNdEx]
  6605  			iNdEx++
  6606  			wire |= uint64(b&0x7F) << shift
  6607  			if b < 0x80 {
  6608  				break
  6609  			}
  6610  		}
  6611  		fieldNum := int32(wire >> 3)
  6612  		wireType := int(wire & 0x7)
  6613  		if wireType == 4 {
  6614  			return fmt.Errorf("proto: GetHiddenKeysResp: wiretype end group for non-group")
  6615  		}
  6616  		if fieldNum <= 0 {
  6617  			return fmt.Errorf("proto: GetHiddenKeysResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6618  		}
  6619  		switch fieldNum {
  6620  		case 1:
  6621  			if wireType != 2 {
  6622  				return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
  6623  			}
  6624  			var byteLen int
  6625  			for shift := uint(0); ; shift += 7 {
  6626  				if shift >= 64 {
  6627  					return ErrIntOverflowOperations
  6628  				}
  6629  				if iNdEx >= l {
  6630  					return io.ErrUnexpectedEOF
  6631  				}
  6632  				b := dAtA[iNdEx]
  6633  				iNdEx++
  6634  				byteLen |= int(b&0x7F) << shift
  6635  				if b < 0x80 {
  6636  					break
  6637  				}
  6638  			}
  6639  			if byteLen < 0 {
  6640  				return ErrInvalidLengthOperations
  6641  			}
  6642  			postIndex := iNdEx + byteLen
  6643  			if postIndex < 0 {
  6644  				return ErrInvalidLengthOperations
  6645  			}
  6646  			if postIndex > l {
  6647  				return io.ErrUnexpectedEOF
  6648  			}
  6649  			var v github_com_matrixorigin_matrixone_pkg_vm_engine.Attribute
  6650  			m.Attrs = append(m.Attrs, v)
  6651  			if err := m.Attrs[len(m.Attrs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6652  				return err
  6653  			}
  6654  			iNdEx = postIndex
  6655  		default:
  6656  			iNdEx = preIndex
  6657  			skippy, err := skipOperations(dAtA[iNdEx:])
  6658  			if err != nil {
  6659  				return err
  6660  			}
  6661  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6662  				return ErrInvalidLengthOperations
  6663  			}
  6664  			if (iNdEx + skippy) > l {
  6665  				return io.ErrUnexpectedEOF
  6666  			}
  6667  			iNdEx += skippy
  6668  		}
  6669  	}
  6670  
  6671  	if iNdEx > l {
  6672  		return io.ErrUnexpectedEOF
  6673  	}
  6674  	return nil
  6675  }
  6676  func (m *TableStatsReq) Unmarshal(dAtA []byte) error {
  6677  	l := len(dAtA)
  6678  	iNdEx := 0
  6679  	for iNdEx < l {
  6680  		preIndex := iNdEx
  6681  		var wire uint64
  6682  		for shift := uint(0); ; shift += 7 {
  6683  			if shift >= 64 {
  6684  				return ErrIntOverflowOperations
  6685  			}
  6686  			if iNdEx >= l {
  6687  				return io.ErrUnexpectedEOF
  6688  			}
  6689  			b := dAtA[iNdEx]
  6690  			iNdEx++
  6691  			wire |= uint64(b&0x7F) << shift
  6692  			if b < 0x80 {
  6693  				break
  6694  			}
  6695  		}
  6696  		fieldNum := int32(wire >> 3)
  6697  		wireType := int(wire & 0x7)
  6698  		if wireType == 4 {
  6699  			return fmt.Errorf("proto: TableStatsReq: wiretype end group for non-group")
  6700  		}
  6701  		if fieldNum <= 0 {
  6702  			return fmt.Errorf("proto: TableStatsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6703  		}
  6704  		switch fieldNum {
  6705  		case 1:
  6706  			if wireType != 0 {
  6707  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
  6708  			}
  6709  			m.TableID = 0
  6710  			for shift := uint(0); ; shift += 7 {
  6711  				if shift >= 64 {
  6712  					return ErrIntOverflowOperations
  6713  				}
  6714  				if iNdEx >= l {
  6715  					return io.ErrUnexpectedEOF
  6716  				}
  6717  				b := dAtA[iNdEx]
  6718  				iNdEx++
  6719  				m.TableID |= ID(b&0x7F) << shift
  6720  				if b < 0x80 {
  6721  					break
  6722  				}
  6723  			}
  6724  		default:
  6725  			iNdEx = preIndex
  6726  			skippy, err := skipOperations(dAtA[iNdEx:])
  6727  			if err != nil {
  6728  				return err
  6729  			}
  6730  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6731  				return ErrInvalidLengthOperations
  6732  			}
  6733  			if (iNdEx + skippy) > l {
  6734  				return io.ErrUnexpectedEOF
  6735  			}
  6736  			iNdEx += skippy
  6737  		}
  6738  	}
  6739  
  6740  	if iNdEx > l {
  6741  		return io.ErrUnexpectedEOF
  6742  	}
  6743  	return nil
  6744  }
  6745  func (m *TableStatsResp) Unmarshal(dAtA []byte) error {
  6746  	l := len(dAtA)
  6747  	iNdEx := 0
  6748  	for iNdEx < l {
  6749  		preIndex := iNdEx
  6750  		var wire uint64
  6751  		for shift := uint(0); ; shift += 7 {
  6752  			if shift >= 64 {
  6753  				return ErrIntOverflowOperations
  6754  			}
  6755  			if iNdEx >= l {
  6756  				return io.ErrUnexpectedEOF
  6757  			}
  6758  			b := dAtA[iNdEx]
  6759  			iNdEx++
  6760  			wire |= uint64(b&0x7F) << shift
  6761  			if b < 0x80 {
  6762  				break
  6763  			}
  6764  		}
  6765  		fieldNum := int32(wire >> 3)
  6766  		wireType := int(wire & 0x7)
  6767  		if wireType == 4 {
  6768  			return fmt.Errorf("proto: TableStatsResp: wiretype end group for non-group")
  6769  		}
  6770  		if fieldNum <= 0 {
  6771  			return fmt.Errorf("proto: TableStatsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6772  		}
  6773  		switch fieldNum {
  6774  		case 1:
  6775  			if wireType != 0 {
  6776  				return fmt.Errorf("proto: wrong wireType = %d for field Rows", wireType)
  6777  			}
  6778  			m.Rows = 0
  6779  			for shift := uint(0); ; shift += 7 {
  6780  				if shift >= 64 {
  6781  					return ErrIntOverflowOperations
  6782  				}
  6783  				if iNdEx >= l {
  6784  					return io.ErrUnexpectedEOF
  6785  				}
  6786  				b := dAtA[iNdEx]
  6787  				iNdEx++
  6788  				m.Rows |= int(b&0x7F) << shift
  6789  				if b < 0x80 {
  6790  					break
  6791  				}
  6792  			}
  6793  		default:
  6794  			iNdEx = preIndex
  6795  			skippy, err := skipOperations(dAtA[iNdEx:])
  6796  			if err != nil {
  6797  				return err
  6798  			}
  6799  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6800  				return ErrInvalidLengthOperations
  6801  			}
  6802  			if (iNdEx + skippy) > l {
  6803  				return io.ErrUnexpectedEOF
  6804  			}
  6805  			iNdEx += skippy
  6806  		}
  6807  	}
  6808  
  6809  	if iNdEx > l {
  6810  		return io.ErrUnexpectedEOF
  6811  	}
  6812  	return nil
  6813  }
  6814  func (m *GetTableColumnsReq) Unmarshal(dAtA []byte) error {
  6815  	l := len(dAtA)
  6816  	iNdEx := 0
  6817  	for iNdEx < l {
  6818  		preIndex := iNdEx
  6819  		var wire uint64
  6820  		for shift := uint(0); ; shift += 7 {
  6821  			if shift >= 64 {
  6822  				return ErrIntOverflowOperations
  6823  			}
  6824  			if iNdEx >= l {
  6825  				return io.ErrUnexpectedEOF
  6826  			}
  6827  			b := dAtA[iNdEx]
  6828  			iNdEx++
  6829  			wire |= uint64(b&0x7F) << shift
  6830  			if b < 0x80 {
  6831  				break
  6832  			}
  6833  		}
  6834  		fieldNum := int32(wire >> 3)
  6835  		wireType := int(wire & 0x7)
  6836  		if wireType == 4 {
  6837  			return fmt.Errorf("proto: GetTableColumnsReq: wiretype end group for non-group")
  6838  		}
  6839  		if fieldNum <= 0 {
  6840  			return fmt.Errorf("proto: GetTableColumnsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6841  		}
  6842  		switch fieldNum {
  6843  		case 1:
  6844  			if wireType != 0 {
  6845  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
  6846  			}
  6847  			m.TableID = 0
  6848  			for shift := uint(0); ; shift += 7 {
  6849  				if shift >= 64 {
  6850  					return ErrIntOverflowOperations
  6851  				}
  6852  				if iNdEx >= l {
  6853  					return io.ErrUnexpectedEOF
  6854  				}
  6855  				b := dAtA[iNdEx]
  6856  				iNdEx++
  6857  				m.TableID |= ID(b&0x7F) << shift
  6858  				if b < 0x80 {
  6859  					break
  6860  				}
  6861  			}
  6862  		default:
  6863  			iNdEx = preIndex
  6864  			skippy, err := skipOperations(dAtA[iNdEx:])
  6865  			if err != nil {
  6866  				return err
  6867  			}
  6868  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6869  				return ErrInvalidLengthOperations
  6870  			}
  6871  			if (iNdEx + skippy) > l {
  6872  				return io.ErrUnexpectedEOF
  6873  			}
  6874  			iNdEx += skippy
  6875  		}
  6876  	}
  6877  
  6878  	if iNdEx > l {
  6879  		return io.ErrUnexpectedEOF
  6880  	}
  6881  	return nil
  6882  }
  6883  func (m *GetTableColumnsResp) Unmarshal(dAtA []byte) error {
  6884  	l := len(dAtA)
  6885  	iNdEx := 0
  6886  	for iNdEx < l {
  6887  		preIndex := iNdEx
  6888  		var wire uint64
  6889  		for shift := uint(0); ; shift += 7 {
  6890  			if shift >= 64 {
  6891  				return ErrIntOverflowOperations
  6892  			}
  6893  			if iNdEx >= l {
  6894  				return io.ErrUnexpectedEOF
  6895  			}
  6896  			b := dAtA[iNdEx]
  6897  			iNdEx++
  6898  			wire |= uint64(b&0x7F) << shift
  6899  			if b < 0x80 {
  6900  				break
  6901  			}
  6902  		}
  6903  		fieldNum := int32(wire >> 3)
  6904  		wireType := int(wire & 0x7)
  6905  		if wireType == 4 {
  6906  			return fmt.Errorf("proto: GetTableColumnsResp: wiretype end group for non-group")
  6907  		}
  6908  		if fieldNum <= 0 {
  6909  			return fmt.Errorf("proto: GetTableColumnsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6910  		}
  6911  		switch fieldNum {
  6912  		case 1:
  6913  			if wireType != 2 {
  6914  				return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
  6915  			}
  6916  			var byteLen int
  6917  			for shift := uint(0); ; shift += 7 {
  6918  				if shift >= 64 {
  6919  					return ErrIntOverflowOperations
  6920  				}
  6921  				if iNdEx >= l {
  6922  					return io.ErrUnexpectedEOF
  6923  				}
  6924  				b := dAtA[iNdEx]
  6925  				iNdEx++
  6926  				byteLen |= int(b&0x7F) << shift
  6927  				if b < 0x80 {
  6928  					break
  6929  				}
  6930  			}
  6931  			if byteLen < 0 {
  6932  				return ErrInvalidLengthOperations
  6933  			}
  6934  			postIndex := iNdEx + byteLen
  6935  			if postIndex < 0 {
  6936  				return ErrInvalidLengthOperations
  6937  			}
  6938  			if postIndex > l {
  6939  				return io.ErrUnexpectedEOF
  6940  			}
  6941  			var v github_com_matrixorigin_matrixone_pkg_vm_engine.Attribute
  6942  			m.Attrs = append(m.Attrs, v)
  6943  			if err := m.Attrs[len(m.Attrs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6944  				return err
  6945  			}
  6946  			iNdEx = postIndex
  6947  		default:
  6948  			iNdEx = preIndex
  6949  			skippy, err := skipOperations(dAtA[iNdEx:])
  6950  			if err != nil {
  6951  				return err
  6952  			}
  6953  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6954  				return ErrInvalidLengthOperations
  6955  			}
  6956  			if (iNdEx + skippy) > l {
  6957  				return io.ErrUnexpectedEOF
  6958  			}
  6959  			iNdEx += skippy
  6960  		}
  6961  	}
  6962  
  6963  	if iNdEx > l {
  6964  		return io.ErrUnexpectedEOF
  6965  	}
  6966  	return nil
  6967  }
  6968  func (m *TruncateRelationReq) Unmarshal(dAtA []byte) error {
  6969  	l := len(dAtA)
  6970  	iNdEx := 0
  6971  	for iNdEx < l {
  6972  		preIndex := iNdEx
  6973  		var wire uint64
  6974  		for shift := uint(0); ; shift += 7 {
  6975  			if shift >= 64 {
  6976  				return ErrIntOverflowOperations
  6977  			}
  6978  			if iNdEx >= l {
  6979  				return io.ErrUnexpectedEOF
  6980  			}
  6981  			b := dAtA[iNdEx]
  6982  			iNdEx++
  6983  			wire |= uint64(b&0x7F) << shift
  6984  			if b < 0x80 {
  6985  				break
  6986  			}
  6987  		}
  6988  		fieldNum := int32(wire >> 3)
  6989  		wireType := int(wire & 0x7)
  6990  		if wireType == 4 {
  6991  			return fmt.Errorf("proto: TruncateRelationReq: wiretype end group for non-group")
  6992  		}
  6993  		if fieldNum <= 0 {
  6994  			return fmt.Errorf("proto: TruncateRelationReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6995  		}
  6996  		switch fieldNum {
  6997  		case 1:
  6998  			if wireType != 0 {
  6999  				return fmt.Errorf("proto: wrong wireType = %d for field NewTableID", wireType)
  7000  			}
  7001  			m.NewTableID = 0
  7002  			for shift := uint(0); ; shift += 7 {
  7003  				if shift >= 64 {
  7004  					return ErrIntOverflowOperations
  7005  				}
  7006  				if iNdEx >= l {
  7007  					return io.ErrUnexpectedEOF
  7008  				}
  7009  				b := dAtA[iNdEx]
  7010  				iNdEx++
  7011  				m.NewTableID |= ID(b&0x7F) << shift
  7012  				if b < 0x80 {
  7013  					break
  7014  				}
  7015  			}
  7016  		case 2:
  7017  			if wireType != 0 {
  7018  				return fmt.Errorf("proto: wrong wireType = %d for field OldTableID", wireType)
  7019  			}
  7020  			m.OldTableID = 0
  7021  			for shift := uint(0); ; shift += 7 {
  7022  				if shift >= 64 {
  7023  					return ErrIntOverflowOperations
  7024  				}
  7025  				if iNdEx >= l {
  7026  					return io.ErrUnexpectedEOF
  7027  				}
  7028  				b := dAtA[iNdEx]
  7029  				iNdEx++
  7030  				m.OldTableID |= ID(b&0x7F) << shift
  7031  				if b < 0x80 {
  7032  					break
  7033  				}
  7034  			}
  7035  		case 3:
  7036  			if wireType != 0 {
  7037  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseID", wireType)
  7038  			}
  7039  			m.DatabaseID = 0
  7040  			for shift := uint(0); ; shift += 7 {
  7041  				if shift >= 64 {
  7042  					return ErrIntOverflowOperations
  7043  				}
  7044  				if iNdEx >= l {
  7045  					return io.ErrUnexpectedEOF
  7046  				}
  7047  				b := dAtA[iNdEx]
  7048  				iNdEx++
  7049  				m.DatabaseID |= ID(b&0x7F) << shift
  7050  				if b < 0x80 {
  7051  					break
  7052  				}
  7053  			}
  7054  		case 4:
  7055  			if wireType != 2 {
  7056  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseName", wireType)
  7057  			}
  7058  			var stringLen uint64
  7059  			for shift := uint(0); ; shift += 7 {
  7060  				if shift >= 64 {
  7061  					return ErrIntOverflowOperations
  7062  				}
  7063  				if iNdEx >= l {
  7064  					return io.ErrUnexpectedEOF
  7065  				}
  7066  				b := dAtA[iNdEx]
  7067  				iNdEx++
  7068  				stringLen |= uint64(b&0x7F) << shift
  7069  				if b < 0x80 {
  7070  					break
  7071  				}
  7072  			}
  7073  			intStringLen := int(stringLen)
  7074  			if intStringLen < 0 {
  7075  				return ErrInvalidLengthOperations
  7076  			}
  7077  			postIndex := iNdEx + intStringLen
  7078  			if postIndex < 0 {
  7079  				return ErrInvalidLengthOperations
  7080  			}
  7081  			if postIndex > l {
  7082  				return io.ErrUnexpectedEOF
  7083  			}
  7084  			m.DatabaseName = string(dAtA[iNdEx:postIndex])
  7085  			iNdEx = postIndex
  7086  		case 5:
  7087  			if wireType != 2 {
  7088  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  7089  			}
  7090  			var stringLen uint64
  7091  			for shift := uint(0); ; shift += 7 {
  7092  				if shift >= 64 {
  7093  					return ErrIntOverflowOperations
  7094  				}
  7095  				if iNdEx >= l {
  7096  					return io.ErrUnexpectedEOF
  7097  				}
  7098  				b := dAtA[iNdEx]
  7099  				iNdEx++
  7100  				stringLen |= uint64(b&0x7F) << shift
  7101  				if b < 0x80 {
  7102  					break
  7103  				}
  7104  			}
  7105  			intStringLen := int(stringLen)
  7106  			if intStringLen < 0 {
  7107  				return ErrInvalidLengthOperations
  7108  			}
  7109  			postIndex := iNdEx + intStringLen
  7110  			if postIndex < 0 {
  7111  				return ErrInvalidLengthOperations
  7112  			}
  7113  			if postIndex > l {
  7114  				return io.ErrUnexpectedEOF
  7115  			}
  7116  			m.Name = string(dAtA[iNdEx:postIndex])
  7117  			iNdEx = postIndex
  7118  		default:
  7119  			iNdEx = preIndex
  7120  			skippy, err := skipOperations(dAtA[iNdEx:])
  7121  			if err != nil {
  7122  				return err
  7123  			}
  7124  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7125  				return ErrInvalidLengthOperations
  7126  			}
  7127  			if (iNdEx + skippy) > l {
  7128  				return io.ErrUnexpectedEOF
  7129  			}
  7130  			iNdEx += skippy
  7131  		}
  7132  	}
  7133  
  7134  	if iNdEx > l {
  7135  		return io.ErrUnexpectedEOF
  7136  	}
  7137  	return nil
  7138  }
  7139  func (m *TruncateRelationResp) Unmarshal(dAtA []byte) error {
  7140  	l := len(dAtA)
  7141  	iNdEx := 0
  7142  	for iNdEx < l {
  7143  		preIndex := iNdEx
  7144  		var wire uint64
  7145  		for shift := uint(0); ; shift += 7 {
  7146  			if shift >= 64 {
  7147  				return ErrIntOverflowOperations
  7148  			}
  7149  			if iNdEx >= l {
  7150  				return io.ErrUnexpectedEOF
  7151  			}
  7152  			b := dAtA[iNdEx]
  7153  			iNdEx++
  7154  			wire |= uint64(b&0x7F) << shift
  7155  			if b < 0x80 {
  7156  				break
  7157  			}
  7158  		}
  7159  		fieldNum := int32(wire >> 3)
  7160  		wireType := int(wire & 0x7)
  7161  		if wireType == 4 {
  7162  			return fmt.Errorf("proto: TruncateRelationResp: wiretype end group for non-group")
  7163  		}
  7164  		if fieldNum <= 0 {
  7165  			return fmt.Errorf("proto: TruncateRelationResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7166  		}
  7167  		switch fieldNum {
  7168  		case 1:
  7169  			if wireType != 0 {
  7170  				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  7171  			}
  7172  			m.ID = 0
  7173  			for shift := uint(0); ; shift += 7 {
  7174  				if shift >= 64 {
  7175  					return ErrIntOverflowOperations
  7176  				}
  7177  				if iNdEx >= l {
  7178  					return io.ErrUnexpectedEOF
  7179  				}
  7180  				b := dAtA[iNdEx]
  7181  				iNdEx++
  7182  				m.ID |= ID(b&0x7F) << shift
  7183  				if b < 0x80 {
  7184  					break
  7185  				}
  7186  			}
  7187  		default:
  7188  			iNdEx = preIndex
  7189  			skippy, err := skipOperations(dAtA[iNdEx:])
  7190  			if err != nil {
  7191  				return err
  7192  			}
  7193  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7194  				return ErrInvalidLengthOperations
  7195  			}
  7196  			if (iNdEx + skippy) > l {
  7197  				return io.ErrUnexpectedEOF
  7198  			}
  7199  			iNdEx += skippy
  7200  		}
  7201  	}
  7202  
  7203  	if iNdEx > l {
  7204  		return io.ErrUnexpectedEOF
  7205  	}
  7206  	return nil
  7207  }
  7208  func (m *AddTableDefReq) Unmarshal(dAtA []byte) error {
  7209  	l := len(dAtA)
  7210  	iNdEx := 0
  7211  	for iNdEx < l {
  7212  		preIndex := iNdEx
  7213  		var wire uint64
  7214  		for shift := uint(0); ; shift += 7 {
  7215  			if shift >= 64 {
  7216  				return ErrIntOverflowOperations
  7217  			}
  7218  			if iNdEx >= l {
  7219  				return io.ErrUnexpectedEOF
  7220  			}
  7221  			b := dAtA[iNdEx]
  7222  			iNdEx++
  7223  			wire |= uint64(b&0x7F) << shift
  7224  			if b < 0x80 {
  7225  				break
  7226  			}
  7227  		}
  7228  		fieldNum := int32(wire >> 3)
  7229  		wireType := int(wire & 0x7)
  7230  		if wireType == 4 {
  7231  			return fmt.Errorf("proto: AddTableDefReq: wiretype end group for non-group")
  7232  		}
  7233  		if fieldNum <= 0 {
  7234  			return fmt.Errorf("proto: AddTableDefReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7235  		}
  7236  		switch fieldNum {
  7237  		case 1:
  7238  			if wireType != 0 {
  7239  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
  7240  			}
  7241  			m.TableID = 0
  7242  			for shift := uint(0); ; shift += 7 {
  7243  				if shift >= 64 {
  7244  					return ErrIntOverflowOperations
  7245  				}
  7246  				if iNdEx >= l {
  7247  					return io.ErrUnexpectedEOF
  7248  				}
  7249  				b := dAtA[iNdEx]
  7250  				iNdEx++
  7251  				m.TableID |= ID(b&0x7F) << shift
  7252  				if b < 0x80 {
  7253  					break
  7254  				}
  7255  			}
  7256  		case 2:
  7257  			if wireType != 2 {
  7258  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseName", wireType)
  7259  			}
  7260  			var stringLen uint64
  7261  			for shift := uint(0); ; shift += 7 {
  7262  				if shift >= 64 {
  7263  					return ErrIntOverflowOperations
  7264  				}
  7265  				if iNdEx >= l {
  7266  					return io.ErrUnexpectedEOF
  7267  				}
  7268  				b := dAtA[iNdEx]
  7269  				iNdEx++
  7270  				stringLen |= uint64(b&0x7F) << shift
  7271  				if b < 0x80 {
  7272  					break
  7273  				}
  7274  			}
  7275  			intStringLen := int(stringLen)
  7276  			if intStringLen < 0 {
  7277  				return ErrInvalidLengthOperations
  7278  			}
  7279  			postIndex := iNdEx + intStringLen
  7280  			if postIndex < 0 {
  7281  				return ErrInvalidLengthOperations
  7282  			}
  7283  			if postIndex > l {
  7284  				return io.ErrUnexpectedEOF
  7285  			}
  7286  			m.DatabaseName = string(dAtA[iNdEx:postIndex])
  7287  			iNdEx = postIndex
  7288  		case 3:
  7289  			if wireType != 2 {
  7290  				return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType)
  7291  			}
  7292  			var stringLen uint64
  7293  			for shift := uint(0); ; shift += 7 {
  7294  				if shift >= 64 {
  7295  					return ErrIntOverflowOperations
  7296  				}
  7297  				if iNdEx >= l {
  7298  					return io.ErrUnexpectedEOF
  7299  				}
  7300  				b := dAtA[iNdEx]
  7301  				iNdEx++
  7302  				stringLen |= uint64(b&0x7F) << shift
  7303  				if b < 0x80 {
  7304  					break
  7305  				}
  7306  			}
  7307  			intStringLen := int(stringLen)
  7308  			if intStringLen < 0 {
  7309  				return ErrInvalidLengthOperations
  7310  			}
  7311  			postIndex := iNdEx + intStringLen
  7312  			if postIndex < 0 {
  7313  				return ErrInvalidLengthOperations
  7314  			}
  7315  			if postIndex > l {
  7316  				return io.ErrUnexpectedEOF
  7317  			}
  7318  			m.TableName = string(dAtA[iNdEx:postIndex])
  7319  			iNdEx = postIndex
  7320  		case 4:
  7321  			if wireType != 2 {
  7322  				return fmt.Errorf("proto: wrong wireType = %d for field Def", wireType)
  7323  			}
  7324  			var byteLen int
  7325  			for shift := uint(0); ; shift += 7 {
  7326  				if shift >= 64 {
  7327  					return ErrIntOverflowOperations
  7328  				}
  7329  				if iNdEx >= l {
  7330  					return io.ErrUnexpectedEOF
  7331  				}
  7332  				b := dAtA[iNdEx]
  7333  				iNdEx++
  7334  				byteLen |= int(b&0x7F) << shift
  7335  				if b < 0x80 {
  7336  					break
  7337  				}
  7338  			}
  7339  			if byteLen < 0 {
  7340  				return ErrInvalidLengthOperations
  7341  			}
  7342  			postIndex := iNdEx + byteLen
  7343  			if postIndex < 0 {
  7344  				return ErrInvalidLengthOperations
  7345  			}
  7346  			if postIndex > l {
  7347  				return io.ErrUnexpectedEOF
  7348  			}
  7349  			if err := m.Def.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7350  				return err
  7351  			}
  7352  			iNdEx = postIndex
  7353  		default:
  7354  			iNdEx = preIndex
  7355  			skippy, err := skipOperations(dAtA[iNdEx:])
  7356  			if err != nil {
  7357  				return err
  7358  			}
  7359  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7360  				return ErrInvalidLengthOperations
  7361  			}
  7362  			if (iNdEx + skippy) > l {
  7363  				return io.ErrUnexpectedEOF
  7364  			}
  7365  			iNdEx += skippy
  7366  		}
  7367  	}
  7368  
  7369  	if iNdEx > l {
  7370  		return io.ErrUnexpectedEOF
  7371  	}
  7372  	return nil
  7373  }
  7374  func (m *AddTableDefResp) Unmarshal(dAtA []byte) error {
  7375  	l := len(dAtA)
  7376  	iNdEx := 0
  7377  	for iNdEx < l {
  7378  		preIndex := iNdEx
  7379  		var wire uint64
  7380  		for shift := uint(0); ; shift += 7 {
  7381  			if shift >= 64 {
  7382  				return ErrIntOverflowOperations
  7383  			}
  7384  			if iNdEx >= l {
  7385  				return io.ErrUnexpectedEOF
  7386  			}
  7387  			b := dAtA[iNdEx]
  7388  			iNdEx++
  7389  			wire |= uint64(b&0x7F) << shift
  7390  			if b < 0x80 {
  7391  				break
  7392  			}
  7393  		}
  7394  		fieldNum := int32(wire >> 3)
  7395  		wireType := int(wire & 0x7)
  7396  		if wireType == 4 {
  7397  			return fmt.Errorf("proto: AddTableDefResp: wiretype end group for non-group")
  7398  		}
  7399  		if fieldNum <= 0 {
  7400  			return fmt.Errorf("proto: AddTableDefResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7401  		}
  7402  		switch fieldNum {
  7403  		default:
  7404  			iNdEx = preIndex
  7405  			skippy, err := skipOperations(dAtA[iNdEx:])
  7406  			if err != nil {
  7407  				return err
  7408  			}
  7409  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7410  				return ErrInvalidLengthOperations
  7411  			}
  7412  			if (iNdEx + skippy) > l {
  7413  				return io.ErrUnexpectedEOF
  7414  			}
  7415  			iNdEx += skippy
  7416  		}
  7417  	}
  7418  
  7419  	if iNdEx > l {
  7420  		return io.ErrUnexpectedEOF
  7421  	}
  7422  	return nil
  7423  }
  7424  func (m *DelTableDefReq) Unmarshal(dAtA []byte) error {
  7425  	l := len(dAtA)
  7426  	iNdEx := 0
  7427  	for iNdEx < l {
  7428  		preIndex := iNdEx
  7429  		var wire uint64
  7430  		for shift := uint(0); ; shift += 7 {
  7431  			if shift >= 64 {
  7432  				return ErrIntOverflowOperations
  7433  			}
  7434  			if iNdEx >= l {
  7435  				return io.ErrUnexpectedEOF
  7436  			}
  7437  			b := dAtA[iNdEx]
  7438  			iNdEx++
  7439  			wire |= uint64(b&0x7F) << shift
  7440  			if b < 0x80 {
  7441  				break
  7442  			}
  7443  		}
  7444  		fieldNum := int32(wire >> 3)
  7445  		wireType := int(wire & 0x7)
  7446  		if wireType == 4 {
  7447  			return fmt.Errorf("proto: DelTableDefReq: wiretype end group for non-group")
  7448  		}
  7449  		if fieldNum <= 0 {
  7450  			return fmt.Errorf("proto: DelTableDefReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7451  		}
  7452  		switch fieldNum {
  7453  		case 1:
  7454  			if wireType != 0 {
  7455  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
  7456  			}
  7457  			m.TableID = 0
  7458  			for shift := uint(0); ; shift += 7 {
  7459  				if shift >= 64 {
  7460  					return ErrIntOverflowOperations
  7461  				}
  7462  				if iNdEx >= l {
  7463  					return io.ErrUnexpectedEOF
  7464  				}
  7465  				b := dAtA[iNdEx]
  7466  				iNdEx++
  7467  				m.TableID |= ID(b&0x7F) << shift
  7468  				if b < 0x80 {
  7469  					break
  7470  				}
  7471  			}
  7472  		case 2:
  7473  			if wireType != 2 {
  7474  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseName", wireType)
  7475  			}
  7476  			var stringLen uint64
  7477  			for shift := uint(0); ; shift += 7 {
  7478  				if shift >= 64 {
  7479  					return ErrIntOverflowOperations
  7480  				}
  7481  				if iNdEx >= l {
  7482  					return io.ErrUnexpectedEOF
  7483  				}
  7484  				b := dAtA[iNdEx]
  7485  				iNdEx++
  7486  				stringLen |= uint64(b&0x7F) << shift
  7487  				if b < 0x80 {
  7488  					break
  7489  				}
  7490  			}
  7491  			intStringLen := int(stringLen)
  7492  			if intStringLen < 0 {
  7493  				return ErrInvalidLengthOperations
  7494  			}
  7495  			postIndex := iNdEx + intStringLen
  7496  			if postIndex < 0 {
  7497  				return ErrInvalidLengthOperations
  7498  			}
  7499  			if postIndex > l {
  7500  				return io.ErrUnexpectedEOF
  7501  			}
  7502  			m.DatabaseName = string(dAtA[iNdEx:postIndex])
  7503  			iNdEx = postIndex
  7504  		case 3:
  7505  			if wireType != 2 {
  7506  				return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType)
  7507  			}
  7508  			var stringLen uint64
  7509  			for shift := uint(0); ; shift += 7 {
  7510  				if shift >= 64 {
  7511  					return ErrIntOverflowOperations
  7512  				}
  7513  				if iNdEx >= l {
  7514  					return io.ErrUnexpectedEOF
  7515  				}
  7516  				b := dAtA[iNdEx]
  7517  				iNdEx++
  7518  				stringLen |= uint64(b&0x7F) << shift
  7519  				if b < 0x80 {
  7520  					break
  7521  				}
  7522  			}
  7523  			intStringLen := int(stringLen)
  7524  			if intStringLen < 0 {
  7525  				return ErrInvalidLengthOperations
  7526  			}
  7527  			postIndex := iNdEx + intStringLen
  7528  			if postIndex < 0 {
  7529  				return ErrInvalidLengthOperations
  7530  			}
  7531  			if postIndex > l {
  7532  				return io.ErrUnexpectedEOF
  7533  			}
  7534  			m.TableName = string(dAtA[iNdEx:postIndex])
  7535  			iNdEx = postIndex
  7536  		case 4:
  7537  			if wireType != 2 {
  7538  				return fmt.Errorf("proto: wrong wireType = %d for field Def", wireType)
  7539  			}
  7540  			var byteLen int
  7541  			for shift := uint(0); ; shift += 7 {
  7542  				if shift >= 64 {
  7543  					return ErrIntOverflowOperations
  7544  				}
  7545  				if iNdEx >= l {
  7546  					return io.ErrUnexpectedEOF
  7547  				}
  7548  				b := dAtA[iNdEx]
  7549  				iNdEx++
  7550  				byteLen |= int(b&0x7F) << shift
  7551  				if b < 0x80 {
  7552  					break
  7553  				}
  7554  			}
  7555  			if byteLen < 0 {
  7556  				return ErrInvalidLengthOperations
  7557  			}
  7558  			postIndex := iNdEx + byteLen
  7559  			if postIndex < 0 {
  7560  				return ErrInvalidLengthOperations
  7561  			}
  7562  			if postIndex > l {
  7563  				return io.ErrUnexpectedEOF
  7564  			}
  7565  			if err := m.Def.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7566  				return err
  7567  			}
  7568  			iNdEx = postIndex
  7569  		default:
  7570  			iNdEx = preIndex
  7571  			skippy, err := skipOperations(dAtA[iNdEx:])
  7572  			if err != nil {
  7573  				return err
  7574  			}
  7575  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7576  				return ErrInvalidLengthOperations
  7577  			}
  7578  			if (iNdEx + skippy) > l {
  7579  				return io.ErrUnexpectedEOF
  7580  			}
  7581  			iNdEx += skippy
  7582  		}
  7583  	}
  7584  
  7585  	if iNdEx > l {
  7586  		return io.ErrUnexpectedEOF
  7587  	}
  7588  	return nil
  7589  }
  7590  func (m *DelTableDefResp) Unmarshal(dAtA []byte) error {
  7591  	l := len(dAtA)
  7592  	iNdEx := 0
  7593  	for iNdEx < l {
  7594  		preIndex := iNdEx
  7595  		var wire uint64
  7596  		for shift := uint(0); ; shift += 7 {
  7597  			if shift >= 64 {
  7598  				return ErrIntOverflowOperations
  7599  			}
  7600  			if iNdEx >= l {
  7601  				return io.ErrUnexpectedEOF
  7602  			}
  7603  			b := dAtA[iNdEx]
  7604  			iNdEx++
  7605  			wire |= uint64(b&0x7F) << shift
  7606  			if b < 0x80 {
  7607  				break
  7608  			}
  7609  		}
  7610  		fieldNum := int32(wire >> 3)
  7611  		wireType := int(wire & 0x7)
  7612  		if wireType == 4 {
  7613  			return fmt.Errorf("proto: DelTableDefResp: wiretype end group for non-group")
  7614  		}
  7615  		if fieldNum <= 0 {
  7616  			return fmt.Errorf("proto: DelTableDefResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7617  		}
  7618  		switch fieldNum {
  7619  		default:
  7620  			iNdEx = preIndex
  7621  			skippy, err := skipOperations(dAtA[iNdEx:])
  7622  			if err != nil {
  7623  				return err
  7624  			}
  7625  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7626  				return ErrInvalidLengthOperations
  7627  			}
  7628  			if (iNdEx + skippy) > l {
  7629  				return io.ErrUnexpectedEOF
  7630  			}
  7631  			iNdEx += skippy
  7632  		}
  7633  	}
  7634  
  7635  	if iNdEx > l {
  7636  		return io.ErrUnexpectedEOF
  7637  	}
  7638  	return nil
  7639  }
  7640  func (m *UpdateResp) Unmarshal(dAtA []byte) error {
  7641  	l := len(dAtA)
  7642  	iNdEx := 0
  7643  	for iNdEx < l {
  7644  		preIndex := iNdEx
  7645  		var wire uint64
  7646  		for shift := uint(0); ; shift += 7 {
  7647  			if shift >= 64 {
  7648  				return ErrIntOverflowOperations
  7649  			}
  7650  			if iNdEx >= l {
  7651  				return io.ErrUnexpectedEOF
  7652  			}
  7653  			b := dAtA[iNdEx]
  7654  			iNdEx++
  7655  			wire |= uint64(b&0x7F) << shift
  7656  			if b < 0x80 {
  7657  				break
  7658  			}
  7659  		}
  7660  		fieldNum := int32(wire >> 3)
  7661  		wireType := int(wire & 0x7)
  7662  		if wireType == 4 {
  7663  			return fmt.Errorf("proto: UpdateResp: wiretype end group for non-group")
  7664  		}
  7665  		if fieldNum <= 0 {
  7666  			return fmt.Errorf("proto: UpdateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7667  		}
  7668  		switch fieldNum {
  7669  		default:
  7670  			iNdEx = preIndex
  7671  			skippy, err := skipOperations(dAtA[iNdEx:])
  7672  			if err != nil {
  7673  				return err
  7674  			}
  7675  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7676  				return ErrInvalidLengthOperations
  7677  			}
  7678  			if (iNdEx + skippy) > l {
  7679  				return io.ErrUnexpectedEOF
  7680  			}
  7681  			iNdEx += skippy
  7682  		}
  7683  	}
  7684  
  7685  	if iNdEx > l {
  7686  		return io.ErrUnexpectedEOF
  7687  	}
  7688  	return nil
  7689  }
  7690  func skipOperations(dAtA []byte) (n int, err error) {
  7691  	l := len(dAtA)
  7692  	iNdEx := 0
  7693  	depth := 0
  7694  	for iNdEx < l {
  7695  		var wire uint64
  7696  		for shift := uint(0); ; shift += 7 {
  7697  			if shift >= 64 {
  7698  				return 0, ErrIntOverflowOperations
  7699  			}
  7700  			if iNdEx >= l {
  7701  				return 0, io.ErrUnexpectedEOF
  7702  			}
  7703  			b := dAtA[iNdEx]
  7704  			iNdEx++
  7705  			wire |= (uint64(b) & 0x7F) << shift
  7706  			if b < 0x80 {
  7707  				break
  7708  			}
  7709  		}
  7710  		wireType := int(wire & 0x7)
  7711  		switch wireType {
  7712  		case 0:
  7713  			for shift := uint(0); ; shift += 7 {
  7714  				if shift >= 64 {
  7715  					return 0, ErrIntOverflowOperations
  7716  				}
  7717  				if iNdEx >= l {
  7718  					return 0, io.ErrUnexpectedEOF
  7719  				}
  7720  				iNdEx++
  7721  				if dAtA[iNdEx-1] < 0x80 {
  7722  					break
  7723  				}
  7724  			}
  7725  		case 1:
  7726  			iNdEx += 8
  7727  		case 2:
  7728  			var length int
  7729  			for shift := uint(0); ; shift += 7 {
  7730  				if shift >= 64 {
  7731  					return 0, ErrIntOverflowOperations
  7732  				}
  7733  				if iNdEx >= l {
  7734  					return 0, io.ErrUnexpectedEOF
  7735  				}
  7736  				b := dAtA[iNdEx]
  7737  				iNdEx++
  7738  				length |= (int(b) & 0x7F) << shift
  7739  				if b < 0x80 {
  7740  					break
  7741  				}
  7742  			}
  7743  			if length < 0 {
  7744  				return 0, ErrInvalidLengthOperations
  7745  			}
  7746  			iNdEx += length
  7747  		case 3:
  7748  			depth++
  7749  		case 4:
  7750  			if depth == 0 {
  7751  				return 0, ErrUnexpectedEndOfGroupOperations
  7752  			}
  7753  			depth--
  7754  		case 5:
  7755  			iNdEx += 4
  7756  		default:
  7757  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  7758  		}
  7759  		if iNdEx < 0 {
  7760  			return 0, ErrInvalidLengthOperations
  7761  		}
  7762  		if depth == 0 {
  7763  			return iNdEx, nil
  7764  		}
  7765  	}
  7766  	return 0, io.ErrUnexpectedEOF
  7767  }
  7768  
  7769  var (
  7770  	ErrInvalidLengthOperations        = fmt.Errorf("proto: negative length found during unmarshaling")
  7771  	ErrIntOverflowOperations          = fmt.Errorf("proto: integer overflow")
  7772  	ErrUnexpectedEndOfGroupOperations = fmt.Errorf("proto: unexpected end of group")
  7773  )