github.com/matrixorigin/matrixone@v0.7.0/pkg/pb/plan/plan.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: plan.proto
     3  
     4  package plan
     5  
     6  import (
     7  	encoding_binary "encoding/binary"
     8  	fmt "fmt"
     9  	io "io"
    10  	math "math"
    11  	math_bits "math/bits"
    12  
    13  	_ "github.com/gogo/protobuf/gogoproto"
    14  	proto "github.com/gogo/protobuf/proto"
    15  )
    16  
    17  // Reference imports to suppress errors if they are not otherwise used.
    18  var _ = proto.Marshal
    19  var _ = fmt.Errorf
    20  var _ = math.Inf
    21  
    22  // This is a compile-time assertion to ensure that this generated file
    23  // is compatible with the proto package it is being compiled against.
    24  // A compilation error at this line likely means your copy of the
    25  // proto package needs to be updated.
    26  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    27  
    28  type CompressType int32
    29  
    30  const (
    31  	CompressType_None CompressType = 0
    32  	CompressType_Lz4  CompressType = 1
    33  )
    34  
    35  var CompressType_name = map[int32]string{
    36  	0: "None",
    37  	1: "Lz4",
    38  }
    39  
    40  var CompressType_value = map[string]int32{
    41  	"None": 0,
    42  	"Lz4":  1,
    43  }
    44  
    45  func (x CompressType) String() string {
    46  	return proto.EnumName(CompressType_name, int32(x))
    47  }
    48  
    49  func (CompressType) EnumDescriptor() ([]byte, []int) {
    50  	return fileDescriptor_2d655ab2f7683c23, []int{0}
    51  }
    52  
    53  type PartitionType int32
    54  
    55  const (
    56  	PartitionType_KEY           PartitionType = 0
    57  	PartitionType_LINEAR_KEY    PartitionType = 1
    58  	PartitionType_HASH          PartitionType = 2
    59  	PartitionType_LINEAR_HASH   PartitionType = 3
    60  	PartitionType_RANGE         PartitionType = 4
    61  	PartitionType_RANGE_COLUMNS PartitionType = 5
    62  	PartitionType_LIST          PartitionType = 6
    63  	PartitionType_LIST_COLUMNS  PartitionType = 7
    64  )
    65  
    66  var PartitionType_name = map[int32]string{
    67  	0: "KEY",
    68  	1: "LINEAR_KEY",
    69  	2: "HASH",
    70  	3: "LINEAR_HASH",
    71  	4: "RANGE",
    72  	5: "RANGE_COLUMNS",
    73  	6: "LIST",
    74  	7: "LIST_COLUMNS",
    75  }
    76  
    77  var PartitionType_value = map[string]int32{
    78  	"KEY":           0,
    79  	"LINEAR_KEY":    1,
    80  	"HASH":          2,
    81  	"LINEAR_HASH":   3,
    82  	"RANGE":         4,
    83  	"RANGE_COLUMNS": 5,
    84  	"LIST":          6,
    85  	"LIST_COLUMNS":  7,
    86  }
    87  
    88  func (x PartitionType) String() string {
    89  	return proto.EnumName(PartitionType_name, int32(x))
    90  }
    91  
    92  func (PartitionType) EnumDescriptor() ([]byte, []int) {
    93  	return fileDescriptor_2d655ab2f7683c23, []int{1}
    94  }
    95  
    96  type TransationCompletionType int32
    97  
    98  const (
    99  	TransationCompletionType_CHAIN    TransationCompletionType = 0
   100  	TransationCompletionType_NO_CHAIN TransationCompletionType = 1
   101  	TransationCompletionType_RELEASE  TransationCompletionType = 2
   102  )
   103  
   104  var TransationCompletionType_name = map[int32]string{
   105  	0: "CHAIN",
   106  	1: "NO_CHAIN",
   107  	2: "RELEASE",
   108  }
   109  
   110  var TransationCompletionType_value = map[string]int32{
   111  	"CHAIN":    0,
   112  	"NO_CHAIN": 1,
   113  	"RELEASE":  2,
   114  }
   115  
   116  func (x TransationCompletionType) String() string {
   117  	return proto.EnumName(TransationCompletionType_name, int32(x))
   118  }
   119  
   120  func (TransationCompletionType) EnumDescriptor() ([]byte, []int) {
   121  	return fileDescriptor_2d655ab2f7683c23, []int{2}
   122  }
   123  
   124  type SubqueryRef_Type int32
   125  
   126  const (
   127  	SubqueryRef_SCALAR     SubqueryRef_Type = 0
   128  	SubqueryRef_EXISTS     SubqueryRef_Type = 1
   129  	SubqueryRef_NOT_EXISTS SubqueryRef_Type = 2
   130  	SubqueryRef_IN         SubqueryRef_Type = 3
   131  	SubqueryRef_NOT_IN     SubqueryRef_Type = 4
   132  	SubqueryRef_ANY        SubqueryRef_Type = 5
   133  	SubqueryRef_ALL        SubqueryRef_Type = 6
   134  )
   135  
   136  var SubqueryRef_Type_name = map[int32]string{
   137  	0: "SCALAR",
   138  	1: "EXISTS",
   139  	2: "NOT_EXISTS",
   140  	3: "IN",
   141  	4: "NOT_IN",
   142  	5: "ANY",
   143  	6: "ALL",
   144  }
   145  
   146  var SubqueryRef_Type_value = map[string]int32{
   147  	"SCALAR":     0,
   148  	"EXISTS":     1,
   149  	"NOT_EXISTS": 2,
   150  	"IN":         3,
   151  	"NOT_IN":     4,
   152  	"ANY":        5,
   153  	"ALL":        6,
   154  }
   155  
   156  func (x SubqueryRef_Type) String() string {
   157  	return proto.EnumName(SubqueryRef_Type_name, int32(x))
   158  }
   159  
   160  func (SubqueryRef_Type) EnumDescriptor() ([]byte, []int) {
   161  	return fileDescriptor_2d655ab2f7683c23, []int{10, 0}
   162  }
   163  
   164  // Function flags
   165  type Function_FuncFlag int32
   166  
   167  const (
   168  	Function_NONE Function_FuncFlag = 0
   169  	// Internal function is generated by system, cannot
   170  	// by called by user.
   171  	Function_INTERNAL Function_FuncFlag = 1
   172  	// Function, by default is immutable.
   173  	Function_STABLE   Function_FuncFlag = 2
   174  	Function_VOLATILE Function_FuncFlag = 4
   175  	// Nulls
   176  	Function_STRICT          Function_FuncFlag = 8
   177  	Function_PRODUCE_NULL    Function_FuncFlag = 16
   178  	Function_PRODUCE_NO_NULL Function_FuncFlag = 32
   179  	// Vararg, all trailing args must be of the same type.
   180  	Function_VARARG Function_FuncFlag = 64
   181  	// Window and Agg
   182  	Function_AGG Function_FuncFlag = 128
   183  	Function_WIN Function_FuncFlag = 256
   184  	// Monotonic function can filter by zonemap
   185  	Function_MONOTONIC Function_FuncFlag = 512
   186  )
   187  
   188  var Function_FuncFlag_name = map[int32]string{
   189  	0:   "NONE",
   190  	1:   "INTERNAL",
   191  	2:   "STABLE",
   192  	4:   "VOLATILE",
   193  	8:   "STRICT",
   194  	16:  "PRODUCE_NULL",
   195  	32:  "PRODUCE_NO_NULL",
   196  	64:  "VARARG",
   197  	128: "AGG",
   198  	256: "WIN",
   199  	512: "MONOTONIC",
   200  }
   201  
   202  var Function_FuncFlag_value = map[string]int32{
   203  	"NONE":            0,
   204  	"INTERNAL":        1,
   205  	"STABLE":          2,
   206  	"VOLATILE":        4,
   207  	"STRICT":          8,
   208  	"PRODUCE_NULL":    16,
   209  	"PRODUCE_NO_NULL": 32,
   210  	"VARARG":          64,
   211  	"AGG":             128,
   212  	"WIN":             256,
   213  	"MONOTONIC":       512,
   214  }
   215  
   216  func (x Function_FuncFlag) String() string {
   217  	return proto.EnumName(Function_FuncFlag_name, int32(x))
   218  }
   219  
   220  func (Function_FuncFlag) EnumDescriptor() ([]byte, []int) {
   221  	return fileDescriptor_2d655ab2f7683c23, []int{12, 0}
   222  }
   223  
   224  type ForeignKeyDef_RefAction int32
   225  
   226  const (
   227  	ForeignKeyDef_RESTRICT    ForeignKeyDef_RefAction = 0
   228  	ForeignKeyDef_CASCADE     ForeignKeyDef_RefAction = 1
   229  	ForeignKeyDef_SET_NULL    ForeignKeyDef_RefAction = 2
   230  	ForeignKeyDef_SET_DEFAULT ForeignKeyDef_RefAction = 3
   231  	ForeignKeyDef_NO_ACTION   ForeignKeyDef_RefAction = 4
   232  )
   233  
   234  var ForeignKeyDef_RefAction_name = map[int32]string{
   235  	0: "RESTRICT",
   236  	1: "CASCADE",
   237  	2: "SET_NULL",
   238  	3: "SET_DEFAULT",
   239  	4: "NO_ACTION",
   240  }
   241  
   242  var ForeignKeyDef_RefAction_value = map[string]int32{
   243  	"RESTRICT":    0,
   244  	"CASCADE":     1,
   245  	"SET_NULL":    2,
   246  	"SET_DEFAULT": 3,
   247  	"NO_ACTION":   4,
   248  }
   249  
   250  func (x ForeignKeyDef_RefAction) String() string {
   251  	return proto.EnumName(ForeignKeyDef_RefAction_name, int32(x))
   252  }
   253  
   254  func (ForeignKeyDef_RefAction) EnumDescriptor() ([]byte, []int) {
   255  	return fileDescriptor_2d655ab2f7683c23, []int{23, 0}
   256  }
   257  
   258  type OrderBySpec_OrderByFlag int32
   259  
   260  const (
   261  	OrderBySpec_INTERNAL    OrderBySpec_OrderByFlag = 0
   262  	OrderBySpec_ASC         OrderBySpec_OrderByFlag = 1
   263  	OrderBySpec_DESC        OrderBySpec_OrderByFlag = 2
   264  	OrderBySpec_NULLS_FIRST OrderBySpec_OrderByFlag = 4
   265  	OrderBySpec_NULLS_LAST  OrderBySpec_OrderByFlag = 8
   266  	OrderBySpec_UNIQUE      OrderBySpec_OrderByFlag = 16
   267  )
   268  
   269  var OrderBySpec_OrderByFlag_name = map[int32]string{
   270  	0:  "INTERNAL",
   271  	1:  "ASC",
   272  	2:  "DESC",
   273  	4:  "NULLS_FIRST",
   274  	8:  "NULLS_LAST",
   275  	16: "UNIQUE",
   276  }
   277  
   278  var OrderBySpec_OrderByFlag_value = map[string]int32{
   279  	"INTERNAL":    0,
   280  	"ASC":         1,
   281  	"DESC":        2,
   282  	"NULLS_FIRST": 4,
   283  	"NULLS_LAST":  8,
   284  	"UNIQUE":      16,
   285  }
   286  
   287  func (x OrderBySpec_OrderByFlag) String() string {
   288  	return proto.EnumName(OrderBySpec_OrderByFlag_name, int32(x))
   289  }
   290  
   291  func (OrderBySpec_OrderByFlag) EnumDescriptor() ([]byte, []int) {
   292  	return fileDescriptor_2d655ab2f7683c23, []int{39, 0}
   293  }
   294  
   295  type Node_NodeType int32
   296  
   297  const (
   298  	Node_UNKNOWN Node_NodeType = 0
   299  	// Scans
   300  	Node_VALUE_SCAN    Node_NodeType = 1
   301  	Node_TABLE_SCAN    Node_NodeType = 2
   302  	Node_FUNCTION_SCAN Node_NodeType = 3
   303  	Node_EXTERNAL_SCAN Node_NodeType = 4
   304  	Node_MATERIAL_SCAN Node_NodeType = 5
   305  	// Proj, for convenience
   306  	Node_PROJECT Node_NodeType = 10
   307  	// External function call (UDF)
   308  	Node_EXTERNAL_FUNCTION Node_NodeType = 11
   309  	// Material, CTE, etc.
   310  	Node_MATERIAL      Node_NodeType = 20
   311  	Node_RECURSIVE_CTE Node_NodeType = 21
   312  	Node_SINK          Node_NodeType = 22
   313  	Node_SINK_SCAN     Node_NodeType = 23
   314  	// Proper Relational Operators
   315  	Node_AGG       Node_NodeType = 30
   316  	Node_DISTINCT  Node_NodeType = 31
   317  	Node_FILTER    Node_NodeType = 32
   318  	Node_JOIN      Node_NodeType = 33
   319  	Node_SAMPLE    Node_NodeType = 34
   320  	Node_SORT      Node_NodeType = 35
   321  	Node_UNION     Node_NodeType = 36
   322  	Node_UNION_ALL Node_NodeType = 37
   323  	Node_UNIQUE    Node_NodeType = 38
   324  	Node_WINDOW    Node_NodeType = 39
   325  	// Physical tuple mover
   326  	Node_BROADCAST Node_NodeType = 40
   327  	Node_SPLIT     Node_NodeType = 41
   328  	Node_GATHER    Node_NodeType = 42
   329  	// Misc
   330  	Node_ASSERT Node_NodeType = 50
   331  	//
   332  	Node_INSERT Node_NodeType = 51
   333  	Node_UPDATE Node_NodeType = 52
   334  	Node_DELETE Node_NodeType = 53
   335  	//
   336  	Node_INTERSECT     Node_NodeType = 54
   337  	Node_INTERSECT_ALL Node_NodeType = 55
   338  	Node_MINUS         Node_NodeType = 56
   339  	Node_MINUS_ALL     Node_NodeType = 57
   340  )
   341  
   342  var Node_NodeType_name = map[int32]string{
   343  	0:  "UNKNOWN",
   344  	1:  "VALUE_SCAN",
   345  	2:  "TABLE_SCAN",
   346  	3:  "FUNCTION_SCAN",
   347  	4:  "EXTERNAL_SCAN",
   348  	5:  "MATERIAL_SCAN",
   349  	10: "PROJECT",
   350  	11: "EXTERNAL_FUNCTION",
   351  	20: "MATERIAL",
   352  	21: "RECURSIVE_CTE",
   353  	22: "SINK",
   354  	23: "SINK_SCAN",
   355  	30: "AGG",
   356  	31: "DISTINCT",
   357  	32: "FILTER",
   358  	33: "JOIN",
   359  	34: "SAMPLE",
   360  	35: "SORT",
   361  	36: "UNION",
   362  	37: "UNION_ALL",
   363  	38: "UNIQUE",
   364  	39: "WINDOW",
   365  	40: "BROADCAST",
   366  	41: "SPLIT",
   367  	42: "GATHER",
   368  	50: "ASSERT",
   369  	51: "INSERT",
   370  	52: "UPDATE",
   371  	53: "DELETE",
   372  	54: "INTERSECT",
   373  	55: "INTERSECT_ALL",
   374  	56: "MINUS",
   375  	57: "MINUS_ALL",
   376  }
   377  
   378  var Node_NodeType_value = map[string]int32{
   379  	"UNKNOWN":           0,
   380  	"VALUE_SCAN":        1,
   381  	"TABLE_SCAN":        2,
   382  	"FUNCTION_SCAN":     3,
   383  	"EXTERNAL_SCAN":     4,
   384  	"MATERIAL_SCAN":     5,
   385  	"PROJECT":           10,
   386  	"EXTERNAL_FUNCTION": 11,
   387  	"MATERIAL":          20,
   388  	"RECURSIVE_CTE":     21,
   389  	"SINK":              22,
   390  	"SINK_SCAN":         23,
   391  	"AGG":               30,
   392  	"DISTINCT":          31,
   393  	"FILTER":            32,
   394  	"JOIN":              33,
   395  	"SAMPLE":            34,
   396  	"SORT":              35,
   397  	"UNION":             36,
   398  	"UNION_ALL":         37,
   399  	"UNIQUE":            38,
   400  	"WINDOW":            39,
   401  	"BROADCAST":         40,
   402  	"SPLIT":             41,
   403  	"GATHER":            42,
   404  	"ASSERT":            50,
   405  	"INSERT":            51,
   406  	"UPDATE":            52,
   407  	"DELETE":            53,
   408  	"INTERSECT":         54,
   409  	"INTERSECT_ALL":     55,
   410  	"MINUS":             56,
   411  	"MINUS_ALL":         57,
   412  }
   413  
   414  func (x Node_NodeType) String() string {
   415  	return proto.EnumName(Node_NodeType_name, int32(x))
   416  }
   417  
   418  func (Node_NodeType) EnumDescriptor() ([]byte, []int) {
   419  	return fileDescriptor_2d655ab2f7683c23, []int{44, 0}
   420  }
   421  
   422  type Node_JoinFlag int32
   423  
   424  const (
   425  	Node_INNER  Node_JoinFlag = 0
   426  	Node_LEFT   Node_JoinFlag = 1
   427  	Node_RIGHT  Node_JoinFlag = 2
   428  	Node_OUTER  Node_JoinFlag = 3
   429  	Node_SEMI   Node_JoinFlag = 4
   430  	Node_ANTI   Node_JoinFlag = 5
   431  	Node_SINGLE Node_JoinFlag = 6
   432  	Node_MARK   Node_JoinFlag = 7
   433  	Node_APPLY  Node_JoinFlag = 8
   434  )
   435  
   436  var Node_JoinFlag_name = map[int32]string{
   437  	0: "INNER",
   438  	1: "LEFT",
   439  	2: "RIGHT",
   440  	3: "OUTER",
   441  	4: "SEMI",
   442  	5: "ANTI",
   443  	6: "SINGLE",
   444  	7: "MARK",
   445  	8: "APPLY",
   446  }
   447  
   448  var Node_JoinFlag_value = map[string]int32{
   449  	"INNER":  0,
   450  	"LEFT":   1,
   451  	"RIGHT":  2,
   452  	"OUTER":  3,
   453  	"SEMI":   4,
   454  	"ANTI":   5,
   455  	"SINGLE": 6,
   456  	"MARK":   7,
   457  	"APPLY":  8,
   458  }
   459  
   460  func (x Node_JoinFlag) String() string {
   461  	return proto.EnumName(Node_JoinFlag_name, int32(x))
   462  }
   463  
   464  func (Node_JoinFlag) EnumDescriptor() ([]byte, []int) {
   465  	return fileDescriptor_2d655ab2f7683c23, []int{44, 1}
   466  }
   467  
   468  type Node_AggMode int32
   469  
   470  const (
   471  	Node_FULL   Node_AggMode = 0
   472  	Node_BOTTOM Node_AggMode = 1
   473  	Node_TOP    Node_AggMode = 2
   474  )
   475  
   476  var Node_AggMode_name = map[int32]string{
   477  	0: "FULL",
   478  	1: "BOTTOM",
   479  	2: "TOP",
   480  }
   481  
   482  var Node_AggMode_value = map[string]int32{
   483  	"FULL":   0,
   484  	"BOTTOM": 1,
   485  	"TOP":    2,
   486  }
   487  
   488  func (x Node_AggMode) String() string {
   489  	return proto.EnumName(Node_AggMode_name, int32(x))
   490  }
   491  
   492  func (Node_AggMode) EnumDescriptor() ([]byte, []int) {
   493  	return fileDescriptor_2d655ab2f7683c23, []int{44, 2}
   494  }
   495  
   496  type Query_StatementType int32
   497  
   498  const (
   499  	Query_UNKNOWN Query_StatementType = 0
   500  	Query_SELECT  Query_StatementType = 1
   501  	Query_INSERT  Query_StatementType = 2
   502  	Query_DELETE  Query_StatementType = 3
   503  	Query_UPDATE  Query_StatementType = 4
   504  	Query_MERGE   Query_StatementType = 5
   505  )
   506  
   507  var Query_StatementType_name = map[int32]string{
   508  	0: "UNKNOWN",
   509  	1: "SELECT",
   510  	2: "INSERT",
   511  	3: "DELETE",
   512  	4: "UPDATE",
   513  	5: "MERGE",
   514  }
   515  
   516  var Query_StatementType_value = map[string]int32{
   517  	"UNKNOWN": 0,
   518  	"SELECT":  1,
   519  	"INSERT":  2,
   520  	"DELETE":  3,
   521  	"UPDATE":  4,
   522  	"MERGE":   5,
   523  }
   524  
   525  func (x Query_StatementType) String() string {
   526  	return proto.EnumName(Query_StatementType_name, int32(x))
   527  }
   528  
   529  func (Query_StatementType) EnumDescriptor() ([]byte, []int) {
   530  	return fileDescriptor_2d655ab2f7683c23, []int{48, 0}
   531  }
   532  
   533  type TransationControl_TclType int32
   534  
   535  const (
   536  	TransationControl_BEGIN    TransationControl_TclType = 0
   537  	TransationControl_COMMIT   TransationControl_TclType = 1
   538  	TransationControl_ROLLBACK TransationControl_TclType = 2
   539  )
   540  
   541  var TransationControl_TclType_name = map[int32]string{
   542  	0: "BEGIN",
   543  	1: "COMMIT",
   544  	2: "ROLLBACK",
   545  }
   546  
   547  var TransationControl_TclType_value = map[string]int32{
   548  	"BEGIN":    0,
   549  	"COMMIT":   1,
   550  	"ROLLBACK": 2,
   551  }
   552  
   553  func (x TransationControl_TclType) String() string {
   554  	return proto.EnumName(TransationControl_TclType_name, int32(x))
   555  }
   556  
   557  func (TransationControl_TclType) EnumDescriptor() ([]byte, []int) {
   558  	return fileDescriptor_2d655ab2f7683c23, []int{49, 0}
   559  }
   560  
   561  type TransationBegin_TransationMode int32
   562  
   563  const (
   564  	TransationBegin_NONE       TransationBegin_TransationMode = 0
   565  	TransationBegin_READ_ONLY  TransationBegin_TransationMode = 1
   566  	TransationBegin_READ_WRITE TransationBegin_TransationMode = 2
   567  )
   568  
   569  var TransationBegin_TransationMode_name = map[int32]string{
   570  	0: "NONE",
   571  	1: "READ_ONLY",
   572  	2: "READ_WRITE",
   573  }
   574  
   575  var TransationBegin_TransationMode_value = map[string]int32{
   576  	"NONE":       0,
   577  	"READ_ONLY":  1,
   578  	"READ_WRITE": 2,
   579  }
   580  
   581  func (x TransationBegin_TransationMode) String() string {
   582  	return proto.EnumName(TransationBegin_TransationMode_name, int32(x))
   583  }
   584  
   585  func (TransationBegin_TransationMode) EnumDescriptor() ([]byte, []int) {
   586  	return fileDescriptor_2d655ab2f7683c23, []int{50, 0}
   587  }
   588  
   589  type DataControl_DclType int32
   590  
   591  const (
   592  	DataControl_SET_VARIABLES DataControl_DclType = 0
   593  	DataControl_GRANT         DataControl_DclType = 1
   594  	DataControl_REVOKE        DataControl_DclType = 2
   595  	DataControl_DENY          DataControl_DclType = 3
   596  	DataControl_PREPARE       DataControl_DclType = 4
   597  	DataControl_EXECUTE       DataControl_DclType = 5
   598  	DataControl_DEALLOCATE    DataControl_DclType = 6
   599  )
   600  
   601  var DataControl_DclType_name = map[int32]string{
   602  	0: "SET_VARIABLES",
   603  	1: "GRANT",
   604  	2: "REVOKE",
   605  	3: "DENY",
   606  	4: "PREPARE",
   607  	5: "EXECUTE",
   608  	6: "DEALLOCATE",
   609  }
   610  
   611  var DataControl_DclType_value = map[string]int32{
   612  	"SET_VARIABLES": 0,
   613  	"GRANT":         1,
   614  	"REVOKE":        2,
   615  	"DENY":          3,
   616  	"PREPARE":       4,
   617  	"EXECUTE":       5,
   618  	"DEALLOCATE":    6,
   619  }
   620  
   621  func (x DataControl_DclType) String() string {
   622  	return proto.EnumName(DataControl_DclType_name, int32(x))
   623  }
   624  
   625  func (DataControl_DclType) EnumDescriptor() ([]byte, []int) {
   626  	return fileDescriptor_2d655ab2f7683c23, []int{55, 0}
   627  }
   628  
   629  type DataDefinition_DdlType int32
   630  
   631  const (
   632  	DataDefinition_CREATE_DATABASE     DataDefinition_DdlType = 0
   633  	DataDefinition_ALTER_DATABASE      DataDefinition_DdlType = 1
   634  	DataDefinition_DROP_DATABASE       DataDefinition_DdlType = 2
   635  	DataDefinition_CREATE_TABLE        DataDefinition_DdlType = 3
   636  	DataDefinition_ALTER_TABLE         DataDefinition_DdlType = 4
   637  	DataDefinition_DROP_TABLE          DataDefinition_DdlType = 5
   638  	DataDefinition_CREATE_INDEX        DataDefinition_DdlType = 6
   639  	DataDefinition_ALTER_INDEX         DataDefinition_DdlType = 7
   640  	DataDefinition_DROP_INDEX          DataDefinition_DdlType = 8
   641  	DataDefinition_TRUNCATE_TABLE      DataDefinition_DdlType = 9
   642  	DataDefinition_CREATE_VIEW         DataDefinition_DdlType = 10
   643  	DataDefinition_ALTER_VIEW          DataDefinition_DdlType = 11
   644  	DataDefinition_DROP_VIEW           DataDefinition_DdlType = 12
   645  	DataDefinition_SHOW_CREATEDATABASE DataDefinition_DdlType = 13
   646  	DataDefinition_SHOW_CREATETABLE    DataDefinition_DdlType = 14
   647  	DataDefinition_SHOW_DATABASES      DataDefinition_DdlType = 15
   648  	DataDefinition_SHOW_TABLES         DataDefinition_DdlType = 16
   649  	DataDefinition_SHOW_COLUMNS        DataDefinition_DdlType = 17
   650  	DataDefinition_SHOW_INDEX          DataDefinition_DdlType = 18
   651  	DataDefinition_SHOW_VARIABLES      DataDefinition_DdlType = 19
   652  	DataDefinition_SHOW_WARNINGS       DataDefinition_DdlType = 20
   653  	DataDefinition_SHOW_ERRORS         DataDefinition_DdlType = 21
   654  	DataDefinition_SHOW_STATUS         DataDefinition_DdlType = 22
   655  	DataDefinition_SHOW_PROCESSLIST    DataDefinition_DdlType = 23
   656  	DataDefinition_SHOW_TABLE_STATUS   DataDefinition_DdlType = 24
   657  	DataDefinition_SHOW_TARGET         DataDefinition_DdlType = 25
   658  	DataDefinition_SHOW_COLLATION      DataDefinition_DdlType = 26
   659  )
   660  
   661  var DataDefinition_DdlType_name = map[int32]string{
   662  	0:  "CREATE_DATABASE",
   663  	1:  "ALTER_DATABASE",
   664  	2:  "DROP_DATABASE",
   665  	3:  "CREATE_TABLE",
   666  	4:  "ALTER_TABLE",
   667  	5:  "DROP_TABLE",
   668  	6:  "CREATE_INDEX",
   669  	7:  "ALTER_INDEX",
   670  	8:  "DROP_INDEX",
   671  	9:  "TRUNCATE_TABLE",
   672  	10: "CREATE_VIEW",
   673  	11: "ALTER_VIEW",
   674  	12: "DROP_VIEW",
   675  	13: "SHOW_CREATEDATABASE",
   676  	14: "SHOW_CREATETABLE",
   677  	15: "SHOW_DATABASES",
   678  	16: "SHOW_TABLES",
   679  	17: "SHOW_COLUMNS",
   680  	18: "SHOW_INDEX",
   681  	19: "SHOW_VARIABLES",
   682  	20: "SHOW_WARNINGS",
   683  	21: "SHOW_ERRORS",
   684  	22: "SHOW_STATUS",
   685  	23: "SHOW_PROCESSLIST",
   686  	24: "SHOW_TABLE_STATUS",
   687  	25: "SHOW_TARGET",
   688  	26: "SHOW_COLLATION",
   689  }
   690  
   691  var DataDefinition_DdlType_value = map[string]int32{
   692  	"CREATE_DATABASE":     0,
   693  	"ALTER_DATABASE":      1,
   694  	"DROP_DATABASE":       2,
   695  	"CREATE_TABLE":        3,
   696  	"ALTER_TABLE":         4,
   697  	"DROP_TABLE":          5,
   698  	"CREATE_INDEX":        6,
   699  	"ALTER_INDEX":         7,
   700  	"DROP_INDEX":          8,
   701  	"TRUNCATE_TABLE":      9,
   702  	"CREATE_VIEW":         10,
   703  	"ALTER_VIEW":          11,
   704  	"DROP_VIEW":           12,
   705  	"SHOW_CREATEDATABASE": 13,
   706  	"SHOW_CREATETABLE":    14,
   707  	"SHOW_DATABASES":      15,
   708  	"SHOW_TABLES":         16,
   709  	"SHOW_COLUMNS":        17,
   710  	"SHOW_INDEX":          18,
   711  	"SHOW_VARIABLES":      19,
   712  	"SHOW_WARNINGS":       20,
   713  	"SHOW_ERRORS":         21,
   714  	"SHOW_STATUS":         22,
   715  	"SHOW_PROCESSLIST":    23,
   716  	"SHOW_TABLE_STATUS":   24,
   717  	"SHOW_TARGET":         25,
   718  	"SHOW_COLLATION":      26,
   719  }
   720  
   721  func (x DataDefinition_DdlType) String() string {
   722  	return proto.EnumName(DataDefinition_DdlType_name, int32(x))
   723  }
   724  
   725  func (DataDefinition_DdlType) EnumDescriptor() ([]byte, []int) {
   726  	return fileDescriptor_2d655ab2f7683c23, []int{56, 0}
   727  }
   728  
   729  type Type struct {
   730  	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
   731  	NotNullable          bool     `protobuf:"varint,2,opt,name=notNullable,proto3" json:"notNullable,omitempty"`
   732  	AutoIncr             bool     `protobuf:"varint,3,opt,name=auto_incr,json=autoIncr,proto3" json:"auto_incr,omitempty"`
   733  	Width                int32    `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"`
   734  	Precision            int32    `protobuf:"varint,5,opt,name=precision,proto3" json:"precision,omitempty"`
   735  	Size                 int32    `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
   736  	Scale                int32    `protobuf:"varint,7,opt,name=scale,proto3" json:"scale,omitempty"`
   737  	Table                string   `protobuf:"bytes,8,opt,name=table,proto3" json:"table,omitempty"`
   738  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   739  	XXX_unrecognized     []byte   `json:"-"`
   740  	XXX_sizecache        int32    `json:"-"`
   741  }
   742  
   743  func (m *Type) Reset()         { *m = Type{} }
   744  func (m *Type) String() string { return proto.CompactTextString(m) }
   745  func (*Type) ProtoMessage()    {}
   746  func (*Type) Descriptor() ([]byte, []int) {
   747  	return fileDescriptor_2d655ab2f7683c23, []int{0}
   748  }
   749  func (m *Type) XXX_Unmarshal(b []byte) error {
   750  	return m.Unmarshal(b)
   751  }
   752  func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   753  	if deterministic {
   754  		return xxx_messageInfo_Type.Marshal(b, m, deterministic)
   755  	} else {
   756  		b = b[:cap(b)]
   757  		n, err := m.MarshalToSizedBuffer(b)
   758  		if err != nil {
   759  			return nil, err
   760  		}
   761  		return b[:n], nil
   762  	}
   763  }
   764  func (m *Type) XXX_Merge(src proto.Message) {
   765  	xxx_messageInfo_Type.Merge(m, src)
   766  }
   767  func (m *Type) XXX_Size() int {
   768  	return m.ProtoSize()
   769  }
   770  func (m *Type) XXX_DiscardUnknown() {
   771  	xxx_messageInfo_Type.DiscardUnknown(m)
   772  }
   773  
   774  var xxx_messageInfo_Type proto.InternalMessageInfo
   775  
   776  func (m *Type) GetId() int32 {
   777  	if m != nil {
   778  		return m.Id
   779  	}
   780  	return 0
   781  }
   782  
   783  func (m *Type) GetNotNullable() bool {
   784  	if m != nil {
   785  		return m.NotNullable
   786  	}
   787  	return false
   788  }
   789  
   790  func (m *Type) GetAutoIncr() bool {
   791  	if m != nil {
   792  		return m.AutoIncr
   793  	}
   794  	return false
   795  }
   796  
   797  func (m *Type) GetWidth() int32 {
   798  	if m != nil {
   799  		return m.Width
   800  	}
   801  	return 0
   802  }
   803  
   804  func (m *Type) GetPrecision() int32 {
   805  	if m != nil {
   806  		return m.Precision
   807  	}
   808  	return 0
   809  }
   810  
   811  func (m *Type) GetSize() int32 {
   812  	if m != nil {
   813  		return m.Size
   814  	}
   815  	return 0
   816  }
   817  
   818  func (m *Type) GetScale() int32 {
   819  	if m != nil {
   820  		return m.Scale
   821  	}
   822  	return 0
   823  }
   824  
   825  func (m *Type) GetTable() string {
   826  	if m != nil {
   827  		return m.Table
   828  	}
   829  	return ""
   830  }
   831  
   832  // Const: if a const value can be reprensented by int64 or
   833  // double, use that, otherwise store a string representation.
   834  type Const struct {
   835  	Isnull bool `protobuf:"varint,1,opt,name=isnull,proto3" json:"isnull,omitempty"`
   836  	// Types that are valid to be assigned to Value:
   837  	//
   838  	//	*Const_I8Val
   839  	//	*Const_I16Val
   840  	//	*Const_I32Val
   841  	//	*Const_I64Val
   842  	//	*Const_U8Val
   843  	//	*Const_U16Val
   844  	//	*Const_U32Val
   845  	//	*Const_U64Val
   846  	//	*Const_Dval
   847  	//	*Const_Sval
   848  	//	*Const_Bval
   849  	//	*Const_Fval
   850  	//	*Const_Dateval
   851  	//	*Const_Timeval
   852  	//	*Const_Datetimeval
   853  	//	*Const_Decimal64Val
   854  	//	*Const_Decimal128Val
   855  	//	*Const_Timestampval
   856  	//	*Const_Jsonval
   857  	//	*Const_Defaultval
   858  	//	*Const_UpdateVal
   859  	Value                isConst_Value `protobuf_oneof:"value"`
   860  	IsBin                bool          `protobuf:"varint,23,opt,name=isBin,proto3" json:"isBin,omitempty"`
   861  	Src                  *Expr         `protobuf:"bytes,24,opt,name=src,proto3" json:"src,omitempty"`
   862  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
   863  	XXX_unrecognized     []byte        `json:"-"`
   864  	XXX_sizecache        int32         `json:"-"`
   865  }
   866  
   867  func (m *Const) Reset()         { *m = Const{} }
   868  func (m *Const) String() string { return proto.CompactTextString(m) }
   869  func (*Const) ProtoMessage()    {}
   870  func (*Const) Descriptor() ([]byte, []int) {
   871  	return fileDescriptor_2d655ab2f7683c23, []int{1}
   872  }
   873  func (m *Const) XXX_Unmarshal(b []byte) error {
   874  	return m.Unmarshal(b)
   875  }
   876  func (m *Const) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   877  	if deterministic {
   878  		return xxx_messageInfo_Const.Marshal(b, m, deterministic)
   879  	} else {
   880  		b = b[:cap(b)]
   881  		n, err := m.MarshalToSizedBuffer(b)
   882  		if err != nil {
   883  			return nil, err
   884  		}
   885  		return b[:n], nil
   886  	}
   887  }
   888  func (m *Const) XXX_Merge(src proto.Message) {
   889  	xxx_messageInfo_Const.Merge(m, src)
   890  }
   891  func (m *Const) XXX_Size() int {
   892  	return m.ProtoSize()
   893  }
   894  func (m *Const) XXX_DiscardUnknown() {
   895  	xxx_messageInfo_Const.DiscardUnknown(m)
   896  }
   897  
   898  var xxx_messageInfo_Const proto.InternalMessageInfo
   899  
   900  type isConst_Value interface {
   901  	isConst_Value()
   902  	MarshalTo([]byte) (int, error)
   903  	ProtoSize() int
   904  }
   905  
   906  type Const_I8Val struct {
   907  	I8Val int32 `protobuf:"varint,2,opt,name=i8val,proto3,oneof" json:"i8val,omitempty"`
   908  }
   909  type Const_I16Val struct {
   910  	I16Val int32 `protobuf:"varint,3,opt,name=i16val,proto3,oneof" json:"i16val,omitempty"`
   911  }
   912  type Const_I32Val struct {
   913  	I32Val int32 `protobuf:"varint,4,opt,name=i32val,proto3,oneof" json:"i32val,omitempty"`
   914  }
   915  type Const_I64Val struct {
   916  	I64Val int64 `protobuf:"varint,5,opt,name=i64val,proto3,oneof" json:"i64val,omitempty"`
   917  }
   918  type Const_U8Val struct {
   919  	U8Val uint32 `protobuf:"varint,6,opt,name=u8val,proto3,oneof" json:"u8val,omitempty"`
   920  }
   921  type Const_U16Val struct {
   922  	U16Val uint32 `protobuf:"varint,7,opt,name=u16val,proto3,oneof" json:"u16val,omitempty"`
   923  }
   924  type Const_U32Val struct {
   925  	U32Val uint32 `protobuf:"varint,8,opt,name=u32val,proto3,oneof" json:"u32val,omitempty"`
   926  }
   927  type Const_U64Val struct {
   928  	U64Val uint64 `protobuf:"varint,9,opt,name=u64val,proto3,oneof" json:"u64val,omitempty"`
   929  }
   930  type Const_Dval struct {
   931  	Dval float64 `protobuf:"fixed64,10,opt,name=dval,proto3,oneof" json:"dval,omitempty"`
   932  }
   933  type Const_Sval struct {
   934  	Sval string `protobuf:"bytes,11,opt,name=sval,proto3,oneof" json:"sval,omitempty"`
   935  }
   936  type Const_Bval struct {
   937  	Bval bool `protobuf:"varint,12,opt,name=bval,proto3,oneof" json:"bval,omitempty"`
   938  }
   939  type Const_Fval struct {
   940  	Fval float32 `protobuf:"fixed32,13,opt,name=fval,proto3,oneof" json:"fval,omitempty"`
   941  }
   942  type Const_Dateval struct {
   943  	Dateval int32 `protobuf:"varint,14,opt,name=dateval,proto3,oneof" json:"dateval,omitempty"`
   944  }
   945  type Const_Timeval struct {
   946  	Timeval int64 `protobuf:"varint,15,opt,name=timeval,proto3,oneof" json:"timeval,omitempty"`
   947  }
   948  type Const_Datetimeval struct {
   949  	Datetimeval int64 `protobuf:"varint,16,opt,name=datetimeval,proto3,oneof" json:"datetimeval,omitempty"`
   950  }
   951  type Const_Decimal64Val struct {
   952  	Decimal64Val *Decimal64 `protobuf:"bytes,17,opt,name=decimal64val,proto3,oneof" json:"decimal64val,omitempty"`
   953  }
   954  type Const_Decimal128Val struct {
   955  	Decimal128Val *Decimal128 `protobuf:"bytes,18,opt,name=decimal128val,proto3,oneof" json:"decimal128val,omitempty"`
   956  }
   957  type Const_Timestampval struct {
   958  	Timestampval int64 `protobuf:"varint,19,opt,name=timestampval,proto3,oneof" json:"timestampval,omitempty"`
   959  }
   960  type Const_Jsonval struct {
   961  	Jsonval string `protobuf:"bytes,20,opt,name=jsonval,proto3,oneof" json:"jsonval,omitempty"`
   962  }
   963  type Const_Defaultval struct {
   964  	Defaultval bool `protobuf:"varint,21,opt,name=defaultval,proto3,oneof" json:"defaultval,omitempty"`
   965  }
   966  type Const_UpdateVal struct {
   967  	UpdateVal bool `protobuf:"varint,22,opt,name=updateVal,proto3,oneof" json:"updateVal,omitempty"`
   968  }
   969  
   970  func (*Const_I8Val) isConst_Value()         {}
   971  func (*Const_I16Val) isConst_Value()        {}
   972  func (*Const_I32Val) isConst_Value()        {}
   973  func (*Const_I64Val) isConst_Value()        {}
   974  func (*Const_U8Val) isConst_Value()         {}
   975  func (*Const_U16Val) isConst_Value()        {}
   976  func (*Const_U32Val) isConst_Value()        {}
   977  func (*Const_U64Val) isConst_Value()        {}
   978  func (*Const_Dval) isConst_Value()          {}
   979  func (*Const_Sval) isConst_Value()          {}
   980  func (*Const_Bval) isConst_Value()          {}
   981  func (*Const_Fval) isConst_Value()          {}
   982  func (*Const_Dateval) isConst_Value()       {}
   983  func (*Const_Timeval) isConst_Value()       {}
   984  func (*Const_Datetimeval) isConst_Value()   {}
   985  func (*Const_Decimal64Val) isConst_Value()  {}
   986  func (*Const_Decimal128Val) isConst_Value() {}
   987  func (*Const_Timestampval) isConst_Value()  {}
   988  func (*Const_Jsonval) isConst_Value()       {}
   989  func (*Const_Defaultval) isConst_Value()    {}
   990  func (*Const_UpdateVal) isConst_Value()     {}
   991  
   992  func (m *Const) GetValue() isConst_Value {
   993  	if m != nil {
   994  		return m.Value
   995  	}
   996  	return nil
   997  }
   998  
   999  func (m *Const) GetIsnull() bool {
  1000  	if m != nil {
  1001  		return m.Isnull
  1002  	}
  1003  	return false
  1004  }
  1005  
  1006  func (m *Const) GetI8Val() int32 {
  1007  	if x, ok := m.GetValue().(*Const_I8Val); ok {
  1008  		return x.I8Val
  1009  	}
  1010  	return 0
  1011  }
  1012  
  1013  func (m *Const) GetI16Val() int32 {
  1014  	if x, ok := m.GetValue().(*Const_I16Val); ok {
  1015  		return x.I16Val
  1016  	}
  1017  	return 0
  1018  }
  1019  
  1020  func (m *Const) GetI32Val() int32 {
  1021  	if x, ok := m.GetValue().(*Const_I32Val); ok {
  1022  		return x.I32Val
  1023  	}
  1024  	return 0
  1025  }
  1026  
  1027  func (m *Const) GetI64Val() int64 {
  1028  	if x, ok := m.GetValue().(*Const_I64Val); ok {
  1029  		return x.I64Val
  1030  	}
  1031  	return 0
  1032  }
  1033  
  1034  func (m *Const) GetU8Val() uint32 {
  1035  	if x, ok := m.GetValue().(*Const_U8Val); ok {
  1036  		return x.U8Val
  1037  	}
  1038  	return 0
  1039  }
  1040  
  1041  func (m *Const) GetU16Val() uint32 {
  1042  	if x, ok := m.GetValue().(*Const_U16Val); ok {
  1043  		return x.U16Val
  1044  	}
  1045  	return 0
  1046  }
  1047  
  1048  func (m *Const) GetU32Val() uint32 {
  1049  	if x, ok := m.GetValue().(*Const_U32Val); ok {
  1050  		return x.U32Val
  1051  	}
  1052  	return 0
  1053  }
  1054  
  1055  func (m *Const) GetU64Val() uint64 {
  1056  	if x, ok := m.GetValue().(*Const_U64Val); ok {
  1057  		return x.U64Val
  1058  	}
  1059  	return 0
  1060  }
  1061  
  1062  func (m *Const) GetDval() float64 {
  1063  	if x, ok := m.GetValue().(*Const_Dval); ok {
  1064  		return x.Dval
  1065  	}
  1066  	return 0
  1067  }
  1068  
  1069  func (m *Const) GetSval() string {
  1070  	if x, ok := m.GetValue().(*Const_Sval); ok {
  1071  		return x.Sval
  1072  	}
  1073  	return ""
  1074  }
  1075  
  1076  func (m *Const) GetBval() bool {
  1077  	if x, ok := m.GetValue().(*Const_Bval); ok {
  1078  		return x.Bval
  1079  	}
  1080  	return false
  1081  }
  1082  
  1083  func (m *Const) GetFval() float32 {
  1084  	if x, ok := m.GetValue().(*Const_Fval); ok {
  1085  		return x.Fval
  1086  	}
  1087  	return 0
  1088  }
  1089  
  1090  func (m *Const) GetDateval() int32 {
  1091  	if x, ok := m.GetValue().(*Const_Dateval); ok {
  1092  		return x.Dateval
  1093  	}
  1094  	return 0
  1095  }
  1096  
  1097  func (m *Const) GetTimeval() int64 {
  1098  	if x, ok := m.GetValue().(*Const_Timeval); ok {
  1099  		return x.Timeval
  1100  	}
  1101  	return 0
  1102  }
  1103  
  1104  func (m *Const) GetDatetimeval() int64 {
  1105  	if x, ok := m.GetValue().(*Const_Datetimeval); ok {
  1106  		return x.Datetimeval
  1107  	}
  1108  	return 0
  1109  }
  1110  
  1111  func (m *Const) GetDecimal64Val() *Decimal64 {
  1112  	if x, ok := m.GetValue().(*Const_Decimal64Val); ok {
  1113  		return x.Decimal64Val
  1114  	}
  1115  	return nil
  1116  }
  1117  
  1118  func (m *Const) GetDecimal128Val() *Decimal128 {
  1119  	if x, ok := m.GetValue().(*Const_Decimal128Val); ok {
  1120  		return x.Decimal128Val
  1121  	}
  1122  	return nil
  1123  }
  1124  
  1125  func (m *Const) GetTimestampval() int64 {
  1126  	if x, ok := m.GetValue().(*Const_Timestampval); ok {
  1127  		return x.Timestampval
  1128  	}
  1129  	return 0
  1130  }
  1131  
  1132  func (m *Const) GetJsonval() string {
  1133  	if x, ok := m.GetValue().(*Const_Jsonval); ok {
  1134  		return x.Jsonval
  1135  	}
  1136  	return ""
  1137  }
  1138  
  1139  func (m *Const) GetDefaultval() bool {
  1140  	if x, ok := m.GetValue().(*Const_Defaultval); ok {
  1141  		return x.Defaultval
  1142  	}
  1143  	return false
  1144  }
  1145  
  1146  func (m *Const) GetUpdateVal() bool {
  1147  	if x, ok := m.GetValue().(*Const_UpdateVal); ok {
  1148  		return x.UpdateVal
  1149  	}
  1150  	return false
  1151  }
  1152  
  1153  func (m *Const) GetIsBin() bool {
  1154  	if m != nil {
  1155  		return m.IsBin
  1156  	}
  1157  	return false
  1158  }
  1159  
  1160  func (m *Const) GetSrc() *Expr {
  1161  	if m != nil {
  1162  		return m.Src
  1163  	}
  1164  	return nil
  1165  }
  1166  
  1167  // XXX_OneofWrappers is for the internal use of the proto package.
  1168  func (*Const) XXX_OneofWrappers() []interface{} {
  1169  	return []interface{}{
  1170  		(*Const_I8Val)(nil),
  1171  		(*Const_I16Val)(nil),
  1172  		(*Const_I32Val)(nil),
  1173  		(*Const_I64Val)(nil),
  1174  		(*Const_U8Val)(nil),
  1175  		(*Const_U16Val)(nil),
  1176  		(*Const_U32Val)(nil),
  1177  		(*Const_U64Val)(nil),
  1178  		(*Const_Dval)(nil),
  1179  		(*Const_Sval)(nil),
  1180  		(*Const_Bval)(nil),
  1181  		(*Const_Fval)(nil),
  1182  		(*Const_Dateval)(nil),
  1183  		(*Const_Timeval)(nil),
  1184  		(*Const_Datetimeval)(nil),
  1185  		(*Const_Decimal64Val)(nil),
  1186  		(*Const_Decimal128Val)(nil),
  1187  		(*Const_Timestampval)(nil),
  1188  		(*Const_Jsonval)(nil),
  1189  		(*Const_Defaultval)(nil),
  1190  		(*Const_UpdateVal)(nil),
  1191  	}
  1192  }
  1193  
  1194  // Bounded param for prepared statement.  User fill on execution.
  1195  type ParamRef struct {
  1196  	Pos                  int32    `protobuf:"varint,1,opt,name=pos,proto3" json:"pos,omitempty"`
  1197  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1198  	XXX_unrecognized     []byte   `json:"-"`
  1199  	XXX_sizecache        int32    `json:"-"`
  1200  }
  1201  
  1202  func (m *ParamRef) Reset()         { *m = ParamRef{} }
  1203  func (m *ParamRef) String() string { return proto.CompactTextString(m) }
  1204  func (*ParamRef) ProtoMessage()    {}
  1205  func (*ParamRef) Descriptor() ([]byte, []int) {
  1206  	return fileDescriptor_2d655ab2f7683c23, []int{2}
  1207  }
  1208  func (m *ParamRef) XXX_Unmarshal(b []byte) error {
  1209  	return m.Unmarshal(b)
  1210  }
  1211  func (m *ParamRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1212  	if deterministic {
  1213  		return xxx_messageInfo_ParamRef.Marshal(b, m, deterministic)
  1214  	} else {
  1215  		b = b[:cap(b)]
  1216  		n, err := m.MarshalToSizedBuffer(b)
  1217  		if err != nil {
  1218  			return nil, err
  1219  		}
  1220  		return b[:n], nil
  1221  	}
  1222  }
  1223  func (m *ParamRef) XXX_Merge(src proto.Message) {
  1224  	xxx_messageInfo_ParamRef.Merge(m, src)
  1225  }
  1226  func (m *ParamRef) XXX_Size() int {
  1227  	return m.ProtoSize()
  1228  }
  1229  func (m *ParamRef) XXX_DiscardUnknown() {
  1230  	xxx_messageInfo_ParamRef.DiscardUnknown(m)
  1231  }
  1232  
  1233  var xxx_messageInfo_ParamRef proto.InternalMessageInfo
  1234  
  1235  func (m *ParamRef) GetPos() int32 {
  1236  	if m != nil {
  1237  		return m.Pos
  1238  	}
  1239  	return 0
  1240  }
  1241  
  1242  // Session variable ref, compiler should fold.
  1243  type VarRef struct {
  1244  	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1245  	System               bool     `protobuf:"varint,2,opt,name=system,proto3" json:"system,omitempty"`
  1246  	Global               bool     `protobuf:"varint,3,opt,name=global,proto3" json:"global,omitempty"`
  1247  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1248  	XXX_unrecognized     []byte   `json:"-"`
  1249  	XXX_sizecache        int32    `json:"-"`
  1250  }
  1251  
  1252  func (m *VarRef) Reset()         { *m = VarRef{} }
  1253  func (m *VarRef) String() string { return proto.CompactTextString(m) }
  1254  func (*VarRef) ProtoMessage()    {}
  1255  func (*VarRef) Descriptor() ([]byte, []int) {
  1256  	return fileDescriptor_2d655ab2f7683c23, []int{3}
  1257  }
  1258  func (m *VarRef) XXX_Unmarshal(b []byte) error {
  1259  	return m.Unmarshal(b)
  1260  }
  1261  func (m *VarRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1262  	if deterministic {
  1263  		return xxx_messageInfo_VarRef.Marshal(b, m, deterministic)
  1264  	} else {
  1265  		b = b[:cap(b)]
  1266  		n, err := m.MarshalToSizedBuffer(b)
  1267  		if err != nil {
  1268  			return nil, err
  1269  		}
  1270  		return b[:n], nil
  1271  	}
  1272  }
  1273  func (m *VarRef) XXX_Merge(src proto.Message) {
  1274  	xxx_messageInfo_VarRef.Merge(m, src)
  1275  }
  1276  func (m *VarRef) XXX_Size() int {
  1277  	return m.ProtoSize()
  1278  }
  1279  func (m *VarRef) XXX_DiscardUnknown() {
  1280  	xxx_messageInfo_VarRef.DiscardUnknown(m)
  1281  }
  1282  
  1283  var xxx_messageInfo_VarRef proto.InternalMessageInfo
  1284  
  1285  func (m *VarRef) GetName() string {
  1286  	if m != nil {
  1287  		return m.Name
  1288  	}
  1289  	return ""
  1290  }
  1291  
  1292  func (m *VarRef) GetSystem() bool {
  1293  	if m != nil {
  1294  		return m.System
  1295  	}
  1296  	return false
  1297  }
  1298  
  1299  func (m *VarRef) GetGlobal() bool {
  1300  	if m != nil {
  1301  		return m.Global
  1302  	}
  1303  	return false
  1304  }
  1305  
  1306  // Reference a column in the proj list of a node.
  1307  type ColRef struct {
  1308  	RelPos               int32    `protobuf:"varint,1,opt,name=rel_pos,json=relPos,proto3" json:"rel_pos,omitempty"`
  1309  	ColPos               int32    `protobuf:"varint,2,opt,name=col_pos,json=colPos,proto3" json:"col_pos,omitempty"`
  1310  	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  1311  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1312  	XXX_unrecognized     []byte   `json:"-"`
  1313  	XXX_sizecache        int32    `json:"-"`
  1314  }
  1315  
  1316  func (m *ColRef) Reset()         { *m = ColRef{} }
  1317  func (m *ColRef) String() string { return proto.CompactTextString(m) }
  1318  func (*ColRef) ProtoMessage()    {}
  1319  func (*ColRef) Descriptor() ([]byte, []int) {
  1320  	return fileDescriptor_2d655ab2f7683c23, []int{4}
  1321  }
  1322  func (m *ColRef) XXX_Unmarshal(b []byte) error {
  1323  	return m.Unmarshal(b)
  1324  }
  1325  func (m *ColRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1326  	if deterministic {
  1327  		return xxx_messageInfo_ColRef.Marshal(b, m, deterministic)
  1328  	} else {
  1329  		b = b[:cap(b)]
  1330  		n, err := m.MarshalToSizedBuffer(b)
  1331  		if err != nil {
  1332  			return nil, err
  1333  		}
  1334  		return b[:n], nil
  1335  	}
  1336  }
  1337  func (m *ColRef) XXX_Merge(src proto.Message) {
  1338  	xxx_messageInfo_ColRef.Merge(m, src)
  1339  }
  1340  func (m *ColRef) XXX_Size() int {
  1341  	return m.ProtoSize()
  1342  }
  1343  func (m *ColRef) XXX_DiscardUnknown() {
  1344  	xxx_messageInfo_ColRef.DiscardUnknown(m)
  1345  }
  1346  
  1347  var xxx_messageInfo_ColRef proto.InternalMessageInfo
  1348  
  1349  func (m *ColRef) GetRelPos() int32 {
  1350  	if m != nil {
  1351  		return m.RelPos
  1352  	}
  1353  	return 0
  1354  }
  1355  
  1356  func (m *ColRef) GetColPos() int32 {
  1357  	if m != nil {
  1358  		return m.ColPos
  1359  	}
  1360  	return 0
  1361  }
  1362  
  1363  func (m *ColRef) GetName() string {
  1364  	if m != nil {
  1365  		return m.Name
  1366  	}
  1367  	return ""
  1368  }
  1369  
  1370  // Reference a column by its internal table id and column id
  1371  type RawColRef struct {
  1372  	TblId                uint64   `protobuf:"varint,1,opt,name=tbl_id,json=tblId,proto3" json:"tbl_id,omitempty"`
  1373  	ColId                uint64   `protobuf:"varint,2,opt,name=col_id,json=colId,proto3" json:"col_id,omitempty"`
  1374  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1375  	XXX_unrecognized     []byte   `json:"-"`
  1376  	XXX_sizecache        int32    `json:"-"`
  1377  }
  1378  
  1379  func (m *RawColRef) Reset()         { *m = RawColRef{} }
  1380  func (m *RawColRef) String() string { return proto.CompactTextString(m) }
  1381  func (*RawColRef) ProtoMessage()    {}
  1382  func (*RawColRef) Descriptor() ([]byte, []int) {
  1383  	return fileDescriptor_2d655ab2f7683c23, []int{5}
  1384  }
  1385  func (m *RawColRef) XXX_Unmarshal(b []byte) error {
  1386  	return m.Unmarshal(b)
  1387  }
  1388  func (m *RawColRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1389  	if deterministic {
  1390  		return xxx_messageInfo_RawColRef.Marshal(b, m, deterministic)
  1391  	} else {
  1392  		b = b[:cap(b)]
  1393  		n, err := m.MarshalToSizedBuffer(b)
  1394  		if err != nil {
  1395  			return nil, err
  1396  		}
  1397  		return b[:n], nil
  1398  	}
  1399  }
  1400  func (m *RawColRef) XXX_Merge(src proto.Message) {
  1401  	xxx_messageInfo_RawColRef.Merge(m, src)
  1402  }
  1403  func (m *RawColRef) XXX_Size() int {
  1404  	return m.ProtoSize()
  1405  }
  1406  func (m *RawColRef) XXX_DiscardUnknown() {
  1407  	xxx_messageInfo_RawColRef.DiscardUnknown(m)
  1408  }
  1409  
  1410  var xxx_messageInfo_RawColRef proto.InternalMessageInfo
  1411  
  1412  func (m *RawColRef) GetTblId() uint64 {
  1413  	if m != nil {
  1414  		return m.TblId
  1415  	}
  1416  	return 0
  1417  }
  1418  
  1419  func (m *RawColRef) GetColId() uint64 {
  1420  	if m != nil {
  1421  		return m.ColId
  1422  	}
  1423  	return 0
  1424  }
  1425  
  1426  // Reference a correlated column in the proj list of a node.
  1427  type CorrColRef struct {
  1428  	RelPos               int32    `protobuf:"varint,1,opt,name=rel_pos,json=relPos,proto3" json:"rel_pos,omitempty"`
  1429  	ColPos               int32    `protobuf:"varint,2,opt,name=col_pos,json=colPos,proto3" json:"col_pos,omitempty"`
  1430  	Depth                int32    `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`
  1431  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1432  	XXX_unrecognized     []byte   `json:"-"`
  1433  	XXX_sizecache        int32    `json:"-"`
  1434  }
  1435  
  1436  func (m *CorrColRef) Reset()         { *m = CorrColRef{} }
  1437  func (m *CorrColRef) String() string { return proto.CompactTextString(m) }
  1438  func (*CorrColRef) ProtoMessage()    {}
  1439  func (*CorrColRef) Descriptor() ([]byte, []int) {
  1440  	return fileDescriptor_2d655ab2f7683c23, []int{6}
  1441  }
  1442  func (m *CorrColRef) XXX_Unmarshal(b []byte) error {
  1443  	return m.Unmarshal(b)
  1444  }
  1445  func (m *CorrColRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1446  	if deterministic {
  1447  		return xxx_messageInfo_CorrColRef.Marshal(b, m, deterministic)
  1448  	} else {
  1449  		b = b[:cap(b)]
  1450  		n, err := m.MarshalToSizedBuffer(b)
  1451  		if err != nil {
  1452  			return nil, err
  1453  		}
  1454  		return b[:n], nil
  1455  	}
  1456  }
  1457  func (m *CorrColRef) XXX_Merge(src proto.Message) {
  1458  	xxx_messageInfo_CorrColRef.Merge(m, src)
  1459  }
  1460  func (m *CorrColRef) XXX_Size() int {
  1461  	return m.ProtoSize()
  1462  }
  1463  func (m *CorrColRef) XXX_DiscardUnknown() {
  1464  	xxx_messageInfo_CorrColRef.DiscardUnknown(m)
  1465  }
  1466  
  1467  var xxx_messageInfo_CorrColRef proto.InternalMessageInfo
  1468  
  1469  func (m *CorrColRef) GetRelPos() int32 {
  1470  	if m != nil {
  1471  		return m.RelPos
  1472  	}
  1473  	return 0
  1474  }
  1475  
  1476  func (m *CorrColRef) GetColPos() int32 {
  1477  	if m != nil {
  1478  		return m.ColPos
  1479  	}
  1480  	return 0
  1481  }
  1482  
  1483  func (m *CorrColRef) GetDepth() int32 {
  1484  	if m != nil {
  1485  		return m.Depth
  1486  	}
  1487  	return 0
  1488  }
  1489  
  1490  // ExprList is a type of Expr
  1491  type ExprList struct {
  1492  	List                 []*Expr  `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  1493  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1494  	XXX_unrecognized     []byte   `json:"-"`
  1495  	XXX_sizecache        int32    `json:"-"`
  1496  }
  1497  
  1498  func (m *ExprList) Reset()         { *m = ExprList{} }
  1499  func (m *ExprList) String() string { return proto.CompactTextString(m) }
  1500  func (*ExprList) ProtoMessage()    {}
  1501  func (*ExprList) Descriptor() ([]byte, []int) {
  1502  	return fileDescriptor_2d655ab2f7683c23, []int{7}
  1503  }
  1504  func (m *ExprList) XXX_Unmarshal(b []byte) error {
  1505  	return m.Unmarshal(b)
  1506  }
  1507  func (m *ExprList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1508  	if deterministic {
  1509  		return xxx_messageInfo_ExprList.Marshal(b, m, deterministic)
  1510  	} else {
  1511  		b = b[:cap(b)]
  1512  		n, err := m.MarshalToSizedBuffer(b)
  1513  		if err != nil {
  1514  			return nil, err
  1515  		}
  1516  		return b[:n], nil
  1517  	}
  1518  }
  1519  func (m *ExprList) XXX_Merge(src proto.Message) {
  1520  	xxx_messageInfo_ExprList.Merge(m, src)
  1521  }
  1522  func (m *ExprList) XXX_Size() int {
  1523  	return m.ProtoSize()
  1524  }
  1525  func (m *ExprList) XXX_DiscardUnknown() {
  1526  	xxx_messageInfo_ExprList.DiscardUnknown(m)
  1527  }
  1528  
  1529  var xxx_messageInfo_ExprList proto.InternalMessageInfo
  1530  
  1531  func (m *ExprList) GetList() []*Expr {
  1532  	if m != nil {
  1533  		return m.List
  1534  	}
  1535  	return nil
  1536  }
  1537  
  1538  type MaxValue struct {
  1539  	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  1540  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1541  	XXX_unrecognized     []byte   `json:"-"`
  1542  	XXX_sizecache        int32    `json:"-"`
  1543  }
  1544  
  1545  func (m *MaxValue) Reset()         { *m = MaxValue{} }
  1546  func (m *MaxValue) String() string { return proto.CompactTextString(m) }
  1547  func (*MaxValue) ProtoMessage()    {}
  1548  func (*MaxValue) Descriptor() ([]byte, []int) {
  1549  	return fileDescriptor_2d655ab2f7683c23, []int{8}
  1550  }
  1551  func (m *MaxValue) XXX_Unmarshal(b []byte) error {
  1552  	return m.Unmarshal(b)
  1553  }
  1554  func (m *MaxValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1555  	if deterministic {
  1556  		return xxx_messageInfo_MaxValue.Marshal(b, m, deterministic)
  1557  	} else {
  1558  		b = b[:cap(b)]
  1559  		n, err := m.MarshalToSizedBuffer(b)
  1560  		if err != nil {
  1561  			return nil, err
  1562  		}
  1563  		return b[:n], nil
  1564  	}
  1565  }
  1566  func (m *MaxValue) XXX_Merge(src proto.Message) {
  1567  	xxx_messageInfo_MaxValue.Merge(m, src)
  1568  }
  1569  func (m *MaxValue) XXX_Size() int {
  1570  	return m.ProtoSize()
  1571  }
  1572  func (m *MaxValue) XXX_DiscardUnknown() {
  1573  	xxx_messageInfo_MaxValue.DiscardUnknown(m)
  1574  }
  1575  
  1576  var xxx_messageInfo_MaxValue proto.InternalMessageInfo
  1577  
  1578  func (m *MaxValue) GetValue() string {
  1579  	if m != nil {
  1580  		return m.Value
  1581  	}
  1582  	return ""
  1583  }
  1584  
  1585  // TargetType used in cast function as target type
  1586  type TargetType struct {
  1587  	Typ                  *Type    `protobuf:"bytes,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1588  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1589  	XXX_unrecognized     []byte   `json:"-"`
  1590  	XXX_sizecache        int32    `json:"-"`
  1591  }
  1592  
  1593  func (m *TargetType) Reset()         { *m = TargetType{} }
  1594  func (m *TargetType) String() string { return proto.CompactTextString(m) }
  1595  func (*TargetType) ProtoMessage()    {}
  1596  func (*TargetType) Descriptor() ([]byte, []int) {
  1597  	return fileDescriptor_2d655ab2f7683c23, []int{9}
  1598  }
  1599  func (m *TargetType) XXX_Unmarshal(b []byte) error {
  1600  	return m.Unmarshal(b)
  1601  }
  1602  func (m *TargetType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1603  	if deterministic {
  1604  		return xxx_messageInfo_TargetType.Marshal(b, m, deterministic)
  1605  	} else {
  1606  		b = b[:cap(b)]
  1607  		n, err := m.MarshalToSizedBuffer(b)
  1608  		if err != nil {
  1609  			return nil, err
  1610  		}
  1611  		return b[:n], nil
  1612  	}
  1613  }
  1614  func (m *TargetType) XXX_Merge(src proto.Message) {
  1615  	xxx_messageInfo_TargetType.Merge(m, src)
  1616  }
  1617  func (m *TargetType) XXX_Size() int {
  1618  	return m.ProtoSize()
  1619  }
  1620  func (m *TargetType) XXX_DiscardUnknown() {
  1621  	xxx_messageInfo_TargetType.DiscardUnknown(m)
  1622  }
  1623  
  1624  var xxx_messageInfo_TargetType proto.InternalMessageInfo
  1625  
  1626  func (m *TargetType) GetTyp() *Type {
  1627  	if m != nil {
  1628  		return m.Typ
  1629  	}
  1630  	return nil
  1631  }
  1632  
  1633  // Reference a subquery
  1634  type SubqueryRef struct {
  1635  	Typ                  SubqueryRef_Type `protobuf:"varint,1,opt,name=typ,proto3,enum=plan.SubqueryRef_Type" json:"typ,omitempty"`
  1636  	NodeId               int32            `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
  1637  	Op                   string           `protobuf:"bytes,3,opt,name=op,proto3" json:"op,omitempty"`
  1638  	Child                *Expr            `protobuf:"bytes,4,opt,name=child,proto3" json:"child,omitempty"`
  1639  	RowSize              int32            `protobuf:"varint,5,opt,name=row_size,json=rowSize,proto3" json:"row_size,omitempty"`
  1640  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
  1641  	XXX_unrecognized     []byte           `json:"-"`
  1642  	XXX_sizecache        int32            `json:"-"`
  1643  }
  1644  
  1645  func (m *SubqueryRef) Reset()         { *m = SubqueryRef{} }
  1646  func (m *SubqueryRef) String() string { return proto.CompactTextString(m) }
  1647  func (*SubqueryRef) ProtoMessage()    {}
  1648  func (*SubqueryRef) Descriptor() ([]byte, []int) {
  1649  	return fileDescriptor_2d655ab2f7683c23, []int{10}
  1650  }
  1651  func (m *SubqueryRef) XXX_Unmarshal(b []byte) error {
  1652  	return m.Unmarshal(b)
  1653  }
  1654  func (m *SubqueryRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1655  	if deterministic {
  1656  		return xxx_messageInfo_SubqueryRef.Marshal(b, m, deterministic)
  1657  	} else {
  1658  		b = b[:cap(b)]
  1659  		n, err := m.MarshalToSizedBuffer(b)
  1660  		if err != nil {
  1661  			return nil, err
  1662  		}
  1663  		return b[:n], nil
  1664  	}
  1665  }
  1666  func (m *SubqueryRef) XXX_Merge(src proto.Message) {
  1667  	xxx_messageInfo_SubqueryRef.Merge(m, src)
  1668  }
  1669  func (m *SubqueryRef) XXX_Size() int {
  1670  	return m.ProtoSize()
  1671  }
  1672  func (m *SubqueryRef) XXX_DiscardUnknown() {
  1673  	xxx_messageInfo_SubqueryRef.DiscardUnknown(m)
  1674  }
  1675  
  1676  var xxx_messageInfo_SubqueryRef proto.InternalMessageInfo
  1677  
  1678  func (m *SubqueryRef) GetTyp() SubqueryRef_Type {
  1679  	if m != nil {
  1680  		return m.Typ
  1681  	}
  1682  	return SubqueryRef_SCALAR
  1683  }
  1684  
  1685  func (m *SubqueryRef) GetNodeId() int32 {
  1686  	if m != nil {
  1687  		return m.NodeId
  1688  	}
  1689  	return 0
  1690  }
  1691  
  1692  func (m *SubqueryRef) GetOp() string {
  1693  	if m != nil {
  1694  		return m.Op
  1695  	}
  1696  	return ""
  1697  }
  1698  
  1699  func (m *SubqueryRef) GetChild() *Expr {
  1700  	if m != nil {
  1701  		return m.Child
  1702  	}
  1703  	return nil
  1704  }
  1705  
  1706  func (m *SubqueryRef) GetRowSize() int32 {
  1707  	if m != nil {
  1708  		return m.RowSize
  1709  	}
  1710  	return 0
  1711  }
  1712  
  1713  // Object ref, reference a object in database, 4 part name.
  1714  type ObjectRef struct {
  1715  	Server               int64    `protobuf:"varint,1,opt,name=server,proto3" json:"server,omitempty"`
  1716  	Db                   int64    `protobuf:"varint,2,opt,name=db,proto3" json:"db,omitempty"`
  1717  	Schema               int64    `protobuf:"varint,3,opt,name=schema,proto3" json:"schema,omitempty"`
  1718  	Obj                  int64    `protobuf:"varint,4,opt,name=obj,proto3" json:"obj,omitempty"`
  1719  	ServerName           string   `protobuf:"bytes,5,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
  1720  	DbName               string   `protobuf:"bytes,6,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
  1721  	SchemaName           string   `protobuf:"bytes,7,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
  1722  	ObjName              string   `protobuf:"bytes,8,opt,name=obj_name,json=objName,proto3" json:"obj_name,omitempty"`
  1723  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1724  	XXX_unrecognized     []byte   `json:"-"`
  1725  	XXX_sizecache        int32    `json:"-"`
  1726  }
  1727  
  1728  func (m *ObjectRef) Reset()         { *m = ObjectRef{} }
  1729  func (m *ObjectRef) String() string { return proto.CompactTextString(m) }
  1730  func (*ObjectRef) ProtoMessage()    {}
  1731  func (*ObjectRef) Descriptor() ([]byte, []int) {
  1732  	return fileDescriptor_2d655ab2f7683c23, []int{11}
  1733  }
  1734  func (m *ObjectRef) XXX_Unmarshal(b []byte) error {
  1735  	return m.Unmarshal(b)
  1736  }
  1737  func (m *ObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1738  	if deterministic {
  1739  		return xxx_messageInfo_ObjectRef.Marshal(b, m, deterministic)
  1740  	} else {
  1741  		b = b[:cap(b)]
  1742  		n, err := m.MarshalToSizedBuffer(b)
  1743  		if err != nil {
  1744  			return nil, err
  1745  		}
  1746  		return b[:n], nil
  1747  	}
  1748  }
  1749  func (m *ObjectRef) XXX_Merge(src proto.Message) {
  1750  	xxx_messageInfo_ObjectRef.Merge(m, src)
  1751  }
  1752  func (m *ObjectRef) XXX_Size() int {
  1753  	return m.ProtoSize()
  1754  }
  1755  func (m *ObjectRef) XXX_DiscardUnknown() {
  1756  	xxx_messageInfo_ObjectRef.DiscardUnknown(m)
  1757  }
  1758  
  1759  var xxx_messageInfo_ObjectRef proto.InternalMessageInfo
  1760  
  1761  func (m *ObjectRef) GetServer() int64 {
  1762  	if m != nil {
  1763  		return m.Server
  1764  	}
  1765  	return 0
  1766  }
  1767  
  1768  func (m *ObjectRef) GetDb() int64 {
  1769  	if m != nil {
  1770  		return m.Db
  1771  	}
  1772  	return 0
  1773  }
  1774  
  1775  func (m *ObjectRef) GetSchema() int64 {
  1776  	if m != nil {
  1777  		return m.Schema
  1778  	}
  1779  	return 0
  1780  }
  1781  
  1782  func (m *ObjectRef) GetObj() int64 {
  1783  	if m != nil {
  1784  		return m.Obj
  1785  	}
  1786  	return 0
  1787  }
  1788  
  1789  func (m *ObjectRef) GetServerName() string {
  1790  	if m != nil {
  1791  		return m.ServerName
  1792  	}
  1793  	return ""
  1794  }
  1795  
  1796  func (m *ObjectRef) GetDbName() string {
  1797  	if m != nil {
  1798  		return m.DbName
  1799  	}
  1800  	return ""
  1801  }
  1802  
  1803  func (m *ObjectRef) GetSchemaName() string {
  1804  	if m != nil {
  1805  		return m.SchemaName
  1806  	}
  1807  	return ""
  1808  }
  1809  
  1810  func (m *ObjectRef) GetObjName() string {
  1811  	if m != nil {
  1812  		return m.ObjName
  1813  	}
  1814  	return ""
  1815  }
  1816  
  1817  type Function struct {
  1818  	Func                 *ObjectRef `protobuf:"bytes,1,opt,name=func,proto3" json:"func,omitempty"`
  1819  	Args                 []*Expr    `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
  1820  	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
  1821  	XXX_unrecognized     []byte     `json:"-"`
  1822  	XXX_sizecache        int32      `json:"-"`
  1823  }
  1824  
  1825  func (m *Function) Reset()         { *m = Function{} }
  1826  func (m *Function) String() string { return proto.CompactTextString(m) }
  1827  func (*Function) ProtoMessage()    {}
  1828  func (*Function) Descriptor() ([]byte, []int) {
  1829  	return fileDescriptor_2d655ab2f7683c23, []int{12}
  1830  }
  1831  func (m *Function) XXX_Unmarshal(b []byte) error {
  1832  	return m.Unmarshal(b)
  1833  }
  1834  func (m *Function) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1835  	if deterministic {
  1836  		return xxx_messageInfo_Function.Marshal(b, m, deterministic)
  1837  	} else {
  1838  		b = b[:cap(b)]
  1839  		n, err := m.MarshalToSizedBuffer(b)
  1840  		if err != nil {
  1841  			return nil, err
  1842  		}
  1843  		return b[:n], nil
  1844  	}
  1845  }
  1846  func (m *Function) XXX_Merge(src proto.Message) {
  1847  	xxx_messageInfo_Function.Merge(m, src)
  1848  }
  1849  func (m *Function) XXX_Size() int {
  1850  	return m.ProtoSize()
  1851  }
  1852  func (m *Function) XXX_DiscardUnknown() {
  1853  	xxx_messageInfo_Function.DiscardUnknown(m)
  1854  }
  1855  
  1856  var xxx_messageInfo_Function proto.InternalMessageInfo
  1857  
  1858  func (m *Function) GetFunc() *ObjectRef {
  1859  	if m != nil {
  1860  		return m.Func
  1861  	}
  1862  	return nil
  1863  }
  1864  
  1865  func (m *Function) GetArgs() []*Expr {
  1866  	if m != nil {
  1867  		return m.Args
  1868  	}
  1869  	return nil
  1870  }
  1871  
  1872  type Expr struct {
  1873  	Typ *Type `protobuf:"bytes,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1874  	// Types that are valid to be assigned to Expr:
  1875  	//
  1876  	//	*Expr_C
  1877  	//	*Expr_P
  1878  	//	*Expr_V
  1879  	//	*Expr_Col
  1880  	//	*Expr_Raw
  1881  	//	*Expr_F
  1882  	//	*Expr_Sub
  1883  	//	*Expr_Corr
  1884  	//	*Expr_T
  1885  	//	*Expr_List
  1886  	//	*Expr_Max
  1887  	Expr                 isExpr_Expr `protobuf_oneof:"expr"`
  1888  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
  1889  	XXX_unrecognized     []byte      `json:"-"`
  1890  	XXX_sizecache        int32       `json:"-"`
  1891  }
  1892  
  1893  func (m *Expr) Reset()         { *m = Expr{} }
  1894  func (m *Expr) String() string { return proto.CompactTextString(m) }
  1895  func (*Expr) ProtoMessage()    {}
  1896  func (*Expr) Descriptor() ([]byte, []int) {
  1897  	return fileDescriptor_2d655ab2f7683c23, []int{13}
  1898  }
  1899  func (m *Expr) XXX_Unmarshal(b []byte) error {
  1900  	return m.Unmarshal(b)
  1901  }
  1902  func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1903  	if deterministic {
  1904  		return xxx_messageInfo_Expr.Marshal(b, m, deterministic)
  1905  	} else {
  1906  		b = b[:cap(b)]
  1907  		n, err := m.MarshalToSizedBuffer(b)
  1908  		if err != nil {
  1909  			return nil, err
  1910  		}
  1911  		return b[:n], nil
  1912  	}
  1913  }
  1914  func (m *Expr) XXX_Merge(src proto.Message) {
  1915  	xxx_messageInfo_Expr.Merge(m, src)
  1916  }
  1917  func (m *Expr) XXX_Size() int {
  1918  	return m.ProtoSize()
  1919  }
  1920  func (m *Expr) XXX_DiscardUnknown() {
  1921  	xxx_messageInfo_Expr.DiscardUnknown(m)
  1922  }
  1923  
  1924  var xxx_messageInfo_Expr proto.InternalMessageInfo
  1925  
  1926  type isExpr_Expr interface {
  1927  	isExpr_Expr()
  1928  	MarshalTo([]byte) (int, error)
  1929  	ProtoSize() int
  1930  }
  1931  
  1932  type Expr_C struct {
  1933  	C *Const `protobuf:"bytes,2,opt,name=c,proto3,oneof" json:"c,omitempty"`
  1934  }
  1935  type Expr_P struct {
  1936  	P *ParamRef `protobuf:"bytes,3,opt,name=p,proto3,oneof" json:"p,omitempty"`
  1937  }
  1938  type Expr_V struct {
  1939  	V *VarRef `protobuf:"bytes,4,opt,name=v,proto3,oneof" json:"v,omitempty"`
  1940  }
  1941  type Expr_Col struct {
  1942  	Col *ColRef `protobuf:"bytes,5,opt,name=col,proto3,oneof" json:"col,omitempty"`
  1943  }
  1944  type Expr_Raw struct {
  1945  	Raw *RawColRef `protobuf:"bytes,6,opt,name=raw,proto3,oneof" json:"raw,omitempty"`
  1946  }
  1947  type Expr_F struct {
  1948  	F *Function `protobuf:"bytes,7,opt,name=f,proto3,oneof" json:"f,omitempty"`
  1949  }
  1950  type Expr_Sub struct {
  1951  	Sub *SubqueryRef `protobuf:"bytes,8,opt,name=sub,proto3,oneof" json:"sub,omitempty"`
  1952  }
  1953  type Expr_Corr struct {
  1954  	Corr *CorrColRef `protobuf:"bytes,9,opt,name=corr,proto3,oneof" json:"corr,omitempty"`
  1955  }
  1956  type Expr_T struct {
  1957  	T *TargetType `protobuf:"bytes,10,opt,name=t,proto3,oneof" json:"t,omitempty"`
  1958  }
  1959  type Expr_List struct {
  1960  	List *ExprList `protobuf:"bytes,11,opt,name=list,proto3,oneof" json:"list,omitempty"`
  1961  }
  1962  type Expr_Max struct {
  1963  	Max *MaxValue `protobuf:"bytes,12,opt,name=max,proto3,oneof" json:"max,omitempty"`
  1964  }
  1965  
  1966  func (*Expr_C) isExpr_Expr()    {}
  1967  func (*Expr_P) isExpr_Expr()    {}
  1968  func (*Expr_V) isExpr_Expr()    {}
  1969  func (*Expr_Col) isExpr_Expr()  {}
  1970  func (*Expr_Raw) isExpr_Expr()  {}
  1971  func (*Expr_F) isExpr_Expr()    {}
  1972  func (*Expr_Sub) isExpr_Expr()  {}
  1973  func (*Expr_Corr) isExpr_Expr() {}
  1974  func (*Expr_T) isExpr_Expr()    {}
  1975  func (*Expr_List) isExpr_Expr() {}
  1976  func (*Expr_Max) isExpr_Expr()  {}
  1977  
  1978  func (m *Expr) GetExpr() isExpr_Expr {
  1979  	if m != nil {
  1980  		return m.Expr
  1981  	}
  1982  	return nil
  1983  }
  1984  
  1985  func (m *Expr) GetTyp() *Type {
  1986  	if m != nil {
  1987  		return m.Typ
  1988  	}
  1989  	return nil
  1990  }
  1991  
  1992  func (m *Expr) GetC() *Const {
  1993  	if x, ok := m.GetExpr().(*Expr_C); ok {
  1994  		return x.C
  1995  	}
  1996  	return nil
  1997  }
  1998  
  1999  func (m *Expr) GetP() *ParamRef {
  2000  	if x, ok := m.GetExpr().(*Expr_P); ok {
  2001  		return x.P
  2002  	}
  2003  	return nil
  2004  }
  2005  
  2006  func (m *Expr) GetV() *VarRef {
  2007  	if x, ok := m.GetExpr().(*Expr_V); ok {
  2008  		return x.V
  2009  	}
  2010  	return nil
  2011  }
  2012  
  2013  func (m *Expr) GetCol() *ColRef {
  2014  	if x, ok := m.GetExpr().(*Expr_Col); ok {
  2015  		return x.Col
  2016  	}
  2017  	return nil
  2018  }
  2019  
  2020  func (m *Expr) GetRaw() *RawColRef {
  2021  	if x, ok := m.GetExpr().(*Expr_Raw); ok {
  2022  		return x.Raw
  2023  	}
  2024  	return nil
  2025  }
  2026  
  2027  func (m *Expr) GetF() *Function {
  2028  	if x, ok := m.GetExpr().(*Expr_F); ok {
  2029  		return x.F
  2030  	}
  2031  	return nil
  2032  }
  2033  
  2034  func (m *Expr) GetSub() *SubqueryRef {
  2035  	if x, ok := m.GetExpr().(*Expr_Sub); ok {
  2036  		return x.Sub
  2037  	}
  2038  	return nil
  2039  }
  2040  
  2041  func (m *Expr) GetCorr() *CorrColRef {
  2042  	if x, ok := m.GetExpr().(*Expr_Corr); ok {
  2043  		return x.Corr
  2044  	}
  2045  	return nil
  2046  }
  2047  
  2048  func (m *Expr) GetT() *TargetType {
  2049  	if x, ok := m.GetExpr().(*Expr_T); ok {
  2050  		return x.T
  2051  	}
  2052  	return nil
  2053  }
  2054  
  2055  func (m *Expr) GetList() *ExprList {
  2056  	if x, ok := m.GetExpr().(*Expr_List); ok {
  2057  		return x.List
  2058  	}
  2059  	return nil
  2060  }
  2061  
  2062  func (m *Expr) GetMax() *MaxValue {
  2063  	if x, ok := m.GetExpr().(*Expr_Max); ok {
  2064  		return x.Max
  2065  	}
  2066  	return nil
  2067  }
  2068  
  2069  // XXX_OneofWrappers is for the internal use of the proto package.
  2070  func (*Expr) XXX_OneofWrappers() []interface{} {
  2071  	return []interface{}{
  2072  		(*Expr_C)(nil),
  2073  		(*Expr_P)(nil),
  2074  		(*Expr_V)(nil),
  2075  		(*Expr_Col)(nil),
  2076  		(*Expr_Raw)(nil),
  2077  		(*Expr_F)(nil),
  2078  		(*Expr_Sub)(nil),
  2079  		(*Expr_Corr)(nil),
  2080  		(*Expr_T)(nil),
  2081  		(*Expr_List)(nil),
  2082  		(*Expr_Max)(nil),
  2083  	}
  2084  }
  2085  
  2086  type Decimal64 struct {
  2087  	A                    int64    `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
  2088  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2089  	XXX_unrecognized     []byte   `json:"-"`
  2090  	XXX_sizecache        int32    `json:"-"`
  2091  }
  2092  
  2093  func (m *Decimal64) Reset()         { *m = Decimal64{} }
  2094  func (m *Decimal64) String() string { return proto.CompactTextString(m) }
  2095  func (*Decimal64) ProtoMessage()    {}
  2096  func (*Decimal64) Descriptor() ([]byte, []int) {
  2097  	return fileDescriptor_2d655ab2f7683c23, []int{14}
  2098  }
  2099  func (m *Decimal64) XXX_Unmarshal(b []byte) error {
  2100  	return m.Unmarshal(b)
  2101  }
  2102  func (m *Decimal64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2103  	if deterministic {
  2104  		return xxx_messageInfo_Decimal64.Marshal(b, m, deterministic)
  2105  	} else {
  2106  		b = b[:cap(b)]
  2107  		n, err := m.MarshalToSizedBuffer(b)
  2108  		if err != nil {
  2109  			return nil, err
  2110  		}
  2111  		return b[:n], nil
  2112  	}
  2113  }
  2114  func (m *Decimal64) XXX_Merge(src proto.Message) {
  2115  	xxx_messageInfo_Decimal64.Merge(m, src)
  2116  }
  2117  func (m *Decimal64) XXX_Size() int {
  2118  	return m.ProtoSize()
  2119  }
  2120  func (m *Decimal64) XXX_DiscardUnknown() {
  2121  	xxx_messageInfo_Decimal64.DiscardUnknown(m)
  2122  }
  2123  
  2124  var xxx_messageInfo_Decimal64 proto.InternalMessageInfo
  2125  
  2126  func (m *Decimal64) GetA() int64 {
  2127  	if m != nil {
  2128  		return m.A
  2129  	}
  2130  	return 0
  2131  }
  2132  
  2133  type Decimal128 struct {
  2134  	A                    int64    `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
  2135  	B                    int64    `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
  2136  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2137  	XXX_unrecognized     []byte   `json:"-"`
  2138  	XXX_sizecache        int32    `json:"-"`
  2139  }
  2140  
  2141  func (m *Decimal128) Reset()         { *m = Decimal128{} }
  2142  func (m *Decimal128) String() string { return proto.CompactTextString(m) }
  2143  func (*Decimal128) ProtoMessage()    {}
  2144  func (*Decimal128) Descriptor() ([]byte, []int) {
  2145  	return fileDescriptor_2d655ab2f7683c23, []int{15}
  2146  }
  2147  func (m *Decimal128) XXX_Unmarshal(b []byte) error {
  2148  	return m.Unmarshal(b)
  2149  }
  2150  func (m *Decimal128) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2151  	if deterministic {
  2152  		return xxx_messageInfo_Decimal128.Marshal(b, m, deterministic)
  2153  	} else {
  2154  		b = b[:cap(b)]
  2155  		n, err := m.MarshalToSizedBuffer(b)
  2156  		if err != nil {
  2157  			return nil, err
  2158  		}
  2159  		return b[:n], nil
  2160  	}
  2161  }
  2162  func (m *Decimal128) XXX_Merge(src proto.Message) {
  2163  	xxx_messageInfo_Decimal128.Merge(m, src)
  2164  }
  2165  func (m *Decimal128) XXX_Size() int {
  2166  	return m.ProtoSize()
  2167  }
  2168  func (m *Decimal128) XXX_DiscardUnknown() {
  2169  	xxx_messageInfo_Decimal128.DiscardUnknown(m)
  2170  }
  2171  
  2172  var xxx_messageInfo_Decimal128 proto.InternalMessageInfo
  2173  
  2174  func (m *Decimal128) GetA() int64 {
  2175  	if m != nil {
  2176  		return m.A
  2177  	}
  2178  	return 0
  2179  }
  2180  
  2181  func (m *Decimal128) GetB() int64 {
  2182  	if m != nil {
  2183  		return m.B
  2184  	}
  2185  	return 0
  2186  }
  2187  
  2188  type ResultColDef struct {
  2189  	ResultCols           []*ColDef `protobuf:"bytes,1,rep,name=ResultCols,proto3" json:"ResultCols,omitempty"`
  2190  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
  2191  	XXX_unrecognized     []byte    `json:"-"`
  2192  	XXX_sizecache        int32     `json:"-"`
  2193  }
  2194  
  2195  func (m *ResultColDef) Reset()         { *m = ResultColDef{} }
  2196  func (m *ResultColDef) String() string { return proto.CompactTextString(m) }
  2197  func (*ResultColDef) ProtoMessage()    {}
  2198  func (*ResultColDef) Descriptor() ([]byte, []int) {
  2199  	return fileDescriptor_2d655ab2f7683c23, []int{16}
  2200  }
  2201  func (m *ResultColDef) XXX_Unmarshal(b []byte) error {
  2202  	return m.Unmarshal(b)
  2203  }
  2204  func (m *ResultColDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2205  	if deterministic {
  2206  		return xxx_messageInfo_ResultColDef.Marshal(b, m, deterministic)
  2207  	} else {
  2208  		b = b[:cap(b)]
  2209  		n, err := m.MarshalToSizedBuffer(b)
  2210  		if err != nil {
  2211  			return nil, err
  2212  		}
  2213  		return b[:n], nil
  2214  	}
  2215  }
  2216  func (m *ResultColDef) XXX_Merge(src proto.Message) {
  2217  	xxx_messageInfo_ResultColDef.Merge(m, src)
  2218  }
  2219  func (m *ResultColDef) XXX_Size() int {
  2220  	return m.ProtoSize()
  2221  }
  2222  func (m *ResultColDef) XXX_DiscardUnknown() {
  2223  	xxx_messageInfo_ResultColDef.DiscardUnknown(m)
  2224  }
  2225  
  2226  var xxx_messageInfo_ResultColDef proto.InternalMessageInfo
  2227  
  2228  func (m *ResultColDef) GetResultCols() []*ColDef {
  2229  	if m != nil {
  2230  		return m.ResultCols
  2231  	}
  2232  	return nil
  2233  }
  2234  
  2235  type ColDef struct {
  2236  	ColId    uint64       `protobuf:"varint,1,opt,name=col_id,json=colId,proto3" json:"col_id,omitempty"`
  2237  	Name     string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  2238  	Hidden   bool         `protobuf:"varint,3,opt,name=hidden,proto3" json:"hidden,omitempty"`
  2239  	Alg      CompressType `protobuf:"varint,4,opt,name=alg,proto3,enum=plan.CompressType" json:"alg,omitempty"`
  2240  	Typ      *Type        `protobuf:"bytes,5,opt,name=typ,proto3" json:"typ,omitempty"`
  2241  	NotNull  bool         `protobuf:"varint,6,opt,name=not_null,json=notNull,proto3" json:"not_null,omitempty"`
  2242  	Default  *Default     `protobuf:"bytes,7,opt,name=default,proto3" json:"default,omitempty"`
  2243  	Comment  string       `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"`
  2244  	OnUpdate *OnUpdate    `protobuf:"bytes,9,opt,name=on_update,json=onUpdate,proto3" json:"on_update,omitempty"`
  2245  	LowCard  bool         `protobuf:"varint,10,opt,name=low_card,json=lowCard,proto3" json:"low_card,omitempty"`
  2246  	// XXX: Deprecated and to be removed soon.
  2247  	ClusterBy            bool     `protobuf:"varint,11,opt,name=clusterBy,proto3" json:"clusterBy,omitempty"`
  2248  	Primary              bool     `protobuf:"varint,12,opt,name=primary,proto3" json:"primary,omitempty"`
  2249  	Pkidx                int32    `protobuf:"varint,13,opt,name=pkidx,proto3" json:"pkidx,omitempty"`
  2250  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2251  	XXX_unrecognized     []byte   `json:"-"`
  2252  	XXX_sizecache        int32    `json:"-"`
  2253  }
  2254  
  2255  func (m *ColDef) Reset()         { *m = ColDef{} }
  2256  func (m *ColDef) String() string { return proto.CompactTextString(m) }
  2257  func (*ColDef) ProtoMessage()    {}
  2258  func (*ColDef) Descriptor() ([]byte, []int) {
  2259  	return fileDescriptor_2d655ab2f7683c23, []int{17}
  2260  }
  2261  func (m *ColDef) XXX_Unmarshal(b []byte) error {
  2262  	return m.Unmarshal(b)
  2263  }
  2264  func (m *ColDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2265  	if deterministic {
  2266  		return xxx_messageInfo_ColDef.Marshal(b, m, deterministic)
  2267  	} else {
  2268  		b = b[:cap(b)]
  2269  		n, err := m.MarshalToSizedBuffer(b)
  2270  		if err != nil {
  2271  			return nil, err
  2272  		}
  2273  		return b[:n], nil
  2274  	}
  2275  }
  2276  func (m *ColDef) XXX_Merge(src proto.Message) {
  2277  	xxx_messageInfo_ColDef.Merge(m, src)
  2278  }
  2279  func (m *ColDef) XXX_Size() int {
  2280  	return m.ProtoSize()
  2281  }
  2282  func (m *ColDef) XXX_DiscardUnknown() {
  2283  	xxx_messageInfo_ColDef.DiscardUnknown(m)
  2284  }
  2285  
  2286  var xxx_messageInfo_ColDef proto.InternalMessageInfo
  2287  
  2288  func (m *ColDef) GetColId() uint64 {
  2289  	if m != nil {
  2290  		return m.ColId
  2291  	}
  2292  	return 0
  2293  }
  2294  
  2295  func (m *ColDef) GetName() string {
  2296  	if m != nil {
  2297  		return m.Name
  2298  	}
  2299  	return ""
  2300  }
  2301  
  2302  func (m *ColDef) GetHidden() bool {
  2303  	if m != nil {
  2304  		return m.Hidden
  2305  	}
  2306  	return false
  2307  }
  2308  
  2309  func (m *ColDef) GetAlg() CompressType {
  2310  	if m != nil {
  2311  		return m.Alg
  2312  	}
  2313  	return CompressType_None
  2314  }
  2315  
  2316  func (m *ColDef) GetTyp() *Type {
  2317  	if m != nil {
  2318  		return m.Typ
  2319  	}
  2320  	return nil
  2321  }
  2322  
  2323  func (m *ColDef) GetNotNull() bool {
  2324  	if m != nil {
  2325  		return m.NotNull
  2326  	}
  2327  	return false
  2328  }
  2329  
  2330  func (m *ColDef) GetDefault() *Default {
  2331  	if m != nil {
  2332  		return m.Default
  2333  	}
  2334  	return nil
  2335  }
  2336  
  2337  func (m *ColDef) GetComment() string {
  2338  	if m != nil {
  2339  		return m.Comment
  2340  	}
  2341  	return ""
  2342  }
  2343  
  2344  func (m *ColDef) GetOnUpdate() *OnUpdate {
  2345  	if m != nil {
  2346  		return m.OnUpdate
  2347  	}
  2348  	return nil
  2349  }
  2350  
  2351  func (m *ColDef) GetLowCard() bool {
  2352  	if m != nil {
  2353  		return m.LowCard
  2354  	}
  2355  	return false
  2356  }
  2357  
  2358  func (m *ColDef) GetClusterBy() bool {
  2359  	if m != nil {
  2360  		return m.ClusterBy
  2361  	}
  2362  	return false
  2363  }
  2364  
  2365  func (m *ColDef) GetPrimary() bool {
  2366  	if m != nil {
  2367  		return m.Primary
  2368  	}
  2369  	return false
  2370  }
  2371  
  2372  func (m *ColDef) GetPkidx() int32 {
  2373  	if m != nil {
  2374  		return m.Pkidx
  2375  	}
  2376  	return 0
  2377  }
  2378  
  2379  type Default struct {
  2380  	Expr         *Expr  `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
  2381  	OriginString string `protobuf:"bytes,2,opt,name=origin_string,json=originString,proto3" json:"origin_string,omitempty"`
  2382  	// XXX: Deprecated and to be removed soon.
  2383  	NullAbility          bool     `protobuf:"varint,3,opt,name=null_ability,json=nullAbility,proto3" json:"null_ability,omitempty"`
  2384  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2385  	XXX_unrecognized     []byte   `json:"-"`
  2386  	XXX_sizecache        int32    `json:"-"`
  2387  }
  2388  
  2389  func (m *Default) Reset()         { *m = Default{} }
  2390  func (m *Default) String() string { return proto.CompactTextString(m) }
  2391  func (*Default) ProtoMessage()    {}
  2392  func (*Default) Descriptor() ([]byte, []int) {
  2393  	return fileDescriptor_2d655ab2f7683c23, []int{18}
  2394  }
  2395  func (m *Default) XXX_Unmarshal(b []byte) error {
  2396  	return m.Unmarshal(b)
  2397  }
  2398  func (m *Default) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2399  	if deterministic {
  2400  		return xxx_messageInfo_Default.Marshal(b, m, deterministic)
  2401  	} else {
  2402  		b = b[:cap(b)]
  2403  		n, err := m.MarshalToSizedBuffer(b)
  2404  		if err != nil {
  2405  			return nil, err
  2406  		}
  2407  		return b[:n], nil
  2408  	}
  2409  }
  2410  func (m *Default) XXX_Merge(src proto.Message) {
  2411  	xxx_messageInfo_Default.Merge(m, src)
  2412  }
  2413  func (m *Default) XXX_Size() int {
  2414  	return m.ProtoSize()
  2415  }
  2416  func (m *Default) XXX_DiscardUnknown() {
  2417  	xxx_messageInfo_Default.DiscardUnknown(m)
  2418  }
  2419  
  2420  var xxx_messageInfo_Default proto.InternalMessageInfo
  2421  
  2422  func (m *Default) GetExpr() *Expr {
  2423  	if m != nil {
  2424  		return m.Expr
  2425  	}
  2426  	return nil
  2427  }
  2428  
  2429  func (m *Default) GetOriginString() string {
  2430  	if m != nil {
  2431  		return m.OriginString
  2432  	}
  2433  	return ""
  2434  }
  2435  
  2436  func (m *Default) GetNullAbility() bool {
  2437  	if m != nil {
  2438  		return m.NullAbility
  2439  	}
  2440  	return false
  2441  }
  2442  
  2443  type OnUpdate struct {
  2444  	Expr                 *Expr    `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
  2445  	OriginString         string   `protobuf:"bytes,2,opt,name=origin_string,json=originString,proto3" json:"origin_string,omitempty"`
  2446  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2447  	XXX_unrecognized     []byte   `json:"-"`
  2448  	XXX_sizecache        int32    `json:"-"`
  2449  }
  2450  
  2451  func (m *OnUpdate) Reset()         { *m = OnUpdate{} }
  2452  func (m *OnUpdate) String() string { return proto.CompactTextString(m) }
  2453  func (*OnUpdate) ProtoMessage()    {}
  2454  func (*OnUpdate) Descriptor() ([]byte, []int) {
  2455  	return fileDescriptor_2d655ab2f7683c23, []int{19}
  2456  }
  2457  func (m *OnUpdate) XXX_Unmarshal(b []byte) error {
  2458  	return m.Unmarshal(b)
  2459  }
  2460  func (m *OnUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2461  	if deterministic {
  2462  		return xxx_messageInfo_OnUpdate.Marshal(b, m, deterministic)
  2463  	} else {
  2464  		b = b[:cap(b)]
  2465  		n, err := m.MarshalToSizedBuffer(b)
  2466  		if err != nil {
  2467  			return nil, err
  2468  		}
  2469  		return b[:n], nil
  2470  	}
  2471  }
  2472  func (m *OnUpdate) XXX_Merge(src proto.Message) {
  2473  	xxx_messageInfo_OnUpdate.Merge(m, src)
  2474  }
  2475  func (m *OnUpdate) XXX_Size() int {
  2476  	return m.ProtoSize()
  2477  }
  2478  func (m *OnUpdate) XXX_DiscardUnknown() {
  2479  	xxx_messageInfo_OnUpdate.DiscardUnknown(m)
  2480  }
  2481  
  2482  var xxx_messageInfo_OnUpdate proto.InternalMessageInfo
  2483  
  2484  func (m *OnUpdate) GetExpr() *Expr {
  2485  	if m != nil {
  2486  		return m.Expr
  2487  	}
  2488  	return nil
  2489  }
  2490  
  2491  func (m *OnUpdate) GetOriginString() string {
  2492  	if m != nil {
  2493  		return m.OriginString
  2494  	}
  2495  	return ""
  2496  }
  2497  
  2498  type IndexOption struct {
  2499  	CreateExtraTable     bool     `protobuf:"varint,1,opt,name=create_extra_table,json=createExtraTable,proto3" json:"create_extra_table,omitempty"`
  2500  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2501  	XXX_unrecognized     []byte   `json:"-"`
  2502  	XXX_sizecache        int32    `json:"-"`
  2503  }
  2504  
  2505  func (m *IndexOption) Reset()         { *m = IndexOption{} }
  2506  func (m *IndexOption) String() string { return proto.CompactTextString(m) }
  2507  func (*IndexOption) ProtoMessage()    {}
  2508  func (*IndexOption) Descriptor() ([]byte, []int) {
  2509  	return fileDescriptor_2d655ab2f7683c23, []int{20}
  2510  }
  2511  func (m *IndexOption) XXX_Unmarshal(b []byte) error {
  2512  	return m.Unmarshal(b)
  2513  }
  2514  func (m *IndexOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2515  	if deterministic {
  2516  		return xxx_messageInfo_IndexOption.Marshal(b, m, deterministic)
  2517  	} else {
  2518  		b = b[:cap(b)]
  2519  		n, err := m.MarshalToSizedBuffer(b)
  2520  		if err != nil {
  2521  			return nil, err
  2522  		}
  2523  		return b[:n], nil
  2524  	}
  2525  }
  2526  func (m *IndexOption) XXX_Merge(src proto.Message) {
  2527  	xxx_messageInfo_IndexOption.Merge(m, src)
  2528  }
  2529  func (m *IndexOption) XXX_Size() int {
  2530  	return m.ProtoSize()
  2531  }
  2532  func (m *IndexOption) XXX_DiscardUnknown() {
  2533  	xxx_messageInfo_IndexOption.DiscardUnknown(m)
  2534  }
  2535  
  2536  var xxx_messageInfo_IndexOption proto.InternalMessageInfo
  2537  
  2538  func (m *IndexOption) GetCreateExtraTable() bool {
  2539  	if m != nil {
  2540  		return m.CreateExtraTable
  2541  	}
  2542  	return false
  2543  }
  2544  
  2545  type PrimaryKeyDef struct {
  2546  	// currently not used
  2547  	Cols []uint64 `protobuf:"varint,1,rep,packed,name=cols,proto3" json:"cols,omitempty"`
  2548  	// currently not used
  2549  	PkeyColId uint64 `protobuf:"varint,2,opt,name=pkey_col_id,json=pkeyColId,proto3" json:"pkey_col_id,omitempty"`
  2550  	// currently not used
  2551  	Option *IndexOption `protobuf:"bytes,3,opt,name=option,proto3" json:"option,omitempty"`
  2552  	// Composed primary key column name: __mo_cpkey
  2553  	PkeyColName string `protobuf:"bytes,4,opt,name=pkey_col_name,json=pkeyColName,proto3" json:"pkey_col_name,omitempty"`
  2554  	// XXX: Deprecated and to be removed soon.
  2555  	Names                []string `protobuf:"bytes,5,rep,name=names,proto3" json:"names,omitempty"`
  2556  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2557  	XXX_unrecognized     []byte   `json:"-"`
  2558  	XXX_sizecache        int32    `json:"-"`
  2559  }
  2560  
  2561  func (m *PrimaryKeyDef) Reset()         { *m = PrimaryKeyDef{} }
  2562  func (m *PrimaryKeyDef) String() string { return proto.CompactTextString(m) }
  2563  func (*PrimaryKeyDef) ProtoMessage()    {}
  2564  func (*PrimaryKeyDef) Descriptor() ([]byte, []int) {
  2565  	return fileDescriptor_2d655ab2f7683c23, []int{21}
  2566  }
  2567  func (m *PrimaryKeyDef) XXX_Unmarshal(b []byte) error {
  2568  	return m.Unmarshal(b)
  2569  }
  2570  func (m *PrimaryKeyDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2571  	if deterministic {
  2572  		return xxx_messageInfo_PrimaryKeyDef.Marshal(b, m, deterministic)
  2573  	} else {
  2574  		b = b[:cap(b)]
  2575  		n, err := m.MarshalToSizedBuffer(b)
  2576  		if err != nil {
  2577  			return nil, err
  2578  		}
  2579  		return b[:n], nil
  2580  	}
  2581  }
  2582  func (m *PrimaryKeyDef) XXX_Merge(src proto.Message) {
  2583  	xxx_messageInfo_PrimaryKeyDef.Merge(m, src)
  2584  }
  2585  func (m *PrimaryKeyDef) XXX_Size() int {
  2586  	return m.ProtoSize()
  2587  }
  2588  func (m *PrimaryKeyDef) XXX_DiscardUnknown() {
  2589  	xxx_messageInfo_PrimaryKeyDef.DiscardUnknown(m)
  2590  }
  2591  
  2592  var xxx_messageInfo_PrimaryKeyDef proto.InternalMessageInfo
  2593  
  2594  func (m *PrimaryKeyDef) GetCols() []uint64 {
  2595  	if m != nil {
  2596  		return m.Cols
  2597  	}
  2598  	return nil
  2599  }
  2600  
  2601  func (m *PrimaryKeyDef) GetPkeyColId() uint64 {
  2602  	if m != nil {
  2603  		return m.PkeyColId
  2604  	}
  2605  	return 0
  2606  }
  2607  
  2608  func (m *PrimaryKeyDef) GetOption() *IndexOption {
  2609  	if m != nil {
  2610  		return m.Option
  2611  	}
  2612  	return nil
  2613  }
  2614  
  2615  func (m *PrimaryKeyDef) GetPkeyColName() string {
  2616  	if m != nil {
  2617  		return m.PkeyColName
  2618  	}
  2619  	return ""
  2620  }
  2621  
  2622  func (m *PrimaryKeyDef) GetNames() []string {
  2623  	if m != nil {
  2624  		return m.Names
  2625  	}
  2626  	return nil
  2627  }
  2628  
  2629  type IndexDef struct {
  2630  	// Generate UUID for each index, currently not used
  2631  	IdxId     string `protobuf:"bytes,1,opt,name=idx_id,json=idxId,proto3" json:"idx_id,omitempty"`
  2632  	IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
  2633  	// The constituent columns of the index
  2634  	Parts          []string `protobuf:"bytes,3,rep,name=parts,proto3" json:"parts,omitempty"`
  2635  	Unique         bool     `protobuf:"varint,4,opt,name=unique,proto3" json:"unique,omitempty"`
  2636  	IndexTableName string   `protobuf:"bytes,5,opt,name=index_table_name,json=indexTableName,proto3" json:"index_table_name,omitempty"`
  2637  	TableExist     bool     `protobuf:"varint,6,opt,name=table_exist,json=tableExist,proto3" json:"table_exist,omitempty"`
  2638  	Comment        string   `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"`
  2639  	// currently not used
  2640  	Option               *IndexOption `protobuf:"bytes,8,opt,name=option,proto3" json:"option,omitempty"`
  2641  	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
  2642  	XXX_unrecognized     []byte       `json:"-"`
  2643  	XXX_sizecache        int32        `json:"-"`
  2644  }
  2645  
  2646  func (m *IndexDef) Reset()         { *m = IndexDef{} }
  2647  func (m *IndexDef) String() string { return proto.CompactTextString(m) }
  2648  func (*IndexDef) ProtoMessage()    {}
  2649  func (*IndexDef) Descriptor() ([]byte, []int) {
  2650  	return fileDescriptor_2d655ab2f7683c23, []int{22}
  2651  }
  2652  func (m *IndexDef) XXX_Unmarshal(b []byte) error {
  2653  	return m.Unmarshal(b)
  2654  }
  2655  func (m *IndexDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2656  	if deterministic {
  2657  		return xxx_messageInfo_IndexDef.Marshal(b, m, deterministic)
  2658  	} else {
  2659  		b = b[:cap(b)]
  2660  		n, err := m.MarshalToSizedBuffer(b)
  2661  		if err != nil {
  2662  			return nil, err
  2663  		}
  2664  		return b[:n], nil
  2665  	}
  2666  }
  2667  func (m *IndexDef) XXX_Merge(src proto.Message) {
  2668  	xxx_messageInfo_IndexDef.Merge(m, src)
  2669  }
  2670  func (m *IndexDef) XXX_Size() int {
  2671  	return m.ProtoSize()
  2672  }
  2673  func (m *IndexDef) XXX_DiscardUnknown() {
  2674  	xxx_messageInfo_IndexDef.DiscardUnknown(m)
  2675  }
  2676  
  2677  var xxx_messageInfo_IndexDef proto.InternalMessageInfo
  2678  
  2679  func (m *IndexDef) GetIdxId() string {
  2680  	if m != nil {
  2681  		return m.IdxId
  2682  	}
  2683  	return ""
  2684  }
  2685  
  2686  func (m *IndexDef) GetIndexName() string {
  2687  	if m != nil {
  2688  		return m.IndexName
  2689  	}
  2690  	return ""
  2691  }
  2692  
  2693  func (m *IndexDef) GetParts() []string {
  2694  	if m != nil {
  2695  		return m.Parts
  2696  	}
  2697  	return nil
  2698  }
  2699  
  2700  func (m *IndexDef) GetUnique() bool {
  2701  	if m != nil {
  2702  		return m.Unique
  2703  	}
  2704  	return false
  2705  }
  2706  
  2707  func (m *IndexDef) GetIndexTableName() string {
  2708  	if m != nil {
  2709  		return m.IndexTableName
  2710  	}
  2711  	return ""
  2712  }
  2713  
  2714  func (m *IndexDef) GetTableExist() bool {
  2715  	if m != nil {
  2716  		return m.TableExist
  2717  	}
  2718  	return false
  2719  }
  2720  
  2721  func (m *IndexDef) GetComment() string {
  2722  	if m != nil {
  2723  		return m.Comment
  2724  	}
  2725  	return ""
  2726  }
  2727  
  2728  func (m *IndexDef) GetOption() *IndexOption {
  2729  	if m != nil {
  2730  		return m.Option
  2731  	}
  2732  	return nil
  2733  }
  2734  
  2735  type ForeignKeyDef struct {
  2736  	Name                 string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  2737  	Cols                 []uint64                `protobuf:"varint,2,rep,packed,name=cols,proto3" json:"cols,omitempty"`
  2738  	ForeignTbl           uint64                  `protobuf:"varint,3,opt,name=foreign_tbl,json=foreignTbl,proto3" json:"foreign_tbl,omitempty"`
  2739  	ForeignCols          []uint64                `protobuf:"varint,4,rep,packed,name=foreign_cols,json=foreignCols,proto3" json:"foreign_cols,omitempty"`
  2740  	OnDelete             ForeignKeyDef_RefAction `protobuf:"varint,5,opt,name=on_delete,json=onDelete,proto3,enum=plan.ForeignKeyDef_RefAction" json:"on_delete,omitempty"`
  2741  	OnUpdate             ForeignKeyDef_RefAction `protobuf:"varint,6,opt,name=on_update,json=onUpdate,proto3,enum=plan.ForeignKeyDef_RefAction" json:"on_update,omitempty"`
  2742  	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
  2743  	XXX_unrecognized     []byte                  `json:"-"`
  2744  	XXX_sizecache        int32                   `json:"-"`
  2745  }
  2746  
  2747  func (m *ForeignKeyDef) Reset()         { *m = ForeignKeyDef{} }
  2748  func (m *ForeignKeyDef) String() string { return proto.CompactTextString(m) }
  2749  func (*ForeignKeyDef) ProtoMessage()    {}
  2750  func (*ForeignKeyDef) Descriptor() ([]byte, []int) {
  2751  	return fileDescriptor_2d655ab2f7683c23, []int{23}
  2752  }
  2753  func (m *ForeignKeyDef) XXX_Unmarshal(b []byte) error {
  2754  	return m.Unmarshal(b)
  2755  }
  2756  func (m *ForeignKeyDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2757  	if deterministic {
  2758  		return xxx_messageInfo_ForeignKeyDef.Marshal(b, m, deterministic)
  2759  	} else {
  2760  		b = b[:cap(b)]
  2761  		n, err := m.MarshalToSizedBuffer(b)
  2762  		if err != nil {
  2763  			return nil, err
  2764  		}
  2765  		return b[:n], nil
  2766  	}
  2767  }
  2768  func (m *ForeignKeyDef) XXX_Merge(src proto.Message) {
  2769  	xxx_messageInfo_ForeignKeyDef.Merge(m, src)
  2770  }
  2771  func (m *ForeignKeyDef) XXX_Size() int {
  2772  	return m.ProtoSize()
  2773  }
  2774  func (m *ForeignKeyDef) XXX_DiscardUnknown() {
  2775  	xxx_messageInfo_ForeignKeyDef.DiscardUnknown(m)
  2776  }
  2777  
  2778  var xxx_messageInfo_ForeignKeyDef proto.InternalMessageInfo
  2779  
  2780  func (m *ForeignKeyDef) GetName() string {
  2781  	if m != nil {
  2782  		return m.Name
  2783  	}
  2784  	return ""
  2785  }
  2786  
  2787  func (m *ForeignKeyDef) GetCols() []uint64 {
  2788  	if m != nil {
  2789  		return m.Cols
  2790  	}
  2791  	return nil
  2792  }
  2793  
  2794  func (m *ForeignKeyDef) GetForeignTbl() uint64 {
  2795  	if m != nil {
  2796  		return m.ForeignTbl
  2797  	}
  2798  	return 0
  2799  }
  2800  
  2801  func (m *ForeignKeyDef) GetForeignCols() []uint64 {
  2802  	if m != nil {
  2803  		return m.ForeignCols
  2804  	}
  2805  	return nil
  2806  }
  2807  
  2808  func (m *ForeignKeyDef) GetOnDelete() ForeignKeyDef_RefAction {
  2809  	if m != nil {
  2810  		return m.OnDelete
  2811  	}
  2812  	return ForeignKeyDef_RESTRICT
  2813  }
  2814  
  2815  func (m *ForeignKeyDef) GetOnUpdate() ForeignKeyDef_RefAction {
  2816  	if m != nil {
  2817  		return m.OnUpdate
  2818  	}
  2819  	return ForeignKeyDef_RESTRICT
  2820  }
  2821  
  2822  type CheckDef struct {
  2823  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  2824  	// Name for anonymous constraints, __mo_chk_[INDEX_ID]
  2825  	Check                *Expr    `protobuf:"bytes,2,opt,name=check,proto3" json:"check,omitempty"`
  2826  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2827  	XXX_unrecognized     []byte   `json:"-"`
  2828  	XXX_sizecache        int32    `json:"-"`
  2829  }
  2830  
  2831  func (m *CheckDef) Reset()         { *m = CheckDef{} }
  2832  func (m *CheckDef) String() string { return proto.CompactTextString(m) }
  2833  func (*CheckDef) ProtoMessage()    {}
  2834  func (*CheckDef) Descriptor() ([]byte, []int) {
  2835  	return fileDescriptor_2d655ab2f7683c23, []int{24}
  2836  }
  2837  func (m *CheckDef) XXX_Unmarshal(b []byte) error {
  2838  	return m.Unmarshal(b)
  2839  }
  2840  func (m *CheckDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2841  	if deterministic {
  2842  		return xxx_messageInfo_CheckDef.Marshal(b, m, deterministic)
  2843  	} else {
  2844  		b = b[:cap(b)]
  2845  		n, err := m.MarshalToSizedBuffer(b)
  2846  		if err != nil {
  2847  			return nil, err
  2848  		}
  2849  		return b[:n], nil
  2850  	}
  2851  }
  2852  func (m *CheckDef) XXX_Merge(src proto.Message) {
  2853  	xxx_messageInfo_CheckDef.Merge(m, src)
  2854  }
  2855  func (m *CheckDef) XXX_Size() int {
  2856  	return m.ProtoSize()
  2857  }
  2858  func (m *CheckDef) XXX_DiscardUnknown() {
  2859  	xxx_messageInfo_CheckDef.DiscardUnknown(m)
  2860  }
  2861  
  2862  var xxx_messageInfo_CheckDef proto.InternalMessageInfo
  2863  
  2864  func (m *CheckDef) GetName() string {
  2865  	if m != nil {
  2866  		return m.Name
  2867  	}
  2868  	return ""
  2869  }
  2870  
  2871  func (m *CheckDef) GetCheck() *Expr {
  2872  	if m != nil {
  2873  		return m.Check
  2874  	}
  2875  	return nil
  2876  }
  2877  
  2878  type ClusterByDef struct {
  2879  	Parts []*Expr `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts,omitempty"`
  2880  	// XXX: Deprecated and to be removed soon.
  2881  	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  2882  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2883  	XXX_unrecognized     []byte   `json:"-"`
  2884  	XXX_sizecache        int32    `json:"-"`
  2885  }
  2886  
  2887  func (m *ClusterByDef) Reset()         { *m = ClusterByDef{} }
  2888  func (m *ClusterByDef) String() string { return proto.CompactTextString(m) }
  2889  func (*ClusterByDef) ProtoMessage()    {}
  2890  func (*ClusterByDef) Descriptor() ([]byte, []int) {
  2891  	return fileDescriptor_2d655ab2f7683c23, []int{25}
  2892  }
  2893  func (m *ClusterByDef) XXX_Unmarshal(b []byte) error {
  2894  	return m.Unmarshal(b)
  2895  }
  2896  func (m *ClusterByDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2897  	if deterministic {
  2898  		return xxx_messageInfo_ClusterByDef.Marshal(b, m, deterministic)
  2899  	} else {
  2900  		b = b[:cap(b)]
  2901  		n, err := m.MarshalToSizedBuffer(b)
  2902  		if err != nil {
  2903  			return nil, err
  2904  		}
  2905  		return b[:n], nil
  2906  	}
  2907  }
  2908  func (m *ClusterByDef) XXX_Merge(src proto.Message) {
  2909  	xxx_messageInfo_ClusterByDef.Merge(m, src)
  2910  }
  2911  func (m *ClusterByDef) XXX_Size() int {
  2912  	return m.ProtoSize()
  2913  }
  2914  func (m *ClusterByDef) XXX_DiscardUnknown() {
  2915  	xxx_messageInfo_ClusterByDef.DiscardUnknown(m)
  2916  }
  2917  
  2918  var xxx_messageInfo_ClusterByDef proto.InternalMessageInfo
  2919  
  2920  func (m *ClusterByDef) GetParts() []*Expr {
  2921  	if m != nil {
  2922  		return m.Parts
  2923  	}
  2924  	return nil
  2925  }
  2926  
  2927  func (m *ClusterByDef) GetName() string {
  2928  	if m != nil {
  2929  		return m.Name
  2930  	}
  2931  	return ""
  2932  }
  2933  
  2934  type PropertyDef struct {
  2935  	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  2936  	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  2937  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2938  	XXX_unrecognized     []byte   `json:"-"`
  2939  	XXX_sizecache        int32    `json:"-"`
  2940  }
  2941  
  2942  func (m *PropertyDef) Reset()         { *m = PropertyDef{} }
  2943  func (m *PropertyDef) String() string { return proto.CompactTextString(m) }
  2944  func (*PropertyDef) ProtoMessage()    {}
  2945  func (*PropertyDef) Descriptor() ([]byte, []int) {
  2946  	return fileDescriptor_2d655ab2f7683c23, []int{26}
  2947  }
  2948  func (m *PropertyDef) XXX_Unmarshal(b []byte) error {
  2949  	return m.Unmarshal(b)
  2950  }
  2951  func (m *PropertyDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2952  	if deterministic {
  2953  		return xxx_messageInfo_PropertyDef.Marshal(b, m, deterministic)
  2954  	} else {
  2955  		b = b[:cap(b)]
  2956  		n, err := m.MarshalToSizedBuffer(b)
  2957  		if err != nil {
  2958  			return nil, err
  2959  		}
  2960  		return b[:n], nil
  2961  	}
  2962  }
  2963  func (m *PropertyDef) XXX_Merge(src proto.Message) {
  2964  	xxx_messageInfo_PropertyDef.Merge(m, src)
  2965  }
  2966  func (m *PropertyDef) XXX_Size() int {
  2967  	return m.ProtoSize()
  2968  }
  2969  func (m *PropertyDef) XXX_DiscardUnknown() {
  2970  	xxx_messageInfo_PropertyDef.DiscardUnknown(m)
  2971  }
  2972  
  2973  var xxx_messageInfo_PropertyDef proto.InternalMessageInfo
  2974  
  2975  func (m *PropertyDef) GetKey() string {
  2976  	if m != nil {
  2977  		return m.Key
  2978  	}
  2979  	return ""
  2980  }
  2981  
  2982  func (m *PropertyDef) GetValue() string {
  2983  	if m != nil {
  2984  		return m.Value
  2985  	}
  2986  	return ""
  2987  }
  2988  
  2989  type Property struct {
  2990  	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  2991  	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  2992  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2993  	XXX_unrecognized     []byte   `json:"-"`
  2994  	XXX_sizecache        int32    `json:"-"`
  2995  }
  2996  
  2997  func (m *Property) Reset()         { *m = Property{} }
  2998  func (m *Property) String() string { return proto.CompactTextString(m) }
  2999  func (*Property) ProtoMessage()    {}
  3000  func (*Property) Descriptor() ([]byte, []int) {
  3001  	return fileDescriptor_2d655ab2f7683c23, []int{27}
  3002  }
  3003  func (m *Property) XXX_Unmarshal(b []byte) error {
  3004  	return m.Unmarshal(b)
  3005  }
  3006  func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3007  	if deterministic {
  3008  		return xxx_messageInfo_Property.Marshal(b, m, deterministic)
  3009  	} else {
  3010  		b = b[:cap(b)]
  3011  		n, err := m.MarshalToSizedBuffer(b)
  3012  		if err != nil {
  3013  			return nil, err
  3014  		}
  3015  		return b[:n], nil
  3016  	}
  3017  }
  3018  func (m *Property) XXX_Merge(src proto.Message) {
  3019  	xxx_messageInfo_Property.Merge(m, src)
  3020  }
  3021  func (m *Property) XXX_Size() int {
  3022  	return m.ProtoSize()
  3023  }
  3024  func (m *Property) XXX_DiscardUnknown() {
  3025  	xxx_messageInfo_Property.DiscardUnknown(m)
  3026  }
  3027  
  3028  var xxx_messageInfo_Property proto.InternalMessageInfo
  3029  
  3030  func (m *Property) GetKey() string {
  3031  	if m != nil {
  3032  		return m.Key
  3033  	}
  3034  	return ""
  3035  }
  3036  
  3037  func (m *Property) GetValue() string {
  3038  	if m != nil {
  3039  		return m.Value
  3040  	}
  3041  	return ""
  3042  }
  3043  
  3044  type PropertiesDef struct {
  3045  	Properties           []*Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`
  3046  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
  3047  	XXX_unrecognized     []byte      `json:"-"`
  3048  	XXX_sizecache        int32       `json:"-"`
  3049  }
  3050  
  3051  func (m *PropertiesDef) Reset()         { *m = PropertiesDef{} }
  3052  func (m *PropertiesDef) String() string { return proto.CompactTextString(m) }
  3053  func (*PropertiesDef) ProtoMessage()    {}
  3054  func (*PropertiesDef) Descriptor() ([]byte, []int) {
  3055  	return fileDescriptor_2d655ab2f7683c23, []int{28}
  3056  }
  3057  func (m *PropertiesDef) XXX_Unmarshal(b []byte) error {
  3058  	return m.Unmarshal(b)
  3059  }
  3060  func (m *PropertiesDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3061  	if deterministic {
  3062  		return xxx_messageInfo_PropertiesDef.Marshal(b, m, deterministic)
  3063  	} else {
  3064  		b = b[:cap(b)]
  3065  		n, err := m.MarshalToSizedBuffer(b)
  3066  		if err != nil {
  3067  			return nil, err
  3068  		}
  3069  		return b[:n], nil
  3070  	}
  3071  }
  3072  func (m *PropertiesDef) XXX_Merge(src proto.Message) {
  3073  	xxx_messageInfo_PropertiesDef.Merge(m, src)
  3074  }
  3075  func (m *PropertiesDef) XXX_Size() int {
  3076  	return m.ProtoSize()
  3077  }
  3078  func (m *PropertiesDef) XXX_DiscardUnknown() {
  3079  	xxx_messageInfo_PropertiesDef.DiscardUnknown(m)
  3080  }
  3081  
  3082  var xxx_messageInfo_PropertiesDef proto.InternalMessageInfo
  3083  
  3084  func (m *PropertiesDef) GetProperties() []*Property {
  3085  	if m != nil {
  3086  		return m.Properties
  3087  	}
  3088  	return nil
  3089  }
  3090  
  3091  type PartitionByDef struct {
  3092  	Type                 PartitionType     `protobuf:"varint,1,opt,name=type,proto3,enum=plan.PartitionType" json:"type,omitempty"`
  3093  	PartitionExpr        *PartitionExpr    `protobuf:"bytes,2,opt,name=partition_expr,json=partitionExpr,proto3" json:"partition_expr,omitempty"`
  3094  	PartitionExpression  *Expr             `protobuf:"bytes,3,opt,name=partition_expression,json=partitionExpression,proto3" json:"partition_expression,omitempty"`
  3095  	PartitionColumns     *PartitionColumns `protobuf:"bytes,4,opt,name=partition_columns,json=partitionColumns,proto3" json:"partition_columns,omitempty"`
  3096  	PartitionNum         uint64            `protobuf:"varint,5,opt,name=partitionNum,proto3" json:"partitionNum,omitempty"`
  3097  	Partitions           []*PartitionItem  `protobuf:"bytes,6,rep,name=partitions,proto3" json:"partitions,omitempty"`
  3098  	Algorithm            int64             `protobuf:"varint,7,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
  3099  	IsSubPartition       bool              `protobuf:"varint,8,opt,name=is_sub_partition,json=isSubPartition,proto3" json:"is_sub_partition,omitempty"`
  3100  	PartitionMsg         string            `protobuf:"bytes,9,opt,name=partition_msg,json=partitionMsg,proto3" json:"partition_msg,omitempty"`
  3101  	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
  3102  	XXX_unrecognized     []byte            `json:"-"`
  3103  	XXX_sizecache        int32             `json:"-"`
  3104  }
  3105  
  3106  func (m *PartitionByDef) Reset()         { *m = PartitionByDef{} }
  3107  func (m *PartitionByDef) String() string { return proto.CompactTextString(m) }
  3108  func (*PartitionByDef) ProtoMessage()    {}
  3109  func (*PartitionByDef) Descriptor() ([]byte, []int) {
  3110  	return fileDescriptor_2d655ab2f7683c23, []int{29}
  3111  }
  3112  func (m *PartitionByDef) XXX_Unmarshal(b []byte) error {
  3113  	return m.Unmarshal(b)
  3114  }
  3115  func (m *PartitionByDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3116  	if deterministic {
  3117  		return xxx_messageInfo_PartitionByDef.Marshal(b, m, deterministic)
  3118  	} else {
  3119  		b = b[:cap(b)]
  3120  		n, err := m.MarshalToSizedBuffer(b)
  3121  		if err != nil {
  3122  			return nil, err
  3123  		}
  3124  		return b[:n], nil
  3125  	}
  3126  }
  3127  func (m *PartitionByDef) XXX_Merge(src proto.Message) {
  3128  	xxx_messageInfo_PartitionByDef.Merge(m, src)
  3129  }
  3130  func (m *PartitionByDef) XXX_Size() int {
  3131  	return m.ProtoSize()
  3132  }
  3133  func (m *PartitionByDef) XXX_DiscardUnknown() {
  3134  	xxx_messageInfo_PartitionByDef.DiscardUnknown(m)
  3135  }
  3136  
  3137  var xxx_messageInfo_PartitionByDef proto.InternalMessageInfo
  3138  
  3139  func (m *PartitionByDef) GetType() PartitionType {
  3140  	if m != nil {
  3141  		return m.Type
  3142  	}
  3143  	return PartitionType_KEY
  3144  }
  3145  
  3146  func (m *PartitionByDef) GetPartitionExpr() *PartitionExpr {
  3147  	if m != nil {
  3148  		return m.PartitionExpr
  3149  	}
  3150  	return nil
  3151  }
  3152  
  3153  func (m *PartitionByDef) GetPartitionExpression() *Expr {
  3154  	if m != nil {
  3155  		return m.PartitionExpression
  3156  	}
  3157  	return nil
  3158  }
  3159  
  3160  func (m *PartitionByDef) GetPartitionColumns() *PartitionColumns {
  3161  	if m != nil {
  3162  		return m.PartitionColumns
  3163  	}
  3164  	return nil
  3165  }
  3166  
  3167  func (m *PartitionByDef) GetPartitionNum() uint64 {
  3168  	if m != nil {
  3169  		return m.PartitionNum
  3170  	}
  3171  	return 0
  3172  }
  3173  
  3174  func (m *PartitionByDef) GetPartitions() []*PartitionItem {
  3175  	if m != nil {
  3176  		return m.Partitions
  3177  	}
  3178  	return nil
  3179  }
  3180  
  3181  func (m *PartitionByDef) GetAlgorithm() int64 {
  3182  	if m != nil {
  3183  		return m.Algorithm
  3184  	}
  3185  	return 0
  3186  }
  3187  
  3188  func (m *PartitionByDef) GetIsSubPartition() bool {
  3189  	if m != nil {
  3190  		return m.IsSubPartition
  3191  	}
  3192  	return false
  3193  }
  3194  
  3195  func (m *PartitionByDef) GetPartitionMsg() string {
  3196  	if m != nil {
  3197  		return m.PartitionMsg
  3198  	}
  3199  	return ""
  3200  }
  3201  
  3202  type PartitionExpr struct {
  3203  	Expr                 *Expr    `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
  3204  	ExprStr              string   `protobuf:"bytes,2,opt,name=expr_str,json=exprStr,proto3" json:"expr_str,omitempty"`
  3205  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3206  	XXX_unrecognized     []byte   `json:"-"`
  3207  	XXX_sizecache        int32    `json:"-"`
  3208  }
  3209  
  3210  func (m *PartitionExpr) Reset()         { *m = PartitionExpr{} }
  3211  func (m *PartitionExpr) String() string { return proto.CompactTextString(m) }
  3212  func (*PartitionExpr) ProtoMessage()    {}
  3213  func (*PartitionExpr) Descriptor() ([]byte, []int) {
  3214  	return fileDescriptor_2d655ab2f7683c23, []int{30}
  3215  }
  3216  func (m *PartitionExpr) XXX_Unmarshal(b []byte) error {
  3217  	return m.Unmarshal(b)
  3218  }
  3219  func (m *PartitionExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3220  	if deterministic {
  3221  		return xxx_messageInfo_PartitionExpr.Marshal(b, m, deterministic)
  3222  	} else {
  3223  		b = b[:cap(b)]
  3224  		n, err := m.MarshalToSizedBuffer(b)
  3225  		if err != nil {
  3226  			return nil, err
  3227  		}
  3228  		return b[:n], nil
  3229  	}
  3230  }
  3231  func (m *PartitionExpr) XXX_Merge(src proto.Message) {
  3232  	xxx_messageInfo_PartitionExpr.Merge(m, src)
  3233  }
  3234  func (m *PartitionExpr) XXX_Size() int {
  3235  	return m.ProtoSize()
  3236  }
  3237  func (m *PartitionExpr) XXX_DiscardUnknown() {
  3238  	xxx_messageInfo_PartitionExpr.DiscardUnknown(m)
  3239  }
  3240  
  3241  var xxx_messageInfo_PartitionExpr proto.InternalMessageInfo
  3242  
  3243  func (m *PartitionExpr) GetExpr() *Expr {
  3244  	if m != nil {
  3245  		return m.Expr
  3246  	}
  3247  	return nil
  3248  }
  3249  
  3250  func (m *PartitionExpr) GetExprStr() string {
  3251  	if m != nil {
  3252  		return m.ExprStr
  3253  	}
  3254  	return ""
  3255  }
  3256  
  3257  type PartitionColumns struct {
  3258  	Columns              []*Expr  `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
  3259  	PartitionColumns     []string `protobuf:"bytes,2,rep,name=partition_columns,json=partitionColumns,proto3" json:"partition_columns,omitempty"`
  3260  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3261  	XXX_unrecognized     []byte   `json:"-"`
  3262  	XXX_sizecache        int32    `json:"-"`
  3263  }
  3264  
  3265  func (m *PartitionColumns) Reset()         { *m = PartitionColumns{} }
  3266  func (m *PartitionColumns) String() string { return proto.CompactTextString(m) }
  3267  func (*PartitionColumns) ProtoMessage()    {}
  3268  func (*PartitionColumns) Descriptor() ([]byte, []int) {
  3269  	return fileDescriptor_2d655ab2f7683c23, []int{31}
  3270  }
  3271  func (m *PartitionColumns) XXX_Unmarshal(b []byte) error {
  3272  	return m.Unmarshal(b)
  3273  }
  3274  func (m *PartitionColumns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3275  	if deterministic {
  3276  		return xxx_messageInfo_PartitionColumns.Marshal(b, m, deterministic)
  3277  	} else {
  3278  		b = b[:cap(b)]
  3279  		n, err := m.MarshalToSizedBuffer(b)
  3280  		if err != nil {
  3281  			return nil, err
  3282  		}
  3283  		return b[:n], nil
  3284  	}
  3285  }
  3286  func (m *PartitionColumns) XXX_Merge(src proto.Message) {
  3287  	xxx_messageInfo_PartitionColumns.Merge(m, src)
  3288  }
  3289  func (m *PartitionColumns) XXX_Size() int {
  3290  	return m.ProtoSize()
  3291  }
  3292  func (m *PartitionColumns) XXX_DiscardUnknown() {
  3293  	xxx_messageInfo_PartitionColumns.DiscardUnknown(m)
  3294  }
  3295  
  3296  var xxx_messageInfo_PartitionColumns proto.InternalMessageInfo
  3297  
  3298  func (m *PartitionColumns) GetColumns() []*Expr {
  3299  	if m != nil {
  3300  		return m.Columns
  3301  	}
  3302  	return nil
  3303  }
  3304  
  3305  func (m *PartitionColumns) GetPartitionColumns() []string {
  3306  	if m != nil {
  3307  		return m.PartitionColumns
  3308  	}
  3309  	return nil
  3310  }
  3311  
  3312  type PartitionItem struct {
  3313  	PartitionName        string   `protobuf:"bytes,1,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
  3314  	OrdinalPosition      uint32   `protobuf:"varint,2,opt,name=ordinal_position,json=ordinalPosition,proto3" json:"ordinal_position,omitempty"`
  3315  	Description          string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  3316  	Comment              string   `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
  3317  	LessThan             []*Expr  `protobuf:"bytes,5,rep,name=less_than,json=lessThan,proto3" json:"less_than,omitempty"`
  3318  	InValues             []*Expr  `protobuf:"bytes,6,rep,name=in_values,json=inValues,proto3" json:"in_values,omitempty"`
  3319  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3320  	XXX_unrecognized     []byte   `json:"-"`
  3321  	XXX_sizecache        int32    `json:"-"`
  3322  }
  3323  
  3324  func (m *PartitionItem) Reset()         { *m = PartitionItem{} }
  3325  func (m *PartitionItem) String() string { return proto.CompactTextString(m) }
  3326  func (*PartitionItem) ProtoMessage()    {}
  3327  func (*PartitionItem) Descriptor() ([]byte, []int) {
  3328  	return fileDescriptor_2d655ab2f7683c23, []int{32}
  3329  }
  3330  func (m *PartitionItem) XXX_Unmarshal(b []byte) error {
  3331  	return m.Unmarshal(b)
  3332  }
  3333  func (m *PartitionItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3334  	if deterministic {
  3335  		return xxx_messageInfo_PartitionItem.Marshal(b, m, deterministic)
  3336  	} else {
  3337  		b = b[:cap(b)]
  3338  		n, err := m.MarshalToSizedBuffer(b)
  3339  		if err != nil {
  3340  			return nil, err
  3341  		}
  3342  		return b[:n], nil
  3343  	}
  3344  }
  3345  func (m *PartitionItem) XXX_Merge(src proto.Message) {
  3346  	xxx_messageInfo_PartitionItem.Merge(m, src)
  3347  }
  3348  func (m *PartitionItem) XXX_Size() int {
  3349  	return m.ProtoSize()
  3350  }
  3351  func (m *PartitionItem) XXX_DiscardUnknown() {
  3352  	xxx_messageInfo_PartitionItem.DiscardUnknown(m)
  3353  }
  3354  
  3355  var xxx_messageInfo_PartitionItem proto.InternalMessageInfo
  3356  
  3357  func (m *PartitionItem) GetPartitionName() string {
  3358  	if m != nil {
  3359  		return m.PartitionName
  3360  	}
  3361  	return ""
  3362  }
  3363  
  3364  func (m *PartitionItem) GetOrdinalPosition() uint32 {
  3365  	if m != nil {
  3366  		return m.OrdinalPosition
  3367  	}
  3368  	return 0
  3369  }
  3370  
  3371  func (m *PartitionItem) GetDescription() string {
  3372  	if m != nil {
  3373  		return m.Description
  3374  	}
  3375  	return ""
  3376  }
  3377  
  3378  func (m *PartitionItem) GetComment() string {
  3379  	if m != nil {
  3380  		return m.Comment
  3381  	}
  3382  	return ""
  3383  }
  3384  
  3385  func (m *PartitionItem) GetLessThan() []*Expr {
  3386  	if m != nil {
  3387  		return m.LessThan
  3388  	}
  3389  	return nil
  3390  }
  3391  
  3392  func (m *PartitionItem) GetInValues() []*Expr {
  3393  	if m != nil {
  3394  		return m.InValues
  3395  	}
  3396  	return nil
  3397  }
  3398  
  3399  type ViewDef struct {
  3400  	View                 string   `protobuf:"bytes,1,opt,name=view,proto3" json:"view,omitempty"`
  3401  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3402  	XXX_unrecognized     []byte   `json:"-"`
  3403  	XXX_sizecache        int32    `json:"-"`
  3404  }
  3405  
  3406  func (m *ViewDef) Reset()         { *m = ViewDef{} }
  3407  func (m *ViewDef) String() string { return proto.CompactTextString(m) }
  3408  func (*ViewDef) ProtoMessage()    {}
  3409  func (*ViewDef) Descriptor() ([]byte, []int) {
  3410  	return fileDescriptor_2d655ab2f7683c23, []int{33}
  3411  }
  3412  func (m *ViewDef) XXX_Unmarshal(b []byte) error {
  3413  	return m.Unmarshal(b)
  3414  }
  3415  func (m *ViewDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3416  	if deterministic {
  3417  		return xxx_messageInfo_ViewDef.Marshal(b, m, deterministic)
  3418  	} else {
  3419  		b = b[:cap(b)]
  3420  		n, err := m.MarshalToSizedBuffer(b)
  3421  		if err != nil {
  3422  			return nil, err
  3423  		}
  3424  		return b[:n], nil
  3425  	}
  3426  }
  3427  func (m *ViewDef) XXX_Merge(src proto.Message) {
  3428  	xxx_messageInfo_ViewDef.Merge(m, src)
  3429  }
  3430  func (m *ViewDef) XXX_Size() int {
  3431  	return m.ProtoSize()
  3432  }
  3433  func (m *ViewDef) XXX_DiscardUnknown() {
  3434  	xxx_messageInfo_ViewDef.DiscardUnknown(m)
  3435  }
  3436  
  3437  var xxx_messageInfo_ViewDef proto.InternalMessageInfo
  3438  
  3439  func (m *ViewDef) GetView() string {
  3440  	if m != nil {
  3441  		return m.View
  3442  	}
  3443  	return ""
  3444  }
  3445  
  3446  type TableDef struct {
  3447  	TblId        uint64           `protobuf:"varint,1,opt,name=tbl_id,json=tblId,proto3" json:"tbl_id,omitempty"`
  3448  	Name         string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  3449  	Hidden       bool             `protobuf:"varint,3,opt,name=hidden,proto3" json:"hidden,omitempty"`
  3450  	Cols         []*ColDef        `protobuf:"bytes,4,rep,name=cols,proto3" json:"cols,omitempty"`
  3451  	TableType    string           `protobuf:"bytes,5,opt,name=table_type,json=tableType,proto3" json:"table_type,omitempty"`
  3452  	Createsql    string           `protobuf:"bytes,6,opt,name=createsql,proto3" json:"createsql,omitempty"`
  3453  	TblFunc      *TableFunction   `protobuf:"bytes,7,opt,name=tbl_func,json=tblFunc,proto3" json:"tbl_func,omitempty"`
  3454  	Pkey         *PrimaryKeyDef   `protobuf:"bytes,11,opt,name=pkey,proto3" json:"pkey,omitempty"`
  3455  	Indexes      []*IndexDef      `protobuf:"bytes,12,rep,name=indexes,proto3" json:"indexes,omitempty"`
  3456  	Fkeys        []*ForeignKeyDef `protobuf:"bytes,13,rep,name=fkeys,proto3" json:"fkeys,omitempty"`
  3457  	RefChildTbls []uint64         `protobuf:"varint,14,rep,packed,name=ref_child_tbls,json=refChildTbls,proto3" json:"ref_child_tbls,omitempty"`
  3458  	Checks       []*CheckDef      `protobuf:"bytes,15,rep,name=checks,proto3" json:"checks,omitempty"`
  3459  	Partition    *PartitionByDef  `protobuf:"bytes,21,opt,name=partition,proto3" json:"partition,omitempty"`
  3460  	ClusterBy    *ClusterByDef    `protobuf:"bytes,22,opt,name=cluster_by,json=clusterBy,proto3" json:"cluster_by,omitempty"`
  3461  	Props        []*PropertyDef   `protobuf:"bytes,23,rep,name=props,proto3" json:"props,omitempty"`
  3462  	ViewSql      *ViewDef         `protobuf:"bytes,24,opt,name=view_sql,json=viewSql,proto3" json:"view_sql,omitempty"`
  3463  	OriginCols   []*ColDef        `protobuf:"bytes,25,rep,name=origin_cols,json=originCols,proto3" json:"origin_cols,omitempty"`
  3464  	// XXX: Deprecated and to be removed soon.
  3465  	Defs                 []*TableDef_DefType `protobuf:"bytes,31,rep,name=defs,proto3" json:"defs,omitempty"`
  3466  	Name2ColIndex        map[string]int32    `protobuf:"bytes,32,rep,name=name2col_index,json=name2colIndex,proto3" json:"name2col_index,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  3467  	CompositePkey        *ColDef             `protobuf:"bytes,33,opt,name=composite_pkey,json=compositePkey,proto3" json:"composite_pkey,omitempty"`
  3468  	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
  3469  	XXX_unrecognized     []byte              `json:"-"`
  3470  	XXX_sizecache        int32               `json:"-"`
  3471  }
  3472  
  3473  func (m *TableDef) Reset()         { *m = TableDef{} }
  3474  func (m *TableDef) String() string { return proto.CompactTextString(m) }
  3475  func (*TableDef) ProtoMessage()    {}
  3476  func (*TableDef) Descriptor() ([]byte, []int) {
  3477  	return fileDescriptor_2d655ab2f7683c23, []int{34}
  3478  }
  3479  func (m *TableDef) XXX_Unmarshal(b []byte) error {
  3480  	return m.Unmarshal(b)
  3481  }
  3482  func (m *TableDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3483  	if deterministic {
  3484  		return xxx_messageInfo_TableDef.Marshal(b, m, deterministic)
  3485  	} else {
  3486  		b = b[:cap(b)]
  3487  		n, err := m.MarshalToSizedBuffer(b)
  3488  		if err != nil {
  3489  			return nil, err
  3490  		}
  3491  		return b[:n], nil
  3492  	}
  3493  }
  3494  func (m *TableDef) XXX_Merge(src proto.Message) {
  3495  	xxx_messageInfo_TableDef.Merge(m, src)
  3496  }
  3497  func (m *TableDef) XXX_Size() int {
  3498  	return m.ProtoSize()
  3499  }
  3500  func (m *TableDef) XXX_DiscardUnknown() {
  3501  	xxx_messageInfo_TableDef.DiscardUnknown(m)
  3502  }
  3503  
  3504  var xxx_messageInfo_TableDef proto.InternalMessageInfo
  3505  
  3506  func (m *TableDef) GetTblId() uint64 {
  3507  	if m != nil {
  3508  		return m.TblId
  3509  	}
  3510  	return 0
  3511  }
  3512  
  3513  func (m *TableDef) GetName() string {
  3514  	if m != nil {
  3515  		return m.Name
  3516  	}
  3517  	return ""
  3518  }
  3519  
  3520  func (m *TableDef) GetHidden() bool {
  3521  	if m != nil {
  3522  		return m.Hidden
  3523  	}
  3524  	return false
  3525  }
  3526  
  3527  func (m *TableDef) GetCols() []*ColDef {
  3528  	if m != nil {
  3529  		return m.Cols
  3530  	}
  3531  	return nil
  3532  }
  3533  
  3534  func (m *TableDef) GetTableType() string {
  3535  	if m != nil {
  3536  		return m.TableType
  3537  	}
  3538  	return ""
  3539  }
  3540  
  3541  func (m *TableDef) GetCreatesql() string {
  3542  	if m != nil {
  3543  		return m.Createsql
  3544  	}
  3545  	return ""
  3546  }
  3547  
  3548  func (m *TableDef) GetTblFunc() *TableFunction {
  3549  	if m != nil {
  3550  		return m.TblFunc
  3551  	}
  3552  	return nil
  3553  }
  3554  
  3555  func (m *TableDef) GetPkey() *PrimaryKeyDef {
  3556  	if m != nil {
  3557  		return m.Pkey
  3558  	}
  3559  	return nil
  3560  }
  3561  
  3562  func (m *TableDef) GetIndexes() []*IndexDef {
  3563  	if m != nil {
  3564  		return m.Indexes
  3565  	}
  3566  	return nil
  3567  }
  3568  
  3569  func (m *TableDef) GetFkeys() []*ForeignKeyDef {
  3570  	if m != nil {
  3571  		return m.Fkeys
  3572  	}
  3573  	return nil
  3574  }
  3575  
  3576  func (m *TableDef) GetRefChildTbls() []uint64 {
  3577  	if m != nil {
  3578  		return m.RefChildTbls
  3579  	}
  3580  	return nil
  3581  }
  3582  
  3583  func (m *TableDef) GetChecks() []*CheckDef {
  3584  	if m != nil {
  3585  		return m.Checks
  3586  	}
  3587  	return nil
  3588  }
  3589  
  3590  func (m *TableDef) GetPartition() *PartitionByDef {
  3591  	if m != nil {
  3592  		return m.Partition
  3593  	}
  3594  	return nil
  3595  }
  3596  
  3597  func (m *TableDef) GetClusterBy() *ClusterByDef {
  3598  	if m != nil {
  3599  		return m.ClusterBy
  3600  	}
  3601  	return nil
  3602  }
  3603  
  3604  func (m *TableDef) GetProps() []*PropertyDef {
  3605  	if m != nil {
  3606  		return m.Props
  3607  	}
  3608  	return nil
  3609  }
  3610  
  3611  func (m *TableDef) GetViewSql() *ViewDef {
  3612  	if m != nil {
  3613  		return m.ViewSql
  3614  	}
  3615  	return nil
  3616  }
  3617  
  3618  func (m *TableDef) GetOriginCols() []*ColDef {
  3619  	if m != nil {
  3620  		return m.OriginCols
  3621  	}
  3622  	return nil
  3623  }
  3624  
  3625  func (m *TableDef) GetDefs() []*TableDef_DefType {
  3626  	if m != nil {
  3627  		return m.Defs
  3628  	}
  3629  	return nil
  3630  }
  3631  
  3632  func (m *TableDef) GetName2ColIndex() map[string]int32 {
  3633  	if m != nil {
  3634  		return m.Name2ColIndex
  3635  	}
  3636  	return nil
  3637  }
  3638  
  3639  func (m *TableDef) GetCompositePkey() *ColDef {
  3640  	if m != nil {
  3641  		return m.CompositePkey
  3642  	}
  3643  	return nil
  3644  }
  3645  
  3646  // XXX: Deprecated and to be removed soon.
  3647  type TableDef_DefType struct {
  3648  	// Types that are valid to be assigned to Def:
  3649  	//
  3650  	//	*TableDef_DefType_Properties
  3651  	Def                  isTableDef_DefType_Def `protobuf_oneof:"def"`
  3652  	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
  3653  	XXX_unrecognized     []byte                 `json:"-"`
  3654  	XXX_sizecache        int32                  `json:"-"`
  3655  }
  3656  
  3657  func (m *TableDef_DefType) Reset()         { *m = TableDef_DefType{} }
  3658  func (m *TableDef_DefType) String() string { return proto.CompactTextString(m) }
  3659  func (*TableDef_DefType) ProtoMessage()    {}
  3660  func (*TableDef_DefType) Descriptor() ([]byte, []int) {
  3661  	return fileDescriptor_2d655ab2f7683c23, []int{34, 0}
  3662  }
  3663  func (m *TableDef_DefType) XXX_Unmarshal(b []byte) error {
  3664  	return m.Unmarshal(b)
  3665  }
  3666  func (m *TableDef_DefType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3667  	if deterministic {
  3668  		return xxx_messageInfo_TableDef_DefType.Marshal(b, m, deterministic)
  3669  	} else {
  3670  		b = b[:cap(b)]
  3671  		n, err := m.MarshalToSizedBuffer(b)
  3672  		if err != nil {
  3673  			return nil, err
  3674  		}
  3675  		return b[:n], nil
  3676  	}
  3677  }
  3678  func (m *TableDef_DefType) XXX_Merge(src proto.Message) {
  3679  	xxx_messageInfo_TableDef_DefType.Merge(m, src)
  3680  }
  3681  func (m *TableDef_DefType) XXX_Size() int {
  3682  	return m.ProtoSize()
  3683  }
  3684  func (m *TableDef_DefType) XXX_DiscardUnknown() {
  3685  	xxx_messageInfo_TableDef_DefType.DiscardUnknown(m)
  3686  }
  3687  
  3688  var xxx_messageInfo_TableDef_DefType proto.InternalMessageInfo
  3689  
  3690  type isTableDef_DefType_Def interface {
  3691  	isTableDef_DefType_Def()
  3692  	MarshalTo([]byte) (int, error)
  3693  	ProtoSize() int
  3694  }
  3695  
  3696  type TableDef_DefType_Properties struct {
  3697  	Properties *PropertiesDef `protobuf:"bytes,1,opt,name=properties,proto3,oneof" json:"properties,omitempty"`
  3698  }
  3699  
  3700  func (*TableDef_DefType_Properties) isTableDef_DefType_Def() {}
  3701  
  3702  func (m *TableDef_DefType) GetDef() isTableDef_DefType_Def {
  3703  	if m != nil {
  3704  		return m.Def
  3705  	}
  3706  	return nil
  3707  }
  3708  
  3709  func (m *TableDef_DefType) GetProperties() *PropertiesDef {
  3710  	if x, ok := m.GetDef().(*TableDef_DefType_Properties); ok {
  3711  		return x.Properties
  3712  	}
  3713  	return nil
  3714  }
  3715  
  3716  // XXX_OneofWrappers is for the internal use of the proto package.
  3717  func (*TableDef_DefType) XXX_OneofWrappers() []interface{} {
  3718  	return []interface{}{
  3719  		(*TableDef_DefType_Properties)(nil),
  3720  	}
  3721  }
  3722  
  3723  type TableFunction struct {
  3724  	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  3725  	Param                []byte   `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"`
  3726  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3727  	XXX_unrecognized     []byte   `json:"-"`
  3728  	XXX_sizecache        int32    `json:"-"`
  3729  }
  3730  
  3731  func (m *TableFunction) Reset()         { *m = TableFunction{} }
  3732  func (m *TableFunction) String() string { return proto.CompactTextString(m) }
  3733  func (*TableFunction) ProtoMessage()    {}
  3734  func (*TableFunction) Descriptor() ([]byte, []int) {
  3735  	return fileDescriptor_2d655ab2f7683c23, []int{35}
  3736  }
  3737  func (m *TableFunction) XXX_Unmarshal(b []byte) error {
  3738  	return m.Unmarshal(b)
  3739  }
  3740  func (m *TableFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3741  	if deterministic {
  3742  		return xxx_messageInfo_TableFunction.Marshal(b, m, deterministic)
  3743  	} else {
  3744  		b = b[:cap(b)]
  3745  		n, err := m.MarshalToSizedBuffer(b)
  3746  		if err != nil {
  3747  			return nil, err
  3748  		}
  3749  		return b[:n], nil
  3750  	}
  3751  }
  3752  func (m *TableFunction) XXX_Merge(src proto.Message) {
  3753  	xxx_messageInfo_TableFunction.Merge(m, src)
  3754  }
  3755  func (m *TableFunction) XXX_Size() int {
  3756  	return m.ProtoSize()
  3757  }
  3758  func (m *TableFunction) XXX_DiscardUnknown() {
  3759  	xxx_messageInfo_TableFunction.DiscardUnknown(m)
  3760  }
  3761  
  3762  var xxx_messageInfo_TableFunction proto.InternalMessageInfo
  3763  
  3764  func (m *TableFunction) GetName() string {
  3765  	if m != nil {
  3766  		return m.Name
  3767  	}
  3768  	return ""
  3769  }
  3770  
  3771  func (m *TableFunction) GetParam() []byte {
  3772  	if m != nil {
  3773  		return m.Param
  3774  	}
  3775  	return nil
  3776  }
  3777  
  3778  type Stats struct {
  3779  	// for scan, number of blocks to read from S3
  3780  	// for other nodes, it's meaningless
  3781  	BlockNum int32 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
  3782  	// for scan, cost of reading from S3, basically the read lines
  3783  	// for other nodes, it means the estimated cost of current node
  3784  	Cost float64 `protobuf:"fixed64,2,opt,name=cost,proto3" json:"cost,omitempty"`
  3785  	// number of output lines
  3786  	Outcnt float64 `protobuf:"fixed64,3,opt,name=outcnt,proto3" json:"outcnt,omitempty"`
  3787  	// average size of one row, currently not used
  3788  	Rowsize float64 `protobuf:"fixed64,4,opt,name=rowsize,proto3" json:"rowsize,omitempty"`
  3789  	// hashmap size for nodes which build a hashmap
  3790  	// for other nodes, it's meaningless
  3791  	HashmapSize float64 `protobuf:"fixed64,5,opt,name=hashmap_size,json=hashmapSize,proto3" json:"hashmap_size,omitempty"`
  3792  	// for scan, this means total count of all table, before filtering
  3793  	// for other nodes, this is meanlingless
  3794  	TableCnt float64 `protobuf:"fixed64,6,opt,name=table_cnt,json=tableCnt,proto3" json:"table_cnt,omitempty"`
  3795  	// for scan, selectivity means outcnt divide total count
  3796  	// for other node, currently be 0. will change in the future
  3797  	Selectivity          float64  `protobuf:"fixed64,7,opt,name=selectivity,proto3" json:"selectivity,omitempty"`
  3798  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3799  	XXX_unrecognized     []byte   `json:"-"`
  3800  	XXX_sizecache        int32    `json:"-"`
  3801  }
  3802  
  3803  func (m *Stats) Reset()         { *m = Stats{} }
  3804  func (m *Stats) String() string { return proto.CompactTextString(m) }
  3805  func (*Stats) ProtoMessage()    {}
  3806  func (*Stats) Descriptor() ([]byte, []int) {
  3807  	return fileDescriptor_2d655ab2f7683c23, []int{36}
  3808  }
  3809  func (m *Stats) XXX_Unmarshal(b []byte) error {
  3810  	return m.Unmarshal(b)
  3811  }
  3812  func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3813  	if deterministic {
  3814  		return xxx_messageInfo_Stats.Marshal(b, m, deterministic)
  3815  	} else {
  3816  		b = b[:cap(b)]
  3817  		n, err := m.MarshalToSizedBuffer(b)
  3818  		if err != nil {
  3819  			return nil, err
  3820  		}
  3821  		return b[:n], nil
  3822  	}
  3823  }
  3824  func (m *Stats) XXX_Merge(src proto.Message) {
  3825  	xxx_messageInfo_Stats.Merge(m, src)
  3826  }
  3827  func (m *Stats) XXX_Size() int {
  3828  	return m.ProtoSize()
  3829  }
  3830  func (m *Stats) XXX_DiscardUnknown() {
  3831  	xxx_messageInfo_Stats.DiscardUnknown(m)
  3832  }
  3833  
  3834  var xxx_messageInfo_Stats proto.InternalMessageInfo
  3835  
  3836  func (m *Stats) GetBlockNum() int32 {
  3837  	if m != nil {
  3838  		return m.BlockNum
  3839  	}
  3840  	return 0
  3841  }
  3842  
  3843  func (m *Stats) GetCost() float64 {
  3844  	if m != nil {
  3845  		return m.Cost
  3846  	}
  3847  	return 0
  3848  }
  3849  
  3850  func (m *Stats) GetOutcnt() float64 {
  3851  	if m != nil {
  3852  		return m.Outcnt
  3853  	}
  3854  	return 0
  3855  }
  3856  
  3857  func (m *Stats) GetRowsize() float64 {
  3858  	if m != nil {
  3859  		return m.Rowsize
  3860  	}
  3861  	return 0
  3862  }
  3863  
  3864  func (m *Stats) GetHashmapSize() float64 {
  3865  	if m != nil {
  3866  		return m.HashmapSize
  3867  	}
  3868  	return 0
  3869  }
  3870  
  3871  func (m *Stats) GetTableCnt() float64 {
  3872  	if m != nil {
  3873  		return m.TableCnt
  3874  	}
  3875  	return 0
  3876  }
  3877  
  3878  func (m *Stats) GetSelectivity() float64 {
  3879  	if m != nil {
  3880  		return m.Selectivity
  3881  	}
  3882  	return 0
  3883  }
  3884  
  3885  type ColData struct {
  3886  	Data                 []*Expr  `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
  3887  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3888  	XXX_unrecognized     []byte   `json:"-"`
  3889  	XXX_sizecache        int32    `json:"-"`
  3890  }
  3891  
  3892  func (m *ColData) Reset()         { *m = ColData{} }
  3893  func (m *ColData) String() string { return proto.CompactTextString(m) }
  3894  func (*ColData) ProtoMessage()    {}
  3895  func (*ColData) Descriptor() ([]byte, []int) {
  3896  	return fileDescriptor_2d655ab2f7683c23, []int{37}
  3897  }
  3898  func (m *ColData) XXX_Unmarshal(b []byte) error {
  3899  	return m.Unmarshal(b)
  3900  }
  3901  func (m *ColData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3902  	if deterministic {
  3903  		return xxx_messageInfo_ColData.Marshal(b, m, deterministic)
  3904  	} else {
  3905  		b = b[:cap(b)]
  3906  		n, err := m.MarshalToSizedBuffer(b)
  3907  		if err != nil {
  3908  			return nil, err
  3909  		}
  3910  		return b[:n], nil
  3911  	}
  3912  }
  3913  func (m *ColData) XXX_Merge(src proto.Message) {
  3914  	xxx_messageInfo_ColData.Merge(m, src)
  3915  }
  3916  func (m *ColData) XXX_Size() int {
  3917  	return m.ProtoSize()
  3918  }
  3919  func (m *ColData) XXX_DiscardUnknown() {
  3920  	xxx_messageInfo_ColData.DiscardUnknown(m)
  3921  }
  3922  
  3923  var xxx_messageInfo_ColData proto.InternalMessageInfo
  3924  
  3925  func (m *ColData) GetData() []*Expr {
  3926  	if m != nil {
  3927  		return m.Data
  3928  	}
  3929  	return nil
  3930  }
  3931  
  3932  type RowsetData struct {
  3933  	Cols                 []*ColData `protobuf:"bytes,1,rep,name=cols,proto3" json:"cols,omitempty"`
  3934  	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
  3935  	XXX_unrecognized     []byte     `json:"-"`
  3936  	XXX_sizecache        int32      `json:"-"`
  3937  }
  3938  
  3939  func (m *RowsetData) Reset()         { *m = RowsetData{} }
  3940  func (m *RowsetData) String() string { return proto.CompactTextString(m) }
  3941  func (*RowsetData) ProtoMessage()    {}
  3942  func (*RowsetData) Descriptor() ([]byte, []int) {
  3943  	return fileDescriptor_2d655ab2f7683c23, []int{38}
  3944  }
  3945  func (m *RowsetData) XXX_Unmarshal(b []byte) error {
  3946  	return m.Unmarshal(b)
  3947  }
  3948  func (m *RowsetData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3949  	if deterministic {
  3950  		return xxx_messageInfo_RowsetData.Marshal(b, m, deterministic)
  3951  	} else {
  3952  		b = b[:cap(b)]
  3953  		n, err := m.MarshalToSizedBuffer(b)
  3954  		if err != nil {
  3955  			return nil, err
  3956  		}
  3957  		return b[:n], nil
  3958  	}
  3959  }
  3960  func (m *RowsetData) XXX_Merge(src proto.Message) {
  3961  	xxx_messageInfo_RowsetData.Merge(m, src)
  3962  }
  3963  func (m *RowsetData) XXX_Size() int {
  3964  	return m.ProtoSize()
  3965  }
  3966  func (m *RowsetData) XXX_DiscardUnknown() {
  3967  	xxx_messageInfo_RowsetData.DiscardUnknown(m)
  3968  }
  3969  
  3970  var xxx_messageInfo_RowsetData proto.InternalMessageInfo
  3971  
  3972  func (m *RowsetData) GetCols() []*ColData {
  3973  	if m != nil {
  3974  		return m.Cols
  3975  	}
  3976  	return nil
  3977  }
  3978  
  3979  type OrderBySpec struct {
  3980  	Expr                 *Expr                   `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
  3981  	Collation            string                  `protobuf:"bytes,2,opt,name=collation,proto3" json:"collation,omitempty"`
  3982  	Flag                 OrderBySpec_OrderByFlag `protobuf:"varint,3,opt,name=flag,proto3,enum=plan.OrderBySpec_OrderByFlag" json:"flag,omitempty"`
  3983  	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
  3984  	XXX_unrecognized     []byte                  `json:"-"`
  3985  	XXX_sizecache        int32                   `json:"-"`
  3986  }
  3987  
  3988  func (m *OrderBySpec) Reset()         { *m = OrderBySpec{} }
  3989  func (m *OrderBySpec) String() string { return proto.CompactTextString(m) }
  3990  func (*OrderBySpec) ProtoMessage()    {}
  3991  func (*OrderBySpec) Descriptor() ([]byte, []int) {
  3992  	return fileDescriptor_2d655ab2f7683c23, []int{39}
  3993  }
  3994  func (m *OrderBySpec) XXX_Unmarshal(b []byte) error {
  3995  	return m.Unmarshal(b)
  3996  }
  3997  func (m *OrderBySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3998  	if deterministic {
  3999  		return xxx_messageInfo_OrderBySpec.Marshal(b, m, deterministic)
  4000  	} else {
  4001  		b = b[:cap(b)]
  4002  		n, err := m.MarshalToSizedBuffer(b)
  4003  		if err != nil {
  4004  			return nil, err
  4005  		}
  4006  		return b[:n], nil
  4007  	}
  4008  }
  4009  func (m *OrderBySpec) XXX_Merge(src proto.Message) {
  4010  	xxx_messageInfo_OrderBySpec.Merge(m, src)
  4011  }
  4012  func (m *OrderBySpec) XXX_Size() int {
  4013  	return m.ProtoSize()
  4014  }
  4015  func (m *OrderBySpec) XXX_DiscardUnknown() {
  4016  	xxx_messageInfo_OrderBySpec.DiscardUnknown(m)
  4017  }
  4018  
  4019  var xxx_messageInfo_OrderBySpec proto.InternalMessageInfo
  4020  
  4021  func (m *OrderBySpec) GetExpr() *Expr {
  4022  	if m != nil {
  4023  		return m.Expr
  4024  	}
  4025  	return nil
  4026  }
  4027  
  4028  func (m *OrderBySpec) GetCollation() string {
  4029  	if m != nil {
  4030  		return m.Collation
  4031  	}
  4032  	return ""
  4033  }
  4034  
  4035  func (m *OrderBySpec) GetFlag() OrderBySpec_OrderByFlag {
  4036  	if m != nil {
  4037  		return m.Flag
  4038  	}
  4039  	return OrderBySpec_INTERNAL
  4040  }
  4041  
  4042  type WindowSpec struct {
  4043  	PartitionBy          []*Expr        `protobuf:"bytes,1,rep,name=partition_by,json=partitionBy,proto3" json:"partition_by,omitempty"`
  4044  	OrderBy              []*OrderBySpec `protobuf:"bytes,2,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
  4045  	Lead                 int32          `protobuf:"varint,3,opt,name=lead,proto3" json:"lead,omitempty"`
  4046  	Lag                  int32          `protobuf:"varint,4,opt,name=lag,proto3" json:"lag,omitempty"`
  4047  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
  4048  	XXX_unrecognized     []byte         `json:"-"`
  4049  	XXX_sizecache        int32          `json:"-"`
  4050  }
  4051  
  4052  func (m *WindowSpec) Reset()         { *m = WindowSpec{} }
  4053  func (m *WindowSpec) String() string { return proto.CompactTextString(m) }
  4054  func (*WindowSpec) ProtoMessage()    {}
  4055  func (*WindowSpec) Descriptor() ([]byte, []int) {
  4056  	return fileDescriptor_2d655ab2f7683c23, []int{40}
  4057  }
  4058  func (m *WindowSpec) XXX_Unmarshal(b []byte) error {
  4059  	return m.Unmarshal(b)
  4060  }
  4061  func (m *WindowSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4062  	if deterministic {
  4063  		return xxx_messageInfo_WindowSpec.Marshal(b, m, deterministic)
  4064  	} else {
  4065  		b = b[:cap(b)]
  4066  		n, err := m.MarshalToSizedBuffer(b)
  4067  		if err != nil {
  4068  			return nil, err
  4069  		}
  4070  		return b[:n], nil
  4071  	}
  4072  }
  4073  func (m *WindowSpec) XXX_Merge(src proto.Message) {
  4074  	xxx_messageInfo_WindowSpec.Merge(m, src)
  4075  }
  4076  func (m *WindowSpec) XXX_Size() int {
  4077  	return m.ProtoSize()
  4078  }
  4079  func (m *WindowSpec) XXX_DiscardUnknown() {
  4080  	xxx_messageInfo_WindowSpec.DiscardUnknown(m)
  4081  }
  4082  
  4083  var xxx_messageInfo_WindowSpec proto.InternalMessageInfo
  4084  
  4085  func (m *WindowSpec) GetPartitionBy() []*Expr {
  4086  	if m != nil {
  4087  		return m.PartitionBy
  4088  	}
  4089  	return nil
  4090  }
  4091  
  4092  func (m *WindowSpec) GetOrderBy() []*OrderBySpec {
  4093  	if m != nil {
  4094  		return m.OrderBy
  4095  	}
  4096  	return nil
  4097  }
  4098  
  4099  func (m *WindowSpec) GetLead() int32 {
  4100  	if m != nil {
  4101  		return m.Lead
  4102  	}
  4103  	return 0
  4104  }
  4105  
  4106  func (m *WindowSpec) GetLag() int32 {
  4107  	if m != nil {
  4108  		return m.Lag
  4109  	}
  4110  	return 0
  4111  }
  4112  
  4113  type InsertCtx struct {
  4114  	Ref                  *ObjectRef       `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
  4115  	Idx                  []int32          `protobuf:"varint,2,rep,packed,name=idx,proto3" json:"idx,omitempty"`
  4116  	TableDef             *TableDef        `protobuf:"bytes,3,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"`
  4117  	ParentIdx            map[string]int32 `protobuf:"bytes,4,rep,name=parent_idx,json=parentIdx,proto3" json:"parent_idx,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  4118  	ClusterTable         *ClusterTable    `protobuf:"bytes,5,opt,name=cluster_table,json=clusterTable,proto3" json:"cluster_table,omitempty"`
  4119  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
  4120  	XXX_unrecognized     []byte           `json:"-"`
  4121  	XXX_sizecache        int32            `json:"-"`
  4122  }
  4123  
  4124  func (m *InsertCtx) Reset()         { *m = InsertCtx{} }
  4125  func (m *InsertCtx) String() string { return proto.CompactTextString(m) }
  4126  func (*InsertCtx) ProtoMessage()    {}
  4127  func (*InsertCtx) Descriptor() ([]byte, []int) {
  4128  	return fileDescriptor_2d655ab2f7683c23, []int{41}
  4129  }
  4130  func (m *InsertCtx) XXX_Unmarshal(b []byte) error {
  4131  	return m.Unmarshal(b)
  4132  }
  4133  func (m *InsertCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4134  	if deterministic {
  4135  		return xxx_messageInfo_InsertCtx.Marshal(b, m, deterministic)
  4136  	} else {
  4137  		b = b[:cap(b)]
  4138  		n, err := m.MarshalToSizedBuffer(b)
  4139  		if err != nil {
  4140  			return nil, err
  4141  		}
  4142  		return b[:n], nil
  4143  	}
  4144  }
  4145  func (m *InsertCtx) XXX_Merge(src proto.Message) {
  4146  	xxx_messageInfo_InsertCtx.Merge(m, src)
  4147  }
  4148  func (m *InsertCtx) XXX_Size() int {
  4149  	return m.ProtoSize()
  4150  }
  4151  func (m *InsertCtx) XXX_DiscardUnknown() {
  4152  	xxx_messageInfo_InsertCtx.DiscardUnknown(m)
  4153  }
  4154  
  4155  var xxx_messageInfo_InsertCtx proto.InternalMessageInfo
  4156  
  4157  func (m *InsertCtx) GetRef() *ObjectRef {
  4158  	if m != nil {
  4159  		return m.Ref
  4160  	}
  4161  	return nil
  4162  }
  4163  
  4164  func (m *InsertCtx) GetIdx() []int32 {
  4165  	if m != nil {
  4166  		return m.Idx
  4167  	}
  4168  	return nil
  4169  }
  4170  
  4171  func (m *InsertCtx) GetTableDef() *TableDef {
  4172  	if m != nil {
  4173  		return m.TableDef
  4174  	}
  4175  	return nil
  4176  }
  4177  
  4178  func (m *InsertCtx) GetParentIdx() map[string]int32 {
  4179  	if m != nil {
  4180  		return m.ParentIdx
  4181  	}
  4182  	return nil
  4183  }
  4184  
  4185  func (m *InsertCtx) GetClusterTable() *ClusterTable {
  4186  	if m != nil {
  4187  		return m.ClusterTable
  4188  	}
  4189  	return nil
  4190  }
  4191  
  4192  type UpdateCtx struct {
  4193  	Ref                  []*ObjectRef `protobuf:"bytes,1,rep,name=ref,proto3" json:"ref,omitempty"`
  4194  	Idx                  []*IdList    `protobuf:"bytes,2,rep,name=idx,proto3" json:"idx,omitempty"`
  4195  	TableDefs            []*TableDef  `protobuf:"bytes,3,rep,name=tableDefs,proto3" json:"tableDefs,omitempty"`
  4196  	UpdateCol            []*ColPosMap `protobuf:"bytes,4,rep,name=update_col,json=updateCol,proto3" json:"update_col,omitempty"`
  4197  	IdxRef               []*ObjectRef `protobuf:"bytes,5,rep,name=idx_ref,json=idxRef,proto3" json:"idx_ref,omitempty"`
  4198  	IdxIdx               []int32      `protobuf:"varint,6,rep,packed,name=idx_idx,json=idxIdx,proto3" json:"idx_idx,omitempty"`
  4199  	OnRestrictRef        []*ObjectRef `protobuf:"bytes,7,rep,name=on_restrict_ref,json=onRestrictRef,proto3" json:"on_restrict_ref,omitempty"`
  4200  	OnRestrictIdx        []int32      `protobuf:"varint,8,rep,packed,name=on_restrict_idx,json=onRestrictIdx,proto3" json:"on_restrict_idx,omitempty"`
  4201  	OnCascadeRef         []*ObjectRef `protobuf:"bytes,9,rep,name=on_cascade_ref,json=onCascadeRef,proto3" json:"on_cascade_ref,omitempty"`
  4202  	OnCascadeIdx         []*IdList    `protobuf:"bytes,10,rep,name=on_cascade_idx,json=onCascadeIdx,proto3" json:"on_cascade_idx,omitempty"`
  4203  	OnCascadeDef         []*TableDef  `protobuf:"bytes,11,rep,name=on_cascade_def,json=onCascadeDef,proto3" json:"on_cascade_def,omitempty"`
  4204  	OnCascadeUpdateCol   []*ColPosMap `protobuf:"bytes,12,rep,name=on_cascade_update_col,json=onCascadeUpdateCol,proto3" json:"on_cascade_update_col,omitempty"`
  4205  	OnSetRef             []*ObjectRef `protobuf:"bytes,13,rep,name=on_set_ref,json=onSetRef,proto3" json:"on_set_ref,omitempty"`
  4206  	OnSetIdx             []*IdList    `protobuf:"bytes,14,rep,name=on_set_idx,json=onSetIdx,proto3" json:"on_set_idx,omitempty"`
  4207  	OnSetDef             []*TableDef  `protobuf:"bytes,15,rep,name=on_set_def,json=onSetDef,proto3" json:"on_set_def,omitempty"`
  4208  	OnSetUpdateCol       []*ColPosMap `protobuf:"bytes,16,rep,name=on_set_update_col,json=onSetUpdateCol,proto3" json:"on_set_update_col,omitempty"`
  4209  	ParentIdx            []*ColPosMap `protobuf:"bytes,17,rep,name=parent_idx,json=parentIdx,proto3" json:"parent_idx,omitempty"`
  4210  	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
  4211  	XXX_unrecognized     []byte       `json:"-"`
  4212  	XXX_sizecache        int32        `json:"-"`
  4213  }
  4214  
  4215  func (m *UpdateCtx) Reset()         { *m = UpdateCtx{} }
  4216  func (m *UpdateCtx) String() string { return proto.CompactTextString(m) }
  4217  func (*UpdateCtx) ProtoMessage()    {}
  4218  func (*UpdateCtx) Descriptor() ([]byte, []int) {
  4219  	return fileDescriptor_2d655ab2f7683c23, []int{42}
  4220  }
  4221  func (m *UpdateCtx) XXX_Unmarshal(b []byte) error {
  4222  	return m.Unmarshal(b)
  4223  }
  4224  func (m *UpdateCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4225  	if deterministic {
  4226  		return xxx_messageInfo_UpdateCtx.Marshal(b, m, deterministic)
  4227  	} else {
  4228  		b = b[:cap(b)]
  4229  		n, err := m.MarshalToSizedBuffer(b)
  4230  		if err != nil {
  4231  			return nil, err
  4232  		}
  4233  		return b[:n], nil
  4234  	}
  4235  }
  4236  func (m *UpdateCtx) XXX_Merge(src proto.Message) {
  4237  	xxx_messageInfo_UpdateCtx.Merge(m, src)
  4238  }
  4239  func (m *UpdateCtx) XXX_Size() int {
  4240  	return m.ProtoSize()
  4241  }
  4242  func (m *UpdateCtx) XXX_DiscardUnknown() {
  4243  	xxx_messageInfo_UpdateCtx.DiscardUnknown(m)
  4244  }
  4245  
  4246  var xxx_messageInfo_UpdateCtx proto.InternalMessageInfo
  4247  
  4248  func (m *UpdateCtx) GetRef() []*ObjectRef {
  4249  	if m != nil {
  4250  		return m.Ref
  4251  	}
  4252  	return nil
  4253  }
  4254  
  4255  func (m *UpdateCtx) GetIdx() []*IdList {
  4256  	if m != nil {
  4257  		return m.Idx
  4258  	}
  4259  	return nil
  4260  }
  4261  
  4262  func (m *UpdateCtx) GetTableDefs() []*TableDef {
  4263  	if m != nil {
  4264  		return m.TableDefs
  4265  	}
  4266  	return nil
  4267  }
  4268  
  4269  func (m *UpdateCtx) GetUpdateCol() []*ColPosMap {
  4270  	if m != nil {
  4271  		return m.UpdateCol
  4272  	}
  4273  	return nil
  4274  }
  4275  
  4276  func (m *UpdateCtx) GetIdxRef() []*ObjectRef {
  4277  	if m != nil {
  4278  		return m.IdxRef
  4279  	}
  4280  	return nil
  4281  }
  4282  
  4283  func (m *UpdateCtx) GetIdxIdx() []int32 {
  4284  	if m != nil {
  4285  		return m.IdxIdx
  4286  	}
  4287  	return nil
  4288  }
  4289  
  4290  func (m *UpdateCtx) GetOnRestrictRef() []*ObjectRef {
  4291  	if m != nil {
  4292  		return m.OnRestrictRef
  4293  	}
  4294  	return nil
  4295  }
  4296  
  4297  func (m *UpdateCtx) GetOnRestrictIdx() []int32 {
  4298  	if m != nil {
  4299  		return m.OnRestrictIdx
  4300  	}
  4301  	return nil
  4302  }
  4303  
  4304  func (m *UpdateCtx) GetOnCascadeRef() []*ObjectRef {
  4305  	if m != nil {
  4306  		return m.OnCascadeRef
  4307  	}
  4308  	return nil
  4309  }
  4310  
  4311  func (m *UpdateCtx) GetOnCascadeIdx() []*IdList {
  4312  	if m != nil {
  4313  		return m.OnCascadeIdx
  4314  	}
  4315  	return nil
  4316  }
  4317  
  4318  func (m *UpdateCtx) GetOnCascadeDef() []*TableDef {
  4319  	if m != nil {
  4320  		return m.OnCascadeDef
  4321  	}
  4322  	return nil
  4323  }
  4324  
  4325  func (m *UpdateCtx) GetOnCascadeUpdateCol() []*ColPosMap {
  4326  	if m != nil {
  4327  		return m.OnCascadeUpdateCol
  4328  	}
  4329  	return nil
  4330  }
  4331  
  4332  func (m *UpdateCtx) GetOnSetRef() []*ObjectRef {
  4333  	if m != nil {
  4334  		return m.OnSetRef
  4335  	}
  4336  	return nil
  4337  }
  4338  
  4339  func (m *UpdateCtx) GetOnSetIdx() []*IdList {
  4340  	if m != nil {
  4341  		return m.OnSetIdx
  4342  	}
  4343  	return nil
  4344  }
  4345  
  4346  func (m *UpdateCtx) GetOnSetDef() []*TableDef {
  4347  	if m != nil {
  4348  		return m.OnSetDef
  4349  	}
  4350  	return nil
  4351  }
  4352  
  4353  func (m *UpdateCtx) GetOnSetUpdateCol() []*ColPosMap {
  4354  	if m != nil {
  4355  		return m.OnSetUpdateCol
  4356  	}
  4357  	return nil
  4358  }
  4359  
  4360  func (m *UpdateCtx) GetParentIdx() []*ColPosMap {
  4361  	if m != nil {
  4362  		return m.ParentIdx
  4363  	}
  4364  	return nil
  4365  }
  4366  
  4367  type AnalyzeInfo struct {
  4368  	InputRows            int64    `protobuf:"varint,1,opt,name=input_rows,json=inputRows,proto3" json:"input_rows,omitempty"`
  4369  	OutputRows           int64    `protobuf:"varint,2,opt,name=output_rows,json=outputRows,proto3" json:"output_rows,omitempty"`
  4370  	InputSize            int64    `protobuf:"varint,3,opt,name=input_size,json=inputSize,proto3" json:"input_size,omitempty"`
  4371  	OutputSize           int64    `protobuf:"varint,4,opt,name=output_size,json=outputSize,proto3" json:"output_size,omitempty"`
  4372  	TimeConsumed         int64    `protobuf:"varint,5,opt,name=time_consumed,json=timeConsumed,proto3" json:"time_consumed,omitempty"`
  4373  	MemorySize           int64    `protobuf:"varint,6,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"`
  4374  	WaitTimeConsumed     int64    `protobuf:"varint,7,opt,name=wait_time_consumed,json=waitTimeConsumed,proto3" json:"wait_time_consumed,omitempty"`
  4375  	DiskIO               int64    `protobuf:"varint,8,opt,name=diskIO,proto3" json:"diskIO,omitempty"`
  4376  	S3IOByte             int64    `protobuf:"varint,9,opt,name=s3IO_byte,json=s3IOByte,proto3" json:"s3IO_byte,omitempty"`
  4377  	S3IOCount            int64    `protobuf:"varint,10,opt,name=s3IO_count,json=s3IOCount,proto3" json:"s3IO_count,omitempty"`
  4378  	NetworkIO            int64    `protobuf:"varint,11,opt,name=networkIO,proto3" json:"networkIO,omitempty"`
  4379  	ScanTime             int64    `protobuf:"varint,12,opt,name=scanTime,proto3" json:"scanTime,omitempty"`
  4380  	InsertTime           int64    `protobuf:"varint,13,opt,name=insertTime,proto3" json:"insertTime,omitempty"`
  4381  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4382  	XXX_unrecognized     []byte   `json:"-"`
  4383  	XXX_sizecache        int32    `json:"-"`
  4384  }
  4385  
  4386  func (m *AnalyzeInfo) Reset()         { *m = AnalyzeInfo{} }
  4387  func (m *AnalyzeInfo) String() string { return proto.CompactTextString(m) }
  4388  func (*AnalyzeInfo) ProtoMessage()    {}
  4389  func (*AnalyzeInfo) Descriptor() ([]byte, []int) {
  4390  	return fileDescriptor_2d655ab2f7683c23, []int{43}
  4391  }
  4392  func (m *AnalyzeInfo) XXX_Unmarshal(b []byte) error {
  4393  	return m.Unmarshal(b)
  4394  }
  4395  func (m *AnalyzeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4396  	if deterministic {
  4397  		return xxx_messageInfo_AnalyzeInfo.Marshal(b, m, deterministic)
  4398  	} else {
  4399  		b = b[:cap(b)]
  4400  		n, err := m.MarshalToSizedBuffer(b)
  4401  		if err != nil {
  4402  			return nil, err
  4403  		}
  4404  		return b[:n], nil
  4405  	}
  4406  }
  4407  func (m *AnalyzeInfo) XXX_Merge(src proto.Message) {
  4408  	xxx_messageInfo_AnalyzeInfo.Merge(m, src)
  4409  }
  4410  func (m *AnalyzeInfo) XXX_Size() int {
  4411  	return m.ProtoSize()
  4412  }
  4413  func (m *AnalyzeInfo) XXX_DiscardUnknown() {
  4414  	xxx_messageInfo_AnalyzeInfo.DiscardUnknown(m)
  4415  }
  4416  
  4417  var xxx_messageInfo_AnalyzeInfo proto.InternalMessageInfo
  4418  
  4419  func (m *AnalyzeInfo) GetInputRows() int64 {
  4420  	if m != nil {
  4421  		return m.InputRows
  4422  	}
  4423  	return 0
  4424  }
  4425  
  4426  func (m *AnalyzeInfo) GetOutputRows() int64 {
  4427  	if m != nil {
  4428  		return m.OutputRows
  4429  	}
  4430  	return 0
  4431  }
  4432  
  4433  func (m *AnalyzeInfo) GetInputSize() int64 {
  4434  	if m != nil {
  4435  		return m.InputSize
  4436  	}
  4437  	return 0
  4438  }
  4439  
  4440  func (m *AnalyzeInfo) GetOutputSize() int64 {
  4441  	if m != nil {
  4442  		return m.OutputSize
  4443  	}
  4444  	return 0
  4445  }
  4446  
  4447  func (m *AnalyzeInfo) GetTimeConsumed() int64 {
  4448  	if m != nil {
  4449  		return m.TimeConsumed
  4450  	}
  4451  	return 0
  4452  }
  4453  
  4454  func (m *AnalyzeInfo) GetMemorySize() int64 {
  4455  	if m != nil {
  4456  		return m.MemorySize
  4457  	}
  4458  	return 0
  4459  }
  4460  
  4461  func (m *AnalyzeInfo) GetWaitTimeConsumed() int64 {
  4462  	if m != nil {
  4463  		return m.WaitTimeConsumed
  4464  	}
  4465  	return 0
  4466  }
  4467  
  4468  func (m *AnalyzeInfo) GetDiskIO() int64 {
  4469  	if m != nil {
  4470  		return m.DiskIO
  4471  	}
  4472  	return 0
  4473  }
  4474  
  4475  func (m *AnalyzeInfo) GetS3IOByte() int64 {
  4476  	if m != nil {
  4477  		return m.S3IOByte
  4478  	}
  4479  	return 0
  4480  }
  4481  
  4482  func (m *AnalyzeInfo) GetS3IOCount() int64 {
  4483  	if m != nil {
  4484  		return m.S3IOCount
  4485  	}
  4486  	return 0
  4487  }
  4488  
  4489  func (m *AnalyzeInfo) GetNetworkIO() int64 {
  4490  	if m != nil {
  4491  		return m.NetworkIO
  4492  	}
  4493  	return 0
  4494  }
  4495  
  4496  func (m *AnalyzeInfo) GetScanTime() int64 {
  4497  	if m != nil {
  4498  		return m.ScanTime
  4499  	}
  4500  	return 0
  4501  }
  4502  
  4503  func (m *AnalyzeInfo) GetInsertTime() int64 {
  4504  	if m != nil {
  4505  		return m.InsertTime
  4506  	}
  4507  	return 0
  4508  }
  4509  
  4510  type Node struct {
  4511  	NodeType        Node_NodeType  `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=plan.Node_NodeType" json:"node_type,omitempty"`
  4512  	NodeId          int32          `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
  4513  	Stats           *Stats         `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
  4514  	ProjectList     []*Expr        `protobuf:"bytes,4,rep,name=project_list,json=projectList,proto3" json:"project_list,omitempty"`
  4515  	Children        []int32        `protobuf:"varint,5,rep,packed,name=children,proto3" json:"children,omitempty"`
  4516  	JoinType        Node_JoinFlag  `protobuf:"varint,6,opt,name=join_type,json=joinType,proto3,enum=plan.Node_JoinFlag" json:"join_type,omitempty"`
  4517  	OnList          []*Expr        `protobuf:"bytes,7,rep,name=on_list,json=onList,proto3" json:"on_list,omitempty"`
  4518  	FilterList      []*Expr        `protobuf:"bytes,8,rep,name=filter_list,json=filterList,proto3" json:"filter_list,omitempty"`
  4519  	GroupBy         []*Expr        `protobuf:"bytes,9,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
  4520  	GroupingSet     []*Expr        `protobuf:"bytes,10,rep,name=grouping_set,json=groupingSet,proto3" json:"grouping_set,omitempty"`
  4521  	AggList         []*Expr        `protobuf:"bytes,11,rep,name=agg_list,json=aggList,proto3" json:"agg_list,omitempty"`
  4522  	OrderBy         []*OrderBySpec `protobuf:"bytes,12,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
  4523  	UpdateCtx       *UpdateCtx     `protobuf:"bytes,13,opt,name=update_ctx,json=updateCtx,proto3" json:"update_ctx,omitempty"`
  4524  	WinSpec         *WindowSpec    `protobuf:"bytes,14,opt,name=win_spec,json=winSpec,proto3" json:"win_spec,omitempty"`
  4525  	Limit           *Expr          `protobuf:"bytes,15,opt,name=limit,proto3" json:"limit,omitempty"`
  4526  	Offset          *Expr          `protobuf:"bytes,16,opt,name=offset,proto3" json:"offset,omitempty"`
  4527  	TableDef        *TableDef      `protobuf:"bytes,17,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"`
  4528  	TableDefVec     []*TableDef    `protobuf:"bytes,18,rep,name=table_def_vec,json=tableDefVec,proto3" json:"table_def_vec,omitempty"`
  4529  	ObjRef          *ObjectRef     `protobuf:"bytes,19,opt,name=obj_ref,json=objRef,proto3" json:"obj_ref,omitempty"`
  4530  	RowsetData      *RowsetData    `protobuf:"bytes,20,opt,name=rowset_data,json=rowsetData,proto3" json:"rowset_data,omitempty"`
  4531  	ExtraOptions    string         `protobuf:"bytes,21,opt,name=extra_options,json=extraOptions,proto3" json:"extra_options,omitempty"`
  4532  	DeleteCtx       *DeleteCtx     `protobuf:"bytes,22,opt,name=delete_ctx,json=deleteCtx,proto3" json:"delete_ctx,omitempty"`
  4533  	BindingTags     []int32        `protobuf:"varint,23,rep,packed,name=binding_tags,json=bindingTags,proto3" json:"binding_tags,omitempty"`
  4534  	AnalyzeInfo     *AnalyzeInfo   `protobuf:"bytes,24,opt,name=analyze_info,json=analyzeInfo,proto3" json:"analyze_info,omitempty"`
  4535  	TblFuncExprList []*Expr        `protobuf:"bytes,25,rep,name=tbl_func_expr_list,json=tblFuncExprList,proto3" json:"tbl_func_expr_list,omitempty"`
  4536  	// The pipeline will determine the parallelism by traversing the plan
  4537  	// when it is received. Then the build is built based on this information.
  4538  	Parallelism          int32         `protobuf:"varint,26,opt,name=parallelism,proto3" json:"parallelism,omitempty"`
  4539  	ClusterTable         *ClusterTable `protobuf:"bytes,27,opt,name=cluster_table,json=clusterTable,proto3" json:"cluster_table,omitempty"`
  4540  	NotCacheable         bool          `protobuf:"varint,28,opt,name=not_cacheable,json=notCacheable,proto3" json:"not_cacheable,omitempty"`
  4541  	InsertCtx            *InsertCtx    `protobuf:"bytes,29,opt,name=insert_ctx,json=insertCtx,proto3" json:"insert_ctx,omitempty"`
  4542  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
  4543  	XXX_unrecognized     []byte        `json:"-"`
  4544  	XXX_sizecache        int32         `json:"-"`
  4545  }
  4546  
  4547  func (m *Node) Reset()         { *m = Node{} }
  4548  func (m *Node) String() string { return proto.CompactTextString(m) }
  4549  func (*Node) ProtoMessage()    {}
  4550  func (*Node) Descriptor() ([]byte, []int) {
  4551  	return fileDescriptor_2d655ab2f7683c23, []int{44}
  4552  }
  4553  func (m *Node) XXX_Unmarshal(b []byte) error {
  4554  	return m.Unmarshal(b)
  4555  }
  4556  func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4557  	if deterministic {
  4558  		return xxx_messageInfo_Node.Marshal(b, m, deterministic)
  4559  	} else {
  4560  		b = b[:cap(b)]
  4561  		n, err := m.MarshalToSizedBuffer(b)
  4562  		if err != nil {
  4563  			return nil, err
  4564  		}
  4565  		return b[:n], nil
  4566  	}
  4567  }
  4568  func (m *Node) XXX_Merge(src proto.Message) {
  4569  	xxx_messageInfo_Node.Merge(m, src)
  4570  }
  4571  func (m *Node) XXX_Size() int {
  4572  	return m.ProtoSize()
  4573  }
  4574  func (m *Node) XXX_DiscardUnknown() {
  4575  	xxx_messageInfo_Node.DiscardUnknown(m)
  4576  }
  4577  
  4578  var xxx_messageInfo_Node proto.InternalMessageInfo
  4579  
  4580  func (m *Node) GetNodeType() Node_NodeType {
  4581  	if m != nil {
  4582  		return m.NodeType
  4583  	}
  4584  	return Node_UNKNOWN
  4585  }
  4586  
  4587  func (m *Node) GetNodeId() int32 {
  4588  	if m != nil {
  4589  		return m.NodeId
  4590  	}
  4591  	return 0
  4592  }
  4593  
  4594  func (m *Node) GetStats() *Stats {
  4595  	if m != nil {
  4596  		return m.Stats
  4597  	}
  4598  	return nil
  4599  }
  4600  
  4601  func (m *Node) GetProjectList() []*Expr {
  4602  	if m != nil {
  4603  		return m.ProjectList
  4604  	}
  4605  	return nil
  4606  }
  4607  
  4608  func (m *Node) GetChildren() []int32 {
  4609  	if m != nil {
  4610  		return m.Children
  4611  	}
  4612  	return nil
  4613  }
  4614  
  4615  func (m *Node) GetJoinType() Node_JoinFlag {
  4616  	if m != nil {
  4617  		return m.JoinType
  4618  	}
  4619  	return Node_INNER
  4620  }
  4621  
  4622  func (m *Node) GetOnList() []*Expr {
  4623  	if m != nil {
  4624  		return m.OnList
  4625  	}
  4626  	return nil
  4627  }
  4628  
  4629  func (m *Node) GetFilterList() []*Expr {
  4630  	if m != nil {
  4631  		return m.FilterList
  4632  	}
  4633  	return nil
  4634  }
  4635  
  4636  func (m *Node) GetGroupBy() []*Expr {
  4637  	if m != nil {
  4638  		return m.GroupBy
  4639  	}
  4640  	return nil
  4641  }
  4642  
  4643  func (m *Node) GetGroupingSet() []*Expr {
  4644  	if m != nil {
  4645  		return m.GroupingSet
  4646  	}
  4647  	return nil
  4648  }
  4649  
  4650  func (m *Node) GetAggList() []*Expr {
  4651  	if m != nil {
  4652  		return m.AggList
  4653  	}
  4654  	return nil
  4655  }
  4656  
  4657  func (m *Node) GetOrderBy() []*OrderBySpec {
  4658  	if m != nil {
  4659  		return m.OrderBy
  4660  	}
  4661  	return nil
  4662  }
  4663  
  4664  func (m *Node) GetUpdateCtx() *UpdateCtx {
  4665  	if m != nil {
  4666  		return m.UpdateCtx
  4667  	}
  4668  	return nil
  4669  }
  4670  
  4671  func (m *Node) GetWinSpec() *WindowSpec {
  4672  	if m != nil {
  4673  		return m.WinSpec
  4674  	}
  4675  	return nil
  4676  }
  4677  
  4678  func (m *Node) GetLimit() *Expr {
  4679  	if m != nil {
  4680  		return m.Limit
  4681  	}
  4682  	return nil
  4683  }
  4684  
  4685  func (m *Node) GetOffset() *Expr {
  4686  	if m != nil {
  4687  		return m.Offset
  4688  	}
  4689  	return nil
  4690  }
  4691  
  4692  func (m *Node) GetTableDef() *TableDef {
  4693  	if m != nil {
  4694  		return m.TableDef
  4695  	}
  4696  	return nil
  4697  }
  4698  
  4699  func (m *Node) GetTableDefVec() []*TableDef {
  4700  	if m != nil {
  4701  		return m.TableDefVec
  4702  	}
  4703  	return nil
  4704  }
  4705  
  4706  func (m *Node) GetObjRef() *ObjectRef {
  4707  	if m != nil {
  4708  		return m.ObjRef
  4709  	}
  4710  	return nil
  4711  }
  4712  
  4713  func (m *Node) GetRowsetData() *RowsetData {
  4714  	if m != nil {
  4715  		return m.RowsetData
  4716  	}
  4717  	return nil
  4718  }
  4719  
  4720  func (m *Node) GetExtraOptions() string {
  4721  	if m != nil {
  4722  		return m.ExtraOptions
  4723  	}
  4724  	return ""
  4725  }
  4726  
  4727  func (m *Node) GetDeleteCtx() *DeleteCtx {
  4728  	if m != nil {
  4729  		return m.DeleteCtx
  4730  	}
  4731  	return nil
  4732  }
  4733  
  4734  func (m *Node) GetBindingTags() []int32 {
  4735  	if m != nil {
  4736  		return m.BindingTags
  4737  	}
  4738  	return nil
  4739  }
  4740  
  4741  func (m *Node) GetAnalyzeInfo() *AnalyzeInfo {
  4742  	if m != nil {
  4743  		return m.AnalyzeInfo
  4744  	}
  4745  	return nil
  4746  }
  4747  
  4748  func (m *Node) GetTblFuncExprList() []*Expr {
  4749  	if m != nil {
  4750  		return m.TblFuncExprList
  4751  	}
  4752  	return nil
  4753  }
  4754  
  4755  func (m *Node) GetParallelism() int32 {
  4756  	if m != nil {
  4757  		return m.Parallelism
  4758  	}
  4759  	return 0
  4760  }
  4761  
  4762  func (m *Node) GetClusterTable() *ClusterTable {
  4763  	if m != nil {
  4764  		return m.ClusterTable
  4765  	}
  4766  	return nil
  4767  }
  4768  
  4769  func (m *Node) GetNotCacheable() bool {
  4770  	if m != nil {
  4771  		return m.NotCacheable
  4772  	}
  4773  	return false
  4774  }
  4775  
  4776  func (m *Node) GetInsertCtx() *InsertCtx {
  4777  	if m != nil {
  4778  		return m.InsertCtx
  4779  	}
  4780  	return nil
  4781  }
  4782  
  4783  type IdList struct {
  4784  	List                 []int64  `protobuf:"varint,1,rep,packed,name=list,proto3" json:"list,omitempty"`
  4785  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4786  	XXX_unrecognized     []byte   `json:"-"`
  4787  	XXX_sizecache        int32    `json:"-"`
  4788  }
  4789  
  4790  func (m *IdList) Reset()         { *m = IdList{} }
  4791  func (m *IdList) String() string { return proto.CompactTextString(m) }
  4792  func (*IdList) ProtoMessage()    {}
  4793  func (*IdList) Descriptor() ([]byte, []int) {
  4794  	return fileDescriptor_2d655ab2f7683c23, []int{45}
  4795  }
  4796  func (m *IdList) XXX_Unmarshal(b []byte) error {
  4797  	return m.Unmarshal(b)
  4798  }
  4799  func (m *IdList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4800  	if deterministic {
  4801  		return xxx_messageInfo_IdList.Marshal(b, m, deterministic)
  4802  	} else {
  4803  		b = b[:cap(b)]
  4804  		n, err := m.MarshalToSizedBuffer(b)
  4805  		if err != nil {
  4806  			return nil, err
  4807  		}
  4808  		return b[:n], nil
  4809  	}
  4810  }
  4811  func (m *IdList) XXX_Merge(src proto.Message) {
  4812  	xxx_messageInfo_IdList.Merge(m, src)
  4813  }
  4814  func (m *IdList) XXX_Size() int {
  4815  	return m.ProtoSize()
  4816  }
  4817  func (m *IdList) XXX_DiscardUnknown() {
  4818  	xxx_messageInfo_IdList.DiscardUnknown(m)
  4819  }
  4820  
  4821  var xxx_messageInfo_IdList proto.InternalMessageInfo
  4822  
  4823  func (m *IdList) GetList() []int64 {
  4824  	if m != nil {
  4825  		return m.List
  4826  	}
  4827  	return nil
  4828  }
  4829  
  4830  type ColPosMap struct {
  4831  	Map                  map[string]int32 `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  4832  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
  4833  	XXX_unrecognized     []byte           `json:"-"`
  4834  	XXX_sizecache        int32            `json:"-"`
  4835  }
  4836  
  4837  func (m *ColPosMap) Reset()         { *m = ColPosMap{} }
  4838  func (m *ColPosMap) String() string { return proto.CompactTextString(m) }
  4839  func (*ColPosMap) ProtoMessage()    {}
  4840  func (*ColPosMap) Descriptor() ([]byte, []int) {
  4841  	return fileDescriptor_2d655ab2f7683c23, []int{46}
  4842  }
  4843  func (m *ColPosMap) XXX_Unmarshal(b []byte) error {
  4844  	return m.Unmarshal(b)
  4845  }
  4846  func (m *ColPosMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4847  	if deterministic {
  4848  		return xxx_messageInfo_ColPosMap.Marshal(b, m, deterministic)
  4849  	} else {
  4850  		b = b[:cap(b)]
  4851  		n, err := m.MarshalToSizedBuffer(b)
  4852  		if err != nil {
  4853  			return nil, err
  4854  		}
  4855  		return b[:n], nil
  4856  	}
  4857  }
  4858  func (m *ColPosMap) XXX_Merge(src proto.Message) {
  4859  	xxx_messageInfo_ColPosMap.Merge(m, src)
  4860  }
  4861  func (m *ColPosMap) XXX_Size() int {
  4862  	return m.ProtoSize()
  4863  }
  4864  func (m *ColPosMap) XXX_DiscardUnknown() {
  4865  	xxx_messageInfo_ColPosMap.DiscardUnknown(m)
  4866  }
  4867  
  4868  var xxx_messageInfo_ColPosMap proto.InternalMessageInfo
  4869  
  4870  func (m *ColPosMap) GetMap() map[string]int32 {
  4871  	if m != nil {
  4872  		return m.Map
  4873  	}
  4874  	return nil
  4875  }
  4876  
  4877  type DeleteCtx struct {
  4878  	Ref                  []*ObjectRef `protobuf:"bytes,1,rep,name=ref,proto3" json:"ref,omitempty"`
  4879  	IdxRef               []*ObjectRef `protobuf:"bytes,2,rep,name=idx_ref,json=idxRef,proto3" json:"idx_ref,omitempty"`
  4880  	IdxIdx               []int32      `protobuf:"varint,3,rep,packed,name=idx_idx,json=idxIdx,proto3" json:"idx_idx,omitempty"`
  4881  	OnRestrictRef        []*ObjectRef `protobuf:"bytes,4,rep,name=on_restrict_ref,json=onRestrictRef,proto3" json:"on_restrict_ref,omitempty"`
  4882  	OnRestrictIdx        []int32      `protobuf:"varint,5,rep,packed,name=on_restrict_idx,json=onRestrictIdx,proto3" json:"on_restrict_idx,omitempty"`
  4883  	OnCascadeRef         []*ObjectRef `protobuf:"bytes,6,rep,name=on_cascade_ref,json=onCascadeRef,proto3" json:"on_cascade_ref,omitempty"`
  4884  	OnCascadeIdx         []int32      `protobuf:"varint,7,rep,packed,name=on_cascade_idx,json=onCascadeIdx,proto3" json:"on_cascade_idx,omitempty"`
  4885  	OnSetRef             []*ObjectRef `protobuf:"bytes,8,rep,name=on_set_ref,json=onSetRef,proto3" json:"on_set_ref,omitempty"`
  4886  	OnSetDef             []*TableDef  `protobuf:"bytes,9,rep,name=on_set_def,json=onSetDef,proto3" json:"on_set_def,omitempty"`
  4887  	OnSetIdx             []*IdList    `protobuf:"bytes,10,rep,name=on_set_idx,json=onSetIdx,proto3" json:"on_set_idx,omitempty"`
  4888  	OnSetUpdateCol       []*ColPosMap `protobuf:"bytes,11,rep,name=on_set_update_col,json=onSetUpdateCol,proto3" json:"on_set_update_col,omitempty"`
  4889  	CanTruncate          bool         `protobuf:"varint,12,opt,name=can_truncate,json=canTruncate,proto3" json:"can_truncate,omitempty"`
  4890  	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
  4891  	XXX_unrecognized     []byte       `json:"-"`
  4892  	XXX_sizecache        int32        `json:"-"`
  4893  }
  4894  
  4895  func (m *DeleteCtx) Reset()         { *m = DeleteCtx{} }
  4896  func (m *DeleteCtx) String() string { return proto.CompactTextString(m) }
  4897  func (*DeleteCtx) ProtoMessage()    {}
  4898  func (*DeleteCtx) Descriptor() ([]byte, []int) {
  4899  	return fileDescriptor_2d655ab2f7683c23, []int{47}
  4900  }
  4901  func (m *DeleteCtx) XXX_Unmarshal(b []byte) error {
  4902  	return m.Unmarshal(b)
  4903  }
  4904  func (m *DeleteCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4905  	if deterministic {
  4906  		return xxx_messageInfo_DeleteCtx.Marshal(b, m, deterministic)
  4907  	} else {
  4908  		b = b[:cap(b)]
  4909  		n, err := m.MarshalToSizedBuffer(b)
  4910  		if err != nil {
  4911  			return nil, err
  4912  		}
  4913  		return b[:n], nil
  4914  	}
  4915  }
  4916  func (m *DeleteCtx) XXX_Merge(src proto.Message) {
  4917  	xxx_messageInfo_DeleteCtx.Merge(m, src)
  4918  }
  4919  func (m *DeleteCtx) XXX_Size() int {
  4920  	return m.ProtoSize()
  4921  }
  4922  func (m *DeleteCtx) XXX_DiscardUnknown() {
  4923  	xxx_messageInfo_DeleteCtx.DiscardUnknown(m)
  4924  }
  4925  
  4926  var xxx_messageInfo_DeleteCtx proto.InternalMessageInfo
  4927  
  4928  func (m *DeleteCtx) GetRef() []*ObjectRef {
  4929  	if m != nil {
  4930  		return m.Ref
  4931  	}
  4932  	return nil
  4933  }
  4934  
  4935  func (m *DeleteCtx) GetIdxRef() []*ObjectRef {
  4936  	if m != nil {
  4937  		return m.IdxRef
  4938  	}
  4939  	return nil
  4940  }
  4941  
  4942  func (m *DeleteCtx) GetIdxIdx() []int32 {
  4943  	if m != nil {
  4944  		return m.IdxIdx
  4945  	}
  4946  	return nil
  4947  }
  4948  
  4949  func (m *DeleteCtx) GetOnRestrictRef() []*ObjectRef {
  4950  	if m != nil {
  4951  		return m.OnRestrictRef
  4952  	}
  4953  	return nil
  4954  }
  4955  
  4956  func (m *DeleteCtx) GetOnRestrictIdx() []int32 {
  4957  	if m != nil {
  4958  		return m.OnRestrictIdx
  4959  	}
  4960  	return nil
  4961  }
  4962  
  4963  func (m *DeleteCtx) GetOnCascadeRef() []*ObjectRef {
  4964  	if m != nil {
  4965  		return m.OnCascadeRef
  4966  	}
  4967  	return nil
  4968  }
  4969  
  4970  func (m *DeleteCtx) GetOnCascadeIdx() []int32 {
  4971  	if m != nil {
  4972  		return m.OnCascadeIdx
  4973  	}
  4974  	return nil
  4975  }
  4976  
  4977  func (m *DeleteCtx) GetOnSetRef() []*ObjectRef {
  4978  	if m != nil {
  4979  		return m.OnSetRef
  4980  	}
  4981  	return nil
  4982  }
  4983  
  4984  func (m *DeleteCtx) GetOnSetDef() []*TableDef {
  4985  	if m != nil {
  4986  		return m.OnSetDef
  4987  	}
  4988  	return nil
  4989  }
  4990  
  4991  func (m *DeleteCtx) GetOnSetIdx() []*IdList {
  4992  	if m != nil {
  4993  		return m.OnSetIdx
  4994  	}
  4995  	return nil
  4996  }
  4997  
  4998  func (m *DeleteCtx) GetOnSetUpdateCol() []*ColPosMap {
  4999  	if m != nil {
  5000  		return m.OnSetUpdateCol
  5001  	}
  5002  	return nil
  5003  }
  5004  
  5005  func (m *DeleteCtx) GetCanTruncate() bool {
  5006  	if m != nil {
  5007  		return m.CanTruncate
  5008  	}
  5009  	return false
  5010  }
  5011  
  5012  type Query struct {
  5013  	StmtType Query_StatementType `protobuf:"varint,1,opt,name=stmt_type,json=stmtType,proto3,enum=plan.Query_StatementType" json:"stmt_type,omitempty"`
  5014  	// Each step is simply a root node.  Root node refers to other
  5015  	// node as children and the whole step is a DAG.
  5016  	Steps []int32 `protobuf:"varint,2,rep,packed,name=steps,proto3" json:"steps,omitempty"`
  5017  	// All the nodes.  It is OK to have dangle nodes, we only excute nodes
  5018  	// reachable from step roots.
  5019  	Nodes []*Node `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"`
  5020  	// Bound Parameter for the query.
  5021  	Params []*Expr `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty"`
  5022  	// return head
  5023  	Headings []string `protobuf:"bytes,5,rep,name=headings,proto3" json:"headings,omitempty"`
  5024  	// load Tag
  5025  	LoadTag              bool     `protobuf:"varint,6,opt,name=loadTag,proto3" json:"loadTag,omitempty"`
  5026  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5027  	XXX_unrecognized     []byte   `json:"-"`
  5028  	XXX_sizecache        int32    `json:"-"`
  5029  }
  5030  
  5031  func (m *Query) Reset()         { *m = Query{} }
  5032  func (m *Query) String() string { return proto.CompactTextString(m) }
  5033  func (*Query) ProtoMessage()    {}
  5034  func (*Query) Descriptor() ([]byte, []int) {
  5035  	return fileDescriptor_2d655ab2f7683c23, []int{48}
  5036  }
  5037  func (m *Query) XXX_Unmarshal(b []byte) error {
  5038  	return m.Unmarshal(b)
  5039  }
  5040  func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5041  	if deterministic {
  5042  		return xxx_messageInfo_Query.Marshal(b, m, deterministic)
  5043  	} else {
  5044  		b = b[:cap(b)]
  5045  		n, err := m.MarshalToSizedBuffer(b)
  5046  		if err != nil {
  5047  			return nil, err
  5048  		}
  5049  		return b[:n], nil
  5050  	}
  5051  }
  5052  func (m *Query) XXX_Merge(src proto.Message) {
  5053  	xxx_messageInfo_Query.Merge(m, src)
  5054  }
  5055  func (m *Query) XXX_Size() int {
  5056  	return m.ProtoSize()
  5057  }
  5058  func (m *Query) XXX_DiscardUnknown() {
  5059  	xxx_messageInfo_Query.DiscardUnknown(m)
  5060  }
  5061  
  5062  var xxx_messageInfo_Query proto.InternalMessageInfo
  5063  
  5064  func (m *Query) GetStmtType() Query_StatementType {
  5065  	if m != nil {
  5066  		return m.StmtType
  5067  	}
  5068  	return Query_UNKNOWN
  5069  }
  5070  
  5071  func (m *Query) GetSteps() []int32 {
  5072  	if m != nil {
  5073  		return m.Steps
  5074  	}
  5075  	return nil
  5076  }
  5077  
  5078  func (m *Query) GetNodes() []*Node {
  5079  	if m != nil {
  5080  		return m.Nodes
  5081  	}
  5082  	return nil
  5083  }
  5084  
  5085  func (m *Query) GetParams() []*Expr {
  5086  	if m != nil {
  5087  		return m.Params
  5088  	}
  5089  	return nil
  5090  }
  5091  
  5092  func (m *Query) GetHeadings() []string {
  5093  	if m != nil {
  5094  		return m.Headings
  5095  	}
  5096  	return nil
  5097  }
  5098  
  5099  func (m *Query) GetLoadTag() bool {
  5100  	if m != nil {
  5101  		return m.LoadTag
  5102  	}
  5103  	return false
  5104  }
  5105  
  5106  type TransationControl struct {
  5107  	// TransationControl type
  5108  	TclType TransationControl_TclType `protobuf:"varint,1,opt,name=tcl_type,json=tclType,proto3,enum=plan.TransationControl_TclType" json:"tcl_type,omitempty"`
  5109  	// Types that are valid to be assigned to Action:
  5110  	//
  5111  	//	*TransationControl_Begin
  5112  	//	*TransationControl_Commit
  5113  	//	*TransationControl_Rollback
  5114  	Action               isTransationControl_Action `protobuf_oneof:"action"`
  5115  	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
  5116  	XXX_unrecognized     []byte                     `json:"-"`
  5117  	XXX_sizecache        int32                      `json:"-"`
  5118  }
  5119  
  5120  func (m *TransationControl) Reset()         { *m = TransationControl{} }
  5121  func (m *TransationControl) String() string { return proto.CompactTextString(m) }
  5122  func (*TransationControl) ProtoMessage()    {}
  5123  func (*TransationControl) Descriptor() ([]byte, []int) {
  5124  	return fileDescriptor_2d655ab2f7683c23, []int{49}
  5125  }
  5126  func (m *TransationControl) XXX_Unmarshal(b []byte) error {
  5127  	return m.Unmarshal(b)
  5128  }
  5129  func (m *TransationControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5130  	if deterministic {
  5131  		return xxx_messageInfo_TransationControl.Marshal(b, m, deterministic)
  5132  	} else {
  5133  		b = b[:cap(b)]
  5134  		n, err := m.MarshalToSizedBuffer(b)
  5135  		if err != nil {
  5136  			return nil, err
  5137  		}
  5138  		return b[:n], nil
  5139  	}
  5140  }
  5141  func (m *TransationControl) XXX_Merge(src proto.Message) {
  5142  	xxx_messageInfo_TransationControl.Merge(m, src)
  5143  }
  5144  func (m *TransationControl) XXX_Size() int {
  5145  	return m.ProtoSize()
  5146  }
  5147  func (m *TransationControl) XXX_DiscardUnknown() {
  5148  	xxx_messageInfo_TransationControl.DiscardUnknown(m)
  5149  }
  5150  
  5151  var xxx_messageInfo_TransationControl proto.InternalMessageInfo
  5152  
  5153  type isTransationControl_Action interface {
  5154  	isTransationControl_Action()
  5155  	MarshalTo([]byte) (int, error)
  5156  	ProtoSize() int
  5157  }
  5158  
  5159  type TransationControl_Begin struct {
  5160  	Begin *TransationBegin `protobuf:"bytes,2,opt,name=begin,proto3,oneof" json:"begin,omitempty"`
  5161  }
  5162  type TransationControl_Commit struct {
  5163  	Commit *TransationCommit `protobuf:"bytes,3,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
  5164  }
  5165  type TransationControl_Rollback struct {
  5166  	Rollback *TransationRollback `protobuf:"bytes,4,opt,name=rollback,proto3,oneof" json:"rollback,omitempty"`
  5167  }
  5168  
  5169  func (*TransationControl_Begin) isTransationControl_Action()    {}
  5170  func (*TransationControl_Commit) isTransationControl_Action()   {}
  5171  func (*TransationControl_Rollback) isTransationControl_Action() {}
  5172  
  5173  func (m *TransationControl) GetAction() isTransationControl_Action {
  5174  	if m != nil {
  5175  		return m.Action
  5176  	}
  5177  	return nil
  5178  }
  5179  
  5180  func (m *TransationControl) GetTclType() TransationControl_TclType {
  5181  	if m != nil {
  5182  		return m.TclType
  5183  	}
  5184  	return TransationControl_BEGIN
  5185  }
  5186  
  5187  func (m *TransationControl) GetBegin() *TransationBegin {
  5188  	if x, ok := m.GetAction().(*TransationControl_Begin); ok {
  5189  		return x.Begin
  5190  	}
  5191  	return nil
  5192  }
  5193  
  5194  func (m *TransationControl) GetCommit() *TransationCommit {
  5195  	if x, ok := m.GetAction().(*TransationControl_Commit); ok {
  5196  		return x.Commit
  5197  	}
  5198  	return nil
  5199  }
  5200  
  5201  func (m *TransationControl) GetRollback() *TransationRollback {
  5202  	if x, ok := m.GetAction().(*TransationControl_Rollback); ok {
  5203  		return x.Rollback
  5204  	}
  5205  	return nil
  5206  }
  5207  
  5208  // XXX_OneofWrappers is for the internal use of the proto package.
  5209  func (*TransationControl) XXX_OneofWrappers() []interface{} {
  5210  	return []interface{}{
  5211  		(*TransationControl_Begin)(nil),
  5212  		(*TransationControl_Commit)(nil),
  5213  		(*TransationControl_Rollback)(nil),
  5214  	}
  5215  }
  5216  
  5217  type TransationBegin struct {
  5218  	Mode                 TransationBegin_TransationMode `protobuf:"varint,1,opt,name=mode,proto3,enum=plan.TransationBegin_TransationMode" json:"mode,omitempty"`
  5219  	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
  5220  	XXX_unrecognized     []byte                         `json:"-"`
  5221  	XXX_sizecache        int32                          `json:"-"`
  5222  }
  5223  
  5224  func (m *TransationBegin) Reset()         { *m = TransationBegin{} }
  5225  func (m *TransationBegin) String() string { return proto.CompactTextString(m) }
  5226  func (*TransationBegin) ProtoMessage()    {}
  5227  func (*TransationBegin) Descriptor() ([]byte, []int) {
  5228  	return fileDescriptor_2d655ab2f7683c23, []int{50}
  5229  }
  5230  func (m *TransationBegin) XXX_Unmarshal(b []byte) error {
  5231  	return m.Unmarshal(b)
  5232  }
  5233  func (m *TransationBegin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5234  	if deterministic {
  5235  		return xxx_messageInfo_TransationBegin.Marshal(b, m, deterministic)
  5236  	} else {
  5237  		b = b[:cap(b)]
  5238  		n, err := m.MarshalToSizedBuffer(b)
  5239  		if err != nil {
  5240  			return nil, err
  5241  		}
  5242  		return b[:n], nil
  5243  	}
  5244  }
  5245  func (m *TransationBegin) XXX_Merge(src proto.Message) {
  5246  	xxx_messageInfo_TransationBegin.Merge(m, src)
  5247  }
  5248  func (m *TransationBegin) XXX_Size() int {
  5249  	return m.ProtoSize()
  5250  }
  5251  func (m *TransationBegin) XXX_DiscardUnknown() {
  5252  	xxx_messageInfo_TransationBegin.DiscardUnknown(m)
  5253  }
  5254  
  5255  var xxx_messageInfo_TransationBegin proto.InternalMessageInfo
  5256  
  5257  func (m *TransationBegin) GetMode() TransationBegin_TransationMode {
  5258  	if m != nil {
  5259  		return m.Mode
  5260  	}
  5261  	return TransationBegin_NONE
  5262  }
  5263  
  5264  type TransationCommit struct {
  5265  	CompletionType       TransationCompletionType `protobuf:"varint,1,opt,name=completion_type,json=completionType,proto3,enum=plan.TransationCompletionType" json:"completion_type,omitempty"`
  5266  	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
  5267  	XXX_unrecognized     []byte                   `json:"-"`
  5268  	XXX_sizecache        int32                    `json:"-"`
  5269  }
  5270  
  5271  func (m *TransationCommit) Reset()         { *m = TransationCommit{} }
  5272  func (m *TransationCommit) String() string { return proto.CompactTextString(m) }
  5273  func (*TransationCommit) ProtoMessage()    {}
  5274  func (*TransationCommit) Descriptor() ([]byte, []int) {
  5275  	return fileDescriptor_2d655ab2f7683c23, []int{51}
  5276  }
  5277  func (m *TransationCommit) XXX_Unmarshal(b []byte) error {
  5278  	return m.Unmarshal(b)
  5279  }
  5280  func (m *TransationCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5281  	if deterministic {
  5282  		return xxx_messageInfo_TransationCommit.Marshal(b, m, deterministic)
  5283  	} else {
  5284  		b = b[:cap(b)]
  5285  		n, err := m.MarshalToSizedBuffer(b)
  5286  		if err != nil {
  5287  			return nil, err
  5288  		}
  5289  		return b[:n], nil
  5290  	}
  5291  }
  5292  func (m *TransationCommit) XXX_Merge(src proto.Message) {
  5293  	xxx_messageInfo_TransationCommit.Merge(m, src)
  5294  }
  5295  func (m *TransationCommit) XXX_Size() int {
  5296  	return m.ProtoSize()
  5297  }
  5298  func (m *TransationCommit) XXX_DiscardUnknown() {
  5299  	xxx_messageInfo_TransationCommit.DiscardUnknown(m)
  5300  }
  5301  
  5302  var xxx_messageInfo_TransationCommit proto.InternalMessageInfo
  5303  
  5304  func (m *TransationCommit) GetCompletionType() TransationCompletionType {
  5305  	if m != nil {
  5306  		return m.CompletionType
  5307  	}
  5308  	return TransationCompletionType_CHAIN
  5309  }
  5310  
  5311  type TransationRollback struct {
  5312  	CompletionType       TransationCompletionType `protobuf:"varint,1,opt,name=completion_type,json=completionType,proto3,enum=plan.TransationCompletionType" json:"completion_type,omitempty"`
  5313  	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
  5314  	XXX_unrecognized     []byte                   `json:"-"`
  5315  	XXX_sizecache        int32                    `json:"-"`
  5316  }
  5317  
  5318  func (m *TransationRollback) Reset()         { *m = TransationRollback{} }
  5319  func (m *TransationRollback) String() string { return proto.CompactTextString(m) }
  5320  func (*TransationRollback) ProtoMessage()    {}
  5321  func (*TransationRollback) Descriptor() ([]byte, []int) {
  5322  	return fileDescriptor_2d655ab2f7683c23, []int{52}
  5323  }
  5324  func (m *TransationRollback) XXX_Unmarshal(b []byte) error {
  5325  	return m.Unmarshal(b)
  5326  }
  5327  func (m *TransationRollback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5328  	if deterministic {
  5329  		return xxx_messageInfo_TransationRollback.Marshal(b, m, deterministic)
  5330  	} else {
  5331  		b = b[:cap(b)]
  5332  		n, err := m.MarshalToSizedBuffer(b)
  5333  		if err != nil {
  5334  			return nil, err
  5335  		}
  5336  		return b[:n], nil
  5337  	}
  5338  }
  5339  func (m *TransationRollback) XXX_Merge(src proto.Message) {
  5340  	xxx_messageInfo_TransationRollback.Merge(m, src)
  5341  }
  5342  func (m *TransationRollback) XXX_Size() int {
  5343  	return m.ProtoSize()
  5344  }
  5345  func (m *TransationRollback) XXX_DiscardUnknown() {
  5346  	xxx_messageInfo_TransationRollback.DiscardUnknown(m)
  5347  }
  5348  
  5349  var xxx_messageInfo_TransationRollback proto.InternalMessageInfo
  5350  
  5351  func (m *TransationRollback) GetCompletionType() TransationCompletionType {
  5352  	if m != nil {
  5353  		return m.CompletionType
  5354  	}
  5355  	return TransationCompletionType_CHAIN
  5356  }
  5357  
  5358  type Plan struct {
  5359  	// Types that are valid to be assigned to Plan:
  5360  	//
  5361  	//	*Plan_Query
  5362  	//	*Plan_Tcl
  5363  	//	*Plan_Ddl
  5364  	//	*Plan_Dcl
  5365  	Plan                 isPlan_Plan `protobuf_oneof:"plan"`
  5366  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
  5367  	XXX_unrecognized     []byte      `json:"-"`
  5368  	XXX_sizecache        int32       `json:"-"`
  5369  }
  5370  
  5371  func (m *Plan) Reset()         { *m = Plan{} }
  5372  func (m *Plan) String() string { return proto.CompactTextString(m) }
  5373  func (*Plan) ProtoMessage()    {}
  5374  func (*Plan) Descriptor() ([]byte, []int) {
  5375  	return fileDescriptor_2d655ab2f7683c23, []int{53}
  5376  }
  5377  func (m *Plan) XXX_Unmarshal(b []byte) error {
  5378  	return m.Unmarshal(b)
  5379  }
  5380  func (m *Plan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5381  	if deterministic {
  5382  		return xxx_messageInfo_Plan.Marshal(b, m, deterministic)
  5383  	} else {
  5384  		b = b[:cap(b)]
  5385  		n, err := m.MarshalToSizedBuffer(b)
  5386  		if err != nil {
  5387  			return nil, err
  5388  		}
  5389  		return b[:n], nil
  5390  	}
  5391  }
  5392  func (m *Plan) XXX_Merge(src proto.Message) {
  5393  	xxx_messageInfo_Plan.Merge(m, src)
  5394  }
  5395  func (m *Plan) XXX_Size() int {
  5396  	return m.ProtoSize()
  5397  }
  5398  func (m *Plan) XXX_DiscardUnknown() {
  5399  	xxx_messageInfo_Plan.DiscardUnknown(m)
  5400  }
  5401  
  5402  var xxx_messageInfo_Plan proto.InternalMessageInfo
  5403  
  5404  type isPlan_Plan interface {
  5405  	isPlan_Plan()
  5406  	MarshalTo([]byte) (int, error)
  5407  	ProtoSize() int
  5408  }
  5409  
  5410  type Plan_Query struct {
  5411  	Query *Query `protobuf:"bytes,1,opt,name=query,proto3,oneof" json:"query,omitempty"`
  5412  }
  5413  type Plan_Tcl struct {
  5414  	Tcl *TransationControl `protobuf:"bytes,2,opt,name=tcl,proto3,oneof" json:"tcl,omitempty"`
  5415  }
  5416  type Plan_Ddl struct {
  5417  	Ddl *DataDefinition `protobuf:"bytes,3,opt,name=ddl,proto3,oneof" json:"ddl,omitempty"`
  5418  }
  5419  type Plan_Dcl struct {
  5420  	Dcl *DataControl `protobuf:"bytes,4,opt,name=dcl,proto3,oneof" json:"dcl,omitempty"`
  5421  }
  5422  
  5423  func (*Plan_Query) isPlan_Plan() {}
  5424  func (*Plan_Tcl) isPlan_Plan()   {}
  5425  func (*Plan_Ddl) isPlan_Plan()   {}
  5426  func (*Plan_Dcl) isPlan_Plan()   {}
  5427  
  5428  func (m *Plan) GetPlan() isPlan_Plan {
  5429  	if m != nil {
  5430  		return m.Plan
  5431  	}
  5432  	return nil
  5433  }
  5434  
  5435  func (m *Plan) GetQuery() *Query {
  5436  	if x, ok := m.GetPlan().(*Plan_Query); ok {
  5437  		return x.Query
  5438  	}
  5439  	return nil
  5440  }
  5441  
  5442  func (m *Plan) GetTcl() *TransationControl {
  5443  	if x, ok := m.GetPlan().(*Plan_Tcl); ok {
  5444  		return x.Tcl
  5445  	}
  5446  	return nil
  5447  }
  5448  
  5449  func (m *Plan) GetDdl() *DataDefinition {
  5450  	if x, ok := m.GetPlan().(*Plan_Ddl); ok {
  5451  		return x.Ddl
  5452  	}
  5453  	return nil
  5454  }
  5455  
  5456  func (m *Plan) GetDcl() *DataControl {
  5457  	if x, ok := m.GetPlan().(*Plan_Dcl); ok {
  5458  		return x.Dcl
  5459  	}
  5460  	return nil
  5461  }
  5462  
  5463  // XXX_OneofWrappers is for the internal use of the proto package.
  5464  func (*Plan) XXX_OneofWrappers() []interface{} {
  5465  	return []interface{}{
  5466  		(*Plan_Query)(nil),
  5467  		(*Plan_Tcl)(nil),
  5468  		(*Plan_Ddl)(nil),
  5469  		(*Plan_Dcl)(nil),
  5470  	}
  5471  }
  5472  
  5473  type Column struct {
  5474  	Column               []*Expr  `protobuf:"bytes,1,rep,name=column,proto3" json:"column,omitempty"`
  5475  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5476  	XXX_unrecognized     []byte   `json:"-"`
  5477  	XXX_sizecache        int32    `json:"-"`
  5478  }
  5479  
  5480  func (m *Column) Reset()         { *m = Column{} }
  5481  func (m *Column) String() string { return proto.CompactTextString(m) }
  5482  func (*Column) ProtoMessage()    {}
  5483  func (*Column) Descriptor() ([]byte, []int) {
  5484  	return fileDescriptor_2d655ab2f7683c23, []int{54}
  5485  }
  5486  func (m *Column) XXX_Unmarshal(b []byte) error {
  5487  	return m.Unmarshal(b)
  5488  }
  5489  func (m *Column) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5490  	if deterministic {
  5491  		return xxx_messageInfo_Column.Marshal(b, m, deterministic)
  5492  	} else {
  5493  		b = b[:cap(b)]
  5494  		n, err := m.MarshalToSizedBuffer(b)
  5495  		if err != nil {
  5496  			return nil, err
  5497  		}
  5498  		return b[:n], nil
  5499  	}
  5500  }
  5501  func (m *Column) XXX_Merge(src proto.Message) {
  5502  	xxx_messageInfo_Column.Merge(m, src)
  5503  }
  5504  func (m *Column) XXX_Size() int {
  5505  	return m.ProtoSize()
  5506  }
  5507  func (m *Column) XXX_DiscardUnknown() {
  5508  	xxx_messageInfo_Column.DiscardUnknown(m)
  5509  }
  5510  
  5511  var xxx_messageInfo_Column proto.InternalMessageInfo
  5512  
  5513  func (m *Column) GetColumn() []*Expr {
  5514  	if m != nil {
  5515  		return m.Column
  5516  	}
  5517  	return nil
  5518  }
  5519  
  5520  type DataControl struct {
  5521  	// DataDefinition type
  5522  	DclType DataControl_DclType `protobuf:"varint,1,opt,name=dcl_type,json=dclType,proto3,enum=plan.DataControl_DclType" json:"dcl_type,omitempty"`
  5523  	// Types that are valid to be assigned to Control:
  5524  	//
  5525  	//	*DataControl_SetVariables
  5526  	//	*DataControl_Prepare
  5527  	//	*DataControl_Execute
  5528  	//	*DataControl_Deallocate
  5529  	Control              isDataControl_Control `protobuf_oneof:"control"`
  5530  	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
  5531  	XXX_unrecognized     []byte                `json:"-"`
  5532  	XXX_sizecache        int32                 `json:"-"`
  5533  }
  5534  
  5535  func (m *DataControl) Reset()         { *m = DataControl{} }
  5536  func (m *DataControl) String() string { return proto.CompactTextString(m) }
  5537  func (*DataControl) ProtoMessage()    {}
  5538  func (*DataControl) Descriptor() ([]byte, []int) {
  5539  	return fileDescriptor_2d655ab2f7683c23, []int{55}
  5540  }
  5541  func (m *DataControl) XXX_Unmarshal(b []byte) error {
  5542  	return m.Unmarshal(b)
  5543  }
  5544  func (m *DataControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5545  	if deterministic {
  5546  		return xxx_messageInfo_DataControl.Marshal(b, m, deterministic)
  5547  	} else {
  5548  		b = b[:cap(b)]
  5549  		n, err := m.MarshalToSizedBuffer(b)
  5550  		if err != nil {
  5551  			return nil, err
  5552  		}
  5553  		return b[:n], nil
  5554  	}
  5555  }
  5556  func (m *DataControl) XXX_Merge(src proto.Message) {
  5557  	xxx_messageInfo_DataControl.Merge(m, src)
  5558  }
  5559  func (m *DataControl) XXX_Size() int {
  5560  	return m.ProtoSize()
  5561  }
  5562  func (m *DataControl) XXX_DiscardUnknown() {
  5563  	xxx_messageInfo_DataControl.DiscardUnknown(m)
  5564  }
  5565  
  5566  var xxx_messageInfo_DataControl proto.InternalMessageInfo
  5567  
  5568  type isDataControl_Control interface {
  5569  	isDataControl_Control()
  5570  	MarshalTo([]byte) (int, error)
  5571  	ProtoSize() int
  5572  }
  5573  
  5574  type DataControl_SetVariables struct {
  5575  	SetVariables *SetVariables `protobuf:"bytes,2,opt,name=set_variables,json=setVariables,proto3,oneof" json:"set_variables,omitempty"`
  5576  }
  5577  type DataControl_Prepare struct {
  5578  	Prepare *Prepare `protobuf:"bytes,3,opt,name=prepare,proto3,oneof" json:"prepare,omitempty"`
  5579  }
  5580  type DataControl_Execute struct {
  5581  	Execute *Execute `protobuf:"bytes,4,opt,name=execute,proto3,oneof" json:"execute,omitempty"`
  5582  }
  5583  type DataControl_Deallocate struct {
  5584  	Deallocate *Deallocate `protobuf:"bytes,5,opt,name=deallocate,proto3,oneof" json:"deallocate,omitempty"`
  5585  }
  5586  
  5587  func (*DataControl_SetVariables) isDataControl_Control() {}
  5588  func (*DataControl_Prepare) isDataControl_Control()      {}
  5589  func (*DataControl_Execute) isDataControl_Control()      {}
  5590  func (*DataControl_Deallocate) isDataControl_Control()   {}
  5591  
  5592  func (m *DataControl) GetControl() isDataControl_Control {
  5593  	if m != nil {
  5594  		return m.Control
  5595  	}
  5596  	return nil
  5597  }
  5598  
  5599  func (m *DataControl) GetDclType() DataControl_DclType {
  5600  	if m != nil {
  5601  		return m.DclType
  5602  	}
  5603  	return DataControl_SET_VARIABLES
  5604  }
  5605  
  5606  func (m *DataControl) GetSetVariables() *SetVariables {
  5607  	if x, ok := m.GetControl().(*DataControl_SetVariables); ok {
  5608  		return x.SetVariables
  5609  	}
  5610  	return nil
  5611  }
  5612  
  5613  func (m *DataControl) GetPrepare() *Prepare {
  5614  	if x, ok := m.GetControl().(*DataControl_Prepare); ok {
  5615  		return x.Prepare
  5616  	}
  5617  	return nil
  5618  }
  5619  
  5620  func (m *DataControl) GetExecute() *Execute {
  5621  	if x, ok := m.GetControl().(*DataControl_Execute); ok {
  5622  		return x.Execute
  5623  	}
  5624  	return nil
  5625  }
  5626  
  5627  func (m *DataControl) GetDeallocate() *Deallocate {
  5628  	if x, ok := m.GetControl().(*DataControl_Deallocate); ok {
  5629  		return x.Deallocate
  5630  	}
  5631  	return nil
  5632  }
  5633  
  5634  // XXX_OneofWrappers is for the internal use of the proto package.
  5635  func (*DataControl) XXX_OneofWrappers() []interface{} {
  5636  	return []interface{}{
  5637  		(*DataControl_SetVariables)(nil),
  5638  		(*DataControl_Prepare)(nil),
  5639  		(*DataControl_Execute)(nil),
  5640  		(*DataControl_Deallocate)(nil),
  5641  	}
  5642  }
  5643  
  5644  type DataDefinition struct {
  5645  	// DataDefinition type
  5646  	DdlType DataDefinition_DdlType `protobuf:"varint,1,opt,name=ddl_type,json=ddlType,proto3,enum=plan.DataDefinition_DdlType" json:"ddl_type,omitempty"`
  5647  	// other show statement we will rewrite to a select statement
  5648  	// then we will get a Query
  5649  	// eg: 'show databases' will rewrite to 'select md.datname as `Database` from mo_database md'
  5650  	Query *Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
  5651  	// Types that are valid to be assigned to Definition:
  5652  	//
  5653  	//	*DataDefinition_CreateDatabase
  5654  	//	*DataDefinition_AlterDatabase
  5655  	//	*DataDefinition_DropDatabase
  5656  	//	*DataDefinition_CreateTable
  5657  	//	*DataDefinition_AlterTable
  5658  	//	*DataDefinition_DropTable
  5659  	//	*DataDefinition_CreateIndex
  5660  	//	*DataDefinition_AlterIndex
  5661  	//	*DataDefinition_DropIndex
  5662  	//	*DataDefinition_TruncateTable
  5663  	//	*DataDefinition_ShowVariables
  5664  	//	*DataDefinition_AlterView
  5665  	Definition           isDataDefinition_Definition `protobuf_oneof:"definition"`
  5666  	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
  5667  	XXX_unrecognized     []byte                      `json:"-"`
  5668  	XXX_sizecache        int32                       `json:"-"`
  5669  }
  5670  
  5671  func (m *DataDefinition) Reset()         { *m = DataDefinition{} }
  5672  func (m *DataDefinition) String() string { return proto.CompactTextString(m) }
  5673  func (*DataDefinition) ProtoMessage()    {}
  5674  func (*DataDefinition) Descriptor() ([]byte, []int) {
  5675  	return fileDescriptor_2d655ab2f7683c23, []int{56}
  5676  }
  5677  func (m *DataDefinition) XXX_Unmarshal(b []byte) error {
  5678  	return m.Unmarshal(b)
  5679  }
  5680  func (m *DataDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5681  	if deterministic {
  5682  		return xxx_messageInfo_DataDefinition.Marshal(b, m, deterministic)
  5683  	} else {
  5684  		b = b[:cap(b)]
  5685  		n, err := m.MarshalToSizedBuffer(b)
  5686  		if err != nil {
  5687  			return nil, err
  5688  		}
  5689  		return b[:n], nil
  5690  	}
  5691  }
  5692  func (m *DataDefinition) XXX_Merge(src proto.Message) {
  5693  	xxx_messageInfo_DataDefinition.Merge(m, src)
  5694  }
  5695  func (m *DataDefinition) XXX_Size() int {
  5696  	return m.ProtoSize()
  5697  }
  5698  func (m *DataDefinition) XXX_DiscardUnknown() {
  5699  	xxx_messageInfo_DataDefinition.DiscardUnknown(m)
  5700  }
  5701  
  5702  var xxx_messageInfo_DataDefinition proto.InternalMessageInfo
  5703  
  5704  type isDataDefinition_Definition interface {
  5705  	isDataDefinition_Definition()
  5706  	MarshalTo([]byte) (int, error)
  5707  	ProtoSize() int
  5708  }
  5709  
  5710  type DataDefinition_CreateDatabase struct {
  5711  	CreateDatabase *CreateDatabase `protobuf:"bytes,3,opt,name=create_database,json=createDatabase,proto3,oneof" json:"create_database,omitempty"`
  5712  }
  5713  type DataDefinition_AlterDatabase struct {
  5714  	AlterDatabase *AlterDatabase `protobuf:"bytes,4,opt,name=alter_database,json=alterDatabase,proto3,oneof" json:"alter_database,omitempty"`
  5715  }
  5716  type DataDefinition_DropDatabase struct {
  5717  	DropDatabase *DropDatabase `protobuf:"bytes,5,opt,name=drop_database,json=dropDatabase,proto3,oneof" json:"drop_database,omitempty"`
  5718  }
  5719  type DataDefinition_CreateTable struct {
  5720  	CreateTable *CreateTable `protobuf:"bytes,6,opt,name=create_table,json=createTable,proto3,oneof" json:"create_table,omitempty"`
  5721  }
  5722  type DataDefinition_AlterTable struct {
  5723  	AlterTable *AlterTable `protobuf:"bytes,7,opt,name=alter_table,json=alterTable,proto3,oneof" json:"alter_table,omitempty"`
  5724  }
  5725  type DataDefinition_DropTable struct {
  5726  	DropTable *DropTable `protobuf:"bytes,8,opt,name=drop_table,json=dropTable,proto3,oneof" json:"drop_table,omitempty"`
  5727  }
  5728  type DataDefinition_CreateIndex struct {
  5729  	CreateIndex *CreateIndex `protobuf:"bytes,9,opt,name=create_index,json=createIndex,proto3,oneof" json:"create_index,omitempty"`
  5730  }
  5731  type DataDefinition_AlterIndex struct {
  5732  	AlterIndex *AlterIndex `protobuf:"bytes,10,opt,name=alter_index,json=alterIndex,proto3,oneof" json:"alter_index,omitempty"`
  5733  }
  5734  type DataDefinition_DropIndex struct {
  5735  	DropIndex *DropIndex `protobuf:"bytes,11,opt,name=drop_index,json=dropIndex,proto3,oneof" json:"drop_index,omitempty"`
  5736  }
  5737  type DataDefinition_TruncateTable struct {
  5738  	TruncateTable *TruncateTable `protobuf:"bytes,12,opt,name=truncate_table,json=truncateTable,proto3,oneof" json:"truncate_table,omitempty"`
  5739  }
  5740  type DataDefinition_ShowVariables struct {
  5741  	ShowVariables *ShowVariables `protobuf:"bytes,13,opt,name=show_variables,json=showVariables,proto3,oneof" json:"show_variables,omitempty"`
  5742  }
  5743  type DataDefinition_AlterView struct {
  5744  	AlterView *AlterView `protobuf:"bytes,14,opt,name=alter_view,json=alterView,proto3,oneof" json:"alter_view,omitempty"`
  5745  }
  5746  
  5747  func (*DataDefinition_CreateDatabase) isDataDefinition_Definition() {}
  5748  func (*DataDefinition_AlterDatabase) isDataDefinition_Definition()  {}
  5749  func (*DataDefinition_DropDatabase) isDataDefinition_Definition()   {}
  5750  func (*DataDefinition_CreateTable) isDataDefinition_Definition()    {}
  5751  func (*DataDefinition_AlterTable) isDataDefinition_Definition()     {}
  5752  func (*DataDefinition_DropTable) isDataDefinition_Definition()      {}
  5753  func (*DataDefinition_CreateIndex) isDataDefinition_Definition()    {}
  5754  func (*DataDefinition_AlterIndex) isDataDefinition_Definition()     {}
  5755  func (*DataDefinition_DropIndex) isDataDefinition_Definition()      {}
  5756  func (*DataDefinition_TruncateTable) isDataDefinition_Definition()  {}
  5757  func (*DataDefinition_ShowVariables) isDataDefinition_Definition()  {}
  5758  func (*DataDefinition_AlterView) isDataDefinition_Definition()      {}
  5759  
  5760  func (m *DataDefinition) GetDefinition() isDataDefinition_Definition {
  5761  	if m != nil {
  5762  		return m.Definition
  5763  	}
  5764  	return nil
  5765  }
  5766  
  5767  func (m *DataDefinition) GetDdlType() DataDefinition_DdlType {
  5768  	if m != nil {
  5769  		return m.DdlType
  5770  	}
  5771  	return DataDefinition_CREATE_DATABASE
  5772  }
  5773  
  5774  func (m *DataDefinition) GetQuery() *Query {
  5775  	if m != nil {
  5776  		return m.Query
  5777  	}
  5778  	return nil
  5779  }
  5780  
  5781  func (m *DataDefinition) GetCreateDatabase() *CreateDatabase {
  5782  	if x, ok := m.GetDefinition().(*DataDefinition_CreateDatabase); ok {
  5783  		return x.CreateDatabase
  5784  	}
  5785  	return nil
  5786  }
  5787  
  5788  func (m *DataDefinition) GetAlterDatabase() *AlterDatabase {
  5789  	if x, ok := m.GetDefinition().(*DataDefinition_AlterDatabase); ok {
  5790  		return x.AlterDatabase
  5791  	}
  5792  	return nil
  5793  }
  5794  
  5795  func (m *DataDefinition) GetDropDatabase() *DropDatabase {
  5796  	if x, ok := m.GetDefinition().(*DataDefinition_DropDatabase); ok {
  5797  		return x.DropDatabase
  5798  	}
  5799  	return nil
  5800  }
  5801  
  5802  func (m *DataDefinition) GetCreateTable() *CreateTable {
  5803  	if x, ok := m.GetDefinition().(*DataDefinition_CreateTable); ok {
  5804  		return x.CreateTable
  5805  	}
  5806  	return nil
  5807  }
  5808  
  5809  func (m *DataDefinition) GetAlterTable() *AlterTable {
  5810  	if x, ok := m.GetDefinition().(*DataDefinition_AlterTable); ok {
  5811  		return x.AlterTable
  5812  	}
  5813  	return nil
  5814  }
  5815  
  5816  func (m *DataDefinition) GetDropTable() *DropTable {
  5817  	if x, ok := m.GetDefinition().(*DataDefinition_DropTable); ok {
  5818  		return x.DropTable
  5819  	}
  5820  	return nil
  5821  }
  5822  
  5823  func (m *DataDefinition) GetCreateIndex() *CreateIndex {
  5824  	if x, ok := m.GetDefinition().(*DataDefinition_CreateIndex); ok {
  5825  		return x.CreateIndex
  5826  	}
  5827  	return nil
  5828  }
  5829  
  5830  func (m *DataDefinition) GetAlterIndex() *AlterIndex {
  5831  	if x, ok := m.GetDefinition().(*DataDefinition_AlterIndex); ok {
  5832  		return x.AlterIndex
  5833  	}
  5834  	return nil
  5835  }
  5836  
  5837  func (m *DataDefinition) GetDropIndex() *DropIndex {
  5838  	if x, ok := m.GetDefinition().(*DataDefinition_DropIndex); ok {
  5839  		return x.DropIndex
  5840  	}
  5841  	return nil
  5842  }
  5843  
  5844  func (m *DataDefinition) GetTruncateTable() *TruncateTable {
  5845  	if x, ok := m.GetDefinition().(*DataDefinition_TruncateTable); ok {
  5846  		return x.TruncateTable
  5847  	}
  5848  	return nil
  5849  }
  5850  
  5851  func (m *DataDefinition) GetShowVariables() *ShowVariables {
  5852  	if x, ok := m.GetDefinition().(*DataDefinition_ShowVariables); ok {
  5853  		return x.ShowVariables
  5854  	}
  5855  	return nil
  5856  }
  5857  
  5858  func (m *DataDefinition) GetAlterView() *AlterView {
  5859  	if x, ok := m.GetDefinition().(*DataDefinition_AlterView); ok {
  5860  		return x.AlterView
  5861  	}
  5862  	return nil
  5863  }
  5864  
  5865  // XXX_OneofWrappers is for the internal use of the proto package.
  5866  func (*DataDefinition) XXX_OneofWrappers() []interface{} {
  5867  	return []interface{}{
  5868  		(*DataDefinition_CreateDatabase)(nil),
  5869  		(*DataDefinition_AlterDatabase)(nil),
  5870  		(*DataDefinition_DropDatabase)(nil),
  5871  		(*DataDefinition_CreateTable)(nil),
  5872  		(*DataDefinition_AlterTable)(nil),
  5873  		(*DataDefinition_DropTable)(nil),
  5874  		(*DataDefinition_CreateIndex)(nil),
  5875  		(*DataDefinition_AlterIndex)(nil),
  5876  		(*DataDefinition_DropIndex)(nil),
  5877  		(*DataDefinition_TruncateTable)(nil),
  5878  		(*DataDefinition_ShowVariables)(nil),
  5879  		(*DataDefinition_AlterView)(nil),
  5880  	}
  5881  }
  5882  
  5883  type CreateDatabase struct {
  5884  	IfNotExists          bool     `protobuf:"varint,1,opt,name=if_not_exists,json=ifNotExists,proto3" json:"if_not_exists,omitempty"`
  5885  	Database             string   `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
  5886  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5887  	XXX_unrecognized     []byte   `json:"-"`
  5888  	XXX_sizecache        int32    `json:"-"`
  5889  }
  5890  
  5891  func (m *CreateDatabase) Reset()         { *m = CreateDatabase{} }
  5892  func (m *CreateDatabase) String() string { return proto.CompactTextString(m) }
  5893  func (*CreateDatabase) ProtoMessage()    {}
  5894  func (*CreateDatabase) Descriptor() ([]byte, []int) {
  5895  	return fileDescriptor_2d655ab2f7683c23, []int{57}
  5896  }
  5897  func (m *CreateDatabase) XXX_Unmarshal(b []byte) error {
  5898  	return m.Unmarshal(b)
  5899  }
  5900  func (m *CreateDatabase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5901  	if deterministic {
  5902  		return xxx_messageInfo_CreateDatabase.Marshal(b, m, deterministic)
  5903  	} else {
  5904  		b = b[:cap(b)]
  5905  		n, err := m.MarshalToSizedBuffer(b)
  5906  		if err != nil {
  5907  			return nil, err
  5908  		}
  5909  		return b[:n], nil
  5910  	}
  5911  }
  5912  func (m *CreateDatabase) XXX_Merge(src proto.Message) {
  5913  	xxx_messageInfo_CreateDatabase.Merge(m, src)
  5914  }
  5915  func (m *CreateDatabase) XXX_Size() int {
  5916  	return m.ProtoSize()
  5917  }
  5918  func (m *CreateDatabase) XXX_DiscardUnknown() {
  5919  	xxx_messageInfo_CreateDatabase.DiscardUnknown(m)
  5920  }
  5921  
  5922  var xxx_messageInfo_CreateDatabase proto.InternalMessageInfo
  5923  
  5924  func (m *CreateDatabase) GetIfNotExists() bool {
  5925  	if m != nil {
  5926  		return m.IfNotExists
  5927  	}
  5928  	return false
  5929  }
  5930  
  5931  func (m *CreateDatabase) GetDatabase() string {
  5932  	if m != nil {
  5933  		return m.Database
  5934  	}
  5935  	return ""
  5936  }
  5937  
  5938  type AlterDatabase struct {
  5939  	IfExists             bool     `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"`
  5940  	Database             string   `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
  5941  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5942  	XXX_unrecognized     []byte   `json:"-"`
  5943  	XXX_sizecache        int32    `json:"-"`
  5944  }
  5945  
  5946  func (m *AlterDatabase) Reset()         { *m = AlterDatabase{} }
  5947  func (m *AlterDatabase) String() string { return proto.CompactTextString(m) }
  5948  func (*AlterDatabase) ProtoMessage()    {}
  5949  func (*AlterDatabase) Descriptor() ([]byte, []int) {
  5950  	return fileDescriptor_2d655ab2f7683c23, []int{58}
  5951  }
  5952  func (m *AlterDatabase) XXX_Unmarshal(b []byte) error {
  5953  	return m.Unmarshal(b)
  5954  }
  5955  func (m *AlterDatabase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5956  	if deterministic {
  5957  		return xxx_messageInfo_AlterDatabase.Marshal(b, m, deterministic)
  5958  	} else {
  5959  		b = b[:cap(b)]
  5960  		n, err := m.MarshalToSizedBuffer(b)
  5961  		if err != nil {
  5962  			return nil, err
  5963  		}
  5964  		return b[:n], nil
  5965  	}
  5966  }
  5967  func (m *AlterDatabase) XXX_Merge(src proto.Message) {
  5968  	xxx_messageInfo_AlterDatabase.Merge(m, src)
  5969  }
  5970  func (m *AlterDatabase) XXX_Size() int {
  5971  	return m.ProtoSize()
  5972  }
  5973  func (m *AlterDatabase) XXX_DiscardUnknown() {
  5974  	xxx_messageInfo_AlterDatabase.DiscardUnknown(m)
  5975  }
  5976  
  5977  var xxx_messageInfo_AlterDatabase proto.InternalMessageInfo
  5978  
  5979  func (m *AlterDatabase) GetIfExists() bool {
  5980  	if m != nil {
  5981  		return m.IfExists
  5982  	}
  5983  	return false
  5984  }
  5985  
  5986  func (m *AlterDatabase) GetDatabase() string {
  5987  	if m != nil {
  5988  		return m.Database
  5989  	}
  5990  	return ""
  5991  }
  5992  
  5993  type DropDatabase struct {
  5994  	IfExists             bool     `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"`
  5995  	Database             string   `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
  5996  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5997  	XXX_unrecognized     []byte   `json:"-"`
  5998  	XXX_sizecache        int32    `json:"-"`
  5999  }
  6000  
  6001  func (m *DropDatabase) Reset()         { *m = DropDatabase{} }
  6002  func (m *DropDatabase) String() string { return proto.CompactTextString(m) }
  6003  func (*DropDatabase) ProtoMessage()    {}
  6004  func (*DropDatabase) Descriptor() ([]byte, []int) {
  6005  	return fileDescriptor_2d655ab2f7683c23, []int{59}
  6006  }
  6007  func (m *DropDatabase) XXX_Unmarshal(b []byte) error {
  6008  	return m.Unmarshal(b)
  6009  }
  6010  func (m *DropDatabase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6011  	if deterministic {
  6012  		return xxx_messageInfo_DropDatabase.Marshal(b, m, deterministic)
  6013  	} else {
  6014  		b = b[:cap(b)]
  6015  		n, err := m.MarshalToSizedBuffer(b)
  6016  		if err != nil {
  6017  			return nil, err
  6018  		}
  6019  		return b[:n], nil
  6020  	}
  6021  }
  6022  func (m *DropDatabase) XXX_Merge(src proto.Message) {
  6023  	xxx_messageInfo_DropDatabase.Merge(m, src)
  6024  }
  6025  func (m *DropDatabase) XXX_Size() int {
  6026  	return m.ProtoSize()
  6027  }
  6028  func (m *DropDatabase) XXX_DiscardUnknown() {
  6029  	xxx_messageInfo_DropDatabase.DiscardUnknown(m)
  6030  }
  6031  
  6032  var xxx_messageInfo_DropDatabase proto.InternalMessageInfo
  6033  
  6034  func (m *DropDatabase) GetIfExists() bool {
  6035  	if m != nil {
  6036  		return m.IfExists
  6037  	}
  6038  	return false
  6039  }
  6040  
  6041  func (m *DropDatabase) GetDatabase() string {
  6042  	if m != nil {
  6043  		return m.Database
  6044  	}
  6045  	return ""
  6046  }
  6047  
  6048  type CreateTable struct {
  6049  	IfNotExists bool        `protobuf:"varint,1,opt,name=if_not_exists,json=ifNotExists,proto3" json:"if_not_exists,omitempty"`
  6050  	Temporary   bool        `protobuf:"varint,2,opt,name=temporary,proto3" json:"temporary,omitempty"`
  6051  	Database    string      `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"`
  6052  	TableDef    *TableDef   `protobuf:"bytes,4,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"`
  6053  	IndexTables []*TableDef `protobuf:"bytes,5,rep,name=index_tables,json=indexTables,proto3" json:"index_tables,omitempty"`
  6054  	// we need the db/table name of foreign key when create table. but we don't need it in ForeignKeyDef
  6055  	FkDbs    []string `protobuf:"bytes,6,rep,name=fk_dbs,json=fkDbs,proto3" json:"fk_dbs,omitempty"`
  6056  	FkTables []string `protobuf:"bytes,7,rep,name=fk_tables,json=fkTables,proto3" json:"fk_tables,omitempty"`
  6057  	// we need column name when create table, but not in ForeignKeyDef
  6058  	FkCols               []*CreateTable_FkColName `protobuf:"bytes,8,rep,name=fk_cols,json=fkCols,proto3" json:"fk_cols,omitempty"`
  6059  	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
  6060  	XXX_unrecognized     []byte                   `json:"-"`
  6061  	XXX_sizecache        int32                    `json:"-"`
  6062  }
  6063  
  6064  func (m *CreateTable) Reset()         { *m = CreateTable{} }
  6065  func (m *CreateTable) String() string { return proto.CompactTextString(m) }
  6066  func (*CreateTable) ProtoMessage()    {}
  6067  func (*CreateTable) Descriptor() ([]byte, []int) {
  6068  	return fileDescriptor_2d655ab2f7683c23, []int{60}
  6069  }
  6070  func (m *CreateTable) XXX_Unmarshal(b []byte) error {
  6071  	return m.Unmarshal(b)
  6072  }
  6073  func (m *CreateTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6074  	if deterministic {
  6075  		return xxx_messageInfo_CreateTable.Marshal(b, m, deterministic)
  6076  	} else {
  6077  		b = b[:cap(b)]
  6078  		n, err := m.MarshalToSizedBuffer(b)
  6079  		if err != nil {
  6080  			return nil, err
  6081  		}
  6082  		return b[:n], nil
  6083  	}
  6084  }
  6085  func (m *CreateTable) XXX_Merge(src proto.Message) {
  6086  	xxx_messageInfo_CreateTable.Merge(m, src)
  6087  }
  6088  func (m *CreateTable) XXX_Size() int {
  6089  	return m.ProtoSize()
  6090  }
  6091  func (m *CreateTable) XXX_DiscardUnknown() {
  6092  	xxx_messageInfo_CreateTable.DiscardUnknown(m)
  6093  }
  6094  
  6095  var xxx_messageInfo_CreateTable proto.InternalMessageInfo
  6096  
  6097  func (m *CreateTable) GetIfNotExists() bool {
  6098  	if m != nil {
  6099  		return m.IfNotExists
  6100  	}
  6101  	return false
  6102  }
  6103  
  6104  func (m *CreateTable) GetTemporary() bool {
  6105  	if m != nil {
  6106  		return m.Temporary
  6107  	}
  6108  	return false
  6109  }
  6110  
  6111  func (m *CreateTable) GetDatabase() string {
  6112  	if m != nil {
  6113  		return m.Database
  6114  	}
  6115  	return ""
  6116  }
  6117  
  6118  func (m *CreateTable) GetTableDef() *TableDef {
  6119  	if m != nil {
  6120  		return m.TableDef
  6121  	}
  6122  	return nil
  6123  }
  6124  
  6125  func (m *CreateTable) GetIndexTables() []*TableDef {
  6126  	if m != nil {
  6127  		return m.IndexTables
  6128  	}
  6129  	return nil
  6130  }
  6131  
  6132  func (m *CreateTable) GetFkDbs() []string {
  6133  	if m != nil {
  6134  		return m.FkDbs
  6135  	}
  6136  	return nil
  6137  }
  6138  
  6139  func (m *CreateTable) GetFkTables() []string {
  6140  	if m != nil {
  6141  		return m.FkTables
  6142  	}
  6143  	return nil
  6144  }
  6145  
  6146  func (m *CreateTable) GetFkCols() []*CreateTable_FkColName {
  6147  	if m != nil {
  6148  		return m.FkCols
  6149  	}
  6150  	return nil
  6151  }
  6152  
  6153  type CreateTable_FkColName struct {
  6154  	Cols                 []string `protobuf:"bytes,1,rep,name=cols,proto3" json:"cols,omitempty"`
  6155  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6156  	XXX_unrecognized     []byte   `json:"-"`
  6157  	XXX_sizecache        int32    `json:"-"`
  6158  }
  6159  
  6160  func (m *CreateTable_FkColName) Reset()         { *m = CreateTable_FkColName{} }
  6161  func (m *CreateTable_FkColName) String() string { return proto.CompactTextString(m) }
  6162  func (*CreateTable_FkColName) ProtoMessage()    {}
  6163  func (*CreateTable_FkColName) Descriptor() ([]byte, []int) {
  6164  	return fileDescriptor_2d655ab2f7683c23, []int{60, 0}
  6165  }
  6166  func (m *CreateTable_FkColName) XXX_Unmarshal(b []byte) error {
  6167  	return m.Unmarshal(b)
  6168  }
  6169  func (m *CreateTable_FkColName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6170  	if deterministic {
  6171  		return xxx_messageInfo_CreateTable_FkColName.Marshal(b, m, deterministic)
  6172  	} else {
  6173  		b = b[:cap(b)]
  6174  		n, err := m.MarshalToSizedBuffer(b)
  6175  		if err != nil {
  6176  			return nil, err
  6177  		}
  6178  		return b[:n], nil
  6179  	}
  6180  }
  6181  func (m *CreateTable_FkColName) XXX_Merge(src proto.Message) {
  6182  	xxx_messageInfo_CreateTable_FkColName.Merge(m, src)
  6183  }
  6184  func (m *CreateTable_FkColName) XXX_Size() int {
  6185  	return m.ProtoSize()
  6186  }
  6187  func (m *CreateTable_FkColName) XXX_DiscardUnknown() {
  6188  	xxx_messageInfo_CreateTable_FkColName.DiscardUnknown(m)
  6189  }
  6190  
  6191  var xxx_messageInfo_CreateTable_FkColName proto.InternalMessageInfo
  6192  
  6193  func (m *CreateTable_FkColName) GetCols() []string {
  6194  	if m != nil {
  6195  		return m.Cols
  6196  	}
  6197  	return nil
  6198  }
  6199  
  6200  type AlterTable struct {
  6201  	Table                string    `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
  6202  	TableDef             *TableDef `protobuf:"bytes,2,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"`
  6203  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
  6204  	XXX_unrecognized     []byte    `json:"-"`
  6205  	XXX_sizecache        int32     `json:"-"`
  6206  }
  6207  
  6208  func (m *AlterTable) Reset()         { *m = AlterTable{} }
  6209  func (m *AlterTable) String() string { return proto.CompactTextString(m) }
  6210  func (*AlterTable) ProtoMessage()    {}
  6211  func (*AlterTable) Descriptor() ([]byte, []int) {
  6212  	return fileDescriptor_2d655ab2f7683c23, []int{61}
  6213  }
  6214  func (m *AlterTable) XXX_Unmarshal(b []byte) error {
  6215  	return m.Unmarshal(b)
  6216  }
  6217  func (m *AlterTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6218  	if deterministic {
  6219  		return xxx_messageInfo_AlterTable.Marshal(b, m, deterministic)
  6220  	} else {
  6221  		b = b[:cap(b)]
  6222  		n, err := m.MarshalToSizedBuffer(b)
  6223  		if err != nil {
  6224  			return nil, err
  6225  		}
  6226  		return b[:n], nil
  6227  	}
  6228  }
  6229  func (m *AlterTable) XXX_Merge(src proto.Message) {
  6230  	xxx_messageInfo_AlterTable.Merge(m, src)
  6231  }
  6232  func (m *AlterTable) XXX_Size() int {
  6233  	return m.ProtoSize()
  6234  }
  6235  func (m *AlterTable) XXX_DiscardUnknown() {
  6236  	xxx_messageInfo_AlterTable.DiscardUnknown(m)
  6237  }
  6238  
  6239  var xxx_messageInfo_AlterTable proto.InternalMessageInfo
  6240  
  6241  func (m *AlterTable) GetTable() string {
  6242  	if m != nil {
  6243  		return m.Table
  6244  	}
  6245  	return ""
  6246  }
  6247  
  6248  func (m *AlterTable) GetTableDef() *TableDef {
  6249  	if m != nil {
  6250  		return m.TableDef
  6251  	}
  6252  	return nil
  6253  }
  6254  
  6255  type AlterView struct {
  6256  	IfExists             bool        `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"`
  6257  	Database             string      `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
  6258  	Temporary            bool        `protobuf:"varint,3,opt,name=temporary,proto3" json:"temporary,omitempty"`
  6259  	Table                string      `protobuf:"bytes,4,opt,name=table,proto3" json:"table,omitempty"`
  6260  	TableDef             *TableDef   `protobuf:"bytes,5,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"`
  6261  	IndexTables          []*TableDef `protobuf:"bytes,6,rep,name=index_tables,json=indexTables,proto3" json:"index_tables,omitempty"`
  6262  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
  6263  	XXX_unrecognized     []byte      `json:"-"`
  6264  	XXX_sizecache        int32       `json:"-"`
  6265  }
  6266  
  6267  func (m *AlterView) Reset()         { *m = AlterView{} }
  6268  func (m *AlterView) String() string { return proto.CompactTextString(m) }
  6269  func (*AlterView) ProtoMessage()    {}
  6270  func (*AlterView) Descriptor() ([]byte, []int) {
  6271  	return fileDescriptor_2d655ab2f7683c23, []int{62}
  6272  }
  6273  func (m *AlterView) XXX_Unmarshal(b []byte) error {
  6274  	return m.Unmarshal(b)
  6275  }
  6276  func (m *AlterView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6277  	if deterministic {
  6278  		return xxx_messageInfo_AlterView.Marshal(b, m, deterministic)
  6279  	} else {
  6280  		b = b[:cap(b)]
  6281  		n, err := m.MarshalToSizedBuffer(b)
  6282  		if err != nil {
  6283  			return nil, err
  6284  		}
  6285  		return b[:n], nil
  6286  	}
  6287  }
  6288  func (m *AlterView) XXX_Merge(src proto.Message) {
  6289  	xxx_messageInfo_AlterView.Merge(m, src)
  6290  }
  6291  func (m *AlterView) XXX_Size() int {
  6292  	return m.ProtoSize()
  6293  }
  6294  func (m *AlterView) XXX_DiscardUnknown() {
  6295  	xxx_messageInfo_AlterView.DiscardUnknown(m)
  6296  }
  6297  
  6298  var xxx_messageInfo_AlterView proto.InternalMessageInfo
  6299  
  6300  func (m *AlterView) GetIfExists() bool {
  6301  	if m != nil {
  6302  		return m.IfExists
  6303  	}
  6304  	return false
  6305  }
  6306  
  6307  func (m *AlterView) GetDatabase() string {
  6308  	if m != nil {
  6309  		return m.Database
  6310  	}
  6311  	return ""
  6312  }
  6313  
  6314  func (m *AlterView) GetTemporary() bool {
  6315  	if m != nil {
  6316  		return m.Temporary
  6317  	}
  6318  	return false
  6319  }
  6320  
  6321  func (m *AlterView) GetTable() string {
  6322  	if m != nil {
  6323  		return m.Table
  6324  	}
  6325  	return ""
  6326  }
  6327  
  6328  func (m *AlterView) GetTableDef() *TableDef {
  6329  	if m != nil {
  6330  		return m.TableDef
  6331  	}
  6332  	return nil
  6333  }
  6334  
  6335  func (m *AlterView) GetIndexTables() []*TableDef {
  6336  	if m != nil {
  6337  		return m.IndexTables
  6338  	}
  6339  	return nil
  6340  }
  6341  
  6342  type DropTable struct {
  6343  	IfExists             bool          `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"`
  6344  	Database             string        `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
  6345  	Table                string        `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
  6346  	IndexTableNames      []string      `protobuf:"bytes,4,rep,name=index_table_names,json=indexTableNames,proto3" json:"index_table_names,omitempty"`
  6347  	ClusterTable         *ClusterTable `protobuf:"bytes,5,opt,name=cluster_table,json=clusterTable,proto3" json:"cluster_table,omitempty"`
  6348  	TableId              uint64        `protobuf:"varint,6,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
  6349  	ForeignTbl           []uint64      `protobuf:"varint,7,rep,packed,name=foreign_tbl,json=foreignTbl,proto3" json:"foreign_tbl,omitempty"`
  6350  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
  6351  	XXX_unrecognized     []byte        `json:"-"`
  6352  	XXX_sizecache        int32         `json:"-"`
  6353  }
  6354  
  6355  func (m *DropTable) Reset()         { *m = DropTable{} }
  6356  func (m *DropTable) String() string { return proto.CompactTextString(m) }
  6357  func (*DropTable) ProtoMessage()    {}
  6358  func (*DropTable) Descriptor() ([]byte, []int) {
  6359  	return fileDescriptor_2d655ab2f7683c23, []int{63}
  6360  }
  6361  func (m *DropTable) XXX_Unmarshal(b []byte) error {
  6362  	return m.Unmarshal(b)
  6363  }
  6364  func (m *DropTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6365  	if deterministic {
  6366  		return xxx_messageInfo_DropTable.Marshal(b, m, deterministic)
  6367  	} else {
  6368  		b = b[:cap(b)]
  6369  		n, err := m.MarshalToSizedBuffer(b)
  6370  		if err != nil {
  6371  			return nil, err
  6372  		}
  6373  		return b[:n], nil
  6374  	}
  6375  }
  6376  func (m *DropTable) XXX_Merge(src proto.Message) {
  6377  	xxx_messageInfo_DropTable.Merge(m, src)
  6378  }
  6379  func (m *DropTable) XXX_Size() int {
  6380  	return m.ProtoSize()
  6381  }
  6382  func (m *DropTable) XXX_DiscardUnknown() {
  6383  	xxx_messageInfo_DropTable.DiscardUnknown(m)
  6384  }
  6385  
  6386  var xxx_messageInfo_DropTable proto.InternalMessageInfo
  6387  
  6388  func (m *DropTable) GetIfExists() bool {
  6389  	if m != nil {
  6390  		return m.IfExists
  6391  	}
  6392  	return false
  6393  }
  6394  
  6395  func (m *DropTable) GetDatabase() string {
  6396  	if m != nil {
  6397  		return m.Database
  6398  	}
  6399  	return ""
  6400  }
  6401  
  6402  func (m *DropTable) GetTable() string {
  6403  	if m != nil {
  6404  		return m.Table
  6405  	}
  6406  	return ""
  6407  }
  6408  
  6409  func (m *DropTable) GetIndexTableNames() []string {
  6410  	if m != nil {
  6411  		return m.IndexTableNames
  6412  	}
  6413  	return nil
  6414  }
  6415  
  6416  func (m *DropTable) GetClusterTable() *ClusterTable {
  6417  	if m != nil {
  6418  		return m.ClusterTable
  6419  	}
  6420  	return nil
  6421  }
  6422  
  6423  func (m *DropTable) GetTableId() uint64 {
  6424  	if m != nil {
  6425  		return m.TableId
  6426  	}
  6427  	return 0
  6428  }
  6429  
  6430  func (m *DropTable) GetForeignTbl() []uint64 {
  6431  	if m != nil {
  6432  		return m.ForeignTbl
  6433  	}
  6434  	return nil
  6435  }
  6436  
  6437  type CreateIndex struct {
  6438  	Database              string       `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
  6439  	Table                 string       `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
  6440  	OriginTablePrimaryKey string       `protobuf:"bytes,3,opt,name=origin_table_primary_key,json=originTablePrimaryKey,proto3" json:"origin_table_primary_key,omitempty"`
  6441  	Index                 *CreateTable `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"`
  6442  	TableExist            bool         `protobuf:"varint,5,opt,name=table_exist,json=tableExist,proto3" json:"table_exist,omitempty"`
  6443  	XXX_NoUnkeyedLiteral  struct{}     `json:"-"`
  6444  	XXX_unrecognized      []byte       `json:"-"`
  6445  	XXX_sizecache         int32        `json:"-"`
  6446  }
  6447  
  6448  func (m *CreateIndex) Reset()         { *m = CreateIndex{} }
  6449  func (m *CreateIndex) String() string { return proto.CompactTextString(m) }
  6450  func (*CreateIndex) ProtoMessage()    {}
  6451  func (*CreateIndex) Descriptor() ([]byte, []int) {
  6452  	return fileDescriptor_2d655ab2f7683c23, []int{64}
  6453  }
  6454  func (m *CreateIndex) XXX_Unmarshal(b []byte) error {
  6455  	return m.Unmarshal(b)
  6456  }
  6457  func (m *CreateIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6458  	if deterministic {
  6459  		return xxx_messageInfo_CreateIndex.Marshal(b, m, deterministic)
  6460  	} else {
  6461  		b = b[:cap(b)]
  6462  		n, err := m.MarshalToSizedBuffer(b)
  6463  		if err != nil {
  6464  			return nil, err
  6465  		}
  6466  		return b[:n], nil
  6467  	}
  6468  }
  6469  func (m *CreateIndex) XXX_Merge(src proto.Message) {
  6470  	xxx_messageInfo_CreateIndex.Merge(m, src)
  6471  }
  6472  func (m *CreateIndex) XXX_Size() int {
  6473  	return m.ProtoSize()
  6474  }
  6475  func (m *CreateIndex) XXX_DiscardUnknown() {
  6476  	xxx_messageInfo_CreateIndex.DiscardUnknown(m)
  6477  }
  6478  
  6479  var xxx_messageInfo_CreateIndex proto.InternalMessageInfo
  6480  
  6481  func (m *CreateIndex) GetDatabase() string {
  6482  	if m != nil {
  6483  		return m.Database
  6484  	}
  6485  	return ""
  6486  }
  6487  
  6488  func (m *CreateIndex) GetTable() string {
  6489  	if m != nil {
  6490  		return m.Table
  6491  	}
  6492  	return ""
  6493  }
  6494  
  6495  func (m *CreateIndex) GetOriginTablePrimaryKey() string {
  6496  	if m != nil {
  6497  		return m.OriginTablePrimaryKey
  6498  	}
  6499  	return ""
  6500  }
  6501  
  6502  func (m *CreateIndex) GetIndex() *CreateTable {
  6503  	if m != nil {
  6504  		return m.Index
  6505  	}
  6506  	return nil
  6507  }
  6508  
  6509  func (m *CreateIndex) GetTableExist() bool {
  6510  	if m != nil {
  6511  		return m.TableExist
  6512  	}
  6513  	return false
  6514  }
  6515  
  6516  type AlterIndex struct {
  6517  	Index                string   `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
  6518  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6519  	XXX_unrecognized     []byte   `json:"-"`
  6520  	XXX_sizecache        int32    `json:"-"`
  6521  }
  6522  
  6523  func (m *AlterIndex) Reset()         { *m = AlterIndex{} }
  6524  func (m *AlterIndex) String() string { return proto.CompactTextString(m) }
  6525  func (*AlterIndex) ProtoMessage()    {}
  6526  func (*AlterIndex) Descriptor() ([]byte, []int) {
  6527  	return fileDescriptor_2d655ab2f7683c23, []int{65}
  6528  }
  6529  func (m *AlterIndex) XXX_Unmarshal(b []byte) error {
  6530  	return m.Unmarshal(b)
  6531  }
  6532  func (m *AlterIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6533  	if deterministic {
  6534  		return xxx_messageInfo_AlterIndex.Marshal(b, m, deterministic)
  6535  	} else {
  6536  		b = b[:cap(b)]
  6537  		n, err := m.MarshalToSizedBuffer(b)
  6538  		if err != nil {
  6539  			return nil, err
  6540  		}
  6541  		return b[:n], nil
  6542  	}
  6543  }
  6544  func (m *AlterIndex) XXX_Merge(src proto.Message) {
  6545  	xxx_messageInfo_AlterIndex.Merge(m, src)
  6546  }
  6547  func (m *AlterIndex) XXX_Size() int {
  6548  	return m.ProtoSize()
  6549  }
  6550  func (m *AlterIndex) XXX_DiscardUnknown() {
  6551  	xxx_messageInfo_AlterIndex.DiscardUnknown(m)
  6552  }
  6553  
  6554  var xxx_messageInfo_AlterIndex proto.InternalMessageInfo
  6555  
  6556  func (m *AlterIndex) GetIndex() string {
  6557  	if m != nil {
  6558  		return m.Index
  6559  	}
  6560  	return ""
  6561  }
  6562  
  6563  type DropIndex struct {
  6564  	Database             string   `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
  6565  	Table                string   `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
  6566  	IndexName            string   `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
  6567  	IndexTableName       string   `protobuf:"bytes,4,opt,name=index_table_name,json=indexTableName,proto3" json:"index_table_name,omitempty"`
  6568  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6569  	XXX_unrecognized     []byte   `json:"-"`
  6570  	XXX_sizecache        int32    `json:"-"`
  6571  }
  6572  
  6573  func (m *DropIndex) Reset()         { *m = DropIndex{} }
  6574  func (m *DropIndex) String() string { return proto.CompactTextString(m) }
  6575  func (*DropIndex) ProtoMessage()    {}
  6576  func (*DropIndex) Descriptor() ([]byte, []int) {
  6577  	return fileDescriptor_2d655ab2f7683c23, []int{66}
  6578  }
  6579  func (m *DropIndex) XXX_Unmarshal(b []byte) error {
  6580  	return m.Unmarshal(b)
  6581  }
  6582  func (m *DropIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6583  	if deterministic {
  6584  		return xxx_messageInfo_DropIndex.Marshal(b, m, deterministic)
  6585  	} else {
  6586  		b = b[:cap(b)]
  6587  		n, err := m.MarshalToSizedBuffer(b)
  6588  		if err != nil {
  6589  			return nil, err
  6590  		}
  6591  		return b[:n], nil
  6592  	}
  6593  }
  6594  func (m *DropIndex) XXX_Merge(src proto.Message) {
  6595  	xxx_messageInfo_DropIndex.Merge(m, src)
  6596  }
  6597  func (m *DropIndex) XXX_Size() int {
  6598  	return m.ProtoSize()
  6599  }
  6600  func (m *DropIndex) XXX_DiscardUnknown() {
  6601  	xxx_messageInfo_DropIndex.DiscardUnknown(m)
  6602  }
  6603  
  6604  var xxx_messageInfo_DropIndex proto.InternalMessageInfo
  6605  
  6606  func (m *DropIndex) GetDatabase() string {
  6607  	if m != nil {
  6608  		return m.Database
  6609  	}
  6610  	return ""
  6611  }
  6612  
  6613  func (m *DropIndex) GetTable() string {
  6614  	if m != nil {
  6615  		return m.Table
  6616  	}
  6617  	return ""
  6618  }
  6619  
  6620  func (m *DropIndex) GetIndexName() string {
  6621  	if m != nil {
  6622  		return m.IndexName
  6623  	}
  6624  	return ""
  6625  }
  6626  
  6627  func (m *DropIndex) GetIndexTableName() string {
  6628  	if m != nil {
  6629  		return m.IndexTableName
  6630  	}
  6631  	return ""
  6632  }
  6633  
  6634  type TruncateTable struct {
  6635  	Database             string        `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
  6636  	Table                string        `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
  6637  	IndexTableNames      []string      `protobuf:"bytes,3,rep,name=index_table_names,json=indexTableNames,proto3" json:"index_table_names,omitempty"`
  6638  	ClusterTable         *ClusterTable `protobuf:"bytes,4,opt,name=cluster_table,json=clusterTable,proto3" json:"cluster_table,omitempty"`
  6639  	TableId              uint64        `protobuf:"varint,5,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
  6640  	ForeignTbl           []uint64      `protobuf:"varint,6,rep,packed,name=foreign_tbl,json=foreignTbl,proto3" json:"foreign_tbl,omitempty"`
  6641  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
  6642  	XXX_unrecognized     []byte        `json:"-"`
  6643  	XXX_sizecache        int32         `json:"-"`
  6644  }
  6645  
  6646  func (m *TruncateTable) Reset()         { *m = TruncateTable{} }
  6647  func (m *TruncateTable) String() string { return proto.CompactTextString(m) }
  6648  func (*TruncateTable) ProtoMessage()    {}
  6649  func (*TruncateTable) Descriptor() ([]byte, []int) {
  6650  	return fileDescriptor_2d655ab2f7683c23, []int{67}
  6651  }
  6652  func (m *TruncateTable) XXX_Unmarshal(b []byte) error {
  6653  	return m.Unmarshal(b)
  6654  }
  6655  func (m *TruncateTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6656  	if deterministic {
  6657  		return xxx_messageInfo_TruncateTable.Marshal(b, m, deterministic)
  6658  	} else {
  6659  		b = b[:cap(b)]
  6660  		n, err := m.MarshalToSizedBuffer(b)
  6661  		if err != nil {
  6662  			return nil, err
  6663  		}
  6664  		return b[:n], nil
  6665  	}
  6666  }
  6667  func (m *TruncateTable) XXX_Merge(src proto.Message) {
  6668  	xxx_messageInfo_TruncateTable.Merge(m, src)
  6669  }
  6670  func (m *TruncateTable) XXX_Size() int {
  6671  	return m.ProtoSize()
  6672  }
  6673  func (m *TruncateTable) XXX_DiscardUnknown() {
  6674  	xxx_messageInfo_TruncateTable.DiscardUnknown(m)
  6675  }
  6676  
  6677  var xxx_messageInfo_TruncateTable proto.InternalMessageInfo
  6678  
  6679  func (m *TruncateTable) GetDatabase() string {
  6680  	if m != nil {
  6681  		return m.Database
  6682  	}
  6683  	return ""
  6684  }
  6685  
  6686  func (m *TruncateTable) GetTable() string {
  6687  	if m != nil {
  6688  		return m.Table
  6689  	}
  6690  	return ""
  6691  }
  6692  
  6693  func (m *TruncateTable) GetIndexTableNames() []string {
  6694  	if m != nil {
  6695  		return m.IndexTableNames
  6696  	}
  6697  	return nil
  6698  }
  6699  
  6700  func (m *TruncateTable) GetClusterTable() *ClusterTable {
  6701  	if m != nil {
  6702  		return m.ClusterTable
  6703  	}
  6704  	return nil
  6705  }
  6706  
  6707  func (m *TruncateTable) GetTableId() uint64 {
  6708  	if m != nil {
  6709  		return m.TableId
  6710  	}
  6711  	return 0
  6712  }
  6713  
  6714  func (m *TruncateTable) GetForeignTbl() []uint64 {
  6715  	if m != nil {
  6716  		return m.ForeignTbl
  6717  	}
  6718  	return nil
  6719  }
  6720  
  6721  type ClusterTable struct {
  6722  	IsClusterTable         bool     `protobuf:"varint,1,opt,name=is_cluster_table,json=isClusterTable,proto3" json:"is_cluster_table,omitempty"`
  6723  	AccountIDs             []uint32 `protobuf:"varint,2,rep,packed,name=accountIDs,proto3" json:"accountIDs,omitempty"`
  6724  	ColumnIndexOfAccountId int32    `protobuf:"varint,3,opt,name=column_index_of_accountId,json=columnIndexOfAccountId,proto3" json:"column_index_of_accountId,omitempty"`
  6725  	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
  6726  	XXX_unrecognized       []byte   `json:"-"`
  6727  	XXX_sizecache          int32    `json:"-"`
  6728  }
  6729  
  6730  func (m *ClusterTable) Reset()         { *m = ClusterTable{} }
  6731  func (m *ClusterTable) String() string { return proto.CompactTextString(m) }
  6732  func (*ClusterTable) ProtoMessage()    {}
  6733  func (*ClusterTable) Descriptor() ([]byte, []int) {
  6734  	return fileDescriptor_2d655ab2f7683c23, []int{68}
  6735  }
  6736  func (m *ClusterTable) XXX_Unmarshal(b []byte) error {
  6737  	return m.Unmarshal(b)
  6738  }
  6739  func (m *ClusterTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6740  	if deterministic {
  6741  		return xxx_messageInfo_ClusterTable.Marshal(b, m, deterministic)
  6742  	} else {
  6743  		b = b[:cap(b)]
  6744  		n, err := m.MarshalToSizedBuffer(b)
  6745  		if err != nil {
  6746  			return nil, err
  6747  		}
  6748  		return b[:n], nil
  6749  	}
  6750  }
  6751  func (m *ClusterTable) XXX_Merge(src proto.Message) {
  6752  	xxx_messageInfo_ClusterTable.Merge(m, src)
  6753  }
  6754  func (m *ClusterTable) XXX_Size() int {
  6755  	return m.ProtoSize()
  6756  }
  6757  func (m *ClusterTable) XXX_DiscardUnknown() {
  6758  	xxx_messageInfo_ClusterTable.DiscardUnknown(m)
  6759  }
  6760  
  6761  var xxx_messageInfo_ClusterTable proto.InternalMessageInfo
  6762  
  6763  func (m *ClusterTable) GetIsClusterTable() bool {
  6764  	if m != nil {
  6765  		return m.IsClusterTable
  6766  	}
  6767  	return false
  6768  }
  6769  
  6770  func (m *ClusterTable) GetAccountIDs() []uint32 {
  6771  	if m != nil {
  6772  		return m.AccountIDs
  6773  	}
  6774  	return nil
  6775  }
  6776  
  6777  func (m *ClusterTable) GetColumnIndexOfAccountId() int32 {
  6778  	if m != nil {
  6779  		return m.ColumnIndexOfAccountId
  6780  	}
  6781  	return 0
  6782  }
  6783  
  6784  type ShowVariables struct {
  6785  	Global               bool     `protobuf:"varint,1,opt,name=global,proto3" json:"global,omitempty"`
  6786  	Where                []*Expr  `protobuf:"bytes,2,rep,name=where,proto3" json:"where,omitempty"`
  6787  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6788  	XXX_unrecognized     []byte   `json:"-"`
  6789  	XXX_sizecache        int32    `json:"-"`
  6790  }
  6791  
  6792  func (m *ShowVariables) Reset()         { *m = ShowVariables{} }
  6793  func (m *ShowVariables) String() string { return proto.CompactTextString(m) }
  6794  func (*ShowVariables) ProtoMessage()    {}
  6795  func (*ShowVariables) Descriptor() ([]byte, []int) {
  6796  	return fileDescriptor_2d655ab2f7683c23, []int{69}
  6797  }
  6798  func (m *ShowVariables) XXX_Unmarshal(b []byte) error {
  6799  	return m.Unmarshal(b)
  6800  }
  6801  func (m *ShowVariables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6802  	if deterministic {
  6803  		return xxx_messageInfo_ShowVariables.Marshal(b, m, deterministic)
  6804  	} else {
  6805  		b = b[:cap(b)]
  6806  		n, err := m.MarshalToSizedBuffer(b)
  6807  		if err != nil {
  6808  			return nil, err
  6809  		}
  6810  		return b[:n], nil
  6811  	}
  6812  }
  6813  func (m *ShowVariables) XXX_Merge(src proto.Message) {
  6814  	xxx_messageInfo_ShowVariables.Merge(m, src)
  6815  }
  6816  func (m *ShowVariables) XXX_Size() int {
  6817  	return m.ProtoSize()
  6818  }
  6819  func (m *ShowVariables) XXX_DiscardUnknown() {
  6820  	xxx_messageInfo_ShowVariables.DiscardUnknown(m)
  6821  }
  6822  
  6823  var xxx_messageInfo_ShowVariables proto.InternalMessageInfo
  6824  
  6825  func (m *ShowVariables) GetGlobal() bool {
  6826  	if m != nil {
  6827  		return m.Global
  6828  	}
  6829  	return false
  6830  }
  6831  
  6832  func (m *ShowVariables) GetWhere() []*Expr {
  6833  	if m != nil {
  6834  		return m.Where
  6835  	}
  6836  	return nil
  6837  }
  6838  
  6839  type SetVariables struct {
  6840  	Items                []*SetVariablesItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
  6841  	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
  6842  	XXX_unrecognized     []byte              `json:"-"`
  6843  	XXX_sizecache        int32               `json:"-"`
  6844  }
  6845  
  6846  func (m *SetVariables) Reset()         { *m = SetVariables{} }
  6847  func (m *SetVariables) String() string { return proto.CompactTextString(m) }
  6848  func (*SetVariables) ProtoMessage()    {}
  6849  func (*SetVariables) Descriptor() ([]byte, []int) {
  6850  	return fileDescriptor_2d655ab2f7683c23, []int{70}
  6851  }
  6852  func (m *SetVariables) XXX_Unmarshal(b []byte) error {
  6853  	return m.Unmarshal(b)
  6854  }
  6855  func (m *SetVariables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6856  	if deterministic {
  6857  		return xxx_messageInfo_SetVariables.Marshal(b, m, deterministic)
  6858  	} else {
  6859  		b = b[:cap(b)]
  6860  		n, err := m.MarshalToSizedBuffer(b)
  6861  		if err != nil {
  6862  			return nil, err
  6863  		}
  6864  		return b[:n], nil
  6865  	}
  6866  }
  6867  func (m *SetVariables) XXX_Merge(src proto.Message) {
  6868  	xxx_messageInfo_SetVariables.Merge(m, src)
  6869  }
  6870  func (m *SetVariables) XXX_Size() int {
  6871  	return m.ProtoSize()
  6872  }
  6873  func (m *SetVariables) XXX_DiscardUnknown() {
  6874  	xxx_messageInfo_SetVariables.DiscardUnknown(m)
  6875  }
  6876  
  6877  var xxx_messageInfo_SetVariables proto.InternalMessageInfo
  6878  
  6879  func (m *SetVariables) GetItems() []*SetVariablesItem {
  6880  	if m != nil {
  6881  		return m.Items
  6882  	}
  6883  	return nil
  6884  }
  6885  
  6886  type SetVariablesItem struct {
  6887  	System               bool     `protobuf:"varint,1,opt,name=system,proto3" json:"system,omitempty"`
  6888  	Global               bool     `protobuf:"varint,2,opt,name=global,proto3" json:"global,omitempty"`
  6889  	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  6890  	Value                *Expr    `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
  6891  	Reserved             *Expr    `protobuf:"bytes,5,opt,name=reserved,proto3" json:"reserved,omitempty"`
  6892  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6893  	XXX_unrecognized     []byte   `json:"-"`
  6894  	XXX_sizecache        int32    `json:"-"`
  6895  }
  6896  
  6897  func (m *SetVariablesItem) Reset()         { *m = SetVariablesItem{} }
  6898  func (m *SetVariablesItem) String() string { return proto.CompactTextString(m) }
  6899  func (*SetVariablesItem) ProtoMessage()    {}
  6900  func (*SetVariablesItem) Descriptor() ([]byte, []int) {
  6901  	return fileDescriptor_2d655ab2f7683c23, []int{71}
  6902  }
  6903  func (m *SetVariablesItem) XXX_Unmarshal(b []byte) error {
  6904  	return m.Unmarshal(b)
  6905  }
  6906  func (m *SetVariablesItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6907  	if deterministic {
  6908  		return xxx_messageInfo_SetVariablesItem.Marshal(b, m, deterministic)
  6909  	} else {
  6910  		b = b[:cap(b)]
  6911  		n, err := m.MarshalToSizedBuffer(b)
  6912  		if err != nil {
  6913  			return nil, err
  6914  		}
  6915  		return b[:n], nil
  6916  	}
  6917  }
  6918  func (m *SetVariablesItem) XXX_Merge(src proto.Message) {
  6919  	xxx_messageInfo_SetVariablesItem.Merge(m, src)
  6920  }
  6921  func (m *SetVariablesItem) XXX_Size() int {
  6922  	return m.ProtoSize()
  6923  }
  6924  func (m *SetVariablesItem) XXX_DiscardUnknown() {
  6925  	xxx_messageInfo_SetVariablesItem.DiscardUnknown(m)
  6926  }
  6927  
  6928  var xxx_messageInfo_SetVariablesItem proto.InternalMessageInfo
  6929  
  6930  func (m *SetVariablesItem) GetSystem() bool {
  6931  	if m != nil {
  6932  		return m.System
  6933  	}
  6934  	return false
  6935  }
  6936  
  6937  func (m *SetVariablesItem) GetGlobal() bool {
  6938  	if m != nil {
  6939  		return m.Global
  6940  	}
  6941  	return false
  6942  }
  6943  
  6944  func (m *SetVariablesItem) GetName() string {
  6945  	if m != nil {
  6946  		return m.Name
  6947  	}
  6948  	return ""
  6949  }
  6950  
  6951  func (m *SetVariablesItem) GetValue() *Expr {
  6952  	if m != nil {
  6953  		return m.Value
  6954  	}
  6955  	return nil
  6956  }
  6957  
  6958  func (m *SetVariablesItem) GetReserved() *Expr {
  6959  	if m != nil {
  6960  		return m.Reserved
  6961  	}
  6962  	return nil
  6963  }
  6964  
  6965  type Prepare struct {
  6966  	Name                 string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  6967  	Schemas              []*ObjectRef `protobuf:"bytes,2,rep,name=schemas,proto3" json:"schemas,omitempty"`
  6968  	Plan                 *Plan        `protobuf:"bytes,3,opt,name=plan,proto3" json:"plan,omitempty"`
  6969  	ParamTypes           []int32      `protobuf:"varint,4,rep,packed,name=param_types,json=paramTypes,proto3" json:"param_types,omitempty"`
  6970  	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
  6971  	XXX_unrecognized     []byte       `json:"-"`
  6972  	XXX_sizecache        int32        `json:"-"`
  6973  }
  6974  
  6975  func (m *Prepare) Reset()         { *m = Prepare{} }
  6976  func (m *Prepare) String() string { return proto.CompactTextString(m) }
  6977  func (*Prepare) ProtoMessage()    {}
  6978  func (*Prepare) Descriptor() ([]byte, []int) {
  6979  	return fileDescriptor_2d655ab2f7683c23, []int{72}
  6980  }
  6981  func (m *Prepare) XXX_Unmarshal(b []byte) error {
  6982  	return m.Unmarshal(b)
  6983  }
  6984  func (m *Prepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6985  	if deterministic {
  6986  		return xxx_messageInfo_Prepare.Marshal(b, m, deterministic)
  6987  	} else {
  6988  		b = b[:cap(b)]
  6989  		n, err := m.MarshalToSizedBuffer(b)
  6990  		if err != nil {
  6991  			return nil, err
  6992  		}
  6993  		return b[:n], nil
  6994  	}
  6995  }
  6996  func (m *Prepare) XXX_Merge(src proto.Message) {
  6997  	xxx_messageInfo_Prepare.Merge(m, src)
  6998  }
  6999  func (m *Prepare) XXX_Size() int {
  7000  	return m.ProtoSize()
  7001  }
  7002  func (m *Prepare) XXX_DiscardUnknown() {
  7003  	xxx_messageInfo_Prepare.DiscardUnknown(m)
  7004  }
  7005  
  7006  var xxx_messageInfo_Prepare proto.InternalMessageInfo
  7007  
  7008  func (m *Prepare) GetName() string {
  7009  	if m != nil {
  7010  		return m.Name
  7011  	}
  7012  	return ""
  7013  }
  7014  
  7015  func (m *Prepare) GetSchemas() []*ObjectRef {
  7016  	if m != nil {
  7017  		return m.Schemas
  7018  	}
  7019  	return nil
  7020  }
  7021  
  7022  func (m *Prepare) GetPlan() *Plan {
  7023  	if m != nil {
  7024  		return m.Plan
  7025  	}
  7026  	return nil
  7027  }
  7028  
  7029  func (m *Prepare) GetParamTypes() []int32 {
  7030  	if m != nil {
  7031  		return m.ParamTypes
  7032  	}
  7033  	return nil
  7034  }
  7035  
  7036  type Execute struct {
  7037  	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  7038  	Args                 []*Expr  `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
  7039  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7040  	XXX_unrecognized     []byte   `json:"-"`
  7041  	XXX_sizecache        int32    `json:"-"`
  7042  }
  7043  
  7044  func (m *Execute) Reset()         { *m = Execute{} }
  7045  func (m *Execute) String() string { return proto.CompactTextString(m) }
  7046  func (*Execute) ProtoMessage()    {}
  7047  func (*Execute) Descriptor() ([]byte, []int) {
  7048  	return fileDescriptor_2d655ab2f7683c23, []int{73}
  7049  }
  7050  func (m *Execute) XXX_Unmarshal(b []byte) error {
  7051  	return m.Unmarshal(b)
  7052  }
  7053  func (m *Execute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7054  	if deterministic {
  7055  		return xxx_messageInfo_Execute.Marshal(b, m, deterministic)
  7056  	} else {
  7057  		b = b[:cap(b)]
  7058  		n, err := m.MarshalToSizedBuffer(b)
  7059  		if err != nil {
  7060  			return nil, err
  7061  		}
  7062  		return b[:n], nil
  7063  	}
  7064  }
  7065  func (m *Execute) XXX_Merge(src proto.Message) {
  7066  	xxx_messageInfo_Execute.Merge(m, src)
  7067  }
  7068  func (m *Execute) XXX_Size() int {
  7069  	return m.ProtoSize()
  7070  }
  7071  func (m *Execute) XXX_DiscardUnknown() {
  7072  	xxx_messageInfo_Execute.DiscardUnknown(m)
  7073  }
  7074  
  7075  var xxx_messageInfo_Execute proto.InternalMessageInfo
  7076  
  7077  func (m *Execute) GetName() string {
  7078  	if m != nil {
  7079  		return m.Name
  7080  	}
  7081  	return ""
  7082  }
  7083  
  7084  func (m *Execute) GetArgs() []*Expr {
  7085  	if m != nil {
  7086  		return m.Args
  7087  	}
  7088  	return nil
  7089  }
  7090  
  7091  type Deallocate struct {
  7092  	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  7093  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7094  	XXX_unrecognized     []byte   `json:"-"`
  7095  	XXX_sizecache        int32    `json:"-"`
  7096  }
  7097  
  7098  func (m *Deallocate) Reset()         { *m = Deallocate{} }
  7099  func (m *Deallocate) String() string { return proto.CompactTextString(m) }
  7100  func (*Deallocate) ProtoMessage()    {}
  7101  func (*Deallocate) Descriptor() ([]byte, []int) {
  7102  	return fileDescriptor_2d655ab2f7683c23, []int{74}
  7103  }
  7104  func (m *Deallocate) XXX_Unmarshal(b []byte) error {
  7105  	return m.Unmarshal(b)
  7106  }
  7107  func (m *Deallocate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7108  	if deterministic {
  7109  		return xxx_messageInfo_Deallocate.Marshal(b, m, deterministic)
  7110  	} else {
  7111  		b = b[:cap(b)]
  7112  		n, err := m.MarshalToSizedBuffer(b)
  7113  		if err != nil {
  7114  			return nil, err
  7115  		}
  7116  		return b[:n], nil
  7117  	}
  7118  }
  7119  func (m *Deallocate) XXX_Merge(src proto.Message) {
  7120  	xxx_messageInfo_Deallocate.Merge(m, src)
  7121  }
  7122  func (m *Deallocate) XXX_Size() int {
  7123  	return m.ProtoSize()
  7124  }
  7125  func (m *Deallocate) XXX_DiscardUnknown() {
  7126  	xxx_messageInfo_Deallocate.DiscardUnknown(m)
  7127  }
  7128  
  7129  var xxx_messageInfo_Deallocate proto.InternalMessageInfo
  7130  
  7131  func (m *Deallocate) GetName() string {
  7132  	if m != nil {
  7133  		return m.Name
  7134  	}
  7135  	return ""
  7136  }
  7137  
  7138  func init() {
  7139  	proto.RegisterEnum("plan.CompressType", CompressType_name, CompressType_value)
  7140  	proto.RegisterEnum("plan.PartitionType", PartitionType_name, PartitionType_value)
  7141  	proto.RegisterEnum("plan.TransationCompletionType", TransationCompletionType_name, TransationCompletionType_value)
  7142  	proto.RegisterEnum("plan.SubqueryRef_Type", SubqueryRef_Type_name, SubqueryRef_Type_value)
  7143  	proto.RegisterEnum("plan.Function_FuncFlag", Function_FuncFlag_name, Function_FuncFlag_value)
  7144  	proto.RegisterEnum("plan.ForeignKeyDef_RefAction", ForeignKeyDef_RefAction_name, ForeignKeyDef_RefAction_value)
  7145  	proto.RegisterEnum("plan.OrderBySpec_OrderByFlag", OrderBySpec_OrderByFlag_name, OrderBySpec_OrderByFlag_value)
  7146  	proto.RegisterEnum("plan.Node_NodeType", Node_NodeType_name, Node_NodeType_value)
  7147  	proto.RegisterEnum("plan.Node_JoinFlag", Node_JoinFlag_name, Node_JoinFlag_value)
  7148  	proto.RegisterEnum("plan.Node_AggMode", Node_AggMode_name, Node_AggMode_value)
  7149  	proto.RegisterEnum("plan.Query_StatementType", Query_StatementType_name, Query_StatementType_value)
  7150  	proto.RegisterEnum("plan.TransationControl_TclType", TransationControl_TclType_name, TransationControl_TclType_value)
  7151  	proto.RegisterEnum("plan.TransationBegin_TransationMode", TransationBegin_TransationMode_name, TransationBegin_TransationMode_value)
  7152  	proto.RegisterEnum("plan.DataControl_DclType", DataControl_DclType_name, DataControl_DclType_value)
  7153  	proto.RegisterEnum("plan.DataDefinition_DdlType", DataDefinition_DdlType_name, DataDefinition_DdlType_value)
  7154  	proto.RegisterType((*Type)(nil), "plan.Type")
  7155  	proto.RegisterType((*Const)(nil), "plan.Const")
  7156  	proto.RegisterType((*ParamRef)(nil), "plan.ParamRef")
  7157  	proto.RegisterType((*VarRef)(nil), "plan.VarRef")
  7158  	proto.RegisterType((*ColRef)(nil), "plan.ColRef")
  7159  	proto.RegisterType((*RawColRef)(nil), "plan.RawColRef")
  7160  	proto.RegisterType((*CorrColRef)(nil), "plan.CorrColRef")
  7161  	proto.RegisterType((*ExprList)(nil), "plan.ExprList")
  7162  	proto.RegisterType((*MaxValue)(nil), "plan.MaxValue")
  7163  	proto.RegisterType((*TargetType)(nil), "plan.TargetType")
  7164  	proto.RegisterType((*SubqueryRef)(nil), "plan.SubqueryRef")
  7165  	proto.RegisterType((*ObjectRef)(nil), "plan.ObjectRef")
  7166  	proto.RegisterType((*Function)(nil), "plan.Function")
  7167  	proto.RegisterType((*Expr)(nil), "plan.Expr")
  7168  	proto.RegisterType((*Decimal64)(nil), "plan.decimal64")
  7169  	proto.RegisterType((*Decimal128)(nil), "plan.decimal128")
  7170  	proto.RegisterType((*ResultColDef)(nil), "plan.ResultColDef")
  7171  	proto.RegisterType((*ColDef)(nil), "plan.ColDef")
  7172  	proto.RegisterType((*Default)(nil), "plan.Default")
  7173  	proto.RegisterType((*OnUpdate)(nil), "plan.OnUpdate")
  7174  	proto.RegisterType((*IndexOption)(nil), "plan.IndexOption")
  7175  	proto.RegisterType((*PrimaryKeyDef)(nil), "plan.PrimaryKeyDef")
  7176  	proto.RegisterType((*IndexDef)(nil), "plan.IndexDef")
  7177  	proto.RegisterType((*ForeignKeyDef)(nil), "plan.ForeignKeyDef")
  7178  	proto.RegisterType((*CheckDef)(nil), "plan.CheckDef")
  7179  	proto.RegisterType((*ClusterByDef)(nil), "plan.ClusterByDef")
  7180  	proto.RegisterType((*PropertyDef)(nil), "plan.PropertyDef")
  7181  	proto.RegisterType((*Property)(nil), "plan.Property")
  7182  	proto.RegisterType((*PropertiesDef)(nil), "plan.PropertiesDef")
  7183  	proto.RegisterType((*PartitionByDef)(nil), "plan.PartitionByDef")
  7184  	proto.RegisterType((*PartitionExpr)(nil), "plan.PartitionExpr")
  7185  	proto.RegisterType((*PartitionColumns)(nil), "plan.PartitionColumns")
  7186  	proto.RegisterType((*PartitionItem)(nil), "plan.PartitionItem")
  7187  	proto.RegisterType((*ViewDef)(nil), "plan.ViewDef")
  7188  	proto.RegisterType((*TableDef)(nil), "plan.TableDef")
  7189  	proto.RegisterMapType((map[string]int32)(nil), "plan.TableDef.Name2colIndexEntry")
  7190  	proto.RegisterType((*TableDef_DefType)(nil), "plan.TableDef.DefType")
  7191  	proto.RegisterType((*TableFunction)(nil), "plan.TableFunction")
  7192  	proto.RegisterType((*Stats)(nil), "plan.Stats")
  7193  	proto.RegisterType((*ColData)(nil), "plan.ColData")
  7194  	proto.RegisterType((*RowsetData)(nil), "plan.RowsetData")
  7195  	proto.RegisterType((*OrderBySpec)(nil), "plan.OrderBySpec")
  7196  	proto.RegisterType((*WindowSpec)(nil), "plan.WindowSpec")
  7197  	proto.RegisterType((*InsertCtx)(nil), "plan.InsertCtx")
  7198  	proto.RegisterMapType((map[string]int32)(nil), "plan.InsertCtx.ParentIdxEntry")
  7199  	proto.RegisterType((*UpdateCtx)(nil), "plan.UpdateCtx")
  7200  	proto.RegisterType((*AnalyzeInfo)(nil), "plan.AnalyzeInfo")
  7201  	proto.RegisterType((*Node)(nil), "plan.Node")
  7202  	proto.RegisterType((*IdList)(nil), "plan.IdList")
  7203  	proto.RegisterType((*ColPosMap)(nil), "plan.ColPosMap")
  7204  	proto.RegisterMapType((map[string]int32)(nil), "plan.ColPosMap.MapEntry")
  7205  	proto.RegisterType((*DeleteCtx)(nil), "plan.DeleteCtx")
  7206  	proto.RegisterType((*Query)(nil), "plan.Query")
  7207  	proto.RegisterType((*TransationControl)(nil), "plan.TransationControl")
  7208  	proto.RegisterType((*TransationBegin)(nil), "plan.TransationBegin")
  7209  	proto.RegisterType((*TransationCommit)(nil), "plan.TransationCommit")
  7210  	proto.RegisterType((*TransationRollback)(nil), "plan.TransationRollback")
  7211  	proto.RegisterType((*Plan)(nil), "plan.Plan")
  7212  	proto.RegisterType((*Column)(nil), "plan.column")
  7213  	proto.RegisterType((*DataControl)(nil), "plan.DataControl")
  7214  	proto.RegisterType((*DataDefinition)(nil), "plan.DataDefinition")
  7215  	proto.RegisterType((*CreateDatabase)(nil), "plan.CreateDatabase")
  7216  	proto.RegisterType((*AlterDatabase)(nil), "plan.AlterDatabase")
  7217  	proto.RegisterType((*DropDatabase)(nil), "plan.DropDatabase")
  7218  	proto.RegisterType((*CreateTable)(nil), "plan.CreateTable")
  7219  	proto.RegisterType((*CreateTable_FkColName)(nil), "plan.CreateTable.FkColName")
  7220  	proto.RegisterType((*AlterTable)(nil), "plan.AlterTable")
  7221  	proto.RegisterType((*AlterView)(nil), "plan.AlterView")
  7222  	proto.RegisterType((*DropTable)(nil), "plan.DropTable")
  7223  	proto.RegisterType((*CreateIndex)(nil), "plan.CreateIndex")
  7224  	proto.RegisterType((*AlterIndex)(nil), "plan.AlterIndex")
  7225  	proto.RegisterType((*DropIndex)(nil), "plan.DropIndex")
  7226  	proto.RegisterType((*TruncateTable)(nil), "plan.TruncateTable")
  7227  	proto.RegisterType((*ClusterTable)(nil), "plan.ClusterTable")
  7228  	proto.RegisterType((*ShowVariables)(nil), "plan.ShowVariables")
  7229  	proto.RegisterType((*SetVariables)(nil), "plan.SetVariables")
  7230  	proto.RegisterType((*SetVariablesItem)(nil), "plan.SetVariablesItem")
  7231  	proto.RegisterType((*Prepare)(nil), "plan.Prepare")
  7232  	proto.RegisterType((*Execute)(nil), "plan.Execute")
  7233  	proto.RegisterType((*Deallocate)(nil), "plan.Deallocate")
  7234  }
  7235  
  7236  func init() { proto.RegisterFile("plan.proto", fileDescriptor_2d655ab2f7683c23) }
  7237  
  7238  var fileDescriptor_2d655ab2f7683c23 = []byte{
  7239  	// 6499 bytes of a gzipped FileDescriptorProto
  7240  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x7c, 0x4b, 0x8f, 0x1b, 0xc7,
  7241  	0x76, 0xf0, 0xf0, 0xdd, 0x3c, 0x24, 0x67, 0x5a, 0xa5, 0x17, 0x25, 0xcb, 0xf2, 0xa8, 0x25, 0xdb,
  7242  	0xb2, 0x6c, 0xcb, 0xd7, 0xe3, 0xb7, 0x3f, 0x5f, 0x5c, 0x73, 0x48, 0x6a, 0x86, 0x36, 0x87, 0x9c,
  7243  	0x5b, 0xe4, 0x48, 0xf6, 0x77, 0xf1, 0xa1, 0xd1, 0x64, 0x37, 0x39, 0xad, 0x69, 0x76, 0xd3, 0xdd,
  7244  	0x4d, 0xcd, 0x8c, 0x81, 0x0f, 0x30, 0x10, 0x20, 0x40, 0x56, 0x59, 0x64, 0x91, 0x65, 0x2e, 0x72,
  7245  	0x37, 0xc9, 0xdd, 0x04, 0xf9, 0x05, 0x01, 0xb2, 0x49, 0x2e, 0x90, 0x45, 0x82, 0x3c, 0x10, 0x20,
  7246  	0x9b, 0xc0, 0xf9, 0x01, 0x41, 0x90, 0x65, 0x82, 0x20, 0x38, 0xa7, 0xaa, 0x9b, 0xdd, 0x33, 0x94,
  7247  	0x25, 0x0b, 0x77, 0x23, 0x75, 0x9d, 0x57, 0x55, 0x9d, 0x3a, 0x75, 0x1e, 0x55, 0xc5, 0x01, 0x98,
  7248  	0x3b, 0x86, 0x7b, 0x7f, 0xee, 0x7b, 0xa1, 0xc7, 0xf2, 0xf8, 0x7d, 0xfd, 0xed, 0xa9, 0x1d, 0x1e,
  7249  	0x2e, 0x46, 0xf7, 0xc7, 0xde, 0xec, 0x9d, 0xa9, 0x37, 0xf5, 0xde, 0x21, 0xe4, 0x68, 0x31, 0xa1,
  7250  	0x16, 0x35, 0xe8, 0x4b, 0x30, 0x69, 0xbf, 0xc9, 0x40, 0x7e, 0x78, 0x3a, 0xb7, 0xd8, 0x3a, 0x64,
  7251  	0x6d, 0xb3, 0x9e, 0xd9, 0xcc, 0xdc, 0x2d, 0xf0, 0xac, 0x6d, 0xb2, 0x4d, 0xa8, 0xb8, 0x5e, 0xd8,
  7252  	0x5b, 0x38, 0x8e, 0x31, 0x72, 0xac, 0x7a, 0x76, 0x33, 0x73, 0x57, 0xe1, 0x49, 0x10, 0x7b, 0x09,
  7253  	0xca, 0xc6, 0x22, 0xf4, 0x74, 0xdb, 0x1d, 0xfb, 0xf5, 0x1c, 0xe1, 0x15, 0x04, 0x74, 0xdc, 0xb1,
  7254  	0xcf, 0x2e, 0x41, 0xe1, 0xd8, 0x36, 0xc3, 0xc3, 0x7a, 0x9e, 0x24, 0x8a, 0x06, 0xbb, 0x01, 0xe5,
  7255  	0xb9, 0x6f, 0x8d, 0xed, 0xc0, 0xf6, 0xdc, 0x7a, 0x81, 0x30, 0x4b, 0x00, 0x63, 0x90, 0x0f, 0xec,
  7256  	0x6f, 0xad, 0x7a, 0x91, 0x10, 0xf4, 0x8d, 0x72, 0x82, 0xb1, 0xe1, 0x58, 0xf5, 0x92, 0x90, 0x43,
  7257  	0x0d, 0x84, 0x86, 0x34, 0x2c, 0x65, 0x33, 0x73, 0xb7, 0xcc, 0x45, 0x43, 0xfb, 0xbb, 0x02, 0x14,
  7258  	0x9a, 0x9e, 0x1b, 0x84, 0xec, 0x0a, 0x14, 0xed, 0xc0, 0x5d, 0x38, 0x0e, 0x4d, 0x48, 0xe1, 0xb2,
  7259  	0xc5, 0xae, 0x40, 0xc1, 0xfe, 0xf8, 0x89, 0xe1, 0xd0, 0x74, 0x0a, 0xbb, 0x6b, 0x5c, 0x34, 0x59,
  7260  	0x1d, 0x8a, 0xf6, 0xbb, 0x1f, 0x22, 0x22, 0x27, 0x11, 0xb2, 0x4d, 0x98, 0xf7, 0xb6, 0x10, 0x93,
  7261  	0x8f, 0x31, 0xd4, 0x26, 0xcc, 0x87, 0xef, 0x23, 0x06, 0x27, 0x92, 0x23, 0x0c, 0xb5, 0xb1, 0x97,
  7262  	0x05, 0xf5, 0x82, 0x13, 0xa9, 0x61, 0x2f, 0x8b, 0xa8, 0x97, 0x85, 0xe8, 0xa5, 0x24, 0x11, 0xb2,
  7263  	0x4d, 0x18, 0xd1, 0x8b, 0x12, 0x63, 0xe2, 0x5e, 0x16, 0xa2, 0x97, 0xf2, 0x66, 0xe6, 0x6e, 0x9e,
  7264  	0x30, 0xa2, 0x97, 0x4b, 0x90, 0x37, 0x11, 0x0e, 0x9b, 0x99, 0xbb, 0x99, 0xdd, 0x35, 0x4e, 0x2d,
  7265  	0x84, 0x06, 0x08, 0xad, 0xa0, 0x62, 0x10, 0x1a, 0x48, 0xe8, 0x08, 0xa1, 0x55, 0xd4, 0x06, 0x42,
  7266  	0x47, 0x12, 0x3a, 0x41, 0x68, 0x6d, 0x33, 0x73, 0x37, 0x8b, 0x50, 0x6c, 0xb1, 0xeb, 0x50, 0x32,
  7267  	0x8d, 0xd0, 0x42, 0xc4, 0xba, 0x9c, 0x72, 0x04, 0x40, 0x5c, 0x68, 0xcf, 0x08, 0xb7, 0x21, 0x27,
  7268  	0x1d, 0x01, 0x98, 0x06, 0x15, 0x24, 0x8b, 0xf0, 0xaa, 0xc4, 0x27, 0x81, 0xec, 0x03, 0xa8, 0x9a,
  7269  	0xd6, 0xd8, 0x9e, 0x19, 0x8e, 0x98, 0xd3, 0x85, 0xcd, 0xcc, 0xdd, 0xca, 0xd6, 0xc6, 0x7d, 0xb2,
  7270  	0xe2, 0x18, 0xb3, 0xbb, 0xc6, 0x53, 0x64, 0xec, 0x63, 0xa8, 0xc9, 0xf6, 0xbb, 0x5b, 0xa4, 0x58,
  7271  	0x46, 0x7c, 0x6a, 0x8a, 0xef, 0xdd, 0xad, 0x8f, 0x77, 0xd7, 0x78, 0x9a, 0x90, 0xdd, 0x81, 0x2a,
  7272  	0xf6, 0x1d, 0x84, 0xc6, 0x6c, 0x8e, 0x8c, 0x17, 0xe5, 0xa8, 0x52, 0x50, 0x9c, 0xd6, 0xe3, 0xc0,
  7273  	0x73, 0x91, 0xe0, 0x92, 0xd4, 0x5b, 0x04, 0x60, 0x9b, 0x00, 0xa6, 0x35, 0x31, 0x16, 0x4e, 0x88,
  7274  	0xe8, 0xcb, 0x52, 0x81, 0x09, 0x18, 0xbb, 0x09, 0xe5, 0xc5, 0x1c, 0x67, 0xf9, 0xd0, 0x70, 0xea,
  7275  	0x57, 0x24, 0xc1, 0x12, 0x84, 0xc6, 0x6a, 0x07, 0xdb, 0xb6, 0x5b, 0xbf, 0x4a, 0xb6, 0x28, 0x1a,
  7276  	0xec, 0x06, 0xe4, 0x02, 0x7f, 0x5c, 0xaf, 0xd3, 0x4c, 0x40, 0xcc, 0xa4, 0x7d, 0x32, 0xf7, 0x39,
  7277  	0x82, 0xb7, 0x4b, 0x50, 0x78, 0x62, 0x38, 0x0b, 0x4b, 0xbb, 0x01, 0xca, 0xbe, 0xe1, 0x1b, 0x33,
  7278  	0x6e, 0x4d, 0x98, 0x0a, 0xb9, 0xb9, 0x17, 0xc8, 0x3d, 0x8a, 0x9f, 0x5a, 0x17, 0x8a, 0x0f, 0x0d,
  7279  	0x1f, 0x71, 0x0c, 0xf2, 0xae, 0x31, 0xb3, 0x08, 0x59, 0xe6, 0xf4, 0x8d, 0xbb, 0x20, 0x38, 0x0d,
  7280  	0x42, 0x6b, 0x26, 0x77, 0xaf, 0x6c, 0x21, 0x7c, 0xea, 0x78, 0x23, 0x69, 0xed, 0x0a, 0x97, 0x2d,
  7281  	0xad, 0x07, 0xc5, 0xa6, 0xe7, 0xa0, 0xb4, 0xab, 0x50, 0xf2, 0x2d, 0x47, 0x5f, 0xf6, 0x56, 0xf4,
  7282  	0x2d, 0x67, 0xdf, 0x0b, 0x10, 0x31, 0xf6, 0x04, 0x22, 0x2b, 0x10, 0x63, 0x8f, 0x10, 0x51, 0xff,
  7283  	0xb9, 0x65, 0xff, 0xda, 0x27, 0x50, 0xe6, 0xc6, 0xb1, 0x14, 0x79, 0x19, 0x8a, 0xe1, 0xc8, 0xd1,
  7284  	0xa5, 0x8f, 0xc9, 0xf3, 0x42, 0x38, 0x72, 0x3a, 0x26, 0x82, 0x51, 0xa0, 0x6d, 0x92, 0xbc, 0x3c,
  7285  	0x2f, 0x8c, 0x3d, 0xa7, 0x63, 0x6a, 0x43, 0x80, 0xa6, 0xe7, 0xfb, 0x2f, 0x3c, 0x9c, 0x4b, 0x50,
  7286  	0x30, 0xad, 0x79, 0x78, 0x28, 0xf6, 0x33, 0x17, 0x0d, 0xed, 0x1e, 0x28, 0xa8, 0xe2, 0xae, 0x1d,
  7287  	0x84, 0xec, 0x26, 0xe4, 0x1d, 0x3b, 0x08, 0xeb, 0x99, 0xcd, 0xdc, 0x99, 0x05, 0x20, 0xb8, 0xb6,
  7288  	0x09, 0xca, 0x9e, 0x71, 0xf2, 0x10, 0x17, 0x01, 0xa5, 0xd1, 0x6a, 0x48, 0xed, 0xca, 0xa5, 0xb9,
  7289  	0x07, 0x30, 0x34, 0xfc, 0xa9, 0x15, 0x92, 0xff, 0xbc, 0x01, 0xb9, 0xf0, 0x74, 0x4e, 0x14, 0xb1,
  7290  	0x38, 0x44, 0x70, 0x04, 0x6b, 0xff, 0x99, 0x81, 0xca, 0x60, 0x31, 0xfa, 0x66, 0x61, 0xf9, 0xa7,
  7291  	0x38, 0xa3, 0xbb, 0x4b, 0xea, 0xf5, 0xad, 0x2b, 0x82, 0x3a, 0x81, 0x5f, 0x72, 0xe2, 0x14, 0x5d,
  7292  	0xcf, 0xb4, 0x22, 0x0d, 0x15, 0x78, 0x11, 0x9b, 0x1d, 0x13, 0x1d, 0xb6, 0x37, 0x97, 0xfa, 0xce,
  7293  	0x7a, 0x73, 0xb6, 0x09, 0x85, 0xf1, 0xa1, 0xed, 0x98, 0xe4, 0xa8, 0xd2, 0x33, 0x12, 0x08, 0x76,
  7294  	0x0d, 0x14, 0xdf, 0x3b, 0xd6, 0xc9, 0xc7, 0x0a, 0xe7, 0x5b, 0xf2, 0xbd, 0xe3, 0x81, 0xfd, 0xad,
  7295  	0xa5, 0x0d, 0x65, 0x14, 0x00, 0x28, 0x0e, 0x9a, 0x8d, 0x6e, 0x83, 0xab, 0x6b, 0xf8, 0xdd, 0xfe,
  7296  	0xaa, 0x33, 0x18, 0x0e, 0xd4, 0x0c, 0x5b, 0x07, 0xe8, 0xf5, 0x87, 0xba, 0x6c, 0x67, 0x59, 0x11,
  7297  	0xb2, 0x9d, 0x9e, 0x9a, 0x43, 0x1a, 0x84, 0x77, 0x7a, 0x6a, 0x9e, 0x95, 0x20, 0xd7, 0xe8, 0x7d,
  7298  	0xad, 0x16, 0xe8, 0xa3, 0xdb, 0x55, 0x8b, 0xda, 0xdf, 0x67, 0xa0, 0xdc, 0x1f, 0x3d, 0xb6, 0xc6,
  7299  	0x21, 0xce, 0x19, 0xcd, 0xd1, 0xf2, 0x9f, 0x58, 0x3e, 0x4d, 0x3b, 0xc7, 0x65, 0x0b, 0x27, 0x62,
  7300  	0x8e, 0x68, 0x72, 0x39, 0x9e, 0x35, 0x47, 0x44, 0x37, 0x3e, 0xb4, 0x66, 0x06, 0x4d, 0x0e, 0xe9,
  7301  	0xa8, 0x85, 0xe6, 0xef, 0x8d, 0x1e, 0xd3, 0xf4, 0x72, 0x1c, 0x3f, 0xd9, 0x2b, 0x50, 0x11, 0x32,
  7302  	0x74, 0xb2, 0xbd, 0x02, 0xe9, 0x02, 0x04, 0xa8, 0x87, 0x3b, 0xe0, 0x2a, 0x94, 0xcc, 0x91, 0x40,
  7303  	0x16, 0x09, 0x59, 0x34, 0x47, 0x84, 0x40, 0x4e, 0x92, 0x2a, 0x90, 0x25, 0xc9, 0x49, 0x20, 0x22,
  7304  	0xb8, 0x06, 0x8a, 0x37, 0x7a, 0x2c, 0xb0, 0x22, 0xc8, 0x94, 0xbc, 0xd1, 0x63, 0x44, 0x69, 0xff,
  7305  	0x91, 0x01, 0xe5, 0xc1, 0xc2, 0x1d, 0x87, 0x18, 0xb3, 0x6e, 0x43, 0x7e, 0xb2, 0x70, 0xc7, 0x72,
  7306  	0xdd, 0xa5, 0x27, 0x8b, 0xe7, 0xcc, 0x09, 0x89, 0xb6, 0x66, 0xf8, 0x53, 0xb4, 0xd1, 0x73, 0xb6,
  7307  	0x86, 0x70, 0xed, 0x8f, 0xa4, 0xc4, 0x07, 0x8e, 0x31, 0x65, 0x0a, 0xe4, 0x7b, 0xfd, 0x5e, 0x5b,
  7308  	0x5d, 0x63, 0x55, 0x50, 0x3a, 0xbd, 0x61, 0x9b, 0xf7, 0x1a, 0x5d, 0x35, 0x43, 0x4b, 0x33, 0x6c,
  7309  	0x6c, 0x77, 0xdb, 0x6a, 0x16, 0x31, 0x0f, 0xfb, 0xdd, 0xc6, 0xb0, 0xd3, 0x6d, 0xab, 0x79, 0x81,
  7310  	0xe1, 0x9d, 0xe6, 0x50, 0x55, 0x98, 0x0a, 0xd5, 0x7d, 0xde, 0x6f, 0x1d, 0x34, 0xdb, 0x7a, 0xef,
  7311  	0xa0, 0xdb, 0x55, 0x55, 0x76, 0x11, 0x36, 0x62, 0x48, 0x5f, 0x00, 0x37, 0x91, 0xe5, 0x61, 0x83,
  7312  	0x37, 0xf8, 0x8e, 0xfa, 0x39, 0x53, 0x20, 0xd7, 0xd8, 0xd9, 0x51, 0xbf, 0xcb, 0xe0, 0xd7, 0xa3,
  7313  	0x4e, 0x4f, 0xfd, 0x2e, 0xcb, 0xd6, 0xa1, 0xbc, 0xd7, 0xef, 0xf5, 0x87, 0xfd, 0x5e, 0xa7, 0xa9,
  7314  	0x7e, 0x97, 0xd7, 0xfe, 0x34, 0x07, 0x79, 0x1c, 0xf0, 0x0f, 0x9b, 0x39, 0x7b, 0x09, 0x32, 0x63,
  7315  	0x5a, 0xc9, 0xca, 0x56, 0x45, 0xe0, 0x28, 0x1e, 0xef, 0xae, 0xf1, 0x0c, 0x6a, 0x21, 0x23, 0xec,
  7316  	0xb5, 0xb2, 0xb5, 0x2e, 0x90, 0x91, 0x67, 0x43, 0xfc, 0x9c, 0xdd, 0x80, 0xcc, 0x13, 0x69, 0xbc,
  7317  	0x55, 0x81, 0x17, 0xbe, 0x0d, 0xb1, 0x4f, 0xd8, 0x26, 0xe4, 0xc6, 0x9e, 0x88, 0xb5, 0x31, 0x5e,
  7318  	0xb8, 0x87, 0xdd, 0x35, 0x8e, 0x28, 0x76, 0x1b, 0x72, 0xbe, 0x71, 0x4c, 0x0b, 0x1d, 0xaf, 0x44,
  7319  	0xec, 0x7f, 0x90, 0xc8, 0x37, 0x8e, 0x71, 0x10, 0x13, 0x5a, 0xee, 0x78, 0x10, 0xd1, 0x52, 0x62,
  7320  	0x37, 0x13, 0xf6, 0x2a, 0xe4, 0x82, 0xc5, 0x88, 0x96, 0xbc, 0xb2, 0x75, 0xe1, 0xdc, 0xc6, 0x44,
  7321  	0x31, 0xc1, 0x62, 0xc4, 0x5e, 0x83, 0xfc, 0xd8, 0xf3, 0x7d, 0x0a, 0xca, 0x71, 0x20, 0x5a, 0x7a,
  7322  	0x2c, 0x0c, 0xa6, 0x88, 0x67, 0x9b, 0x90, 0x09, 0x29, 0x42, 0xc7, 0x44, 0x4b, 0x97, 0x81, 0x1d,
  7323  	0x86, 0xec, 0x8e, 0xf4, 0x43, 0x95, 0xe4, 0x98, 0x22, 0x2f, 0x85, 0x72, 0x10, 0xcb, 0x34, 0xc8,
  7324  	0xcd, 0x8c, 0x13, 0x8a, 0xdf, 0x31, 0x51, 0xe4, 0x9e, 0x70, 0x4c, 0x33, 0xe3, 0x64, 0xbb, 0x08,
  7325  	0x79, 0xeb, 0x64, 0xee, 0x6b, 0xd7, 0xa0, 0x1c, 0x47, 0x4f, 0x56, 0x85, 0x8c, 0x21, 0xf7, 0x5b,
  7326  	0xc6, 0xd0, 0xee, 0x62, 0x30, 0x8b, 0xe2, 0x63, 0x1a, 0x87, 0xad, 0x68, 0x17, 0x66, 0x46, 0xda,
  7327  	0x67, 0x50, 0xe5, 0x56, 0xb0, 0x70, 0xc2, 0xa6, 0xe7, 0xb4, 0xac, 0x09, 0x7b, 0x0b, 0x20, 0x6e,
  7328  	0x07, 0xd2, 0x69, 0x2e, 0x57, 0xa1, 0x65, 0x4d, 0x78, 0x02, 0xaf, 0xfd, 0x4e, 0x8e, 0x42, 0x49,
  7329  	0x4b, 0xf8, 0x7d, 0xe9, 0xe0, 0x33, 0x09, 0x07, 0x1f, 0xc7, 0x8b, 0x6c, 0x3a, 0x5e, 0x1d, 0xda,
  7330  	0xa6, 0x69, 0xb9, 0x51, 0x5c, 0x12, 0x2d, 0x76, 0x07, 0x72, 0x86, 0x33, 0x25, 0xd3, 0x58, 0xdf,
  7331  	0x62, 0x51, 0xa7, 0xb3, 0xb9, 0x6f, 0x05, 0x81, 0xb0, 0x3d, 0xc3, 0x99, 0x46, 0x96, 0x59, 0x58,
  7332  	0x6d, 0x99, 0xd7, 0x40, 0x71, 0xbd, 0x50, 0xa7, 0x9c, 0xb0, 0x48, 0xd2, 0x4b, 0x32, 0x97, 0x65,
  7333  	0xaf, 0x43, 0x49, 0x46, 0x73, 0x69, 0x18, 0x35, 0xc1, 0xdc, 0x12, 0x40, 0x1e, 0x61, 0x59, 0x1d,
  7334  	0xa3, 0xcd, 0x6c, 0x66, 0xb9, 0x61, 0xe4, 0x12, 0x64, 0x93, 0xbd, 0x09, 0x65, 0xcf, 0xd5, 0x45,
  7335  	0xc8, 0x97, 0x36, 0x21, 0x17, 0xa9, 0xef, 0x1e, 0x10, 0x94, 0x2b, 0x9e, 0xfc, 0xc2, 0xa1, 0x38,
  7336  	0xde, 0xb1, 0x3e, 0x36, 0x7c, 0x93, 0x4c, 0x43, 0xe1, 0x25, 0xc7, 0x3b, 0x6e, 0x1a, 0xbe, 0x89,
  7337  	0xf9, 0xf1, 0xd8, 0x59, 0x04, 0xa1, 0xe5, 0x6f, 0x9f, 0x92, 0x45, 0x28, 0x7c, 0x09, 0xc0, 0xfe,
  7338  	0xe7, 0xbe, 0x3d, 0x33, 0xfc, 0x53, 0x91, 0xc8, 0xf1, 0xa8, 0x89, 0x01, 0x6a, 0x7e, 0x64, 0x9b,
  7339  	0x27, 0x94, 0xca, 0x15, 0xb8, 0x68, 0x68, 0xdf, 0x40, 0x49, 0xce, 0x01, 0x3d, 0x10, 0xda, 0x46,
  7340  	0x7a, 0xdf, 0x0a, 0x0f, 0x84, 0x70, 0x76, 0x1b, 0x6a, 0x9e, 0x6f, 0x4f, 0x6d, 0x57, 0x0f, 0x42,
  7341  	0xdf, 0x76, 0xa7, 0x72, 0x5d, 0xaa, 0x02, 0x38, 0x20, 0x18, 0xbb, 0x05, 0x55, 0xd4, 0x9f, 0x6e,
  7342  	0x8c, 0x6c, 0xc7, 0x0e, 0x4f, 0xe5, 0x2a, 0x55, 0x10, 0xd6, 0x10, 0x20, 0xad, 0x0f, 0x4a, 0x34,
  7343  	0xe3, 0xdf, 0x4a, 0x9f, 0xda, 0xff, 0x81, 0x4a, 0xc7, 0x35, 0xad, 0x93, 0xfe, 0x9c, 0xdc, 0xed,
  7344  	0x5b, 0xc0, 0xc6, 0xbe, 0x65, 0x84, 0x96, 0x6e, 0x9d, 0x84, 0xbe, 0xa1, 0x8b, 0x2a, 0x40, 0x24,
  7345  	0xf9, 0xaa, 0xc0, 0xb4, 0x11, 0x31, 0xa4, 0x82, 0xe0, 0x4f, 0x32, 0x50, 0xdb, 0x17, 0x2a, 0xfa,
  7346  	0xd2, 0x3a, 0x6d, 0x89, 0x34, 0x69, 0x1c, 0x19, 0x70, 0x9e, 0xd3, 0x37, 0xbb, 0x09, 0x95, 0xf9,
  7347  	0x91, 0x75, 0xaa, 0xa7, 0xf2, 0x90, 0x32, 0x82, 0x9a, 0x64, 0xaa, 0x6f, 0x40, 0xd1, 0xa3, 0xde,
  7348  	0xa5, 0xf3, 0x92, 0x5e, 0x21, 0x31, 0x2c, 0x2e, 0x09, 0x98, 0x06, 0xb5, 0x58, 0x14, 0x99, 0x77,
  7349  	0x9e, 0xa6, 0x54, 0x91, 0xc2, 0x28, 0xb2, 0x5c, 0x82, 0x02, 0xa2, 0x82, 0x7a, 0x61, 0x33, 0x87,
  7350  	0xc9, 0x04, 0x35, 0xb4, 0xff, 0xc9, 0x80, 0x42, 0x12, 0xe5, 0x9e, 0xb1, 0xcd, 0x93, 0x68, 0xcf,
  7351  	0x94, 0x79, 0xc1, 0x36, 0x4f, 0x3a, 0x26, 0x7b, 0x19, 0xc0, 0x46, 0x12, 0x3d, 0xb1, 0x73, 0xca,
  7352  	0x04, 0x89, 0x04, 0xcf, 0x0d, 0x3f, 0x0c, 0xea, 0x39, 0x21, 0x98, 0x1a, 0xb8, 0xa9, 0x16, 0xae,
  7353  	0xfd, 0xcd, 0x42, 0x8c, 0x45, 0xe1, 0xb2, 0xc5, 0xee, 0x82, 0x2a, 0x84, 0x91, 0x0a, 0x93, 0x01,
  7354  	0x74, 0x9d, 0xe0, 0xa4, 0xc1, 0x28, 0x56, 0x0a, 0x1a, 0xeb, 0x04, 0x1d, 0x95, 0xd8, 0x3d, 0x40,
  7355  	0xa0, 0x36, 0x42, 0x92, 0xfb, 0xa2, 0x94, 0xde, 0x17, 0x4b, 0xd5, 0x29, 0xcf, 0x50, 0x9d, 0xf6,
  7356  	0x9b, 0x2c, 0xd4, 0x1e, 0x78, 0xbe, 0x65, 0x4f, 0xdd, 0xe5, 0x5a, 0x9d, 0x4b, 0x69, 0xa3, 0xf5,
  7357  	0xcb, 0x26, 0xd6, 0xef, 0x15, 0xa8, 0x4c, 0x04, 0xa3, 0x1e, 0x8e, 0x44, 0x4e, 0x9b, 0xe7, 0x20,
  7358  	0x41, 0xc3, 0x91, 0x83, 0x76, 0x1b, 0x11, 0x10, 0x73, 0x9e, 0x98, 0x23, 0x26, 0x74, 0x58, 0xec,
  7359  	0x53, 0xda, 0xc0, 0xa6, 0xe5, 0x58, 0xa1, 0x50, 0xc3, 0xfa, 0xd6, 0xcb, 0x32, 0x3c, 0x24, 0xc7,
  7360  	0x74, 0x9f, 0x5b, 0x93, 0x06, 0x45, 0x0b, 0xdc, 0xcf, 0x2d, 0x22, 0x97, 0xbc, 0x72, 0xf3, 0x17,
  7361  	0x9f, 0x93, 0x57, 0xec, 0x11, 0x6d, 0x08, 0xe5, 0x18, 0x8c, 0x51, 0x9d, 0xb7, 0x65, 0x24, 0x5f,
  7362  	0x63, 0x15, 0x28, 0x35, 0x1b, 0x83, 0x66, 0xa3, 0xd5, 0x56, 0x33, 0x88, 0x1a, 0xb4, 0x87, 0x22,
  7363  	0x7a, 0x67, 0xd9, 0x06, 0x54, 0xb0, 0xd5, 0x6a, 0x3f, 0x68, 0x1c, 0x74, 0x87, 0x6a, 0x8e, 0xd5,
  7364  	0xa0, 0xdc, 0xeb, 0xeb, 0x8d, 0xe6, 0xb0, 0xd3, 0xef, 0xa9, 0x79, 0xed, 0x73, 0x50, 0x9a, 0x87,
  7365  	0xd6, 0xf8, 0xe8, 0x69, 0x5a, 0xa4, 0x54, 0xd1, 0x1a, 0x1f, 0xc9, 0x50, 0x7d, 0x26, 0x55, 0xb4,
  7366  	0xc6, 0x47, 0x5a, 0x0b, 0xaa, 0xcd, 0xc8, 0xef, 0xa0, 0x94, 0xcd, 0xc8, 0xb6, 0xce, 0xa7, 0xcb,
  7367  	0xd2, 0xce, 0x56, 0x38, 0x74, 0xed, 0x03, 0xa8, 0xec, 0xfb, 0xde, 0xdc, 0xf2, 0x43, 0x12, 0xa2,
  7368  	0x42, 0xee, 0xc8, 0x3a, 0x95, 0x23, 0xc1, 0xcf, 0x65, 0x62, 0x9d, 0x4d, 0x26, 0xd6, 0x5b, 0xa0,
  7369  	0x44, 0x6c, 0xcf, 0xcd, 0xf3, 0x33, 0xdc, 0xe9, 0xc4, 0x63, 0x5b, 0x01, 0x76, 0x76, 0x1f, 0x60,
  7370  	0x1e, 0x03, 0xe4, 0xb0, 0xa3, 0xb4, 0x43, 0x0a, 0xe7, 0x09, 0x0a, 0xed, 0x2f, 0x72, 0xb0, 0xbe,
  7371  	0x6f, 0xf8, 0xa1, 0x8d, 0x4b, 0x21, 0x26, 0xfd, 0x3a, 0xe4, 0xc3, 0xd3, 0xb9, 0x25, 0xb3, 0xf4,
  7372  	0x8b, 0x71, 0xce, 0x22, 0x68, 0x28, 0xb6, 0x10, 0x01, 0xfb, 0x14, 0xd6, 0xe7, 0x11, 0x58, 0x27,
  7373  	0x9f, 0x27, 0x14, 0x7b, 0x96, 0x85, 0xf4, 0x55, 0x9b, 0x27, 0x9b, 0xec, 0xa7, 0x70, 0x29, 0xcd,
  7374  	0x6b, 0x05, 0xc1, 0xd2, 0xd7, 0x24, 0x15, 0x7d, 0x31, 0xc5, 0x28, 0xc8, 0x58, 0x13, 0x2e, 0x2c,
  7375  	0xd9, 0xc7, 0x9e, 0xb3, 0x98, 0xb9, 0x81, 0x4c, 0xa2, 0xae, 0x9c, 0xe9, 0xbd, 0x29, 0xb0, 0x5c,
  7376  	0x9d, 0x9f, 0x81, 0x30, 0x0d, 0xaa, 0x31, 0xac, 0xb7, 0x98, 0xd1, 0x06, 0xc8, 0xf3, 0x14, 0x8c,
  7377  	0xbd, 0x07, 0x10, 0xb7, 0x83, 0x7a, 0x91, 0xf4, 0x79, 0x76, 0x7e, 0x9d, 0xd0, 0x9a, 0xf1, 0x04,
  7378  	0x19, 0xc6, 0x33, 0xc3, 0x99, 0x7a, 0xbe, 0x1d, 0x1e, 0xce, 0xc8, 0x37, 0xe4, 0xf8, 0x12, 0x40,
  7379  	0x2e, 0x28, 0xd0, 0x83, 0xc5, 0x48, 0x8f, 0x59, 0xc8, 0x4f, 0x28, 0x7c, 0xdd, 0x0e, 0x06, 0x8b,
  7380  	0x51, 0x2c, 0x17, 0x43, 0xc5, 0x72, 0x96, 0xb3, 0x60, 0x4a, 0x31, 0xb6, 0x9c, 0x18, 0xe1, 0x5e,
  7381  	0x30, 0xd5, 0xbe, 0x80, 0x5a, 0x4a, 0xd3, 0xcf, 0x0c, 0x40, 0xd7, 0x40, 0xc1, 0xff, 0x31, 0xfc,
  7382  	0x48, 0x63, 0x2a, 0x61, 0x7b, 0x10, 0xfa, 0x9a, 0x05, 0xea, 0x59, 0xbd, 0xb1, 0x3b, 0x54, 0x6c,
  7383  	0x92, 0x82, 0xcf, 0xef, 0x82, 0x08, 0xc5, 0xde, 0x5c, 0xb5, 0x20, 0x59, 0xf2, 0xc8, 0xe7, 0x14,
  7384  	0xaf, 0xfd, 0x7b, 0x26, 0x31, 0x66, 0xd4, 0x1e, 0x7b, 0x35, 0x69, 0x4a, 0x89, 0x8d, 0xbb, 0x9c,
  7385  	0x3f, 0xf9, 0xe4, 0x37, 0x40, 0xf5, 0x7c, 0xd3, 0x76, 0x0d, 0x2a, 0x7e, 0x85, 0xea, 0x70, 0x0a,
  7386  	0x35, 0xbe, 0x21, 0xe1, 0xfb, 0x12, 0xcc, 0x36, 0xa1, 0x62, 0x5a, 0xc1, 0xd8, 0xb7, 0x97, 0x31,
  7387  	0xac, 0xcc, 0x93, 0xa0, 0xa4, 0xff, 0xce, 0xa7, 0xfd, 0xf7, 0xeb, 0x50, 0x76, 0xac, 0x20, 0xd0,
  7388  	0xc3, 0x43, 0xc3, 0xa5, 0x78, 0x95, 0x9e, 0xb4, 0x82, 0xc8, 0xe1, 0xa1, 0xe1, 0x22, 0xa1, 0xed,
  7389  	0xea, 0xb4, 0x15, 0x23, 0xe3, 0x48, 0x11, 0xda, 0x2e, 0xa5, 0xaa, 0x81, 0xf6, 0x32, 0x94, 0x1e,
  7390  	0xda, 0xd6, 0xb1, 0xf4, 0x4c, 0x4f, 0x6c, 0xeb, 0x38, 0xf2, 0x4c, 0xf8, 0xad, 0xfd, 0x55, 0x09,
  7391  	0x14, 0x8a, 0x3c, 0xad, 0xa7, 0x1f, 0x19, 0xfc, 0x98, 0xd4, 0x71, 0x53, 0xc6, 0x8b, 0xfc, 0x8a,
  7392  	0x84, 0x55, 0x44, 0x8f, 0x97, 0x41, 0x84, 0x32, 0x9d, 0xb6, 0xba, 0x88, 0x80, 0x65, 0x82, 0xc8,
  7393  	0xb2, 0xbe, 0x2c, 0xd2, 0x8a, 0xe0, 0x1b, 0x47, 0xd6, 0x90, 0x4b, 0x00, 0xbb, 0x0f, 0x0a, 0x8e,
  7394  	0x90, 0x2a, 0xc0, 0x52, 0x72, 0xcb, 0xd3, 0x1c, 0xa2, 0xca, 0x82, 0x97, 0xc2, 0x91, 0x83, 0x0d,
  7395  	0xf4, 0x28, 0x98, 0x0a, 0xc8, 0x64, 0x3f, 0xda, 0x3e, 0xc9, 0x0c, 0x85, 0x13, 0x01, 0xbb, 0x0b,
  7396  	0x25, 0x8a, 0xc2, 0x56, 0x50, 0xaf, 0x26, 0x5d, 0x57, 0x94, 0x22, 0xf0, 0x08, 0xcd, 0xde, 0x80,
  7397  	0xc2, 0xe4, 0xc8, 0x3a, 0x0d, 0xea, 0xb5, 0xe4, 0x96, 0x4c, 0x45, 0x1e, 0x2e, 0x28, 0xd8, 0x1d,
  7398  	0x58, 0xf7, 0xad, 0x89, 0x4e, 0x87, 0x01, 0x18, 0x2a, 0x83, 0xfa, 0x3a, 0x45, 0xc2, 0xaa, 0x6f,
  7399  	0x4d, 0x9a, 0x08, 0x1c, 0x8e, 0x9c, 0x80, 0xbd, 0x06, 0x45, 0x8a, 0x01, 0x41, 0x7d, 0x23, 0xd9,
  7400  	0x73, 0x14, 0x50, 0xb8, 0xc4, 0xb2, 0x2d, 0x28, 0x2f, 0xb7, 0xed, 0x65, 0x9a, 0xd0, 0xa5, 0x33,
  7401  	0xfe, 0x80, 0xdc, 0x28, 0x5f, 0x92, 0xb1, 0x77, 0x01, 0x64, 0x3a, 0xab, 0x8f, 0x4e, 0xe9, 0xac,
  7402  	0xac, 0x12, 0x27, 0xf4, 0x89, 0x70, 0x93, 0x4c, 0x7a, 0x5f, 0x87, 0x02, 0x7a, 0xe9, 0xa0, 0x7e,
  7403  	0x95, 0x46, 0x73, 0x21, 0xed, 0xc2, 0x69, 0x76, 0x84, 0x67, 0x77, 0x41, 0x41, 0x13, 0xd2, 0x71,
  7404  	0xa1, 0xea, 0xc9, 0x3c, 0x5e, 0xda, 0x1b, 0x2f, 0x21, 0x7a, 0xf0, 0x8d, 0xc3, 0xde, 0x86, 0x8a,
  7405  	0x4c, 0x3c, 0xc9, 0x36, 0xae, 0xad, 0x2a, 0x66, 0x04, 0x01, 0xe5, 0x06, 0xf7, 0x20, 0x6f, 0x5a,
  7406  	0x93, 0xa0, 0xfe, 0x0a, 0xd1, 0x5d, 0x49, 0x2c, 0x30, 0x46, 0xf5, 0x96, 0x35, 0x11, 0x91, 0x00,
  7407  	0x69, 0xd8, 0x2e, 0xac, 0xa3, 0x3d, 0x6e, 0x51, 0x2e, 0x89, 0x2b, 0x54, 0xdf, 0x24, 0xae, 0x5b,
  7408  	0x67, 0xb8, 0x7a, 0x92, 0x88, 0xd6, 0xb3, 0xed, 0x86, 0xfe, 0x29, 0xaf, 0xb9, 0x49, 0x18, 0x7b,
  7409  	0x0f, 0xd6, 0xc7, 0xde, 0x8c, 0x36, 0xb7, 0xa5, 0x93, 0xd1, 0xdc, 0x3a, 0x53, 0xfa, 0xe2, 0x38,
  7410  	0x6b, 0x31, 0xcd, 0xfe, 0x91, 0x75, 0x7a, 0x7d, 0x87, 0x32, 0x7e, 0x32, 0xdc, 0x0f, 0xce, 0xc4,
  7411  	0xbf, 0x94, 0xc1, 0x25, 0x02, 0xe5, 0xee, 0x5a, 0x32, 0x0c, 0x6e, 0x17, 0x20, 0x67, 0x5a, 0x93,
  7412  	0xeb, 0x9f, 0x03, 0x3b, 0x3f, 0xc4, 0x67, 0x05, 0xe3, 0x82, 0x0c, 0xc6, 0x9f, 0x66, 0x3f, 0xce,
  7413  	0x68, 0x9f, 0x40, 0x2d, 0xb5, 0x09, 0x56, 0x26, 0x22, 0x22, 0x65, 0x35, 0xc4, 0x01, 0x65, 0x95,
  7414  	0x8b, 0x86, 0xf6, 0x37, 0x19, 0x28, 0x0c, 0x42, 0x23, 0x0c, 0xd8, 0x4b, 0x50, 0x1e, 0x39, 0xde,
  7415  	0xf8, 0x48, 0x77, 0x17, 0x33, 0x79, 0xf4, 0xa7, 0x10, 0x00, 0x23, 0x12, 0xe5, 0x82, 0x41, 0x48,
  7416  	0xbc, 0x19, 0x4e, 0xdf, 0xe8, 0x07, 0xbc, 0x45, 0x38, 0x76, 0x43, 0xf2, 0x03, 0x19, 0x2e, 0x5b,
  7417  	0xe8, 0xe2, 0x7c, 0xef, 0x98, 0x4e, 0xbe, 0xf2, 0x84, 0x88, 0x9a, 0x98, 0x1c, 0x1e, 0x1a, 0xc1,
  7418  	0xe1, 0xcc, 0x98, 0x2f, 0x0f, 0xc6, 0x32, 0xbc, 0x22, 0x61, 0x03, 0x24, 0x79, 0x09, 0x84, 0x43,
  7419  	0xd0, 0x51, 0x6e, 0x91, 0xf0, 0x0a, 0x01, 0x9a, 0x6e, 0x88, 0xee, 0x35, 0xb0, 0x1c, 0x6b, 0x1c,
  7420  	0xda, 0x4f, 0xb0, 0x26, 0x2a, 0x09, 0xf6, 0x04, 0x48, 0x7b, 0x03, 0x4a, 0xb8, 0x5a, 0x46, 0x68,
  7421  	0x60, 0x44, 0x32, 0x8d, 0xd0, 0x58, 0x75, 0xe8, 0x88, 0x70, 0xed, 0x1d, 0x00, 0xee, 0x1d, 0x07,
  7422  	0x56, 0x48, 0xd4, 0xb7, 0x12, 0xc5, 0x4a, 0x6c, 0xcd, 0x52, 0x94, 0xf0, 0x5e, 0xda, 0xbf, 0x64,
  7423  	0xa0, 0xd2, 0xf7, 0x4d, 0xdc, 0x29, 0x83, 0xb9, 0x35, 0x7e, 0x66, 0xc8, 0x43, 0x77, 0xe6, 0x39,
  7424  	0x8e, 0x11, 0x07, 0x0c, 0x74, 0x67, 0x11, 0x80, 0xbd, 0x0b, 0xf9, 0x89, 0x63, 0x4c, 0x49, 0x77,
  7425  	0x71, 0x12, 0x9b, 0x10, 0x1f, 0x7d, 0x3f, 0x70, 0x8c, 0x29, 0x27, 0x52, 0xed, 0x17, 0x71, 0xff,
  7426  	0x74, 0x78, 0x95, 0x3c, 0xb2, 0x5a, 0xa3, 0x83, 0xc0, 0x41, 0x53, 0xcd, 0x30, 0x05, 0xf2, 0xad,
  7427  	0xf6, 0xa0, 0x29, 0x52, 0x57, 0x4c, 0x62, 0x07, 0xfa, 0x83, 0x0e, 0x1f, 0x0c, 0xd5, 0x3c, 0x9d,
  7428  	0x2c, 0x12, 0xa0, 0xdb, 0x18, 0x0c, 0x55, 0x85, 0x01, 0x14, 0x0f, 0x7a, 0x9d, 0x9f, 0x1f, 0xb4,
  7429  	0x55, 0x55, 0xfb, 0xfd, 0x0c, 0xc0, 0x23, 0xdb, 0x35, 0xbd, 0x63, 0x9a, 0xdc, 0xdb, 0x89, 0x34,
  7430  	0x05, 0xfd, 0xc7, 0x79, 0x2d, 0x56, 0xe6, 0x4b, 0xd7, 0xc3, 0xde, 0x02, 0xc5, 0xc3, 0xa1, 0x21,
  7431  	0x69, 0x36, 0xe9, 0x3c, 0x12, 0x33, 0xe2, 0x25, 0x4f, 0x34, 0xd0, 0x9a, 0x1c, 0xcb, 0x30, 0xe5,
  7432  	0x81, 0x31, 0x7d, 0xa3, 0xbd, 0xa3, 0x3a, 0xc4, 0x15, 0x16, 0x7e, 0x6a, 0xbf, 0xca, 0x42, 0xb9,
  7433  	0xe3, 0x06, 0x96, 0x1f, 0x36, 0xc3, 0x13, 0x76, 0x0b, 0x72, 0xbe, 0x35, 0x79, 0xda, 0xd9, 0x1f,
  7434  	0xe2, 0x50, 0x04, 0xd6, 0xe5, 0xd8, 0x7f, 0x81, 0xe3, 0x27, 0x7b, 0x33, 0xb2, 0x26, 0xd3, 0x9a,
  7435  	0xa4, 0x8f, 0xc3, 0x22, 0xef, 0x20, 0xad, 0x0b, 0x43, 0xe0, 0x4f, 0x29, 0xeb, 0xb2, 0xdc, 0x50,
  7436  	0x47, 0x29, 0x22, 0x8a, 0xdd, 0x8c, 0x42, 0x81, 0x1c, 0x06, 0xfa, 0x5b, 0xcb, 0x0d, 0x3b, 0xa6,
  7437  	0x74, 0x24, 0xe5, 0x79, 0xd4, 0x66, 0x1f, 0x41, 0x2d, 0xf2, 0xb7, 0xa2, 0x52, 0x2e, 0xac, 0x70,
  7438  	0xb9, 0xd4, 0x2d, 0xaf, 0x8e, 0x13, 0xad, 0xeb, 0x9f, 0x51, 0x32, 0x9c, 0x90, 0xfa, 0xa3, 0xf6,
  7439  	0xfe, 0xaf, 0x8b, 0x50, 0x16, 0x05, 0x4e, 0x4a, 0x4b, 0xb9, 0xa7, 0x6a, 0xe9, 0xe6, 0x52, 0x4b,
  7440  	0xb1, 0x87, 0xeb, 0x98, 0x5d, 0x3b, 0x08, 0x85, 0xce, 0xde, 0x92, 0x3a, 0x6b, 0xa1, 0x1f, 0xce,
  7441  	0x25, 0xc3, 0x52, 0xac, 0xb3, 0x25, 0x01, 0xa6, 0xfe, 0xa2, 0x1a, 0x43, 0xff, 0x2e, 0x95, 0xb6,
  7442  	0x11, 0xef, 0x9e, 0x7d, 0x2f, 0xd8, 0x33, 0xe6, 0xd1, 0x05, 0x4d, 0xd3, 0x73, 0x28, 0xd8, 0x9a,
  7443  	0x27, 0x3a, 0x0e, 0xb2, 0xb0, 0x7a, 0x90, 0x58, 0x8e, 0xcb, 0x8b, 0x08, 0x51, 0x98, 0x9f, 0x50,
  7444  	0x92, 0x53, 0x20, 0x84, 0x50, 0xf4, 0x86, 0xe7, 0xea, 0xbe, 0x15, 0x84, 0xbe, 0x3d, 0x0e, 0x49,
  7445  	0x54, 0x69, 0xb5, 0xa8, 0x9a, 0xe7, 0x72, 0x49, 0x86, 0x12, 0x5f, 0x4b, 0x33, 0xa2, 0x64, 0x85,
  7446  	0x24, 0x27, 0xe8, 0xb0, 0x83, 0x0f, 0x60, 0x1d, 0xf3, 0x49, 0x23, 0x18, 0x1b, 0xa6, 0x45, 0xf2,
  7447  	0xcb, 0xab, 0xe5, 0x57, 0x3d, 0xb7, 0x29, 0xa8, 0x50, 0xfc, 0x56, 0x8a, 0x0d, 0xa5, 0xc3, 0x0a,
  7448  	0x1d, 0x2f, 0x79, 0xb0, 0xab, 0xf7, 0x53, 0x3c, 0x68, 0xa5, 0x95, 0x95, 0x1a, 0x5f, 0x72, 0xa1,
  7449  	0xa5, 0x6e, 0xc3, 0xe5, 0x04, 0x57, 0x42, 0xff, 0xd5, 0xd5, 0xfa, 0x67, 0x31, 0xf7, 0x41, 0xbc,
  7450  	0x10, 0x6f, 0x03, 0x78, 0xae, 0x1e, 0x58, 0x42, 0x81, 0xb5, 0xd5, 0x13, 0x54, 0x3c, 0x77, 0x60,
  7451  	0x91, 0xee, 0xee, 0xc5, 0xe4, 0x38, 0xb1, 0xf5, 0x15, 0x13, 0x13, 0xb4, 0x1d, 0xb2, 0xa0, 0x88,
  7452  	0x16, 0x27, 0xb4, 0xb1, 0x72, 0x42, 0x82, 0x1a, 0x27, 0xf3, 0x29, 0x5c, 0x90, 0xd4, 0x89, 0x89,
  7453  	0xa8, 0xab, 0x27, 0xb2, 0x4e, 0x5c, 0xcb, 0x49, 0xdc, 0x4f, 0x6d, 0xd9, 0x0b, 0x4f, 0xb1, 0xbe,
  7454  	0x78, 0x8f, 0x6a, 0x7f, 0x96, 0x83, 0x4a, 0xc3, 0x35, 0x9c, 0xd3, 0x6f, 0xad, 0x8e, 0x3b, 0xf1,
  7455  	0xc4, 0x29, 0xcf, 0x7c, 0x11, 0xea, 0x18, 0xa1, 0xe4, 0xf1, 0x6c, 0x99, 0x20, 0x18, 0x1a, 0xd8,
  7456  	0x2b, 0x50, 0xf1, 0x16, 0x61, 0x8c, 0x17, 0x07, 0xb6, 0x20, 0x40, 0x44, 0x10, 0xf3, 0x53, 0x38,
  7457  	0xcb, 0x25, 0xf8, 0x29, 0x98, 0x2d, 0xf9, 0xe3, 0x68, 0x18, 0xf3, 0x13, 0xc1, 0x6d, 0xa8, 0x85,
  7458  	0xf6, 0x0c, 0xa7, 0xec, 0x06, 0x8b, 0x99, 0x65, 0x8a, 0xeb, 0x6d, 0x71, 0x63, 0xda, 0x94, 0x30,
  7459  	0x94, 0x32, 0xb3, 0x66, 0x9e, 0x7f, 0xaa, 0xc7, 0x37, 0xf6, 0x39, 0x0e, 0x02, 0x44, 0x52, 0xde,
  7460  	0x02, 0x76, 0x6c, 0xd8, 0xa1, 0x9e, 0x16, 0x25, 0x4a, 0x40, 0x15, 0x31, 0xc3, 0xa4, 0xb8, 0x2b,
  7461  	0x50, 0x34, 0xed, 0xe0, 0xa8, 0xd3, 0xa7, 0xfa, 0x2f, 0xc7, 0x65, 0x0b, 0x23, 0x6f, 0xf0, 0x5e,
  7462  	0xa7, 0xaf, 0x8f, 0x4e, 0xe5, 0xb9, 0x6a, 0x8e, 0x2b, 0x08, 0xd8, 0x3e, 0x0d, 0x2d, 0x9c, 0x28,
  7463  	0x21, 0xc7, 0xde, 0xc2, 0x15, 0x87, 0xec, 0x39, 0x4e, 0xe4, 0x4d, 0x04, 0x60, 0xa8, 0x73, 0xad,
  7464  	0xf0, 0xd8, 0xf3, 0x51, 0x6c, 0x45, 0x60, 0x63, 0x00, 0xbb, 0x0e, 0x4a, 0x30, 0x36, 0x5c, 0x1c,
  7465  	0x05, 0x1d, 0xa6, 0xa2, 0x60, 0xd9, 0x66, 0x37, 0x51, 0x83, 0xe8, 0x5c, 0x09, 0x5b, 0x13, 0x73,
  7466  	0x5b, 0x42, 0xb4, 0x7f, 0x58, 0x87, 0x7c, 0xcf, 0x33, 0x2d, 0xf6, 0x13, 0x28, 0xd3, 0xdd, 0xdc,
  7467  	0xf9, 0x53, 0x02, 0x44, 0xd3, 0x3f, 0x94, 0x1b, 0x2a, 0xae, 0xfc, 0x7a, 0xfa, 0x6d, 0xde, 0x2d,
  7468  	0x28, 0x04, 0x98, 0xf2, 0xc8, 0x88, 0x20, 0x6f, 0x4f, 0x28, 0x0b, 0xe2, 0x02, 0x43, 0xe1, 0xcf,
  7469  	0xf7, 0x70, 0x1b, 0xe8, 0x74, 0x63, 0x90, 0x5f, 0x11, 0xfe, 0x04, 0x9e, 0x2e, 0x38, 0xaf, 0x83,
  7470  	0x42, 0x99, 0xbe, 0x6f, 0x89, 0xd2, 0xad, 0xc0, 0xe3, 0x36, 0x0e, 0xfc, 0xb1, 0x67, 0xbb, 0x62,
  7471  	0xe0, 0xc5, 0x73, 0x03, 0xff, 0xc2, 0xb3, 0x5d, 0x8a, 0xf1, 0x0a, 0x52, 0xd1, 0xc0, 0x6f, 0x43,
  7472  	0xc9, 0x73, 0x45, 0xbf, 0xa5, 0x73, 0xfd, 0x16, 0x3d, 0x97, 0xba, 0x7c, 0x13, 0x2a, 0x13, 0xdb,
  7473  	0xc1, 0x68, 0x43, 0x84, 0xca, 0x39, 0x42, 0x10, 0x68, 0x22, 0x7e, 0x15, 0x94, 0xa9, 0xef, 0x2d,
  7474  	0xe6, 0x18, 0x9e, 0xcb, 0xe7, 0xeb, 0x69, 0xc2, 0x6d, 0x9f, 0xe2, 0xac, 0xe9, 0xd3, 0x76, 0xa7,
  7475  	0xb8, 0x21, 0xa5, 0xff, 0x4a, 0xcd, 0x3a, 0xc2, 0x0f, 0x2c, 0x92, 0x6a, 0x4c, 0xa7, 0xba, 0xbc,
  7476  	0x52, 0x39, 0x27, 0xd5, 0x98, 0x4e, 0xa9, 0xf3, 0x64, 0x6e, 0x50, 0x7d, 0x66, 0x6e, 0x90, 0x08,
  7477  	0x28, 0xa1, 0x38, 0x63, 0x8f, 0xb7, 0x74, 0x1c, 0xe6, 0xe2, 0x80, 0x12, 0x62, 0x88, 0x57, 0x8e,
  7478  	0x6d, 0x57, 0x0f, 0xe6, 0xd6, 0x98, 0xde, 0x50, 0xc4, 0x97, 0x3f, 0xcb, 0x64, 0x86, 0x97, 0x8e,
  7479  	0x6d, 0x97, 0xb2, 0x9a, 0x4d, 0x28, 0x38, 0xf6, 0xcc, 0x0e, 0xe9, 0x45, 0xc5, 0x99, 0xa3, 0x35,
  7480  	0x42, 0x30, 0x0d, 0x8a, 0xde, 0x64, 0x82, 0x93, 0x57, 0xcf, 0x91, 0x48, 0x4c, 0x3a, 0xab, 0xb8,
  7481  	0xf0, 0x8c, 0xac, 0x62, 0x0b, 0x6a, 0x31, 0xb1, 0xfe, 0xc4, 0x1a, 0xd7, 0xd9, 0x4a, 0x7f, 0x58,
  7482  	0x89, 0x18, 0x1e, 0x5a, 0x63, 0x0c, 0x92, 0xde, 0xe8, 0x31, 0x39, 0xe6, 0x8b, 0xab, 0xf3, 0x9d,
  7483  	0xa2, 0x37, 0x7a, 0x8c, 0x6e, 0xf9, 0x5d, 0xa8, 0xf8, 0x94, 0xc4, 0xea, 0x94, 0xeb, 0x5e, 0x4a,
  7484  	0x2a, 0x60, 0x99, 0xdd, 0x72, 0xf0, 0x97, 0x99, 0xee, 0x6d, 0xa8, 0x89, 0xf3, 0x7c, 0x71, 0x18,
  7485  	0x1c, 0x50, 0x3d, 0x59, 0xe6, 0x55, 0x02, 0x8a, 0x83, 0x62, 0x0a, 0xeb, 0xe2, 0x80, 0x96, 0x56,
  7486  	0xe1, 0x4a, 0x72, 0x10, 0xe2, 0x24, 0x96, 0x56, 0xc1, 0x8c, 0x3e, 0x31, 0xb3, 0x1f, 0xd9, 0xae,
  7487  	0x89, 0x86, 0x13, 0x1a, 0x53, 0x51, 0x40, 0x16, 0x78, 0x45, 0xc2, 0x86, 0xc6, 0x34, 0x60, 0xef,
  7488  	0x43, 0xd5, 0x10, 0xae, 0x57, 0xb7, 0xdd, 0x89, 0x27, 0xeb, 0x46, 0x69, 0x0a, 0x09, 0xa7, 0xcc,
  7489  	0x2b, 0x46, 0xc2, 0x43, 0x7f, 0x04, 0x2c, 0xaa, 0xfa, 0xe9, 0xc4, 0x4e, 0x58, 0xdb, 0xb5, 0x73,
  7490  	0xd6, 0xb6, 0x21, 0xcb, 0xfe, 0xf8, 0xcd, 0xc1, 0x26, 0x60, 0x82, 0x6a, 0x38, 0x8e, 0xe5, 0xd8,
  7491  	0xc1, 0xac, 0x7e, 0x9d, 0x3c, 0x40, 0x12, 0x74, 0x3e, 0x61, 0x7b, 0xe9, 0xf9, 0x12, 0x36, 0xd4,
  7492  	0xa0, 0xeb, 0x85, 0xfa, 0xd8, 0x18, 0x1f, 0x5a, 0xc4, 0x78, 0x83, 0xce, 0x41, 0xaa, 0xae, 0x17,
  7493  	0x36, 0x23, 0x18, 0x6a, 0x50, 0xb8, 0x31, 0xd2, 0xe0, 0xcb, 0x49, 0x0d, 0xc6, 0xd9, 0x24, 0xc6,
  7494  	0x0a, 0xf9, 0xa9, 0xfd, 0x63, 0x0e, 0x94, 0xc8, 0x89, 0xb1, 0x0a, 0x94, 0x0e, 0x7a, 0x5f, 0xf6,
  7495  	0xfa, 0x8f, 0x7a, 0xea, 0x1a, 0x66, 0xed, 0x0f, 0x1b, 0xdd, 0x83, 0xb6, 0x3e, 0x68, 0x36, 0x7a,
  7496  	0xe2, 0x7d, 0x00, 0xdd, 0x4d, 0x8b, 0x76, 0x96, 0x5d, 0x80, 0xda, 0x83, 0x83, 0x1e, 0x9d, 0x47,
  7497  	0x0b, 0x50, 0x0e, 0x41, 0xed, 0xaf, 0x44, 0x69, 0x20, 0x40, 0x79, 0x04, 0xed, 0x35, 0x86, 0x6d,
  7498  	0xde, 0x89, 0x40, 0x05, 0xec, 0x65, 0x9f, 0xf7, 0xbf, 0x68, 0x37, 0x87, 0x2a, 0xb0, 0xcb, 0x70,
  7499  	0x21, 0x66, 0x89, 0xc4, 0xa9, 0x15, 0x2c, 0x32, 0x22, 0x36, 0xf5, 0x12, 0x0a, 0xe1, 0xed, 0xe6,
  7500  	0x01, 0x1f, 0x74, 0x1e, 0xb6, 0xf5, 0xe6, 0xb0, 0xad, 0x5e, 0xc6, 0x72, 0x63, 0xd0, 0xe9, 0x7d,
  7501  	0xa9, 0x5e, 0x61, 0x35, 0x28, 0xe3, 0x97, 0x90, 0x7e, 0x95, 0x0a, 0x92, 0x9d, 0x1d, 0xf5, 0x26,
  7502  	0x8a, 0x68, 0x75, 0x06, 0xc3, 0x4e, 0xaf, 0x39, 0x54, 0x5f, 0xc1, 0x9a, 0xe3, 0x41, 0xa7, 0x3b,
  7503  	0x6c, 0x73, 0x75, 0x13, 0x79, 0xbf, 0xe8, 0x77, 0x7a, 0xea, 0x2d, 0xba, 0x56, 0x6f, 0xec, 0xed,
  7504  	0x77, 0xdb, 0xaa, 0x46, 0x12, 0xfb, 0x7c, 0xa8, 0xde, 0x66, 0x65, 0x28, 0x1c, 0xf4, 0x70, 0x1c,
  7505  	0x77, 0x50, 0x38, 0x7d, 0xea, 0x8d, 0x6e, 0x57, 0x7d, 0x35, 0x51, 0xb9, 0xbc, 0x86, 0xdf, 0x8f,
  7506  	0x3a, 0xbd, 0x56, 0xff, 0x91, 0xfa, 0x3a, 0x92, 0x6d, 0xf3, 0x7e, 0xa3, 0xd5, 0xc4, 0x02, 0xe7,
  7507  	0x2e, 0x0a, 0x18, 0xec, 0x77, 0x3b, 0x43, 0xf5, 0x0d, 0xa4, 0xda, 0x69, 0x0c, 0x77, 0xdb, 0x5c,
  7508  	0xbd, 0x87, 0xdf, 0x8d, 0xc1, 0xa0, 0xcd, 0x87, 0xea, 0x16, 0x7e, 0x77, 0x7a, 0xf4, 0xfd, 0x1e,
  7509  	0x49, 0xdd, 0x6f, 0x35, 0x86, 0x6d, 0xf5, 0x7d, 0xfc, 0x6e, 0xb5, 0xbb, 0xed, 0x61, 0x5b, 0xfd,
  7510  	0x00, 0xa5, 0x52, 0xa5, 0x35, 0x40, 0x55, 0x7d, 0x88, 0x5a, 0x88, 0x9b, 0x34, 0x9e, 0x8f, 0xb0,
  7511  	0xa3, 0xbd, 0x4e, 0xef, 0x60, 0xa0, 0x7e, 0x8c, 0xc4, 0xf4, 0x49, 0x98, 0x4f, 0xb4, 0xc7, 0xa0,
  7512  	0x44, 0x2e, 0x1e, 0xa9, 0x3a, 0xbd, 0x5e, 0x9b, 0xab, 0x6b, 0x38, 0xc9, 0x6e, 0xfb, 0xc1, 0x50,
  7513  	0xcd, 0x20, 0x90, 0x77, 0x76, 0x76, 0x87, 0x6a, 0x16, 0x3f, 0xfb, 0x07, 0xa8, 0x9a, 0x1c, 0x29,
  7514  	0xa1, 0xbd, 0xd7, 0x51, 0xf3, 0xf8, 0xd5, 0xe8, 0x0d, 0x3b, 0x6a, 0x81, 0x94, 0xd4, 0xe9, 0xed,
  7515  	0x74, 0xdb, 0x6a, 0x11, 0xa1, 0x7b, 0x0d, 0xfe, 0xa5, 0x5a, 0x42, 0xa6, 0xc6, 0xfe, 0x7e, 0xf7,
  7516  	0x6b, 0x55, 0xd1, 0xee, 0x42, 0xa9, 0x31, 0x9d, 0xee, 0x61, 0xb8, 0x54, 0x20, 0xff, 0xe0, 0xa0,
  7517  	0xdb, 0x15, 0x4f, 0x4b, 0xb6, 0xfb, 0xc3, 0x61, 0x7f, 0x4f, 0xcd, 0xe0, 0x9a, 0x0c, 0xfb, 0xfb,
  7518  	0x6a, 0x56, 0xbb, 0x01, 0x45, 0x91, 0xb6, 0x51, 0x2d, 0x16, 0xbd, 0xcd, 0xc9, 0xc9, 0xf7, 0x38,
  7519  	0x1e, 0x94, 0xe3, 0xf4, 0x89, 0xdd, 0x83, 0xdc, 0xcc, 0x98, 0xcb, 0x92, 0xa2, 0x7e, 0x26, 0xb9,
  7520  	0xba, 0xbf, 0x67, 0xcc, 0x45, 0x25, 0x84, 0x44, 0xd7, 0x3f, 0x04, 0x25, 0x02, 0xfc, 0xa8, 0x22,
  7521  	0xe6, 0x0f, 0xf3, 0x50, 0x6e, 0x25, 0x9c, 0xc9, 0x33, 0x8b, 0x98, 0x44, 0x19, 0x91, 0x7d, 0xee,
  7522  	0x32, 0x22, 0xf7, 0xac, 0x32, 0x22, 0xff, 0xa2, 0x65, 0x44, 0xe1, 0xf9, 0xca, 0x88, 0xe2, 0xf3,
  7523  	0x94, 0x11, 0x77, 0xce, 0x95, 0x11, 0x25, 0x92, 0x9e, 0x2e, 0x1c, 0xd2, 0xe9, 0xbb, 0xf2, 0xac,
  7524  	0xf4, 0x3d, 0x9d, 0x92, 0x97, 0x9f, 0x91, 0x92, 0xa7, 0x93, 0x7d, 0xf8, 0xc1, 0x64, 0x7f, 0x65,
  7525  	0xfa, 0x5e, 0x79, 0xbe, 0xf4, 0xfd, 0x16, 0x54, 0xc7, 0x86, 0xab, 0x87, 0xfe, 0xc2, 0x1d, 0x1b,
  7526  	0xa1, 0x25, 0x6f, 0xda, 0x2b, 0x98, 0x1b, 0x4a, 0x90, 0xf6, 0xeb, 0x2c, 0x14, 0x7e, 0xbe, 0xb0,
  7527  	0xfc, 0x53, 0xf6, 0x21, 0x94, 0x83, 0x70, 0x16, 0x26, 0x13, 0xc0, 0x6b, 0xa2, 0x03, 0xc2, 0x53,
  7528  	0xfe, 0x66, 0xcd, 0x2c, 0x37, 0x14, 0x69, 0x20, 0xd2, 0x92, 0x2f, 0xbd, 0x84, 0xd9, 0x9e, 0x35,
  7529  	0x0f, 0xe4, 0xb9, 0x80, 0x68, 0x60, 0x26, 0x80, 0xd9, 0x60, 0x54, 0xe1, 0xc2, 0x32, 0x23, 0xe3,
  7530  	0x02, 0x81, 0x99, 0x00, 0x1d, 0x91, 0x05, 0x2b, 0x92, 0x3f, 0x89, 0xc1, 0xbc, 0xef, 0xd0, 0x32,
  7531  	0x30, 0xc4, 0x45, 0x57, 0xcc, 0x71, 0x9b, 0xd5, 0xa1, 0xe4, 0x78, 0x86, 0x39, 0x34, 0xa6, 0xd1,
  7532  	0x23, 0x08, 0xd9, 0xd4, 0x1e, 0x41, 0x2d, 0x35, 0xd8, 0xb4, 0xbb, 0xc7, 0x5d, 0xde, 0xee, 0xa2,
  7533  	0xa7, 0xc9, 0x24, 0x9c, 0x53, 0x36, 0xe1, 0x90, 0x72, 0x09, 0x47, 0x95, 0x27, 0xd7, 0xd3, 0xe6,
  7534  	0x3b, 0x6d, 0xb5, 0xa0, 0xfd, 0x71, 0x16, 0x2e, 0x0c, 0x7d, 0xc3, 0x0d, 0x0c, 0x71, 0xf1, 0xe1,
  7535  	0x86, 0xbe, 0xe7, 0xb0, 0x4f, 0x41, 0x09, 0xc7, 0x4e, 0x52, 0x6f, 0xaf, 0xc8, 0x95, 0x3f, 0x4b,
  7536  	0x7a, 0x7f, 0x38, 0x76, 0x48, 0x7b, 0xa5, 0x50, 0x7c, 0xb0, 0xb7, 0xa1, 0x30, 0xb2, 0xa6, 0xb6,
  7537  	0x2b, 0x2f, 0xd9, 0x2e, 0x9f, 0x65, 0xdc, 0x46, 0xe4, 0xee, 0x1a, 0x17, 0x54, 0xec, 0x27, 0x50,
  7538  	0x1c, 0x7b, 0x33, 0x4c, 0xb0, 0x72, 0xc9, 0x6b, 0xb1, 0x64, 0x47, 0x88, 0xdd, 0x5d, 0xe3, 0x92,
  7539  	0x8e, 0x7d, 0x08, 0x8a, 0xef, 0x39, 0xce, 0xc8, 0x18, 0x1f, 0xc9, 0xab, 0xb4, 0xfa, 0x59, 0x1e,
  7540  	0x2e, 0xf1, 0xbb, 0x6b, 0x3c, 0xa6, 0xd5, 0xee, 0x43, 0x49, 0x0e, 0x16, 0x15, 0xb0, 0xdd, 0xde,
  7541  	0xe9, 0x48, 0xdd, 0x35, 0xfb, 0x7b, 0x7b, 0x9d, 0xa1, 0xb8, 0xc6, 0xe5, 0xfd, 0x6e, 0x77, 0xbb,
  7542  	0xd1, 0xfc, 0x52, 0xcd, 0x6e, 0x2b, 0x50, 0x34, 0xe8, 0x6c, 0x54, 0xfb, 0xdd, 0x0c, 0x6c, 0x9c,
  7543  	0x99, 0x00, 0xfb, 0x18, 0xf2, 0x33, 0xcf, 0x8c, 0xd4, 0x73, 0x67, 0xe5, 0x2c, 0x13, 0x6d, 0xf4,
  7544  	0xb0, 0x9c, 0x38, 0xb4, 0x4f, 0x60, 0x3d, 0x0d, 0x4f, 0xbc, 0x29, 0xab, 0x41, 0x99, 0xb7, 0x1b,
  7545  	0x2d, 0xbd, 0xdf, 0xeb, 0x7e, 0x2d, 0xe2, 0x36, 0x35, 0x1f, 0xf1, 0xce, 0xb0, 0xad, 0x66, 0xb5,
  7546  	0x5f, 0x80, 0x7a, 0x56, 0x31, 0x6c, 0x07, 0x36, 0xc6, 0xde, 0x6c, 0xee, 0x58, 0x74, 0xee, 0x96,
  7547  	0x58, 0xb2, 0x9b, 0x2b, 0x34, 0x29, 0xc9, 0x68, 0xc5, 0xd6, 0xc7, 0xa9, 0xb6, 0xf6, 0xff, 0x80,
  7548  	0x9d, 0xd7, 0xe0, 0x6f, 0x4f, 0xfc, 0x9f, 0x67, 0x20, 0xbf, 0xef, 0x18, 0x2e, 0xbb, 0x0d, 0x05,
  7549  	0x7a, 0xaf, 0x25, 0x0f, 0xe6, 0x2a, 0x89, 0x1d, 0x89, 0x66, 0x41, 0x38, 0xf6, 0x26, 0xe4, 0xc2,
  7550  	0xb1, 0x23, 0x6d, 0xe8, 0xea, 0x53, 0x8c, 0x6f, 0x77, 0x8d, 0x23, 0x15, 0xbb, 0x0b, 0x39, 0xd3,
  7551  	0x74, 0xa4, 0x01, 0xc9, 0x5b, 0x0e, 0x4c, 0x5c, 0x5b, 0xd6, 0xc4, 0x76, 0x6d, 0xf9, 0x7a, 0x0c,
  7552  	0x49, 0xd8, 0xab, 0x90, 0x33, 0xc7, 0x8e, 0x34, 0x9b, 0x0b, 0x4b, 0xca, 0x84, 0x40, 0x73, 0xec,
  7553  	0x6c, 0x17, 0x81, 0x5e, 0xeb, 0x6b, 0x6f, 0xd1, 0xeb, 0xa8, 0xc5, 0xcc, 0xc5, 0xad, 0x2d, 0xbe,
  7554  	0x56, 0x1c, 0x6b, 0x4a, 0x8c, 0xf6, 0xdf, 0x59, 0xa8, 0x24, 0x84, 0xb1, 0xf7, 0x41, 0x31, 0xd3,
  7555  	0xbb, 0xe8, 0xda, 0xb9, 0x1e, 0xef, 0xb7, 0xa2, 0xfd, 0x63, 0x4a, 0xdb, 0xfc, 0x04, 0x6a, 0xe8,
  7556  	0x1a, 0x9f, 0x18, 0xbe, 0x8d, 0x6e, 0x36, 0x90, 0x3a, 0x90, 0x39, 0xe6, 0xc0, 0x0a, 0x1f, 0x46,
  7557  	0x98, 0xdd, 0x35, 0x5e, 0x0d, 0x12, 0x6d, 0xf6, 0x06, 0x94, 0xe6, 0xbe, 0x35, 0x37, 0x7c, 0x4b,
  7558  	0xea, 0xa2, 0x16, 0xdd, 0x28, 0x10, 0x70, 0x77, 0x8d, 0x47, 0x78, 0x24, 0xb5, 0x4e, 0xac, 0xf1,
  7559  	0x22, 0xb4, 0xa4, 0x32, 0x6a, 0xd1, 0x84, 0x08, 0x88, 0xa4, 0x12, 0xcf, 0xb6, 0x30, 0xb1, 0x37,
  7560  	0x1c, 0xc7, 0x23, 0x87, 0x5b, 0x48, 0xd6, 0x0b, 0xad, 0x18, 0x2e, 0x1e, 0x5d, 0x47, 0x2d, 0x6d,
  7561  	0x0a, 0x25, 0x39, 0x31, 0x4c, 0x7d, 0x06, 0xed, 0xa1, 0xfe, 0xb0, 0xc1, 0x3b, 0x98, 0x82, 0x0e,
  7562  	0xd4, 0x35, 0xdc, 0x7e, 0x3b, 0xbc, 0xd1, 0x93, 0xee, 0x8a, 0xb7, 0x1f, 0xf6, 0xbf, 0x6c, 0xab,
  7563  	0x59, 0x71, 0x0c, 0xdd, 0xfb, 0x5a, 0xcd, 0x89, 0x34, 0xb3, 0xbd, 0xdf, 0xe0, 0xe8, 0xad, 0x2a,
  7564  	0x50, 0x6a, 0x7f, 0xd5, 0x6e, 0x1e, 0x0c, 0xdb, 0x6a, 0x01, 0x77, 0x44, 0xab, 0xdd, 0xe8, 0x76,
  7565  	0xfb, 0x4d, 0x74, 0x65, 0xc5, 0xed, 0x32, 0x94, 0xc6, 0x42, 0x93, 0xda, 0xaf, 0x00, 0xd6, 0xd3,
  7566  	0xab, 0xce, 0x3e, 0x02, 0xc5, 0x34, 0x53, 0x2b, 0x70, 0x63, 0x95, 0x75, 0xdc, 0x6f, 0x99, 0xd1,
  7567  	0x22, 0x88, 0x0f, 0xac, 0xf7, 0x85, 0x8d, 0x66, 0xcf, 0xd9, 0x68, 0x64, 0xa1, 0x3f, 0x83, 0x0d,
  7568  	0xf9, 0xd6, 0x09, 0xeb, 0xa8, 0x91, 0x11, 0x58, 0x69, 0x03, 0x6c, 0x12, 0xb2, 0x25, 0x71, 0xbb,
  7569  	0x6b, 0x7c, 0x7d, 0x9c, 0x82, 0xb0, 0xcf, 0x60, 0xdd, 0xa0, 0x6a, 0x3c, 0xe6, 0xcf, 0x27, 0xaf,
  7570  	0x81, 0x1a, 0x88, 0x4b, 0xb0, 0xd7, 0x8c, 0x24, 0x00, 0xcd, 0xc4, 0xf4, 0xbd, 0xf9, 0x92, 0x39,
  7571  	0x75, 0x76, 0xdc, 0xf2, 0xbd, 0x79, 0x82, 0xb7, 0x6a, 0x26, 0xda, 0xec, 0x43, 0xa8, 0xca, 0x91,
  7572  	0x8b, 0x22, 0xa6, 0x98, 0xdc, 0x0d, 0x62, 0xd8, 0x14, 0xe1, 0x77, 0xd7, 0x78, 0x65, 0xbc, 0x6c,
  7573  	0xb2, 0xf7, 0xa0, 0x22, 0x06, 0x2c, 0xd8, 0x4a, 0x49, 0x4b, 0xa0, 0xd1, 0x46, 0x5c, 0x60, 0xc4,
  7574  	0x2d, 0xf6, 0x13, 0x00, 0x1a, 0xe7, 0xf2, 0x07, 0x21, 0xcb, 0xb2, 0xd0, 0xf7, 0xe6, 0x11, 0x4b,
  7575  	0xd9, 0x8c, 0x1a, 0x89, 0xe1, 0x89, 0x2b, 0xba, 0xf2, 0xf9, 0xe1, 0xd1, 0xa5, 0xd7, 0x72, 0x78,
  7576  	0xd1, 0x95, 0x9c, 0x1c, 0x9e, 0x60, 0x83, 0x73, 0xc3, 0x8b, 0xb8, 0xc4, 0xf0, 0x04, 0x53, 0x34,
  7577  	0x3c, 0xc1, 0x53, 0x39, 0x3b, 0xbc, 0x88, 0x85, 0x86, 0x27, 0x38, 0x3e, 0x83, 0xf5, 0x28, 0xfb,
  7578  	0x90, 0x93, 0xaa, 0xa6, 0xae, 0x96, 0x25, 0x2e, 0x9a, 0x58, 0x2d, 0x4c, 0x02, 0x90, 0x3b, 0x38,
  7579  	0xf4, 0x8e, 0x13, 0xdb, 0xbb, 0x96, 0xe4, 0x1e, 0x1c, 0x7a, 0xc7, 0xc9, 0xfd, 0x5d, 0x0b, 0x92,
  7580  	0x00, 0x1c, 0xad, 0x98, 0x22, 0xdd, 0xcc, 0xaf, 0x27, 0x47, 0x4b, 0x33, 0x7c, 0x68, 0x5b, 0xc7,
  7581  	0x38, 0x5a, 0x23, 0x6a, 0x68, 0xdf, 0xe5, 0xa1, 0x24, 0xad, 0x9b, 0x5d, 0x84, 0x8d, 0x26, 0x6f,
  7582  	0x37, 0x86, 0x6d, 0xbd, 0xd5, 0x18, 0x36, 0xb6, 0x1b, 0x03, 0x8c, 0x38, 0x0c, 0xd6, 0x1b, 0x58,
  7583  	0x5b, 0x2d, 0x61, 0x19, 0xdc, 0xb2, 0x2d, 0xde, 0xdf, 0x5f, 0x82, 0xb2, 0x4c, 0x85, 0xaa, 0xe4,
  7584  	0x15, 0x8f, 0x9c, 0x73, 0x6c, 0x03, 0x2a, 0x82, 0x51, 0x00, 0xe8, 0xaa, 0x88, 0xb8, 0x44, 0xbb,
  7585  	0x90, 0x60, 0xe9, 0xf4, 0x5a, 0xed, 0xaf, 0xd4, 0xe2, 0x92, 0x45, 0x00, 0x4a, 0x31, 0x8b, 0x68,
  7586  	0x2b, 0x38, 0x98, 0x21, 0x3f, 0xe8, 0x35, 0x97, 0xfd, 0x94, 0x91, 0x49, 0x8a, 0x79, 0xd8, 0x69,
  7587  	0x3f, 0x52, 0x01, 0x99, 0x84, 0x14, 0x6a, 0x57, 0x30, 0x66, 0x92, 0x10, 0x6a, 0x56, 0xd9, 0x55,
  7588  	0xb8, 0x38, 0xd8, 0xed, 0x3f, 0xd2, 0x05, 0x53, 0x3c, 0x85, 0x1a, 0xbb, 0x04, 0x6a, 0x02, 0x21,
  7589  	0xc4, 0xaf, 0x63, 0x97, 0x04, 0x8d, 0x08, 0x07, 0xea, 0x06, 0x3d, 0xe0, 0x42, 0xd8, 0x50, 0x38,
  7590  	0x2c, 0x15, 0xa7, 0x22, 0x58, 0xfb, 0xdd, 0x83, 0xbd, 0xde, 0x40, 0xbd, 0x80, 0x83, 0x20, 0x88,
  7591  	0x18, 0x39, 0x8b, 0xc5, 0x2c, 0xdd, 0xdc, 0x45, 0xf2, 0x7c, 0x08, 0x7b, 0xd4, 0xe0, 0xbd, 0x4e,
  7592  	0x6f, 0x67, 0xa0, 0x5e, 0x8a, 0x25, 0xb7, 0x39, 0xef, 0xf3, 0x81, 0x7a, 0x39, 0x06, 0x0c, 0x86,
  7593  	0x8d, 0xe1, 0xc1, 0x40, 0xbd, 0x12, 0x8f, 0x72, 0x9f, 0xf7, 0x9b, 0xed, 0xc1, 0xa0, 0xdb, 0x19,
  7594  	0x0c, 0xd5, 0xab, 0x58, 0x6a, 0x2f, 0x47, 0x14, 0x11, 0xd7, 0x13, 0x03, 0xe5, 0x3b, 0xed, 0xa1,
  7595  	0x7a, 0x2d, 0x1e, 0x46, 0xb3, 0xdf, 0xed, 0x36, 0xa8, 0x1e, 0xbf, 0xbe, 0x5d, 0xa5, 0x9f, 0xc8,
  7596  	0x48, 0x57, 0xa7, 0xed, 0xc3, 0x7a, 0xda, 0x33, 0x31, 0x0d, 0x6a, 0xf6, 0x44, 0x77, 0xbd, 0x50,
  7597  	0xbc, 0x20, 0x0c, 0xe4, 0x7b, 0xcd, 0x8a, 0x3d, 0xe9, 0x79, 0x21, 0x3d, 0x21, 0xa4, 0xac, 0x35,
  7598  	0x76, 0x34, 0xe2, 0x5e, 0x32, 0x6e, 0x6b, 0xbb, 0x50, 0x4b, 0xf9, 0x2a, 0xf6, 0x12, 0x94, 0xed,
  7599  	0x49, 0x5a, 0x98, 0x62, 0x4f, 0x9e, 0x43, 0xd2, 0x0e, 0x54, 0x93, 0x8e, 0xeb, 0xc5, 0x05, 0xfd,
  7600  	0x53, 0x16, 0x2a, 0x09, 0x47, 0xf6, 0x5c, 0x53, 0xbc, 0x01, 0xe5, 0xd0, 0x9a, 0xcd, 0x3d, 0xdf,
  7601  	0x90, 0x6e, 0x5f, 0xe1, 0x4b, 0x40, 0xaa, 0xb7, 0x5c, 0xba, 0xb7, 0xf4, 0xe1, 0x5e, 0xfe, 0x19,
  7602  	0x87, 0x7b, 0xef, 0x42, 0x35, 0xf1, 0xb0, 0x33, 0x90, 0x57, 0x5a, 0xe7, 0xce, 0xf6, 0x96, 0x8f,
  7603  	0x3c, 0x03, 0x76, 0x19, 0x8a, 0x93, 0x23, 0xdd, 0x1c, 0x89, 0xa7, 0x3b, 0x65, 0x5e, 0x98, 0x1c,
  7604  	0xb5, 0x46, 0x74, 0xfb, 0x3e, 0x39, 0x8a, 0xc4, 0x94, 0x44, 0x29, 0x31, 0x39, 0x92, 0x3c, 0xef,
  7605  	0x43, 0x69, 0x72, 0x24, 0x1e, 0x50, 0x88, 0x4a, 0xef, 0xa5, 0x73, 0xee, 0xfd, 0xfe, 0x83, 0x23,
  7606  	0xf9, 0xe8, 0x95, 0x17, 0x27, 0xf8, 0x19, 0x5c, 0x7f, 0x05, 0xca, 0x31, 0x30, 0xf5, 0x18, 0xb7,
  7607  	0x2c, 0x2f, 0xb4, 0xfb, 0x00, 0x4b, 0x4f, 0xbf, 0xfc, 0x9d, 0x5f, 0x26, 0xf1, 0x3b, 0xbf, 0xb4,
  7608  	0x3a, 0xb2, 0x3f, 0xac, 0x0e, 0xed, 0x9f, 0x33, 0x50, 0x8e, 0x5d, 0xd7, 0x0b, 0x2f, 0x78, 0x7a,
  7609  	0xf1, 0x72, 0x67, 0x17, 0x2f, 0x1e, 0x67, 0xfe, 0xa9, 0xe3, 0x2c, 0xfc, 0xc8, 0x65, 0x2b, 0x3e,
  7610  	0x73, 0xd9, 0xb4, 0xff, 0xca, 0x40, 0x39, 0x0e, 0x71, 0x2f, 0x3e, 0xb5, 0x78, 0xf0, 0xb9, 0xe4,
  7611  	0xe0, 0xef, 0xc1, 0x85, 0xb3, 0xef, 0x83, 0x45, 0xd5, 0x59, 0xe6, 0x1b, 0xe9, 0x07, 0xc2, 0xc1,
  7612  	0x0b, 0x5f, 0x33, 0xb3, 0x6b, 0x20, 0x14, 0xa0, 0xdb, 0x26, 0x25, 0x09, 0x79, 0x5e, 0xa2, 0x76,
  7613  	0xc7, 0x3c, 0xfb, 0xaa, 0xb7, 0x44, 0x2f, 0x95, 0x12, 0xaf, 0x7a, 0xb5, 0xbf, 0xcc, 0x44, 0x5b,
  7614  	0x50, 0x84, 0xcd, 0xe4, 0x14, 0x33, 0x4f, 0x9b, 0x62, 0x36, 0x39, 0xc5, 0x8f, 0xa0, 0x2e, 0xdf,
  7615  	0x01, 0x89, 0x41, 0xc8, 0xd7, 0xf4, 0xfa, 0x91, 0x75, 0x2a, 0x75, 0x71, 0x59, 0xe0, 0x69, 0xb0,
  7616  	0xcb, 0x67, 0x5a, 0xec, 0x75, 0x28, 0x88, 0x70, 0x9e, 0x7f, 0x4a, 0x62, 0xc3, 0x05, 0xfe, 0xec,
  7617  	0xd3, 0xe9, 0xc2, 0xd9, 0xa7, 0xd3, 0x9a, 0x26, 0xcd, 0x5d, 0x4c, 0xe1, 0x52, 0x24, 0x37, 0x7a,
  7618  	0xf6, 0x8d, 0x0d, 0x2c, 0x0e, 0xcb, 0x71, 0xaa, 0xf0, 0x02, 0xd3, 0x4c, 0x3f, 0x1b, 0xcf, 0x9d,
  7619  	0x7d, 0x36, 0xbe, 0xea, 0x21, 0x78, 0x7e, 0xd5, 0x43, 0x70, 0xed, 0xfb, 0x0c, 0xd4, 0x52, 0xd9,
  7620  	0xc7, 0x0b, 0x0c, 0x66, 0xa5, 0x59, 0xe5, 0x9e, 0xd3, 0xac, 0xf2, 0x2f, 0x60, 0x56, 0x85, 0x1f,
  7621  	0x34, 0xab, 0xe2, 0x39, 0xb3, 0xfa, 0x83, 0x4c, 0xfc, 0xf4, 0x59, 0x08, 0x13, 0xaf, 0x54, 0xd3,
  7622  	0x03, 0xc9, 0x44, 0xaf, 0x54, 0x53, 0x94, 0x37, 0x01, 0x8c, 0x31, 0xdd, 0x46, 0x76, 0x5a, 0xe2,
  7623  	0x68, 0xa7, 0xc6, 0x13, 0x10, 0xf6, 0x09, 0x5c, 0x13, 0x85, 0x9c, 0x48, 0x06, 0x75, 0x6f, 0xa2,
  7624  	0x47, 0xd8, 0xe8, 0xdd, 0xc9, 0x15, 0x41, 0x20, 0x1e, 0xc8, 0x4f, 0x1a, 0x11, 0x56, 0xeb, 0x40,
  7625  	0x2d, 0x95, 0xb9, 0x25, 0x7e, 0xc3, 0x99, 0x49, 0xfe, 0x86, 0x93, 0x6d, 0x42, 0xe1, 0xf8, 0xd0,
  7626  	0xf2, 0xad, 0x15, 0xbf, 0x35, 0x13, 0x08, 0xed, 0x33, 0xa8, 0x26, 0x6b, 0x3c, 0xf6, 0x16, 0x14,
  7627  	0xec, 0xd0, 0x9a, 0x45, 0xcf, 0x8c, 0xae, 0x9c, 0x2f, 0x03, 0xe9, 0x59, 0xaf, 0x20, 0xd2, 0x7e,
  7628  	0x99, 0x01, 0xf5, 0x2c, 0x2e, 0xf1, 0x43, 0xd3, 0xcc, 0x53, 0x7e, 0x68, 0x9a, 0x4d, 0x0d, 0x72,
  7629  	0xc5, 0x8f, 0x45, 0x71, 0xe0, 0xe2, 0x20, 0x76, 0xc5, 0xcf, 0x17, 0x09, 0xc1, 0x5e, 0x03, 0xc5,
  7630  	0xb7, 0xe8, 0xc7, 0x7d, 0x66, 0xfa, 0x57, 0x3e, 0xe2, 0x89, 0x69, 0x84, 0xd3, 0x7e, 0x2f, 0x03,
  7631  	0x25, 0x59, 0x90, 0xae, 0x7c, 0x74, 0xf6, 0x06, 0x94, 0xc4, 0x0f, 0xfd, 0x82, 0xa7, 0x9d, 0xd3,
  7632  	0x46, 0x78, 0x76, 0x53, 0x94, 0xe9, 0xe9, 0xc7, 0xd8, 0xfb, 0x8e, 0xe1, 0x72, 0x82, 0xa3, 0x35,
  7633  	0xd1, 0xa9, 0x1b, 0x15, 0x80, 0xc2, 0x3d, 0x16, 0xe8, 0x01, 0xb4, 0x31, 0xc3, 0x84, 0x38, 0xd0,
  7634  	0x7e, 0x0a, 0x25, 0x59, 0xf0, 0xae, 0x1c, 0xca, 0xb3, 0x7e, 0x18, 0xb8, 0x09, 0xb0, 0xac, 0x80,
  7635  	0x57, 0x49, 0xb8, 0x77, 0x0b, 0xaa, 0xc9, 0x9f, 0x42, 0xd1, 0x49, 0x8f, 0xe7, 0x5a, 0xe2, 0xf1,
  7636  	0x55, 0xf7, 0xdb, 0xf7, 0xd5, 0xcc, 0xbd, 0xff, 0x9f, 0x78, 0x63, 0x4c, 0x34, 0x25, 0xc8, 0x7d,
  7637  	0xd9, 0xfe, 0x5a, 0xdc, 0xe2, 0x74, 0x3b, 0xbd, 0x76, 0x83, 0xeb, 0xd8, 0xa6, 0x67, 0x5a, 0xbb,
  7638  	0x8d, 0xc1, 0xae, 0x78, 0xa6, 0x25, 0x31, 0x04, 0xc8, 0xd1, 0x8d, 0x40, 0xa3, 0xb7, 0xd3, 0x16,
  7639  	0xb7, 0x36, 0xf4, 0x19, 0x27, 0xab, 0x05, 0xba, 0x39, 0xc0, 0x3c, 0xb2, 0x88, 0x89, 0x2c, 0x7e,
  7640  	0xc5, 0xb8, 0xd2, 0xbd, 0xcf, 0xa1, 0xfe, 0xb4, 0x23, 0x1c, 0x94, 0xda, 0xdc, 0x6d, 0xd0, 0x31,
  7641  	0x59, 0x15, 0x94, 0x5e, 0x5f, 0x17, 0xad, 0x0c, 0x96, 0xe4, 0xbc, 0xdd, 0x6d, 0x53, 0x69, 0xb0,
  7642  	0xfd, 0xb3, 0xbf, 0xfe, 0xfe, 0x66, 0xe6, 0x6f, 0xbf, 0xbf, 0x99, 0xf9, 0xd7, 0xef, 0x6f, 0xae,
  7643  	0xfd, 0xf2, 0xdf, 0x6e, 0x66, 0xfe, 0x6f, 0xf2, 0x8f, 0x1c, 0xcc, 0x8c, 0xd0, 0xb7, 0x4f, 0x84,
  7644  	0xa3, 0x8e, 0x1a, 0xae, 0xf5, 0xce, 0xfc, 0x68, 0xfa, 0xce, 0x7c, 0xf4, 0x0e, 0x6a, 0x74, 0x54,
  7645  	0xa4, 0xbf, 0x75, 0xf0, 0xde, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x81, 0x65, 0x0d, 0x08, 0x2e,
  7646  	0x41, 0x00, 0x00,
  7647  }
  7648  
  7649  func (m *Type) Marshal() (dAtA []byte, err error) {
  7650  	size := m.ProtoSize()
  7651  	dAtA = make([]byte, size)
  7652  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7653  	if err != nil {
  7654  		return nil, err
  7655  	}
  7656  	return dAtA[:n], nil
  7657  }
  7658  
  7659  func (m *Type) MarshalTo(dAtA []byte) (int, error) {
  7660  	size := m.ProtoSize()
  7661  	return m.MarshalToSizedBuffer(dAtA[:size])
  7662  }
  7663  
  7664  func (m *Type) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7665  	i := len(dAtA)
  7666  	_ = i
  7667  	var l int
  7668  	_ = l
  7669  	if m.XXX_unrecognized != nil {
  7670  		i -= len(m.XXX_unrecognized)
  7671  		copy(dAtA[i:], m.XXX_unrecognized)
  7672  	}
  7673  	if len(m.Table) > 0 {
  7674  		i -= len(m.Table)
  7675  		copy(dAtA[i:], m.Table)
  7676  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Table)))
  7677  		i--
  7678  		dAtA[i] = 0x42
  7679  	}
  7680  	if m.Scale != 0 {
  7681  		i = encodeVarintPlan(dAtA, i, uint64(m.Scale))
  7682  		i--
  7683  		dAtA[i] = 0x38
  7684  	}
  7685  	if m.Size != 0 {
  7686  		i = encodeVarintPlan(dAtA, i, uint64(m.Size))
  7687  		i--
  7688  		dAtA[i] = 0x30
  7689  	}
  7690  	if m.Precision != 0 {
  7691  		i = encodeVarintPlan(dAtA, i, uint64(m.Precision))
  7692  		i--
  7693  		dAtA[i] = 0x28
  7694  	}
  7695  	if m.Width != 0 {
  7696  		i = encodeVarintPlan(dAtA, i, uint64(m.Width))
  7697  		i--
  7698  		dAtA[i] = 0x20
  7699  	}
  7700  	if m.AutoIncr {
  7701  		i--
  7702  		if m.AutoIncr {
  7703  			dAtA[i] = 1
  7704  		} else {
  7705  			dAtA[i] = 0
  7706  		}
  7707  		i--
  7708  		dAtA[i] = 0x18
  7709  	}
  7710  	if m.NotNullable {
  7711  		i--
  7712  		if m.NotNullable {
  7713  			dAtA[i] = 1
  7714  		} else {
  7715  			dAtA[i] = 0
  7716  		}
  7717  		i--
  7718  		dAtA[i] = 0x10
  7719  	}
  7720  	if m.Id != 0 {
  7721  		i = encodeVarintPlan(dAtA, i, uint64(m.Id))
  7722  		i--
  7723  		dAtA[i] = 0x8
  7724  	}
  7725  	return len(dAtA) - i, nil
  7726  }
  7727  
  7728  func (m *Const) Marshal() (dAtA []byte, err error) {
  7729  	size := m.ProtoSize()
  7730  	dAtA = make([]byte, size)
  7731  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7732  	if err != nil {
  7733  		return nil, err
  7734  	}
  7735  	return dAtA[:n], nil
  7736  }
  7737  
  7738  func (m *Const) MarshalTo(dAtA []byte) (int, error) {
  7739  	size := m.ProtoSize()
  7740  	return m.MarshalToSizedBuffer(dAtA[:size])
  7741  }
  7742  
  7743  func (m *Const) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7744  	i := len(dAtA)
  7745  	_ = i
  7746  	var l int
  7747  	_ = l
  7748  	if m.XXX_unrecognized != nil {
  7749  		i -= len(m.XXX_unrecognized)
  7750  		copy(dAtA[i:], m.XXX_unrecognized)
  7751  	}
  7752  	if m.Src != nil {
  7753  		{
  7754  			size, err := m.Src.MarshalToSizedBuffer(dAtA[:i])
  7755  			if err != nil {
  7756  				return 0, err
  7757  			}
  7758  			i -= size
  7759  			i = encodeVarintPlan(dAtA, i, uint64(size))
  7760  		}
  7761  		i--
  7762  		dAtA[i] = 0x1
  7763  		i--
  7764  		dAtA[i] = 0xc2
  7765  	}
  7766  	if m.IsBin {
  7767  		i--
  7768  		if m.IsBin {
  7769  			dAtA[i] = 1
  7770  		} else {
  7771  			dAtA[i] = 0
  7772  		}
  7773  		i--
  7774  		dAtA[i] = 0x1
  7775  		i--
  7776  		dAtA[i] = 0xb8
  7777  	}
  7778  	if m.Value != nil {
  7779  		{
  7780  			size := m.Value.ProtoSize()
  7781  			i -= size
  7782  			if _, err := m.Value.MarshalTo(dAtA[i:]); err != nil {
  7783  				return 0, err
  7784  			}
  7785  		}
  7786  	}
  7787  	if m.Isnull {
  7788  		i--
  7789  		if m.Isnull {
  7790  			dAtA[i] = 1
  7791  		} else {
  7792  			dAtA[i] = 0
  7793  		}
  7794  		i--
  7795  		dAtA[i] = 0x8
  7796  	}
  7797  	return len(dAtA) - i, nil
  7798  }
  7799  
  7800  func (m *Const_I8Val) MarshalTo(dAtA []byte) (int, error) {
  7801  	size := m.ProtoSize()
  7802  	return m.MarshalToSizedBuffer(dAtA[:size])
  7803  }
  7804  
  7805  func (m *Const_I8Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7806  	i := len(dAtA)
  7807  	i = encodeVarintPlan(dAtA, i, uint64(m.I8Val))
  7808  	i--
  7809  	dAtA[i] = 0x10
  7810  	return len(dAtA) - i, nil
  7811  }
  7812  func (m *Const_I16Val) MarshalTo(dAtA []byte) (int, error) {
  7813  	size := m.ProtoSize()
  7814  	return m.MarshalToSizedBuffer(dAtA[:size])
  7815  }
  7816  
  7817  func (m *Const_I16Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7818  	i := len(dAtA)
  7819  	i = encodeVarintPlan(dAtA, i, uint64(m.I16Val))
  7820  	i--
  7821  	dAtA[i] = 0x18
  7822  	return len(dAtA) - i, nil
  7823  }
  7824  func (m *Const_I32Val) MarshalTo(dAtA []byte) (int, error) {
  7825  	size := m.ProtoSize()
  7826  	return m.MarshalToSizedBuffer(dAtA[:size])
  7827  }
  7828  
  7829  func (m *Const_I32Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7830  	i := len(dAtA)
  7831  	i = encodeVarintPlan(dAtA, i, uint64(m.I32Val))
  7832  	i--
  7833  	dAtA[i] = 0x20
  7834  	return len(dAtA) - i, nil
  7835  }
  7836  func (m *Const_I64Val) MarshalTo(dAtA []byte) (int, error) {
  7837  	size := m.ProtoSize()
  7838  	return m.MarshalToSizedBuffer(dAtA[:size])
  7839  }
  7840  
  7841  func (m *Const_I64Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7842  	i := len(dAtA)
  7843  	i = encodeVarintPlan(dAtA, i, uint64(m.I64Val))
  7844  	i--
  7845  	dAtA[i] = 0x28
  7846  	return len(dAtA) - i, nil
  7847  }
  7848  func (m *Const_U8Val) MarshalTo(dAtA []byte) (int, error) {
  7849  	size := m.ProtoSize()
  7850  	return m.MarshalToSizedBuffer(dAtA[:size])
  7851  }
  7852  
  7853  func (m *Const_U8Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7854  	i := len(dAtA)
  7855  	i = encodeVarintPlan(dAtA, i, uint64(m.U8Val))
  7856  	i--
  7857  	dAtA[i] = 0x30
  7858  	return len(dAtA) - i, nil
  7859  }
  7860  func (m *Const_U16Val) MarshalTo(dAtA []byte) (int, error) {
  7861  	size := m.ProtoSize()
  7862  	return m.MarshalToSizedBuffer(dAtA[:size])
  7863  }
  7864  
  7865  func (m *Const_U16Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7866  	i := len(dAtA)
  7867  	i = encodeVarintPlan(dAtA, i, uint64(m.U16Val))
  7868  	i--
  7869  	dAtA[i] = 0x38
  7870  	return len(dAtA) - i, nil
  7871  }
  7872  func (m *Const_U32Val) MarshalTo(dAtA []byte) (int, error) {
  7873  	size := m.ProtoSize()
  7874  	return m.MarshalToSizedBuffer(dAtA[:size])
  7875  }
  7876  
  7877  func (m *Const_U32Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7878  	i := len(dAtA)
  7879  	i = encodeVarintPlan(dAtA, i, uint64(m.U32Val))
  7880  	i--
  7881  	dAtA[i] = 0x40
  7882  	return len(dAtA) - i, nil
  7883  }
  7884  func (m *Const_U64Val) MarshalTo(dAtA []byte) (int, error) {
  7885  	size := m.ProtoSize()
  7886  	return m.MarshalToSizedBuffer(dAtA[:size])
  7887  }
  7888  
  7889  func (m *Const_U64Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7890  	i := len(dAtA)
  7891  	i = encodeVarintPlan(dAtA, i, uint64(m.U64Val))
  7892  	i--
  7893  	dAtA[i] = 0x48
  7894  	return len(dAtA) - i, nil
  7895  }
  7896  func (m *Const_Dval) MarshalTo(dAtA []byte) (int, error) {
  7897  	size := m.ProtoSize()
  7898  	return m.MarshalToSizedBuffer(dAtA[:size])
  7899  }
  7900  
  7901  func (m *Const_Dval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7902  	i := len(dAtA)
  7903  	i -= 8
  7904  	encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Dval))))
  7905  	i--
  7906  	dAtA[i] = 0x51
  7907  	return len(dAtA) - i, nil
  7908  }
  7909  func (m *Const_Sval) MarshalTo(dAtA []byte) (int, error) {
  7910  	size := m.ProtoSize()
  7911  	return m.MarshalToSizedBuffer(dAtA[:size])
  7912  }
  7913  
  7914  func (m *Const_Sval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7915  	i := len(dAtA)
  7916  	i -= len(m.Sval)
  7917  	copy(dAtA[i:], m.Sval)
  7918  	i = encodeVarintPlan(dAtA, i, uint64(len(m.Sval)))
  7919  	i--
  7920  	dAtA[i] = 0x5a
  7921  	return len(dAtA) - i, nil
  7922  }
  7923  func (m *Const_Bval) MarshalTo(dAtA []byte) (int, error) {
  7924  	size := m.ProtoSize()
  7925  	return m.MarshalToSizedBuffer(dAtA[:size])
  7926  }
  7927  
  7928  func (m *Const_Bval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7929  	i := len(dAtA)
  7930  	i--
  7931  	if m.Bval {
  7932  		dAtA[i] = 1
  7933  	} else {
  7934  		dAtA[i] = 0
  7935  	}
  7936  	i--
  7937  	dAtA[i] = 0x60
  7938  	return len(dAtA) - i, nil
  7939  }
  7940  func (m *Const_Fval) MarshalTo(dAtA []byte) (int, error) {
  7941  	size := m.ProtoSize()
  7942  	return m.MarshalToSizedBuffer(dAtA[:size])
  7943  }
  7944  
  7945  func (m *Const_Fval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7946  	i := len(dAtA)
  7947  	i -= 4
  7948  	encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Fval))))
  7949  	i--
  7950  	dAtA[i] = 0x6d
  7951  	return len(dAtA) - i, nil
  7952  }
  7953  func (m *Const_Dateval) MarshalTo(dAtA []byte) (int, error) {
  7954  	size := m.ProtoSize()
  7955  	return m.MarshalToSizedBuffer(dAtA[:size])
  7956  }
  7957  
  7958  func (m *Const_Dateval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7959  	i := len(dAtA)
  7960  	i = encodeVarintPlan(dAtA, i, uint64(m.Dateval))
  7961  	i--
  7962  	dAtA[i] = 0x70
  7963  	return len(dAtA) - i, nil
  7964  }
  7965  func (m *Const_Timeval) MarshalTo(dAtA []byte) (int, error) {
  7966  	size := m.ProtoSize()
  7967  	return m.MarshalToSizedBuffer(dAtA[:size])
  7968  }
  7969  
  7970  func (m *Const_Timeval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7971  	i := len(dAtA)
  7972  	i = encodeVarintPlan(dAtA, i, uint64(m.Timeval))
  7973  	i--
  7974  	dAtA[i] = 0x78
  7975  	return len(dAtA) - i, nil
  7976  }
  7977  func (m *Const_Datetimeval) MarshalTo(dAtA []byte) (int, error) {
  7978  	size := m.ProtoSize()
  7979  	return m.MarshalToSizedBuffer(dAtA[:size])
  7980  }
  7981  
  7982  func (m *Const_Datetimeval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7983  	i := len(dAtA)
  7984  	i = encodeVarintPlan(dAtA, i, uint64(m.Datetimeval))
  7985  	i--
  7986  	dAtA[i] = 0x1
  7987  	i--
  7988  	dAtA[i] = 0x80
  7989  	return len(dAtA) - i, nil
  7990  }
  7991  func (m *Const_Decimal64Val) MarshalTo(dAtA []byte) (int, error) {
  7992  	size := m.ProtoSize()
  7993  	return m.MarshalToSizedBuffer(dAtA[:size])
  7994  }
  7995  
  7996  func (m *Const_Decimal64Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7997  	i := len(dAtA)
  7998  	if m.Decimal64Val != nil {
  7999  		{
  8000  			size, err := m.Decimal64Val.MarshalToSizedBuffer(dAtA[:i])
  8001  			if err != nil {
  8002  				return 0, err
  8003  			}
  8004  			i -= size
  8005  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8006  		}
  8007  		i--
  8008  		dAtA[i] = 0x1
  8009  		i--
  8010  		dAtA[i] = 0x8a
  8011  	}
  8012  	return len(dAtA) - i, nil
  8013  }
  8014  func (m *Const_Decimal128Val) MarshalTo(dAtA []byte) (int, error) {
  8015  	size := m.ProtoSize()
  8016  	return m.MarshalToSizedBuffer(dAtA[:size])
  8017  }
  8018  
  8019  func (m *Const_Decimal128Val) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8020  	i := len(dAtA)
  8021  	if m.Decimal128Val != nil {
  8022  		{
  8023  			size, err := m.Decimal128Val.MarshalToSizedBuffer(dAtA[:i])
  8024  			if err != nil {
  8025  				return 0, err
  8026  			}
  8027  			i -= size
  8028  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8029  		}
  8030  		i--
  8031  		dAtA[i] = 0x1
  8032  		i--
  8033  		dAtA[i] = 0x92
  8034  	}
  8035  	return len(dAtA) - i, nil
  8036  }
  8037  func (m *Const_Timestampval) MarshalTo(dAtA []byte) (int, error) {
  8038  	size := m.ProtoSize()
  8039  	return m.MarshalToSizedBuffer(dAtA[:size])
  8040  }
  8041  
  8042  func (m *Const_Timestampval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8043  	i := len(dAtA)
  8044  	i = encodeVarintPlan(dAtA, i, uint64(m.Timestampval))
  8045  	i--
  8046  	dAtA[i] = 0x1
  8047  	i--
  8048  	dAtA[i] = 0x98
  8049  	return len(dAtA) - i, nil
  8050  }
  8051  func (m *Const_Jsonval) MarshalTo(dAtA []byte) (int, error) {
  8052  	size := m.ProtoSize()
  8053  	return m.MarshalToSizedBuffer(dAtA[:size])
  8054  }
  8055  
  8056  func (m *Const_Jsonval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8057  	i := len(dAtA)
  8058  	i -= len(m.Jsonval)
  8059  	copy(dAtA[i:], m.Jsonval)
  8060  	i = encodeVarintPlan(dAtA, i, uint64(len(m.Jsonval)))
  8061  	i--
  8062  	dAtA[i] = 0x1
  8063  	i--
  8064  	dAtA[i] = 0xa2
  8065  	return len(dAtA) - i, nil
  8066  }
  8067  func (m *Const_Defaultval) MarshalTo(dAtA []byte) (int, error) {
  8068  	size := m.ProtoSize()
  8069  	return m.MarshalToSizedBuffer(dAtA[:size])
  8070  }
  8071  
  8072  func (m *Const_Defaultval) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8073  	i := len(dAtA)
  8074  	i--
  8075  	if m.Defaultval {
  8076  		dAtA[i] = 1
  8077  	} else {
  8078  		dAtA[i] = 0
  8079  	}
  8080  	i--
  8081  	dAtA[i] = 0x1
  8082  	i--
  8083  	dAtA[i] = 0xa8
  8084  	return len(dAtA) - i, nil
  8085  }
  8086  func (m *Const_UpdateVal) MarshalTo(dAtA []byte) (int, error) {
  8087  	size := m.ProtoSize()
  8088  	return m.MarshalToSizedBuffer(dAtA[:size])
  8089  }
  8090  
  8091  func (m *Const_UpdateVal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8092  	i := len(dAtA)
  8093  	i--
  8094  	if m.UpdateVal {
  8095  		dAtA[i] = 1
  8096  	} else {
  8097  		dAtA[i] = 0
  8098  	}
  8099  	i--
  8100  	dAtA[i] = 0x1
  8101  	i--
  8102  	dAtA[i] = 0xb0
  8103  	return len(dAtA) - i, nil
  8104  }
  8105  func (m *ParamRef) Marshal() (dAtA []byte, err error) {
  8106  	size := m.ProtoSize()
  8107  	dAtA = make([]byte, size)
  8108  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8109  	if err != nil {
  8110  		return nil, err
  8111  	}
  8112  	return dAtA[:n], nil
  8113  }
  8114  
  8115  func (m *ParamRef) MarshalTo(dAtA []byte) (int, error) {
  8116  	size := m.ProtoSize()
  8117  	return m.MarshalToSizedBuffer(dAtA[:size])
  8118  }
  8119  
  8120  func (m *ParamRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8121  	i := len(dAtA)
  8122  	_ = i
  8123  	var l int
  8124  	_ = l
  8125  	if m.XXX_unrecognized != nil {
  8126  		i -= len(m.XXX_unrecognized)
  8127  		copy(dAtA[i:], m.XXX_unrecognized)
  8128  	}
  8129  	if m.Pos != 0 {
  8130  		i = encodeVarintPlan(dAtA, i, uint64(m.Pos))
  8131  		i--
  8132  		dAtA[i] = 0x8
  8133  	}
  8134  	return len(dAtA) - i, nil
  8135  }
  8136  
  8137  func (m *VarRef) Marshal() (dAtA []byte, err error) {
  8138  	size := m.ProtoSize()
  8139  	dAtA = make([]byte, size)
  8140  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8141  	if err != nil {
  8142  		return nil, err
  8143  	}
  8144  	return dAtA[:n], nil
  8145  }
  8146  
  8147  func (m *VarRef) MarshalTo(dAtA []byte) (int, error) {
  8148  	size := m.ProtoSize()
  8149  	return m.MarshalToSizedBuffer(dAtA[:size])
  8150  }
  8151  
  8152  func (m *VarRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8153  	i := len(dAtA)
  8154  	_ = i
  8155  	var l int
  8156  	_ = l
  8157  	if m.XXX_unrecognized != nil {
  8158  		i -= len(m.XXX_unrecognized)
  8159  		copy(dAtA[i:], m.XXX_unrecognized)
  8160  	}
  8161  	if m.Global {
  8162  		i--
  8163  		if m.Global {
  8164  			dAtA[i] = 1
  8165  		} else {
  8166  			dAtA[i] = 0
  8167  		}
  8168  		i--
  8169  		dAtA[i] = 0x18
  8170  	}
  8171  	if m.System {
  8172  		i--
  8173  		if m.System {
  8174  			dAtA[i] = 1
  8175  		} else {
  8176  			dAtA[i] = 0
  8177  		}
  8178  		i--
  8179  		dAtA[i] = 0x10
  8180  	}
  8181  	if len(m.Name) > 0 {
  8182  		i -= len(m.Name)
  8183  		copy(dAtA[i:], m.Name)
  8184  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
  8185  		i--
  8186  		dAtA[i] = 0xa
  8187  	}
  8188  	return len(dAtA) - i, nil
  8189  }
  8190  
  8191  func (m *ColRef) Marshal() (dAtA []byte, err error) {
  8192  	size := m.ProtoSize()
  8193  	dAtA = make([]byte, size)
  8194  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8195  	if err != nil {
  8196  		return nil, err
  8197  	}
  8198  	return dAtA[:n], nil
  8199  }
  8200  
  8201  func (m *ColRef) MarshalTo(dAtA []byte) (int, error) {
  8202  	size := m.ProtoSize()
  8203  	return m.MarshalToSizedBuffer(dAtA[:size])
  8204  }
  8205  
  8206  func (m *ColRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8207  	i := len(dAtA)
  8208  	_ = i
  8209  	var l int
  8210  	_ = l
  8211  	if m.XXX_unrecognized != nil {
  8212  		i -= len(m.XXX_unrecognized)
  8213  		copy(dAtA[i:], m.XXX_unrecognized)
  8214  	}
  8215  	if len(m.Name) > 0 {
  8216  		i -= len(m.Name)
  8217  		copy(dAtA[i:], m.Name)
  8218  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
  8219  		i--
  8220  		dAtA[i] = 0x1a
  8221  	}
  8222  	if m.ColPos != 0 {
  8223  		i = encodeVarintPlan(dAtA, i, uint64(m.ColPos))
  8224  		i--
  8225  		dAtA[i] = 0x10
  8226  	}
  8227  	if m.RelPos != 0 {
  8228  		i = encodeVarintPlan(dAtA, i, uint64(m.RelPos))
  8229  		i--
  8230  		dAtA[i] = 0x8
  8231  	}
  8232  	return len(dAtA) - i, nil
  8233  }
  8234  
  8235  func (m *RawColRef) Marshal() (dAtA []byte, err error) {
  8236  	size := m.ProtoSize()
  8237  	dAtA = make([]byte, size)
  8238  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8239  	if err != nil {
  8240  		return nil, err
  8241  	}
  8242  	return dAtA[:n], nil
  8243  }
  8244  
  8245  func (m *RawColRef) MarshalTo(dAtA []byte) (int, error) {
  8246  	size := m.ProtoSize()
  8247  	return m.MarshalToSizedBuffer(dAtA[:size])
  8248  }
  8249  
  8250  func (m *RawColRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8251  	i := len(dAtA)
  8252  	_ = i
  8253  	var l int
  8254  	_ = l
  8255  	if m.XXX_unrecognized != nil {
  8256  		i -= len(m.XXX_unrecognized)
  8257  		copy(dAtA[i:], m.XXX_unrecognized)
  8258  	}
  8259  	if m.ColId != 0 {
  8260  		i = encodeVarintPlan(dAtA, i, uint64(m.ColId))
  8261  		i--
  8262  		dAtA[i] = 0x10
  8263  	}
  8264  	if m.TblId != 0 {
  8265  		i = encodeVarintPlan(dAtA, i, uint64(m.TblId))
  8266  		i--
  8267  		dAtA[i] = 0x8
  8268  	}
  8269  	return len(dAtA) - i, nil
  8270  }
  8271  
  8272  func (m *CorrColRef) Marshal() (dAtA []byte, err error) {
  8273  	size := m.ProtoSize()
  8274  	dAtA = make([]byte, size)
  8275  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8276  	if err != nil {
  8277  		return nil, err
  8278  	}
  8279  	return dAtA[:n], nil
  8280  }
  8281  
  8282  func (m *CorrColRef) MarshalTo(dAtA []byte) (int, error) {
  8283  	size := m.ProtoSize()
  8284  	return m.MarshalToSizedBuffer(dAtA[:size])
  8285  }
  8286  
  8287  func (m *CorrColRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8288  	i := len(dAtA)
  8289  	_ = i
  8290  	var l int
  8291  	_ = l
  8292  	if m.XXX_unrecognized != nil {
  8293  		i -= len(m.XXX_unrecognized)
  8294  		copy(dAtA[i:], m.XXX_unrecognized)
  8295  	}
  8296  	if m.Depth != 0 {
  8297  		i = encodeVarintPlan(dAtA, i, uint64(m.Depth))
  8298  		i--
  8299  		dAtA[i] = 0x18
  8300  	}
  8301  	if m.ColPos != 0 {
  8302  		i = encodeVarintPlan(dAtA, i, uint64(m.ColPos))
  8303  		i--
  8304  		dAtA[i] = 0x10
  8305  	}
  8306  	if m.RelPos != 0 {
  8307  		i = encodeVarintPlan(dAtA, i, uint64(m.RelPos))
  8308  		i--
  8309  		dAtA[i] = 0x8
  8310  	}
  8311  	return len(dAtA) - i, nil
  8312  }
  8313  
  8314  func (m *ExprList) Marshal() (dAtA []byte, err error) {
  8315  	size := m.ProtoSize()
  8316  	dAtA = make([]byte, size)
  8317  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8318  	if err != nil {
  8319  		return nil, err
  8320  	}
  8321  	return dAtA[:n], nil
  8322  }
  8323  
  8324  func (m *ExprList) MarshalTo(dAtA []byte) (int, error) {
  8325  	size := m.ProtoSize()
  8326  	return m.MarshalToSizedBuffer(dAtA[:size])
  8327  }
  8328  
  8329  func (m *ExprList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8330  	i := len(dAtA)
  8331  	_ = i
  8332  	var l int
  8333  	_ = l
  8334  	if m.XXX_unrecognized != nil {
  8335  		i -= len(m.XXX_unrecognized)
  8336  		copy(dAtA[i:], m.XXX_unrecognized)
  8337  	}
  8338  	if len(m.List) > 0 {
  8339  		for iNdEx := len(m.List) - 1; iNdEx >= 0; iNdEx-- {
  8340  			{
  8341  				size, err := m.List[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8342  				if err != nil {
  8343  					return 0, err
  8344  				}
  8345  				i -= size
  8346  				i = encodeVarintPlan(dAtA, i, uint64(size))
  8347  			}
  8348  			i--
  8349  			dAtA[i] = 0xa
  8350  		}
  8351  	}
  8352  	return len(dAtA) - i, nil
  8353  }
  8354  
  8355  func (m *MaxValue) Marshal() (dAtA []byte, err error) {
  8356  	size := m.ProtoSize()
  8357  	dAtA = make([]byte, size)
  8358  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8359  	if err != nil {
  8360  		return nil, err
  8361  	}
  8362  	return dAtA[:n], nil
  8363  }
  8364  
  8365  func (m *MaxValue) MarshalTo(dAtA []byte) (int, error) {
  8366  	size := m.ProtoSize()
  8367  	return m.MarshalToSizedBuffer(dAtA[:size])
  8368  }
  8369  
  8370  func (m *MaxValue) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8371  	i := len(dAtA)
  8372  	_ = i
  8373  	var l int
  8374  	_ = l
  8375  	if m.XXX_unrecognized != nil {
  8376  		i -= len(m.XXX_unrecognized)
  8377  		copy(dAtA[i:], m.XXX_unrecognized)
  8378  	}
  8379  	if len(m.Value) > 0 {
  8380  		i -= len(m.Value)
  8381  		copy(dAtA[i:], m.Value)
  8382  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Value)))
  8383  		i--
  8384  		dAtA[i] = 0xa
  8385  	}
  8386  	return len(dAtA) - i, nil
  8387  }
  8388  
  8389  func (m *TargetType) Marshal() (dAtA []byte, err error) {
  8390  	size := m.ProtoSize()
  8391  	dAtA = make([]byte, size)
  8392  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8393  	if err != nil {
  8394  		return nil, err
  8395  	}
  8396  	return dAtA[:n], nil
  8397  }
  8398  
  8399  func (m *TargetType) MarshalTo(dAtA []byte) (int, error) {
  8400  	size := m.ProtoSize()
  8401  	return m.MarshalToSizedBuffer(dAtA[:size])
  8402  }
  8403  
  8404  func (m *TargetType) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8405  	i := len(dAtA)
  8406  	_ = i
  8407  	var l int
  8408  	_ = l
  8409  	if m.XXX_unrecognized != nil {
  8410  		i -= len(m.XXX_unrecognized)
  8411  		copy(dAtA[i:], m.XXX_unrecognized)
  8412  	}
  8413  	if m.Typ != nil {
  8414  		{
  8415  			size, err := m.Typ.MarshalToSizedBuffer(dAtA[:i])
  8416  			if err != nil {
  8417  				return 0, err
  8418  			}
  8419  			i -= size
  8420  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8421  		}
  8422  		i--
  8423  		dAtA[i] = 0xa
  8424  	}
  8425  	return len(dAtA) - i, nil
  8426  }
  8427  
  8428  func (m *SubqueryRef) Marshal() (dAtA []byte, err error) {
  8429  	size := m.ProtoSize()
  8430  	dAtA = make([]byte, size)
  8431  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8432  	if err != nil {
  8433  		return nil, err
  8434  	}
  8435  	return dAtA[:n], nil
  8436  }
  8437  
  8438  func (m *SubqueryRef) MarshalTo(dAtA []byte) (int, error) {
  8439  	size := m.ProtoSize()
  8440  	return m.MarshalToSizedBuffer(dAtA[:size])
  8441  }
  8442  
  8443  func (m *SubqueryRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8444  	i := len(dAtA)
  8445  	_ = i
  8446  	var l int
  8447  	_ = l
  8448  	if m.XXX_unrecognized != nil {
  8449  		i -= len(m.XXX_unrecognized)
  8450  		copy(dAtA[i:], m.XXX_unrecognized)
  8451  	}
  8452  	if m.RowSize != 0 {
  8453  		i = encodeVarintPlan(dAtA, i, uint64(m.RowSize))
  8454  		i--
  8455  		dAtA[i] = 0x28
  8456  	}
  8457  	if m.Child != nil {
  8458  		{
  8459  			size, err := m.Child.MarshalToSizedBuffer(dAtA[:i])
  8460  			if err != nil {
  8461  				return 0, err
  8462  			}
  8463  			i -= size
  8464  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8465  		}
  8466  		i--
  8467  		dAtA[i] = 0x22
  8468  	}
  8469  	if len(m.Op) > 0 {
  8470  		i -= len(m.Op)
  8471  		copy(dAtA[i:], m.Op)
  8472  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Op)))
  8473  		i--
  8474  		dAtA[i] = 0x1a
  8475  	}
  8476  	if m.NodeId != 0 {
  8477  		i = encodeVarintPlan(dAtA, i, uint64(m.NodeId))
  8478  		i--
  8479  		dAtA[i] = 0x10
  8480  	}
  8481  	if m.Typ != 0 {
  8482  		i = encodeVarintPlan(dAtA, i, uint64(m.Typ))
  8483  		i--
  8484  		dAtA[i] = 0x8
  8485  	}
  8486  	return len(dAtA) - i, nil
  8487  }
  8488  
  8489  func (m *ObjectRef) Marshal() (dAtA []byte, err error) {
  8490  	size := m.ProtoSize()
  8491  	dAtA = make([]byte, size)
  8492  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8493  	if err != nil {
  8494  		return nil, err
  8495  	}
  8496  	return dAtA[:n], nil
  8497  }
  8498  
  8499  func (m *ObjectRef) MarshalTo(dAtA []byte) (int, error) {
  8500  	size := m.ProtoSize()
  8501  	return m.MarshalToSizedBuffer(dAtA[:size])
  8502  }
  8503  
  8504  func (m *ObjectRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8505  	i := len(dAtA)
  8506  	_ = i
  8507  	var l int
  8508  	_ = l
  8509  	if m.XXX_unrecognized != nil {
  8510  		i -= len(m.XXX_unrecognized)
  8511  		copy(dAtA[i:], m.XXX_unrecognized)
  8512  	}
  8513  	if len(m.ObjName) > 0 {
  8514  		i -= len(m.ObjName)
  8515  		copy(dAtA[i:], m.ObjName)
  8516  		i = encodeVarintPlan(dAtA, i, uint64(len(m.ObjName)))
  8517  		i--
  8518  		dAtA[i] = 0x42
  8519  	}
  8520  	if len(m.SchemaName) > 0 {
  8521  		i -= len(m.SchemaName)
  8522  		copy(dAtA[i:], m.SchemaName)
  8523  		i = encodeVarintPlan(dAtA, i, uint64(len(m.SchemaName)))
  8524  		i--
  8525  		dAtA[i] = 0x3a
  8526  	}
  8527  	if len(m.DbName) > 0 {
  8528  		i -= len(m.DbName)
  8529  		copy(dAtA[i:], m.DbName)
  8530  		i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName)))
  8531  		i--
  8532  		dAtA[i] = 0x32
  8533  	}
  8534  	if len(m.ServerName) > 0 {
  8535  		i -= len(m.ServerName)
  8536  		copy(dAtA[i:], m.ServerName)
  8537  		i = encodeVarintPlan(dAtA, i, uint64(len(m.ServerName)))
  8538  		i--
  8539  		dAtA[i] = 0x2a
  8540  	}
  8541  	if m.Obj != 0 {
  8542  		i = encodeVarintPlan(dAtA, i, uint64(m.Obj))
  8543  		i--
  8544  		dAtA[i] = 0x20
  8545  	}
  8546  	if m.Schema != 0 {
  8547  		i = encodeVarintPlan(dAtA, i, uint64(m.Schema))
  8548  		i--
  8549  		dAtA[i] = 0x18
  8550  	}
  8551  	if m.Db != 0 {
  8552  		i = encodeVarintPlan(dAtA, i, uint64(m.Db))
  8553  		i--
  8554  		dAtA[i] = 0x10
  8555  	}
  8556  	if m.Server != 0 {
  8557  		i = encodeVarintPlan(dAtA, i, uint64(m.Server))
  8558  		i--
  8559  		dAtA[i] = 0x8
  8560  	}
  8561  	return len(dAtA) - i, nil
  8562  }
  8563  
  8564  func (m *Function) Marshal() (dAtA []byte, err error) {
  8565  	size := m.ProtoSize()
  8566  	dAtA = make([]byte, size)
  8567  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8568  	if err != nil {
  8569  		return nil, err
  8570  	}
  8571  	return dAtA[:n], nil
  8572  }
  8573  
  8574  func (m *Function) MarshalTo(dAtA []byte) (int, error) {
  8575  	size := m.ProtoSize()
  8576  	return m.MarshalToSizedBuffer(dAtA[:size])
  8577  }
  8578  
  8579  func (m *Function) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8580  	i := len(dAtA)
  8581  	_ = i
  8582  	var l int
  8583  	_ = l
  8584  	if m.XXX_unrecognized != nil {
  8585  		i -= len(m.XXX_unrecognized)
  8586  		copy(dAtA[i:], m.XXX_unrecognized)
  8587  	}
  8588  	if len(m.Args) > 0 {
  8589  		for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
  8590  			{
  8591  				size, err := m.Args[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8592  				if err != nil {
  8593  					return 0, err
  8594  				}
  8595  				i -= size
  8596  				i = encodeVarintPlan(dAtA, i, uint64(size))
  8597  			}
  8598  			i--
  8599  			dAtA[i] = 0x12
  8600  		}
  8601  	}
  8602  	if m.Func != nil {
  8603  		{
  8604  			size, err := m.Func.MarshalToSizedBuffer(dAtA[:i])
  8605  			if err != nil {
  8606  				return 0, err
  8607  			}
  8608  			i -= size
  8609  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8610  		}
  8611  		i--
  8612  		dAtA[i] = 0xa
  8613  	}
  8614  	return len(dAtA) - i, nil
  8615  }
  8616  
  8617  func (m *Expr) Marshal() (dAtA []byte, err error) {
  8618  	size := m.ProtoSize()
  8619  	dAtA = make([]byte, size)
  8620  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8621  	if err != nil {
  8622  		return nil, err
  8623  	}
  8624  	return dAtA[:n], nil
  8625  }
  8626  
  8627  func (m *Expr) MarshalTo(dAtA []byte) (int, error) {
  8628  	size := m.ProtoSize()
  8629  	return m.MarshalToSizedBuffer(dAtA[:size])
  8630  }
  8631  
  8632  func (m *Expr) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8633  	i := len(dAtA)
  8634  	_ = i
  8635  	var l int
  8636  	_ = l
  8637  	if m.XXX_unrecognized != nil {
  8638  		i -= len(m.XXX_unrecognized)
  8639  		copy(dAtA[i:], m.XXX_unrecognized)
  8640  	}
  8641  	if m.Expr != nil {
  8642  		{
  8643  			size := m.Expr.ProtoSize()
  8644  			i -= size
  8645  			if _, err := m.Expr.MarshalTo(dAtA[i:]); err != nil {
  8646  				return 0, err
  8647  			}
  8648  		}
  8649  	}
  8650  	if m.Typ != nil {
  8651  		{
  8652  			size, err := m.Typ.MarshalToSizedBuffer(dAtA[:i])
  8653  			if err != nil {
  8654  				return 0, err
  8655  			}
  8656  			i -= size
  8657  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8658  		}
  8659  		i--
  8660  		dAtA[i] = 0xa
  8661  	}
  8662  	return len(dAtA) - i, nil
  8663  }
  8664  
  8665  func (m *Expr_C) MarshalTo(dAtA []byte) (int, error) {
  8666  	size := m.ProtoSize()
  8667  	return m.MarshalToSizedBuffer(dAtA[:size])
  8668  }
  8669  
  8670  func (m *Expr_C) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8671  	i := len(dAtA)
  8672  	if m.C != nil {
  8673  		{
  8674  			size, err := m.C.MarshalToSizedBuffer(dAtA[:i])
  8675  			if err != nil {
  8676  				return 0, err
  8677  			}
  8678  			i -= size
  8679  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8680  		}
  8681  		i--
  8682  		dAtA[i] = 0x12
  8683  	}
  8684  	return len(dAtA) - i, nil
  8685  }
  8686  func (m *Expr_P) MarshalTo(dAtA []byte) (int, error) {
  8687  	size := m.ProtoSize()
  8688  	return m.MarshalToSizedBuffer(dAtA[:size])
  8689  }
  8690  
  8691  func (m *Expr_P) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8692  	i := len(dAtA)
  8693  	if m.P != nil {
  8694  		{
  8695  			size, err := m.P.MarshalToSizedBuffer(dAtA[:i])
  8696  			if err != nil {
  8697  				return 0, err
  8698  			}
  8699  			i -= size
  8700  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8701  		}
  8702  		i--
  8703  		dAtA[i] = 0x1a
  8704  	}
  8705  	return len(dAtA) - i, nil
  8706  }
  8707  func (m *Expr_V) MarshalTo(dAtA []byte) (int, error) {
  8708  	size := m.ProtoSize()
  8709  	return m.MarshalToSizedBuffer(dAtA[:size])
  8710  }
  8711  
  8712  func (m *Expr_V) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8713  	i := len(dAtA)
  8714  	if m.V != nil {
  8715  		{
  8716  			size, err := m.V.MarshalToSizedBuffer(dAtA[:i])
  8717  			if err != nil {
  8718  				return 0, err
  8719  			}
  8720  			i -= size
  8721  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8722  		}
  8723  		i--
  8724  		dAtA[i] = 0x22
  8725  	}
  8726  	return len(dAtA) - i, nil
  8727  }
  8728  func (m *Expr_Col) MarshalTo(dAtA []byte) (int, error) {
  8729  	size := m.ProtoSize()
  8730  	return m.MarshalToSizedBuffer(dAtA[:size])
  8731  }
  8732  
  8733  func (m *Expr_Col) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8734  	i := len(dAtA)
  8735  	if m.Col != nil {
  8736  		{
  8737  			size, err := m.Col.MarshalToSizedBuffer(dAtA[:i])
  8738  			if err != nil {
  8739  				return 0, err
  8740  			}
  8741  			i -= size
  8742  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8743  		}
  8744  		i--
  8745  		dAtA[i] = 0x2a
  8746  	}
  8747  	return len(dAtA) - i, nil
  8748  }
  8749  func (m *Expr_Raw) MarshalTo(dAtA []byte) (int, error) {
  8750  	size := m.ProtoSize()
  8751  	return m.MarshalToSizedBuffer(dAtA[:size])
  8752  }
  8753  
  8754  func (m *Expr_Raw) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8755  	i := len(dAtA)
  8756  	if m.Raw != nil {
  8757  		{
  8758  			size, err := m.Raw.MarshalToSizedBuffer(dAtA[:i])
  8759  			if err != nil {
  8760  				return 0, err
  8761  			}
  8762  			i -= size
  8763  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8764  		}
  8765  		i--
  8766  		dAtA[i] = 0x32
  8767  	}
  8768  	return len(dAtA) - i, nil
  8769  }
  8770  func (m *Expr_F) MarshalTo(dAtA []byte) (int, error) {
  8771  	size := m.ProtoSize()
  8772  	return m.MarshalToSizedBuffer(dAtA[:size])
  8773  }
  8774  
  8775  func (m *Expr_F) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8776  	i := len(dAtA)
  8777  	if m.F != nil {
  8778  		{
  8779  			size, err := m.F.MarshalToSizedBuffer(dAtA[:i])
  8780  			if err != nil {
  8781  				return 0, err
  8782  			}
  8783  			i -= size
  8784  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8785  		}
  8786  		i--
  8787  		dAtA[i] = 0x3a
  8788  	}
  8789  	return len(dAtA) - i, nil
  8790  }
  8791  func (m *Expr_Sub) MarshalTo(dAtA []byte) (int, error) {
  8792  	size := m.ProtoSize()
  8793  	return m.MarshalToSizedBuffer(dAtA[:size])
  8794  }
  8795  
  8796  func (m *Expr_Sub) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8797  	i := len(dAtA)
  8798  	if m.Sub != nil {
  8799  		{
  8800  			size, err := m.Sub.MarshalToSizedBuffer(dAtA[:i])
  8801  			if err != nil {
  8802  				return 0, err
  8803  			}
  8804  			i -= size
  8805  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8806  		}
  8807  		i--
  8808  		dAtA[i] = 0x42
  8809  	}
  8810  	return len(dAtA) - i, nil
  8811  }
  8812  func (m *Expr_Corr) MarshalTo(dAtA []byte) (int, error) {
  8813  	size := m.ProtoSize()
  8814  	return m.MarshalToSizedBuffer(dAtA[:size])
  8815  }
  8816  
  8817  func (m *Expr_Corr) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8818  	i := len(dAtA)
  8819  	if m.Corr != nil {
  8820  		{
  8821  			size, err := m.Corr.MarshalToSizedBuffer(dAtA[:i])
  8822  			if err != nil {
  8823  				return 0, err
  8824  			}
  8825  			i -= size
  8826  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8827  		}
  8828  		i--
  8829  		dAtA[i] = 0x4a
  8830  	}
  8831  	return len(dAtA) - i, nil
  8832  }
  8833  func (m *Expr_T) MarshalTo(dAtA []byte) (int, error) {
  8834  	size := m.ProtoSize()
  8835  	return m.MarshalToSizedBuffer(dAtA[:size])
  8836  }
  8837  
  8838  func (m *Expr_T) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8839  	i := len(dAtA)
  8840  	if m.T != nil {
  8841  		{
  8842  			size, err := m.T.MarshalToSizedBuffer(dAtA[:i])
  8843  			if err != nil {
  8844  				return 0, err
  8845  			}
  8846  			i -= size
  8847  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8848  		}
  8849  		i--
  8850  		dAtA[i] = 0x52
  8851  	}
  8852  	return len(dAtA) - i, nil
  8853  }
  8854  func (m *Expr_List) MarshalTo(dAtA []byte) (int, error) {
  8855  	size := m.ProtoSize()
  8856  	return m.MarshalToSizedBuffer(dAtA[:size])
  8857  }
  8858  
  8859  func (m *Expr_List) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8860  	i := len(dAtA)
  8861  	if m.List != nil {
  8862  		{
  8863  			size, err := m.List.MarshalToSizedBuffer(dAtA[:i])
  8864  			if err != nil {
  8865  				return 0, err
  8866  			}
  8867  			i -= size
  8868  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8869  		}
  8870  		i--
  8871  		dAtA[i] = 0x5a
  8872  	}
  8873  	return len(dAtA) - i, nil
  8874  }
  8875  func (m *Expr_Max) MarshalTo(dAtA []byte) (int, error) {
  8876  	size := m.ProtoSize()
  8877  	return m.MarshalToSizedBuffer(dAtA[:size])
  8878  }
  8879  
  8880  func (m *Expr_Max) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8881  	i := len(dAtA)
  8882  	if m.Max != nil {
  8883  		{
  8884  			size, err := m.Max.MarshalToSizedBuffer(dAtA[:i])
  8885  			if err != nil {
  8886  				return 0, err
  8887  			}
  8888  			i -= size
  8889  			i = encodeVarintPlan(dAtA, i, uint64(size))
  8890  		}
  8891  		i--
  8892  		dAtA[i] = 0x62
  8893  	}
  8894  	return len(dAtA) - i, nil
  8895  }
  8896  func (m *Decimal64) Marshal() (dAtA []byte, err error) {
  8897  	size := m.ProtoSize()
  8898  	dAtA = make([]byte, size)
  8899  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8900  	if err != nil {
  8901  		return nil, err
  8902  	}
  8903  	return dAtA[:n], nil
  8904  }
  8905  
  8906  func (m *Decimal64) MarshalTo(dAtA []byte) (int, error) {
  8907  	size := m.ProtoSize()
  8908  	return m.MarshalToSizedBuffer(dAtA[:size])
  8909  }
  8910  
  8911  func (m *Decimal64) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8912  	i := len(dAtA)
  8913  	_ = i
  8914  	var l int
  8915  	_ = l
  8916  	if m.XXX_unrecognized != nil {
  8917  		i -= len(m.XXX_unrecognized)
  8918  		copy(dAtA[i:], m.XXX_unrecognized)
  8919  	}
  8920  	if m.A != 0 {
  8921  		i = encodeVarintPlan(dAtA, i, uint64(m.A))
  8922  		i--
  8923  		dAtA[i] = 0x8
  8924  	}
  8925  	return len(dAtA) - i, nil
  8926  }
  8927  
  8928  func (m *Decimal128) Marshal() (dAtA []byte, err error) {
  8929  	size := m.ProtoSize()
  8930  	dAtA = make([]byte, size)
  8931  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8932  	if err != nil {
  8933  		return nil, err
  8934  	}
  8935  	return dAtA[:n], nil
  8936  }
  8937  
  8938  func (m *Decimal128) MarshalTo(dAtA []byte) (int, error) {
  8939  	size := m.ProtoSize()
  8940  	return m.MarshalToSizedBuffer(dAtA[:size])
  8941  }
  8942  
  8943  func (m *Decimal128) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8944  	i := len(dAtA)
  8945  	_ = i
  8946  	var l int
  8947  	_ = l
  8948  	if m.XXX_unrecognized != nil {
  8949  		i -= len(m.XXX_unrecognized)
  8950  		copy(dAtA[i:], m.XXX_unrecognized)
  8951  	}
  8952  	if m.B != 0 {
  8953  		i = encodeVarintPlan(dAtA, i, uint64(m.B))
  8954  		i--
  8955  		dAtA[i] = 0x10
  8956  	}
  8957  	if m.A != 0 {
  8958  		i = encodeVarintPlan(dAtA, i, uint64(m.A))
  8959  		i--
  8960  		dAtA[i] = 0x8
  8961  	}
  8962  	return len(dAtA) - i, nil
  8963  }
  8964  
  8965  func (m *ResultColDef) Marshal() (dAtA []byte, err error) {
  8966  	size := m.ProtoSize()
  8967  	dAtA = make([]byte, size)
  8968  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8969  	if err != nil {
  8970  		return nil, err
  8971  	}
  8972  	return dAtA[:n], nil
  8973  }
  8974  
  8975  func (m *ResultColDef) MarshalTo(dAtA []byte) (int, error) {
  8976  	size := m.ProtoSize()
  8977  	return m.MarshalToSizedBuffer(dAtA[:size])
  8978  }
  8979  
  8980  func (m *ResultColDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8981  	i := len(dAtA)
  8982  	_ = i
  8983  	var l int
  8984  	_ = l
  8985  	if m.XXX_unrecognized != nil {
  8986  		i -= len(m.XXX_unrecognized)
  8987  		copy(dAtA[i:], m.XXX_unrecognized)
  8988  	}
  8989  	if len(m.ResultCols) > 0 {
  8990  		for iNdEx := len(m.ResultCols) - 1; iNdEx >= 0; iNdEx-- {
  8991  			{
  8992  				size, err := m.ResultCols[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8993  				if err != nil {
  8994  					return 0, err
  8995  				}
  8996  				i -= size
  8997  				i = encodeVarintPlan(dAtA, i, uint64(size))
  8998  			}
  8999  			i--
  9000  			dAtA[i] = 0xa
  9001  		}
  9002  	}
  9003  	return len(dAtA) - i, nil
  9004  }
  9005  
  9006  func (m *ColDef) Marshal() (dAtA []byte, err error) {
  9007  	size := m.ProtoSize()
  9008  	dAtA = make([]byte, size)
  9009  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9010  	if err != nil {
  9011  		return nil, err
  9012  	}
  9013  	return dAtA[:n], nil
  9014  }
  9015  
  9016  func (m *ColDef) MarshalTo(dAtA []byte) (int, error) {
  9017  	size := m.ProtoSize()
  9018  	return m.MarshalToSizedBuffer(dAtA[:size])
  9019  }
  9020  
  9021  func (m *ColDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9022  	i := len(dAtA)
  9023  	_ = i
  9024  	var l int
  9025  	_ = l
  9026  	if m.XXX_unrecognized != nil {
  9027  		i -= len(m.XXX_unrecognized)
  9028  		copy(dAtA[i:], m.XXX_unrecognized)
  9029  	}
  9030  	if m.Pkidx != 0 {
  9031  		i = encodeVarintPlan(dAtA, i, uint64(m.Pkidx))
  9032  		i--
  9033  		dAtA[i] = 0x68
  9034  	}
  9035  	if m.Primary {
  9036  		i--
  9037  		if m.Primary {
  9038  			dAtA[i] = 1
  9039  		} else {
  9040  			dAtA[i] = 0
  9041  		}
  9042  		i--
  9043  		dAtA[i] = 0x60
  9044  	}
  9045  	if m.ClusterBy {
  9046  		i--
  9047  		if m.ClusterBy {
  9048  			dAtA[i] = 1
  9049  		} else {
  9050  			dAtA[i] = 0
  9051  		}
  9052  		i--
  9053  		dAtA[i] = 0x58
  9054  	}
  9055  	if m.LowCard {
  9056  		i--
  9057  		if m.LowCard {
  9058  			dAtA[i] = 1
  9059  		} else {
  9060  			dAtA[i] = 0
  9061  		}
  9062  		i--
  9063  		dAtA[i] = 0x50
  9064  	}
  9065  	if m.OnUpdate != nil {
  9066  		{
  9067  			size, err := m.OnUpdate.MarshalToSizedBuffer(dAtA[:i])
  9068  			if err != nil {
  9069  				return 0, err
  9070  			}
  9071  			i -= size
  9072  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9073  		}
  9074  		i--
  9075  		dAtA[i] = 0x4a
  9076  	}
  9077  	if len(m.Comment) > 0 {
  9078  		i -= len(m.Comment)
  9079  		copy(dAtA[i:], m.Comment)
  9080  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Comment)))
  9081  		i--
  9082  		dAtA[i] = 0x42
  9083  	}
  9084  	if m.Default != nil {
  9085  		{
  9086  			size, err := m.Default.MarshalToSizedBuffer(dAtA[:i])
  9087  			if err != nil {
  9088  				return 0, err
  9089  			}
  9090  			i -= size
  9091  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9092  		}
  9093  		i--
  9094  		dAtA[i] = 0x3a
  9095  	}
  9096  	if m.NotNull {
  9097  		i--
  9098  		if m.NotNull {
  9099  			dAtA[i] = 1
  9100  		} else {
  9101  			dAtA[i] = 0
  9102  		}
  9103  		i--
  9104  		dAtA[i] = 0x30
  9105  	}
  9106  	if m.Typ != nil {
  9107  		{
  9108  			size, err := m.Typ.MarshalToSizedBuffer(dAtA[:i])
  9109  			if err != nil {
  9110  				return 0, err
  9111  			}
  9112  			i -= size
  9113  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9114  		}
  9115  		i--
  9116  		dAtA[i] = 0x2a
  9117  	}
  9118  	if m.Alg != 0 {
  9119  		i = encodeVarintPlan(dAtA, i, uint64(m.Alg))
  9120  		i--
  9121  		dAtA[i] = 0x20
  9122  	}
  9123  	if m.Hidden {
  9124  		i--
  9125  		if m.Hidden {
  9126  			dAtA[i] = 1
  9127  		} else {
  9128  			dAtA[i] = 0
  9129  		}
  9130  		i--
  9131  		dAtA[i] = 0x18
  9132  	}
  9133  	if len(m.Name) > 0 {
  9134  		i -= len(m.Name)
  9135  		copy(dAtA[i:], m.Name)
  9136  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
  9137  		i--
  9138  		dAtA[i] = 0x12
  9139  	}
  9140  	if m.ColId != 0 {
  9141  		i = encodeVarintPlan(dAtA, i, uint64(m.ColId))
  9142  		i--
  9143  		dAtA[i] = 0x8
  9144  	}
  9145  	return len(dAtA) - i, nil
  9146  }
  9147  
  9148  func (m *Default) Marshal() (dAtA []byte, err error) {
  9149  	size := m.ProtoSize()
  9150  	dAtA = make([]byte, size)
  9151  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9152  	if err != nil {
  9153  		return nil, err
  9154  	}
  9155  	return dAtA[:n], nil
  9156  }
  9157  
  9158  func (m *Default) MarshalTo(dAtA []byte) (int, error) {
  9159  	size := m.ProtoSize()
  9160  	return m.MarshalToSizedBuffer(dAtA[:size])
  9161  }
  9162  
  9163  func (m *Default) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9164  	i := len(dAtA)
  9165  	_ = i
  9166  	var l int
  9167  	_ = l
  9168  	if m.XXX_unrecognized != nil {
  9169  		i -= len(m.XXX_unrecognized)
  9170  		copy(dAtA[i:], m.XXX_unrecognized)
  9171  	}
  9172  	if m.NullAbility {
  9173  		i--
  9174  		if m.NullAbility {
  9175  			dAtA[i] = 1
  9176  		} else {
  9177  			dAtA[i] = 0
  9178  		}
  9179  		i--
  9180  		dAtA[i] = 0x18
  9181  	}
  9182  	if len(m.OriginString) > 0 {
  9183  		i -= len(m.OriginString)
  9184  		copy(dAtA[i:], m.OriginString)
  9185  		i = encodeVarintPlan(dAtA, i, uint64(len(m.OriginString)))
  9186  		i--
  9187  		dAtA[i] = 0x12
  9188  	}
  9189  	if m.Expr != nil {
  9190  		{
  9191  			size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i])
  9192  			if err != nil {
  9193  				return 0, err
  9194  			}
  9195  			i -= size
  9196  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9197  		}
  9198  		i--
  9199  		dAtA[i] = 0xa
  9200  	}
  9201  	return len(dAtA) - i, nil
  9202  }
  9203  
  9204  func (m *OnUpdate) Marshal() (dAtA []byte, err error) {
  9205  	size := m.ProtoSize()
  9206  	dAtA = make([]byte, size)
  9207  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9208  	if err != nil {
  9209  		return nil, err
  9210  	}
  9211  	return dAtA[:n], nil
  9212  }
  9213  
  9214  func (m *OnUpdate) MarshalTo(dAtA []byte) (int, error) {
  9215  	size := m.ProtoSize()
  9216  	return m.MarshalToSizedBuffer(dAtA[:size])
  9217  }
  9218  
  9219  func (m *OnUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9220  	i := len(dAtA)
  9221  	_ = i
  9222  	var l int
  9223  	_ = l
  9224  	if m.XXX_unrecognized != nil {
  9225  		i -= len(m.XXX_unrecognized)
  9226  		copy(dAtA[i:], m.XXX_unrecognized)
  9227  	}
  9228  	if len(m.OriginString) > 0 {
  9229  		i -= len(m.OriginString)
  9230  		copy(dAtA[i:], m.OriginString)
  9231  		i = encodeVarintPlan(dAtA, i, uint64(len(m.OriginString)))
  9232  		i--
  9233  		dAtA[i] = 0x12
  9234  	}
  9235  	if m.Expr != nil {
  9236  		{
  9237  			size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i])
  9238  			if err != nil {
  9239  				return 0, err
  9240  			}
  9241  			i -= size
  9242  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9243  		}
  9244  		i--
  9245  		dAtA[i] = 0xa
  9246  	}
  9247  	return len(dAtA) - i, nil
  9248  }
  9249  
  9250  func (m *IndexOption) Marshal() (dAtA []byte, err error) {
  9251  	size := m.ProtoSize()
  9252  	dAtA = make([]byte, size)
  9253  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9254  	if err != nil {
  9255  		return nil, err
  9256  	}
  9257  	return dAtA[:n], nil
  9258  }
  9259  
  9260  func (m *IndexOption) MarshalTo(dAtA []byte) (int, error) {
  9261  	size := m.ProtoSize()
  9262  	return m.MarshalToSizedBuffer(dAtA[:size])
  9263  }
  9264  
  9265  func (m *IndexOption) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9266  	i := len(dAtA)
  9267  	_ = i
  9268  	var l int
  9269  	_ = l
  9270  	if m.XXX_unrecognized != nil {
  9271  		i -= len(m.XXX_unrecognized)
  9272  		copy(dAtA[i:], m.XXX_unrecognized)
  9273  	}
  9274  	if m.CreateExtraTable {
  9275  		i--
  9276  		if m.CreateExtraTable {
  9277  			dAtA[i] = 1
  9278  		} else {
  9279  			dAtA[i] = 0
  9280  		}
  9281  		i--
  9282  		dAtA[i] = 0x8
  9283  	}
  9284  	return len(dAtA) - i, nil
  9285  }
  9286  
  9287  func (m *PrimaryKeyDef) Marshal() (dAtA []byte, err error) {
  9288  	size := m.ProtoSize()
  9289  	dAtA = make([]byte, size)
  9290  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9291  	if err != nil {
  9292  		return nil, err
  9293  	}
  9294  	return dAtA[:n], nil
  9295  }
  9296  
  9297  func (m *PrimaryKeyDef) MarshalTo(dAtA []byte) (int, error) {
  9298  	size := m.ProtoSize()
  9299  	return m.MarshalToSizedBuffer(dAtA[:size])
  9300  }
  9301  
  9302  func (m *PrimaryKeyDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9303  	i := len(dAtA)
  9304  	_ = i
  9305  	var l int
  9306  	_ = l
  9307  	if m.XXX_unrecognized != nil {
  9308  		i -= len(m.XXX_unrecognized)
  9309  		copy(dAtA[i:], m.XXX_unrecognized)
  9310  	}
  9311  	if len(m.Names) > 0 {
  9312  		for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- {
  9313  			i -= len(m.Names[iNdEx])
  9314  			copy(dAtA[i:], m.Names[iNdEx])
  9315  			i = encodeVarintPlan(dAtA, i, uint64(len(m.Names[iNdEx])))
  9316  			i--
  9317  			dAtA[i] = 0x2a
  9318  		}
  9319  	}
  9320  	if len(m.PkeyColName) > 0 {
  9321  		i -= len(m.PkeyColName)
  9322  		copy(dAtA[i:], m.PkeyColName)
  9323  		i = encodeVarintPlan(dAtA, i, uint64(len(m.PkeyColName)))
  9324  		i--
  9325  		dAtA[i] = 0x22
  9326  	}
  9327  	if m.Option != nil {
  9328  		{
  9329  			size, err := m.Option.MarshalToSizedBuffer(dAtA[:i])
  9330  			if err != nil {
  9331  				return 0, err
  9332  			}
  9333  			i -= size
  9334  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9335  		}
  9336  		i--
  9337  		dAtA[i] = 0x1a
  9338  	}
  9339  	if m.PkeyColId != 0 {
  9340  		i = encodeVarintPlan(dAtA, i, uint64(m.PkeyColId))
  9341  		i--
  9342  		dAtA[i] = 0x10
  9343  	}
  9344  	if len(m.Cols) > 0 {
  9345  		dAtA26 := make([]byte, len(m.Cols)*10)
  9346  		var j25 int
  9347  		for _, num := range m.Cols {
  9348  			for num >= 1<<7 {
  9349  				dAtA26[j25] = uint8(uint64(num)&0x7f | 0x80)
  9350  				num >>= 7
  9351  				j25++
  9352  			}
  9353  			dAtA26[j25] = uint8(num)
  9354  			j25++
  9355  		}
  9356  		i -= j25
  9357  		copy(dAtA[i:], dAtA26[:j25])
  9358  		i = encodeVarintPlan(dAtA, i, uint64(j25))
  9359  		i--
  9360  		dAtA[i] = 0xa
  9361  	}
  9362  	return len(dAtA) - i, nil
  9363  }
  9364  
  9365  func (m *IndexDef) Marshal() (dAtA []byte, err error) {
  9366  	size := m.ProtoSize()
  9367  	dAtA = make([]byte, size)
  9368  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9369  	if err != nil {
  9370  		return nil, err
  9371  	}
  9372  	return dAtA[:n], nil
  9373  }
  9374  
  9375  func (m *IndexDef) MarshalTo(dAtA []byte) (int, error) {
  9376  	size := m.ProtoSize()
  9377  	return m.MarshalToSizedBuffer(dAtA[:size])
  9378  }
  9379  
  9380  func (m *IndexDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9381  	i := len(dAtA)
  9382  	_ = i
  9383  	var l int
  9384  	_ = l
  9385  	if m.XXX_unrecognized != nil {
  9386  		i -= len(m.XXX_unrecognized)
  9387  		copy(dAtA[i:], m.XXX_unrecognized)
  9388  	}
  9389  	if m.Option != nil {
  9390  		{
  9391  			size, err := m.Option.MarshalToSizedBuffer(dAtA[:i])
  9392  			if err != nil {
  9393  				return 0, err
  9394  			}
  9395  			i -= size
  9396  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9397  		}
  9398  		i--
  9399  		dAtA[i] = 0x42
  9400  	}
  9401  	if len(m.Comment) > 0 {
  9402  		i -= len(m.Comment)
  9403  		copy(dAtA[i:], m.Comment)
  9404  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Comment)))
  9405  		i--
  9406  		dAtA[i] = 0x3a
  9407  	}
  9408  	if m.TableExist {
  9409  		i--
  9410  		if m.TableExist {
  9411  			dAtA[i] = 1
  9412  		} else {
  9413  			dAtA[i] = 0
  9414  		}
  9415  		i--
  9416  		dAtA[i] = 0x30
  9417  	}
  9418  	if len(m.IndexTableName) > 0 {
  9419  		i -= len(m.IndexTableName)
  9420  		copy(dAtA[i:], m.IndexTableName)
  9421  		i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableName)))
  9422  		i--
  9423  		dAtA[i] = 0x2a
  9424  	}
  9425  	if m.Unique {
  9426  		i--
  9427  		if m.Unique {
  9428  			dAtA[i] = 1
  9429  		} else {
  9430  			dAtA[i] = 0
  9431  		}
  9432  		i--
  9433  		dAtA[i] = 0x20
  9434  	}
  9435  	if len(m.Parts) > 0 {
  9436  		for iNdEx := len(m.Parts) - 1; iNdEx >= 0; iNdEx-- {
  9437  			i -= len(m.Parts[iNdEx])
  9438  			copy(dAtA[i:], m.Parts[iNdEx])
  9439  			i = encodeVarintPlan(dAtA, i, uint64(len(m.Parts[iNdEx])))
  9440  			i--
  9441  			dAtA[i] = 0x1a
  9442  		}
  9443  	}
  9444  	if len(m.IndexName) > 0 {
  9445  		i -= len(m.IndexName)
  9446  		copy(dAtA[i:], m.IndexName)
  9447  		i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexName)))
  9448  		i--
  9449  		dAtA[i] = 0x12
  9450  	}
  9451  	if len(m.IdxId) > 0 {
  9452  		i -= len(m.IdxId)
  9453  		copy(dAtA[i:], m.IdxId)
  9454  		i = encodeVarintPlan(dAtA, i, uint64(len(m.IdxId)))
  9455  		i--
  9456  		dAtA[i] = 0xa
  9457  	}
  9458  	return len(dAtA) - i, nil
  9459  }
  9460  
  9461  func (m *ForeignKeyDef) Marshal() (dAtA []byte, err error) {
  9462  	size := m.ProtoSize()
  9463  	dAtA = make([]byte, size)
  9464  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9465  	if err != nil {
  9466  		return nil, err
  9467  	}
  9468  	return dAtA[:n], nil
  9469  }
  9470  
  9471  func (m *ForeignKeyDef) MarshalTo(dAtA []byte) (int, error) {
  9472  	size := m.ProtoSize()
  9473  	return m.MarshalToSizedBuffer(dAtA[:size])
  9474  }
  9475  
  9476  func (m *ForeignKeyDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9477  	i := len(dAtA)
  9478  	_ = i
  9479  	var l int
  9480  	_ = l
  9481  	if m.XXX_unrecognized != nil {
  9482  		i -= len(m.XXX_unrecognized)
  9483  		copy(dAtA[i:], m.XXX_unrecognized)
  9484  	}
  9485  	if m.OnUpdate != 0 {
  9486  		i = encodeVarintPlan(dAtA, i, uint64(m.OnUpdate))
  9487  		i--
  9488  		dAtA[i] = 0x30
  9489  	}
  9490  	if m.OnDelete != 0 {
  9491  		i = encodeVarintPlan(dAtA, i, uint64(m.OnDelete))
  9492  		i--
  9493  		dAtA[i] = 0x28
  9494  	}
  9495  	if len(m.ForeignCols) > 0 {
  9496  		dAtA29 := make([]byte, len(m.ForeignCols)*10)
  9497  		var j28 int
  9498  		for _, num := range m.ForeignCols {
  9499  			for num >= 1<<7 {
  9500  				dAtA29[j28] = uint8(uint64(num)&0x7f | 0x80)
  9501  				num >>= 7
  9502  				j28++
  9503  			}
  9504  			dAtA29[j28] = uint8(num)
  9505  			j28++
  9506  		}
  9507  		i -= j28
  9508  		copy(dAtA[i:], dAtA29[:j28])
  9509  		i = encodeVarintPlan(dAtA, i, uint64(j28))
  9510  		i--
  9511  		dAtA[i] = 0x22
  9512  	}
  9513  	if m.ForeignTbl != 0 {
  9514  		i = encodeVarintPlan(dAtA, i, uint64(m.ForeignTbl))
  9515  		i--
  9516  		dAtA[i] = 0x18
  9517  	}
  9518  	if len(m.Cols) > 0 {
  9519  		dAtA31 := make([]byte, len(m.Cols)*10)
  9520  		var j30 int
  9521  		for _, num := range m.Cols {
  9522  			for num >= 1<<7 {
  9523  				dAtA31[j30] = uint8(uint64(num)&0x7f | 0x80)
  9524  				num >>= 7
  9525  				j30++
  9526  			}
  9527  			dAtA31[j30] = uint8(num)
  9528  			j30++
  9529  		}
  9530  		i -= j30
  9531  		copy(dAtA[i:], dAtA31[:j30])
  9532  		i = encodeVarintPlan(dAtA, i, uint64(j30))
  9533  		i--
  9534  		dAtA[i] = 0x12
  9535  	}
  9536  	if len(m.Name) > 0 {
  9537  		i -= len(m.Name)
  9538  		copy(dAtA[i:], m.Name)
  9539  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
  9540  		i--
  9541  		dAtA[i] = 0xa
  9542  	}
  9543  	return len(dAtA) - i, nil
  9544  }
  9545  
  9546  func (m *CheckDef) Marshal() (dAtA []byte, err error) {
  9547  	size := m.ProtoSize()
  9548  	dAtA = make([]byte, size)
  9549  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9550  	if err != nil {
  9551  		return nil, err
  9552  	}
  9553  	return dAtA[:n], nil
  9554  }
  9555  
  9556  func (m *CheckDef) MarshalTo(dAtA []byte) (int, error) {
  9557  	size := m.ProtoSize()
  9558  	return m.MarshalToSizedBuffer(dAtA[:size])
  9559  }
  9560  
  9561  func (m *CheckDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9562  	i := len(dAtA)
  9563  	_ = i
  9564  	var l int
  9565  	_ = l
  9566  	if m.XXX_unrecognized != nil {
  9567  		i -= len(m.XXX_unrecognized)
  9568  		copy(dAtA[i:], m.XXX_unrecognized)
  9569  	}
  9570  	if m.Check != nil {
  9571  		{
  9572  			size, err := m.Check.MarshalToSizedBuffer(dAtA[:i])
  9573  			if err != nil {
  9574  				return 0, err
  9575  			}
  9576  			i -= size
  9577  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9578  		}
  9579  		i--
  9580  		dAtA[i] = 0x12
  9581  	}
  9582  	if len(m.Name) > 0 {
  9583  		i -= len(m.Name)
  9584  		copy(dAtA[i:], m.Name)
  9585  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
  9586  		i--
  9587  		dAtA[i] = 0xa
  9588  	}
  9589  	return len(dAtA) - i, nil
  9590  }
  9591  
  9592  func (m *ClusterByDef) Marshal() (dAtA []byte, err error) {
  9593  	size := m.ProtoSize()
  9594  	dAtA = make([]byte, size)
  9595  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9596  	if err != nil {
  9597  		return nil, err
  9598  	}
  9599  	return dAtA[:n], nil
  9600  }
  9601  
  9602  func (m *ClusterByDef) MarshalTo(dAtA []byte) (int, error) {
  9603  	size := m.ProtoSize()
  9604  	return m.MarshalToSizedBuffer(dAtA[:size])
  9605  }
  9606  
  9607  func (m *ClusterByDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9608  	i := len(dAtA)
  9609  	_ = i
  9610  	var l int
  9611  	_ = l
  9612  	if m.XXX_unrecognized != nil {
  9613  		i -= len(m.XXX_unrecognized)
  9614  		copy(dAtA[i:], m.XXX_unrecognized)
  9615  	}
  9616  	if len(m.Name) > 0 {
  9617  		i -= len(m.Name)
  9618  		copy(dAtA[i:], m.Name)
  9619  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
  9620  		i--
  9621  		dAtA[i] = 0x12
  9622  	}
  9623  	if len(m.Parts) > 0 {
  9624  		for iNdEx := len(m.Parts) - 1; iNdEx >= 0; iNdEx-- {
  9625  			{
  9626  				size, err := m.Parts[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  9627  				if err != nil {
  9628  					return 0, err
  9629  				}
  9630  				i -= size
  9631  				i = encodeVarintPlan(dAtA, i, uint64(size))
  9632  			}
  9633  			i--
  9634  			dAtA[i] = 0xa
  9635  		}
  9636  	}
  9637  	return len(dAtA) - i, nil
  9638  }
  9639  
  9640  func (m *PropertyDef) Marshal() (dAtA []byte, err error) {
  9641  	size := m.ProtoSize()
  9642  	dAtA = make([]byte, size)
  9643  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9644  	if err != nil {
  9645  		return nil, err
  9646  	}
  9647  	return dAtA[:n], nil
  9648  }
  9649  
  9650  func (m *PropertyDef) MarshalTo(dAtA []byte) (int, error) {
  9651  	size := m.ProtoSize()
  9652  	return m.MarshalToSizedBuffer(dAtA[:size])
  9653  }
  9654  
  9655  func (m *PropertyDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9656  	i := len(dAtA)
  9657  	_ = i
  9658  	var l int
  9659  	_ = l
  9660  	if m.XXX_unrecognized != nil {
  9661  		i -= len(m.XXX_unrecognized)
  9662  		copy(dAtA[i:], m.XXX_unrecognized)
  9663  	}
  9664  	if len(m.Value) > 0 {
  9665  		i -= len(m.Value)
  9666  		copy(dAtA[i:], m.Value)
  9667  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Value)))
  9668  		i--
  9669  		dAtA[i] = 0x12
  9670  	}
  9671  	if len(m.Key) > 0 {
  9672  		i -= len(m.Key)
  9673  		copy(dAtA[i:], m.Key)
  9674  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Key)))
  9675  		i--
  9676  		dAtA[i] = 0xa
  9677  	}
  9678  	return len(dAtA) - i, nil
  9679  }
  9680  
  9681  func (m *Property) Marshal() (dAtA []byte, err error) {
  9682  	size := m.ProtoSize()
  9683  	dAtA = make([]byte, size)
  9684  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9685  	if err != nil {
  9686  		return nil, err
  9687  	}
  9688  	return dAtA[:n], nil
  9689  }
  9690  
  9691  func (m *Property) MarshalTo(dAtA []byte) (int, error) {
  9692  	size := m.ProtoSize()
  9693  	return m.MarshalToSizedBuffer(dAtA[:size])
  9694  }
  9695  
  9696  func (m *Property) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9697  	i := len(dAtA)
  9698  	_ = i
  9699  	var l int
  9700  	_ = l
  9701  	if m.XXX_unrecognized != nil {
  9702  		i -= len(m.XXX_unrecognized)
  9703  		copy(dAtA[i:], m.XXX_unrecognized)
  9704  	}
  9705  	if len(m.Value) > 0 {
  9706  		i -= len(m.Value)
  9707  		copy(dAtA[i:], m.Value)
  9708  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Value)))
  9709  		i--
  9710  		dAtA[i] = 0x12
  9711  	}
  9712  	if len(m.Key) > 0 {
  9713  		i -= len(m.Key)
  9714  		copy(dAtA[i:], m.Key)
  9715  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Key)))
  9716  		i--
  9717  		dAtA[i] = 0xa
  9718  	}
  9719  	return len(dAtA) - i, nil
  9720  }
  9721  
  9722  func (m *PropertiesDef) Marshal() (dAtA []byte, err error) {
  9723  	size := m.ProtoSize()
  9724  	dAtA = make([]byte, size)
  9725  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9726  	if err != nil {
  9727  		return nil, err
  9728  	}
  9729  	return dAtA[:n], nil
  9730  }
  9731  
  9732  func (m *PropertiesDef) MarshalTo(dAtA []byte) (int, error) {
  9733  	size := m.ProtoSize()
  9734  	return m.MarshalToSizedBuffer(dAtA[:size])
  9735  }
  9736  
  9737  func (m *PropertiesDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9738  	i := len(dAtA)
  9739  	_ = i
  9740  	var l int
  9741  	_ = l
  9742  	if m.XXX_unrecognized != nil {
  9743  		i -= len(m.XXX_unrecognized)
  9744  		copy(dAtA[i:], m.XXX_unrecognized)
  9745  	}
  9746  	if len(m.Properties) > 0 {
  9747  		for iNdEx := len(m.Properties) - 1; iNdEx >= 0; iNdEx-- {
  9748  			{
  9749  				size, err := m.Properties[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  9750  				if err != nil {
  9751  					return 0, err
  9752  				}
  9753  				i -= size
  9754  				i = encodeVarintPlan(dAtA, i, uint64(size))
  9755  			}
  9756  			i--
  9757  			dAtA[i] = 0xa
  9758  		}
  9759  	}
  9760  	return len(dAtA) - i, nil
  9761  }
  9762  
  9763  func (m *PartitionByDef) Marshal() (dAtA []byte, err error) {
  9764  	size := m.ProtoSize()
  9765  	dAtA = make([]byte, size)
  9766  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9767  	if err != nil {
  9768  		return nil, err
  9769  	}
  9770  	return dAtA[:n], nil
  9771  }
  9772  
  9773  func (m *PartitionByDef) MarshalTo(dAtA []byte) (int, error) {
  9774  	size := m.ProtoSize()
  9775  	return m.MarshalToSizedBuffer(dAtA[:size])
  9776  }
  9777  
  9778  func (m *PartitionByDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9779  	i := len(dAtA)
  9780  	_ = i
  9781  	var l int
  9782  	_ = l
  9783  	if m.XXX_unrecognized != nil {
  9784  		i -= len(m.XXX_unrecognized)
  9785  		copy(dAtA[i:], m.XXX_unrecognized)
  9786  	}
  9787  	if len(m.PartitionMsg) > 0 {
  9788  		i -= len(m.PartitionMsg)
  9789  		copy(dAtA[i:], m.PartitionMsg)
  9790  		i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionMsg)))
  9791  		i--
  9792  		dAtA[i] = 0x4a
  9793  	}
  9794  	if m.IsSubPartition {
  9795  		i--
  9796  		if m.IsSubPartition {
  9797  			dAtA[i] = 1
  9798  		} else {
  9799  			dAtA[i] = 0
  9800  		}
  9801  		i--
  9802  		dAtA[i] = 0x40
  9803  	}
  9804  	if m.Algorithm != 0 {
  9805  		i = encodeVarintPlan(dAtA, i, uint64(m.Algorithm))
  9806  		i--
  9807  		dAtA[i] = 0x38
  9808  	}
  9809  	if len(m.Partitions) > 0 {
  9810  		for iNdEx := len(m.Partitions) - 1; iNdEx >= 0; iNdEx-- {
  9811  			{
  9812  				size, err := m.Partitions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  9813  				if err != nil {
  9814  					return 0, err
  9815  				}
  9816  				i -= size
  9817  				i = encodeVarintPlan(dAtA, i, uint64(size))
  9818  			}
  9819  			i--
  9820  			dAtA[i] = 0x32
  9821  		}
  9822  	}
  9823  	if m.PartitionNum != 0 {
  9824  		i = encodeVarintPlan(dAtA, i, uint64(m.PartitionNum))
  9825  		i--
  9826  		dAtA[i] = 0x28
  9827  	}
  9828  	if m.PartitionColumns != nil {
  9829  		{
  9830  			size, err := m.PartitionColumns.MarshalToSizedBuffer(dAtA[:i])
  9831  			if err != nil {
  9832  				return 0, err
  9833  			}
  9834  			i -= size
  9835  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9836  		}
  9837  		i--
  9838  		dAtA[i] = 0x22
  9839  	}
  9840  	if m.PartitionExpression != nil {
  9841  		{
  9842  			size, err := m.PartitionExpression.MarshalToSizedBuffer(dAtA[:i])
  9843  			if err != nil {
  9844  				return 0, err
  9845  			}
  9846  			i -= size
  9847  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9848  		}
  9849  		i--
  9850  		dAtA[i] = 0x1a
  9851  	}
  9852  	if m.PartitionExpr != nil {
  9853  		{
  9854  			size, err := m.PartitionExpr.MarshalToSizedBuffer(dAtA[:i])
  9855  			if err != nil {
  9856  				return 0, err
  9857  			}
  9858  			i -= size
  9859  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9860  		}
  9861  		i--
  9862  		dAtA[i] = 0x12
  9863  	}
  9864  	if m.Type != 0 {
  9865  		i = encodeVarintPlan(dAtA, i, uint64(m.Type))
  9866  		i--
  9867  		dAtA[i] = 0x8
  9868  	}
  9869  	return len(dAtA) - i, nil
  9870  }
  9871  
  9872  func (m *PartitionExpr) Marshal() (dAtA []byte, err error) {
  9873  	size := m.ProtoSize()
  9874  	dAtA = make([]byte, size)
  9875  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9876  	if err != nil {
  9877  		return nil, err
  9878  	}
  9879  	return dAtA[:n], nil
  9880  }
  9881  
  9882  func (m *PartitionExpr) MarshalTo(dAtA []byte) (int, error) {
  9883  	size := m.ProtoSize()
  9884  	return m.MarshalToSizedBuffer(dAtA[:size])
  9885  }
  9886  
  9887  func (m *PartitionExpr) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9888  	i := len(dAtA)
  9889  	_ = i
  9890  	var l int
  9891  	_ = l
  9892  	if m.XXX_unrecognized != nil {
  9893  		i -= len(m.XXX_unrecognized)
  9894  		copy(dAtA[i:], m.XXX_unrecognized)
  9895  	}
  9896  	if len(m.ExprStr) > 0 {
  9897  		i -= len(m.ExprStr)
  9898  		copy(dAtA[i:], m.ExprStr)
  9899  		i = encodeVarintPlan(dAtA, i, uint64(len(m.ExprStr)))
  9900  		i--
  9901  		dAtA[i] = 0x12
  9902  	}
  9903  	if m.Expr != nil {
  9904  		{
  9905  			size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i])
  9906  			if err != nil {
  9907  				return 0, err
  9908  			}
  9909  			i -= size
  9910  			i = encodeVarintPlan(dAtA, i, uint64(size))
  9911  		}
  9912  		i--
  9913  		dAtA[i] = 0xa
  9914  	}
  9915  	return len(dAtA) - i, nil
  9916  }
  9917  
  9918  func (m *PartitionColumns) Marshal() (dAtA []byte, err error) {
  9919  	size := m.ProtoSize()
  9920  	dAtA = make([]byte, size)
  9921  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9922  	if err != nil {
  9923  		return nil, err
  9924  	}
  9925  	return dAtA[:n], nil
  9926  }
  9927  
  9928  func (m *PartitionColumns) MarshalTo(dAtA []byte) (int, error) {
  9929  	size := m.ProtoSize()
  9930  	return m.MarshalToSizedBuffer(dAtA[:size])
  9931  }
  9932  
  9933  func (m *PartitionColumns) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9934  	i := len(dAtA)
  9935  	_ = i
  9936  	var l int
  9937  	_ = l
  9938  	if m.XXX_unrecognized != nil {
  9939  		i -= len(m.XXX_unrecognized)
  9940  		copy(dAtA[i:], m.XXX_unrecognized)
  9941  	}
  9942  	if len(m.PartitionColumns) > 0 {
  9943  		for iNdEx := len(m.PartitionColumns) - 1; iNdEx >= 0; iNdEx-- {
  9944  			i -= len(m.PartitionColumns[iNdEx])
  9945  			copy(dAtA[i:], m.PartitionColumns[iNdEx])
  9946  			i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionColumns[iNdEx])))
  9947  			i--
  9948  			dAtA[i] = 0x12
  9949  		}
  9950  	}
  9951  	if len(m.Columns) > 0 {
  9952  		for iNdEx := len(m.Columns) - 1; iNdEx >= 0; iNdEx-- {
  9953  			{
  9954  				size, err := m.Columns[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  9955  				if err != nil {
  9956  					return 0, err
  9957  				}
  9958  				i -= size
  9959  				i = encodeVarintPlan(dAtA, i, uint64(size))
  9960  			}
  9961  			i--
  9962  			dAtA[i] = 0xa
  9963  		}
  9964  	}
  9965  	return len(dAtA) - i, nil
  9966  }
  9967  
  9968  func (m *PartitionItem) Marshal() (dAtA []byte, err error) {
  9969  	size := m.ProtoSize()
  9970  	dAtA = make([]byte, size)
  9971  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9972  	if err != nil {
  9973  		return nil, err
  9974  	}
  9975  	return dAtA[:n], nil
  9976  }
  9977  
  9978  func (m *PartitionItem) MarshalTo(dAtA []byte) (int, error) {
  9979  	size := m.ProtoSize()
  9980  	return m.MarshalToSizedBuffer(dAtA[:size])
  9981  }
  9982  
  9983  func (m *PartitionItem) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9984  	i := len(dAtA)
  9985  	_ = i
  9986  	var l int
  9987  	_ = l
  9988  	if m.XXX_unrecognized != nil {
  9989  		i -= len(m.XXX_unrecognized)
  9990  		copy(dAtA[i:], m.XXX_unrecognized)
  9991  	}
  9992  	if len(m.InValues) > 0 {
  9993  		for iNdEx := len(m.InValues) - 1; iNdEx >= 0; iNdEx-- {
  9994  			{
  9995  				size, err := m.InValues[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  9996  				if err != nil {
  9997  					return 0, err
  9998  				}
  9999  				i -= size
 10000  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10001  			}
 10002  			i--
 10003  			dAtA[i] = 0x32
 10004  		}
 10005  	}
 10006  	if len(m.LessThan) > 0 {
 10007  		for iNdEx := len(m.LessThan) - 1; iNdEx >= 0; iNdEx-- {
 10008  			{
 10009  				size, err := m.LessThan[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10010  				if err != nil {
 10011  					return 0, err
 10012  				}
 10013  				i -= size
 10014  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10015  			}
 10016  			i--
 10017  			dAtA[i] = 0x2a
 10018  		}
 10019  	}
 10020  	if len(m.Comment) > 0 {
 10021  		i -= len(m.Comment)
 10022  		copy(dAtA[i:], m.Comment)
 10023  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Comment)))
 10024  		i--
 10025  		dAtA[i] = 0x22
 10026  	}
 10027  	if len(m.Description) > 0 {
 10028  		i -= len(m.Description)
 10029  		copy(dAtA[i:], m.Description)
 10030  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Description)))
 10031  		i--
 10032  		dAtA[i] = 0x1a
 10033  	}
 10034  	if m.OrdinalPosition != 0 {
 10035  		i = encodeVarintPlan(dAtA, i, uint64(m.OrdinalPosition))
 10036  		i--
 10037  		dAtA[i] = 0x10
 10038  	}
 10039  	if len(m.PartitionName) > 0 {
 10040  		i -= len(m.PartitionName)
 10041  		copy(dAtA[i:], m.PartitionName)
 10042  		i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionName)))
 10043  		i--
 10044  		dAtA[i] = 0xa
 10045  	}
 10046  	return len(dAtA) - i, nil
 10047  }
 10048  
 10049  func (m *ViewDef) Marshal() (dAtA []byte, err error) {
 10050  	size := m.ProtoSize()
 10051  	dAtA = make([]byte, size)
 10052  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10053  	if err != nil {
 10054  		return nil, err
 10055  	}
 10056  	return dAtA[:n], nil
 10057  }
 10058  
 10059  func (m *ViewDef) MarshalTo(dAtA []byte) (int, error) {
 10060  	size := m.ProtoSize()
 10061  	return m.MarshalToSizedBuffer(dAtA[:size])
 10062  }
 10063  
 10064  func (m *ViewDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10065  	i := len(dAtA)
 10066  	_ = i
 10067  	var l int
 10068  	_ = l
 10069  	if m.XXX_unrecognized != nil {
 10070  		i -= len(m.XXX_unrecognized)
 10071  		copy(dAtA[i:], m.XXX_unrecognized)
 10072  	}
 10073  	if len(m.View) > 0 {
 10074  		i -= len(m.View)
 10075  		copy(dAtA[i:], m.View)
 10076  		i = encodeVarintPlan(dAtA, i, uint64(len(m.View)))
 10077  		i--
 10078  		dAtA[i] = 0xa
 10079  	}
 10080  	return len(dAtA) - i, nil
 10081  }
 10082  
 10083  func (m *TableDef) Marshal() (dAtA []byte, err error) {
 10084  	size := m.ProtoSize()
 10085  	dAtA = make([]byte, size)
 10086  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10087  	if err != nil {
 10088  		return nil, err
 10089  	}
 10090  	return dAtA[:n], nil
 10091  }
 10092  
 10093  func (m *TableDef) MarshalTo(dAtA []byte) (int, error) {
 10094  	size := m.ProtoSize()
 10095  	return m.MarshalToSizedBuffer(dAtA[:size])
 10096  }
 10097  
 10098  func (m *TableDef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10099  	i := len(dAtA)
 10100  	_ = i
 10101  	var l int
 10102  	_ = l
 10103  	if m.XXX_unrecognized != nil {
 10104  		i -= len(m.XXX_unrecognized)
 10105  		copy(dAtA[i:], m.XXX_unrecognized)
 10106  	}
 10107  	if m.CompositePkey != nil {
 10108  		{
 10109  			size, err := m.CompositePkey.MarshalToSizedBuffer(dAtA[:i])
 10110  			if err != nil {
 10111  				return 0, err
 10112  			}
 10113  			i -= size
 10114  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10115  		}
 10116  		i--
 10117  		dAtA[i] = 0x2
 10118  		i--
 10119  		dAtA[i] = 0x8a
 10120  	}
 10121  	if len(m.Name2ColIndex) > 0 {
 10122  		for k := range m.Name2ColIndex {
 10123  			v := m.Name2ColIndex[k]
 10124  			baseI := i
 10125  			i = encodeVarintPlan(dAtA, i, uint64(v))
 10126  			i--
 10127  			dAtA[i] = 0x10
 10128  			i -= len(k)
 10129  			copy(dAtA[i:], k)
 10130  			i = encodeVarintPlan(dAtA, i, uint64(len(k)))
 10131  			i--
 10132  			dAtA[i] = 0xa
 10133  			i = encodeVarintPlan(dAtA, i, uint64(baseI-i))
 10134  			i--
 10135  			dAtA[i] = 0x2
 10136  			i--
 10137  			dAtA[i] = 0x82
 10138  		}
 10139  	}
 10140  	if len(m.Defs) > 0 {
 10141  		for iNdEx := len(m.Defs) - 1; iNdEx >= 0; iNdEx-- {
 10142  			{
 10143  				size, err := m.Defs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10144  				if err != nil {
 10145  					return 0, err
 10146  				}
 10147  				i -= size
 10148  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10149  			}
 10150  			i--
 10151  			dAtA[i] = 0x1
 10152  			i--
 10153  			dAtA[i] = 0xfa
 10154  		}
 10155  	}
 10156  	if len(m.OriginCols) > 0 {
 10157  		for iNdEx := len(m.OriginCols) - 1; iNdEx >= 0; iNdEx-- {
 10158  			{
 10159  				size, err := m.OriginCols[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10160  				if err != nil {
 10161  					return 0, err
 10162  				}
 10163  				i -= size
 10164  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10165  			}
 10166  			i--
 10167  			dAtA[i] = 0x1
 10168  			i--
 10169  			dAtA[i] = 0xca
 10170  		}
 10171  	}
 10172  	if m.ViewSql != nil {
 10173  		{
 10174  			size, err := m.ViewSql.MarshalToSizedBuffer(dAtA[:i])
 10175  			if err != nil {
 10176  				return 0, err
 10177  			}
 10178  			i -= size
 10179  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10180  		}
 10181  		i--
 10182  		dAtA[i] = 0x1
 10183  		i--
 10184  		dAtA[i] = 0xc2
 10185  	}
 10186  	if len(m.Props) > 0 {
 10187  		for iNdEx := len(m.Props) - 1; iNdEx >= 0; iNdEx-- {
 10188  			{
 10189  				size, err := m.Props[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10190  				if err != nil {
 10191  					return 0, err
 10192  				}
 10193  				i -= size
 10194  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10195  			}
 10196  			i--
 10197  			dAtA[i] = 0x1
 10198  			i--
 10199  			dAtA[i] = 0xba
 10200  		}
 10201  	}
 10202  	if m.ClusterBy != nil {
 10203  		{
 10204  			size, err := m.ClusterBy.MarshalToSizedBuffer(dAtA[:i])
 10205  			if err != nil {
 10206  				return 0, err
 10207  			}
 10208  			i -= size
 10209  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10210  		}
 10211  		i--
 10212  		dAtA[i] = 0x1
 10213  		i--
 10214  		dAtA[i] = 0xb2
 10215  	}
 10216  	if m.Partition != nil {
 10217  		{
 10218  			size, err := m.Partition.MarshalToSizedBuffer(dAtA[:i])
 10219  			if err != nil {
 10220  				return 0, err
 10221  			}
 10222  			i -= size
 10223  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10224  		}
 10225  		i--
 10226  		dAtA[i] = 0x1
 10227  		i--
 10228  		dAtA[i] = 0xaa
 10229  	}
 10230  	if len(m.Checks) > 0 {
 10231  		for iNdEx := len(m.Checks) - 1; iNdEx >= 0; iNdEx-- {
 10232  			{
 10233  				size, err := m.Checks[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10234  				if err != nil {
 10235  					return 0, err
 10236  				}
 10237  				i -= size
 10238  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10239  			}
 10240  			i--
 10241  			dAtA[i] = 0x7a
 10242  		}
 10243  	}
 10244  	if len(m.RefChildTbls) > 0 {
 10245  		dAtA42 := make([]byte, len(m.RefChildTbls)*10)
 10246  		var j41 int
 10247  		for _, num := range m.RefChildTbls {
 10248  			for num >= 1<<7 {
 10249  				dAtA42[j41] = uint8(uint64(num)&0x7f | 0x80)
 10250  				num >>= 7
 10251  				j41++
 10252  			}
 10253  			dAtA42[j41] = uint8(num)
 10254  			j41++
 10255  		}
 10256  		i -= j41
 10257  		copy(dAtA[i:], dAtA42[:j41])
 10258  		i = encodeVarintPlan(dAtA, i, uint64(j41))
 10259  		i--
 10260  		dAtA[i] = 0x72
 10261  	}
 10262  	if len(m.Fkeys) > 0 {
 10263  		for iNdEx := len(m.Fkeys) - 1; iNdEx >= 0; iNdEx-- {
 10264  			{
 10265  				size, err := m.Fkeys[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10266  				if err != nil {
 10267  					return 0, err
 10268  				}
 10269  				i -= size
 10270  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10271  			}
 10272  			i--
 10273  			dAtA[i] = 0x6a
 10274  		}
 10275  	}
 10276  	if len(m.Indexes) > 0 {
 10277  		for iNdEx := len(m.Indexes) - 1; iNdEx >= 0; iNdEx-- {
 10278  			{
 10279  				size, err := m.Indexes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10280  				if err != nil {
 10281  					return 0, err
 10282  				}
 10283  				i -= size
 10284  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10285  			}
 10286  			i--
 10287  			dAtA[i] = 0x62
 10288  		}
 10289  	}
 10290  	if m.Pkey != nil {
 10291  		{
 10292  			size, err := m.Pkey.MarshalToSizedBuffer(dAtA[:i])
 10293  			if err != nil {
 10294  				return 0, err
 10295  			}
 10296  			i -= size
 10297  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10298  		}
 10299  		i--
 10300  		dAtA[i] = 0x5a
 10301  	}
 10302  	if m.TblFunc != nil {
 10303  		{
 10304  			size, err := m.TblFunc.MarshalToSizedBuffer(dAtA[:i])
 10305  			if err != nil {
 10306  				return 0, err
 10307  			}
 10308  			i -= size
 10309  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10310  		}
 10311  		i--
 10312  		dAtA[i] = 0x3a
 10313  	}
 10314  	if len(m.Createsql) > 0 {
 10315  		i -= len(m.Createsql)
 10316  		copy(dAtA[i:], m.Createsql)
 10317  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Createsql)))
 10318  		i--
 10319  		dAtA[i] = 0x32
 10320  	}
 10321  	if len(m.TableType) > 0 {
 10322  		i -= len(m.TableType)
 10323  		copy(dAtA[i:], m.TableType)
 10324  		i = encodeVarintPlan(dAtA, i, uint64(len(m.TableType)))
 10325  		i--
 10326  		dAtA[i] = 0x2a
 10327  	}
 10328  	if len(m.Cols) > 0 {
 10329  		for iNdEx := len(m.Cols) - 1; iNdEx >= 0; iNdEx-- {
 10330  			{
 10331  				size, err := m.Cols[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10332  				if err != nil {
 10333  					return 0, err
 10334  				}
 10335  				i -= size
 10336  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10337  			}
 10338  			i--
 10339  			dAtA[i] = 0x22
 10340  		}
 10341  	}
 10342  	if m.Hidden {
 10343  		i--
 10344  		if m.Hidden {
 10345  			dAtA[i] = 1
 10346  		} else {
 10347  			dAtA[i] = 0
 10348  		}
 10349  		i--
 10350  		dAtA[i] = 0x18
 10351  	}
 10352  	if len(m.Name) > 0 {
 10353  		i -= len(m.Name)
 10354  		copy(dAtA[i:], m.Name)
 10355  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
 10356  		i--
 10357  		dAtA[i] = 0x12
 10358  	}
 10359  	if m.TblId != 0 {
 10360  		i = encodeVarintPlan(dAtA, i, uint64(m.TblId))
 10361  		i--
 10362  		dAtA[i] = 0x8
 10363  	}
 10364  	return len(dAtA) - i, nil
 10365  }
 10366  
 10367  func (m *TableDef_DefType) Marshal() (dAtA []byte, err error) {
 10368  	size := m.ProtoSize()
 10369  	dAtA = make([]byte, size)
 10370  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10371  	if err != nil {
 10372  		return nil, err
 10373  	}
 10374  	return dAtA[:n], nil
 10375  }
 10376  
 10377  func (m *TableDef_DefType) MarshalTo(dAtA []byte) (int, error) {
 10378  	size := m.ProtoSize()
 10379  	return m.MarshalToSizedBuffer(dAtA[:size])
 10380  }
 10381  
 10382  func (m *TableDef_DefType) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10383  	i := len(dAtA)
 10384  	_ = i
 10385  	var l int
 10386  	_ = l
 10387  	if m.XXX_unrecognized != nil {
 10388  		i -= len(m.XXX_unrecognized)
 10389  		copy(dAtA[i:], m.XXX_unrecognized)
 10390  	}
 10391  	if m.Def != nil {
 10392  		{
 10393  			size := m.Def.ProtoSize()
 10394  			i -= size
 10395  			if _, err := m.Def.MarshalTo(dAtA[i:]); err != nil {
 10396  				return 0, err
 10397  			}
 10398  		}
 10399  	}
 10400  	return len(dAtA) - i, nil
 10401  }
 10402  
 10403  func (m *TableDef_DefType_Properties) MarshalTo(dAtA []byte) (int, error) {
 10404  	size := m.ProtoSize()
 10405  	return m.MarshalToSizedBuffer(dAtA[:size])
 10406  }
 10407  
 10408  func (m *TableDef_DefType_Properties) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10409  	i := len(dAtA)
 10410  	if m.Properties != nil {
 10411  		{
 10412  			size, err := m.Properties.MarshalToSizedBuffer(dAtA[:i])
 10413  			if err != nil {
 10414  				return 0, err
 10415  			}
 10416  			i -= size
 10417  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10418  		}
 10419  		i--
 10420  		dAtA[i] = 0xa
 10421  	}
 10422  	return len(dAtA) - i, nil
 10423  }
 10424  func (m *TableFunction) Marshal() (dAtA []byte, err error) {
 10425  	size := m.ProtoSize()
 10426  	dAtA = make([]byte, size)
 10427  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10428  	if err != nil {
 10429  		return nil, err
 10430  	}
 10431  	return dAtA[:n], nil
 10432  }
 10433  
 10434  func (m *TableFunction) MarshalTo(dAtA []byte) (int, error) {
 10435  	size := m.ProtoSize()
 10436  	return m.MarshalToSizedBuffer(dAtA[:size])
 10437  }
 10438  
 10439  func (m *TableFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10440  	i := len(dAtA)
 10441  	_ = i
 10442  	var l int
 10443  	_ = l
 10444  	if m.XXX_unrecognized != nil {
 10445  		i -= len(m.XXX_unrecognized)
 10446  		copy(dAtA[i:], m.XXX_unrecognized)
 10447  	}
 10448  	if len(m.Param) > 0 {
 10449  		i -= len(m.Param)
 10450  		copy(dAtA[i:], m.Param)
 10451  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Param)))
 10452  		i--
 10453  		dAtA[i] = 0x12
 10454  	}
 10455  	if len(m.Name) > 0 {
 10456  		i -= len(m.Name)
 10457  		copy(dAtA[i:], m.Name)
 10458  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
 10459  		i--
 10460  		dAtA[i] = 0xa
 10461  	}
 10462  	return len(dAtA) - i, nil
 10463  }
 10464  
 10465  func (m *Stats) Marshal() (dAtA []byte, err error) {
 10466  	size := m.ProtoSize()
 10467  	dAtA = make([]byte, size)
 10468  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10469  	if err != nil {
 10470  		return nil, err
 10471  	}
 10472  	return dAtA[:n], nil
 10473  }
 10474  
 10475  func (m *Stats) MarshalTo(dAtA []byte) (int, error) {
 10476  	size := m.ProtoSize()
 10477  	return m.MarshalToSizedBuffer(dAtA[:size])
 10478  }
 10479  
 10480  func (m *Stats) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10481  	i := len(dAtA)
 10482  	_ = i
 10483  	var l int
 10484  	_ = l
 10485  	if m.XXX_unrecognized != nil {
 10486  		i -= len(m.XXX_unrecognized)
 10487  		copy(dAtA[i:], m.XXX_unrecognized)
 10488  	}
 10489  	if m.Selectivity != 0 {
 10490  		i -= 8
 10491  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Selectivity))))
 10492  		i--
 10493  		dAtA[i] = 0x39
 10494  	}
 10495  	if m.TableCnt != 0 {
 10496  		i -= 8
 10497  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.TableCnt))))
 10498  		i--
 10499  		dAtA[i] = 0x31
 10500  	}
 10501  	if m.HashmapSize != 0 {
 10502  		i -= 8
 10503  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.HashmapSize))))
 10504  		i--
 10505  		dAtA[i] = 0x29
 10506  	}
 10507  	if m.Rowsize != 0 {
 10508  		i -= 8
 10509  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Rowsize))))
 10510  		i--
 10511  		dAtA[i] = 0x21
 10512  	}
 10513  	if m.Outcnt != 0 {
 10514  		i -= 8
 10515  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Outcnt))))
 10516  		i--
 10517  		dAtA[i] = 0x19
 10518  	}
 10519  	if m.Cost != 0 {
 10520  		i -= 8
 10521  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Cost))))
 10522  		i--
 10523  		dAtA[i] = 0x11
 10524  	}
 10525  	if m.BlockNum != 0 {
 10526  		i = encodeVarintPlan(dAtA, i, uint64(m.BlockNum))
 10527  		i--
 10528  		dAtA[i] = 0x8
 10529  	}
 10530  	return len(dAtA) - i, nil
 10531  }
 10532  
 10533  func (m *ColData) Marshal() (dAtA []byte, err error) {
 10534  	size := m.ProtoSize()
 10535  	dAtA = make([]byte, size)
 10536  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10537  	if err != nil {
 10538  		return nil, err
 10539  	}
 10540  	return dAtA[:n], nil
 10541  }
 10542  
 10543  func (m *ColData) MarshalTo(dAtA []byte) (int, error) {
 10544  	size := m.ProtoSize()
 10545  	return m.MarshalToSizedBuffer(dAtA[:size])
 10546  }
 10547  
 10548  func (m *ColData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10549  	i := len(dAtA)
 10550  	_ = i
 10551  	var l int
 10552  	_ = l
 10553  	if m.XXX_unrecognized != nil {
 10554  		i -= len(m.XXX_unrecognized)
 10555  		copy(dAtA[i:], m.XXX_unrecognized)
 10556  	}
 10557  	if len(m.Data) > 0 {
 10558  		for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- {
 10559  			{
 10560  				size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10561  				if err != nil {
 10562  					return 0, err
 10563  				}
 10564  				i -= size
 10565  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10566  			}
 10567  			i--
 10568  			dAtA[i] = 0xa
 10569  		}
 10570  	}
 10571  	return len(dAtA) - i, nil
 10572  }
 10573  
 10574  func (m *RowsetData) Marshal() (dAtA []byte, err error) {
 10575  	size := m.ProtoSize()
 10576  	dAtA = make([]byte, size)
 10577  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10578  	if err != nil {
 10579  		return nil, err
 10580  	}
 10581  	return dAtA[:n], nil
 10582  }
 10583  
 10584  func (m *RowsetData) MarshalTo(dAtA []byte) (int, error) {
 10585  	size := m.ProtoSize()
 10586  	return m.MarshalToSizedBuffer(dAtA[:size])
 10587  }
 10588  
 10589  func (m *RowsetData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10590  	i := len(dAtA)
 10591  	_ = i
 10592  	var l int
 10593  	_ = l
 10594  	if m.XXX_unrecognized != nil {
 10595  		i -= len(m.XXX_unrecognized)
 10596  		copy(dAtA[i:], m.XXX_unrecognized)
 10597  	}
 10598  	if len(m.Cols) > 0 {
 10599  		for iNdEx := len(m.Cols) - 1; iNdEx >= 0; iNdEx-- {
 10600  			{
 10601  				size, err := m.Cols[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10602  				if err != nil {
 10603  					return 0, err
 10604  				}
 10605  				i -= size
 10606  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10607  			}
 10608  			i--
 10609  			dAtA[i] = 0xa
 10610  		}
 10611  	}
 10612  	return len(dAtA) - i, nil
 10613  }
 10614  
 10615  func (m *OrderBySpec) Marshal() (dAtA []byte, err error) {
 10616  	size := m.ProtoSize()
 10617  	dAtA = make([]byte, size)
 10618  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10619  	if err != nil {
 10620  		return nil, err
 10621  	}
 10622  	return dAtA[:n], nil
 10623  }
 10624  
 10625  func (m *OrderBySpec) MarshalTo(dAtA []byte) (int, error) {
 10626  	size := m.ProtoSize()
 10627  	return m.MarshalToSizedBuffer(dAtA[:size])
 10628  }
 10629  
 10630  func (m *OrderBySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10631  	i := len(dAtA)
 10632  	_ = i
 10633  	var l int
 10634  	_ = l
 10635  	if m.XXX_unrecognized != nil {
 10636  		i -= len(m.XXX_unrecognized)
 10637  		copy(dAtA[i:], m.XXX_unrecognized)
 10638  	}
 10639  	if m.Flag != 0 {
 10640  		i = encodeVarintPlan(dAtA, i, uint64(m.Flag))
 10641  		i--
 10642  		dAtA[i] = 0x18
 10643  	}
 10644  	if len(m.Collation) > 0 {
 10645  		i -= len(m.Collation)
 10646  		copy(dAtA[i:], m.Collation)
 10647  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Collation)))
 10648  		i--
 10649  		dAtA[i] = 0x12
 10650  	}
 10651  	if m.Expr != nil {
 10652  		{
 10653  			size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i])
 10654  			if err != nil {
 10655  				return 0, err
 10656  			}
 10657  			i -= size
 10658  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10659  		}
 10660  		i--
 10661  		dAtA[i] = 0xa
 10662  	}
 10663  	return len(dAtA) - i, nil
 10664  }
 10665  
 10666  func (m *WindowSpec) Marshal() (dAtA []byte, err error) {
 10667  	size := m.ProtoSize()
 10668  	dAtA = make([]byte, size)
 10669  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10670  	if err != nil {
 10671  		return nil, err
 10672  	}
 10673  	return dAtA[:n], nil
 10674  }
 10675  
 10676  func (m *WindowSpec) MarshalTo(dAtA []byte) (int, error) {
 10677  	size := m.ProtoSize()
 10678  	return m.MarshalToSizedBuffer(dAtA[:size])
 10679  }
 10680  
 10681  func (m *WindowSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10682  	i := len(dAtA)
 10683  	_ = i
 10684  	var l int
 10685  	_ = l
 10686  	if m.XXX_unrecognized != nil {
 10687  		i -= len(m.XXX_unrecognized)
 10688  		copy(dAtA[i:], m.XXX_unrecognized)
 10689  	}
 10690  	if m.Lag != 0 {
 10691  		i = encodeVarintPlan(dAtA, i, uint64(m.Lag))
 10692  		i--
 10693  		dAtA[i] = 0x20
 10694  	}
 10695  	if m.Lead != 0 {
 10696  		i = encodeVarintPlan(dAtA, i, uint64(m.Lead))
 10697  		i--
 10698  		dAtA[i] = 0x18
 10699  	}
 10700  	if len(m.OrderBy) > 0 {
 10701  		for iNdEx := len(m.OrderBy) - 1; iNdEx >= 0; iNdEx-- {
 10702  			{
 10703  				size, err := m.OrderBy[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10704  				if err != nil {
 10705  					return 0, err
 10706  				}
 10707  				i -= size
 10708  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10709  			}
 10710  			i--
 10711  			dAtA[i] = 0x12
 10712  		}
 10713  	}
 10714  	if len(m.PartitionBy) > 0 {
 10715  		for iNdEx := len(m.PartitionBy) - 1; iNdEx >= 0; iNdEx-- {
 10716  			{
 10717  				size, err := m.PartitionBy[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10718  				if err != nil {
 10719  					return 0, err
 10720  				}
 10721  				i -= size
 10722  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10723  			}
 10724  			i--
 10725  			dAtA[i] = 0xa
 10726  		}
 10727  	}
 10728  	return len(dAtA) - i, nil
 10729  }
 10730  
 10731  func (m *InsertCtx) Marshal() (dAtA []byte, err error) {
 10732  	size := m.ProtoSize()
 10733  	dAtA = make([]byte, size)
 10734  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10735  	if err != nil {
 10736  		return nil, err
 10737  	}
 10738  	return dAtA[:n], nil
 10739  }
 10740  
 10741  func (m *InsertCtx) MarshalTo(dAtA []byte) (int, error) {
 10742  	size := m.ProtoSize()
 10743  	return m.MarshalToSizedBuffer(dAtA[:size])
 10744  }
 10745  
 10746  func (m *InsertCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10747  	i := len(dAtA)
 10748  	_ = i
 10749  	var l int
 10750  	_ = l
 10751  	if m.XXX_unrecognized != nil {
 10752  		i -= len(m.XXX_unrecognized)
 10753  		copy(dAtA[i:], m.XXX_unrecognized)
 10754  	}
 10755  	if m.ClusterTable != nil {
 10756  		{
 10757  			size, err := m.ClusterTable.MarshalToSizedBuffer(dAtA[:i])
 10758  			if err != nil {
 10759  				return 0, err
 10760  			}
 10761  			i -= size
 10762  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10763  		}
 10764  		i--
 10765  		dAtA[i] = 0x2a
 10766  	}
 10767  	if len(m.ParentIdx) > 0 {
 10768  		for k := range m.ParentIdx {
 10769  			v := m.ParentIdx[k]
 10770  			baseI := i
 10771  			i = encodeVarintPlan(dAtA, i, uint64(v))
 10772  			i--
 10773  			dAtA[i] = 0x10
 10774  			i -= len(k)
 10775  			copy(dAtA[i:], k)
 10776  			i = encodeVarintPlan(dAtA, i, uint64(len(k)))
 10777  			i--
 10778  			dAtA[i] = 0xa
 10779  			i = encodeVarintPlan(dAtA, i, uint64(baseI-i))
 10780  			i--
 10781  			dAtA[i] = 0x22
 10782  		}
 10783  	}
 10784  	if m.TableDef != nil {
 10785  		{
 10786  			size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i])
 10787  			if err != nil {
 10788  				return 0, err
 10789  			}
 10790  			i -= size
 10791  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10792  		}
 10793  		i--
 10794  		dAtA[i] = 0x1a
 10795  	}
 10796  	if len(m.Idx) > 0 {
 10797  		dAtA50 := make([]byte, len(m.Idx)*10)
 10798  		var j49 int
 10799  		for _, num1 := range m.Idx {
 10800  			num := uint64(num1)
 10801  			for num >= 1<<7 {
 10802  				dAtA50[j49] = uint8(uint64(num)&0x7f | 0x80)
 10803  				num >>= 7
 10804  				j49++
 10805  			}
 10806  			dAtA50[j49] = uint8(num)
 10807  			j49++
 10808  		}
 10809  		i -= j49
 10810  		copy(dAtA[i:], dAtA50[:j49])
 10811  		i = encodeVarintPlan(dAtA, i, uint64(j49))
 10812  		i--
 10813  		dAtA[i] = 0x12
 10814  	}
 10815  	if m.Ref != nil {
 10816  		{
 10817  			size, err := m.Ref.MarshalToSizedBuffer(dAtA[:i])
 10818  			if err != nil {
 10819  				return 0, err
 10820  			}
 10821  			i -= size
 10822  			i = encodeVarintPlan(dAtA, i, uint64(size))
 10823  		}
 10824  		i--
 10825  		dAtA[i] = 0xa
 10826  	}
 10827  	return len(dAtA) - i, nil
 10828  }
 10829  
 10830  func (m *UpdateCtx) Marshal() (dAtA []byte, err error) {
 10831  	size := m.ProtoSize()
 10832  	dAtA = make([]byte, size)
 10833  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 10834  	if err != nil {
 10835  		return nil, err
 10836  	}
 10837  	return dAtA[:n], nil
 10838  }
 10839  
 10840  func (m *UpdateCtx) MarshalTo(dAtA []byte) (int, error) {
 10841  	size := m.ProtoSize()
 10842  	return m.MarshalToSizedBuffer(dAtA[:size])
 10843  }
 10844  
 10845  func (m *UpdateCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 10846  	i := len(dAtA)
 10847  	_ = i
 10848  	var l int
 10849  	_ = l
 10850  	if m.XXX_unrecognized != nil {
 10851  		i -= len(m.XXX_unrecognized)
 10852  		copy(dAtA[i:], m.XXX_unrecognized)
 10853  	}
 10854  	if len(m.ParentIdx) > 0 {
 10855  		for iNdEx := len(m.ParentIdx) - 1; iNdEx >= 0; iNdEx-- {
 10856  			{
 10857  				size, err := m.ParentIdx[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10858  				if err != nil {
 10859  					return 0, err
 10860  				}
 10861  				i -= size
 10862  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10863  			}
 10864  			i--
 10865  			dAtA[i] = 0x1
 10866  			i--
 10867  			dAtA[i] = 0x8a
 10868  		}
 10869  	}
 10870  	if len(m.OnSetUpdateCol) > 0 {
 10871  		for iNdEx := len(m.OnSetUpdateCol) - 1; iNdEx >= 0; iNdEx-- {
 10872  			{
 10873  				size, err := m.OnSetUpdateCol[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10874  				if err != nil {
 10875  					return 0, err
 10876  				}
 10877  				i -= size
 10878  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10879  			}
 10880  			i--
 10881  			dAtA[i] = 0x1
 10882  			i--
 10883  			dAtA[i] = 0x82
 10884  		}
 10885  	}
 10886  	if len(m.OnSetDef) > 0 {
 10887  		for iNdEx := len(m.OnSetDef) - 1; iNdEx >= 0; iNdEx-- {
 10888  			{
 10889  				size, err := m.OnSetDef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10890  				if err != nil {
 10891  					return 0, err
 10892  				}
 10893  				i -= size
 10894  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10895  			}
 10896  			i--
 10897  			dAtA[i] = 0x7a
 10898  		}
 10899  	}
 10900  	if len(m.OnSetIdx) > 0 {
 10901  		for iNdEx := len(m.OnSetIdx) - 1; iNdEx >= 0; iNdEx-- {
 10902  			{
 10903  				size, err := m.OnSetIdx[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10904  				if err != nil {
 10905  					return 0, err
 10906  				}
 10907  				i -= size
 10908  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10909  			}
 10910  			i--
 10911  			dAtA[i] = 0x72
 10912  		}
 10913  	}
 10914  	if len(m.OnSetRef) > 0 {
 10915  		for iNdEx := len(m.OnSetRef) - 1; iNdEx >= 0; iNdEx-- {
 10916  			{
 10917  				size, err := m.OnSetRef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10918  				if err != nil {
 10919  					return 0, err
 10920  				}
 10921  				i -= size
 10922  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10923  			}
 10924  			i--
 10925  			dAtA[i] = 0x6a
 10926  		}
 10927  	}
 10928  	if len(m.OnCascadeUpdateCol) > 0 {
 10929  		for iNdEx := len(m.OnCascadeUpdateCol) - 1; iNdEx >= 0; iNdEx-- {
 10930  			{
 10931  				size, err := m.OnCascadeUpdateCol[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10932  				if err != nil {
 10933  					return 0, err
 10934  				}
 10935  				i -= size
 10936  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10937  			}
 10938  			i--
 10939  			dAtA[i] = 0x62
 10940  		}
 10941  	}
 10942  	if len(m.OnCascadeDef) > 0 {
 10943  		for iNdEx := len(m.OnCascadeDef) - 1; iNdEx >= 0; iNdEx-- {
 10944  			{
 10945  				size, err := m.OnCascadeDef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10946  				if err != nil {
 10947  					return 0, err
 10948  				}
 10949  				i -= size
 10950  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10951  			}
 10952  			i--
 10953  			dAtA[i] = 0x5a
 10954  		}
 10955  	}
 10956  	if len(m.OnCascadeIdx) > 0 {
 10957  		for iNdEx := len(m.OnCascadeIdx) - 1; iNdEx >= 0; iNdEx-- {
 10958  			{
 10959  				size, err := m.OnCascadeIdx[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10960  				if err != nil {
 10961  					return 0, err
 10962  				}
 10963  				i -= size
 10964  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10965  			}
 10966  			i--
 10967  			dAtA[i] = 0x52
 10968  		}
 10969  	}
 10970  	if len(m.OnCascadeRef) > 0 {
 10971  		for iNdEx := len(m.OnCascadeRef) - 1; iNdEx >= 0; iNdEx-- {
 10972  			{
 10973  				size, err := m.OnCascadeRef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 10974  				if err != nil {
 10975  					return 0, err
 10976  				}
 10977  				i -= size
 10978  				i = encodeVarintPlan(dAtA, i, uint64(size))
 10979  			}
 10980  			i--
 10981  			dAtA[i] = 0x4a
 10982  		}
 10983  	}
 10984  	if len(m.OnRestrictIdx) > 0 {
 10985  		dAtA53 := make([]byte, len(m.OnRestrictIdx)*10)
 10986  		var j52 int
 10987  		for _, num1 := range m.OnRestrictIdx {
 10988  			num := uint64(num1)
 10989  			for num >= 1<<7 {
 10990  				dAtA53[j52] = uint8(uint64(num)&0x7f | 0x80)
 10991  				num >>= 7
 10992  				j52++
 10993  			}
 10994  			dAtA53[j52] = uint8(num)
 10995  			j52++
 10996  		}
 10997  		i -= j52
 10998  		copy(dAtA[i:], dAtA53[:j52])
 10999  		i = encodeVarintPlan(dAtA, i, uint64(j52))
 11000  		i--
 11001  		dAtA[i] = 0x42
 11002  	}
 11003  	if len(m.OnRestrictRef) > 0 {
 11004  		for iNdEx := len(m.OnRestrictRef) - 1; iNdEx >= 0; iNdEx-- {
 11005  			{
 11006  				size, err := m.OnRestrictRef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11007  				if err != nil {
 11008  					return 0, err
 11009  				}
 11010  				i -= size
 11011  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11012  			}
 11013  			i--
 11014  			dAtA[i] = 0x3a
 11015  		}
 11016  	}
 11017  	if len(m.IdxIdx) > 0 {
 11018  		dAtA55 := make([]byte, len(m.IdxIdx)*10)
 11019  		var j54 int
 11020  		for _, num1 := range m.IdxIdx {
 11021  			num := uint64(num1)
 11022  			for num >= 1<<7 {
 11023  				dAtA55[j54] = uint8(uint64(num)&0x7f | 0x80)
 11024  				num >>= 7
 11025  				j54++
 11026  			}
 11027  			dAtA55[j54] = uint8(num)
 11028  			j54++
 11029  		}
 11030  		i -= j54
 11031  		copy(dAtA[i:], dAtA55[:j54])
 11032  		i = encodeVarintPlan(dAtA, i, uint64(j54))
 11033  		i--
 11034  		dAtA[i] = 0x32
 11035  	}
 11036  	if len(m.IdxRef) > 0 {
 11037  		for iNdEx := len(m.IdxRef) - 1; iNdEx >= 0; iNdEx-- {
 11038  			{
 11039  				size, err := m.IdxRef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11040  				if err != nil {
 11041  					return 0, err
 11042  				}
 11043  				i -= size
 11044  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11045  			}
 11046  			i--
 11047  			dAtA[i] = 0x2a
 11048  		}
 11049  	}
 11050  	if len(m.UpdateCol) > 0 {
 11051  		for iNdEx := len(m.UpdateCol) - 1; iNdEx >= 0; iNdEx-- {
 11052  			{
 11053  				size, err := m.UpdateCol[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11054  				if err != nil {
 11055  					return 0, err
 11056  				}
 11057  				i -= size
 11058  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11059  			}
 11060  			i--
 11061  			dAtA[i] = 0x22
 11062  		}
 11063  	}
 11064  	if len(m.TableDefs) > 0 {
 11065  		for iNdEx := len(m.TableDefs) - 1; iNdEx >= 0; iNdEx-- {
 11066  			{
 11067  				size, err := m.TableDefs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11068  				if err != nil {
 11069  					return 0, err
 11070  				}
 11071  				i -= size
 11072  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11073  			}
 11074  			i--
 11075  			dAtA[i] = 0x1a
 11076  		}
 11077  	}
 11078  	if len(m.Idx) > 0 {
 11079  		for iNdEx := len(m.Idx) - 1; iNdEx >= 0; iNdEx-- {
 11080  			{
 11081  				size, err := m.Idx[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11082  				if err != nil {
 11083  					return 0, err
 11084  				}
 11085  				i -= size
 11086  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11087  			}
 11088  			i--
 11089  			dAtA[i] = 0x12
 11090  		}
 11091  	}
 11092  	if len(m.Ref) > 0 {
 11093  		for iNdEx := len(m.Ref) - 1; iNdEx >= 0; iNdEx-- {
 11094  			{
 11095  				size, err := m.Ref[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11096  				if err != nil {
 11097  					return 0, err
 11098  				}
 11099  				i -= size
 11100  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11101  			}
 11102  			i--
 11103  			dAtA[i] = 0xa
 11104  		}
 11105  	}
 11106  	return len(dAtA) - i, nil
 11107  }
 11108  
 11109  func (m *AnalyzeInfo) Marshal() (dAtA []byte, err error) {
 11110  	size := m.ProtoSize()
 11111  	dAtA = make([]byte, size)
 11112  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 11113  	if err != nil {
 11114  		return nil, err
 11115  	}
 11116  	return dAtA[:n], nil
 11117  }
 11118  
 11119  func (m *AnalyzeInfo) MarshalTo(dAtA []byte) (int, error) {
 11120  	size := m.ProtoSize()
 11121  	return m.MarshalToSizedBuffer(dAtA[:size])
 11122  }
 11123  
 11124  func (m *AnalyzeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 11125  	i := len(dAtA)
 11126  	_ = i
 11127  	var l int
 11128  	_ = l
 11129  	if m.XXX_unrecognized != nil {
 11130  		i -= len(m.XXX_unrecognized)
 11131  		copy(dAtA[i:], m.XXX_unrecognized)
 11132  	}
 11133  	if m.InsertTime != 0 {
 11134  		i = encodeVarintPlan(dAtA, i, uint64(m.InsertTime))
 11135  		i--
 11136  		dAtA[i] = 0x68
 11137  	}
 11138  	if m.ScanTime != 0 {
 11139  		i = encodeVarintPlan(dAtA, i, uint64(m.ScanTime))
 11140  		i--
 11141  		dAtA[i] = 0x60
 11142  	}
 11143  	if m.NetworkIO != 0 {
 11144  		i = encodeVarintPlan(dAtA, i, uint64(m.NetworkIO))
 11145  		i--
 11146  		dAtA[i] = 0x58
 11147  	}
 11148  	if m.S3IOCount != 0 {
 11149  		i = encodeVarintPlan(dAtA, i, uint64(m.S3IOCount))
 11150  		i--
 11151  		dAtA[i] = 0x50
 11152  	}
 11153  	if m.S3IOByte != 0 {
 11154  		i = encodeVarintPlan(dAtA, i, uint64(m.S3IOByte))
 11155  		i--
 11156  		dAtA[i] = 0x48
 11157  	}
 11158  	if m.DiskIO != 0 {
 11159  		i = encodeVarintPlan(dAtA, i, uint64(m.DiskIO))
 11160  		i--
 11161  		dAtA[i] = 0x40
 11162  	}
 11163  	if m.WaitTimeConsumed != 0 {
 11164  		i = encodeVarintPlan(dAtA, i, uint64(m.WaitTimeConsumed))
 11165  		i--
 11166  		dAtA[i] = 0x38
 11167  	}
 11168  	if m.MemorySize != 0 {
 11169  		i = encodeVarintPlan(dAtA, i, uint64(m.MemorySize))
 11170  		i--
 11171  		dAtA[i] = 0x30
 11172  	}
 11173  	if m.TimeConsumed != 0 {
 11174  		i = encodeVarintPlan(dAtA, i, uint64(m.TimeConsumed))
 11175  		i--
 11176  		dAtA[i] = 0x28
 11177  	}
 11178  	if m.OutputSize != 0 {
 11179  		i = encodeVarintPlan(dAtA, i, uint64(m.OutputSize))
 11180  		i--
 11181  		dAtA[i] = 0x20
 11182  	}
 11183  	if m.InputSize != 0 {
 11184  		i = encodeVarintPlan(dAtA, i, uint64(m.InputSize))
 11185  		i--
 11186  		dAtA[i] = 0x18
 11187  	}
 11188  	if m.OutputRows != 0 {
 11189  		i = encodeVarintPlan(dAtA, i, uint64(m.OutputRows))
 11190  		i--
 11191  		dAtA[i] = 0x10
 11192  	}
 11193  	if m.InputRows != 0 {
 11194  		i = encodeVarintPlan(dAtA, i, uint64(m.InputRows))
 11195  		i--
 11196  		dAtA[i] = 0x8
 11197  	}
 11198  	return len(dAtA) - i, nil
 11199  }
 11200  
 11201  func (m *Node) Marshal() (dAtA []byte, err error) {
 11202  	size := m.ProtoSize()
 11203  	dAtA = make([]byte, size)
 11204  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 11205  	if err != nil {
 11206  		return nil, err
 11207  	}
 11208  	return dAtA[:n], nil
 11209  }
 11210  
 11211  func (m *Node) MarshalTo(dAtA []byte) (int, error) {
 11212  	size := m.ProtoSize()
 11213  	return m.MarshalToSizedBuffer(dAtA[:size])
 11214  }
 11215  
 11216  func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 11217  	i := len(dAtA)
 11218  	_ = i
 11219  	var l int
 11220  	_ = l
 11221  	if m.XXX_unrecognized != nil {
 11222  		i -= len(m.XXX_unrecognized)
 11223  		copy(dAtA[i:], m.XXX_unrecognized)
 11224  	}
 11225  	if m.InsertCtx != nil {
 11226  		{
 11227  			size, err := m.InsertCtx.MarshalToSizedBuffer(dAtA[:i])
 11228  			if err != nil {
 11229  				return 0, err
 11230  			}
 11231  			i -= size
 11232  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11233  		}
 11234  		i--
 11235  		dAtA[i] = 0x1
 11236  		i--
 11237  		dAtA[i] = 0xea
 11238  	}
 11239  	if m.NotCacheable {
 11240  		i--
 11241  		if m.NotCacheable {
 11242  			dAtA[i] = 1
 11243  		} else {
 11244  			dAtA[i] = 0
 11245  		}
 11246  		i--
 11247  		dAtA[i] = 0x1
 11248  		i--
 11249  		dAtA[i] = 0xe0
 11250  	}
 11251  	if m.ClusterTable != nil {
 11252  		{
 11253  			size, err := m.ClusterTable.MarshalToSizedBuffer(dAtA[:i])
 11254  			if err != nil {
 11255  				return 0, err
 11256  			}
 11257  			i -= size
 11258  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11259  		}
 11260  		i--
 11261  		dAtA[i] = 0x1
 11262  		i--
 11263  		dAtA[i] = 0xda
 11264  	}
 11265  	if m.Parallelism != 0 {
 11266  		i = encodeVarintPlan(dAtA, i, uint64(m.Parallelism))
 11267  		i--
 11268  		dAtA[i] = 0x1
 11269  		i--
 11270  		dAtA[i] = 0xd0
 11271  	}
 11272  	if len(m.TblFuncExprList) > 0 {
 11273  		for iNdEx := len(m.TblFuncExprList) - 1; iNdEx >= 0; iNdEx-- {
 11274  			{
 11275  				size, err := m.TblFuncExprList[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11276  				if err != nil {
 11277  					return 0, err
 11278  				}
 11279  				i -= size
 11280  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11281  			}
 11282  			i--
 11283  			dAtA[i] = 0x1
 11284  			i--
 11285  			dAtA[i] = 0xca
 11286  		}
 11287  	}
 11288  	if m.AnalyzeInfo != nil {
 11289  		{
 11290  			size, err := m.AnalyzeInfo.MarshalToSizedBuffer(dAtA[:i])
 11291  			if err != nil {
 11292  				return 0, err
 11293  			}
 11294  			i -= size
 11295  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11296  		}
 11297  		i--
 11298  		dAtA[i] = 0x1
 11299  		i--
 11300  		dAtA[i] = 0xc2
 11301  	}
 11302  	if len(m.BindingTags) > 0 {
 11303  		dAtA60 := make([]byte, len(m.BindingTags)*10)
 11304  		var j59 int
 11305  		for _, num1 := range m.BindingTags {
 11306  			num := uint64(num1)
 11307  			for num >= 1<<7 {
 11308  				dAtA60[j59] = uint8(uint64(num)&0x7f | 0x80)
 11309  				num >>= 7
 11310  				j59++
 11311  			}
 11312  			dAtA60[j59] = uint8(num)
 11313  			j59++
 11314  		}
 11315  		i -= j59
 11316  		copy(dAtA[i:], dAtA60[:j59])
 11317  		i = encodeVarintPlan(dAtA, i, uint64(j59))
 11318  		i--
 11319  		dAtA[i] = 0x1
 11320  		i--
 11321  		dAtA[i] = 0xba
 11322  	}
 11323  	if m.DeleteCtx != nil {
 11324  		{
 11325  			size, err := m.DeleteCtx.MarshalToSizedBuffer(dAtA[:i])
 11326  			if err != nil {
 11327  				return 0, err
 11328  			}
 11329  			i -= size
 11330  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11331  		}
 11332  		i--
 11333  		dAtA[i] = 0x1
 11334  		i--
 11335  		dAtA[i] = 0xb2
 11336  	}
 11337  	if len(m.ExtraOptions) > 0 {
 11338  		i -= len(m.ExtraOptions)
 11339  		copy(dAtA[i:], m.ExtraOptions)
 11340  		i = encodeVarintPlan(dAtA, i, uint64(len(m.ExtraOptions)))
 11341  		i--
 11342  		dAtA[i] = 0x1
 11343  		i--
 11344  		dAtA[i] = 0xaa
 11345  	}
 11346  	if m.RowsetData != nil {
 11347  		{
 11348  			size, err := m.RowsetData.MarshalToSizedBuffer(dAtA[:i])
 11349  			if err != nil {
 11350  				return 0, err
 11351  			}
 11352  			i -= size
 11353  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11354  		}
 11355  		i--
 11356  		dAtA[i] = 0x1
 11357  		i--
 11358  		dAtA[i] = 0xa2
 11359  	}
 11360  	if m.ObjRef != nil {
 11361  		{
 11362  			size, err := m.ObjRef.MarshalToSizedBuffer(dAtA[:i])
 11363  			if err != nil {
 11364  				return 0, err
 11365  			}
 11366  			i -= size
 11367  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11368  		}
 11369  		i--
 11370  		dAtA[i] = 0x1
 11371  		i--
 11372  		dAtA[i] = 0x9a
 11373  	}
 11374  	if len(m.TableDefVec) > 0 {
 11375  		for iNdEx := len(m.TableDefVec) - 1; iNdEx >= 0; iNdEx-- {
 11376  			{
 11377  				size, err := m.TableDefVec[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11378  				if err != nil {
 11379  					return 0, err
 11380  				}
 11381  				i -= size
 11382  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11383  			}
 11384  			i--
 11385  			dAtA[i] = 0x1
 11386  			i--
 11387  			dAtA[i] = 0x92
 11388  		}
 11389  	}
 11390  	if m.TableDef != nil {
 11391  		{
 11392  			size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i])
 11393  			if err != nil {
 11394  				return 0, err
 11395  			}
 11396  			i -= size
 11397  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11398  		}
 11399  		i--
 11400  		dAtA[i] = 0x1
 11401  		i--
 11402  		dAtA[i] = 0x8a
 11403  	}
 11404  	if m.Offset != nil {
 11405  		{
 11406  			size, err := m.Offset.MarshalToSizedBuffer(dAtA[:i])
 11407  			if err != nil {
 11408  				return 0, err
 11409  			}
 11410  			i -= size
 11411  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11412  		}
 11413  		i--
 11414  		dAtA[i] = 0x1
 11415  		i--
 11416  		dAtA[i] = 0x82
 11417  	}
 11418  	if m.Limit != nil {
 11419  		{
 11420  			size, err := m.Limit.MarshalToSizedBuffer(dAtA[:i])
 11421  			if err != nil {
 11422  				return 0, err
 11423  			}
 11424  			i -= size
 11425  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11426  		}
 11427  		i--
 11428  		dAtA[i] = 0x7a
 11429  	}
 11430  	if m.WinSpec != nil {
 11431  		{
 11432  			size, err := m.WinSpec.MarshalToSizedBuffer(dAtA[:i])
 11433  			if err != nil {
 11434  				return 0, err
 11435  			}
 11436  			i -= size
 11437  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11438  		}
 11439  		i--
 11440  		dAtA[i] = 0x72
 11441  	}
 11442  	if m.UpdateCtx != nil {
 11443  		{
 11444  			size, err := m.UpdateCtx.MarshalToSizedBuffer(dAtA[:i])
 11445  			if err != nil {
 11446  				return 0, err
 11447  			}
 11448  			i -= size
 11449  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11450  		}
 11451  		i--
 11452  		dAtA[i] = 0x6a
 11453  	}
 11454  	if len(m.OrderBy) > 0 {
 11455  		for iNdEx := len(m.OrderBy) - 1; iNdEx >= 0; iNdEx-- {
 11456  			{
 11457  				size, err := m.OrderBy[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11458  				if err != nil {
 11459  					return 0, err
 11460  				}
 11461  				i -= size
 11462  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11463  			}
 11464  			i--
 11465  			dAtA[i] = 0x62
 11466  		}
 11467  	}
 11468  	if len(m.AggList) > 0 {
 11469  		for iNdEx := len(m.AggList) - 1; iNdEx >= 0; iNdEx-- {
 11470  			{
 11471  				size, err := m.AggList[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11472  				if err != nil {
 11473  					return 0, err
 11474  				}
 11475  				i -= size
 11476  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11477  			}
 11478  			i--
 11479  			dAtA[i] = 0x5a
 11480  		}
 11481  	}
 11482  	if len(m.GroupingSet) > 0 {
 11483  		for iNdEx := len(m.GroupingSet) - 1; iNdEx >= 0; iNdEx-- {
 11484  			{
 11485  				size, err := m.GroupingSet[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11486  				if err != nil {
 11487  					return 0, err
 11488  				}
 11489  				i -= size
 11490  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11491  			}
 11492  			i--
 11493  			dAtA[i] = 0x52
 11494  		}
 11495  	}
 11496  	if len(m.GroupBy) > 0 {
 11497  		for iNdEx := len(m.GroupBy) - 1; iNdEx >= 0; iNdEx-- {
 11498  			{
 11499  				size, err := m.GroupBy[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11500  				if err != nil {
 11501  					return 0, err
 11502  				}
 11503  				i -= size
 11504  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11505  			}
 11506  			i--
 11507  			dAtA[i] = 0x4a
 11508  		}
 11509  	}
 11510  	if len(m.FilterList) > 0 {
 11511  		for iNdEx := len(m.FilterList) - 1; iNdEx >= 0; iNdEx-- {
 11512  			{
 11513  				size, err := m.FilterList[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11514  				if err != nil {
 11515  					return 0, err
 11516  				}
 11517  				i -= size
 11518  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11519  			}
 11520  			i--
 11521  			dAtA[i] = 0x42
 11522  		}
 11523  	}
 11524  	if len(m.OnList) > 0 {
 11525  		for iNdEx := len(m.OnList) - 1; iNdEx >= 0; iNdEx-- {
 11526  			{
 11527  				size, err := m.OnList[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11528  				if err != nil {
 11529  					return 0, err
 11530  				}
 11531  				i -= size
 11532  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11533  			}
 11534  			i--
 11535  			dAtA[i] = 0x3a
 11536  		}
 11537  	}
 11538  	if m.JoinType != 0 {
 11539  		i = encodeVarintPlan(dAtA, i, uint64(m.JoinType))
 11540  		i--
 11541  		dAtA[i] = 0x30
 11542  	}
 11543  	if len(m.Children) > 0 {
 11544  		dAtA70 := make([]byte, len(m.Children)*10)
 11545  		var j69 int
 11546  		for _, num1 := range m.Children {
 11547  			num := uint64(num1)
 11548  			for num >= 1<<7 {
 11549  				dAtA70[j69] = uint8(uint64(num)&0x7f | 0x80)
 11550  				num >>= 7
 11551  				j69++
 11552  			}
 11553  			dAtA70[j69] = uint8(num)
 11554  			j69++
 11555  		}
 11556  		i -= j69
 11557  		copy(dAtA[i:], dAtA70[:j69])
 11558  		i = encodeVarintPlan(dAtA, i, uint64(j69))
 11559  		i--
 11560  		dAtA[i] = 0x2a
 11561  	}
 11562  	if len(m.ProjectList) > 0 {
 11563  		for iNdEx := len(m.ProjectList) - 1; iNdEx >= 0; iNdEx-- {
 11564  			{
 11565  				size, err := m.ProjectList[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11566  				if err != nil {
 11567  					return 0, err
 11568  				}
 11569  				i -= size
 11570  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11571  			}
 11572  			i--
 11573  			dAtA[i] = 0x22
 11574  		}
 11575  	}
 11576  	if m.Stats != nil {
 11577  		{
 11578  			size, err := m.Stats.MarshalToSizedBuffer(dAtA[:i])
 11579  			if err != nil {
 11580  				return 0, err
 11581  			}
 11582  			i -= size
 11583  			i = encodeVarintPlan(dAtA, i, uint64(size))
 11584  		}
 11585  		i--
 11586  		dAtA[i] = 0x1a
 11587  	}
 11588  	if m.NodeId != 0 {
 11589  		i = encodeVarintPlan(dAtA, i, uint64(m.NodeId))
 11590  		i--
 11591  		dAtA[i] = 0x10
 11592  	}
 11593  	if m.NodeType != 0 {
 11594  		i = encodeVarintPlan(dAtA, i, uint64(m.NodeType))
 11595  		i--
 11596  		dAtA[i] = 0x8
 11597  	}
 11598  	return len(dAtA) - i, nil
 11599  }
 11600  
 11601  func (m *IdList) Marshal() (dAtA []byte, err error) {
 11602  	size := m.ProtoSize()
 11603  	dAtA = make([]byte, size)
 11604  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 11605  	if err != nil {
 11606  		return nil, err
 11607  	}
 11608  	return dAtA[:n], nil
 11609  }
 11610  
 11611  func (m *IdList) MarshalTo(dAtA []byte) (int, error) {
 11612  	size := m.ProtoSize()
 11613  	return m.MarshalToSizedBuffer(dAtA[:size])
 11614  }
 11615  
 11616  func (m *IdList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 11617  	i := len(dAtA)
 11618  	_ = i
 11619  	var l int
 11620  	_ = l
 11621  	if m.XXX_unrecognized != nil {
 11622  		i -= len(m.XXX_unrecognized)
 11623  		copy(dAtA[i:], m.XXX_unrecognized)
 11624  	}
 11625  	if len(m.List) > 0 {
 11626  		dAtA73 := make([]byte, len(m.List)*10)
 11627  		var j72 int
 11628  		for _, num1 := range m.List {
 11629  			num := uint64(num1)
 11630  			for num >= 1<<7 {
 11631  				dAtA73[j72] = uint8(uint64(num)&0x7f | 0x80)
 11632  				num >>= 7
 11633  				j72++
 11634  			}
 11635  			dAtA73[j72] = uint8(num)
 11636  			j72++
 11637  		}
 11638  		i -= j72
 11639  		copy(dAtA[i:], dAtA73[:j72])
 11640  		i = encodeVarintPlan(dAtA, i, uint64(j72))
 11641  		i--
 11642  		dAtA[i] = 0xa
 11643  	}
 11644  	return len(dAtA) - i, nil
 11645  }
 11646  
 11647  func (m *ColPosMap) Marshal() (dAtA []byte, err error) {
 11648  	size := m.ProtoSize()
 11649  	dAtA = make([]byte, size)
 11650  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 11651  	if err != nil {
 11652  		return nil, err
 11653  	}
 11654  	return dAtA[:n], nil
 11655  }
 11656  
 11657  func (m *ColPosMap) MarshalTo(dAtA []byte) (int, error) {
 11658  	size := m.ProtoSize()
 11659  	return m.MarshalToSizedBuffer(dAtA[:size])
 11660  }
 11661  
 11662  func (m *ColPosMap) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 11663  	i := len(dAtA)
 11664  	_ = i
 11665  	var l int
 11666  	_ = l
 11667  	if m.XXX_unrecognized != nil {
 11668  		i -= len(m.XXX_unrecognized)
 11669  		copy(dAtA[i:], m.XXX_unrecognized)
 11670  	}
 11671  	if len(m.Map) > 0 {
 11672  		for k := range m.Map {
 11673  			v := m.Map[k]
 11674  			baseI := i
 11675  			i = encodeVarintPlan(dAtA, i, uint64(v))
 11676  			i--
 11677  			dAtA[i] = 0x10
 11678  			i -= len(k)
 11679  			copy(dAtA[i:], k)
 11680  			i = encodeVarintPlan(dAtA, i, uint64(len(k)))
 11681  			i--
 11682  			dAtA[i] = 0xa
 11683  			i = encodeVarintPlan(dAtA, i, uint64(baseI-i))
 11684  			i--
 11685  			dAtA[i] = 0xa
 11686  		}
 11687  	}
 11688  	return len(dAtA) - i, nil
 11689  }
 11690  
 11691  func (m *DeleteCtx) Marshal() (dAtA []byte, err error) {
 11692  	size := m.ProtoSize()
 11693  	dAtA = make([]byte, size)
 11694  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 11695  	if err != nil {
 11696  		return nil, err
 11697  	}
 11698  	return dAtA[:n], nil
 11699  }
 11700  
 11701  func (m *DeleteCtx) MarshalTo(dAtA []byte) (int, error) {
 11702  	size := m.ProtoSize()
 11703  	return m.MarshalToSizedBuffer(dAtA[:size])
 11704  }
 11705  
 11706  func (m *DeleteCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 11707  	i := len(dAtA)
 11708  	_ = i
 11709  	var l int
 11710  	_ = l
 11711  	if m.XXX_unrecognized != nil {
 11712  		i -= len(m.XXX_unrecognized)
 11713  		copy(dAtA[i:], m.XXX_unrecognized)
 11714  	}
 11715  	if m.CanTruncate {
 11716  		i--
 11717  		if m.CanTruncate {
 11718  			dAtA[i] = 1
 11719  		} else {
 11720  			dAtA[i] = 0
 11721  		}
 11722  		i--
 11723  		dAtA[i] = 0x60
 11724  	}
 11725  	if len(m.OnSetUpdateCol) > 0 {
 11726  		for iNdEx := len(m.OnSetUpdateCol) - 1; iNdEx >= 0; iNdEx-- {
 11727  			{
 11728  				size, err := m.OnSetUpdateCol[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11729  				if err != nil {
 11730  					return 0, err
 11731  				}
 11732  				i -= size
 11733  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11734  			}
 11735  			i--
 11736  			dAtA[i] = 0x5a
 11737  		}
 11738  	}
 11739  	if len(m.OnSetIdx) > 0 {
 11740  		for iNdEx := len(m.OnSetIdx) - 1; iNdEx >= 0; iNdEx-- {
 11741  			{
 11742  				size, err := m.OnSetIdx[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11743  				if err != nil {
 11744  					return 0, err
 11745  				}
 11746  				i -= size
 11747  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11748  			}
 11749  			i--
 11750  			dAtA[i] = 0x52
 11751  		}
 11752  	}
 11753  	if len(m.OnSetDef) > 0 {
 11754  		for iNdEx := len(m.OnSetDef) - 1; iNdEx >= 0; iNdEx-- {
 11755  			{
 11756  				size, err := m.OnSetDef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11757  				if err != nil {
 11758  					return 0, err
 11759  				}
 11760  				i -= size
 11761  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11762  			}
 11763  			i--
 11764  			dAtA[i] = 0x4a
 11765  		}
 11766  	}
 11767  	if len(m.OnSetRef) > 0 {
 11768  		for iNdEx := len(m.OnSetRef) - 1; iNdEx >= 0; iNdEx-- {
 11769  			{
 11770  				size, err := m.OnSetRef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11771  				if err != nil {
 11772  					return 0, err
 11773  				}
 11774  				i -= size
 11775  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11776  			}
 11777  			i--
 11778  			dAtA[i] = 0x42
 11779  		}
 11780  	}
 11781  	if len(m.OnCascadeIdx) > 0 {
 11782  		dAtA75 := make([]byte, len(m.OnCascadeIdx)*10)
 11783  		var j74 int
 11784  		for _, num1 := range m.OnCascadeIdx {
 11785  			num := uint64(num1)
 11786  			for num >= 1<<7 {
 11787  				dAtA75[j74] = uint8(uint64(num)&0x7f | 0x80)
 11788  				num >>= 7
 11789  				j74++
 11790  			}
 11791  			dAtA75[j74] = uint8(num)
 11792  			j74++
 11793  		}
 11794  		i -= j74
 11795  		copy(dAtA[i:], dAtA75[:j74])
 11796  		i = encodeVarintPlan(dAtA, i, uint64(j74))
 11797  		i--
 11798  		dAtA[i] = 0x3a
 11799  	}
 11800  	if len(m.OnCascadeRef) > 0 {
 11801  		for iNdEx := len(m.OnCascadeRef) - 1; iNdEx >= 0; iNdEx-- {
 11802  			{
 11803  				size, err := m.OnCascadeRef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11804  				if err != nil {
 11805  					return 0, err
 11806  				}
 11807  				i -= size
 11808  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11809  			}
 11810  			i--
 11811  			dAtA[i] = 0x32
 11812  		}
 11813  	}
 11814  	if len(m.OnRestrictIdx) > 0 {
 11815  		dAtA77 := make([]byte, len(m.OnRestrictIdx)*10)
 11816  		var j76 int
 11817  		for _, num1 := range m.OnRestrictIdx {
 11818  			num := uint64(num1)
 11819  			for num >= 1<<7 {
 11820  				dAtA77[j76] = uint8(uint64(num)&0x7f | 0x80)
 11821  				num >>= 7
 11822  				j76++
 11823  			}
 11824  			dAtA77[j76] = uint8(num)
 11825  			j76++
 11826  		}
 11827  		i -= j76
 11828  		copy(dAtA[i:], dAtA77[:j76])
 11829  		i = encodeVarintPlan(dAtA, i, uint64(j76))
 11830  		i--
 11831  		dAtA[i] = 0x2a
 11832  	}
 11833  	if len(m.OnRestrictRef) > 0 {
 11834  		for iNdEx := len(m.OnRestrictRef) - 1; iNdEx >= 0; iNdEx-- {
 11835  			{
 11836  				size, err := m.OnRestrictRef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11837  				if err != nil {
 11838  					return 0, err
 11839  				}
 11840  				i -= size
 11841  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11842  			}
 11843  			i--
 11844  			dAtA[i] = 0x22
 11845  		}
 11846  	}
 11847  	if len(m.IdxIdx) > 0 {
 11848  		dAtA79 := make([]byte, len(m.IdxIdx)*10)
 11849  		var j78 int
 11850  		for _, num1 := range m.IdxIdx {
 11851  			num := uint64(num1)
 11852  			for num >= 1<<7 {
 11853  				dAtA79[j78] = uint8(uint64(num)&0x7f | 0x80)
 11854  				num >>= 7
 11855  				j78++
 11856  			}
 11857  			dAtA79[j78] = uint8(num)
 11858  			j78++
 11859  		}
 11860  		i -= j78
 11861  		copy(dAtA[i:], dAtA79[:j78])
 11862  		i = encodeVarintPlan(dAtA, i, uint64(j78))
 11863  		i--
 11864  		dAtA[i] = 0x1a
 11865  	}
 11866  	if len(m.IdxRef) > 0 {
 11867  		for iNdEx := len(m.IdxRef) - 1; iNdEx >= 0; iNdEx-- {
 11868  			{
 11869  				size, err := m.IdxRef[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11870  				if err != nil {
 11871  					return 0, err
 11872  				}
 11873  				i -= size
 11874  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11875  			}
 11876  			i--
 11877  			dAtA[i] = 0x12
 11878  		}
 11879  	}
 11880  	if len(m.Ref) > 0 {
 11881  		for iNdEx := len(m.Ref) - 1; iNdEx >= 0; iNdEx-- {
 11882  			{
 11883  				size, err := m.Ref[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11884  				if err != nil {
 11885  					return 0, err
 11886  				}
 11887  				i -= size
 11888  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11889  			}
 11890  			i--
 11891  			dAtA[i] = 0xa
 11892  		}
 11893  	}
 11894  	return len(dAtA) - i, nil
 11895  }
 11896  
 11897  func (m *Query) Marshal() (dAtA []byte, err error) {
 11898  	size := m.ProtoSize()
 11899  	dAtA = make([]byte, size)
 11900  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 11901  	if err != nil {
 11902  		return nil, err
 11903  	}
 11904  	return dAtA[:n], nil
 11905  }
 11906  
 11907  func (m *Query) MarshalTo(dAtA []byte) (int, error) {
 11908  	size := m.ProtoSize()
 11909  	return m.MarshalToSizedBuffer(dAtA[:size])
 11910  }
 11911  
 11912  func (m *Query) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 11913  	i := len(dAtA)
 11914  	_ = i
 11915  	var l int
 11916  	_ = l
 11917  	if m.XXX_unrecognized != nil {
 11918  		i -= len(m.XXX_unrecognized)
 11919  		copy(dAtA[i:], m.XXX_unrecognized)
 11920  	}
 11921  	if m.LoadTag {
 11922  		i--
 11923  		if m.LoadTag {
 11924  			dAtA[i] = 1
 11925  		} else {
 11926  			dAtA[i] = 0
 11927  		}
 11928  		i--
 11929  		dAtA[i] = 0x30
 11930  	}
 11931  	if len(m.Headings) > 0 {
 11932  		for iNdEx := len(m.Headings) - 1; iNdEx >= 0; iNdEx-- {
 11933  			i -= len(m.Headings[iNdEx])
 11934  			copy(dAtA[i:], m.Headings[iNdEx])
 11935  			i = encodeVarintPlan(dAtA, i, uint64(len(m.Headings[iNdEx])))
 11936  			i--
 11937  			dAtA[i] = 0x2a
 11938  		}
 11939  	}
 11940  	if len(m.Params) > 0 {
 11941  		for iNdEx := len(m.Params) - 1; iNdEx >= 0; iNdEx-- {
 11942  			{
 11943  				size, err := m.Params[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11944  				if err != nil {
 11945  					return 0, err
 11946  				}
 11947  				i -= size
 11948  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11949  			}
 11950  			i--
 11951  			dAtA[i] = 0x22
 11952  		}
 11953  	}
 11954  	if len(m.Nodes) > 0 {
 11955  		for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- {
 11956  			{
 11957  				size, err := m.Nodes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 11958  				if err != nil {
 11959  					return 0, err
 11960  				}
 11961  				i -= size
 11962  				i = encodeVarintPlan(dAtA, i, uint64(size))
 11963  			}
 11964  			i--
 11965  			dAtA[i] = 0x1a
 11966  		}
 11967  	}
 11968  	if len(m.Steps) > 0 {
 11969  		dAtA81 := make([]byte, len(m.Steps)*10)
 11970  		var j80 int
 11971  		for _, num1 := range m.Steps {
 11972  			num := uint64(num1)
 11973  			for num >= 1<<7 {
 11974  				dAtA81[j80] = uint8(uint64(num)&0x7f | 0x80)
 11975  				num >>= 7
 11976  				j80++
 11977  			}
 11978  			dAtA81[j80] = uint8(num)
 11979  			j80++
 11980  		}
 11981  		i -= j80
 11982  		copy(dAtA[i:], dAtA81[:j80])
 11983  		i = encodeVarintPlan(dAtA, i, uint64(j80))
 11984  		i--
 11985  		dAtA[i] = 0x12
 11986  	}
 11987  	if m.StmtType != 0 {
 11988  		i = encodeVarintPlan(dAtA, i, uint64(m.StmtType))
 11989  		i--
 11990  		dAtA[i] = 0x8
 11991  	}
 11992  	return len(dAtA) - i, nil
 11993  }
 11994  
 11995  func (m *TransationControl) Marshal() (dAtA []byte, err error) {
 11996  	size := m.ProtoSize()
 11997  	dAtA = make([]byte, size)
 11998  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 11999  	if err != nil {
 12000  		return nil, err
 12001  	}
 12002  	return dAtA[:n], nil
 12003  }
 12004  
 12005  func (m *TransationControl) MarshalTo(dAtA []byte) (int, error) {
 12006  	size := m.ProtoSize()
 12007  	return m.MarshalToSizedBuffer(dAtA[:size])
 12008  }
 12009  
 12010  func (m *TransationControl) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12011  	i := len(dAtA)
 12012  	_ = i
 12013  	var l int
 12014  	_ = l
 12015  	if m.XXX_unrecognized != nil {
 12016  		i -= len(m.XXX_unrecognized)
 12017  		copy(dAtA[i:], m.XXX_unrecognized)
 12018  	}
 12019  	if m.Action != nil {
 12020  		{
 12021  			size := m.Action.ProtoSize()
 12022  			i -= size
 12023  			if _, err := m.Action.MarshalTo(dAtA[i:]); err != nil {
 12024  				return 0, err
 12025  			}
 12026  		}
 12027  	}
 12028  	if m.TclType != 0 {
 12029  		i = encodeVarintPlan(dAtA, i, uint64(m.TclType))
 12030  		i--
 12031  		dAtA[i] = 0x8
 12032  	}
 12033  	return len(dAtA) - i, nil
 12034  }
 12035  
 12036  func (m *TransationControl_Begin) MarshalTo(dAtA []byte) (int, error) {
 12037  	size := m.ProtoSize()
 12038  	return m.MarshalToSizedBuffer(dAtA[:size])
 12039  }
 12040  
 12041  func (m *TransationControl_Begin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12042  	i := len(dAtA)
 12043  	if m.Begin != nil {
 12044  		{
 12045  			size, err := m.Begin.MarshalToSizedBuffer(dAtA[:i])
 12046  			if err != nil {
 12047  				return 0, err
 12048  			}
 12049  			i -= size
 12050  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12051  		}
 12052  		i--
 12053  		dAtA[i] = 0x12
 12054  	}
 12055  	return len(dAtA) - i, nil
 12056  }
 12057  func (m *TransationControl_Commit) MarshalTo(dAtA []byte) (int, error) {
 12058  	size := m.ProtoSize()
 12059  	return m.MarshalToSizedBuffer(dAtA[:size])
 12060  }
 12061  
 12062  func (m *TransationControl_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12063  	i := len(dAtA)
 12064  	if m.Commit != nil {
 12065  		{
 12066  			size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i])
 12067  			if err != nil {
 12068  				return 0, err
 12069  			}
 12070  			i -= size
 12071  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12072  		}
 12073  		i--
 12074  		dAtA[i] = 0x1a
 12075  	}
 12076  	return len(dAtA) - i, nil
 12077  }
 12078  func (m *TransationControl_Rollback) MarshalTo(dAtA []byte) (int, error) {
 12079  	size := m.ProtoSize()
 12080  	return m.MarshalToSizedBuffer(dAtA[:size])
 12081  }
 12082  
 12083  func (m *TransationControl_Rollback) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12084  	i := len(dAtA)
 12085  	if m.Rollback != nil {
 12086  		{
 12087  			size, err := m.Rollback.MarshalToSizedBuffer(dAtA[:i])
 12088  			if err != nil {
 12089  				return 0, err
 12090  			}
 12091  			i -= size
 12092  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12093  		}
 12094  		i--
 12095  		dAtA[i] = 0x22
 12096  	}
 12097  	return len(dAtA) - i, nil
 12098  }
 12099  func (m *TransationBegin) Marshal() (dAtA []byte, err error) {
 12100  	size := m.ProtoSize()
 12101  	dAtA = make([]byte, size)
 12102  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12103  	if err != nil {
 12104  		return nil, err
 12105  	}
 12106  	return dAtA[:n], nil
 12107  }
 12108  
 12109  func (m *TransationBegin) MarshalTo(dAtA []byte) (int, error) {
 12110  	size := m.ProtoSize()
 12111  	return m.MarshalToSizedBuffer(dAtA[:size])
 12112  }
 12113  
 12114  func (m *TransationBegin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12115  	i := len(dAtA)
 12116  	_ = i
 12117  	var l int
 12118  	_ = l
 12119  	if m.XXX_unrecognized != nil {
 12120  		i -= len(m.XXX_unrecognized)
 12121  		copy(dAtA[i:], m.XXX_unrecognized)
 12122  	}
 12123  	if m.Mode != 0 {
 12124  		i = encodeVarintPlan(dAtA, i, uint64(m.Mode))
 12125  		i--
 12126  		dAtA[i] = 0x8
 12127  	}
 12128  	return len(dAtA) - i, nil
 12129  }
 12130  
 12131  func (m *TransationCommit) Marshal() (dAtA []byte, err error) {
 12132  	size := m.ProtoSize()
 12133  	dAtA = make([]byte, size)
 12134  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12135  	if err != nil {
 12136  		return nil, err
 12137  	}
 12138  	return dAtA[:n], nil
 12139  }
 12140  
 12141  func (m *TransationCommit) MarshalTo(dAtA []byte) (int, error) {
 12142  	size := m.ProtoSize()
 12143  	return m.MarshalToSizedBuffer(dAtA[:size])
 12144  }
 12145  
 12146  func (m *TransationCommit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12147  	i := len(dAtA)
 12148  	_ = i
 12149  	var l int
 12150  	_ = l
 12151  	if m.XXX_unrecognized != nil {
 12152  		i -= len(m.XXX_unrecognized)
 12153  		copy(dAtA[i:], m.XXX_unrecognized)
 12154  	}
 12155  	if m.CompletionType != 0 {
 12156  		i = encodeVarintPlan(dAtA, i, uint64(m.CompletionType))
 12157  		i--
 12158  		dAtA[i] = 0x8
 12159  	}
 12160  	return len(dAtA) - i, nil
 12161  }
 12162  
 12163  func (m *TransationRollback) Marshal() (dAtA []byte, err error) {
 12164  	size := m.ProtoSize()
 12165  	dAtA = make([]byte, size)
 12166  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12167  	if err != nil {
 12168  		return nil, err
 12169  	}
 12170  	return dAtA[:n], nil
 12171  }
 12172  
 12173  func (m *TransationRollback) MarshalTo(dAtA []byte) (int, error) {
 12174  	size := m.ProtoSize()
 12175  	return m.MarshalToSizedBuffer(dAtA[:size])
 12176  }
 12177  
 12178  func (m *TransationRollback) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12179  	i := len(dAtA)
 12180  	_ = i
 12181  	var l int
 12182  	_ = l
 12183  	if m.XXX_unrecognized != nil {
 12184  		i -= len(m.XXX_unrecognized)
 12185  		copy(dAtA[i:], m.XXX_unrecognized)
 12186  	}
 12187  	if m.CompletionType != 0 {
 12188  		i = encodeVarintPlan(dAtA, i, uint64(m.CompletionType))
 12189  		i--
 12190  		dAtA[i] = 0x8
 12191  	}
 12192  	return len(dAtA) - i, nil
 12193  }
 12194  
 12195  func (m *Plan) Marshal() (dAtA []byte, err error) {
 12196  	size := m.ProtoSize()
 12197  	dAtA = make([]byte, size)
 12198  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12199  	if err != nil {
 12200  		return nil, err
 12201  	}
 12202  	return dAtA[:n], nil
 12203  }
 12204  
 12205  func (m *Plan) MarshalTo(dAtA []byte) (int, error) {
 12206  	size := m.ProtoSize()
 12207  	return m.MarshalToSizedBuffer(dAtA[:size])
 12208  }
 12209  
 12210  func (m *Plan) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12211  	i := len(dAtA)
 12212  	_ = i
 12213  	var l int
 12214  	_ = l
 12215  	if m.XXX_unrecognized != nil {
 12216  		i -= len(m.XXX_unrecognized)
 12217  		copy(dAtA[i:], m.XXX_unrecognized)
 12218  	}
 12219  	if m.Plan != nil {
 12220  		{
 12221  			size := m.Plan.ProtoSize()
 12222  			i -= size
 12223  			if _, err := m.Plan.MarshalTo(dAtA[i:]); err != nil {
 12224  				return 0, err
 12225  			}
 12226  		}
 12227  	}
 12228  	return len(dAtA) - i, nil
 12229  }
 12230  
 12231  func (m *Plan_Query) MarshalTo(dAtA []byte) (int, error) {
 12232  	size := m.ProtoSize()
 12233  	return m.MarshalToSizedBuffer(dAtA[:size])
 12234  }
 12235  
 12236  func (m *Plan_Query) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12237  	i := len(dAtA)
 12238  	if m.Query != nil {
 12239  		{
 12240  			size, err := m.Query.MarshalToSizedBuffer(dAtA[:i])
 12241  			if err != nil {
 12242  				return 0, err
 12243  			}
 12244  			i -= size
 12245  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12246  		}
 12247  		i--
 12248  		dAtA[i] = 0xa
 12249  	}
 12250  	return len(dAtA) - i, nil
 12251  }
 12252  func (m *Plan_Tcl) MarshalTo(dAtA []byte) (int, error) {
 12253  	size := m.ProtoSize()
 12254  	return m.MarshalToSizedBuffer(dAtA[:size])
 12255  }
 12256  
 12257  func (m *Plan_Tcl) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12258  	i := len(dAtA)
 12259  	if m.Tcl != nil {
 12260  		{
 12261  			size, err := m.Tcl.MarshalToSizedBuffer(dAtA[:i])
 12262  			if err != nil {
 12263  				return 0, err
 12264  			}
 12265  			i -= size
 12266  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12267  		}
 12268  		i--
 12269  		dAtA[i] = 0x12
 12270  	}
 12271  	return len(dAtA) - i, nil
 12272  }
 12273  func (m *Plan_Ddl) MarshalTo(dAtA []byte) (int, error) {
 12274  	size := m.ProtoSize()
 12275  	return m.MarshalToSizedBuffer(dAtA[:size])
 12276  }
 12277  
 12278  func (m *Plan_Ddl) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12279  	i := len(dAtA)
 12280  	if m.Ddl != nil {
 12281  		{
 12282  			size, err := m.Ddl.MarshalToSizedBuffer(dAtA[:i])
 12283  			if err != nil {
 12284  				return 0, err
 12285  			}
 12286  			i -= size
 12287  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12288  		}
 12289  		i--
 12290  		dAtA[i] = 0x1a
 12291  	}
 12292  	return len(dAtA) - i, nil
 12293  }
 12294  func (m *Plan_Dcl) MarshalTo(dAtA []byte) (int, error) {
 12295  	size := m.ProtoSize()
 12296  	return m.MarshalToSizedBuffer(dAtA[:size])
 12297  }
 12298  
 12299  func (m *Plan_Dcl) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12300  	i := len(dAtA)
 12301  	if m.Dcl != nil {
 12302  		{
 12303  			size, err := m.Dcl.MarshalToSizedBuffer(dAtA[:i])
 12304  			if err != nil {
 12305  				return 0, err
 12306  			}
 12307  			i -= size
 12308  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12309  		}
 12310  		i--
 12311  		dAtA[i] = 0x22
 12312  	}
 12313  	return len(dAtA) - i, nil
 12314  }
 12315  func (m *Column) Marshal() (dAtA []byte, err error) {
 12316  	size := m.ProtoSize()
 12317  	dAtA = make([]byte, size)
 12318  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12319  	if err != nil {
 12320  		return nil, err
 12321  	}
 12322  	return dAtA[:n], nil
 12323  }
 12324  
 12325  func (m *Column) MarshalTo(dAtA []byte) (int, error) {
 12326  	size := m.ProtoSize()
 12327  	return m.MarshalToSizedBuffer(dAtA[:size])
 12328  }
 12329  
 12330  func (m *Column) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12331  	i := len(dAtA)
 12332  	_ = i
 12333  	var l int
 12334  	_ = l
 12335  	if m.XXX_unrecognized != nil {
 12336  		i -= len(m.XXX_unrecognized)
 12337  		copy(dAtA[i:], m.XXX_unrecognized)
 12338  	}
 12339  	if len(m.Column) > 0 {
 12340  		for iNdEx := len(m.Column) - 1; iNdEx >= 0; iNdEx-- {
 12341  			{
 12342  				size, err := m.Column[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 12343  				if err != nil {
 12344  					return 0, err
 12345  				}
 12346  				i -= size
 12347  				i = encodeVarintPlan(dAtA, i, uint64(size))
 12348  			}
 12349  			i--
 12350  			dAtA[i] = 0xa
 12351  		}
 12352  	}
 12353  	return len(dAtA) - i, nil
 12354  }
 12355  
 12356  func (m *DataControl) Marshal() (dAtA []byte, err error) {
 12357  	size := m.ProtoSize()
 12358  	dAtA = make([]byte, size)
 12359  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12360  	if err != nil {
 12361  		return nil, err
 12362  	}
 12363  	return dAtA[:n], nil
 12364  }
 12365  
 12366  func (m *DataControl) MarshalTo(dAtA []byte) (int, error) {
 12367  	size := m.ProtoSize()
 12368  	return m.MarshalToSizedBuffer(dAtA[:size])
 12369  }
 12370  
 12371  func (m *DataControl) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12372  	i := len(dAtA)
 12373  	_ = i
 12374  	var l int
 12375  	_ = l
 12376  	if m.XXX_unrecognized != nil {
 12377  		i -= len(m.XXX_unrecognized)
 12378  		copy(dAtA[i:], m.XXX_unrecognized)
 12379  	}
 12380  	if m.Control != nil {
 12381  		{
 12382  			size := m.Control.ProtoSize()
 12383  			i -= size
 12384  			if _, err := m.Control.MarshalTo(dAtA[i:]); err != nil {
 12385  				return 0, err
 12386  			}
 12387  		}
 12388  	}
 12389  	if m.DclType != 0 {
 12390  		i = encodeVarintPlan(dAtA, i, uint64(m.DclType))
 12391  		i--
 12392  		dAtA[i] = 0x8
 12393  	}
 12394  	return len(dAtA) - i, nil
 12395  }
 12396  
 12397  func (m *DataControl_SetVariables) MarshalTo(dAtA []byte) (int, error) {
 12398  	size := m.ProtoSize()
 12399  	return m.MarshalToSizedBuffer(dAtA[:size])
 12400  }
 12401  
 12402  func (m *DataControl_SetVariables) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12403  	i := len(dAtA)
 12404  	if m.SetVariables != nil {
 12405  		{
 12406  			size, err := m.SetVariables.MarshalToSizedBuffer(dAtA[:i])
 12407  			if err != nil {
 12408  				return 0, err
 12409  			}
 12410  			i -= size
 12411  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12412  		}
 12413  		i--
 12414  		dAtA[i] = 0x12
 12415  	}
 12416  	return len(dAtA) - i, nil
 12417  }
 12418  func (m *DataControl_Prepare) MarshalTo(dAtA []byte) (int, error) {
 12419  	size := m.ProtoSize()
 12420  	return m.MarshalToSizedBuffer(dAtA[:size])
 12421  }
 12422  
 12423  func (m *DataControl_Prepare) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12424  	i := len(dAtA)
 12425  	if m.Prepare != nil {
 12426  		{
 12427  			size, err := m.Prepare.MarshalToSizedBuffer(dAtA[:i])
 12428  			if err != nil {
 12429  				return 0, err
 12430  			}
 12431  			i -= size
 12432  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12433  		}
 12434  		i--
 12435  		dAtA[i] = 0x1a
 12436  	}
 12437  	return len(dAtA) - i, nil
 12438  }
 12439  func (m *DataControl_Execute) MarshalTo(dAtA []byte) (int, error) {
 12440  	size := m.ProtoSize()
 12441  	return m.MarshalToSizedBuffer(dAtA[:size])
 12442  }
 12443  
 12444  func (m *DataControl_Execute) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12445  	i := len(dAtA)
 12446  	if m.Execute != nil {
 12447  		{
 12448  			size, err := m.Execute.MarshalToSizedBuffer(dAtA[:i])
 12449  			if err != nil {
 12450  				return 0, err
 12451  			}
 12452  			i -= size
 12453  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12454  		}
 12455  		i--
 12456  		dAtA[i] = 0x22
 12457  	}
 12458  	return len(dAtA) - i, nil
 12459  }
 12460  func (m *DataControl_Deallocate) MarshalTo(dAtA []byte) (int, error) {
 12461  	size := m.ProtoSize()
 12462  	return m.MarshalToSizedBuffer(dAtA[:size])
 12463  }
 12464  
 12465  func (m *DataControl_Deallocate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12466  	i := len(dAtA)
 12467  	if m.Deallocate != nil {
 12468  		{
 12469  			size, err := m.Deallocate.MarshalToSizedBuffer(dAtA[:i])
 12470  			if err != nil {
 12471  				return 0, err
 12472  			}
 12473  			i -= size
 12474  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12475  		}
 12476  		i--
 12477  		dAtA[i] = 0x2a
 12478  	}
 12479  	return len(dAtA) - i, nil
 12480  }
 12481  func (m *DataDefinition) Marshal() (dAtA []byte, err error) {
 12482  	size := m.ProtoSize()
 12483  	dAtA = make([]byte, size)
 12484  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12485  	if err != nil {
 12486  		return nil, err
 12487  	}
 12488  	return dAtA[:n], nil
 12489  }
 12490  
 12491  func (m *DataDefinition) MarshalTo(dAtA []byte) (int, error) {
 12492  	size := m.ProtoSize()
 12493  	return m.MarshalToSizedBuffer(dAtA[:size])
 12494  }
 12495  
 12496  func (m *DataDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12497  	i := len(dAtA)
 12498  	_ = i
 12499  	var l int
 12500  	_ = l
 12501  	if m.XXX_unrecognized != nil {
 12502  		i -= len(m.XXX_unrecognized)
 12503  		copy(dAtA[i:], m.XXX_unrecognized)
 12504  	}
 12505  	if m.Definition != nil {
 12506  		{
 12507  			size := m.Definition.ProtoSize()
 12508  			i -= size
 12509  			if _, err := m.Definition.MarshalTo(dAtA[i:]); err != nil {
 12510  				return 0, err
 12511  			}
 12512  		}
 12513  	}
 12514  	if m.Query != nil {
 12515  		{
 12516  			size, err := m.Query.MarshalToSizedBuffer(dAtA[:i])
 12517  			if err != nil {
 12518  				return 0, err
 12519  			}
 12520  			i -= size
 12521  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12522  		}
 12523  		i--
 12524  		dAtA[i] = 0x12
 12525  	}
 12526  	if m.DdlType != 0 {
 12527  		i = encodeVarintPlan(dAtA, i, uint64(m.DdlType))
 12528  		i--
 12529  		dAtA[i] = 0x8
 12530  	}
 12531  	return len(dAtA) - i, nil
 12532  }
 12533  
 12534  func (m *DataDefinition_CreateDatabase) MarshalTo(dAtA []byte) (int, error) {
 12535  	size := m.ProtoSize()
 12536  	return m.MarshalToSizedBuffer(dAtA[:size])
 12537  }
 12538  
 12539  func (m *DataDefinition_CreateDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12540  	i := len(dAtA)
 12541  	if m.CreateDatabase != nil {
 12542  		{
 12543  			size, err := m.CreateDatabase.MarshalToSizedBuffer(dAtA[:i])
 12544  			if err != nil {
 12545  				return 0, err
 12546  			}
 12547  			i -= size
 12548  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12549  		}
 12550  		i--
 12551  		dAtA[i] = 0x1a
 12552  	}
 12553  	return len(dAtA) - i, nil
 12554  }
 12555  func (m *DataDefinition_AlterDatabase) MarshalTo(dAtA []byte) (int, error) {
 12556  	size := m.ProtoSize()
 12557  	return m.MarshalToSizedBuffer(dAtA[:size])
 12558  }
 12559  
 12560  func (m *DataDefinition_AlterDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12561  	i := len(dAtA)
 12562  	if m.AlterDatabase != nil {
 12563  		{
 12564  			size, err := m.AlterDatabase.MarshalToSizedBuffer(dAtA[:i])
 12565  			if err != nil {
 12566  				return 0, err
 12567  			}
 12568  			i -= size
 12569  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12570  		}
 12571  		i--
 12572  		dAtA[i] = 0x22
 12573  	}
 12574  	return len(dAtA) - i, nil
 12575  }
 12576  func (m *DataDefinition_DropDatabase) MarshalTo(dAtA []byte) (int, error) {
 12577  	size := m.ProtoSize()
 12578  	return m.MarshalToSizedBuffer(dAtA[:size])
 12579  }
 12580  
 12581  func (m *DataDefinition_DropDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12582  	i := len(dAtA)
 12583  	if m.DropDatabase != nil {
 12584  		{
 12585  			size, err := m.DropDatabase.MarshalToSizedBuffer(dAtA[:i])
 12586  			if err != nil {
 12587  				return 0, err
 12588  			}
 12589  			i -= size
 12590  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12591  		}
 12592  		i--
 12593  		dAtA[i] = 0x2a
 12594  	}
 12595  	return len(dAtA) - i, nil
 12596  }
 12597  func (m *DataDefinition_CreateTable) MarshalTo(dAtA []byte) (int, error) {
 12598  	size := m.ProtoSize()
 12599  	return m.MarshalToSizedBuffer(dAtA[:size])
 12600  }
 12601  
 12602  func (m *DataDefinition_CreateTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12603  	i := len(dAtA)
 12604  	if m.CreateTable != nil {
 12605  		{
 12606  			size, err := m.CreateTable.MarshalToSizedBuffer(dAtA[:i])
 12607  			if err != nil {
 12608  				return 0, err
 12609  			}
 12610  			i -= size
 12611  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12612  		}
 12613  		i--
 12614  		dAtA[i] = 0x32
 12615  	}
 12616  	return len(dAtA) - i, nil
 12617  }
 12618  func (m *DataDefinition_AlterTable) MarshalTo(dAtA []byte) (int, error) {
 12619  	size := m.ProtoSize()
 12620  	return m.MarshalToSizedBuffer(dAtA[:size])
 12621  }
 12622  
 12623  func (m *DataDefinition_AlterTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12624  	i := len(dAtA)
 12625  	if m.AlterTable != nil {
 12626  		{
 12627  			size, err := m.AlterTable.MarshalToSizedBuffer(dAtA[:i])
 12628  			if err != nil {
 12629  				return 0, err
 12630  			}
 12631  			i -= size
 12632  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12633  		}
 12634  		i--
 12635  		dAtA[i] = 0x3a
 12636  	}
 12637  	return len(dAtA) - i, nil
 12638  }
 12639  func (m *DataDefinition_DropTable) MarshalTo(dAtA []byte) (int, error) {
 12640  	size := m.ProtoSize()
 12641  	return m.MarshalToSizedBuffer(dAtA[:size])
 12642  }
 12643  
 12644  func (m *DataDefinition_DropTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12645  	i := len(dAtA)
 12646  	if m.DropTable != nil {
 12647  		{
 12648  			size, err := m.DropTable.MarshalToSizedBuffer(dAtA[:i])
 12649  			if err != nil {
 12650  				return 0, err
 12651  			}
 12652  			i -= size
 12653  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12654  		}
 12655  		i--
 12656  		dAtA[i] = 0x42
 12657  	}
 12658  	return len(dAtA) - i, nil
 12659  }
 12660  func (m *DataDefinition_CreateIndex) MarshalTo(dAtA []byte) (int, error) {
 12661  	size := m.ProtoSize()
 12662  	return m.MarshalToSizedBuffer(dAtA[:size])
 12663  }
 12664  
 12665  func (m *DataDefinition_CreateIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12666  	i := len(dAtA)
 12667  	if m.CreateIndex != nil {
 12668  		{
 12669  			size, err := m.CreateIndex.MarshalToSizedBuffer(dAtA[:i])
 12670  			if err != nil {
 12671  				return 0, err
 12672  			}
 12673  			i -= size
 12674  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12675  		}
 12676  		i--
 12677  		dAtA[i] = 0x4a
 12678  	}
 12679  	return len(dAtA) - i, nil
 12680  }
 12681  func (m *DataDefinition_AlterIndex) MarshalTo(dAtA []byte) (int, error) {
 12682  	size := m.ProtoSize()
 12683  	return m.MarshalToSizedBuffer(dAtA[:size])
 12684  }
 12685  
 12686  func (m *DataDefinition_AlterIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12687  	i := len(dAtA)
 12688  	if m.AlterIndex != nil {
 12689  		{
 12690  			size, err := m.AlterIndex.MarshalToSizedBuffer(dAtA[:i])
 12691  			if err != nil {
 12692  				return 0, err
 12693  			}
 12694  			i -= size
 12695  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12696  		}
 12697  		i--
 12698  		dAtA[i] = 0x52
 12699  	}
 12700  	return len(dAtA) - i, nil
 12701  }
 12702  func (m *DataDefinition_DropIndex) MarshalTo(dAtA []byte) (int, error) {
 12703  	size := m.ProtoSize()
 12704  	return m.MarshalToSizedBuffer(dAtA[:size])
 12705  }
 12706  
 12707  func (m *DataDefinition_DropIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12708  	i := len(dAtA)
 12709  	if m.DropIndex != nil {
 12710  		{
 12711  			size, err := m.DropIndex.MarshalToSizedBuffer(dAtA[:i])
 12712  			if err != nil {
 12713  				return 0, err
 12714  			}
 12715  			i -= size
 12716  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12717  		}
 12718  		i--
 12719  		dAtA[i] = 0x5a
 12720  	}
 12721  	return len(dAtA) - i, nil
 12722  }
 12723  func (m *DataDefinition_TruncateTable) MarshalTo(dAtA []byte) (int, error) {
 12724  	size := m.ProtoSize()
 12725  	return m.MarshalToSizedBuffer(dAtA[:size])
 12726  }
 12727  
 12728  func (m *DataDefinition_TruncateTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12729  	i := len(dAtA)
 12730  	if m.TruncateTable != nil {
 12731  		{
 12732  			size, err := m.TruncateTable.MarshalToSizedBuffer(dAtA[:i])
 12733  			if err != nil {
 12734  				return 0, err
 12735  			}
 12736  			i -= size
 12737  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12738  		}
 12739  		i--
 12740  		dAtA[i] = 0x62
 12741  	}
 12742  	return len(dAtA) - i, nil
 12743  }
 12744  func (m *DataDefinition_ShowVariables) MarshalTo(dAtA []byte) (int, error) {
 12745  	size := m.ProtoSize()
 12746  	return m.MarshalToSizedBuffer(dAtA[:size])
 12747  }
 12748  
 12749  func (m *DataDefinition_ShowVariables) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12750  	i := len(dAtA)
 12751  	if m.ShowVariables != nil {
 12752  		{
 12753  			size, err := m.ShowVariables.MarshalToSizedBuffer(dAtA[:i])
 12754  			if err != nil {
 12755  				return 0, err
 12756  			}
 12757  			i -= size
 12758  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12759  		}
 12760  		i--
 12761  		dAtA[i] = 0x6a
 12762  	}
 12763  	return len(dAtA) - i, nil
 12764  }
 12765  func (m *DataDefinition_AlterView) MarshalTo(dAtA []byte) (int, error) {
 12766  	size := m.ProtoSize()
 12767  	return m.MarshalToSizedBuffer(dAtA[:size])
 12768  }
 12769  
 12770  func (m *DataDefinition_AlterView) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12771  	i := len(dAtA)
 12772  	if m.AlterView != nil {
 12773  		{
 12774  			size, err := m.AlterView.MarshalToSizedBuffer(dAtA[:i])
 12775  			if err != nil {
 12776  				return 0, err
 12777  			}
 12778  			i -= size
 12779  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12780  		}
 12781  		i--
 12782  		dAtA[i] = 0x72
 12783  	}
 12784  	return len(dAtA) - i, nil
 12785  }
 12786  func (m *CreateDatabase) Marshal() (dAtA []byte, err error) {
 12787  	size := m.ProtoSize()
 12788  	dAtA = make([]byte, size)
 12789  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12790  	if err != nil {
 12791  		return nil, err
 12792  	}
 12793  	return dAtA[:n], nil
 12794  }
 12795  
 12796  func (m *CreateDatabase) MarshalTo(dAtA []byte) (int, error) {
 12797  	size := m.ProtoSize()
 12798  	return m.MarshalToSizedBuffer(dAtA[:size])
 12799  }
 12800  
 12801  func (m *CreateDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12802  	i := len(dAtA)
 12803  	_ = i
 12804  	var l int
 12805  	_ = l
 12806  	if m.XXX_unrecognized != nil {
 12807  		i -= len(m.XXX_unrecognized)
 12808  		copy(dAtA[i:], m.XXX_unrecognized)
 12809  	}
 12810  	if len(m.Database) > 0 {
 12811  		i -= len(m.Database)
 12812  		copy(dAtA[i:], m.Database)
 12813  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Database)))
 12814  		i--
 12815  		dAtA[i] = 0x12
 12816  	}
 12817  	if m.IfNotExists {
 12818  		i--
 12819  		if m.IfNotExists {
 12820  			dAtA[i] = 1
 12821  		} else {
 12822  			dAtA[i] = 0
 12823  		}
 12824  		i--
 12825  		dAtA[i] = 0x8
 12826  	}
 12827  	return len(dAtA) - i, nil
 12828  }
 12829  
 12830  func (m *AlterDatabase) Marshal() (dAtA []byte, err error) {
 12831  	size := m.ProtoSize()
 12832  	dAtA = make([]byte, size)
 12833  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12834  	if err != nil {
 12835  		return nil, err
 12836  	}
 12837  	return dAtA[:n], nil
 12838  }
 12839  
 12840  func (m *AlterDatabase) MarshalTo(dAtA []byte) (int, error) {
 12841  	size := m.ProtoSize()
 12842  	return m.MarshalToSizedBuffer(dAtA[:size])
 12843  }
 12844  
 12845  func (m *AlterDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12846  	i := len(dAtA)
 12847  	_ = i
 12848  	var l int
 12849  	_ = l
 12850  	if m.XXX_unrecognized != nil {
 12851  		i -= len(m.XXX_unrecognized)
 12852  		copy(dAtA[i:], m.XXX_unrecognized)
 12853  	}
 12854  	if len(m.Database) > 0 {
 12855  		i -= len(m.Database)
 12856  		copy(dAtA[i:], m.Database)
 12857  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Database)))
 12858  		i--
 12859  		dAtA[i] = 0x12
 12860  	}
 12861  	if m.IfExists {
 12862  		i--
 12863  		if m.IfExists {
 12864  			dAtA[i] = 1
 12865  		} else {
 12866  			dAtA[i] = 0
 12867  		}
 12868  		i--
 12869  		dAtA[i] = 0x8
 12870  	}
 12871  	return len(dAtA) - i, nil
 12872  }
 12873  
 12874  func (m *DropDatabase) Marshal() (dAtA []byte, err error) {
 12875  	size := m.ProtoSize()
 12876  	dAtA = make([]byte, size)
 12877  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12878  	if err != nil {
 12879  		return nil, err
 12880  	}
 12881  	return dAtA[:n], nil
 12882  }
 12883  
 12884  func (m *DropDatabase) MarshalTo(dAtA []byte) (int, error) {
 12885  	size := m.ProtoSize()
 12886  	return m.MarshalToSizedBuffer(dAtA[:size])
 12887  }
 12888  
 12889  func (m *DropDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12890  	i := len(dAtA)
 12891  	_ = i
 12892  	var l int
 12893  	_ = l
 12894  	if m.XXX_unrecognized != nil {
 12895  		i -= len(m.XXX_unrecognized)
 12896  		copy(dAtA[i:], m.XXX_unrecognized)
 12897  	}
 12898  	if len(m.Database) > 0 {
 12899  		i -= len(m.Database)
 12900  		copy(dAtA[i:], m.Database)
 12901  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Database)))
 12902  		i--
 12903  		dAtA[i] = 0x12
 12904  	}
 12905  	if m.IfExists {
 12906  		i--
 12907  		if m.IfExists {
 12908  			dAtA[i] = 1
 12909  		} else {
 12910  			dAtA[i] = 0
 12911  		}
 12912  		i--
 12913  		dAtA[i] = 0x8
 12914  	}
 12915  	return len(dAtA) - i, nil
 12916  }
 12917  
 12918  func (m *CreateTable) Marshal() (dAtA []byte, err error) {
 12919  	size := m.ProtoSize()
 12920  	dAtA = make([]byte, size)
 12921  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 12922  	if err != nil {
 12923  		return nil, err
 12924  	}
 12925  	return dAtA[:n], nil
 12926  }
 12927  
 12928  func (m *CreateTable) MarshalTo(dAtA []byte) (int, error) {
 12929  	size := m.ProtoSize()
 12930  	return m.MarshalToSizedBuffer(dAtA[:size])
 12931  }
 12932  
 12933  func (m *CreateTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 12934  	i := len(dAtA)
 12935  	_ = i
 12936  	var l int
 12937  	_ = l
 12938  	if m.XXX_unrecognized != nil {
 12939  		i -= len(m.XXX_unrecognized)
 12940  		copy(dAtA[i:], m.XXX_unrecognized)
 12941  	}
 12942  	if len(m.FkCols) > 0 {
 12943  		for iNdEx := len(m.FkCols) - 1; iNdEx >= 0; iNdEx-- {
 12944  			{
 12945  				size, err := m.FkCols[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 12946  				if err != nil {
 12947  					return 0, err
 12948  				}
 12949  				i -= size
 12950  				i = encodeVarintPlan(dAtA, i, uint64(size))
 12951  			}
 12952  			i--
 12953  			dAtA[i] = 0x42
 12954  		}
 12955  	}
 12956  	if len(m.FkTables) > 0 {
 12957  		for iNdEx := len(m.FkTables) - 1; iNdEx >= 0; iNdEx-- {
 12958  			i -= len(m.FkTables[iNdEx])
 12959  			copy(dAtA[i:], m.FkTables[iNdEx])
 12960  			i = encodeVarintPlan(dAtA, i, uint64(len(m.FkTables[iNdEx])))
 12961  			i--
 12962  			dAtA[i] = 0x3a
 12963  		}
 12964  	}
 12965  	if len(m.FkDbs) > 0 {
 12966  		for iNdEx := len(m.FkDbs) - 1; iNdEx >= 0; iNdEx-- {
 12967  			i -= len(m.FkDbs[iNdEx])
 12968  			copy(dAtA[i:], m.FkDbs[iNdEx])
 12969  			i = encodeVarintPlan(dAtA, i, uint64(len(m.FkDbs[iNdEx])))
 12970  			i--
 12971  			dAtA[i] = 0x32
 12972  		}
 12973  	}
 12974  	if len(m.IndexTables) > 0 {
 12975  		for iNdEx := len(m.IndexTables) - 1; iNdEx >= 0; iNdEx-- {
 12976  			{
 12977  				size, err := m.IndexTables[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 12978  				if err != nil {
 12979  					return 0, err
 12980  				}
 12981  				i -= size
 12982  				i = encodeVarintPlan(dAtA, i, uint64(size))
 12983  			}
 12984  			i--
 12985  			dAtA[i] = 0x2a
 12986  		}
 12987  	}
 12988  	if m.TableDef != nil {
 12989  		{
 12990  			size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i])
 12991  			if err != nil {
 12992  				return 0, err
 12993  			}
 12994  			i -= size
 12995  			i = encodeVarintPlan(dAtA, i, uint64(size))
 12996  		}
 12997  		i--
 12998  		dAtA[i] = 0x22
 12999  	}
 13000  	if len(m.Database) > 0 {
 13001  		i -= len(m.Database)
 13002  		copy(dAtA[i:], m.Database)
 13003  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Database)))
 13004  		i--
 13005  		dAtA[i] = 0x1a
 13006  	}
 13007  	if m.Temporary {
 13008  		i--
 13009  		if m.Temporary {
 13010  			dAtA[i] = 1
 13011  		} else {
 13012  			dAtA[i] = 0
 13013  		}
 13014  		i--
 13015  		dAtA[i] = 0x10
 13016  	}
 13017  	if m.IfNotExists {
 13018  		i--
 13019  		if m.IfNotExists {
 13020  			dAtA[i] = 1
 13021  		} else {
 13022  			dAtA[i] = 0
 13023  		}
 13024  		i--
 13025  		dAtA[i] = 0x8
 13026  	}
 13027  	return len(dAtA) - i, nil
 13028  }
 13029  
 13030  func (m *CreateTable_FkColName) Marshal() (dAtA []byte, err error) {
 13031  	size := m.ProtoSize()
 13032  	dAtA = make([]byte, size)
 13033  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13034  	if err != nil {
 13035  		return nil, err
 13036  	}
 13037  	return dAtA[:n], nil
 13038  }
 13039  
 13040  func (m *CreateTable_FkColName) MarshalTo(dAtA []byte) (int, error) {
 13041  	size := m.ProtoSize()
 13042  	return m.MarshalToSizedBuffer(dAtA[:size])
 13043  }
 13044  
 13045  func (m *CreateTable_FkColName) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13046  	i := len(dAtA)
 13047  	_ = i
 13048  	var l int
 13049  	_ = l
 13050  	if m.XXX_unrecognized != nil {
 13051  		i -= len(m.XXX_unrecognized)
 13052  		copy(dAtA[i:], m.XXX_unrecognized)
 13053  	}
 13054  	if len(m.Cols) > 0 {
 13055  		for iNdEx := len(m.Cols) - 1; iNdEx >= 0; iNdEx-- {
 13056  			i -= len(m.Cols[iNdEx])
 13057  			copy(dAtA[i:], m.Cols[iNdEx])
 13058  			i = encodeVarintPlan(dAtA, i, uint64(len(m.Cols[iNdEx])))
 13059  			i--
 13060  			dAtA[i] = 0xa
 13061  		}
 13062  	}
 13063  	return len(dAtA) - i, nil
 13064  }
 13065  
 13066  func (m *AlterTable) Marshal() (dAtA []byte, err error) {
 13067  	size := m.ProtoSize()
 13068  	dAtA = make([]byte, size)
 13069  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13070  	if err != nil {
 13071  		return nil, err
 13072  	}
 13073  	return dAtA[:n], nil
 13074  }
 13075  
 13076  func (m *AlterTable) MarshalTo(dAtA []byte) (int, error) {
 13077  	size := m.ProtoSize()
 13078  	return m.MarshalToSizedBuffer(dAtA[:size])
 13079  }
 13080  
 13081  func (m *AlterTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13082  	i := len(dAtA)
 13083  	_ = i
 13084  	var l int
 13085  	_ = l
 13086  	if m.XXX_unrecognized != nil {
 13087  		i -= len(m.XXX_unrecognized)
 13088  		copy(dAtA[i:], m.XXX_unrecognized)
 13089  	}
 13090  	if m.TableDef != nil {
 13091  		{
 13092  			size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i])
 13093  			if err != nil {
 13094  				return 0, err
 13095  			}
 13096  			i -= size
 13097  			i = encodeVarintPlan(dAtA, i, uint64(size))
 13098  		}
 13099  		i--
 13100  		dAtA[i] = 0x12
 13101  	}
 13102  	if len(m.Table) > 0 {
 13103  		i -= len(m.Table)
 13104  		copy(dAtA[i:], m.Table)
 13105  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Table)))
 13106  		i--
 13107  		dAtA[i] = 0xa
 13108  	}
 13109  	return len(dAtA) - i, nil
 13110  }
 13111  
 13112  func (m *AlterView) Marshal() (dAtA []byte, err error) {
 13113  	size := m.ProtoSize()
 13114  	dAtA = make([]byte, size)
 13115  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13116  	if err != nil {
 13117  		return nil, err
 13118  	}
 13119  	return dAtA[:n], nil
 13120  }
 13121  
 13122  func (m *AlterView) MarshalTo(dAtA []byte) (int, error) {
 13123  	size := m.ProtoSize()
 13124  	return m.MarshalToSizedBuffer(dAtA[:size])
 13125  }
 13126  
 13127  func (m *AlterView) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13128  	i := len(dAtA)
 13129  	_ = i
 13130  	var l int
 13131  	_ = l
 13132  	if m.XXX_unrecognized != nil {
 13133  		i -= len(m.XXX_unrecognized)
 13134  		copy(dAtA[i:], m.XXX_unrecognized)
 13135  	}
 13136  	if len(m.IndexTables) > 0 {
 13137  		for iNdEx := len(m.IndexTables) - 1; iNdEx >= 0; iNdEx-- {
 13138  			{
 13139  				size, err := m.IndexTables[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 13140  				if err != nil {
 13141  					return 0, err
 13142  				}
 13143  				i -= size
 13144  				i = encodeVarintPlan(dAtA, i, uint64(size))
 13145  			}
 13146  			i--
 13147  			dAtA[i] = 0x32
 13148  		}
 13149  	}
 13150  	if m.TableDef != nil {
 13151  		{
 13152  			size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i])
 13153  			if err != nil {
 13154  				return 0, err
 13155  			}
 13156  			i -= size
 13157  			i = encodeVarintPlan(dAtA, i, uint64(size))
 13158  		}
 13159  		i--
 13160  		dAtA[i] = 0x2a
 13161  	}
 13162  	if len(m.Table) > 0 {
 13163  		i -= len(m.Table)
 13164  		copy(dAtA[i:], m.Table)
 13165  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Table)))
 13166  		i--
 13167  		dAtA[i] = 0x22
 13168  	}
 13169  	if m.Temporary {
 13170  		i--
 13171  		if m.Temporary {
 13172  			dAtA[i] = 1
 13173  		} else {
 13174  			dAtA[i] = 0
 13175  		}
 13176  		i--
 13177  		dAtA[i] = 0x18
 13178  	}
 13179  	if len(m.Database) > 0 {
 13180  		i -= len(m.Database)
 13181  		copy(dAtA[i:], m.Database)
 13182  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Database)))
 13183  		i--
 13184  		dAtA[i] = 0x12
 13185  	}
 13186  	if m.IfExists {
 13187  		i--
 13188  		if m.IfExists {
 13189  			dAtA[i] = 1
 13190  		} else {
 13191  			dAtA[i] = 0
 13192  		}
 13193  		i--
 13194  		dAtA[i] = 0x8
 13195  	}
 13196  	return len(dAtA) - i, nil
 13197  }
 13198  
 13199  func (m *DropTable) Marshal() (dAtA []byte, err error) {
 13200  	size := m.ProtoSize()
 13201  	dAtA = make([]byte, size)
 13202  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13203  	if err != nil {
 13204  		return nil, err
 13205  	}
 13206  	return dAtA[:n], nil
 13207  }
 13208  
 13209  func (m *DropTable) MarshalTo(dAtA []byte) (int, error) {
 13210  	size := m.ProtoSize()
 13211  	return m.MarshalToSizedBuffer(dAtA[:size])
 13212  }
 13213  
 13214  func (m *DropTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13215  	i := len(dAtA)
 13216  	_ = i
 13217  	var l int
 13218  	_ = l
 13219  	if m.XXX_unrecognized != nil {
 13220  		i -= len(m.XXX_unrecognized)
 13221  		copy(dAtA[i:], m.XXX_unrecognized)
 13222  	}
 13223  	if len(m.ForeignTbl) > 0 {
 13224  		dAtA110 := make([]byte, len(m.ForeignTbl)*10)
 13225  		var j109 int
 13226  		for _, num := range m.ForeignTbl {
 13227  			for num >= 1<<7 {
 13228  				dAtA110[j109] = uint8(uint64(num)&0x7f | 0x80)
 13229  				num >>= 7
 13230  				j109++
 13231  			}
 13232  			dAtA110[j109] = uint8(num)
 13233  			j109++
 13234  		}
 13235  		i -= j109
 13236  		copy(dAtA[i:], dAtA110[:j109])
 13237  		i = encodeVarintPlan(dAtA, i, uint64(j109))
 13238  		i--
 13239  		dAtA[i] = 0x3a
 13240  	}
 13241  	if m.TableId != 0 {
 13242  		i = encodeVarintPlan(dAtA, i, uint64(m.TableId))
 13243  		i--
 13244  		dAtA[i] = 0x30
 13245  	}
 13246  	if m.ClusterTable != nil {
 13247  		{
 13248  			size, err := m.ClusterTable.MarshalToSizedBuffer(dAtA[:i])
 13249  			if err != nil {
 13250  				return 0, err
 13251  			}
 13252  			i -= size
 13253  			i = encodeVarintPlan(dAtA, i, uint64(size))
 13254  		}
 13255  		i--
 13256  		dAtA[i] = 0x2a
 13257  	}
 13258  	if len(m.IndexTableNames) > 0 {
 13259  		for iNdEx := len(m.IndexTableNames) - 1; iNdEx >= 0; iNdEx-- {
 13260  			i -= len(m.IndexTableNames[iNdEx])
 13261  			copy(dAtA[i:], m.IndexTableNames[iNdEx])
 13262  			i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableNames[iNdEx])))
 13263  			i--
 13264  			dAtA[i] = 0x22
 13265  		}
 13266  	}
 13267  	if len(m.Table) > 0 {
 13268  		i -= len(m.Table)
 13269  		copy(dAtA[i:], m.Table)
 13270  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Table)))
 13271  		i--
 13272  		dAtA[i] = 0x1a
 13273  	}
 13274  	if len(m.Database) > 0 {
 13275  		i -= len(m.Database)
 13276  		copy(dAtA[i:], m.Database)
 13277  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Database)))
 13278  		i--
 13279  		dAtA[i] = 0x12
 13280  	}
 13281  	if m.IfExists {
 13282  		i--
 13283  		if m.IfExists {
 13284  			dAtA[i] = 1
 13285  		} else {
 13286  			dAtA[i] = 0
 13287  		}
 13288  		i--
 13289  		dAtA[i] = 0x8
 13290  	}
 13291  	return len(dAtA) - i, nil
 13292  }
 13293  
 13294  func (m *CreateIndex) Marshal() (dAtA []byte, err error) {
 13295  	size := m.ProtoSize()
 13296  	dAtA = make([]byte, size)
 13297  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13298  	if err != nil {
 13299  		return nil, err
 13300  	}
 13301  	return dAtA[:n], nil
 13302  }
 13303  
 13304  func (m *CreateIndex) MarshalTo(dAtA []byte) (int, error) {
 13305  	size := m.ProtoSize()
 13306  	return m.MarshalToSizedBuffer(dAtA[:size])
 13307  }
 13308  
 13309  func (m *CreateIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13310  	i := len(dAtA)
 13311  	_ = i
 13312  	var l int
 13313  	_ = l
 13314  	if m.XXX_unrecognized != nil {
 13315  		i -= len(m.XXX_unrecognized)
 13316  		copy(dAtA[i:], m.XXX_unrecognized)
 13317  	}
 13318  	if m.TableExist {
 13319  		i--
 13320  		if m.TableExist {
 13321  			dAtA[i] = 1
 13322  		} else {
 13323  			dAtA[i] = 0
 13324  		}
 13325  		i--
 13326  		dAtA[i] = 0x28
 13327  	}
 13328  	if m.Index != nil {
 13329  		{
 13330  			size, err := m.Index.MarshalToSizedBuffer(dAtA[:i])
 13331  			if err != nil {
 13332  				return 0, err
 13333  			}
 13334  			i -= size
 13335  			i = encodeVarintPlan(dAtA, i, uint64(size))
 13336  		}
 13337  		i--
 13338  		dAtA[i] = 0x22
 13339  	}
 13340  	if len(m.OriginTablePrimaryKey) > 0 {
 13341  		i -= len(m.OriginTablePrimaryKey)
 13342  		copy(dAtA[i:], m.OriginTablePrimaryKey)
 13343  		i = encodeVarintPlan(dAtA, i, uint64(len(m.OriginTablePrimaryKey)))
 13344  		i--
 13345  		dAtA[i] = 0x1a
 13346  	}
 13347  	if len(m.Table) > 0 {
 13348  		i -= len(m.Table)
 13349  		copy(dAtA[i:], m.Table)
 13350  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Table)))
 13351  		i--
 13352  		dAtA[i] = 0x12
 13353  	}
 13354  	if len(m.Database) > 0 {
 13355  		i -= len(m.Database)
 13356  		copy(dAtA[i:], m.Database)
 13357  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Database)))
 13358  		i--
 13359  		dAtA[i] = 0xa
 13360  	}
 13361  	return len(dAtA) - i, nil
 13362  }
 13363  
 13364  func (m *AlterIndex) Marshal() (dAtA []byte, err error) {
 13365  	size := m.ProtoSize()
 13366  	dAtA = make([]byte, size)
 13367  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13368  	if err != nil {
 13369  		return nil, err
 13370  	}
 13371  	return dAtA[:n], nil
 13372  }
 13373  
 13374  func (m *AlterIndex) MarshalTo(dAtA []byte) (int, error) {
 13375  	size := m.ProtoSize()
 13376  	return m.MarshalToSizedBuffer(dAtA[:size])
 13377  }
 13378  
 13379  func (m *AlterIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13380  	i := len(dAtA)
 13381  	_ = i
 13382  	var l int
 13383  	_ = l
 13384  	if m.XXX_unrecognized != nil {
 13385  		i -= len(m.XXX_unrecognized)
 13386  		copy(dAtA[i:], m.XXX_unrecognized)
 13387  	}
 13388  	if len(m.Index) > 0 {
 13389  		i -= len(m.Index)
 13390  		copy(dAtA[i:], m.Index)
 13391  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Index)))
 13392  		i--
 13393  		dAtA[i] = 0xa
 13394  	}
 13395  	return len(dAtA) - i, nil
 13396  }
 13397  
 13398  func (m *DropIndex) Marshal() (dAtA []byte, err error) {
 13399  	size := m.ProtoSize()
 13400  	dAtA = make([]byte, size)
 13401  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13402  	if err != nil {
 13403  		return nil, err
 13404  	}
 13405  	return dAtA[:n], nil
 13406  }
 13407  
 13408  func (m *DropIndex) MarshalTo(dAtA []byte) (int, error) {
 13409  	size := m.ProtoSize()
 13410  	return m.MarshalToSizedBuffer(dAtA[:size])
 13411  }
 13412  
 13413  func (m *DropIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13414  	i := len(dAtA)
 13415  	_ = i
 13416  	var l int
 13417  	_ = l
 13418  	if m.XXX_unrecognized != nil {
 13419  		i -= len(m.XXX_unrecognized)
 13420  		copy(dAtA[i:], m.XXX_unrecognized)
 13421  	}
 13422  	if len(m.IndexTableName) > 0 {
 13423  		i -= len(m.IndexTableName)
 13424  		copy(dAtA[i:], m.IndexTableName)
 13425  		i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableName)))
 13426  		i--
 13427  		dAtA[i] = 0x22
 13428  	}
 13429  	if len(m.IndexName) > 0 {
 13430  		i -= len(m.IndexName)
 13431  		copy(dAtA[i:], m.IndexName)
 13432  		i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexName)))
 13433  		i--
 13434  		dAtA[i] = 0x1a
 13435  	}
 13436  	if len(m.Table) > 0 {
 13437  		i -= len(m.Table)
 13438  		copy(dAtA[i:], m.Table)
 13439  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Table)))
 13440  		i--
 13441  		dAtA[i] = 0x12
 13442  	}
 13443  	if len(m.Database) > 0 {
 13444  		i -= len(m.Database)
 13445  		copy(dAtA[i:], m.Database)
 13446  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Database)))
 13447  		i--
 13448  		dAtA[i] = 0xa
 13449  	}
 13450  	return len(dAtA) - i, nil
 13451  }
 13452  
 13453  func (m *TruncateTable) Marshal() (dAtA []byte, err error) {
 13454  	size := m.ProtoSize()
 13455  	dAtA = make([]byte, size)
 13456  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13457  	if err != nil {
 13458  		return nil, err
 13459  	}
 13460  	return dAtA[:n], nil
 13461  }
 13462  
 13463  func (m *TruncateTable) MarshalTo(dAtA []byte) (int, error) {
 13464  	size := m.ProtoSize()
 13465  	return m.MarshalToSizedBuffer(dAtA[:size])
 13466  }
 13467  
 13468  func (m *TruncateTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13469  	i := len(dAtA)
 13470  	_ = i
 13471  	var l int
 13472  	_ = l
 13473  	if m.XXX_unrecognized != nil {
 13474  		i -= len(m.XXX_unrecognized)
 13475  		copy(dAtA[i:], m.XXX_unrecognized)
 13476  	}
 13477  	if len(m.ForeignTbl) > 0 {
 13478  		dAtA114 := make([]byte, len(m.ForeignTbl)*10)
 13479  		var j113 int
 13480  		for _, num := range m.ForeignTbl {
 13481  			for num >= 1<<7 {
 13482  				dAtA114[j113] = uint8(uint64(num)&0x7f | 0x80)
 13483  				num >>= 7
 13484  				j113++
 13485  			}
 13486  			dAtA114[j113] = uint8(num)
 13487  			j113++
 13488  		}
 13489  		i -= j113
 13490  		copy(dAtA[i:], dAtA114[:j113])
 13491  		i = encodeVarintPlan(dAtA, i, uint64(j113))
 13492  		i--
 13493  		dAtA[i] = 0x32
 13494  	}
 13495  	if m.TableId != 0 {
 13496  		i = encodeVarintPlan(dAtA, i, uint64(m.TableId))
 13497  		i--
 13498  		dAtA[i] = 0x28
 13499  	}
 13500  	if m.ClusterTable != nil {
 13501  		{
 13502  			size, err := m.ClusterTable.MarshalToSizedBuffer(dAtA[:i])
 13503  			if err != nil {
 13504  				return 0, err
 13505  			}
 13506  			i -= size
 13507  			i = encodeVarintPlan(dAtA, i, uint64(size))
 13508  		}
 13509  		i--
 13510  		dAtA[i] = 0x22
 13511  	}
 13512  	if len(m.IndexTableNames) > 0 {
 13513  		for iNdEx := len(m.IndexTableNames) - 1; iNdEx >= 0; iNdEx-- {
 13514  			i -= len(m.IndexTableNames[iNdEx])
 13515  			copy(dAtA[i:], m.IndexTableNames[iNdEx])
 13516  			i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableNames[iNdEx])))
 13517  			i--
 13518  			dAtA[i] = 0x1a
 13519  		}
 13520  	}
 13521  	if len(m.Table) > 0 {
 13522  		i -= len(m.Table)
 13523  		copy(dAtA[i:], m.Table)
 13524  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Table)))
 13525  		i--
 13526  		dAtA[i] = 0x12
 13527  	}
 13528  	if len(m.Database) > 0 {
 13529  		i -= len(m.Database)
 13530  		copy(dAtA[i:], m.Database)
 13531  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Database)))
 13532  		i--
 13533  		dAtA[i] = 0xa
 13534  	}
 13535  	return len(dAtA) - i, nil
 13536  }
 13537  
 13538  func (m *ClusterTable) Marshal() (dAtA []byte, err error) {
 13539  	size := m.ProtoSize()
 13540  	dAtA = make([]byte, size)
 13541  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13542  	if err != nil {
 13543  		return nil, err
 13544  	}
 13545  	return dAtA[:n], nil
 13546  }
 13547  
 13548  func (m *ClusterTable) MarshalTo(dAtA []byte) (int, error) {
 13549  	size := m.ProtoSize()
 13550  	return m.MarshalToSizedBuffer(dAtA[:size])
 13551  }
 13552  
 13553  func (m *ClusterTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13554  	i := len(dAtA)
 13555  	_ = i
 13556  	var l int
 13557  	_ = l
 13558  	if m.XXX_unrecognized != nil {
 13559  		i -= len(m.XXX_unrecognized)
 13560  		copy(dAtA[i:], m.XXX_unrecognized)
 13561  	}
 13562  	if m.ColumnIndexOfAccountId != 0 {
 13563  		i = encodeVarintPlan(dAtA, i, uint64(m.ColumnIndexOfAccountId))
 13564  		i--
 13565  		dAtA[i] = 0x18
 13566  	}
 13567  	if len(m.AccountIDs) > 0 {
 13568  		dAtA117 := make([]byte, len(m.AccountIDs)*10)
 13569  		var j116 int
 13570  		for _, num := range m.AccountIDs {
 13571  			for num >= 1<<7 {
 13572  				dAtA117[j116] = uint8(uint64(num)&0x7f | 0x80)
 13573  				num >>= 7
 13574  				j116++
 13575  			}
 13576  			dAtA117[j116] = uint8(num)
 13577  			j116++
 13578  		}
 13579  		i -= j116
 13580  		copy(dAtA[i:], dAtA117[:j116])
 13581  		i = encodeVarintPlan(dAtA, i, uint64(j116))
 13582  		i--
 13583  		dAtA[i] = 0x12
 13584  	}
 13585  	if m.IsClusterTable {
 13586  		i--
 13587  		if m.IsClusterTable {
 13588  			dAtA[i] = 1
 13589  		} else {
 13590  			dAtA[i] = 0
 13591  		}
 13592  		i--
 13593  		dAtA[i] = 0x8
 13594  	}
 13595  	return len(dAtA) - i, nil
 13596  }
 13597  
 13598  func (m *ShowVariables) Marshal() (dAtA []byte, err error) {
 13599  	size := m.ProtoSize()
 13600  	dAtA = make([]byte, size)
 13601  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13602  	if err != nil {
 13603  		return nil, err
 13604  	}
 13605  	return dAtA[:n], nil
 13606  }
 13607  
 13608  func (m *ShowVariables) MarshalTo(dAtA []byte) (int, error) {
 13609  	size := m.ProtoSize()
 13610  	return m.MarshalToSizedBuffer(dAtA[:size])
 13611  }
 13612  
 13613  func (m *ShowVariables) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13614  	i := len(dAtA)
 13615  	_ = i
 13616  	var l int
 13617  	_ = l
 13618  	if m.XXX_unrecognized != nil {
 13619  		i -= len(m.XXX_unrecognized)
 13620  		copy(dAtA[i:], m.XXX_unrecognized)
 13621  	}
 13622  	if len(m.Where) > 0 {
 13623  		for iNdEx := len(m.Where) - 1; iNdEx >= 0; iNdEx-- {
 13624  			{
 13625  				size, err := m.Where[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 13626  				if err != nil {
 13627  					return 0, err
 13628  				}
 13629  				i -= size
 13630  				i = encodeVarintPlan(dAtA, i, uint64(size))
 13631  			}
 13632  			i--
 13633  			dAtA[i] = 0x12
 13634  		}
 13635  	}
 13636  	if m.Global {
 13637  		i--
 13638  		if m.Global {
 13639  			dAtA[i] = 1
 13640  		} else {
 13641  			dAtA[i] = 0
 13642  		}
 13643  		i--
 13644  		dAtA[i] = 0x8
 13645  	}
 13646  	return len(dAtA) - i, nil
 13647  }
 13648  
 13649  func (m *SetVariables) Marshal() (dAtA []byte, err error) {
 13650  	size := m.ProtoSize()
 13651  	dAtA = make([]byte, size)
 13652  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13653  	if err != nil {
 13654  		return nil, err
 13655  	}
 13656  	return dAtA[:n], nil
 13657  }
 13658  
 13659  func (m *SetVariables) MarshalTo(dAtA []byte) (int, error) {
 13660  	size := m.ProtoSize()
 13661  	return m.MarshalToSizedBuffer(dAtA[:size])
 13662  }
 13663  
 13664  func (m *SetVariables) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13665  	i := len(dAtA)
 13666  	_ = i
 13667  	var l int
 13668  	_ = l
 13669  	if m.XXX_unrecognized != nil {
 13670  		i -= len(m.XXX_unrecognized)
 13671  		copy(dAtA[i:], m.XXX_unrecognized)
 13672  	}
 13673  	if len(m.Items) > 0 {
 13674  		for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
 13675  			{
 13676  				size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 13677  				if err != nil {
 13678  					return 0, err
 13679  				}
 13680  				i -= size
 13681  				i = encodeVarintPlan(dAtA, i, uint64(size))
 13682  			}
 13683  			i--
 13684  			dAtA[i] = 0xa
 13685  		}
 13686  	}
 13687  	return len(dAtA) - i, nil
 13688  }
 13689  
 13690  func (m *SetVariablesItem) Marshal() (dAtA []byte, err error) {
 13691  	size := m.ProtoSize()
 13692  	dAtA = make([]byte, size)
 13693  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13694  	if err != nil {
 13695  		return nil, err
 13696  	}
 13697  	return dAtA[:n], nil
 13698  }
 13699  
 13700  func (m *SetVariablesItem) MarshalTo(dAtA []byte) (int, error) {
 13701  	size := m.ProtoSize()
 13702  	return m.MarshalToSizedBuffer(dAtA[:size])
 13703  }
 13704  
 13705  func (m *SetVariablesItem) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13706  	i := len(dAtA)
 13707  	_ = i
 13708  	var l int
 13709  	_ = l
 13710  	if m.XXX_unrecognized != nil {
 13711  		i -= len(m.XXX_unrecognized)
 13712  		copy(dAtA[i:], m.XXX_unrecognized)
 13713  	}
 13714  	if m.Reserved != nil {
 13715  		{
 13716  			size, err := m.Reserved.MarshalToSizedBuffer(dAtA[:i])
 13717  			if err != nil {
 13718  				return 0, err
 13719  			}
 13720  			i -= size
 13721  			i = encodeVarintPlan(dAtA, i, uint64(size))
 13722  		}
 13723  		i--
 13724  		dAtA[i] = 0x2a
 13725  	}
 13726  	if m.Value != nil {
 13727  		{
 13728  			size, err := m.Value.MarshalToSizedBuffer(dAtA[:i])
 13729  			if err != nil {
 13730  				return 0, err
 13731  			}
 13732  			i -= size
 13733  			i = encodeVarintPlan(dAtA, i, uint64(size))
 13734  		}
 13735  		i--
 13736  		dAtA[i] = 0x22
 13737  	}
 13738  	if len(m.Name) > 0 {
 13739  		i -= len(m.Name)
 13740  		copy(dAtA[i:], m.Name)
 13741  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
 13742  		i--
 13743  		dAtA[i] = 0x1a
 13744  	}
 13745  	if m.Global {
 13746  		i--
 13747  		if m.Global {
 13748  			dAtA[i] = 1
 13749  		} else {
 13750  			dAtA[i] = 0
 13751  		}
 13752  		i--
 13753  		dAtA[i] = 0x10
 13754  	}
 13755  	if m.System {
 13756  		i--
 13757  		if m.System {
 13758  			dAtA[i] = 1
 13759  		} else {
 13760  			dAtA[i] = 0
 13761  		}
 13762  		i--
 13763  		dAtA[i] = 0x8
 13764  	}
 13765  	return len(dAtA) - i, nil
 13766  }
 13767  
 13768  func (m *Prepare) Marshal() (dAtA []byte, err error) {
 13769  	size := m.ProtoSize()
 13770  	dAtA = make([]byte, size)
 13771  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13772  	if err != nil {
 13773  		return nil, err
 13774  	}
 13775  	return dAtA[:n], nil
 13776  }
 13777  
 13778  func (m *Prepare) MarshalTo(dAtA []byte) (int, error) {
 13779  	size := m.ProtoSize()
 13780  	return m.MarshalToSizedBuffer(dAtA[:size])
 13781  }
 13782  
 13783  func (m *Prepare) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13784  	i := len(dAtA)
 13785  	_ = i
 13786  	var l int
 13787  	_ = l
 13788  	if m.XXX_unrecognized != nil {
 13789  		i -= len(m.XXX_unrecognized)
 13790  		copy(dAtA[i:], m.XXX_unrecognized)
 13791  	}
 13792  	if len(m.ParamTypes) > 0 {
 13793  		dAtA121 := make([]byte, len(m.ParamTypes)*10)
 13794  		var j120 int
 13795  		for _, num1 := range m.ParamTypes {
 13796  			num := uint64(num1)
 13797  			for num >= 1<<7 {
 13798  				dAtA121[j120] = uint8(uint64(num)&0x7f | 0x80)
 13799  				num >>= 7
 13800  				j120++
 13801  			}
 13802  			dAtA121[j120] = uint8(num)
 13803  			j120++
 13804  		}
 13805  		i -= j120
 13806  		copy(dAtA[i:], dAtA121[:j120])
 13807  		i = encodeVarintPlan(dAtA, i, uint64(j120))
 13808  		i--
 13809  		dAtA[i] = 0x22
 13810  	}
 13811  	if m.Plan != nil {
 13812  		{
 13813  			size, err := m.Plan.MarshalToSizedBuffer(dAtA[:i])
 13814  			if err != nil {
 13815  				return 0, err
 13816  			}
 13817  			i -= size
 13818  			i = encodeVarintPlan(dAtA, i, uint64(size))
 13819  		}
 13820  		i--
 13821  		dAtA[i] = 0x1a
 13822  	}
 13823  	if len(m.Schemas) > 0 {
 13824  		for iNdEx := len(m.Schemas) - 1; iNdEx >= 0; iNdEx-- {
 13825  			{
 13826  				size, err := m.Schemas[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 13827  				if err != nil {
 13828  					return 0, err
 13829  				}
 13830  				i -= size
 13831  				i = encodeVarintPlan(dAtA, i, uint64(size))
 13832  			}
 13833  			i--
 13834  			dAtA[i] = 0x12
 13835  		}
 13836  	}
 13837  	if len(m.Name) > 0 {
 13838  		i -= len(m.Name)
 13839  		copy(dAtA[i:], m.Name)
 13840  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
 13841  		i--
 13842  		dAtA[i] = 0xa
 13843  	}
 13844  	return len(dAtA) - i, nil
 13845  }
 13846  
 13847  func (m *Execute) Marshal() (dAtA []byte, err error) {
 13848  	size := m.ProtoSize()
 13849  	dAtA = make([]byte, size)
 13850  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13851  	if err != nil {
 13852  		return nil, err
 13853  	}
 13854  	return dAtA[:n], nil
 13855  }
 13856  
 13857  func (m *Execute) MarshalTo(dAtA []byte) (int, error) {
 13858  	size := m.ProtoSize()
 13859  	return m.MarshalToSizedBuffer(dAtA[:size])
 13860  }
 13861  
 13862  func (m *Execute) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13863  	i := len(dAtA)
 13864  	_ = i
 13865  	var l int
 13866  	_ = l
 13867  	if m.XXX_unrecognized != nil {
 13868  		i -= len(m.XXX_unrecognized)
 13869  		copy(dAtA[i:], m.XXX_unrecognized)
 13870  	}
 13871  	if len(m.Args) > 0 {
 13872  		for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
 13873  			{
 13874  				size, err := m.Args[iNdEx].MarshalToSizedBuffer(dAtA[:i])
 13875  				if err != nil {
 13876  					return 0, err
 13877  				}
 13878  				i -= size
 13879  				i = encodeVarintPlan(dAtA, i, uint64(size))
 13880  			}
 13881  			i--
 13882  			dAtA[i] = 0x12
 13883  		}
 13884  	}
 13885  	if len(m.Name) > 0 {
 13886  		i -= len(m.Name)
 13887  		copy(dAtA[i:], m.Name)
 13888  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
 13889  		i--
 13890  		dAtA[i] = 0xa
 13891  	}
 13892  	return len(dAtA) - i, nil
 13893  }
 13894  
 13895  func (m *Deallocate) Marshal() (dAtA []byte, err error) {
 13896  	size := m.ProtoSize()
 13897  	dAtA = make([]byte, size)
 13898  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
 13899  	if err != nil {
 13900  		return nil, err
 13901  	}
 13902  	return dAtA[:n], nil
 13903  }
 13904  
 13905  func (m *Deallocate) MarshalTo(dAtA []byte) (int, error) {
 13906  	size := m.ProtoSize()
 13907  	return m.MarshalToSizedBuffer(dAtA[:size])
 13908  }
 13909  
 13910  func (m *Deallocate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
 13911  	i := len(dAtA)
 13912  	_ = i
 13913  	var l int
 13914  	_ = l
 13915  	if m.XXX_unrecognized != nil {
 13916  		i -= len(m.XXX_unrecognized)
 13917  		copy(dAtA[i:], m.XXX_unrecognized)
 13918  	}
 13919  	if len(m.Name) > 0 {
 13920  		i -= len(m.Name)
 13921  		copy(dAtA[i:], m.Name)
 13922  		i = encodeVarintPlan(dAtA, i, uint64(len(m.Name)))
 13923  		i--
 13924  		dAtA[i] = 0xa
 13925  	}
 13926  	return len(dAtA) - i, nil
 13927  }
 13928  
 13929  func encodeVarintPlan(dAtA []byte, offset int, v uint64) int {
 13930  	offset -= sovPlan(v)
 13931  	base := offset
 13932  	for v >= 1<<7 {
 13933  		dAtA[offset] = uint8(v&0x7f | 0x80)
 13934  		v >>= 7
 13935  		offset++
 13936  	}
 13937  	dAtA[offset] = uint8(v)
 13938  	return base
 13939  }
 13940  func (m *Type) ProtoSize() (n int) {
 13941  	if m == nil {
 13942  		return 0
 13943  	}
 13944  	var l int
 13945  	_ = l
 13946  	if m.Id != 0 {
 13947  		n += 1 + sovPlan(uint64(m.Id))
 13948  	}
 13949  	if m.NotNullable {
 13950  		n += 2
 13951  	}
 13952  	if m.AutoIncr {
 13953  		n += 2
 13954  	}
 13955  	if m.Width != 0 {
 13956  		n += 1 + sovPlan(uint64(m.Width))
 13957  	}
 13958  	if m.Precision != 0 {
 13959  		n += 1 + sovPlan(uint64(m.Precision))
 13960  	}
 13961  	if m.Size != 0 {
 13962  		n += 1 + sovPlan(uint64(m.Size))
 13963  	}
 13964  	if m.Scale != 0 {
 13965  		n += 1 + sovPlan(uint64(m.Scale))
 13966  	}
 13967  	l = len(m.Table)
 13968  	if l > 0 {
 13969  		n += 1 + l + sovPlan(uint64(l))
 13970  	}
 13971  	if m.XXX_unrecognized != nil {
 13972  		n += len(m.XXX_unrecognized)
 13973  	}
 13974  	return n
 13975  }
 13976  
 13977  func (m *Const) ProtoSize() (n int) {
 13978  	if m == nil {
 13979  		return 0
 13980  	}
 13981  	var l int
 13982  	_ = l
 13983  	if m.Isnull {
 13984  		n += 2
 13985  	}
 13986  	if m.Value != nil {
 13987  		n += m.Value.ProtoSize()
 13988  	}
 13989  	if m.IsBin {
 13990  		n += 3
 13991  	}
 13992  	if m.Src != nil {
 13993  		l = m.Src.ProtoSize()
 13994  		n += 2 + l + sovPlan(uint64(l))
 13995  	}
 13996  	if m.XXX_unrecognized != nil {
 13997  		n += len(m.XXX_unrecognized)
 13998  	}
 13999  	return n
 14000  }
 14001  
 14002  func (m *Const_I8Val) ProtoSize() (n int) {
 14003  	if m == nil {
 14004  		return 0
 14005  	}
 14006  	var l int
 14007  	_ = l
 14008  	n += 1 + sovPlan(uint64(m.I8Val))
 14009  	return n
 14010  }
 14011  func (m *Const_I16Val) ProtoSize() (n int) {
 14012  	if m == nil {
 14013  		return 0
 14014  	}
 14015  	var l int
 14016  	_ = l
 14017  	n += 1 + sovPlan(uint64(m.I16Val))
 14018  	return n
 14019  }
 14020  func (m *Const_I32Val) ProtoSize() (n int) {
 14021  	if m == nil {
 14022  		return 0
 14023  	}
 14024  	var l int
 14025  	_ = l
 14026  	n += 1 + sovPlan(uint64(m.I32Val))
 14027  	return n
 14028  }
 14029  func (m *Const_I64Val) ProtoSize() (n int) {
 14030  	if m == nil {
 14031  		return 0
 14032  	}
 14033  	var l int
 14034  	_ = l
 14035  	n += 1 + sovPlan(uint64(m.I64Val))
 14036  	return n
 14037  }
 14038  func (m *Const_U8Val) ProtoSize() (n int) {
 14039  	if m == nil {
 14040  		return 0
 14041  	}
 14042  	var l int
 14043  	_ = l
 14044  	n += 1 + sovPlan(uint64(m.U8Val))
 14045  	return n
 14046  }
 14047  func (m *Const_U16Val) ProtoSize() (n int) {
 14048  	if m == nil {
 14049  		return 0
 14050  	}
 14051  	var l int
 14052  	_ = l
 14053  	n += 1 + sovPlan(uint64(m.U16Val))
 14054  	return n
 14055  }
 14056  func (m *Const_U32Val) ProtoSize() (n int) {
 14057  	if m == nil {
 14058  		return 0
 14059  	}
 14060  	var l int
 14061  	_ = l
 14062  	n += 1 + sovPlan(uint64(m.U32Val))
 14063  	return n
 14064  }
 14065  func (m *Const_U64Val) ProtoSize() (n int) {
 14066  	if m == nil {
 14067  		return 0
 14068  	}
 14069  	var l int
 14070  	_ = l
 14071  	n += 1 + sovPlan(uint64(m.U64Val))
 14072  	return n
 14073  }
 14074  func (m *Const_Dval) ProtoSize() (n int) {
 14075  	if m == nil {
 14076  		return 0
 14077  	}
 14078  	var l int
 14079  	_ = l
 14080  	n += 9
 14081  	return n
 14082  }
 14083  func (m *Const_Sval) ProtoSize() (n int) {
 14084  	if m == nil {
 14085  		return 0
 14086  	}
 14087  	var l int
 14088  	_ = l
 14089  	l = len(m.Sval)
 14090  	n += 1 + l + sovPlan(uint64(l))
 14091  	return n
 14092  }
 14093  func (m *Const_Bval) ProtoSize() (n int) {
 14094  	if m == nil {
 14095  		return 0
 14096  	}
 14097  	var l int
 14098  	_ = l
 14099  	n += 2
 14100  	return n
 14101  }
 14102  func (m *Const_Fval) ProtoSize() (n int) {
 14103  	if m == nil {
 14104  		return 0
 14105  	}
 14106  	var l int
 14107  	_ = l
 14108  	n += 5
 14109  	return n
 14110  }
 14111  func (m *Const_Dateval) ProtoSize() (n int) {
 14112  	if m == nil {
 14113  		return 0
 14114  	}
 14115  	var l int
 14116  	_ = l
 14117  	n += 1 + sovPlan(uint64(m.Dateval))
 14118  	return n
 14119  }
 14120  func (m *Const_Timeval) ProtoSize() (n int) {
 14121  	if m == nil {
 14122  		return 0
 14123  	}
 14124  	var l int
 14125  	_ = l
 14126  	n += 1 + sovPlan(uint64(m.Timeval))
 14127  	return n
 14128  }
 14129  func (m *Const_Datetimeval) ProtoSize() (n int) {
 14130  	if m == nil {
 14131  		return 0
 14132  	}
 14133  	var l int
 14134  	_ = l
 14135  	n += 2 + sovPlan(uint64(m.Datetimeval))
 14136  	return n
 14137  }
 14138  func (m *Const_Decimal64Val) ProtoSize() (n int) {
 14139  	if m == nil {
 14140  		return 0
 14141  	}
 14142  	var l int
 14143  	_ = l
 14144  	if m.Decimal64Val != nil {
 14145  		l = m.Decimal64Val.ProtoSize()
 14146  		n += 2 + l + sovPlan(uint64(l))
 14147  	}
 14148  	return n
 14149  }
 14150  func (m *Const_Decimal128Val) ProtoSize() (n int) {
 14151  	if m == nil {
 14152  		return 0
 14153  	}
 14154  	var l int
 14155  	_ = l
 14156  	if m.Decimal128Val != nil {
 14157  		l = m.Decimal128Val.ProtoSize()
 14158  		n += 2 + l + sovPlan(uint64(l))
 14159  	}
 14160  	return n
 14161  }
 14162  func (m *Const_Timestampval) ProtoSize() (n int) {
 14163  	if m == nil {
 14164  		return 0
 14165  	}
 14166  	var l int
 14167  	_ = l
 14168  	n += 2 + sovPlan(uint64(m.Timestampval))
 14169  	return n
 14170  }
 14171  func (m *Const_Jsonval) ProtoSize() (n int) {
 14172  	if m == nil {
 14173  		return 0
 14174  	}
 14175  	var l int
 14176  	_ = l
 14177  	l = len(m.Jsonval)
 14178  	n += 2 + l + sovPlan(uint64(l))
 14179  	return n
 14180  }
 14181  func (m *Const_Defaultval) ProtoSize() (n int) {
 14182  	if m == nil {
 14183  		return 0
 14184  	}
 14185  	var l int
 14186  	_ = l
 14187  	n += 3
 14188  	return n
 14189  }
 14190  func (m *Const_UpdateVal) ProtoSize() (n int) {
 14191  	if m == nil {
 14192  		return 0
 14193  	}
 14194  	var l int
 14195  	_ = l
 14196  	n += 3
 14197  	return n
 14198  }
 14199  func (m *ParamRef) ProtoSize() (n int) {
 14200  	if m == nil {
 14201  		return 0
 14202  	}
 14203  	var l int
 14204  	_ = l
 14205  	if m.Pos != 0 {
 14206  		n += 1 + sovPlan(uint64(m.Pos))
 14207  	}
 14208  	if m.XXX_unrecognized != nil {
 14209  		n += len(m.XXX_unrecognized)
 14210  	}
 14211  	return n
 14212  }
 14213  
 14214  func (m *VarRef) ProtoSize() (n int) {
 14215  	if m == nil {
 14216  		return 0
 14217  	}
 14218  	var l int
 14219  	_ = l
 14220  	l = len(m.Name)
 14221  	if l > 0 {
 14222  		n += 1 + l + sovPlan(uint64(l))
 14223  	}
 14224  	if m.System {
 14225  		n += 2
 14226  	}
 14227  	if m.Global {
 14228  		n += 2
 14229  	}
 14230  	if m.XXX_unrecognized != nil {
 14231  		n += len(m.XXX_unrecognized)
 14232  	}
 14233  	return n
 14234  }
 14235  
 14236  func (m *ColRef) ProtoSize() (n int) {
 14237  	if m == nil {
 14238  		return 0
 14239  	}
 14240  	var l int
 14241  	_ = l
 14242  	if m.RelPos != 0 {
 14243  		n += 1 + sovPlan(uint64(m.RelPos))
 14244  	}
 14245  	if m.ColPos != 0 {
 14246  		n += 1 + sovPlan(uint64(m.ColPos))
 14247  	}
 14248  	l = len(m.Name)
 14249  	if l > 0 {
 14250  		n += 1 + l + sovPlan(uint64(l))
 14251  	}
 14252  	if m.XXX_unrecognized != nil {
 14253  		n += len(m.XXX_unrecognized)
 14254  	}
 14255  	return n
 14256  }
 14257  
 14258  func (m *RawColRef) ProtoSize() (n int) {
 14259  	if m == nil {
 14260  		return 0
 14261  	}
 14262  	var l int
 14263  	_ = l
 14264  	if m.TblId != 0 {
 14265  		n += 1 + sovPlan(uint64(m.TblId))
 14266  	}
 14267  	if m.ColId != 0 {
 14268  		n += 1 + sovPlan(uint64(m.ColId))
 14269  	}
 14270  	if m.XXX_unrecognized != nil {
 14271  		n += len(m.XXX_unrecognized)
 14272  	}
 14273  	return n
 14274  }
 14275  
 14276  func (m *CorrColRef) ProtoSize() (n int) {
 14277  	if m == nil {
 14278  		return 0
 14279  	}
 14280  	var l int
 14281  	_ = l
 14282  	if m.RelPos != 0 {
 14283  		n += 1 + sovPlan(uint64(m.RelPos))
 14284  	}
 14285  	if m.ColPos != 0 {
 14286  		n += 1 + sovPlan(uint64(m.ColPos))
 14287  	}
 14288  	if m.Depth != 0 {
 14289  		n += 1 + sovPlan(uint64(m.Depth))
 14290  	}
 14291  	if m.XXX_unrecognized != nil {
 14292  		n += len(m.XXX_unrecognized)
 14293  	}
 14294  	return n
 14295  }
 14296  
 14297  func (m *ExprList) ProtoSize() (n int) {
 14298  	if m == nil {
 14299  		return 0
 14300  	}
 14301  	var l int
 14302  	_ = l
 14303  	if len(m.List) > 0 {
 14304  		for _, e := range m.List {
 14305  			l = e.ProtoSize()
 14306  			n += 1 + l + sovPlan(uint64(l))
 14307  		}
 14308  	}
 14309  	if m.XXX_unrecognized != nil {
 14310  		n += len(m.XXX_unrecognized)
 14311  	}
 14312  	return n
 14313  }
 14314  
 14315  func (m *MaxValue) ProtoSize() (n int) {
 14316  	if m == nil {
 14317  		return 0
 14318  	}
 14319  	var l int
 14320  	_ = l
 14321  	l = len(m.Value)
 14322  	if l > 0 {
 14323  		n += 1 + l + sovPlan(uint64(l))
 14324  	}
 14325  	if m.XXX_unrecognized != nil {
 14326  		n += len(m.XXX_unrecognized)
 14327  	}
 14328  	return n
 14329  }
 14330  
 14331  func (m *TargetType) ProtoSize() (n int) {
 14332  	if m == nil {
 14333  		return 0
 14334  	}
 14335  	var l int
 14336  	_ = l
 14337  	if m.Typ != nil {
 14338  		l = m.Typ.ProtoSize()
 14339  		n += 1 + l + sovPlan(uint64(l))
 14340  	}
 14341  	if m.XXX_unrecognized != nil {
 14342  		n += len(m.XXX_unrecognized)
 14343  	}
 14344  	return n
 14345  }
 14346  
 14347  func (m *SubqueryRef) ProtoSize() (n int) {
 14348  	if m == nil {
 14349  		return 0
 14350  	}
 14351  	var l int
 14352  	_ = l
 14353  	if m.Typ != 0 {
 14354  		n += 1 + sovPlan(uint64(m.Typ))
 14355  	}
 14356  	if m.NodeId != 0 {
 14357  		n += 1 + sovPlan(uint64(m.NodeId))
 14358  	}
 14359  	l = len(m.Op)
 14360  	if l > 0 {
 14361  		n += 1 + l + sovPlan(uint64(l))
 14362  	}
 14363  	if m.Child != nil {
 14364  		l = m.Child.ProtoSize()
 14365  		n += 1 + l + sovPlan(uint64(l))
 14366  	}
 14367  	if m.RowSize != 0 {
 14368  		n += 1 + sovPlan(uint64(m.RowSize))
 14369  	}
 14370  	if m.XXX_unrecognized != nil {
 14371  		n += len(m.XXX_unrecognized)
 14372  	}
 14373  	return n
 14374  }
 14375  
 14376  func (m *ObjectRef) ProtoSize() (n int) {
 14377  	if m == nil {
 14378  		return 0
 14379  	}
 14380  	var l int
 14381  	_ = l
 14382  	if m.Server != 0 {
 14383  		n += 1 + sovPlan(uint64(m.Server))
 14384  	}
 14385  	if m.Db != 0 {
 14386  		n += 1 + sovPlan(uint64(m.Db))
 14387  	}
 14388  	if m.Schema != 0 {
 14389  		n += 1 + sovPlan(uint64(m.Schema))
 14390  	}
 14391  	if m.Obj != 0 {
 14392  		n += 1 + sovPlan(uint64(m.Obj))
 14393  	}
 14394  	l = len(m.ServerName)
 14395  	if l > 0 {
 14396  		n += 1 + l + sovPlan(uint64(l))
 14397  	}
 14398  	l = len(m.DbName)
 14399  	if l > 0 {
 14400  		n += 1 + l + sovPlan(uint64(l))
 14401  	}
 14402  	l = len(m.SchemaName)
 14403  	if l > 0 {
 14404  		n += 1 + l + sovPlan(uint64(l))
 14405  	}
 14406  	l = len(m.ObjName)
 14407  	if l > 0 {
 14408  		n += 1 + l + sovPlan(uint64(l))
 14409  	}
 14410  	if m.XXX_unrecognized != nil {
 14411  		n += len(m.XXX_unrecognized)
 14412  	}
 14413  	return n
 14414  }
 14415  
 14416  func (m *Function) ProtoSize() (n int) {
 14417  	if m == nil {
 14418  		return 0
 14419  	}
 14420  	var l int
 14421  	_ = l
 14422  	if m.Func != nil {
 14423  		l = m.Func.ProtoSize()
 14424  		n += 1 + l + sovPlan(uint64(l))
 14425  	}
 14426  	if len(m.Args) > 0 {
 14427  		for _, e := range m.Args {
 14428  			l = e.ProtoSize()
 14429  			n += 1 + l + sovPlan(uint64(l))
 14430  		}
 14431  	}
 14432  	if m.XXX_unrecognized != nil {
 14433  		n += len(m.XXX_unrecognized)
 14434  	}
 14435  	return n
 14436  }
 14437  
 14438  func (m *Expr) ProtoSize() (n int) {
 14439  	if m == nil {
 14440  		return 0
 14441  	}
 14442  	var l int
 14443  	_ = l
 14444  	if m.Typ != nil {
 14445  		l = m.Typ.ProtoSize()
 14446  		n += 1 + l + sovPlan(uint64(l))
 14447  	}
 14448  	if m.Expr != nil {
 14449  		n += m.Expr.ProtoSize()
 14450  	}
 14451  	if m.XXX_unrecognized != nil {
 14452  		n += len(m.XXX_unrecognized)
 14453  	}
 14454  	return n
 14455  }
 14456  
 14457  func (m *Expr_C) ProtoSize() (n int) {
 14458  	if m == nil {
 14459  		return 0
 14460  	}
 14461  	var l int
 14462  	_ = l
 14463  	if m.C != nil {
 14464  		l = m.C.ProtoSize()
 14465  		n += 1 + l + sovPlan(uint64(l))
 14466  	}
 14467  	return n
 14468  }
 14469  func (m *Expr_P) ProtoSize() (n int) {
 14470  	if m == nil {
 14471  		return 0
 14472  	}
 14473  	var l int
 14474  	_ = l
 14475  	if m.P != nil {
 14476  		l = m.P.ProtoSize()
 14477  		n += 1 + l + sovPlan(uint64(l))
 14478  	}
 14479  	return n
 14480  }
 14481  func (m *Expr_V) ProtoSize() (n int) {
 14482  	if m == nil {
 14483  		return 0
 14484  	}
 14485  	var l int
 14486  	_ = l
 14487  	if m.V != nil {
 14488  		l = m.V.ProtoSize()
 14489  		n += 1 + l + sovPlan(uint64(l))
 14490  	}
 14491  	return n
 14492  }
 14493  func (m *Expr_Col) ProtoSize() (n int) {
 14494  	if m == nil {
 14495  		return 0
 14496  	}
 14497  	var l int
 14498  	_ = l
 14499  	if m.Col != nil {
 14500  		l = m.Col.ProtoSize()
 14501  		n += 1 + l + sovPlan(uint64(l))
 14502  	}
 14503  	return n
 14504  }
 14505  func (m *Expr_Raw) ProtoSize() (n int) {
 14506  	if m == nil {
 14507  		return 0
 14508  	}
 14509  	var l int
 14510  	_ = l
 14511  	if m.Raw != nil {
 14512  		l = m.Raw.ProtoSize()
 14513  		n += 1 + l + sovPlan(uint64(l))
 14514  	}
 14515  	return n
 14516  }
 14517  func (m *Expr_F) ProtoSize() (n int) {
 14518  	if m == nil {
 14519  		return 0
 14520  	}
 14521  	var l int
 14522  	_ = l
 14523  	if m.F != nil {
 14524  		l = m.F.ProtoSize()
 14525  		n += 1 + l + sovPlan(uint64(l))
 14526  	}
 14527  	return n
 14528  }
 14529  func (m *Expr_Sub) ProtoSize() (n int) {
 14530  	if m == nil {
 14531  		return 0
 14532  	}
 14533  	var l int
 14534  	_ = l
 14535  	if m.Sub != nil {
 14536  		l = m.Sub.ProtoSize()
 14537  		n += 1 + l + sovPlan(uint64(l))
 14538  	}
 14539  	return n
 14540  }
 14541  func (m *Expr_Corr) ProtoSize() (n int) {
 14542  	if m == nil {
 14543  		return 0
 14544  	}
 14545  	var l int
 14546  	_ = l
 14547  	if m.Corr != nil {
 14548  		l = m.Corr.ProtoSize()
 14549  		n += 1 + l + sovPlan(uint64(l))
 14550  	}
 14551  	return n
 14552  }
 14553  func (m *Expr_T) ProtoSize() (n int) {
 14554  	if m == nil {
 14555  		return 0
 14556  	}
 14557  	var l int
 14558  	_ = l
 14559  	if m.T != nil {
 14560  		l = m.T.ProtoSize()
 14561  		n += 1 + l + sovPlan(uint64(l))
 14562  	}
 14563  	return n
 14564  }
 14565  func (m *Expr_List) ProtoSize() (n int) {
 14566  	if m == nil {
 14567  		return 0
 14568  	}
 14569  	var l int
 14570  	_ = l
 14571  	if m.List != nil {
 14572  		l = m.List.ProtoSize()
 14573  		n += 1 + l + sovPlan(uint64(l))
 14574  	}
 14575  	return n
 14576  }
 14577  func (m *Expr_Max) ProtoSize() (n int) {
 14578  	if m == nil {
 14579  		return 0
 14580  	}
 14581  	var l int
 14582  	_ = l
 14583  	if m.Max != nil {
 14584  		l = m.Max.ProtoSize()
 14585  		n += 1 + l + sovPlan(uint64(l))
 14586  	}
 14587  	return n
 14588  }
 14589  func (m *Decimal64) ProtoSize() (n int) {
 14590  	if m == nil {
 14591  		return 0
 14592  	}
 14593  	var l int
 14594  	_ = l
 14595  	if m.A != 0 {
 14596  		n += 1 + sovPlan(uint64(m.A))
 14597  	}
 14598  	if m.XXX_unrecognized != nil {
 14599  		n += len(m.XXX_unrecognized)
 14600  	}
 14601  	return n
 14602  }
 14603  
 14604  func (m *Decimal128) ProtoSize() (n int) {
 14605  	if m == nil {
 14606  		return 0
 14607  	}
 14608  	var l int
 14609  	_ = l
 14610  	if m.A != 0 {
 14611  		n += 1 + sovPlan(uint64(m.A))
 14612  	}
 14613  	if m.B != 0 {
 14614  		n += 1 + sovPlan(uint64(m.B))
 14615  	}
 14616  	if m.XXX_unrecognized != nil {
 14617  		n += len(m.XXX_unrecognized)
 14618  	}
 14619  	return n
 14620  }
 14621  
 14622  func (m *ResultColDef) ProtoSize() (n int) {
 14623  	if m == nil {
 14624  		return 0
 14625  	}
 14626  	var l int
 14627  	_ = l
 14628  	if len(m.ResultCols) > 0 {
 14629  		for _, e := range m.ResultCols {
 14630  			l = e.ProtoSize()
 14631  			n += 1 + l + sovPlan(uint64(l))
 14632  		}
 14633  	}
 14634  	if m.XXX_unrecognized != nil {
 14635  		n += len(m.XXX_unrecognized)
 14636  	}
 14637  	return n
 14638  }
 14639  
 14640  func (m *ColDef) ProtoSize() (n int) {
 14641  	if m == nil {
 14642  		return 0
 14643  	}
 14644  	var l int
 14645  	_ = l
 14646  	if m.ColId != 0 {
 14647  		n += 1 + sovPlan(uint64(m.ColId))
 14648  	}
 14649  	l = len(m.Name)
 14650  	if l > 0 {
 14651  		n += 1 + l + sovPlan(uint64(l))
 14652  	}
 14653  	if m.Hidden {
 14654  		n += 2
 14655  	}
 14656  	if m.Alg != 0 {
 14657  		n += 1 + sovPlan(uint64(m.Alg))
 14658  	}
 14659  	if m.Typ != nil {
 14660  		l = m.Typ.ProtoSize()
 14661  		n += 1 + l + sovPlan(uint64(l))
 14662  	}
 14663  	if m.NotNull {
 14664  		n += 2
 14665  	}
 14666  	if m.Default != nil {
 14667  		l = m.Default.ProtoSize()
 14668  		n += 1 + l + sovPlan(uint64(l))
 14669  	}
 14670  	l = len(m.Comment)
 14671  	if l > 0 {
 14672  		n += 1 + l + sovPlan(uint64(l))
 14673  	}
 14674  	if m.OnUpdate != nil {
 14675  		l = m.OnUpdate.ProtoSize()
 14676  		n += 1 + l + sovPlan(uint64(l))
 14677  	}
 14678  	if m.LowCard {
 14679  		n += 2
 14680  	}
 14681  	if m.ClusterBy {
 14682  		n += 2
 14683  	}
 14684  	if m.Primary {
 14685  		n += 2
 14686  	}
 14687  	if m.Pkidx != 0 {
 14688  		n += 1 + sovPlan(uint64(m.Pkidx))
 14689  	}
 14690  	if m.XXX_unrecognized != nil {
 14691  		n += len(m.XXX_unrecognized)
 14692  	}
 14693  	return n
 14694  }
 14695  
 14696  func (m *Default) ProtoSize() (n int) {
 14697  	if m == nil {
 14698  		return 0
 14699  	}
 14700  	var l int
 14701  	_ = l
 14702  	if m.Expr != nil {
 14703  		l = m.Expr.ProtoSize()
 14704  		n += 1 + l + sovPlan(uint64(l))
 14705  	}
 14706  	l = len(m.OriginString)
 14707  	if l > 0 {
 14708  		n += 1 + l + sovPlan(uint64(l))
 14709  	}
 14710  	if m.NullAbility {
 14711  		n += 2
 14712  	}
 14713  	if m.XXX_unrecognized != nil {
 14714  		n += len(m.XXX_unrecognized)
 14715  	}
 14716  	return n
 14717  }
 14718  
 14719  func (m *OnUpdate) ProtoSize() (n int) {
 14720  	if m == nil {
 14721  		return 0
 14722  	}
 14723  	var l int
 14724  	_ = l
 14725  	if m.Expr != nil {
 14726  		l = m.Expr.ProtoSize()
 14727  		n += 1 + l + sovPlan(uint64(l))
 14728  	}
 14729  	l = len(m.OriginString)
 14730  	if l > 0 {
 14731  		n += 1 + l + sovPlan(uint64(l))
 14732  	}
 14733  	if m.XXX_unrecognized != nil {
 14734  		n += len(m.XXX_unrecognized)
 14735  	}
 14736  	return n
 14737  }
 14738  
 14739  func (m *IndexOption) ProtoSize() (n int) {
 14740  	if m == nil {
 14741  		return 0
 14742  	}
 14743  	var l int
 14744  	_ = l
 14745  	if m.CreateExtraTable {
 14746  		n += 2
 14747  	}
 14748  	if m.XXX_unrecognized != nil {
 14749  		n += len(m.XXX_unrecognized)
 14750  	}
 14751  	return n
 14752  }
 14753  
 14754  func (m *PrimaryKeyDef) ProtoSize() (n int) {
 14755  	if m == nil {
 14756  		return 0
 14757  	}
 14758  	var l int
 14759  	_ = l
 14760  	if len(m.Cols) > 0 {
 14761  		l = 0
 14762  		for _, e := range m.Cols {
 14763  			l += sovPlan(uint64(e))
 14764  		}
 14765  		n += 1 + sovPlan(uint64(l)) + l
 14766  	}
 14767  	if m.PkeyColId != 0 {
 14768  		n += 1 + sovPlan(uint64(m.PkeyColId))
 14769  	}
 14770  	if m.Option != nil {
 14771  		l = m.Option.ProtoSize()
 14772  		n += 1 + l + sovPlan(uint64(l))
 14773  	}
 14774  	l = len(m.PkeyColName)
 14775  	if l > 0 {
 14776  		n += 1 + l + sovPlan(uint64(l))
 14777  	}
 14778  	if len(m.Names) > 0 {
 14779  		for _, s := range m.Names {
 14780  			l = len(s)
 14781  			n += 1 + l + sovPlan(uint64(l))
 14782  		}
 14783  	}
 14784  	if m.XXX_unrecognized != nil {
 14785  		n += len(m.XXX_unrecognized)
 14786  	}
 14787  	return n
 14788  }
 14789  
 14790  func (m *IndexDef) ProtoSize() (n int) {
 14791  	if m == nil {
 14792  		return 0
 14793  	}
 14794  	var l int
 14795  	_ = l
 14796  	l = len(m.IdxId)
 14797  	if l > 0 {
 14798  		n += 1 + l + sovPlan(uint64(l))
 14799  	}
 14800  	l = len(m.IndexName)
 14801  	if l > 0 {
 14802  		n += 1 + l + sovPlan(uint64(l))
 14803  	}
 14804  	if len(m.Parts) > 0 {
 14805  		for _, s := range m.Parts {
 14806  			l = len(s)
 14807  			n += 1 + l + sovPlan(uint64(l))
 14808  		}
 14809  	}
 14810  	if m.Unique {
 14811  		n += 2
 14812  	}
 14813  	l = len(m.IndexTableName)
 14814  	if l > 0 {
 14815  		n += 1 + l + sovPlan(uint64(l))
 14816  	}
 14817  	if m.TableExist {
 14818  		n += 2
 14819  	}
 14820  	l = len(m.Comment)
 14821  	if l > 0 {
 14822  		n += 1 + l + sovPlan(uint64(l))
 14823  	}
 14824  	if m.Option != nil {
 14825  		l = m.Option.ProtoSize()
 14826  		n += 1 + l + sovPlan(uint64(l))
 14827  	}
 14828  	if m.XXX_unrecognized != nil {
 14829  		n += len(m.XXX_unrecognized)
 14830  	}
 14831  	return n
 14832  }
 14833  
 14834  func (m *ForeignKeyDef) ProtoSize() (n int) {
 14835  	if m == nil {
 14836  		return 0
 14837  	}
 14838  	var l int
 14839  	_ = l
 14840  	l = len(m.Name)
 14841  	if l > 0 {
 14842  		n += 1 + l + sovPlan(uint64(l))
 14843  	}
 14844  	if len(m.Cols) > 0 {
 14845  		l = 0
 14846  		for _, e := range m.Cols {
 14847  			l += sovPlan(uint64(e))
 14848  		}
 14849  		n += 1 + sovPlan(uint64(l)) + l
 14850  	}
 14851  	if m.ForeignTbl != 0 {
 14852  		n += 1 + sovPlan(uint64(m.ForeignTbl))
 14853  	}
 14854  	if len(m.ForeignCols) > 0 {
 14855  		l = 0
 14856  		for _, e := range m.ForeignCols {
 14857  			l += sovPlan(uint64(e))
 14858  		}
 14859  		n += 1 + sovPlan(uint64(l)) + l
 14860  	}
 14861  	if m.OnDelete != 0 {
 14862  		n += 1 + sovPlan(uint64(m.OnDelete))
 14863  	}
 14864  	if m.OnUpdate != 0 {
 14865  		n += 1 + sovPlan(uint64(m.OnUpdate))
 14866  	}
 14867  	if m.XXX_unrecognized != nil {
 14868  		n += len(m.XXX_unrecognized)
 14869  	}
 14870  	return n
 14871  }
 14872  
 14873  func (m *CheckDef) ProtoSize() (n int) {
 14874  	if m == nil {
 14875  		return 0
 14876  	}
 14877  	var l int
 14878  	_ = l
 14879  	l = len(m.Name)
 14880  	if l > 0 {
 14881  		n += 1 + l + sovPlan(uint64(l))
 14882  	}
 14883  	if m.Check != nil {
 14884  		l = m.Check.ProtoSize()
 14885  		n += 1 + l + sovPlan(uint64(l))
 14886  	}
 14887  	if m.XXX_unrecognized != nil {
 14888  		n += len(m.XXX_unrecognized)
 14889  	}
 14890  	return n
 14891  }
 14892  
 14893  func (m *ClusterByDef) ProtoSize() (n int) {
 14894  	if m == nil {
 14895  		return 0
 14896  	}
 14897  	var l int
 14898  	_ = l
 14899  	if len(m.Parts) > 0 {
 14900  		for _, e := range m.Parts {
 14901  			l = e.ProtoSize()
 14902  			n += 1 + l + sovPlan(uint64(l))
 14903  		}
 14904  	}
 14905  	l = len(m.Name)
 14906  	if l > 0 {
 14907  		n += 1 + l + sovPlan(uint64(l))
 14908  	}
 14909  	if m.XXX_unrecognized != nil {
 14910  		n += len(m.XXX_unrecognized)
 14911  	}
 14912  	return n
 14913  }
 14914  
 14915  func (m *PropertyDef) ProtoSize() (n int) {
 14916  	if m == nil {
 14917  		return 0
 14918  	}
 14919  	var l int
 14920  	_ = l
 14921  	l = len(m.Key)
 14922  	if l > 0 {
 14923  		n += 1 + l + sovPlan(uint64(l))
 14924  	}
 14925  	l = len(m.Value)
 14926  	if l > 0 {
 14927  		n += 1 + l + sovPlan(uint64(l))
 14928  	}
 14929  	if m.XXX_unrecognized != nil {
 14930  		n += len(m.XXX_unrecognized)
 14931  	}
 14932  	return n
 14933  }
 14934  
 14935  func (m *Property) ProtoSize() (n int) {
 14936  	if m == nil {
 14937  		return 0
 14938  	}
 14939  	var l int
 14940  	_ = l
 14941  	l = len(m.Key)
 14942  	if l > 0 {
 14943  		n += 1 + l + sovPlan(uint64(l))
 14944  	}
 14945  	l = len(m.Value)
 14946  	if l > 0 {
 14947  		n += 1 + l + sovPlan(uint64(l))
 14948  	}
 14949  	if m.XXX_unrecognized != nil {
 14950  		n += len(m.XXX_unrecognized)
 14951  	}
 14952  	return n
 14953  }
 14954  
 14955  func (m *PropertiesDef) ProtoSize() (n int) {
 14956  	if m == nil {
 14957  		return 0
 14958  	}
 14959  	var l int
 14960  	_ = l
 14961  	if len(m.Properties) > 0 {
 14962  		for _, e := range m.Properties {
 14963  			l = e.ProtoSize()
 14964  			n += 1 + l + sovPlan(uint64(l))
 14965  		}
 14966  	}
 14967  	if m.XXX_unrecognized != nil {
 14968  		n += len(m.XXX_unrecognized)
 14969  	}
 14970  	return n
 14971  }
 14972  
 14973  func (m *PartitionByDef) ProtoSize() (n int) {
 14974  	if m == nil {
 14975  		return 0
 14976  	}
 14977  	var l int
 14978  	_ = l
 14979  	if m.Type != 0 {
 14980  		n += 1 + sovPlan(uint64(m.Type))
 14981  	}
 14982  	if m.PartitionExpr != nil {
 14983  		l = m.PartitionExpr.ProtoSize()
 14984  		n += 1 + l + sovPlan(uint64(l))
 14985  	}
 14986  	if m.PartitionExpression != nil {
 14987  		l = m.PartitionExpression.ProtoSize()
 14988  		n += 1 + l + sovPlan(uint64(l))
 14989  	}
 14990  	if m.PartitionColumns != nil {
 14991  		l = m.PartitionColumns.ProtoSize()
 14992  		n += 1 + l + sovPlan(uint64(l))
 14993  	}
 14994  	if m.PartitionNum != 0 {
 14995  		n += 1 + sovPlan(uint64(m.PartitionNum))
 14996  	}
 14997  	if len(m.Partitions) > 0 {
 14998  		for _, e := range m.Partitions {
 14999  			l = e.ProtoSize()
 15000  			n += 1 + l + sovPlan(uint64(l))
 15001  		}
 15002  	}
 15003  	if m.Algorithm != 0 {
 15004  		n += 1 + sovPlan(uint64(m.Algorithm))
 15005  	}
 15006  	if m.IsSubPartition {
 15007  		n += 2
 15008  	}
 15009  	l = len(m.PartitionMsg)
 15010  	if l > 0 {
 15011  		n += 1 + l + sovPlan(uint64(l))
 15012  	}
 15013  	if m.XXX_unrecognized != nil {
 15014  		n += len(m.XXX_unrecognized)
 15015  	}
 15016  	return n
 15017  }
 15018  
 15019  func (m *PartitionExpr) ProtoSize() (n int) {
 15020  	if m == nil {
 15021  		return 0
 15022  	}
 15023  	var l int
 15024  	_ = l
 15025  	if m.Expr != nil {
 15026  		l = m.Expr.ProtoSize()
 15027  		n += 1 + l + sovPlan(uint64(l))
 15028  	}
 15029  	l = len(m.ExprStr)
 15030  	if l > 0 {
 15031  		n += 1 + l + sovPlan(uint64(l))
 15032  	}
 15033  	if m.XXX_unrecognized != nil {
 15034  		n += len(m.XXX_unrecognized)
 15035  	}
 15036  	return n
 15037  }
 15038  
 15039  func (m *PartitionColumns) ProtoSize() (n int) {
 15040  	if m == nil {
 15041  		return 0
 15042  	}
 15043  	var l int
 15044  	_ = l
 15045  	if len(m.Columns) > 0 {
 15046  		for _, e := range m.Columns {
 15047  			l = e.ProtoSize()
 15048  			n += 1 + l + sovPlan(uint64(l))
 15049  		}
 15050  	}
 15051  	if len(m.PartitionColumns) > 0 {
 15052  		for _, s := range m.PartitionColumns {
 15053  			l = len(s)
 15054  			n += 1 + l + sovPlan(uint64(l))
 15055  		}
 15056  	}
 15057  	if m.XXX_unrecognized != nil {
 15058  		n += len(m.XXX_unrecognized)
 15059  	}
 15060  	return n
 15061  }
 15062  
 15063  func (m *PartitionItem) ProtoSize() (n int) {
 15064  	if m == nil {
 15065  		return 0
 15066  	}
 15067  	var l int
 15068  	_ = l
 15069  	l = len(m.PartitionName)
 15070  	if l > 0 {
 15071  		n += 1 + l + sovPlan(uint64(l))
 15072  	}
 15073  	if m.OrdinalPosition != 0 {
 15074  		n += 1 + sovPlan(uint64(m.OrdinalPosition))
 15075  	}
 15076  	l = len(m.Description)
 15077  	if l > 0 {
 15078  		n += 1 + l + sovPlan(uint64(l))
 15079  	}
 15080  	l = len(m.Comment)
 15081  	if l > 0 {
 15082  		n += 1 + l + sovPlan(uint64(l))
 15083  	}
 15084  	if len(m.LessThan) > 0 {
 15085  		for _, e := range m.LessThan {
 15086  			l = e.ProtoSize()
 15087  			n += 1 + l + sovPlan(uint64(l))
 15088  		}
 15089  	}
 15090  	if len(m.InValues) > 0 {
 15091  		for _, e := range m.InValues {
 15092  			l = e.ProtoSize()
 15093  			n += 1 + l + sovPlan(uint64(l))
 15094  		}
 15095  	}
 15096  	if m.XXX_unrecognized != nil {
 15097  		n += len(m.XXX_unrecognized)
 15098  	}
 15099  	return n
 15100  }
 15101  
 15102  func (m *ViewDef) ProtoSize() (n int) {
 15103  	if m == nil {
 15104  		return 0
 15105  	}
 15106  	var l int
 15107  	_ = l
 15108  	l = len(m.View)
 15109  	if l > 0 {
 15110  		n += 1 + l + sovPlan(uint64(l))
 15111  	}
 15112  	if m.XXX_unrecognized != nil {
 15113  		n += len(m.XXX_unrecognized)
 15114  	}
 15115  	return n
 15116  }
 15117  
 15118  func (m *TableDef) ProtoSize() (n int) {
 15119  	if m == nil {
 15120  		return 0
 15121  	}
 15122  	var l int
 15123  	_ = l
 15124  	if m.TblId != 0 {
 15125  		n += 1 + sovPlan(uint64(m.TblId))
 15126  	}
 15127  	l = len(m.Name)
 15128  	if l > 0 {
 15129  		n += 1 + l + sovPlan(uint64(l))
 15130  	}
 15131  	if m.Hidden {
 15132  		n += 2
 15133  	}
 15134  	if len(m.Cols) > 0 {
 15135  		for _, e := range m.Cols {
 15136  			l = e.ProtoSize()
 15137  			n += 1 + l + sovPlan(uint64(l))
 15138  		}
 15139  	}
 15140  	l = len(m.TableType)
 15141  	if l > 0 {
 15142  		n += 1 + l + sovPlan(uint64(l))
 15143  	}
 15144  	l = len(m.Createsql)
 15145  	if l > 0 {
 15146  		n += 1 + l + sovPlan(uint64(l))
 15147  	}
 15148  	if m.TblFunc != nil {
 15149  		l = m.TblFunc.ProtoSize()
 15150  		n += 1 + l + sovPlan(uint64(l))
 15151  	}
 15152  	if m.Pkey != nil {
 15153  		l = m.Pkey.ProtoSize()
 15154  		n += 1 + l + sovPlan(uint64(l))
 15155  	}
 15156  	if len(m.Indexes) > 0 {
 15157  		for _, e := range m.Indexes {
 15158  			l = e.ProtoSize()
 15159  			n += 1 + l + sovPlan(uint64(l))
 15160  		}
 15161  	}
 15162  	if len(m.Fkeys) > 0 {
 15163  		for _, e := range m.Fkeys {
 15164  			l = e.ProtoSize()
 15165  			n += 1 + l + sovPlan(uint64(l))
 15166  		}
 15167  	}
 15168  	if len(m.RefChildTbls) > 0 {
 15169  		l = 0
 15170  		for _, e := range m.RefChildTbls {
 15171  			l += sovPlan(uint64(e))
 15172  		}
 15173  		n += 1 + sovPlan(uint64(l)) + l
 15174  	}
 15175  	if len(m.Checks) > 0 {
 15176  		for _, e := range m.Checks {
 15177  			l = e.ProtoSize()
 15178  			n += 1 + l + sovPlan(uint64(l))
 15179  		}
 15180  	}
 15181  	if m.Partition != nil {
 15182  		l = m.Partition.ProtoSize()
 15183  		n += 2 + l + sovPlan(uint64(l))
 15184  	}
 15185  	if m.ClusterBy != nil {
 15186  		l = m.ClusterBy.ProtoSize()
 15187  		n += 2 + l + sovPlan(uint64(l))
 15188  	}
 15189  	if len(m.Props) > 0 {
 15190  		for _, e := range m.Props {
 15191  			l = e.ProtoSize()
 15192  			n += 2 + l + sovPlan(uint64(l))
 15193  		}
 15194  	}
 15195  	if m.ViewSql != nil {
 15196  		l = m.ViewSql.ProtoSize()
 15197  		n += 2 + l + sovPlan(uint64(l))
 15198  	}
 15199  	if len(m.OriginCols) > 0 {
 15200  		for _, e := range m.OriginCols {
 15201  			l = e.ProtoSize()
 15202  			n += 2 + l + sovPlan(uint64(l))
 15203  		}
 15204  	}
 15205  	if len(m.Defs) > 0 {
 15206  		for _, e := range m.Defs {
 15207  			l = e.ProtoSize()
 15208  			n += 2 + l + sovPlan(uint64(l))
 15209  		}
 15210  	}
 15211  	if len(m.Name2ColIndex) > 0 {
 15212  		for k, v := range m.Name2ColIndex {
 15213  			_ = k
 15214  			_ = v
 15215  			mapEntrySize := 1 + len(k) + sovPlan(uint64(len(k))) + 1 + sovPlan(uint64(v))
 15216  			n += mapEntrySize + 2 + sovPlan(uint64(mapEntrySize))
 15217  		}
 15218  	}
 15219  	if m.CompositePkey != nil {
 15220  		l = m.CompositePkey.ProtoSize()
 15221  		n += 2 + l + sovPlan(uint64(l))
 15222  	}
 15223  	if m.XXX_unrecognized != nil {
 15224  		n += len(m.XXX_unrecognized)
 15225  	}
 15226  	return n
 15227  }
 15228  
 15229  func (m *TableDef_DefType) ProtoSize() (n int) {
 15230  	if m == nil {
 15231  		return 0
 15232  	}
 15233  	var l int
 15234  	_ = l
 15235  	if m.Def != nil {
 15236  		n += m.Def.ProtoSize()
 15237  	}
 15238  	if m.XXX_unrecognized != nil {
 15239  		n += len(m.XXX_unrecognized)
 15240  	}
 15241  	return n
 15242  }
 15243  
 15244  func (m *TableDef_DefType_Properties) ProtoSize() (n int) {
 15245  	if m == nil {
 15246  		return 0
 15247  	}
 15248  	var l int
 15249  	_ = l
 15250  	if m.Properties != nil {
 15251  		l = m.Properties.ProtoSize()
 15252  		n += 1 + l + sovPlan(uint64(l))
 15253  	}
 15254  	return n
 15255  }
 15256  func (m *TableFunction) ProtoSize() (n int) {
 15257  	if m == nil {
 15258  		return 0
 15259  	}
 15260  	var l int
 15261  	_ = l
 15262  	l = len(m.Name)
 15263  	if l > 0 {
 15264  		n += 1 + l + sovPlan(uint64(l))
 15265  	}
 15266  	l = len(m.Param)
 15267  	if l > 0 {
 15268  		n += 1 + l + sovPlan(uint64(l))
 15269  	}
 15270  	if m.XXX_unrecognized != nil {
 15271  		n += len(m.XXX_unrecognized)
 15272  	}
 15273  	return n
 15274  }
 15275  
 15276  func (m *Stats) ProtoSize() (n int) {
 15277  	if m == nil {
 15278  		return 0
 15279  	}
 15280  	var l int
 15281  	_ = l
 15282  	if m.BlockNum != 0 {
 15283  		n += 1 + sovPlan(uint64(m.BlockNum))
 15284  	}
 15285  	if m.Cost != 0 {
 15286  		n += 9
 15287  	}
 15288  	if m.Outcnt != 0 {
 15289  		n += 9
 15290  	}
 15291  	if m.Rowsize != 0 {
 15292  		n += 9
 15293  	}
 15294  	if m.HashmapSize != 0 {
 15295  		n += 9
 15296  	}
 15297  	if m.TableCnt != 0 {
 15298  		n += 9
 15299  	}
 15300  	if m.Selectivity != 0 {
 15301  		n += 9
 15302  	}
 15303  	if m.XXX_unrecognized != nil {
 15304  		n += len(m.XXX_unrecognized)
 15305  	}
 15306  	return n
 15307  }
 15308  
 15309  func (m *ColData) ProtoSize() (n int) {
 15310  	if m == nil {
 15311  		return 0
 15312  	}
 15313  	var l int
 15314  	_ = l
 15315  	if len(m.Data) > 0 {
 15316  		for _, e := range m.Data {
 15317  			l = e.ProtoSize()
 15318  			n += 1 + l + sovPlan(uint64(l))
 15319  		}
 15320  	}
 15321  	if m.XXX_unrecognized != nil {
 15322  		n += len(m.XXX_unrecognized)
 15323  	}
 15324  	return n
 15325  }
 15326  
 15327  func (m *RowsetData) ProtoSize() (n int) {
 15328  	if m == nil {
 15329  		return 0
 15330  	}
 15331  	var l int
 15332  	_ = l
 15333  	if len(m.Cols) > 0 {
 15334  		for _, e := range m.Cols {
 15335  			l = e.ProtoSize()
 15336  			n += 1 + l + sovPlan(uint64(l))
 15337  		}
 15338  	}
 15339  	if m.XXX_unrecognized != nil {
 15340  		n += len(m.XXX_unrecognized)
 15341  	}
 15342  	return n
 15343  }
 15344  
 15345  func (m *OrderBySpec) ProtoSize() (n int) {
 15346  	if m == nil {
 15347  		return 0
 15348  	}
 15349  	var l int
 15350  	_ = l
 15351  	if m.Expr != nil {
 15352  		l = m.Expr.ProtoSize()
 15353  		n += 1 + l + sovPlan(uint64(l))
 15354  	}
 15355  	l = len(m.Collation)
 15356  	if l > 0 {
 15357  		n += 1 + l + sovPlan(uint64(l))
 15358  	}
 15359  	if m.Flag != 0 {
 15360  		n += 1 + sovPlan(uint64(m.Flag))
 15361  	}
 15362  	if m.XXX_unrecognized != nil {
 15363  		n += len(m.XXX_unrecognized)
 15364  	}
 15365  	return n
 15366  }
 15367  
 15368  func (m *WindowSpec) ProtoSize() (n int) {
 15369  	if m == nil {
 15370  		return 0
 15371  	}
 15372  	var l int
 15373  	_ = l
 15374  	if len(m.PartitionBy) > 0 {
 15375  		for _, e := range m.PartitionBy {
 15376  			l = e.ProtoSize()
 15377  			n += 1 + l + sovPlan(uint64(l))
 15378  		}
 15379  	}
 15380  	if len(m.OrderBy) > 0 {
 15381  		for _, e := range m.OrderBy {
 15382  			l = e.ProtoSize()
 15383  			n += 1 + l + sovPlan(uint64(l))
 15384  		}
 15385  	}
 15386  	if m.Lead != 0 {
 15387  		n += 1 + sovPlan(uint64(m.Lead))
 15388  	}
 15389  	if m.Lag != 0 {
 15390  		n += 1 + sovPlan(uint64(m.Lag))
 15391  	}
 15392  	if m.XXX_unrecognized != nil {
 15393  		n += len(m.XXX_unrecognized)
 15394  	}
 15395  	return n
 15396  }
 15397  
 15398  func (m *InsertCtx) ProtoSize() (n int) {
 15399  	if m == nil {
 15400  		return 0
 15401  	}
 15402  	var l int
 15403  	_ = l
 15404  	if m.Ref != nil {
 15405  		l = m.Ref.ProtoSize()
 15406  		n += 1 + l + sovPlan(uint64(l))
 15407  	}
 15408  	if len(m.Idx) > 0 {
 15409  		l = 0
 15410  		for _, e := range m.Idx {
 15411  			l += sovPlan(uint64(e))
 15412  		}
 15413  		n += 1 + sovPlan(uint64(l)) + l
 15414  	}
 15415  	if m.TableDef != nil {
 15416  		l = m.TableDef.ProtoSize()
 15417  		n += 1 + l + sovPlan(uint64(l))
 15418  	}
 15419  	if len(m.ParentIdx) > 0 {
 15420  		for k, v := range m.ParentIdx {
 15421  			_ = k
 15422  			_ = v
 15423  			mapEntrySize := 1 + len(k) + sovPlan(uint64(len(k))) + 1 + sovPlan(uint64(v))
 15424  			n += mapEntrySize + 1 + sovPlan(uint64(mapEntrySize))
 15425  		}
 15426  	}
 15427  	if m.ClusterTable != nil {
 15428  		l = m.ClusterTable.ProtoSize()
 15429  		n += 1 + l + sovPlan(uint64(l))
 15430  	}
 15431  	if m.XXX_unrecognized != nil {
 15432  		n += len(m.XXX_unrecognized)
 15433  	}
 15434  	return n
 15435  }
 15436  
 15437  func (m *UpdateCtx) ProtoSize() (n int) {
 15438  	if m == nil {
 15439  		return 0
 15440  	}
 15441  	var l int
 15442  	_ = l
 15443  	if len(m.Ref) > 0 {
 15444  		for _, e := range m.Ref {
 15445  			l = e.ProtoSize()
 15446  			n += 1 + l + sovPlan(uint64(l))
 15447  		}
 15448  	}
 15449  	if len(m.Idx) > 0 {
 15450  		for _, e := range m.Idx {
 15451  			l = e.ProtoSize()
 15452  			n += 1 + l + sovPlan(uint64(l))
 15453  		}
 15454  	}
 15455  	if len(m.TableDefs) > 0 {
 15456  		for _, e := range m.TableDefs {
 15457  			l = e.ProtoSize()
 15458  			n += 1 + l + sovPlan(uint64(l))
 15459  		}
 15460  	}
 15461  	if len(m.UpdateCol) > 0 {
 15462  		for _, e := range m.UpdateCol {
 15463  			l = e.ProtoSize()
 15464  			n += 1 + l + sovPlan(uint64(l))
 15465  		}
 15466  	}
 15467  	if len(m.IdxRef) > 0 {
 15468  		for _, e := range m.IdxRef {
 15469  			l = e.ProtoSize()
 15470  			n += 1 + l + sovPlan(uint64(l))
 15471  		}
 15472  	}
 15473  	if len(m.IdxIdx) > 0 {
 15474  		l = 0
 15475  		for _, e := range m.IdxIdx {
 15476  			l += sovPlan(uint64(e))
 15477  		}
 15478  		n += 1 + sovPlan(uint64(l)) + l
 15479  	}
 15480  	if len(m.OnRestrictRef) > 0 {
 15481  		for _, e := range m.OnRestrictRef {
 15482  			l = e.ProtoSize()
 15483  			n += 1 + l + sovPlan(uint64(l))
 15484  		}
 15485  	}
 15486  	if len(m.OnRestrictIdx) > 0 {
 15487  		l = 0
 15488  		for _, e := range m.OnRestrictIdx {
 15489  			l += sovPlan(uint64(e))
 15490  		}
 15491  		n += 1 + sovPlan(uint64(l)) + l
 15492  	}
 15493  	if len(m.OnCascadeRef) > 0 {
 15494  		for _, e := range m.OnCascadeRef {
 15495  			l = e.ProtoSize()
 15496  			n += 1 + l + sovPlan(uint64(l))
 15497  		}
 15498  	}
 15499  	if len(m.OnCascadeIdx) > 0 {
 15500  		for _, e := range m.OnCascadeIdx {
 15501  			l = e.ProtoSize()
 15502  			n += 1 + l + sovPlan(uint64(l))
 15503  		}
 15504  	}
 15505  	if len(m.OnCascadeDef) > 0 {
 15506  		for _, e := range m.OnCascadeDef {
 15507  			l = e.ProtoSize()
 15508  			n += 1 + l + sovPlan(uint64(l))
 15509  		}
 15510  	}
 15511  	if len(m.OnCascadeUpdateCol) > 0 {
 15512  		for _, e := range m.OnCascadeUpdateCol {
 15513  			l = e.ProtoSize()
 15514  			n += 1 + l + sovPlan(uint64(l))
 15515  		}
 15516  	}
 15517  	if len(m.OnSetRef) > 0 {
 15518  		for _, e := range m.OnSetRef {
 15519  			l = e.ProtoSize()
 15520  			n += 1 + l + sovPlan(uint64(l))
 15521  		}
 15522  	}
 15523  	if len(m.OnSetIdx) > 0 {
 15524  		for _, e := range m.OnSetIdx {
 15525  			l = e.ProtoSize()
 15526  			n += 1 + l + sovPlan(uint64(l))
 15527  		}
 15528  	}
 15529  	if len(m.OnSetDef) > 0 {
 15530  		for _, e := range m.OnSetDef {
 15531  			l = e.ProtoSize()
 15532  			n += 1 + l + sovPlan(uint64(l))
 15533  		}
 15534  	}
 15535  	if len(m.OnSetUpdateCol) > 0 {
 15536  		for _, e := range m.OnSetUpdateCol {
 15537  			l = e.ProtoSize()
 15538  			n += 2 + l + sovPlan(uint64(l))
 15539  		}
 15540  	}
 15541  	if len(m.ParentIdx) > 0 {
 15542  		for _, e := range m.ParentIdx {
 15543  			l = e.ProtoSize()
 15544  			n += 2 + l + sovPlan(uint64(l))
 15545  		}
 15546  	}
 15547  	if m.XXX_unrecognized != nil {
 15548  		n += len(m.XXX_unrecognized)
 15549  	}
 15550  	return n
 15551  }
 15552  
 15553  func (m *AnalyzeInfo) ProtoSize() (n int) {
 15554  	if m == nil {
 15555  		return 0
 15556  	}
 15557  	var l int
 15558  	_ = l
 15559  	if m.InputRows != 0 {
 15560  		n += 1 + sovPlan(uint64(m.InputRows))
 15561  	}
 15562  	if m.OutputRows != 0 {
 15563  		n += 1 + sovPlan(uint64(m.OutputRows))
 15564  	}
 15565  	if m.InputSize != 0 {
 15566  		n += 1 + sovPlan(uint64(m.InputSize))
 15567  	}
 15568  	if m.OutputSize != 0 {
 15569  		n += 1 + sovPlan(uint64(m.OutputSize))
 15570  	}
 15571  	if m.TimeConsumed != 0 {
 15572  		n += 1 + sovPlan(uint64(m.TimeConsumed))
 15573  	}
 15574  	if m.MemorySize != 0 {
 15575  		n += 1 + sovPlan(uint64(m.MemorySize))
 15576  	}
 15577  	if m.WaitTimeConsumed != 0 {
 15578  		n += 1 + sovPlan(uint64(m.WaitTimeConsumed))
 15579  	}
 15580  	if m.DiskIO != 0 {
 15581  		n += 1 + sovPlan(uint64(m.DiskIO))
 15582  	}
 15583  	if m.S3IOByte != 0 {
 15584  		n += 1 + sovPlan(uint64(m.S3IOByte))
 15585  	}
 15586  	if m.S3IOCount != 0 {
 15587  		n += 1 + sovPlan(uint64(m.S3IOCount))
 15588  	}
 15589  	if m.NetworkIO != 0 {
 15590  		n += 1 + sovPlan(uint64(m.NetworkIO))
 15591  	}
 15592  	if m.ScanTime != 0 {
 15593  		n += 1 + sovPlan(uint64(m.ScanTime))
 15594  	}
 15595  	if m.InsertTime != 0 {
 15596  		n += 1 + sovPlan(uint64(m.InsertTime))
 15597  	}
 15598  	if m.XXX_unrecognized != nil {
 15599  		n += len(m.XXX_unrecognized)
 15600  	}
 15601  	return n
 15602  }
 15603  
 15604  func (m *Node) ProtoSize() (n int) {
 15605  	if m == nil {
 15606  		return 0
 15607  	}
 15608  	var l int
 15609  	_ = l
 15610  	if m.NodeType != 0 {
 15611  		n += 1 + sovPlan(uint64(m.NodeType))
 15612  	}
 15613  	if m.NodeId != 0 {
 15614  		n += 1 + sovPlan(uint64(m.NodeId))
 15615  	}
 15616  	if m.Stats != nil {
 15617  		l = m.Stats.ProtoSize()
 15618  		n += 1 + l + sovPlan(uint64(l))
 15619  	}
 15620  	if len(m.ProjectList) > 0 {
 15621  		for _, e := range m.ProjectList {
 15622  			l = e.ProtoSize()
 15623  			n += 1 + l + sovPlan(uint64(l))
 15624  		}
 15625  	}
 15626  	if len(m.Children) > 0 {
 15627  		l = 0
 15628  		for _, e := range m.Children {
 15629  			l += sovPlan(uint64(e))
 15630  		}
 15631  		n += 1 + sovPlan(uint64(l)) + l
 15632  	}
 15633  	if m.JoinType != 0 {
 15634  		n += 1 + sovPlan(uint64(m.JoinType))
 15635  	}
 15636  	if len(m.OnList) > 0 {
 15637  		for _, e := range m.OnList {
 15638  			l = e.ProtoSize()
 15639  			n += 1 + l + sovPlan(uint64(l))
 15640  		}
 15641  	}
 15642  	if len(m.FilterList) > 0 {
 15643  		for _, e := range m.FilterList {
 15644  			l = e.ProtoSize()
 15645  			n += 1 + l + sovPlan(uint64(l))
 15646  		}
 15647  	}
 15648  	if len(m.GroupBy) > 0 {
 15649  		for _, e := range m.GroupBy {
 15650  			l = e.ProtoSize()
 15651  			n += 1 + l + sovPlan(uint64(l))
 15652  		}
 15653  	}
 15654  	if len(m.GroupingSet) > 0 {
 15655  		for _, e := range m.GroupingSet {
 15656  			l = e.ProtoSize()
 15657  			n += 1 + l + sovPlan(uint64(l))
 15658  		}
 15659  	}
 15660  	if len(m.AggList) > 0 {
 15661  		for _, e := range m.AggList {
 15662  			l = e.ProtoSize()
 15663  			n += 1 + l + sovPlan(uint64(l))
 15664  		}
 15665  	}
 15666  	if len(m.OrderBy) > 0 {
 15667  		for _, e := range m.OrderBy {
 15668  			l = e.ProtoSize()
 15669  			n += 1 + l + sovPlan(uint64(l))
 15670  		}
 15671  	}
 15672  	if m.UpdateCtx != nil {
 15673  		l = m.UpdateCtx.ProtoSize()
 15674  		n += 1 + l + sovPlan(uint64(l))
 15675  	}
 15676  	if m.WinSpec != nil {
 15677  		l = m.WinSpec.ProtoSize()
 15678  		n += 1 + l + sovPlan(uint64(l))
 15679  	}
 15680  	if m.Limit != nil {
 15681  		l = m.Limit.ProtoSize()
 15682  		n += 1 + l + sovPlan(uint64(l))
 15683  	}
 15684  	if m.Offset != nil {
 15685  		l = m.Offset.ProtoSize()
 15686  		n += 2 + l + sovPlan(uint64(l))
 15687  	}
 15688  	if m.TableDef != nil {
 15689  		l = m.TableDef.ProtoSize()
 15690  		n += 2 + l + sovPlan(uint64(l))
 15691  	}
 15692  	if len(m.TableDefVec) > 0 {
 15693  		for _, e := range m.TableDefVec {
 15694  			l = e.ProtoSize()
 15695  			n += 2 + l + sovPlan(uint64(l))
 15696  		}
 15697  	}
 15698  	if m.ObjRef != nil {
 15699  		l = m.ObjRef.ProtoSize()
 15700  		n += 2 + l + sovPlan(uint64(l))
 15701  	}
 15702  	if m.RowsetData != nil {
 15703  		l = m.RowsetData.ProtoSize()
 15704  		n += 2 + l + sovPlan(uint64(l))
 15705  	}
 15706  	l = len(m.ExtraOptions)
 15707  	if l > 0 {
 15708  		n += 2 + l + sovPlan(uint64(l))
 15709  	}
 15710  	if m.DeleteCtx != nil {
 15711  		l = m.DeleteCtx.ProtoSize()
 15712  		n += 2 + l + sovPlan(uint64(l))
 15713  	}
 15714  	if len(m.BindingTags) > 0 {
 15715  		l = 0
 15716  		for _, e := range m.BindingTags {
 15717  			l += sovPlan(uint64(e))
 15718  		}
 15719  		n += 2 + sovPlan(uint64(l)) + l
 15720  	}
 15721  	if m.AnalyzeInfo != nil {
 15722  		l = m.AnalyzeInfo.ProtoSize()
 15723  		n += 2 + l + sovPlan(uint64(l))
 15724  	}
 15725  	if len(m.TblFuncExprList) > 0 {
 15726  		for _, e := range m.TblFuncExprList {
 15727  			l = e.ProtoSize()
 15728  			n += 2 + l + sovPlan(uint64(l))
 15729  		}
 15730  	}
 15731  	if m.Parallelism != 0 {
 15732  		n += 2 + sovPlan(uint64(m.Parallelism))
 15733  	}
 15734  	if m.ClusterTable != nil {
 15735  		l = m.ClusterTable.ProtoSize()
 15736  		n += 2 + l + sovPlan(uint64(l))
 15737  	}
 15738  	if m.NotCacheable {
 15739  		n += 3
 15740  	}
 15741  	if m.InsertCtx != nil {
 15742  		l = m.InsertCtx.ProtoSize()
 15743  		n += 2 + l + sovPlan(uint64(l))
 15744  	}
 15745  	if m.XXX_unrecognized != nil {
 15746  		n += len(m.XXX_unrecognized)
 15747  	}
 15748  	return n
 15749  }
 15750  
 15751  func (m *IdList) ProtoSize() (n int) {
 15752  	if m == nil {
 15753  		return 0
 15754  	}
 15755  	var l int
 15756  	_ = l
 15757  	if len(m.List) > 0 {
 15758  		l = 0
 15759  		for _, e := range m.List {
 15760  			l += sovPlan(uint64(e))
 15761  		}
 15762  		n += 1 + sovPlan(uint64(l)) + l
 15763  	}
 15764  	if m.XXX_unrecognized != nil {
 15765  		n += len(m.XXX_unrecognized)
 15766  	}
 15767  	return n
 15768  }
 15769  
 15770  func (m *ColPosMap) ProtoSize() (n int) {
 15771  	if m == nil {
 15772  		return 0
 15773  	}
 15774  	var l int
 15775  	_ = l
 15776  	if len(m.Map) > 0 {
 15777  		for k, v := range m.Map {
 15778  			_ = k
 15779  			_ = v
 15780  			mapEntrySize := 1 + len(k) + sovPlan(uint64(len(k))) + 1 + sovPlan(uint64(v))
 15781  			n += mapEntrySize + 1 + sovPlan(uint64(mapEntrySize))
 15782  		}
 15783  	}
 15784  	if m.XXX_unrecognized != nil {
 15785  		n += len(m.XXX_unrecognized)
 15786  	}
 15787  	return n
 15788  }
 15789  
 15790  func (m *DeleteCtx) ProtoSize() (n int) {
 15791  	if m == nil {
 15792  		return 0
 15793  	}
 15794  	var l int
 15795  	_ = l
 15796  	if len(m.Ref) > 0 {
 15797  		for _, e := range m.Ref {
 15798  			l = e.ProtoSize()
 15799  			n += 1 + l + sovPlan(uint64(l))
 15800  		}
 15801  	}
 15802  	if len(m.IdxRef) > 0 {
 15803  		for _, e := range m.IdxRef {
 15804  			l = e.ProtoSize()
 15805  			n += 1 + l + sovPlan(uint64(l))
 15806  		}
 15807  	}
 15808  	if len(m.IdxIdx) > 0 {
 15809  		l = 0
 15810  		for _, e := range m.IdxIdx {
 15811  			l += sovPlan(uint64(e))
 15812  		}
 15813  		n += 1 + sovPlan(uint64(l)) + l
 15814  	}
 15815  	if len(m.OnRestrictRef) > 0 {
 15816  		for _, e := range m.OnRestrictRef {
 15817  			l = e.ProtoSize()
 15818  			n += 1 + l + sovPlan(uint64(l))
 15819  		}
 15820  	}
 15821  	if len(m.OnRestrictIdx) > 0 {
 15822  		l = 0
 15823  		for _, e := range m.OnRestrictIdx {
 15824  			l += sovPlan(uint64(e))
 15825  		}
 15826  		n += 1 + sovPlan(uint64(l)) + l
 15827  	}
 15828  	if len(m.OnCascadeRef) > 0 {
 15829  		for _, e := range m.OnCascadeRef {
 15830  			l = e.ProtoSize()
 15831  			n += 1 + l + sovPlan(uint64(l))
 15832  		}
 15833  	}
 15834  	if len(m.OnCascadeIdx) > 0 {
 15835  		l = 0
 15836  		for _, e := range m.OnCascadeIdx {
 15837  			l += sovPlan(uint64(e))
 15838  		}
 15839  		n += 1 + sovPlan(uint64(l)) + l
 15840  	}
 15841  	if len(m.OnSetRef) > 0 {
 15842  		for _, e := range m.OnSetRef {
 15843  			l = e.ProtoSize()
 15844  			n += 1 + l + sovPlan(uint64(l))
 15845  		}
 15846  	}
 15847  	if len(m.OnSetDef) > 0 {
 15848  		for _, e := range m.OnSetDef {
 15849  			l = e.ProtoSize()
 15850  			n += 1 + l + sovPlan(uint64(l))
 15851  		}
 15852  	}
 15853  	if len(m.OnSetIdx) > 0 {
 15854  		for _, e := range m.OnSetIdx {
 15855  			l = e.ProtoSize()
 15856  			n += 1 + l + sovPlan(uint64(l))
 15857  		}
 15858  	}
 15859  	if len(m.OnSetUpdateCol) > 0 {
 15860  		for _, e := range m.OnSetUpdateCol {
 15861  			l = e.ProtoSize()
 15862  			n += 1 + l + sovPlan(uint64(l))
 15863  		}
 15864  	}
 15865  	if m.CanTruncate {
 15866  		n += 2
 15867  	}
 15868  	if m.XXX_unrecognized != nil {
 15869  		n += len(m.XXX_unrecognized)
 15870  	}
 15871  	return n
 15872  }
 15873  
 15874  func (m *Query) ProtoSize() (n int) {
 15875  	if m == nil {
 15876  		return 0
 15877  	}
 15878  	var l int
 15879  	_ = l
 15880  	if m.StmtType != 0 {
 15881  		n += 1 + sovPlan(uint64(m.StmtType))
 15882  	}
 15883  	if len(m.Steps) > 0 {
 15884  		l = 0
 15885  		for _, e := range m.Steps {
 15886  			l += sovPlan(uint64(e))
 15887  		}
 15888  		n += 1 + sovPlan(uint64(l)) + l
 15889  	}
 15890  	if len(m.Nodes) > 0 {
 15891  		for _, e := range m.Nodes {
 15892  			l = e.ProtoSize()
 15893  			n += 1 + l + sovPlan(uint64(l))
 15894  		}
 15895  	}
 15896  	if len(m.Params) > 0 {
 15897  		for _, e := range m.Params {
 15898  			l = e.ProtoSize()
 15899  			n += 1 + l + sovPlan(uint64(l))
 15900  		}
 15901  	}
 15902  	if len(m.Headings) > 0 {
 15903  		for _, s := range m.Headings {
 15904  			l = len(s)
 15905  			n += 1 + l + sovPlan(uint64(l))
 15906  		}
 15907  	}
 15908  	if m.LoadTag {
 15909  		n += 2
 15910  	}
 15911  	if m.XXX_unrecognized != nil {
 15912  		n += len(m.XXX_unrecognized)
 15913  	}
 15914  	return n
 15915  }
 15916  
 15917  func (m *TransationControl) ProtoSize() (n int) {
 15918  	if m == nil {
 15919  		return 0
 15920  	}
 15921  	var l int
 15922  	_ = l
 15923  	if m.TclType != 0 {
 15924  		n += 1 + sovPlan(uint64(m.TclType))
 15925  	}
 15926  	if m.Action != nil {
 15927  		n += m.Action.ProtoSize()
 15928  	}
 15929  	if m.XXX_unrecognized != nil {
 15930  		n += len(m.XXX_unrecognized)
 15931  	}
 15932  	return n
 15933  }
 15934  
 15935  func (m *TransationControl_Begin) ProtoSize() (n int) {
 15936  	if m == nil {
 15937  		return 0
 15938  	}
 15939  	var l int
 15940  	_ = l
 15941  	if m.Begin != nil {
 15942  		l = m.Begin.ProtoSize()
 15943  		n += 1 + l + sovPlan(uint64(l))
 15944  	}
 15945  	return n
 15946  }
 15947  func (m *TransationControl_Commit) ProtoSize() (n int) {
 15948  	if m == nil {
 15949  		return 0
 15950  	}
 15951  	var l int
 15952  	_ = l
 15953  	if m.Commit != nil {
 15954  		l = m.Commit.ProtoSize()
 15955  		n += 1 + l + sovPlan(uint64(l))
 15956  	}
 15957  	return n
 15958  }
 15959  func (m *TransationControl_Rollback) ProtoSize() (n int) {
 15960  	if m == nil {
 15961  		return 0
 15962  	}
 15963  	var l int
 15964  	_ = l
 15965  	if m.Rollback != nil {
 15966  		l = m.Rollback.ProtoSize()
 15967  		n += 1 + l + sovPlan(uint64(l))
 15968  	}
 15969  	return n
 15970  }
 15971  func (m *TransationBegin) ProtoSize() (n int) {
 15972  	if m == nil {
 15973  		return 0
 15974  	}
 15975  	var l int
 15976  	_ = l
 15977  	if m.Mode != 0 {
 15978  		n += 1 + sovPlan(uint64(m.Mode))
 15979  	}
 15980  	if m.XXX_unrecognized != nil {
 15981  		n += len(m.XXX_unrecognized)
 15982  	}
 15983  	return n
 15984  }
 15985  
 15986  func (m *TransationCommit) ProtoSize() (n int) {
 15987  	if m == nil {
 15988  		return 0
 15989  	}
 15990  	var l int
 15991  	_ = l
 15992  	if m.CompletionType != 0 {
 15993  		n += 1 + sovPlan(uint64(m.CompletionType))
 15994  	}
 15995  	if m.XXX_unrecognized != nil {
 15996  		n += len(m.XXX_unrecognized)
 15997  	}
 15998  	return n
 15999  }
 16000  
 16001  func (m *TransationRollback) ProtoSize() (n int) {
 16002  	if m == nil {
 16003  		return 0
 16004  	}
 16005  	var l int
 16006  	_ = l
 16007  	if m.CompletionType != 0 {
 16008  		n += 1 + sovPlan(uint64(m.CompletionType))
 16009  	}
 16010  	if m.XXX_unrecognized != nil {
 16011  		n += len(m.XXX_unrecognized)
 16012  	}
 16013  	return n
 16014  }
 16015  
 16016  func (m *Plan) ProtoSize() (n int) {
 16017  	if m == nil {
 16018  		return 0
 16019  	}
 16020  	var l int
 16021  	_ = l
 16022  	if m.Plan != nil {
 16023  		n += m.Plan.ProtoSize()
 16024  	}
 16025  	if m.XXX_unrecognized != nil {
 16026  		n += len(m.XXX_unrecognized)
 16027  	}
 16028  	return n
 16029  }
 16030  
 16031  func (m *Plan_Query) ProtoSize() (n int) {
 16032  	if m == nil {
 16033  		return 0
 16034  	}
 16035  	var l int
 16036  	_ = l
 16037  	if m.Query != nil {
 16038  		l = m.Query.ProtoSize()
 16039  		n += 1 + l + sovPlan(uint64(l))
 16040  	}
 16041  	return n
 16042  }
 16043  func (m *Plan_Tcl) ProtoSize() (n int) {
 16044  	if m == nil {
 16045  		return 0
 16046  	}
 16047  	var l int
 16048  	_ = l
 16049  	if m.Tcl != nil {
 16050  		l = m.Tcl.ProtoSize()
 16051  		n += 1 + l + sovPlan(uint64(l))
 16052  	}
 16053  	return n
 16054  }
 16055  func (m *Plan_Ddl) ProtoSize() (n int) {
 16056  	if m == nil {
 16057  		return 0
 16058  	}
 16059  	var l int
 16060  	_ = l
 16061  	if m.Ddl != nil {
 16062  		l = m.Ddl.ProtoSize()
 16063  		n += 1 + l + sovPlan(uint64(l))
 16064  	}
 16065  	return n
 16066  }
 16067  func (m *Plan_Dcl) ProtoSize() (n int) {
 16068  	if m == nil {
 16069  		return 0
 16070  	}
 16071  	var l int
 16072  	_ = l
 16073  	if m.Dcl != nil {
 16074  		l = m.Dcl.ProtoSize()
 16075  		n += 1 + l + sovPlan(uint64(l))
 16076  	}
 16077  	return n
 16078  }
 16079  func (m *Column) ProtoSize() (n int) {
 16080  	if m == nil {
 16081  		return 0
 16082  	}
 16083  	var l int
 16084  	_ = l
 16085  	if len(m.Column) > 0 {
 16086  		for _, e := range m.Column {
 16087  			l = e.ProtoSize()
 16088  			n += 1 + l + sovPlan(uint64(l))
 16089  		}
 16090  	}
 16091  	if m.XXX_unrecognized != nil {
 16092  		n += len(m.XXX_unrecognized)
 16093  	}
 16094  	return n
 16095  }
 16096  
 16097  func (m *DataControl) ProtoSize() (n int) {
 16098  	if m == nil {
 16099  		return 0
 16100  	}
 16101  	var l int
 16102  	_ = l
 16103  	if m.DclType != 0 {
 16104  		n += 1 + sovPlan(uint64(m.DclType))
 16105  	}
 16106  	if m.Control != nil {
 16107  		n += m.Control.ProtoSize()
 16108  	}
 16109  	if m.XXX_unrecognized != nil {
 16110  		n += len(m.XXX_unrecognized)
 16111  	}
 16112  	return n
 16113  }
 16114  
 16115  func (m *DataControl_SetVariables) ProtoSize() (n int) {
 16116  	if m == nil {
 16117  		return 0
 16118  	}
 16119  	var l int
 16120  	_ = l
 16121  	if m.SetVariables != nil {
 16122  		l = m.SetVariables.ProtoSize()
 16123  		n += 1 + l + sovPlan(uint64(l))
 16124  	}
 16125  	return n
 16126  }
 16127  func (m *DataControl_Prepare) ProtoSize() (n int) {
 16128  	if m == nil {
 16129  		return 0
 16130  	}
 16131  	var l int
 16132  	_ = l
 16133  	if m.Prepare != nil {
 16134  		l = m.Prepare.ProtoSize()
 16135  		n += 1 + l + sovPlan(uint64(l))
 16136  	}
 16137  	return n
 16138  }
 16139  func (m *DataControl_Execute) ProtoSize() (n int) {
 16140  	if m == nil {
 16141  		return 0
 16142  	}
 16143  	var l int
 16144  	_ = l
 16145  	if m.Execute != nil {
 16146  		l = m.Execute.ProtoSize()
 16147  		n += 1 + l + sovPlan(uint64(l))
 16148  	}
 16149  	return n
 16150  }
 16151  func (m *DataControl_Deallocate) ProtoSize() (n int) {
 16152  	if m == nil {
 16153  		return 0
 16154  	}
 16155  	var l int
 16156  	_ = l
 16157  	if m.Deallocate != nil {
 16158  		l = m.Deallocate.ProtoSize()
 16159  		n += 1 + l + sovPlan(uint64(l))
 16160  	}
 16161  	return n
 16162  }
 16163  func (m *DataDefinition) ProtoSize() (n int) {
 16164  	if m == nil {
 16165  		return 0
 16166  	}
 16167  	var l int
 16168  	_ = l
 16169  	if m.DdlType != 0 {
 16170  		n += 1 + sovPlan(uint64(m.DdlType))
 16171  	}
 16172  	if m.Query != nil {
 16173  		l = m.Query.ProtoSize()
 16174  		n += 1 + l + sovPlan(uint64(l))
 16175  	}
 16176  	if m.Definition != nil {
 16177  		n += m.Definition.ProtoSize()
 16178  	}
 16179  	if m.XXX_unrecognized != nil {
 16180  		n += len(m.XXX_unrecognized)
 16181  	}
 16182  	return n
 16183  }
 16184  
 16185  func (m *DataDefinition_CreateDatabase) ProtoSize() (n int) {
 16186  	if m == nil {
 16187  		return 0
 16188  	}
 16189  	var l int
 16190  	_ = l
 16191  	if m.CreateDatabase != nil {
 16192  		l = m.CreateDatabase.ProtoSize()
 16193  		n += 1 + l + sovPlan(uint64(l))
 16194  	}
 16195  	return n
 16196  }
 16197  func (m *DataDefinition_AlterDatabase) ProtoSize() (n int) {
 16198  	if m == nil {
 16199  		return 0
 16200  	}
 16201  	var l int
 16202  	_ = l
 16203  	if m.AlterDatabase != nil {
 16204  		l = m.AlterDatabase.ProtoSize()
 16205  		n += 1 + l + sovPlan(uint64(l))
 16206  	}
 16207  	return n
 16208  }
 16209  func (m *DataDefinition_DropDatabase) ProtoSize() (n int) {
 16210  	if m == nil {
 16211  		return 0
 16212  	}
 16213  	var l int
 16214  	_ = l
 16215  	if m.DropDatabase != nil {
 16216  		l = m.DropDatabase.ProtoSize()
 16217  		n += 1 + l + sovPlan(uint64(l))
 16218  	}
 16219  	return n
 16220  }
 16221  func (m *DataDefinition_CreateTable) ProtoSize() (n int) {
 16222  	if m == nil {
 16223  		return 0
 16224  	}
 16225  	var l int
 16226  	_ = l
 16227  	if m.CreateTable != nil {
 16228  		l = m.CreateTable.ProtoSize()
 16229  		n += 1 + l + sovPlan(uint64(l))
 16230  	}
 16231  	return n
 16232  }
 16233  func (m *DataDefinition_AlterTable) ProtoSize() (n int) {
 16234  	if m == nil {
 16235  		return 0
 16236  	}
 16237  	var l int
 16238  	_ = l
 16239  	if m.AlterTable != nil {
 16240  		l = m.AlterTable.ProtoSize()
 16241  		n += 1 + l + sovPlan(uint64(l))
 16242  	}
 16243  	return n
 16244  }
 16245  func (m *DataDefinition_DropTable) ProtoSize() (n int) {
 16246  	if m == nil {
 16247  		return 0
 16248  	}
 16249  	var l int
 16250  	_ = l
 16251  	if m.DropTable != nil {
 16252  		l = m.DropTable.ProtoSize()
 16253  		n += 1 + l + sovPlan(uint64(l))
 16254  	}
 16255  	return n
 16256  }
 16257  func (m *DataDefinition_CreateIndex) ProtoSize() (n int) {
 16258  	if m == nil {
 16259  		return 0
 16260  	}
 16261  	var l int
 16262  	_ = l
 16263  	if m.CreateIndex != nil {
 16264  		l = m.CreateIndex.ProtoSize()
 16265  		n += 1 + l + sovPlan(uint64(l))
 16266  	}
 16267  	return n
 16268  }
 16269  func (m *DataDefinition_AlterIndex) ProtoSize() (n int) {
 16270  	if m == nil {
 16271  		return 0
 16272  	}
 16273  	var l int
 16274  	_ = l
 16275  	if m.AlterIndex != nil {
 16276  		l = m.AlterIndex.ProtoSize()
 16277  		n += 1 + l + sovPlan(uint64(l))
 16278  	}
 16279  	return n
 16280  }
 16281  func (m *DataDefinition_DropIndex) ProtoSize() (n int) {
 16282  	if m == nil {
 16283  		return 0
 16284  	}
 16285  	var l int
 16286  	_ = l
 16287  	if m.DropIndex != nil {
 16288  		l = m.DropIndex.ProtoSize()
 16289  		n += 1 + l + sovPlan(uint64(l))
 16290  	}
 16291  	return n
 16292  }
 16293  func (m *DataDefinition_TruncateTable) ProtoSize() (n int) {
 16294  	if m == nil {
 16295  		return 0
 16296  	}
 16297  	var l int
 16298  	_ = l
 16299  	if m.TruncateTable != nil {
 16300  		l = m.TruncateTable.ProtoSize()
 16301  		n += 1 + l + sovPlan(uint64(l))
 16302  	}
 16303  	return n
 16304  }
 16305  func (m *DataDefinition_ShowVariables) ProtoSize() (n int) {
 16306  	if m == nil {
 16307  		return 0
 16308  	}
 16309  	var l int
 16310  	_ = l
 16311  	if m.ShowVariables != nil {
 16312  		l = m.ShowVariables.ProtoSize()
 16313  		n += 1 + l + sovPlan(uint64(l))
 16314  	}
 16315  	return n
 16316  }
 16317  func (m *DataDefinition_AlterView) ProtoSize() (n int) {
 16318  	if m == nil {
 16319  		return 0
 16320  	}
 16321  	var l int
 16322  	_ = l
 16323  	if m.AlterView != nil {
 16324  		l = m.AlterView.ProtoSize()
 16325  		n += 1 + l + sovPlan(uint64(l))
 16326  	}
 16327  	return n
 16328  }
 16329  func (m *CreateDatabase) ProtoSize() (n int) {
 16330  	if m == nil {
 16331  		return 0
 16332  	}
 16333  	var l int
 16334  	_ = l
 16335  	if m.IfNotExists {
 16336  		n += 2
 16337  	}
 16338  	l = len(m.Database)
 16339  	if l > 0 {
 16340  		n += 1 + l + sovPlan(uint64(l))
 16341  	}
 16342  	if m.XXX_unrecognized != nil {
 16343  		n += len(m.XXX_unrecognized)
 16344  	}
 16345  	return n
 16346  }
 16347  
 16348  func (m *AlterDatabase) ProtoSize() (n int) {
 16349  	if m == nil {
 16350  		return 0
 16351  	}
 16352  	var l int
 16353  	_ = l
 16354  	if m.IfExists {
 16355  		n += 2
 16356  	}
 16357  	l = len(m.Database)
 16358  	if l > 0 {
 16359  		n += 1 + l + sovPlan(uint64(l))
 16360  	}
 16361  	if m.XXX_unrecognized != nil {
 16362  		n += len(m.XXX_unrecognized)
 16363  	}
 16364  	return n
 16365  }
 16366  
 16367  func (m *DropDatabase) ProtoSize() (n int) {
 16368  	if m == nil {
 16369  		return 0
 16370  	}
 16371  	var l int
 16372  	_ = l
 16373  	if m.IfExists {
 16374  		n += 2
 16375  	}
 16376  	l = len(m.Database)
 16377  	if l > 0 {
 16378  		n += 1 + l + sovPlan(uint64(l))
 16379  	}
 16380  	if m.XXX_unrecognized != nil {
 16381  		n += len(m.XXX_unrecognized)
 16382  	}
 16383  	return n
 16384  }
 16385  
 16386  func (m *CreateTable) ProtoSize() (n int) {
 16387  	if m == nil {
 16388  		return 0
 16389  	}
 16390  	var l int
 16391  	_ = l
 16392  	if m.IfNotExists {
 16393  		n += 2
 16394  	}
 16395  	if m.Temporary {
 16396  		n += 2
 16397  	}
 16398  	l = len(m.Database)
 16399  	if l > 0 {
 16400  		n += 1 + l + sovPlan(uint64(l))
 16401  	}
 16402  	if m.TableDef != nil {
 16403  		l = m.TableDef.ProtoSize()
 16404  		n += 1 + l + sovPlan(uint64(l))
 16405  	}
 16406  	if len(m.IndexTables) > 0 {
 16407  		for _, e := range m.IndexTables {
 16408  			l = e.ProtoSize()
 16409  			n += 1 + l + sovPlan(uint64(l))
 16410  		}
 16411  	}
 16412  	if len(m.FkDbs) > 0 {
 16413  		for _, s := range m.FkDbs {
 16414  			l = len(s)
 16415  			n += 1 + l + sovPlan(uint64(l))
 16416  		}
 16417  	}
 16418  	if len(m.FkTables) > 0 {
 16419  		for _, s := range m.FkTables {
 16420  			l = len(s)
 16421  			n += 1 + l + sovPlan(uint64(l))
 16422  		}
 16423  	}
 16424  	if len(m.FkCols) > 0 {
 16425  		for _, e := range m.FkCols {
 16426  			l = e.ProtoSize()
 16427  			n += 1 + l + sovPlan(uint64(l))
 16428  		}
 16429  	}
 16430  	if m.XXX_unrecognized != nil {
 16431  		n += len(m.XXX_unrecognized)
 16432  	}
 16433  	return n
 16434  }
 16435  
 16436  func (m *CreateTable_FkColName) ProtoSize() (n int) {
 16437  	if m == nil {
 16438  		return 0
 16439  	}
 16440  	var l int
 16441  	_ = l
 16442  	if len(m.Cols) > 0 {
 16443  		for _, s := range m.Cols {
 16444  			l = len(s)
 16445  			n += 1 + l + sovPlan(uint64(l))
 16446  		}
 16447  	}
 16448  	if m.XXX_unrecognized != nil {
 16449  		n += len(m.XXX_unrecognized)
 16450  	}
 16451  	return n
 16452  }
 16453  
 16454  func (m *AlterTable) ProtoSize() (n int) {
 16455  	if m == nil {
 16456  		return 0
 16457  	}
 16458  	var l int
 16459  	_ = l
 16460  	l = len(m.Table)
 16461  	if l > 0 {
 16462  		n += 1 + l + sovPlan(uint64(l))
 16463  	}
 16464  	if m.TableDef != nil {
 16465  		l = m.TableDef.ProtoSize()
 16466  		n += 1 + l + sovPlan(uint64(l))
 16467  	}
 16468  	if m.XXX_unrecognized != nil {
 16469  		n += len(m.XXX_unrecognized)
 16470  	}
 16471  	return n
 16472  }
 16473  
 16474  func (m *AlterView) ProtoSize() (n int) {
 16475  	if m == nil {
 16476  		return 0
 16477  	}
 16478  	var l int
 16479  	_ = l
 16480  	if m.IfExists {
 16481  		n += 2
 16482  	}
 16483  	l = len(m.Database)
 16484  	if l > 0 {
 16485  		n += 1 + l + sovPlan(uint64(l))
 16486  	}
 16487  	if m.Temporary {
 16488  		n += 2
 16489  	}
 16490  	l = len(m.Table)
 16491  	if l > 0 {
 16492  		n += 1 + l + sovPlan(uint64(l))
 16493  	}
 16494  	if m.TableDef != nil {
 16495  		l = m.TableDef.ProtoSize()
 16496  		n += 1 + l + sovPlan(uint64(l))
 16497  	}
 16498  	if len(m.IndexTables) > 0 {
 16499  		for _, e := range m.IndexTables {
 16500  			l = e.ProtoSize()
 16501  			n += 1 + l + sovPlan(uint64(l))
 16502  		}
 16503  	}
 16504  	if m.XXX_unrecognized != nil {
 16505  		n += len(m.XXX_unrecognized)
 16506  	}
 16507  	return n
 16508  }
 16509  
 16510  func (m *DropTable) ProtoSize() (n int) {
 16511  	if m == nil {
 16512  		return 0
 16513  	}
 16514  	var l int
 16515  	_ = l
 16516  	if m.IfExists {
 16517  		n += 2
 16518  	}
 16519  	l = len(m.Database)
 16520  	if l > 0 {
 16521  		n += 1 + l + sovPlan(uint64(l))
 16522  	}
 16523  	l = len(m.Table)
 16524  	if l > 0 {
 16525  		n += 1 + l + sovPlan(uint64(l))
 16526  	}
 16527  	if len(m.IndexTableNames) > 0 {
 16528  		for _, s := range m.IndexTableNames {
 16529  			l = len(s)
 16530  			n += 1 + l + sovPlan(uint64(l))
 16531  		}
 16532  	}
 16533  	if m.ClusterTable != nil {
 16534  		l = m.ClusterTable.ProtoSize()
 16535  		n += 1 + l + sovPlan(uint64(l))
 16536  	}
 16537  	if m.TableId != 0 {
 16538  		n += 1 + sovPlan(uint64(m.TableId))
 16539  	}
 16540  	if len(m.ForeignTbl) > 0 {
 16541  		l = 0
 16542  		for _, e := range m.ForeignTbl {
 16543  			l += sovPlan(uint64(e))
 16544  		}
 16545  		n += 1 + sovPlan(uint64(l)) + l
 16546  	}
 16547  	if m.XXX_unrecognized != nil {
 16548  		n += len(m.XXX_unrecognized)
 16549  	}
 16550  	return n
 16551  }
 16552  
 16553  func (m *CreateIndex) ProtoSize() (n int) {
 16554  	if m == nil {
 16555  		return 0
 16556  	}
 16557  	var l int
 16558  	_ = l
 16559  	l = len(m.Database)
 16560  	if l > 0 {
 16561  		n += 1 + l + sovPlan(uint64(l))
 16562  	}
 16563  	l = len(m.Table)
 16564  	if l > 0 {
 16565  		n += 1 + l + sovPlan(uint64(l))
 16566  	}
 16567  	l = len(m.OriginTablePrimaryKey)
 16568  	if l > 0 {
 16569  		n += 1 + l + sovPlan(uint64(l))
 16570  	}
 16571  	if m.Index != nil {
 16572  		l = m.Index.ProtoSize()
 16573  		n += 1 + l + sovPlan(uint64(l))
 16574  	}
 16575  	if m.TableExist {
 16576  		n += 2
 16577  	}
 16578  	if m.XXX_unrecognized != nil {
 16579  		n += len(m.XXX_unrecognized)
 16580  	}
 16581  	return n
 16582  }
 16583  
 16584  func (m *AlterIndex) ProtoSize() (n int) {
 16585  	if m == nil {
 16586  		return 0
 16587  	}
 16588  	var l int
 16589  	_ = l
 16590  	l = len(m.Index)
 16591  	if l > 0 {
 16592  		n += 1 + l + sovPlan(uint64(l))
 16593  	}
 16594  	if m.XXX_unrecognized != nil {
 16595  		n += len(m.XXX_unrecognized)
 16596  	}
 16597  	return n
 16598  }
 16599  
 16600  func (m *DropIndex) ProtoSize() (n int) {
 16601  	if m == nil {
 16602  		return 0
 16603  	}
 16604  	var l int
 16605  	_ = l
 16606  	l = len(m.Database)
 16607  	if l > 0 {
 16608  		n += 1 + l + sovPlan(uint64(l))
 16609  	}
 16610  	l = len(m.Table)
 16611  	if l > 0 {
 16612  		n += 1 + l + sovPlan(uint64(l))
 16613  	}
 16614  	l = len(m.IndexName)
 16615  	if l > 0 {
 16616  		n += 1 + l + sovPlan(uint64(l))
 16617  	}
 16618  	l = len(m.IndexTableName)
 16619  	if l > 0 {
 16620  		n += 1 + l + sovPlan(uint64(l))
 16621  	}
 16622  	if m.XXX_unrecognized != nil {
 16623  		n += len(m.XXX_unrecognized)
 16624  	}
 16625  	return n
 16626  }
 16627  
 16628  func (m *TruncateTable) ProtoSize() (n int) {
 16629  	if m == nil {
 16630  		return 0
 16631  	}
 16632  	var l int
 16633  	_ = l
 16634  	l = len(m.Database)
 16635  	if l > 0 {
 16636  		n += 1 + l + sovPlan(uint64(l))
 16637  	}
 16638  	l = len(m.Table)
 16639  	if l > 0 {
 16640  		n += 1 + l + sovPlan(uint64(l))
 16641  	}
 16642  	if len(m.IndexTableNames) > 0 {
 16643  		for _, s := range m.IndexTableNames {
 16644  			l = len(s)
 16645  			n += 1 + l + sovPlan(uint64(l))
 16646  		}
 16647  	}
 16648  	if m.ClusterTable != nil {
 16649  		l = m.ClusterTable.ProtoSize()
 16650  		n += 1 + l + sovPlan(uint64(l))
 16651  	}
 16652  	if m.TableId != 0 {
 16653  		n += 1 + sovPlan(uint64(m.TableId))
 16654  	}
 16655  	if len(m.ForeignTbl) > 0 {
 16656  		l = 0
 16657  		for _, e := range m.ForeignTbl {
 16658  			l += sovPlan(uint64(e))
 16659  		}
 16660  		n += 1 + sovPlan(uint64(l)) + l
 16661  	}
 16662  	if m.XXX_unrecognized != nil {
 16663  		n += len(m.XXX_unrecognized)
 16664  	}
 16665  	return n
 16666  }
 16667  
 16668  func (m *ClusterTable) ProtoSize() (n int) {
 16669  	if m == nil {
 16670  		return 0
 16671  	}
 16672  	var l int
 16673  	_ = l
 16674  	if m.IsClusterTable {
 16675  		n += 2
 16676  	}
 16677  	if len(m.AccountIDs) > 0 {
 16678  		l = 0
 16679  		for _, e := range m.AccountIDs {
 16680  			l += sovPlan(uint64(e))
 16681  		}
 16682  		n += 1 + sovPlan(uint64(l)) + l
 16683  	}
 16684  	if m.ColumnIndexOfAccountId != 0 {
 16685  		n += 1 + sovPlan(uint64(m.ColumnIndexOfAccountId))
 16686  	}
 16687  	if m.XXX_unrecognized != nil {
 16688  		n += len(m.XXX_unrecognized)
 16689  	}
 16690  	return n
 16691  }
 16692  
 16693  func (m *ShowVariables) ProtoSize() (n int) {
 16694  	if m == nil {
 16695  		return 0
 16696  	}
 16697  	var l int
 16698  	_ = l
 16699  	if m.Global {
 16700  		n += 2
 16701  	}
 16702  	if len(m.Where) > 0 {
 16703  		for _, e := range m.Where {
 16704  			l = e.ProtoSize()
 16705  			n += 1 + l + sovPlan(uint64(l))
 16706  		}
 16707  	}
 16708  	if m.XXX_unrecognized != nil {
 16709  		n += len(m.XXX_unrecognized)
 16710  	}
 16711  	return n
 16712  }
 16713  
 16714  func (m *SetVariables) ProtoSize() (n int) {
 16715  	if m == nil {
 16716  		return 0
 16717  	}
 16718  	var l int
 16719  	_ = l
 16720  	if len(m.Items) > 0 {
 16721  		for _, e := range m.Items {
 16722  			l = e.ProtoSize()
 16723  			n += 1 + l + sovPlan(uint64(l))
 16724  		}
 16725  	}
 16726  	if m.XXX_unrecognized != nil {
 16727  		n += len(m.XXX_unrecognized)
 16728  	}
 16729  	return n
 16730  }
 16731  
 16732  func (m *SetVariablesItem) ProtoSize() (n int) {
 16733  	if m == nil {
 16734  		return 0
 16735  	}
 16736  	var l int
 16737  	_ = l
 16738  	if m.System {
 16739  		n += 2
 16740  	}
 16741  	if m.Global {
 16742  		n += 2
 16743  	}
 16744  	l = len(m.Name)
 16745  	if l > 0 {
 16746  		n += 1 + l + sovPlan(uint64(l))
 16747  	}
 16748  	if m.Value != nil {
 16749  		l = m.Value.ProtoSize()
 16750  		n += 1 + l + sovPlan(uint64(l))
 16751  	}
 16752  	if m.Reserved != nil {
 16753  		l = m.Reserved.ProtoSize()
 16754  		n += 1 + l + sovPlan(uint64(l))
 16755  	}
 16756  	if m.XXX_unrecognized != nil {
 16757  		n += len(m.XXX_unrecognized)
 16758  	}
 16759  	return n
 16760  }
 16761  
 16762  func (m *Prepare) ProtoSize() (n int) {
 16763  	if m == nil {
 16764  		return 0
 16765  	}
 16766  	var l int
 16767  	_ = l
 16768  	l = len(m.Name)
 16769  	if l > 0 {
 16770  		n += 1 + l + sovPlan(uint64(l))
 16771  	}
 16772  	if len(m.Schemas) > 0 {
 16773  		for _, e := range m.Schemas {
 16774  			l = e.ProtoSize()
 16775  			n += 1 + l + sovPlan(uint64(l))
 16776  		}
 16777  	}
 16778  	if m.Plan != nil {
 16779  		l = m.Plan.ProtoSize()
 16780  		n += 1 + l + sovPlan(uint64(l))
 16781  	}
 16782  	if len(m.ParamTypes) > 0 {
 16783  		l = 0
 16784  		for _, e := range m.ParamTypes {
 16785  			l += sovPlan(uint64(e))
 16786  		}
 16787  		n += 1 + sovPlan(uint64(l)) + l
 16788  	}
 16789  	if m.XXX_unrecognized != nil {
 16790  		n += len(m.XXX_unrecognized)
 16791  	}
 16792  	return n
 16793  }
 16794  
 16795  func (m *Execute) ProtoSize() (n int) {
 16796  	if m == nil {
 16797  		return 0
 16798  	}
 16799  	var l int
 16800  	_ = l
 16801  	l = len(m.Name)
 16802  	if l > 0 {
 16803  		n += 1 + l + sovPlan(uint64(l))
 16804  	}
 16805  	if len(m.Args) > 0 {
 16806  		for _, e := range m.Args {
 16807  			l = e.ProtoSize()
 16808  			n += 1 + l + sovPlan(uint64(l))
 16809  		}
 16810  	}
 16811  	if m.XXX_unrecognized != nil {
 16812  		n += len(m.XXX_unrecognized)
 16813  	}
 16814  	return n
 16815  }
 16816  
 16817  func (m *Deallocate) ProtoSize() (n int) {
 16818  	if m == nil {
 16819  		return 0
 16820  	}
 16821  	var l int
 16822  	_ = l
 16823  	l = len(m.Name)
 16824  	if l > 0 {
 16825  		n += 1 + l + sovPlan(uint64(l))
 16826  	}
 16827  	if m.XXX_unrecognized != nil {
 16828  		n += len(m.XXX_unrecognized)
 16829  	}
 16830  	return n
 16831  }
 16832  
 16833  func sovPlan(x uint64) (n int) {
 16834  	return (math_bits.Len64(x|1) + 6) / 7
 16835  }
 16836  func sozPlan(x uint64) (n int) {
 16837  	return sovPlan(uint64((x << 1) ^ uint64((int64(x) >> 63))))
 16838  }
 16839  func (m *Type) Unmarshal(dAtA []byte) error {
 16840  	l := len(dAtA)
 16841  	iNdEx := 0
 16842  	for iNdEx < l {
 16843  		preIndex := iNdEx
 16844  		var wire uint64
 16845  		for shift := uint(0); ; shift += 7 {
 16846  			if shift >= 64 {
 16847  				return ErrIntOverflowPlan
 16848  			}
 16849  			if iNdEx >= l {
 16850  				return io.ErrUnexpectedEOF
 16851  			}
 16852  			b := dAtA[iNdEx]
 16853  			iNdEx++
 16854  			wire |= uint64(b&0x7F) << shift
 16855  			if b < 0x80 {
 16856  				break
 16857  			}
 16858  		}
 16859  		fieldNum := int32(wire >> 3)
 16860  		wireType := int(wire & 0x7)
 16861  		if wireType == 4 {
 16862  			return fmt.Errorf("proto: Type: wiretype end group for non-group")
 16863  		}
 16864  		if fieldNum <= 0 {
 16865  			return fmt.Errorf("proto: Type: illegal tag %d (wire type %d)", fieldNum, wire)
 16866  		}
 16867  		switch fieldNum {
 16868  		case 1:
 16869  			if wireType != 0 {
 16870  				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
 16871  			}
 16872  			m.Id = 0
 16873  			for shift := uint(0); ; shift += 7 {
 16874  				if shift >= 64 {
 16875  					return ErrIntOverflowPlan
 16876  				}
 16877  				if iNdEx >= l {
 16878  					return io.ErrUnexpectedEOF
 16879  				}
 16880  				b := dAtA[iNdEx]
 16881  				iNdEx++
 16882  				m.Id |= int32(b&0x7F) << shift
 16883  				if b < 0x80 {
 16884  					break
 16885  				}
 16886  			}
 16887  		case 2:
 16888  			if wireType != 0 {
 16889  				return fmt.Errorf("proto: wrong wireType = %d for field NotNullable", wireType)
 16890  			}
 16891  			var v int
 16892  			for shift := uint(0); ; shift += 7 {
 16893  				if shift >= 64 {
 16894  					return ErrIntOverflowPlan
 16895  				}
 16896  				if iNdEx >= l {
 16897  					return io.ErrUnexpectedEOF
 16898  				}
 16899  				b := dAtA[iNdEx]
 16900  				iNdEx++
 16901  				v |= int(b&0x7F) << shift
 16902  				if b < 0x80 {
 16903  					break
 16904  				}
 16905  			}
 16906  			m.NotNullable = bool(v != 0)
 16907  		case 3:
 16908  			if wireType != 0 {
 16909  				return fmt.Errorf("proto: wrong wireType = %d for field AutoIncr", wireType)
 16910  			}
 16911  			var v int
 16912  			for shift := uint(0); ; shift += 7 {
 16913  				if shift >= 64 {
 16914  					return ErrIntOverflowPlan
 16915  				}
 16916  				if iNdEx >= l {
 16917  					return io.ErrUnexpectedEOF
 16918  				}
 16919  				b := dAtA[iNdEx]
 16920  				iNdEx++
 16921  				v |= int(b&0x7F) << shift
 16922  				if b < 0x80 {
 16923  					break
 16924  				}
 16925  			}
 16926  			m.AutoIncr = bool(v != 0)
 16927  		case 4:
 16928  			if wireType != 0 {
 16929  				return fmt.Errorf("proto: wrong wireType = %d for field Width", wireType)
 16930  			}
 16931  			m.Width = 0
 16932  			for shift := uint(0); ; shift += 7 {
 16933  				if shift >= 64 {
 16934  					return ErrIntOverflowPlan
 16935  				}
 16936  				if iNdEx >= l {
 16937  					return io.ErrUnexpectedEOF
 16938  				}
 16939  				b := dAtA[iNdEx]
 16940  				iNdEx++
 16941  				m.Width |= int32(b&0x7F) << shift
 16942  				if b < 0x80 {
 16943  					break
 16944  				}
 16945  			}
 16946  		case 5:
 16947  			if wireType != 0 {
 16948  				return fmt.Errorf("proto: wrong wireType = %d for field Precision", wireType)
 16949  			}
 16950  			m.Precision = 0
 16951  			for shift := uint(0); ; shift += 7 {
 16952  				if shift >= 64 {
 16953  					return ErrIntOverflowPlan
 16954  				}
 16955  				if iNdEx >= l {
 16956  					return io.ErrUnexpectedEOF
 16957  				}
 16958  				b := dAtA[iNdEx]
 16959  				iNdEx++
 16960  				m.Precision |= int32(b&0x7F) << shift
 16961  				if b < 0x80 {
 16962  					break
 16963  				}
 16964  			}
 16965  		case 6:
 16966  			if wireType != 0 {
 16967  				return fmt.Errorf("proto: wrong wireType = %d for field Size", wireType)
 16968  			}
 16969  			m.Size = 0
 16970  			for shift := uint(0); ; shift += 7 {
 16971  				if shift >= 64 {
 16972  					return ErrIntOverflowPlan
 16973  				}
 16974  				if iNdEx >= l {
 16975  					return io.ErrUnexpectedEOF
 16976  				}
 16977  				b := dAtA[iNdEx]
 16978  				iNdEx++
 16979  				m.Size |= int32(b&0x7F) << shift
 16980  				if b < 0x80 {
 16981  					break
 16982  				}
 16983  			}
 16984  		case 7:
 16985  			if wireType != 0 {
 16986  				return fmt.Errorf("proto: wrong wireType = %d for field Scale", wireType)
 16987  			}
 16988  			m.Scale = 0
 16989  			for shift := uint(0); ; shift += 7 {
 16990  				if shift >= 64 {
 16991  					return ErrIntOverflowPlan
 16992  				}
 16993  				if iNdEx >= l {
 16994  					return io.ErrUnexpectedEOF
 16995  				}
 16996  				b := dAtA[iNdEx]
 16997  				iNdEx++
 16998  				m.Scale |= int32(b&0x7F) << shift
 16999  				if b < 0x80 {
 17000  					break
 17001  				}
 17002  			}
 17003  		case 8:
 17004  			if wireType != 2 {
 17005  				return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType)
 17006  			}
 17007  			var stringLen uint64
 17008  			for shift := uint(0); ; shift += 7 {
 17009  				if shift >= 64 {
 17010  					return ErrIntOverflowPlan
 17011  				}
 17012  				if iNdEx >= l {
 17013  					return io.ErrUnexpectedEOF
 17014  				}
 17015  				b := dAtA[iNdEx]
 17016  				iNdEx++
 17017  				stringLen |= uint64(b&0x7F) << shift
 17018  				if b < 0x80 {
 17019  					break
 17020  				}
 17021  			}
 17022  			intStringLen := int(stringLen)
 17023  			if intStringLen < 0 {
 17024  				return ErrInvalidLengthPlan
 17025  			}
 17026  			postIndex := iNdEx + intStringLen
 17027  			if postIndex < 0 {
 17028  				return ErrInvalidLengthPlan
 17029  			}
 17030  			if postIndex > l {
 17031  				return io.ErrUnexpectedEOF
 17032  			}
 17033  			m.Table = string(dAtA[iNdEx:postIndex])
 17034  			iNdEx = postIndex
 17035  		default:
 17036  			iNdEx = preIndex
 17037  			skippy, err := skipPlan(dAtA[iNdEx:])
 17038  			if err != nil {
 17039  				return err
 17040  			}
 17041  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17042  				return ErrInvalidLengthPlan
 17043  			}
 17044  			if (iNdEx + skippy) > l {
 17045  				return io.ErrUnexpectedEOF
 17046  			}
 17047  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 17048  			iNdEx += skippy
 17049  		}
 17050  	}
 17051  
 17052  	if iNdEx > l {
 17053  		return io.ErrUnexpectedEOF
 17054  	}
 17055  	return nil
 17056  }
 17057  func (m *Const) Unmarshal(dAtA []byte) error {
 17058  	l := len(dAtA)
 17059  	iNdEx := 0
 17060  	for iNdEx < l {
 17061  		preIndex := iNdEx
 17062  		var wire uint64
 17063  		for shift := uint(0); ; shift += 7 {
 17064  			if shift >= 64 {
 17065  				return ErrIntOverflowPlan
 17066  			}
 17067  			if iNdEx >= l {
 17068  				return io.ErrUnexpectedEOF
 17069  			}
 17070  			b := dAtA[iNdEx]
 17071  			iNdEx++
 17072  			wire |= uint64(b&0x7F) << shift
 17073  			if b < 0x80 {
 17074  				break
 17075  			}
 17076  		}
 17077  		fieldNum := int32(wire >> 3)
 17078  		wireType := int(wire & 0x7)
 17079  		if wireType == 4 {
 17080  			return fmt.Errorf("proto: Const: wiretype end group for non-group")
 17081  		}
 17082  		if fieldNum <= 0 {
 17083  			return fmt.Errorf("proto: Const: illegal tag %d (wire type %d)", fieldNum, wire)
 17084  		}
 17085  		switch fieldNum {
 17086  		case 1:
 17087  			if wireType != 0 {
 17088  				return fmt.Errorf("proto: wrong wireType = %d for field Isnull", wireType)
 17089  			}
 17090  			var v int
 17091  			for shift := uint(0); ; shift += 7 {
 17092  				if shift >= 64 {
 17093  					return ErrIntOverflowPlan
 17094  				}
 17095  				if iNdEx >= l {
 17096  					return io.ErrUnexpectedEOF
 17097  				}
 17098  				b := dAtA[iNdEx]
 17099  				iNdEx++
 17100  				v |= int(b&0x7F) << shift
 17101  				if b < 0x80 {
 17102  					break
 17103  				}
 17104  			}
 17105  			m.Isnull = bool(v != 0)
 17106  		case 2:
 17107  			if wireType != 0 {
 17108  				return fmt.Errorf("proto: wrong wireType = %d for field I8Val", wireType)
 17109  			}
 17110  			var v int32
 17111  			for shift := uint(0); ; shift += 7 {
 17112  				if shift >= 64 {
 17113  					return ErrIntOverflowPlan
 17114  				}
 17115  				if iNdEx >= l {
 17116  					return io.ErrUnexpectedEOF
 17117  				}
 17118  				b := dAtA[iNdEx]
 17119  				iNdEx++
 17120  				v |= int32(b&0x7F) << shift
 17121  				if b < 0x80 {
 17122  					break
 17123  				}
 17124  			}
 17125  			m.Value = &Const_I8Val{v}
 17126  		case 3:
 17127  			if wireType != 0 {
 17128  				return fmt.Errorf("proto: wrong wireType = %d for field I16Val", wireType)
 17129  			}
 17130  			var v int32
 17131  			for shift := uint(0); ; shift += 7 {
 17132  				if shift >= 64 {
 17133  					return ErrIntOverflowPlan
 17134  				}
 17135  				if iNdEx >= l {
 17136  					return io.ErrUnexpectedEOF
 17137  				}
 17138  				b := dAtA[iNdEx]
 17139  				iNdEx++
 17140  				v |= int32(b&0x7F) << shift
 17141  				if b < 0x80 {
 17142  					break
 17143  				}
 17144  			}
 17145  			m.Value = &Const_I16Val{v}
 17146  		case 4:
 17147  			if wireType != 0 {
 17148  				return fmt.Errorf("proto: wrong wireType = %d for field I32Val", wireType)
 17149  			}
 17150  			var v int32
 17151  			for shift := uint(0); ; shift += 7 {
 17152  				if shift >= 64 {
 17153  					return ErrIntOverflowPlan
 17154  				}
 17155  				if iNdEx >= l {
 17156  					return io.ErrUnexpectedEOF
 17157  				}
 17158  				b := dAtA[iNdEx]
 17159  				iNdEx++
 17160  				v |= int32(b&0x7F) << shift
 17161  				if b < 0x80 {
 17162  					break
 17163  				}
 17164  			}
 17165  			m.Value = &Const_I32Val{v}
 17166  		case 5:
 17167  			if wireType != 0 {
 17168  				return fmt.Errorf("proto: wrong wireType = %d for field I64Val", wireType)
 17169  			}
 17170  			var v int64
 17171  			for shift := uint(0); ; shift += 7 {
 17172  				if shift >= 64 {
 17173  					return ErrIntOverflowPlan
 17174  				}
 17175  				if iNdEx >= l {
 17176  					return io.ErrUnexpectedEOF
 17177  				}
 17178  				b := dAtA[iNdEx]
 17179  				iNdEx++
 17180  				v |= int64(b&0x7F) << shift
 17181  				if b < 0x80 {
 17182  					break
 17183  				}
 17184  			}
 17185  			m.Value = &Const_I64Val{v}
 17186  		case 6:
 17187  			if wireType != 0 {
 17188  				return fmt.Errorf("proto: wrong wireType = %d for field U8Val", wireType)
 17189  			}
 17190  			var v uint32
 17191  			for shift := uint(0); ; shift += 7 {
 17192  				if shift >= 64 {
 17193  					return ErrIntOverflowPlan
 17194  				}
 17195  				if iNdEx >= l {
 17196  					return io.ErrUnexpectedEOF
 17197  				}
 17198  				b := dAtA[iNdEx]
 17199  				iNdEx++
 17200  				v |= uint32(b&0x7F) << shift
 17201  				if b < 0x80 {
 17202  					break
 17203  				}
 17204  			}
 17205  			m.Value = &Const_U8Val{v}
 17206  		case 7:
 17207  			if wireType != 0 {
 17208  				return fmt.Errorf("proto: wrong wireType = %d for field U16Val", wireType)
 17209  			}
 17210  			var v uint32
 17211  			for shift := uint(0); ; shift += 7 {
 17212  				if shift >= 64 {
 17213  					return ErrIntOverflowPlan
 17214  				}
 17215  				if iNdEx >= l {
 17216  					return io.ErrUnexpectedEOF
 17217  				}
 17218  				b := dAtA[iNdEx]
 17219  				iNdEx++
 17220  				v |= uint32(b&0x7F) << shift
 17221  				if b < 0x80 {
 17222  					break
 17223  				}
 17224  			}
 17225  			m.Value = &Const_U16Val{v}
 17226  		case 8:
 17227  			if wireType != 0 {
 17228  				return fmt.Errorf("proto: wrong wireType = %d for field U32Val", wireType)
 17229  			}
 17230  			var v uint32
 17231  			for shift := uint(0); ; shift += 7 {
 17232  				if shift >= 64 {
 17233  					return ErrIntOverflowPlan
 17234  				}
 17235  				if iNdEx >= l {
 17236  					return io.ErrUnexpectedEOF
 17237  				}
 17238  				b := dAtA[iNdEx]
 17239  				iNdEx++
 17240  				v |= uint32(b&0x7F) << shift
 17241  				if b < 0x80 {
 17242  					break
 17243  				}
 17244  			}
 17245  			m.Value = &Const_U32Val{v}
 17246  		case 9:
 17247  			if wireType != 0 {
 17248  				return fmt.Errorf("proto: wrong wireType = %d for field U64Val", wireType)
 17249  			}
 17250  			var v uint64
 17251  			for shift := uint(0); ; shift += 7 {
 17252  				if shift >= 64 {
 17253  					return ErrIntOverflowPlan
 17254  				}
 17255  				if iNdEx >= l {
 17256  					return io.ErrUnexpectedEOF
 17257  				}
 17258  				b := dAtA[iNdEx]
 17259  				iNdEx++
 17260  				v |= uint64(b&0x7F) << shift
 17261  				if b < 0x80 {
 17262  					break
 17263  				}
 17264  			}
 17265  			m.Value = &Const_U64Val{v}
 17266  		case 10:
 17267  			if wireType != 1 {
 17268  				return fmt.Errorf("proto: wrong wireType = %d for field Dval", wireType)
 17269  			}
 17270  			var v uint64
 17271  			if (iNdEx + 8) > l {
 17272  				return io.ErrUnexpectedEOF
 17273  			}
 17274  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
 17275  			iNdEx += 8
 17276  			m.Value = &Const_Dval{float64(math.Float64frombits(v))}
 17277  		case 11:
 17278  			if wireType != 2 {
 17279  				return fmt.Errorf("proto: wrong wireType = %d for field Sval", wireType)
 17280  			}
 17281  			var stringLen uint64
 17282  			for shift := uint(0); ; shift += 7 {
 17283  				if shift >= 64 {
 17284  					return ErrIntOverflowPlan
 17285  				}
 17286  				if iNdEx >= l {
 17287  					return io.ErrUnexpectedEOF
 17288  				}
 17289  				b := dAtA[iNdEx]
 17290  				iNdEx++
 17291  				stringLen |= uint64(b&0x7F) << shift
 17292  				if b < 0x80 {
 17293  					break
 17294  				}
 17295  			}
 17296  			intStringLen := int(stringLen)
 17297  			if intStringLen < 0 {
 17298  				return ErrInvalidLengthPlan
 17299  			}
 17300  			postIndex := iNdEx + intStringLen
 17301  			if postIndex < 0 {
 17302  				return ErrInvalidLengthPlan
 17303  			}
 17304  			if postIndex > l {
 17305  				return io.ErrUnexpectedEOF
 17306  			}
 17307  			m.Value = &Const_Sval{string(dAtA[iNdEx:postIndex])}
 17308  			iNdEx = postIndex
 17309  		case 12:
 17310  			if wireType != 0 {
 17311  				return fmt.Errorf("proto: wrong wireType = %d for field Bval", wireType)
 17312  			}
 17313  			var v int
 17314  			for shift := uint(0); ; shift += 7 {
 17315  				if shift >= 64 {
 17316  					return ErrIntOverflowPlan
 17317  				}
 17318  				if iNdEx >= l {
 17319  					return io.ErrUnexpectedEOF
 17320  				}
 17321  				b := dAtA[iNdEx]
 17322  				iNdEx++
 17323  				v |= int(b&0x7F) << shift
 17324  				if b < 0x80 {
 17325  					break
 17326  				}
 17327  			}
 17328  			b := bool(v != 0)
 17329  			m.Value = &Const_Bval{b}
 17330  		case 13:
 17331  			if wireType != 5 {
 17332  				return fmt.Errorf("proto: wrong wireType = %d for field Fval", wireType)
 17333  			}
 17334  			var v uint32
 17335  			if (iNdEx + 4) > l {
 17336  				return io.ErrUnexpectedEOF
 17337  			}
 17338  			v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
 17339  			iNdEx += 4
 17340  			m.Value = &Const_Fval{float32(math.Float32frombits(v))}
 17341  		case 14:
 17342  			if wireType != 0 {
 17343  				return fmt.Errorf("proto: wrong wireType = %d for field Dateval", wireType)
 17344  			}
 17345  			var v int32
 17346  			for shift := uint(0); ; shift += 7 {
 17347  				if shift >= 64 {
 17348  					return ErrIntOverflowPlan
 17349  				}
 17350  				if iNdEx >= l {
 17351  					return io.ErrUnexpectedEOF
 17352  				}
 17353  				b := dAtA[iNdEx]
 17354  				iNdEx++
 17355  				v |= int32(b&0x7F) << shift
 17356  				if b < 0x80 {
 17357  					break
 17358  				}
 17359  			}
 17360  			m.Value = &Const_Dateval{v}
 17361  		case 15:
 17362  			if wireType != 0 {
 17363  				return fmt.Errorf("proto: wrong wireType = %d for field Timeval", wireType)
 17364  			}
 17365  			var v int64
 17366  			for shift := uint(0); ; shift += 7 {
 17367  				if shift >= 64 {
 17368  					return ErrIntOverflowPlan
 17369  				}
 17370  				if iNdEx >= l {
 17371  					return io.ErrUnexpectedEOF
 17372  				}
 17373  				b := dAtA[iNdEx]
 17374  				iNdEx++
 17375  				v |= int64(b&0x7F) << shift
 17376  				if b < 0x80 {
 17377  					break
 17378  				}
 17379  			}
 17380  			m.Value = &Const_Timeval{v}
 17381  		case 16:
 17382  			if wireType != 0 {
 17383  				return fmt.Errorf("proto: wrong wireType = %d for field Datetimeval", wireType)
 17384  			}
 17385  			var v int64
 17386  			for shift := uint(0); ; shift += 7 {
 17387  				if shift >= 64 {
 17388  					return ErrIntOverflowPlan
 17389  				}
 17390  				if iNdEx >= l {
 17391  					return io.ErrUnexpectedEOF
 17392  				}
 17393  				b := dAtA[iNdEx]
 17394  				iNdEx++
 17395  				v |= int64(b&0x7F) << shift
 17396  				if b < 0x80 {
 17397  					break
 17398  				}
 17399  			}
 17400  			m.Value = &Const_Datetimeval{v}
 17401  		case 17:
 17402  			if wireType != 2 {
 17403  				return fmt.Errorf("proto: wrong wireType = %d for field Decimal64Val", wireType)
 17404  			}
 17405  			var msglen int
 17406  			for shift := uint(0); ; shift += 7 {
 17407  				if shift >= 64 {
 17408  					return ErrIntOverflowPlan
 17409  				}
 17410  				if iNdEx >= l {
 17411  					return io.ErrUnexpectedEOF
 17412  				}
 17413  				b := dAtA[iNdEx]
 17414  				iNdEx++
 17415  				msglen |= int(b&0x7F) << shift
 17416  				if b < 0x80 {
 17417  					break
 17418  				}
 17419  			}
 17420  			if msglen < 0 {
 17421  				return ErrInvalidLengthPlan
 17422  			}
 17423  			postIndex := iNdEx + msglen
 17424  			if postIndex < 0 {
 17425  				return ErrInvalidLengthPlan
 17426  			}
 17427  			if postIndex > l {
 17428  				return io.ErrUnexpectedEOF
 17429  			}
 17430  			v := &Decimal64{}
 17431  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17432  				return err
 17433  			}
 17434  			m.Value = &Const_Decimal64Val{v}
 17435  			iNdEx = postIndex
 17436  		case 18:
 17437  			if wireType != 2 {
 17438  				return fmt.Errorf("proto: wrong wireType = %d for field Decimal128Val", wireType)
 17439  			}
 17440  			var msglen int
 17441  			for shift := uint(0); ; shift += 7 {
 17442  				if shift >= 64 {
 17443  					return ErrIntOverflowPlan
 17444  				}
 17445  				if iNdEx >= l {
 17446  					return io.ErrUnexpectedEOF
 17447  				}
 17448  				b := dAtA[iNdEx]
 17449  				iNdEx++
 17450  				msglen |= int(b&0x7F) << shift
 17451  				if b < 0x80 {
 17452  					break
 17453  				}
 17454  			}
 17455  			if msglen < 0 {
 17456  				return ErrInvalidLengthPlan
 17457  			}
 17458  			postIndex := iNdEx + msglen
 17459  			if postIndex < 0 {
 17460  				return ErrInvalidLengthPlan
 17461  			}
 17462  			if postIndex > l {
 17463  				return io.ErrUnexpectedEOF
 17464  			}
 17465  			v := &Decimal128{}
 17466  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17467  				return err
 17468  			}
 17469  			m.Value = &Const_Decimal128Val{v}
 17470  			iNdEx = postIndex
 17471  		case 19:
 17472  			if wireType != 0 {
 17473  				return fmt.Errorf("proto: wrong wireType = %d for field Timestampval", wireType)
 17474  			}
 17475  			var v int64
 17476  			for shift := uint(0); ; shift += 7 {
 17477  				if shift >= 64 {
 17478  					return ErrIntOverflowPlan
 17479  				}
 17480  				if iNdEx >= l {
 17481  					return io.ErrUnexpectedEOF
 17482  				}
 17483  				b := dAtA[iNdEx]
 17484  				iNdEx++
 17485  				v |= int64(b&0x7F) << shift
 17486  				if b < 0x80 {
 17487  					break
 17488  				}
 17489  			}
 17490  			m.Value = &Const_Timestampval{v}
 17491  		case 20:
 17492  			if wireType != 2 {
 17493  				return fmt.Errorf("proto: wrong wireType = %d for field Jsonval", wireType)
 17494  			}
 17495  			var stringLen uint64
 17496  			for shift := uint(0); ; shift += 7 {
 17497  				if shift >= 64 {
 17498  					return ErrIntOverflowPlan
 17499  				}
 17500  				if iNdEx >= l {
 17501  					return io.ErrUnexpectedEOF
 17502  				}
 17503  				b := dAtA[iNdEx]
 17504  				iNdEx++
 17505  				stringLen |= uint64(b&0x7F) << shift
 17506  				if b < 0x80 {
 17507  					break
 17508  				}
 17509  			}
 17510  			intStringLen := int(stringLen)
 17511  			if intStringLen < 0 {
 17512  				return ErrInvalidLengthPlan
 17513  			}
 17514  			postIndex := iNdEx + intStringLen
 17515  			if postIndex < 0 {
 17516  				return ErrInvalidLengthPlan
 17517  			}
 17518  			if postIndex > l {
 17519  				return io.ErrUnexpectedEOF
 17520  			}
 17521  			m.Value = &Const_Jsonval{string(dAtA[iNdEx:postIndex])}
 17522  			iNdEx = postIndex
 17523  		case 21:
 17524  			if wireType != 0 {
 17525  				return fmt.Errorf("proto: wrong wireType = %d for field Defaultval", wireType)
 17526  			}
 17527  			var v int
 17528  			for shift := uint(0); ; shift += 7 {
 17529  				if shift >= 64 {
 17530  					return ErrIntOverflowPlan
 17531  				}
 17532  				if iNdEx >= l {
 17533  					return io.ErrUnexpectedEOF
 17534  				}
 17535  				b := dAtA[iNdEx]
 17536  				iNdEx++
 17537  				v |= int(b&0x7F) << shift
 17538  				if b < 0x80 {
 17539  					break
 17540  				}
 17541  			}
 17542  			b := bool(v != 0)
 17543  			m.Value = &Const_Defaultval{b}
 17544  		case 22:
 17545  			if wireType != 0 {
 17546  				return fmt.Errorf("proto: wrong wireType = %d for field UpdateVal", wireType)
 17547  			}
 17548  			var v int
 17549  			for shift := uint(0); ; shift += 7 {
 17550  				if shift >= 64 {
 17551  					return ErrIntOverflowPlan
 17552  				}
 17553  				if iNdEx >= l {
 17554  					return io.ErrUnexpectedEOF
 17555  				}
 17556  				b := dAtA[iNdEx]
 17557  				iNdEx++
 17558  				v |= int(b&0x7F) << shift
 17559  				if b < 0x80 {
 17560  					break
 17561  				}
 17562  			}
 17563  			b := bool(v != 0)
 17564  			m.Value = &Const_UpdateVal{b}
 17565  		case 23:
 17566  			if wireType != 0 {
 17567  				return fmt.Errorf("proto: wrong wireType = %d for field IsBin", wireType)
 17568  			}
 17569  			var v int
 17570  			for shift := uint(0); ; shift += 7 {
 17571  				if shift >= 64 {
 17572  					return ErrIntOverflowPlan
 17573  				}
 17574  				if iNdEx >= l {
 17575  					return io.ErrUnexpectedEOF
 17576  				}
 17577  				b := dAtA[iNdEx]
 17578  				iNdEx++
 17579  				v |= int(b&0x7F) << shift
 17580  				if b < 0x80 {
 17581  					break
 17582  				}
 17583  			}
 17584  			m.IsBin = bool(v != 0)
 17585  		case 24:
 17586  			if wireType != 2 {
 17587  				return fmt.Errorf("proto: wrong wireType = %d for field Src", wireType)
 17588  			}
 17589  			var msglen int
 17590  			for shift := uint(0); ; shift += 7 {
 17591  				if shift >= 64 {
 17592  					return ErrIntOverflowPlan
 17593  				}
 17594  				if iNdEx >= l {
 17595  					return io.ErrUnexpectedEOF
 17596  				}
 17597  				b := dAtA[iNdEx]
 17598  				iNdEx++
 17599  				msglen |= int(b&0x7F) << shift
 17600  				if b < 0x80 {
 17601  					break
 17602  				}
 17603  			}
 17604  			if msglen < 0 {
 17605  				return ErrInvalidLengthPlan
 17606  			}
 17607  			postIndex := iNdEx + msglen
 17608  			if postIndex < 0 {
 17609  				return ErrInvalidLengthPlan
 17610  			}
 17611  			if postIndex > l {
 17612  				return io.ErrUnexpectedEOF
 17613  			}
 17614  			if m.Src == nil {
 17615  				m.Src = &Expr{}
 17616  			}
 17617  			if err := m.Src.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17618  				return err
 17619  			}
 17620  			iNdEx = postIndex
 17621  		default:
 17622  			iNdEx = preIndex
 17623  			skippy, err := skipPlan(dAtA[iNdEx:])
 17624  			if err != nil {
 17625  				return err
 17626  			}
 17627  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17628  				return ErrInvalidLengthPlan
 17629  			}
 17630  			if (iNdEx + skippy) > l {
 17631  				return io.ErrUnexpectedEOF
 17632  			}
 17633  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 17634  			iNdEx += skippy
 17635  		}
 17636  	}
 17637  
 17638  	if iNdEx > l {
 17639  		return io.ErrUnexpectedEOF
 17640  	}
 17641  	return nil
 17642  }
 17643  func (m *ParamRef) Unmarshal(dAtA []byte) error {
 17644  	l := len(dAtA)
 17645  	iNdEx := 0
 17646  	for iNdEx < l {
 17647  		preIndex := iNdEx
 17648  		var wire uint64
 17649  		for shift := uint(0); ; shift += 7 {
 17650  			if shift >= 64 {
 17651  				return ErrIntOverflowPlan
 17652  			}
 17653  			if iNdEx >= l {
 17654  				return io.ErrUnexpectedEOF
 17655  			}
 17656  			b := dAtA[iNdEx]
 17657  			iNdEx++
 17658  			wire |= uint64(b&0x7F) << shift
 17659  			if b < 0x80 {
 17660  				break
 17661  			}
 17662  		}
 17663  		fieldNum := int32(wire >> 3)
 17664  		wireType := int(wire & 0x7)
 17665  		if wireType == 4 {
 17666  			return fmt.Errorf("proto: ParamRef: wiretype end group for non-group")
 17667  		}
 17668  		if fieldNum <= 0 {
 17669  			return fmt.Errorf("proto: ParamRef: illegal tag %d (wire type %d)", fieldNum, wire)
 17670  		}
 17671  		switch fieldNum {
 17672  		case 1:
 17673  			if wireType != 0 {
 17674  				return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType)
 17675  			}
 17676  			m.Pos = 0
 17677  			for shift := uint(0); ; shift += 7 {
 17678  				if shift >= 64 {
 17679  					return ErrIntOverflowPlan
 17680  				}
 17681  				if iNdEx >= l {
 17682  					return io.ErrUnexpectedEOF
 17683  				}
 17684  				b := dAtA[iNdEx]
 17685  				iNdEx++
 17686  				m.Pos |= int32(b&0x7F) << shift
 17687  				if b < 0x80 {
 17688  					break
 17689  				}
 17690  			}
 17691  		default:
 17692  			iNdEx = preIndex
 17693  			skippy, err := skipPlan(dAtA[iNdEx:])
 17694  			if err != nil {
 17695  				return err
 17696  			}
 17697  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17698  				return ErrInvalidLengthPlan
 17699  			}
 17700  			if (iNdEx + skippy) > l {
 17701  				return io.ErrUnexpectedEOF
 17702  			}
 17703  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 17704  			iNdEx += skippy
 17705  		}
 17706  	}
 17707  
 17708  	if iNdEx > l {
 17709  		return io.ErrUnexpectedEOF
 17710  	}
 17711  	return nil
 17712  }
 17713  func (m *VarRef) Unmarshal(dAtA []byte) error {
 17714  	l := len(dAtA)
 17715  	iNdEx := 0
 17716  	for iNdEx < l {
 17717  		preIndex := iNdEx
 17718  		var wire uint64
 17719  		for shift := uint(0); ; shift += 7 {
 17720  			if shift >= 64 {
 17721  				return ErrIntOverflowPlan
 17722  			}
 17723  			if iNdEx >= l {
 17724  				return io.ErrUnexpectedEOF
 17725  			}
 17726  			b := dAtA[iNdEx]
 17727  			iNdEx++
 17728  			wire |= uint64(b&0x7F) << shift
 17729  			if b < 0x80 {
 17730  				break
 17731  			}
 17732  		}
 17733  		fieldNum := int32(wire >> 3)
 17734  		wireType := int(wire & 0x7)
 17735  		if wireType == 4 {
 17736  			return fmt.Errorf("proto: VarRef: wiretype end group for non-group")
 17737  		}
 17738  		if fieldNum <= 0 {
 17739  			return fmt.Errorf("proto: VarRef: illegal tag %d (wire type %d)", fieldNum, wire)
 17740  		}
 17741  		switch fieldNum {
 17742  		case 1:
 17743  			if wireType != 2 {
 17744  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 17745  			}
 17746  			var stringLen uint64
 17747  			for shift := uint(0); ; shift += 7 {
 17748  				if shift >= 64 {
 17749  					return ErrIntOverflowPlan
 17750  				}
 17751  				if iNdEx >= l {
 17752  					return io.ErrUnexpectedEOF
 17753  				}
 17754  				b := dAtA[iNdEx]
 17755  				iNdEx++
 17756  				stringLen |= uint64(b&0x7F) << shift
 17757  				if b < 0x80 {
 17758  					break
 17759  				}
 17760  			}
 17761  			intStringLen := int(stringLen)
 17762  			if intStringLen < 0 {
 17763  				return ErrInvalidLengthPlan
 17764  			}
 17765  			postIndex := iNdEx + intStringLen
 17766  			if postIndex < 0 {
 17767  				return ErrInvalidLengthPlan
 17768  			}
 17769  			if postIndex > l {
 17770  				return io.ErrUnexpectedEOF
 17771  			}
 17772  			m.Name = string(dAtA[iNdEx:postIndex])
 17773  			iNdEx = postIndex
 17774  		case 2:
 17775  			if wireType != 0 {
 17776  				return fmt.Errorf("proto: wrong wireType = %d for field System", wireType)
 17777  			}
 17778  			var v int
 17779  			for shift := uint(0); ; shift += 7 {
 17780  				if shift >= 64 {
 17781  					return ErrIntOverflowPlan
 17782  				}
 17783  				if iNdEx >= l {
 17784  					return io.ErrUnexpectedEOF
 17785  				}
 17786  				b := dAtA[iNdEx]
 17787  				iNdEx++
 17788  				v |= int(b&0x7F) << shift
 17789  				if b < 0x80 {
 17790  					break
 17791  				}
 17792  			}
 17793  			m.System = bool(v != 0)
 17794  		case 3:
 17795  			if wireType != 0 {
 17796  				return fmt.Errorf("proto: wrong wireType = %d for field Global", wireType)
 17797  			}
 17798  			var v int
 17799  			for shift := uint(0); ; shift += 7 {
 17800  				if shift >= 64 {
 17801  					return ErrIntOverflowPlan
 17802  				}
 17803  				if iNdEx >= l {
 17804  					return io.ErrUnexpectedEOF
 17805  				}
 17806  				b := dAtA[iNdEx]
 17807  				iNdEx++
 17808  				v |= int(b&0x7F) << shift
 17809  				if b < 0x80 {
 17810  					break
 17811  				}
 17812  			}
 17813  			m.Global = bool(v != 0)
 17814  		default:
 17815  			iNdEx = preIndex
 17816  			skippy, err := skipPlan(dAtA[iNdEx:])
 17817  			if err != nil {
 17818  				return err
 17819  			}
 17820  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17821  				return ErrInvalidLengthPlan
 17822  			}
 17823  			if (iNdEx + skippy) > l {
 17824  				return io.ErrUnexpectedEOF
 17825  			}
 17826  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 17827  			iNdEx += skippy
 17828  		}
 17829  	}
 17830  
 17831  	if iNdEx > l {
 17832  		return io.ErrUnexpectedEOF
 17833  	}
 17834  	return nil
 17835  }
 17836  func (m *ColRef) Unmarshal(dAtA []byte) error {
 17837  	l := len(dAtA)
 17838  	iNdEx := 0
 17839  	for iNdEx < l {
 17840  		preIndex := iNdEx
 17841  		var wire uint64
 17842  		for shift := uint(0); ; shift += 7 {
 17843  			if shift >= 64 {
 17844  				return ErrIntOverflowPlan
 17845  			}
 17846  			if iNdEx >= l {
 17847  				return io.ErrUnexpectedEOF
 17848  			}
 17849  			b := dAtA[iNdEx]
 17850  			iNdEx++
 17851  			wire |= uint64(b&0x7F) << shift
 17852  			if b < 0x80 {
 17853  				break
 17854  			}
 17855  		}
 17856  		fieldNum := int32(wire >> 3)
 17857  		wireType := int(wire & 0x7)
 17858  		if wireType == 4 {
 17859  			return fmt.Errorf("proto: ColRef: wiretype end group for non-group")
 17860  		}
 17861  		if fieldNum <= 0 {
 17862  			return fmt.Errorf("proto: ColRef: illegal tag %d (wire type %d)", fieldNum, wire)
 17863  		}
 17864  		switch fieldNum {
 17865  		case 1:
 17866  			if wireType != 0 {
 17867  				return fmt.Errorf("proto: wrong wireType = %d for field RelPos", wireType)
 17868  			}
 17869  			m.RelPos = 0
 17870  			for shift := uint(0); ; shift += 7 {
 17871  				if shift >= 64 {
 17872  					return ErrIntOverflowPlan
 17873  				}
 17874  				if iNdEx >= l {
 17875  					return io.ErrUnexpectedEOF
 17876  				}
 17877  				b := dAtA[iNdEx]
 17878  				iNdEx++
 17879  				m.RelPos |= int32(b&0x7F) << shift
 17880  				if b < 0x80 {
 17881  					break
 17882  				}
 17883  			}
 17884  		case 2:
 17885  			if wireType != 0 {
 17886  				return fmt.Errorf("proto: wrong wireType = %d for field ColPos", wireType)
 17887  			}
 17888  			m.ColPos = 0
 17889  			for shift := uint(0); ; shift += 7 {
 17890  				if shift >= 64 {
 17891  					return ErrIntOverflowPlan
 17892  				}
 17893  				if iNdEx >= l {
 17894  					return io.ErrUnexpectedEOF
 17895  				}
 17896  				b := dAtA[iNdEx]
 17897  				iNdEx++
 17898  				m.ColPos |= int32(b&0x7F) << shift
 17899  				if b < 0x80 {
 17900  					break
 17901  				}
 17902  			}
 17903  		case 3:
 17904  			if wireType != 2 {
 17905  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 17906  			}
 17907  			var stringLen uint64
 17908  			for shift := uint(0); ; shift += 7 {
 17909  				if shift >= 64 {
 17910  					return ErrIntOverflowPlan
 17911  				}
 17912  				if iNdEx >= l {
 17913  					return io.ErrUnexpectedEOF
 17914  				}
 17915  				b := dAtA[iNdEx]
 17916  				iNdEx++
 17917  				stringLen |= uint64(b&0x7F) << shift
 17918  				if b < 0x80 {
 17919  					break
 17920  				}
 17921  			}
 17922  			intStringLen := int(stringLen)
 17923  			if intStringLen < 0 {
 17924  				return ErrInvalidLengthPlan
 17925  			}
 17926  			postIndex := iNdEx + intStringLen
 17927  			if postIndex < 0 {
 17928  				return ErrInvalidLengthPlan
 17929  			}
 17930  			if postIndex > l {
 17931  				return io.ErrUnexpectedEOF
 17932  			}
 17933  			m.Name = string(dAtA[iNdEx:postIndex])
 17934  			iNdEx = postIndex
 17935  		default:
 17936  			iNdEx = preIndex
 17937  			skippy, err := skipPlan(dAtA[iNdEx:])
 17938  			if err != nil {
 17939  				return err
 17940  			}
 17941  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17942  				return ErrInvalidLengthPlan
 17943  			}
 17944  			if (iNdEx + skippy) > l {
 17945  				return io.ErrUnexpectedEOF
 17946  			}
 17947  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 17948  			iNdEx += skippy
 17949  		}
 17950  	}
 17951  
 17952  	if iNdEx > l {
 17953  		return io.ErrUnexpectedEOF
 17954  	}
 17955  	return nil
 17956  }
 17957  func (m *RawColRef) Unmarshal(dAtA []byte) error {
 17958  	l := len(dAtA)
 17959  	iNdEx := 0
 17960  	for iNdEx < l {
 17961  		preIndex := iNdEx
 17962  		var wire uint64
 17963  		for shift := uint(0); ; shift += 7 {
 17964  			if shift >= 64 {
 17965  				return ErrIntOverflowPlan
 17966  			}
 17967  			if iNdEx >= l {
 17968  				return io.ErrUnexpectedEOF
 17969  			}
 17970  			b := dAtA[iNdEx]
 17971  			iNdEx++
 17972  			wire |= uint64(b&0x7F) << shift
 17973  			if b < 0x80 {
 17974  				break
 17975  			}
 17976  		}
 17977  		fieldNum := int32(wire >> 3)
 17978  		wireType := int(wire & 0x7)
 17979  		if wireType == 4 {
 17980  			return fmt.Errorf("proto: RawColRef: wiretype end group for non-group")
 17981  		}
 17982  		if fieldNum <= 0 {
 17983  			return fmt.Errorf("proto: RawColRef: illegal tag %d (wire type %d)", fieldNum, wire)
 17984  		}
 17985  		switch fieldNum {
 17986  		case 1:
 17987  			if wireType != 0 {
 17988  				return fmt.Errorf("proto: wrong wireType = %d for field TblId", wireType)
 17989  			}
 17990  			m.TblId = 0
 17991  			for shift := uint(0); ; shift += 7 {
 17992  				if shift >= 64 {
 17993  					return ErrIntOverflowPlan
 17994  				}
 17995  				if iNdEx >= l {
 17996  					return io.ErrUnexpectedEOF
 17997  				}
 17998  				b := dAtA[iNdEx]
 17999  				iNdEx++
 18000  				m.TblId |= uint64(b&0x7F) << shift
 18001  				if b < 0x80 {
 18002  					break
 18003  				}
 18004  			}
 18005  		case 2:
 18006  			if wireType != 0 {
 18007  				return fmt.Errorf("proto: wrong wireType = %d for field ColId", wireType)
 18008  			}
 18009  			m.ColId = 0
 18010  			for shift := uint(0); ; shift += 7 {
 18011  				if shift >= 64 {
 18012  					return ErrIntOverflowPlan
 18013  				}
 18014  				if iNdEx >= l {
 18015  					return io.ErrUnexpectedEOF
 18016  				}
 18017  				b := dAtA[iNdEx]
 18018  				iNdEx++
 18019  				m.ColId |= uint64(b&0x7F) << shift
 18020  				if b < 0x80 {
 18021  					break
 18022  				}
 18023  			}
 18024  		default:
 18025  			iNdEx = preIndex
 18026  			skippy, err := skipPlan(dAtA[iNdEx:])
 18027  			if err != nil {
 18028  				return err
 18029  			}
 18030  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18031  				return ErrInvalidLengthPlan
 18032  			}
 18033  			if (iNdEx + skippy) > l {
 18034  				return io.ErrUnexpectedEOF
 18035  			}
 18036  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 18037  			iNdEx += skippy
 18038  		}
 18039  	}
 18040  
 18041  	if iNdEx > l {
 18042  		return io.ErrUnexpectedEOF
 18043  	}
 18044  	return nil
 18045  }
 18046  func (m *CorrColRef) Unmarshal(dAtA []byte) error {
 18047  	l := len(dAtA)
 18048  	iNdEx := 0
 18049  	for iNdEx < l {
 18050  		preIndex := iNdEx
 18051  		var wire uint64
 18052  		for shift := uint(0); ; shift += 7 {
 18053  			if shift >= 64 {
 18054  				return ErrIntOverflowPlan
 18055  			}
 18056  			if iNdEx >= l {
 18057  				return io.ErrUnexpectedEOF
 18058  			}
 18059  			b := dAtA[iNdEx]
 18060  			iNdEx++
 18061  			wire |= uint64(b&0x7F) << shift
 18062  			if b < 0x80 {
 18063  				break
 18064  			}
 18065  		}
 18066  		fieldNum := int32(wire >> 3)
 18067  		wireType := int(wire & 0x7)
 18068  		if wireType == 4 {
 18069  			return fmt.Errorf("proto: CorrColRef: wiretype end group for non-group")
 18070  		}
 18071  		if fieldNum <= 0 {
 18072  			return fmt.Errorf("proto: CorrColRef: illegal tag %d (wire type %d)", fieldNum, wire)
 18073  		}
 18074  		switch fieldNum {
 18075  		case 1:
 18076  			if wireType != 0 {
 18077  				return fmt.Errorf("proto: wrong wireType = %d for field RelPos", wireType)
 18078  			}
 18079  			m.RelPos = 0
 18080  			for shift := uint(0); ; shift += 7 {
 18081  				if shift >= 64 {
 18082  					return ErrIntOverflowPlan
 18083  				}
 18084  				if iNdEx >= l {
 18085  					return io.ErrUnexpectedEOF
 18086  				}
 18087  				b := dAtA[iNdEx]
 18088  				iNdEx++
 18089  				m.RelPos |= int32(b&0x7F) << shift
 18090  				if b < 0x80 {
 18091  					break
 18092  				}
 18093  			}
 18094  		case 2:
 18095  			if wireType != 0 {
 18096  				return fmt.Errorf("proto: wrong wireType = %d for field ColPos", wireType)
 18097  			}
 18098  			m.ColPos = 0
 18099  			for shift := uint(0); ; shift += 7 {
 18100  				if shift >= 64 {
 18101  					return ErrIntOverflowPlan
 18102  				}
 18103  				if iNdEx >= l {
 18104  					return io.ErrUnexpectedEOF
 18105  				}
 18106  				b := dAtA[iNdEx]
 18107  				iNdEx++
 18108  				m.ColPos |= int32(b&0x7F) << shift
 18109  				if b < 0x80 {
 18110  					break
 18111  				}
 18112  			}
 18113  		case 3:
 18114  			if wireType != 0 {
 18115  				return fmt.Errorf("proto: wrong wireType = %d for field Depth", wireType)
 18116  			}
 18117  			m.Depth = 0
 18118  			for shift := uint(0); ; shift += 7 {
 18119  				if shift >= 64 {
 18120  					return ErrIntOverflowPlan
 18121  				}
 18122  				if iNdEx >= l {
 18123  					return io.ErrUnexpectedEOF
 18124  				}
 18125  				b := dAtA[iNdEx]
 18126  				iNdEx++
 18127  				m.Depth |= int32(b&0x7F) << shift
 18128  				if b < 0x80 {
 18129  					break
 18130  				}
 18131  			}
 18132  		default:
 18133  			iNdEx = preIndex
 18134  			skippy, err := skipPlan(dAtA[iNdEx:])
 18135  			if err != nil {
 18136  				return err
 18137  			}
 18138  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18139  				return ErrInvalidLengthPlan
 18140  			}
 18141  			if (iNdEx + skippy) > l {
 18142  				return io.ErrUnexpectedEOF
 18143  			}
 18144  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 18145  			iNdEx += skippy
 18146  		}
 18147  	}
 18148  
 18149  	if iNdEx > l {
 18150  		return io.ErrUnexpectedEOF
 18151  	}
 18152  	return nil
 18153  }
 18154  func (m *ExprList) Unmarshal(dAtA []byte) error {
 18155  	l := len(dAtA)
 18156  	iNdEx := 0
 18157  	for iNdEx < l {
 18158  		preIndex := iNdEx
 18159  		var wire uint64
 18160  		for shift := uint(0); ; shift += 7 {
 18161  			if shift >= 64 {
 18162  				return ErrIntOverflowPlan
 18163  			}
 18164  			if iNdEx >= l {
 18165  				return io.ErrUnexpectedEOF
 18166  			}
 18167  			b := dAtA[iNdEx]
 18168  			iNdEx++
 18169  			wire |= uint64(b&0x7F) << shift
 18170  			if b < 0x80 {
 18171  				break
 18172  			}
 18173  		}
 18174  		fieldNum := int32(wire >> 3)
 18175  		wireType := int(wire & 0x7)
 18176  		if wireType == 4 {
 18177  			return fmt.Errorf("proto: ExprList: wiretype end group for non-group")
 18178  		}
 18179  		if fieldNum <= 0 {
 18180  			return fmt.Errorf("proto: ExprList: illegal tag %d (wire type %d)", fieldNum, wire)
 18181  		}
 18182  		switch fieldNum {
 18183  		case 1:
 18184  			if wireType != 2 {
 18185  				return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
 18186  			}
 18187  			var msglen int
 18188  			for shift := uint(0); ; shift += 7 {
 18189  				if shift >= 64 {
 18190  					return ErrIntOverflowPlan
 18191  				}
 18192  				if iNdEx >= l {
 18193  					return io.ErrUnexpectedEOF
 18194  				}
 18195  				b := dAtA[iNdEx]
 18196  				iNdEx++
 18197  				msglen |= int(b&0x7F) << shift
 18198  				if b < 0x80 {
 18199  					break
 18200  				}
 18201  			}
 18202  			if msglen < 0 {
 18203  				return ErrInvalidLengthPlan
 18204  			}
 18205  			postIndex := iNdEx + msglen
 18206  			if postIndex < 0 {
 18207  				return ErrInvalidLengthPlan
 18208  			}
 18209  			if postIndex > l {
 18210  				return io.ErrUnexpectedEOF
 18211  			}
 18212  			m.List = append(m.List, &Expr{})
 18213  			if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18214  				return err
 18215  			}
 18216  			iNdEx = postIndex
 18217  		default:
 18218  			iNdEx = preIndex
 18219  			skippy, err := skipPlan(dAtA[iNdEx:])
 18220  			if err != nil {
 18221  				return err
 18222  			}
 18223  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18224  				return ErrInvalidLengthPlan
 18225  			}
 18226  			if (iNdEx + skippy) > l {
 18227  				return io.ErrUnexpectedEOF
 18228  			}
 18229  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 18230  			iNdEx += skippy
 18231  		}
 18232  	}
 18233  
 18234  	if iNdEx > l {
 18235  		return io.ErrUnexpectedEOF
 18236  	}
 18237  	return nil
 18238  }
 18239  func (m *MaxValue) Unmarshal(dAtA []byte) error {
 18240  	l := len(dAtA)
 18241  	iNdEx := 0
 18242  	for iNdEx < l {
 18243  		preIndex := iNdEx
 18244  		var wire uint64
 18245  		for shift := uint(0); ; shift += 7 {
 18246  			if shift >= 64 {
 18247  				return ErrIntOverflowPlan
 18248  			}
 18249  			if iNdEx >= l {
 18250  				return io.ErrUnexpectedEOF
 18251  			}
 18252  			b := dAtA[iNdEx]
 18253  			iNdEx++
 18254  			wire |= uint64(b&0x7F) << shift
 18255  			if b < 0x80 {
 18256  				break
 18257  			}
 18258  		}
 18259  		fieldNum := int32(wire >> 3)
 18260  		wireType := int(wire & 0x7)
 18261  		if wireType == 4 {
 18262  			return fmt.Errorf("proto: MaxValue: wiretype end group for non-group")
 18263  		}
 18264  		if fieldNum <= 0 {
 18265  			return fmt.Errorf("proto: MaxValue: illegal tag %d (wire type %d)", fieldNum, wire)
 18266  		}
 18267  		switch fieldNum {
 18268  		case 1:
 18269  			if wireType != 2 {
 18270  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 18271  			}
 18272  			var stringLen uint64
 18273  			for shift := uint(0); ; shift += 7 {
 18274  				if shift >= 64 {
 18275  					return ErrIntOverflowPlan
 18276  				}
 18277  				if iNdEx >= l {
 18278  					return io.ErrUnexpectedEOF
 18279  				}
 18280  				b := dAtA[iNdEx]
 18281  				iNdEx++
 18282  				stringLen |= uint64(b&0x7F) << shift
 18283  				if b < 0x80 {
 18284  					break
 18285  				}
 18286  			}
 18287  			intStringLen := int(stringLen)
 18288  			if intStringLen < 0 {
 18289  				return ErrInvalidLengthPlan
 18290  			}
 18291  			postIndex := iNdEx + intStringLen
 18292  			if postIndex < 0 {
 18293  				return ErrInvalidLengthPlan
 18294  			}
 18295  			if postIndex > l {
 18296  				return io.ErrUnexpectedEOF
 18297  			}
 18298  			m.Value = string(dAtA[iNdEx:postIndex])
 18299  			iNdEx = postIndex
 18300  		default:
 18301  			iNdEx = preIndex
 18302  			skippy, err := skipPlan(dAtA[iNdEx:])
 18303  			if err != nil {
 18304  				return err
 18305  			}
 18306  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18307  				return ErrInvalidLengthPlan
 18308  			}
 18309  			if (iNdEx + skippy) > l {
 18310  				return io.ErrUnexpectedEOF
 18311  			}
 18312  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 18313  			iNdEx += skippy
 18314  		}
 18315  	}
 18316  
 18317  	if iNdEx > l {
 18318  		return io.ErrUnexpectedEOF
 18319  	}
 18320  	return nil
 18321  }
 18322  func (m *TargetType) Unmarshal(dAtA []byte) error {
 18323  	l := len(dAtA)
 18324  	iNdEx := 0
 18325  	for iNdEx < l {
 18326  		preIndex := iNdEx
 18327  		var wire uint64
 18328  		for shift := uint(0); ; shift += 7 {
 18329  			if shift >= 64 {
 18330  				return ErrIntOverflowPlan
 18331  			}
 18332  			if iNdEx >= l {
 18333  				return io.ErrUnexpectedEOF
 18334  			}
 18335  			b := dAtA[iNdEx]
 18336  			iNdEx++
 18337  			wire |= uint64(b&0x7F) << shift
 18338  			if b < 0x80 {
 18339  				break
 18340  			}
 18341  		}
 18342  		fieldNum := int32(wire >> 3)
 18343  		wireType := int(wire & 0x7)
 18344  		if wireType == 4 {
 18345  			return fmt.Errorf("proto: TargetType: wiretype end group for non-group")
 18346  		}
 18347  		if fieldNum <= 0 {
 18348  			return fmt.Errorf("proto: TargetType: illegal tag %d (wire type %d)", fieldNum, wire)
 18349  		}
 18350  		switch fieldNum {
 18351  		case 1:
 18352  			if wireType != 2 {
 18353  				return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
 18354  			}
 18355  			var msglen int
 18356  			for shift := uint(0); ; shift += 7 {
 18357  				if shift >= 64 {
 18358  					return ErrIntOverflowPlan
 18359  				}
 18360  				if iNdEx >= l {
 18361  					return io.ErrUnexpectedEOF
 18362  				}
 18363  				b := dAtA[iNdEx]
 18364  				iNdEx++
 18365  				msglen |= int(b&0x7F) << shift
 18366  				if b < 0x80 {
 18367  					break
 18368  				}
 18369  			}
 18370  			if msglen < 0 {
 18371  				return ErrInvalidLengthPlan
 18372  			}
 18373  			postIndex := iNdEx + msglen
 18374  			if postIndex < 0 {
 18375  				return ErrInvalidLengthPlan
 18376  			}
 18377  			if postIndex > l {
 18378  				return io.ErrUnexpectedEOF
 18379  			}
 18380  			if m.Typ == nil {
 18381  				m.Typ = &Type{}
 18382  			}
 18383  			if err := m.Typ.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18384  				return err
 18385  			}
 18386  			iNdEx = postIndex
 18387  		default:
 18388  			iNdEx = preIndex
 18389  			skippy, err := skipPlan(dAtA[iNdEx:])
 18390  			if err != nil {
 18391  				return err
 18392  			}
 18393  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18394  				return ErrInvalidLengthPlan
 18395  			}
 18396  			if (iNdEx + skippy) > l {
 18397  				return io.ErrUnexpectedEOF
 18398  			}
 18399  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 18400  			iNdEx += skippy
 18401  		}
 18402  	}
 18403  
 18404  	if iNdEx > l {
 18405  		return io.ErrUnexpectedEOF
 18406  	}
 18407  	return nil
 18408  }
 18409  func (m *SubqueryRef) Unmarshal(dAtA []byte) error {
 18410  	l := len(dAtA)
 18411  	iNdEx := 0
 18412  	for iNdEx < l {
 18413  		preIndex := iNdEx
 18414  		var wire uint64
 18415  		for shift := uint(0); ; shift += 7 {
 18416  			if shift >= 64 {
 18417  				return ErrIntOverflowPlan
 18418  			}
 18419  			if iNdEx >= l {
 18420  				return io.ErrUnexpectedEOF
 18421  			}
 18422  			b := dAtA[iNdEx]
 18423  			iNdEx++
 18424  			wire |= uint64(b&0x7F) << shift
 18425  			if b < 0x80 {
 18426  				break
 18427  			}
 18428  		}
 18429  		fieldNum := int32(wire >> 3)
 18430  		wireType := int(wire & 0x7)
 18431  		if wireType == 4 {
 18432  			return fmt.Errorf("proto: SubqueryRef: wiretype end group for non-group")
 18433  		}
 18434  		if fieldNum <= 0 {
 18435  			return fmt.Errorf("proto: SubqueryRef: illegal tag %d (wire type %d)", fieldNum, wire)
 18436  		}
 18437  		switch fieldNum {
 18438  		case 1:
 18439  			if wireType != 0 {
 18440  				return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
 18441  			}
 18442  			m.Typ = 0
 18443  			for shift := uint(0); ; shift += 7 {
 18444  				if shift >= 64 {
 18445  					return ErrIntOverflowPlan
 18446  				}
 18447  				if iNdEx >= l {
 18448  					return io.ErrUnexpectedEOF
 18449  				}
 18450  				b := dAtA[iNdEx]
 18451  				iNdEx++
 18452  				m.Typ |= SubqueryRef_Type(b&0x7F) << shift
 18453  				if b < 0x80 {
 18454  					break
 18455  				}
 18456  			}
 18457  		case 2:
 18458  			if wireType != 0 {
 18459  				return fmt.Errorf("proto: wrong wireType = %d for field NodeId", wireType)
 18460  			}
 18461  			m.NodeId = 0
 18462  			for shift := uint(0); ; shift += 7 {
 18463  				if shift >= 64 {
 18464  					return ErrIntOverflowPlan
 18465  				}
 18466  				if iNdEx >= l {
 18467  					return io.ErrUnexpectedEOF
 18468  				}
 18469  				b := dAtA[iNdEx]
 18470  				iNdEx++
 18471  				m.NodeId |= int32(b&0x7F) << shift
 18472  				if b < 0x80 {
 18473  					break
 18474  				}
 18475  			}
 18476  		case 3:
 18477  			if wireType != 2 {
 18478  				return fmt.Errorf("proto: wrong wireType = %d for field Op", wireType)
 18479  			}
 18480  			var stringLen uint64
 18481  			for shift := uint(0); ; shift += 7 {
 18482  				if shift >= 64 {
 18483  					return ErrIntOverflowPlan
 18484  				}
 18485  				if iNdEx >= l {
 18486  					return io.ErrUnexpectedEOF
 18487  				}
 18488  				b := dAtA[iNdEx]
 18489  				iNdEx++
 18490  				stringLen |= uint64(b&0x7F) << shift
 18491  				if b < 0x80 {
 18492  					break
 18493  				}
 18494  			}
 18495  			intStringLen := int(stringLen)
 18496  			if intStringLen < 0 {
 18497  				return ErrInvalidLengthPlan
 18498  			}
 18499  			postIndex := iNdEx + intStringLen
 18500  			if postIndex < 0 {
 18501  				return ErrInvalidLengthPlan
 18502  			}
 18503  			if postIndex > l {
 18504  				return io.ErrUnexpectedEOF
 18505  			}
 18506  			m.Op = string(dAtA[iNdEx:postIndex])
 18507  			iNdEx = postIndex
 18508  		case 4:
 18509  			if wireType != 2 {
 18510  				return fmt.Errorf("proto: wrong wireType = %d for field Child", wireType)
 18511  			}
 18512  			var msglen int
 18513  			for shift := uint(0); ; shift += 7 {
 18514  				if shift >= 64 {
 18515  					return ErrIntOverflowPlan
 18516  				}
 18517  				if iNdEx >= l {
 18518  					return io.ErrUnexpectedEOF
 18519  				}
 18520  				b := dAtA[iNdEx]
 18521  				iNdEx++
 18522  				msglen |= int(b&0x7F) << shift
 18523  				if b < 0x80 {
 18524  					break
 18525  				}
 18526  			}
 18527  			if msglen < 0 {
 18528  				return ErrInvalidLengthPlan
 18529  			}
 18530  			postIndex := iNdEx + msglen
 18531  			if postIndex < 0 {
 18532  				return ErrInvalidLengthPlan
 18533  			}
 18534  			if postIndex > l {
 18535  				return io.ErrUnexpectedEOF
 18536  			}
 18537  			if m.Child == nil {
 18538  				m.Child = &Expr{}
 18539  			}
 18540  			if err := m.Child.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18541  				return err
 18542  			}
 18543  			iNdEx = postIndex
 18544  		case 5:
 18545  			if wireType != 0 {
 18546  				return fmt.Errorf("proto: wrong wireType = %d for field RowSize", wireType)
 18547  			}
 18548  			m.RowSize = 0
 18549  			for shift := uint(0); ; shift += 7 {
 18550  				if shift >= 64 {
 18551  					return ErrIntOverflowPlan
 18552  				}
 18553  				if iNdEx >= l {
 18554  					return io.ErrUnexpectedEOF
 18555  				}
 18556  				b := dAtA[iNdEx]
 18557  				iNdEx++
 18558  				m.RowSize |= int32(b&0x7F) << shift
 18559  				if b < 0x80 {
 18560  					break
 18561  				}
 18562  			}
 18563  		default:
 18564  			iNdEx = preIndex
 18565  			skippy, err := skipPlan(dAtA[iNdEx:])
 18566  			if err != nil {
 18567  				return err
 18568  			}
 18569  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18570  				return ErrInvalidLengthPlan
 18571  			}
 18572  			if (iNdEx + skippy) > l {
 18573  				return io.ErrUnexpectedEOF
 18574  			}
 18575  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 18576  			iNdEx += skippy
 18577  		}
 18578  	}
 18579  
 18580  	if iNdEx > l {
 18581  		return io.ErrUnexpectedEOF
 18582  	}
 18583  	return nil
 18584  }
 18585  func (m *ObjectRef) Unmarshal(dAtA []byte) error {
 18586  	l := len(dAtA)
 18587  	iNdEx := 0
 18588  	for iNdEx < l {
 18589  		preIndex := iNdEx
 18590  		var wire uint64
 18591  		for shift := uint(0); ; shift += 7 {
 18592  			if shift >= 64 {
 18593  				return ErrIntOverflowPlan
 18594  			}
 18595  			if iNdEx >= l {
 18596  				return io.ErrUnexpectedEOF
 18597  			}
 18598  			b := dAtA[iNdEx]
 18599  			iNdEx++
 18600  			wire |= uint64(b&0x7F) << shift
 18601  			if b < 0x80 {
 18602  				break
 18603  			}
 18604  		}
 18605  		fieldNum := int32(wire >> 3)
 18606  		wireType := int(wire & 0x7)
 18607  		if wireType == 4 {
 18608  			return fmt.Errorf("proto: ObjectRef: wiretype end group for non-group")
 18609  		}
 18610  		if fieldNum <= 0 {
 18611  			return fmt.Errorf("proto: ObjectRef: illegal tag %d (wire type %d)", fieldNum, wire)
 18612  		}
 18613  		switch fieldNum {
 18614  		case 1:
 18615  			if wireType != 0 {
 18616  				return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType)
 18617  			}
 18618  			m.Server = 0
 18619  			for shift := uint(0); ; shift += 7 {
 18620  				if shift >= 64 {
 18621  					return ErrIntOverflowPlan
 18622  				}
 18623  				if iNdEx >= l {
 18624  					return io.ErrUnexpectedEOF
 18625  				}
 18626  				b := dAtA[iNdEx]
 18627  				iNdEx++
 18628  				m.Server |= int64(b&0x7F) << shift
 18629  				if b < 0x80 {
 18630  					break
 18631  				}
 18632  			}
 18633  		case 2:
 18634  			if wireType != 0 {
 18635  				return fmt.Errorf("proto: wrong wireType = %d for field Db", wireType)
 18636  			}
 18637  			m.Db = 0
 18638  			for shift := uint(0); ; shift += 7 {
 18639  				if shift >= 64 {
 18640  					return ErrIntOverflowPlan
 18641  				}
 18642  				if iNdEx >= l {
 18643  					return io.ErrUnexpectedEOF
 18644  				}
 18645  				b := dAtA[iNdEx]
 18646  				iNdEx++
 18647  				m.Db |= int64(b&0x7F) << shift
 18648  				if b < 0x80 {
 18649  					break
 18650  				}
 18651  			}
 18652  		case 3:
 18653  			if wireType != 0 {
 18654  				return fmt.Errorf("proto: wrong wireType = %d for field Schema", wireType)
 18655  			}
 18656  			m.Schema = 0
 18657  			for shift := uint(0); ; shift += 7 {
 18658  				if shift >= 64 {
 18659  					return ErrIntOverflowPlan
 18660  				}
 18661  				if iNdEx >= l {
 18662  					return io.ErrUnexpectedEOF
 18663  				}
 18664  				b := dAtA[iNdEx]
 18665  				iNdEx++
 18666  				m.Schema |= int64(b&0x7F) << shift
 18667  				if b < 0x80 {
 18668  					break
 18669  				}
 18670  			}
 18671  		case 4:
 18672  			if wireType != 0 {
 18673  				return fmt.Errorf("proto: wrong wireType = %d for field Obj", wireType)
 18674  			}
 18675  			m.Obj = 0
 18676  			for shift := uint(0); ; shift += 7 {
 18677  				if shift >= 64 {
 18678  					return ErrIntOverflowPlan
 18679  				}
 18680  				if iNdEx >= l {
 18681  					return io.ErrUnexpectedEOF
 18682  				}
 18683  				b := dAtA[iNdEx]
 18684  				iNdEx++
 18685  				m.Obj |= int64(b&0x7F) << shift
 18686  				if b < 0x80 {
 18687  					break
 18688  				}
 18689  			}
 18690  		case 5:
 18691  			if wireType != 2 {
 18692  				return fmt.Errorf("proto: wrong wireType = %d for field ServerName", wireType)
 18693  			}
 18694  			var stringLen uint64
 18695  			for shift := uint(0); ; shift += 7 {
 18696  				if shift >= 64 {
 18697  					return ErrIntOverflowPlan
 18698  				}
 18699  				if iNdEx >= l {
 18700  					return io.ErrUnexpectedEOF
 18701  				}
 18702  				b := dAtA[iNdEx]
 18703  				iNdEx++
 18704  				stringLen |= uint64(b&0x7F) << shift
 18705  				if b < 0x80 {
 18706  					break
 18707  				}
 18708  			}
 18709  			intStringLen := int(stringLen)
 18710  			if intStringLen < 0 {
 18711  				return ErrInvalidLengthPlan
 18712  			}
 18713  			postIndex := iNdEx + intStringLen
 18714  			if postIndex < 0 {
 18715  				return ErrInvalidLengthPlan
 18716  			}
 18717  			if postIndex > l {
 18718  				return io.ErrUnexpectedEOF
 18719  			}
 18720  			m.ServerName = string(dAtA[iNdEx:postIndex])
 18721  			iNdEx = postIndex
 18722  		case 6:
 18723  			if wireType != 2 {
 18724  				return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType)
 18725  			}
 18726  			var stringLen uint64
 18727  			for shift := uint(0); ; shift += 7 {
 18728  				if shift >= 64 {
 18729  					return ErrIntOverflowPlan
 18730  				}
 18731  				if iNdEx >= l {
 18732  					return io.ErrUnexpectedEOF
 18733  				}
 18734  				b := dAtA[iNdEx]
 18735  				iNdEx++
 18736  				stringLen |= uint64(b&0x7F) << shift
 18737  				if b < 0x80 {
 18738  					break
 18739  				}
 18740  			}
 18741  			intStringLen := int(stringLen)
 18742  			if intStringLen < 0 {
 18743  				return ErrInvalidLengthPlan
 18744  			}
 18745  			postIndex := iNdEx + intStringLen
 18746  			if postIndex < 0 {
 18747  				return ErrInvalidLengthPlan
 18748  			}
 18749  			if postIndex > l {
 18750  				return io.ErrUnexpectedEOF
 18751  			}
 18752  			m.DbName = string(dAtA[iNdEx:postIndex])
 18753  			iNdEx = postIndex
 18754  		case 7:
 18755  			if wireType != 2 {
 18756  				return fmt.Errorf("proto: wrong wireType = %d for field SchemaName", wireType)
 18757  			}
 18758  			var stringLen uint64
 18759  			for shift := uint(0); ; shift += 7 {
 18760  				if shift >= 64 {
 18761  					return ErrIntOverflowPlan
 18762  				}
 18763  				if iNdEx >= l {
 18764  					return io.ErrUnexpectedEOF
 18765  				}
 18766  				b := dAtA[iNdEx]
 18767  				iNdEx++
 18768  				stringLen |= uint64(b&0x7F) << shift
 18769  				if b < 0x80 {
 18770  					break
 18771  				}
 18772  			}
 18773  			intStringLen := int(stringLen)
 18774  			if intStringLen < 0 {
 18775  				return ErrInvalidLengthPlan
 18776  			}
 18777  			postIndex := iNdEx + intStringLen
 18778  			if postIndex < 0 {
 18779  				return ErrInvalidLengthPlan
 18780  			}
 18781  			if postIndex > l {
 18782  				return io.ErrUnexpectedEOF
 18783  			}
 18784  			m.SchemaName = string(dAtA[iNdEx:postIndex])
 18785  			iNdEx = postIndex
 18786  		case 8:
 18787  			if wireType != 2 {
 18788  				return fmt.Errorf("proto: wrong wireType = %d for field ObjName", wireType)
 18789  			}
 18790  			var stringLen uint64
 18791  			for shift := uint(0); ; shift += 7 {
 18792  				if shift >= 64 {
 18793  					return ErrIntOverflowPlan
 18794  				}
 18795  				if iNdEx >= l {
 18796  					return io.ErrUnexpectedEOF
 18797  				}
 18798  				b := dAtA[iNdEx]
 18799  				iNdEx++
 18800  				stringLen |= uint64(b&0x7F) << shift
 18801  				if b < 0x80 {
 18802  					break
 18803  				}
 18804  			}
 18805  			intStringLen := int(stringLen)
 18806  			if intStringLen < 0 {
 18807  				return ErrInvalidLengthPlan
 18808  			}
 18809  			postIndex := iNdEx + intStringLen
 18810  			if postIndex < 0 {
 18811  				return ErrInvalidLengthPlan
 18812  			}
 18813  			if postIndex > l {
 18814  				return io.ErrUnexpectedEOF
 18815  			}
 18816  			m.ObjName = string(dAtA[iNdEx:postIndex])
 18817  			iNdEx = postIndex
 18818  		default:
 18819  			iNdEx = preIndex
 18820  			skippy, err := skipPlan(dAtA[iNdEx:])
 18821  			if err != nil {
 18822  				return err
 18823  			}
 18824  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18825  				return ErrInvalidLengthPlan
 18826  			}
 18827  			if (iNdEx + skippy) > l {
 18828  				return io.ErrUnexpectedEOF
 18829  			}
 18830  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 18831  			iNdEx += skippy
 18832  		}
 18833  	}
 18834  
 18835  	if iNdEx > l {
 18836  		return io.ErrUnexpectedEOF
 18837  	}
 18838  	return nil
 18839  }
 18840  func (m *Function) Unmarshal(dAtA []byte) error {
 18841  	l := len(dAtA)
 18842  	iNdEx := 0
 18843  	for iNdEx < l {
 18844  		preIndex := iNdEx
 18845  		var wire uint64
 18846  		for shift := uint(0); ; shift += 7 {
 18847  			if shift >= 64 {
 18848  				return ErrIntOverflowPlan
 18849  			}
 18850  			if iNdEx >= l {
 18851  				return io.ErrUnexpectedEOF
 18852  			}
 18853  			b := dAtA[iNdEx]
 18854  			iNdEx++
 18855  			wire |= uint64(b&0x7F) << shift
 18856  			if b < 0x80 {
 18857  				break
 18858  			}
 18859  		}
 18860  		fieldNum := int32(wire >> 3)
 18861  		wireType := int(wire & 0x7)
 18862  		if wireType == 4 {
 18863  			return fmt.Errorf("proto: Function: wiretype end group for non-group")
 18864  		}
 18865  		if fieldNum <= 0 {
 18866  			return fmt.Errorf("proto: Function: illegal tag %d (wire type %d)", fieldNum, wire)
 18867  		}
 18868  		switch fieldNum {
 18869  		case 1:
 18870  			if wireType != 2 {
 18871  				return fmt.Errorf("proto: wrong wireType = %d for field Func", wireType)
 18872  			}
 18873  			var msglen int
 18874  			for shift := uint(0); ; shift += 7 {
 18875  				if shift >= 64 {
 18876  					return ErrIntOverflowPlan
 18877  				}
 18878  				if iNdEx >= l {
 18879  					return io.ErrUnexpectedEOF
 18880  				}
 18881  				b := dAtA[iNdEx]
 18882  				iNdEx++
 18883  				msglen |= int(b&0x7F) << shift
 18884  				if b < 0x80 {
 18885  					break
 18886  				}
 18887  			}
 18888  			if msglen < 0 {
 18889  				return ErrInvalidLengthPlan
 18890  			}
 18891  			postIndex := iNdEx + msglen
 18892  			if postIndex < 0 {
 18893  				return ErrInvalidLengthPlan
 18894  			}
 18895  			if postIndex > l {
 18896  				return io.ErrUnexpectedEOF
 18897  			}
 18898  			if m.Func == nil {
 18899  				m.Func = &ObjectRef{}
 18900  			}
 18901  			if err := m.Func.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18902  				return err
 18903  			}
 18904  			iNdEx = postIndex
 18905  		case 2:
 18906  			if wireType != 2 {
 18907  				return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
 18908  			}
 18909  			var msglen int
 18910  			for shift := uint(0); ; shift += 7 {
 18911  				if shift >= 64 {
 18912  					return ErrIntOverflowPlan
 18913  				}
 18914  				if iNdEx >= l {
 18915  					return io.ErrUnexpectedEOF
 18916  				}
 18917  				b := dAtA[iNdEx]
 18918  				iNdEx++
 18919  				msglen |= int(b&0x7F) << shift
 18920  				if b < 0x80 {
 18921  					break
 18922  				}
 18923  			}
 18924  			if msglen < 0 {
 18925  				return ErrInvalidLengthPlan
 18926  			}
 18927  			postIndex := iNdEx + msglen
 18928  			if postIndex < 0 {
 18929  				return ErrInvalidLengthPlan
 18930  			}
 18931  			if postIndex > l {
 18932  				return io.ErrUnexpectedEOF
 18933  			}
 18934  			m.Args = append(m.Args, &Expr{})
 18935  			if err := m.Args[len(m.Args)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18936  				return err
 18937  			}
 18938  			iNdEx = postIndex
 18939  		default:
 18940  			iNdEx = preIndex
 18941  			skippy, err := skipPlan(dAtA[iNdEx:])
 18942  			if err != nil {
 18943  				return err
 18944  			}
 18945  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18946  				return ErrInvalidLengthPlan
 18947  			}
 18948  			if (iNdEx + skippy) > l {
 18949  				return io.ErrUnexpectedEOF
 18950  			}
 18951  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 18952  			iNdEx += skippy
 18953  		}
 18954  	}
 18955  
 18956  	if iNdEx > l {
 18957  		return io.ErrUnexpectedEOF
 18958  	}
 18959  	return nil
 18960  }
 18961  func (m *Expr) Unmarshal(dAtA []byte) error {
 18962  	l := len(dAtA)
 18963  	iNdEx := 0
 18964  	for iNdEx < l {
 18965  		preIndex := iNdEx
 18966  		var wire uint64
 18967  		for shift := uint(0); ; shift += 7 {
 18968  			if shift >= 64 {
 18969  				return ErrIntOverflowPlan
 18970  			}
 18971  			if iNdEx >= l {
 18972  				return io.ErrUnexpectedEOF
 18973  			}
 18974  			b := dAtA[iNdEx]
 18975  			iNdEx++
 18976  			wire |= uint64(b&0x7F) << shift
 18977  			if b < 0x80 {
 18978  				break
 18979  			}
 18980  		}
 18981  		fieldNum := int32(wire >> 3)
 18982  		wireType := int(wire & 0x7)
 18983  		if wireType == 4 {
 18984  			return fmt.Errorf("proto: Expr: wiretype end group for non-group")
 18985  		}
 18986  		if fieldNum <= 0 {
 18987  			return fmt.Errorf("proto: Expr: illegal tag %d (wire type %d)", fieldNum, wire)
 18988  		}
 18989  		switch fieldNum {
 18990  		case 1:
 18991  			if wireType != 2 {
 18992  				return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
 18993  			}
 18994  			var msglen int
 18995  			for shift := uint(0); ; shift += 7 {
 18996  				if shift >= 64 {
 18997  					return ErrIntOverflowPlan
 18998  				}
 18999  				if iNdEx >= l {
 19000  					return io.ErrUnexpectedEOF
 19001  				}
 19002  				b := dAtA[iNdEx]
 19003  				iNdEx++
 19004  				msglen |= int(b&0x7F) << shift
 19005  				if b < 0x80 {
 19006  					break
 19007  				}
 19008  			}
 19009  			if msglen < 0 {
 19010  				return ErrInvalidLengthPlan
 19011  			}
 19012  			postIndex := iNdEx + msglen
 19013  			if postIndex < 0 {
 19014  				return ErrInvalidLengthPlan
 19015  			}
 19016  			if postIndex > l {
 19017  				return io.ErrUnexpectedEOF
 19018  			}
 19019  			if m.Typ == nil {
 19020  				m.Typ = &Type{}
 19021  			}
 19022  			if err := m.Typ.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19023  				return err
 19024  			}
 19025  			iNdEx = postIndex
 19026  		case 2:
 19027  			if wireType != 2 {
 19028  				return fmt.Errorf("proto: wrong wireType = %d for field C", wireType)
 19029  			}
 19030  			var msglen int
 19031  			for shift := uint(0); ; shift += 7 {
 19032  				if shift >= 64 {
 19033  					return ErrIntOverflowPlan
 19034  				}
 19035  				if iNdEx >= l {
 19036  					return io.ErrUnexpectedEOF
 19037  				}
 19038  				b := dAtA[iNdEx]
 19039  				iNdEx++
 19040  				msglen |= int(b&0x7F) << shift
 19041  				if b < 0x80 {
 19042  					break
 19043  				}
 19044  			}
 19045  			if msglen < 0 {
 19046  				return ErrInvalidLengthPlan
 19047  			}
 19048  			postIndex := iNdEx + msglen
 19049  			if postIndex < 0 {
 19050  				return ErrInvalidLengthPlan
 19051  			}
 19052  			if postIndex > l {
 19053  				return io.ErrUnexpectedEOF
 19054  			}
 19055  			v := &Const{}
 19056  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19057  				return err
 19058  			}
 19059  			m.Expr = &Expr_C{v}
 19060  			iNdEx = postIndex
 19061  		case 3:
 19062  			if wireType != 2 {
 19063  				return fmt.Errorf("proto: wrong wireType = %d for field P", wireType)
 19064  			}
 19065  			var msglen int
 19066  			for shift := uint(0); ; shift += 7 {
 19067  				if shift >= 64 {
 19068  					return ErrIntOverflowPlan
 19069  				}
 19070  				if iNdEx >= l {
 19071  					return io.ErrUnexpectedEOF
 19072  				}
 19073  				b := dAtA[iNdEx]
 19074  				iNdEx++
 19075  				msglen |= int(b&0x7F) << shift
 19076  				if b < 0x80 {
 19077  					break
 19078  				}
 19079  			}
 19080  			if msglen < 0 {
 19081  				return ErrInvalidLengthPlan
 19082  			}
 19083  			postIndex := iNdEx + msglen
 19084  			if postIndex < 0 {
 19085  				return ErrInvalidLengthPlan
 19086  			}
 19087  			if postIndex > l {
 19088  				return io.ErrUnexpectedEOF
 19089  			}
 19090  			v := &ParamRef{}
 19091  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19092  				return err
 19093  			}
 19094  			m.Expr = &Expr_P{v}
 19095  			iNdEx = postIndex
 19096  		case 4:
 19097  			if wireType != 2 {
 19098  				return fmt.Errorf("proto: wrong wireType = %d for field V", wireType)
 19099  			}
 19100  			var msglen int
 19101  			for shift := uint(0); ; shift += 7 {
 19102  				if shift >= 64 {
 19103  					return ErrIntOverflowPlan
 19104  				}
 19105  				if iNdEx >= l {
 19106  					return io.ErrUnexpectedEOF
 19107  				}
 19108  				b := dAtA[iNdEx]
 19109  				iNdEx++
 19110  				msglen |= int(b&0x7F) << shift
 19111  				if b < 0x80 {
 19112  					break
 19113  				}
 19114  			}
 19115  			if msglen < 0 {
 19116  				return ErrInvalidLengthPlan
 19117  			}
 19118  			postIndex := iNdEx + msglen
 19119  			if postIndex < 0 {
 19120  				return ErrInvalidLengthPlan
 19121  			}
 19122  			if postIndex > l {
 19123  				return io.ErrUnexpectedEOF
 19124  			}
 19125  			v := &VarRef{}
 19126  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19127  				return err
 19128  			}
 19129  			m.Expr = &Expr_V{v}
 19130  			iNdEx = postIndex
 19131  		case 5:
 19132  			if wireType != 2 {
 19133  				return fmt.Errorf("proto: wrong wireType = %d for field Col", wireType)
 19134  			}
 19135  			var msglen int
 19136  			for shift := uint(0); ; shift += 7 {
 19137  				if shift >= 64 {
 19138  					return ErrIntOverflowPlan
 19139  				}
 19140  				if iNdEx >= l {
 19141  					return io.ErrUnexpectedEOF
 19142  				}
 19143  				b := dAtA[iNdEx]
 19144  				iNdEx++
 19145  				msglen |= int(b&0x7F) << shift
 19146  				if b < 0x80 {
 19147  					break
 19148  				}
 19149  			}
 19150  			if msglen < 0 {
 19151  				return ErrInvalidLengthPlan
 19152  			}
 19153  			postIndex := iNdEx + msglen
 19154  			if postIndex < 0 {
 19155  				return ErrInvalidLengthPlan
 19156  			}
 19157  			if postIndex > l {
 19158  				return io.ErrUnexpectedEOF
 19159  			}
 19160  			v := &ColRef{}
 19161  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19162  				return err
 19163  			}
 19164  			m.Expr = &Expr_Col{v}
 19165  			iNdEx = postIndex
 19166  		case 6:
 19167  			if wireType != 2 {
 19168  				return fmt.Errorf("proto: wrong wireType = %d for field Raw", wireType)
 19169  			}
 19170  			var msglen int
 19171  			for shift := uint(0); ; shift += 7 {
 19172  				if shift >= 64 {
 19173  					return ErrIntOverflowPlan
 19174  				}
 19175  				if iNdEx >= l {
 19176  					return io.ErrUnexpectedEOF
 19177  				}
 19178  				b := dAtA[iNdEx]
 19179  				iNdEx++
 19180  				msglen |= int(b&0x7F) << shift
 19181  				if b < 0x80 {
 19182  					break
 19183  				}
 19184  			}
 19185  			if msglen < 0 {
 19186  				return ErrInvalidLengthPlan
 19187  			}
 19188  			postIndex := iNdEx + msglen
 19189  			if postIndex < 0 {
 19190  				return ErrInvalidLengthPlan
 19191  			}
 19192  			if postIndex > l {
 19193  				return io.ErrUnexpectedEOF
 19194  			}
 19195  			v := &RawColRef{}
 19196  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19197  				return err
 19198  			}
 19199  			m.Expr = &Expr_Raw{v}
 19200  			iNdEx = postIndex
 19201  		case 7:
 19202  			if wireType != 2 {
 19203  				return fmt.Errorf("proto: wrong wireType = %d for field F", wireType)
 19204  			}
 19205  			var msglen int
 19206  			for shift := uint(0); ; shift += 7 {
 19207  				if shift >= 64 {
 19208  					return ErrIntOverflowPlan
 19209  				}
 19210  				if iNdEx >= l {
 19211  					return io.ErrUnexpectedEOF
 19212  				}
 19213  				b := dAtA[iNdEx]
 19214  				iNdEx++
 19215  				msglen |= int(b&0x7F) << shift
 19216  				if b < 0x80 {
 19217  					break
 19218  				}
 19219  			}
 19220  			if msglen < 0 {
 19221  				return ErrInvalidLengthPlan
 19222  			}
 19223  			postIndex := iNdEx + msglen
 19224  			if postIndex < 0 {
 19225  				return ErrInvalidLengthPlan
 19226  			}
 19227  			if postIndex > l {
 19228  				return io.ErrUnexpectedEOF
 19229  			}
 19230  			v := &Function{}
 19231  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19232  				return err
 19233  			}
 19234  			m.Expr = &Expr_F{v}
 19235  			iNdEx = postIndex
 19236  		case 8:
 19237  			if wireType != 2 {
 19238  				return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType)
 19239  			}
 19240  			var msglen int
 19241  			for shift := uint(0); ; shift += 7 {
 19242  				if shift >= 64 {
 19243  					return ErrIntOverflowPlan
 19244  				}
 19245  				if iNdEx >= l {
 19246  					return io.ErrUnexpectedEOF
 19247  				}
 19248  				b := dAtA[iNdEx]
 19249  				iNdEx++
 19250  				msglen |= int(b&0x7F) << shift
 19251  				if b < 0x80 {
 19252  					break
 19253  				}
 19254  			}
 19255  			if msglen < 0 {
 19256  				return ErrInvalidLengthPlan
 19257  			}
 19258  			postIndex := iNdEx + msglen
 19259  			if postIndex < 0 {
 19260  				return ErrInvalidLengthPlan
 19261  			}
 19262  			if postIndex > l {
 19263  				return io.ErrUnexpectedEOF
 19264  			}
 19265  			v := &SubqueryRef{}
 19266  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19267  				return err
 19268  			}
 19269  			m.Expr = &Expr_Sub{v}
 19270  			iNdEx = postIndex
 19271  		case 9:
 19272  			if wireType != 2 {
 19273  				return fmt.Errorf("proto: wrong wireType = %d for field Corr", wireType)
 19274  			}
 19275  			var msglen int
 19276  			for shift := uint(0); ; shift += 7 {
 19277  				if shift >= 64 {
 19278  					return ErrIntOverflowPlan
 19279  				}
 19280  				if iNdEx >= l {
 19281  					return io.ErrUnexpectedEOF
 19282  				}
 19283  				b := dAtA[iNdEx]
 19284  				iNdEx++
 19285  				msglen |= int(b&0x7F) << shift
 19286  				if b < 0x80 {
 19287  					break
 19288  				}
 19289  			}
 19290  			if msglen < 0 {
 19291  				return ErrInvalidLengthPlan
 19292  			}
 19293  			postIndex := iNdEx + msglen
 19294  			if postIndex < 0 {
 19295  				return ErrInvalidLengthPlan
 19296  			}
 19297  			if postIndex > l {
 19298  				return io.ErrUnexpectedEOF
 19299  			}
 19300  			v := &CorrColRef{}
 19301  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19302  				return err
 19303  			}
 19304  			m.Expr = &Expr_Corr{v}
 19305  			iNdEx = postIndex
 19306  		case 10:
 19307  			if wireType != 2 {
 19308  				return fmt.Errorf("proto: wrong wireType = %d for field T", wireType)
 19309  			}
 19310  			var msglen int
 19311  			for shift := uint(0); ; shift += 7 {
 19312  				if shift >= 64 {
 19313  					return ErrIntOverflowPlan
 19314  				}
 19315  				if iNdEx >= l {
 19316  					return io.ErrUnexpectedEOF
 19317  				}
 19318  				b := dAtA[iNdEx]
 19319  				iNdEx++
 19320  				msglen |= int(b&0x7F) << shift
 19321  				if b < 0x80 {
 19322  					break
 19323  				}
 19324  			}
 19325  			if msglen < 0 {
 19326  				return ErrInvalidLengthPlan
 19327  			}
 19328  			postIndex := iNdEx + msglen
 19329  			if postIndex < 0 {
 19330  				return ErrInvalidLengthPlan
 19331  			}
 19332  			if postIndex > l {
 19333  				return io.ErrUnexpectedEOF
 19334  			}
 19335  			v := &TargetType{}
 19336  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19337  				return err
 19338  			}
 19339  			m.Expr = &Expr_T{v}
 19340  			iNdEx = postIndex
 19341  		case 11:
 19342  			if wireType != 2 {
 19343  				return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
 19344  			}
 19345  			var msglen int
 19346  			for shift := uint(0); ; shift += 7 {
 19347  				if shift >= 64 {
 19348  					return ErrIntOverflowPlan
 19349  				}
 19350  				if iNdEx >= l {
 19351  					return io.ErrUnexpectedEOF
 19352  				}
 19353  				b := dAtA[iNdEx]
 19354  				iNdEx++
 19355  				msglen |= int(b&0x7F) << shift
 19356  				if b < 0x80 {
 19357  					break
 19358  				}
 19359  			}
 19360  			if msglen < 0 {
 19361  				return ErrInvalidLengthPlan
 19362  			}
 19363  			postIndex := iNdEx + msglen
 19364  			if postIndex < 0 {
 19365  				return ErrInvalidLengthPlan
 19366  			}
 19367  			if postIndex > l {
 19368  				return io.ErrUnexpectedEOF
 19369  			}
 19370  			v := &ExprList{}
 19371  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19372  				return err
 19373  			}
 19374  			m.Expr = &Expr_List{v}
 19375  			iNdEx = postIndex
 19376  		case 12:
 19377  			if wireType != 2 {
 19378  				return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
 19379  			}
 19380  			var msglen int
 19381  			for shift := uint(0); ; shift += 7 {
 19382  				if shift >= 64 {
 19383  					return ErrIntOverflowPlan
 19384  				}
 19385  				if iNdEx >= l {
 19386  					return io.ErrUnexpectedEOF
 19387  				}
 19388  				b := dAtA[iNdEx]
 19389  				iNdEx++
 19390  				msglen |= int(b&0x7F) << shift
 19391  				if b < 0x80 {
 19392  					break
 19393  				}
 19394  			}
 19395  			if msglen < 0 {
 19396  				return ErrInvalidLengthPlan
 19397  			}
 19398  			postIndex := iNdEx + msglen
 19399  			if postIndex < 0 {
 19400  				return ErrInvalidLengthPlan
 19401  			}
 19402  			if postIndex > l {
 19403  				return io.ErrUnexpectedEOF
 19404  			}
 19405  			v := &MaxValue{}
 19406  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19407  				return err
 19408  			}
 19409  			m.Expr = &Expr_Max{v}
 19410  			iNdEx = postIndex
 19411  		default:
 19412  			iNdEx = preIndex
 19413  			skippy, err := skipPlan(dAtA[iNdEx:])
 19414  			if err != nil {
 19415  				return err
 19416  			}
 19417  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19418  				return ErrInvalidLengthPlan
 19419  			}
 19420  			if (iNdEx + skippy) > l {
 19421  				return io.ErrUnexpectedEOF
 19422  			}
 19423  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 19424  			iNdEx += skippy
 19425  		}
 19426  	}
 19427  
 19428  	if iNdEx > l {
 19429  		return io.ErrUnexpectedEOF
 19430  	}
 19431  	return nil
 19432  }
 19433  func (m *Decimal64) Unmarshal(dAtA []byte) error {
 19434  	l := len(dAtA)
 19435  	iNdEx := 0
 19436  	for iNdEx < l {
 19437  		preIndex := iNdEx
 19438  		var wire uint64
 19439  		for shift := uint(0); ; shift += 7 {
 19440  			if shift >= 64 {
 19441  				return ErrIntOverflowPlan
 19442  			}
 19443  			if iNdEx >= l {
 19444  				return io.ErrUnexpectedEOF
 19445  			}
 19446  			b := dAtA[iNdEx]
 19447  			iNdEx++
 19448  			wire |= uint64(b&0x7F) << shift
 19449  			if b < 0x80 {
 19450  				break
 19451  			}
 19452  		}
 19453  		fieldNum := int32(wire >> 3)
 19454  		wireType := int(wire & 0x7)
 19455  		if wireType == 4 {
 19456  			return fmt.Errorf("proto: decimal64: wiretype end group for non-group")
 19457  		}
 19458  		if fieldNum <= 0 {
 19459  			return fmt.Errorf("proto: decimal64: illegal tag %d (wire type %d)", fieldNum, wire)
 19460  		}
 19461  		switch fieldNum {
 19462  		case 1:
 19463  			if wireType != 0 {
 19464  				return fmt.Errorf("proto: wrong wireType = %d for field A", wireType)
 19465  			}
 19466  			m.A = 0
 19467  			for shift := uint(0); ; shift += 7 {
 19468  				if shift >= 64 {
 19469  					return ErrIntOverflowPlan
 19470  				}
 19471  				if iNdEx >= l {
 19472  					return io.ErrUnexpectedEOF
 19473  				}
 19474  				b := dAtA[iNdEx]
 19475  				iNdEx++
 19476  				m.A |= int64(b&0x7F) << shift
 19477  				if b < 0x80 {
 19478  					break
 19479  				}
 19480  			}
 19481  		default:
 19482  			iNdEx = preIndex
 19483  			skippy, err := skipPlan(dAtA[iNdEx:])
 19484  			if err != nil {
 19485  				return err
 19486  			}
 19487  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19488  				return ErrInvalidLengthPlan
 19489  			}
 19490  			if (iNdEx + skippy) > l {
 19491  				return io.ErrUnexpectedEOF
 19492  			}
 19493  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 19494  			iNdEx += skippy
 19495  		}
 19496  	}
 19497  
 19498  	if iNdEx > l {
 19499  		return io.ErrUnexpectedEOF
 19500  	}
 19501  	return nil
 19502  }
 19503  func (m *Decimal128) Unmarshal(dAtA []byte) error {
 19504  	l := len(dAtA)
 19505  	iNdEx := 0
 19506  	for iNdEx < l {
 19507  		preIndex := iNdEx
 19508  		var wire uint64
 19509  		for shift := uint(0); ; shift += 7 {
 19510  			if shift >= 64 {
 19511  				return ErrIntOverflowPlan
 19512  			}
 19513  			if iNdEx >= l {
 19514  				return io.ErrUnexpectedEOF
 19515  			}
 19516  			b := dAtA[iNdEx]
 19517  			iNdEx++
 19518  			wire |= uint64(b&0x7F) << shift
 19519  			if b < 0x80 {
 19520  				break
 19521  			}
 19522  		}
 19523  		fieldNum := int32(wire >> 3)
 19524  		wireType := int(wire & 0x7)
 19525  		if wireType == 4 {
 19526  			return fmt.Errorf("proto: decimal128: wiretype end group for non-group")
 19527  		}
 19528  		if fieldNum <= 0 {
 19529  			return fmt.Errorf("proto: decimal128: illegal tag %d (wire type %d)", fieldNum, wire)
 19530  		}
 19531  		switch fieldNum {
 19532  		case 1:
 19533  			if wireType != 0 {
 19534  				return fmt.Errorf("proto: wrong wireType = %d for field A", wireType)
 19535  			}
 19536  			m.A = 0
 19537  			for shift := uint(0); ; shift += 7 {
 19538  				if shift >= 64 {
 19539  					return ErrIntOverflowPlan
 19540  				}
 19541  				if iNdEx >= l {
 19542  					return io.ErrUnexpectedEOF
 19543  				}
 19544  				b := dAtA[iNdEx]
 19545  				iNdEx++
 19546  				m.A |= int64(b&0x7F) << shift
 19547  				if b < 0x80 {
 19548  					break
 19549  				}
 19550  			}
 19551  		case 2:
 19552  			if wireType != 0 {
 19553  				return fmt.Errorf("proto: wrong wireType = %d for field B", wireType)
 19554  			}
 19555  			m.B = 0
 19556  			for shift := uint(0); ; shift += 7 {
 19557  				if shift >= 64 {
 19558  					return ErrIntOverflowPlan
 19559  				}
 19560  				if iNdEx >= l {
 19561  					return io.ErrUnexpectedEOF
 19562  				}
 19563  				b := dAtA[iNdEx]
 19564  				iNdEx++
 19565  				m.B |= int64(b&0x7F) << shift
 19566  				if b < 0x80 {
 19567  					break
 19568  				}
 19569  			}
 19570  		default:
 19571  			iNdEx = preIndex
 19572  			skippy, err := skipPlan(dAtA[iNdEx:])
 19573  			if err != nil {
 19574  				return err
 19575  			}
 19576  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19577  				return ErrInvalidLengthPlan
 19578  			}
 19579  			if (iNdEx + skippy) > l {
 19580  				return io.ErrUnexpectedEOF
 19581  			}
 19582  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 19583  			iNdEx += skippy
 19584  		}
 19585  	}
 19586  
 19587  	if iNdEx > l {
 19588  		return io.ErrUnexpectedEOF
 19589  	}
 19590  	return nil
 19591  }
 19592  func (m *ResultColDef) Unmarshal(dAtA []byte) error {
 19593  	l := len(dAtA)
 19594  	iNdEx := 0
 19595  	for iNdEx < l {
 19596  		preIndex := iNdEx
 19597  		var wire uint64
 19598  		for shift := uint(0); ; shift += 7 {
 19599  			if shift >= 64 {
 19600  				return ErrIntOverflowPlan
 19601  			}
 19602  			if iNdEx >= l {
 19603  				return io.ErrUnexpectedEOF
 19604  			}
 19605  			b := dAtA[iNdEx]
 19606  			iNdEx++
 19607  			wire |= uint64(b&0x7F) << shift
 19608  			if b < 0x80 {
 19609  				break
 19610  			}
 19611  		}
 19612  		fieldNum := int32(wire >> 3)
 19613  		wireType := int(wire & 0x7)
 19614  		if wireType == 4 {
 19615  			return fmt.Errorf("proto: ResultColDef: wiretype end group for non-group")
 19616  		}
 19617  		if fieldNum <= 0 {
 19618  			return fmt.Errorf("proto: ResultColDef: illegal tag %d (wire type %d)", fieldNum, wire)
 19619  		}
 19620  		switch fieldNum {
 19621  		case 1:
 19622  			if wireType != 2 {
 19623  				return fmt.Errorf("proto: wrong wireType = %d for field ResultCols", wireType)
 19624  			}
 19625  			var msglen int
 19626  			for shift := uint(0); ; shift += 7 {
 19627  				if shift >= 64 {
 19628  					return ErrIntOverflowPlan
 19629  				}
 19630  				if iNdEx >= l {
 19631  					return io.ErrUnexpectedEOF
 19632  				}
 19633  				b := dAtA[iNdEx]
 19634  				iNdEx++
 19635  				msglen |= int(b&0x7F) << shift
 19636  				if b < 0x80 {
 19637  					break
 19638  				}
 19639  			}
 19640  			if msglen < 0 {
 19641  				return ErrInvalidLengthPlan
 19642  			}
 19643  			postIndex := iNdEx + msglen
 19644  			if postIndex < 0 {
 19645  				return ErrInvalidLengthPlan
 19646  			}
 19647  			if postIndex > l {
 19648  				return io.ErrUnexpectedEOF
 19649  			}
 19650  			m.ResultCols = append(m.ResultCols, &ColDef{})
 19651  			if err := m.ResultCols[len(m.ResultCols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19652  				return err
 19653  			}
 19654  			iNdEx = postIndex
 19655  		default:
 19656  			iNdEx = preIndex
 19657  			skippy, err := skipPlan(dAtA[iNdEx:])
 19658  			if err != nil {
 19659  				return err
 19660  			}
 19661  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19662  				return ErrInvalidLengthPlan
 19663  			}
 19664  			if (iNdEx + skippy) > l {
 19665  				return io.ErrUnexpectedEOF
 19666  			}
 19667  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 19668  			iNdEx += skippy
 19669  		}
 19670  	}
 19671  
 19672  	if iNdEx > l {
 19673  		return io.ErrUnexpectedEOF
 19674  	}
 19675  	return nil
 19676  }
 19677  func (m *ColDef) Unmarshal(dAtA []byte) error {
 19678  	l := len(dAtA)
 19679  	iNdEx := 0
 19680  	for iNdEx < l {
 19681  		preIndex := iNdEx
 19682  		var wire uint64
 19683  		for shift := uint(0); ; shift += 7 {
 19684  			if shift >= 64 {
 19685  				return ErrIntOverflowPlan
 19686  			}
 19687  			if iNdEx >= l {
 19688  				return io.ErrUnexpectedEOF
 19689  			}
 19690  			b := dAtA[iNdEx]
 19691  			iNdEx++
 19692  			wire |= uint64(b&0x7F) << shift
 19693  			if b < 0x80 {
 19694  				break
 19695  			}
 19696  		}
 19697  		fieldNum := int32(wire >> 3)
 19698  		wireType := int(wire & 0x7)
 19699  		if wireType == 4 {
 19700  			return fmt.Errorf("proto: ColDef: wiretype end group for non-group")
 19701  		}
 19702  		if fieldNum <= 0 {
 19703  			return fmt.Errorf("proto: ColDef: illegal tag %d (wire type %d)", fieldNum, wire)
 19704  		}
 19705  		switch fieldNum {
 19706  		case 1:
 19707  			if wireType != 0 {
 19708  				return fmt.Errorf("proto: wrong wireType = %d for field ColId", wireType)
 19709  			}
 19710  			m.ColId = 0
 19711  			for shift := uint(0); ; shift += 7 {
 19712  				if shift >= 64 {
 19713  					return ErrIntOverflowPlan
 19714  				}
 19715  				if iNdEx >= l {
 19716  					return io.ErrUnexpectedEOF
 19717  				}
 19718  				b := dAtA[iNdEx]
 19719  				iNdEx++
 19720  				m.ColId |= uint64(b&0x7F) << shift
 19721  				if b < 0x80 {
 19722  					break
 19723  				}
 19724  			}
 19725  		case 2:
 19726  			if wireType != 2 {
 19727  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 19728  			}
 19729  			var stringLen uint64
 19730  			for shift := uint(0); ; shift += 7 {
 19731  				if shift >= 64 {
 19732  					return ErrIntOverflowPlan
 19733  				}
 19734  				if iNdEx >= l {
 19735  					return io.ErrUnexpectedEOF
 19736  				}
 19737  				b := dAtA[iNdEx]
 19738  				iNdEx++
 19739  				stringLen |= uint64(b&0x7F) << shift
 19740  				if b < 0x80 {
 19741  					break
 19742  				}
 19743  			}
 19744  			intStringLen := int(stringLen)
 19745  			if intStringLen < 0 {
 19746  				return ErrInvalidLengthPlan
 19747  			}
 19748  			postIndex := iNdEx + intStringLen
 19749  			if postIndex < 0 {
 19750  				return ErrInvalidLengthPlan
 19751  			}
 19752  			if postIndex > l {
 19753  				return io.ErrUnexpectedEOF
 19754  			}
 19755  			m.Name = string(dAtA[iNdEx:postIndex])
 19756  			iNdEx = postIndex
 19757  		case 3:
 19758  			if wireType != 0 {
 19759  				return fmt.Errorf("proto: wrong wireType = %d for field Hidden", wireType)
 19760  			}
 19761  			var v int
 19762  			for shift := uint(0); ; shift += 7 {
 19763  				if shift >= 64 {
 19764  					return ErrIntOverflowPlan
 19765  				}
 19766  				if iNdEx >= l {
 19767  					return io.ErrUnexpectedEOF
 19768  				}
 19769  				b := dAtA[iNdEx]
 19770  				iNdEx++
 19771  				v |= int(b&0x7F) << shift
 19772  				if b < 0x80 {
 19773  					break
 19774  				}
 19775  			}
 19776  			m.Hidden = bool(v != 0)
 19777  		case 4:
 19778  			if wireType != 0 {
 19779  				return fmt.Errorf("proto: wrong wireType = %d for field Alg", wireType)
 19780  			}
 19781  			m.Alg = 0
 19782  			for shift := uint(0); ; shift += 7 {
 19783  				if shift >= 64 {
 19784  					return ErrIntOverflowPlan
 19785  				}
 19786  				if iNdEx >= l {
 19787  					return io.ErrUnexpectedEOF
 19788  				}
 19789  				b := dAtA[iNdEx]
 19790  				iNdEx++
 19791  				m.Alg |= CompressType(b&0x7F) << shift
 19792  				if b < 0x80 {
 19793  					break
 19794  				}
 19795  			}
 19796  		case 5:
 19797  			if wireType != 2 {
 19798  				return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
 19799  			}
 19800  			var msglen int
 19801  			for shift := uint(0); ; shift += 7 {
 19802  				if shift >= 64 {
 19803  					return ErrIntOverflowPlan
 19804  				}
 19805  				if iNdEx >= l {
 19806  					return io.ErrUnexpectedEOF
 19807  				}
 19808  				b := dAtA[iNdEx]
 19809  				iNdEx++
 19810  				msglen |= int(b&0x7F) << shift
 19811  				if b < 0x80 {
 19812  					break
 19813  				}
 19814  			}
 19815  			if msglen < 0 {
 19816  				return ErrInvalidLengthPlan
 19817  			}
 19818  			postIndex := iNdEx + msglen
 19819  			if postIndex < 0 {
 19820  				return ErrInvalidLengthPlan
 19821  			}
 19822  			if postIndex > l {
 19823  				return io.ErrUnexpectedEOF
 19824  			}
 19825  			if m.Typ == nil {
 19826  				m.Typ = &Type{}
 19827  			}
 19828  			if err := m.Typ.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19829  				return err
 19830  			}
 19831  			iNdEx = postIndex
 19832  		case 6:
 19833  			if wireType != 0 {
 19834  				return fmt.Errorf("proto: wrong wireType = %d for field NotNull", wireType)
 19835  			}
 19836  			var v int
 19837  			for shift := uint(0); ; shift += 7 {
 19838  				if shift >= 64 {
 19839  					return ErrIntOverflowPlan
 19840  				}
 19841  				if iNdEx >= l {
 19842  					return io.ErrUnexpectedEOF
 19843  				}
 19844  				b := dAtA[iNdEx]
 19845  				iNdEx++
 19846  				v |= int(b&0x7F) << shift
 19847  				if b < 0x80 {
 19848  					break
 19849  				}
 19850  			}
 19851  			m.NotNull = bool(v != 0)
 19852  		case 7:
 19853  			if wireType != 2 {
 19854  				return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType)
 19855  			}
 19856  			var msglen int
 19857  			for shift := uint(0); ; shift += 7 {
 19858  				if shift >= 64 {
 19859  					return ErrIntOverflowPlan
 19860  				}
 19861  				if iNdEx >= l {
 19862  					return io.ErrUnexpectedEOF
 19863  				}
 19864  				b := dAtA[iNdEx]
 19865  				iNdEx++
 19866  				msglen |= int(b&0x7F) << shift
 19867  				if b < 0x80 {
 19868  					break
 19869  				}
 19870  			}
 19871  			if msglen < 0 {
 19872  				return ErrInvalidLengthPlan
 19873  			}
 19874  			postIndex := iNdEx + msglen
 19875  			if postIndex < 0 {
 19876  				return ErrInvalidLengthPlan
 19877  			}
 19878  			if postIndex > l {
 19879  				return io.ErrUnexpectedEOF
 19880  			}
 19881  			if m.Default == nil {
 19882  				m.Default = &Default{}
 19883  			}
 19884  			if err := m.Default.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19885  				return err
 19886  			}
 19887  			iNdEx = postIndex
 19888  		case 8:
 19889  			if wireType != 2 {
 19890  				return fmt.Errorf("proto: wrong wireType = %d for field Comment", wireType)
 19891  			}
 19892  			var stringLen uint64
 19893  			for shift := uint(0); ; shift += 7 {
 19894  				if shift >= 64 {
 19895  					return ErrIntOverflowPlan
 19896  				}
 19897  				if iNdEx >= l {
 19898  					return io.ErrUnexpectedEOF
 19899  				}
 19900  				b := dAtA[iNdEx]
 19901  				iNdEx++
 19902  				stringLen |= uint64(b&0x7F) << shift
 19903  				if b < 0x80 {
 19904  					break
 19905  				}
 19906  			}
 19907  			intStringLen := int(stringLen)
 19908  			if intStringLen < 0 {
 19909  				return ErrInvalidLengthPlan
 19910  			}
 19911  			postIndex := iNdEx + intStringLen
 19912  			if postIndex < 0 {
 19913  				return ErrInvalidLengthPlan
 19914  			}
 19915  			if postIndex > l {
 19916  				return io.ErrUnexpectedEOF
 19917  			}
 19918  			m.Comment = string(dAtA[iNdEx:postIndex])
 19919  			iNdEx = postIndex
 19920  		case 9:
 19921  			if wireType != 2 {
 19922  				return fmt.Errorf("proto: wrong wireType = %d for field OnUpdate", wireType)
 19923  			}
 19924  			var msglen int
 19925  			for shift := uint(0); ; shift += 7 {
 19926  				if shift >= 64 {
 19927  					return ErrIntOverflowPlan
 19928  				}
 19929  				if iNdEx >= l {
 19930  					return io.ErrUnexpectedEOF
 19931  				}
 19932  				b := dAtA[iNdEx]
 19933  				iNdEx++
 19934  				msglen |= int(b&0x7F) << shift
 19935  				if b < 0x80 {
 19936  					break
 19937  				}
 19938  			}
 19939  			if msglen < 0 {
 19940  				return ErrInvalidLengthPlan
 19941  			}
 19942  			postIndex := iNdEx + msglen
 19943  			if postIndex < 0 {
 19944  				return ErrInvalidLengthPlan
 19945  			}
 19946  			if postIndex > l {
 19947  				return io.ErrUnexpectedEOF
 19948  			}
 19949  			if m.OnUpdate == nil {
 19950  				m.OnUpdate = &OnUpdate{}
 19951  			}
 19952  			if err := m.OnUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19953  				return err
 19954  			}
 19955  			iNdEx = postIndex
 19956  		case 10:
 19957  			if wireType != 0 {
 19958  				return fmt.Errorf("proto: wrong wireType = %d for field LowCard", wireType)
 19959  			}
 19960  			var v int
 19961  			for shift := uint(0); ; shift += 7 {
 19962  				if shift >= 64 {
 19963  					return ErrIntOverflowPlan
 19964  				}
 19965  				if iNdEx >= l {
 19966  					return io.ErrUnexpectedEOF
 19967  				}
 19968  				b := dAtA[iNdEx]
 19969  				iNdEx++
 19970  				v |= int(b&0x7F) << shift
 19971  				if b < 0x80 {
 19972  					break
 19973  				}
 19974  			}
 19975  			m.LowCard = bool(v != 0)
 19976  		case 11:
 19977  			if wireType != 0 {
 19978  				return fmt.Errorf("proto: wrong wireType = %d for field ClusterBy", wireType)
 19979  			}
 19980  			var v int
 19981  			for shift := uint(0); ; shift += 7 {
 19982  				if shift >= 64 {
 19983  					return ErrIntOverflowPlan
 19984  				}
 19985  				if iNdEx >= l {
 19986  					return io.ErrUnexpectedEOF
 19987  				}
 19988  				b := dAtA[iNdEx]
 19989  				iNdEx++
 19990  				v |= int(b&0x7F) << shift
 19991  				if b < 0x80 {
 19992  					break
 19993  				}
 19994  			}
 19995  			m.ClusterBy = bool(v != 0)
 19996  		case 12:
 19997  			if wireType != 0 {
 19998  				return fmt.Errorf("proto: wrong wireType = %d for field Primary", wireType)
 19999  			}
 20000  			var v int
 20001  			for shift := uint(0); ; shift += 7 {
 20002  				if shift >= 64 {
 20003  					return ErrIntOverflowPlan
 20004  				}
 20005  				if iNdEx >= l {
 20006  					return io.ErrUnexpectedEOF
 20007  				}
 20008  				b := dAtA[iNdEx]
 20009  				iNdEx++
 20010  				v |= int(b&0x7F) << shift
 20011  				if b < 0x80 {
 20012  					break
 20013  				}
 20014  			}
 20015  			m.Primary = bool(v != 0)
 20016  		case 13:
 20017  			if wireType != 0 {
 20018  				return fmt.Errorf("proto: wrong wireType = %d for field Pkidx", wireType)
 20019  			}
 20020  			m.Pkidx = 0
 20021  			for shift := uint(0); ; shift += 7 {
 20022  				if shift >= 64 {
 20023  					return ErrIntOverflowPlan
 20024  				}
 20025  				if iNdEx >= l {
 20026  					return io.ErrUnexpectedEOF
 20027  				}
 20028  				b := dAtA[iNdEx]
 20029  				iNdEx++
 20030  				m.Pkidx |= int32(b&0x7F) << shift
 20031  				if b < 0x80 {
 20032  					break
 20033  				}
 20034  			}
 20035  		default:
 20036  			iNdEx = preIndex
 20037  			skippy, err := skipPlan(dAtA[iNdEx:])
 20038  			if err != nil {
 20039  				return err
 20040  			}
 20041  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20042  				return ErrInvalidLengthPlan
 20043  			}
 20044  			if (iNdEx + skippy) > l {
 20045  				return io.ErrUnexpectedEOF
 20046  			}
 20047  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 20048  			iNdEx += skippy
 20049  		}
 20050  	}
 20051  
 20052  	if iNdEx > l {
 20053  		return io.ErrUnexpectedEOF
 20054  	}
 20055  	return nil
 20056  }
 20057  func (m *Default) Unmarshal(dAtA []byte) error {
 20058  	l := len(dAtA)
 20059  	iNdEx := 0
 20060  	for iNdEx < l {
 20061  		preIndex := iNdEx
 20062  		var wire uint64
 20063  		for shift := uint(0); ; shift += 7 {
 20064  			if shift >= 64 {
 20065  				return ErrIntOverflowPlan
 20066  			}
 20067  			if iNdEx >= l {
 20068  				return io.ErrUnexpectedEOF
 20069  			}
 20070  			b := dAtA[iNdEx]
 20071  			iNdEx++
 20072  			wire |= uint64(b&0x7F) << shift
 20073  			if b < 0x80 {
 20074  				break
 20075  			}
 20076  		}
 20077  		fieldNum := int32(wire >> 3)
 20078  		wireType := int(wire & 0x7)
 20079  		if wireType == 4 {
 20080  			return fmt.Errorf("proto: Default: wiretype end group for non-group")
 20081  		}
 20082  		if fieldNum <= 0 {
 20083  			return fmt.Errorf("proto: Default: illegal tag %d (wire type %d)", fieldNum, wire)
 20084  		}
 20085  		switch fieldNum {
 20086  		case 1:
 20087  			if wireType != 2 {
 20088  				return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType)
 20089  			}
 20090  			var msglen int
 20091  			for shift := uint(0); ; shift += 7 {
 20092  				if shift >= 64 {
 20093  					return ErrIntOverflowPlan
 20094  				}
 20095  				if iNdEx >= l {
 20096  					return io.ErrUnexpectedEOF
 20097  				}
 20098  				b := dAtA[iNdEx]
 20099  				iNdEx++
 20100  				msglen |= int(b&0x7F) << shift
 20101  				if b < 0x80 {
 20102  					break
 20103  				}
 20104  			}
 20105  			if msglen < 0 {
 20106  				return ErrInvalidLengthPlan
 20107  			}
 20108  			postIndex := iNdEx + msglen
 20109  			if postIndex < 0 {
 20110  				return ErrInvalidLengthPlan
 20111  			}
 20112  			if postIndex > l {
 20113  				return io.ErrUnexpectedEOF
 20114  			}
 20115  			if m.Expr == nil {
 20116  				m.Expr = &Expr{}
 20117  			}
 20118  			if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20119  				return err
 20120  			}
 20121  			iNdEx = postIndex
 20122  		case 2:
 20123  			if wireType != 2 {
 20124  				return fmt.Errorf("proto: wrong wireType = %d for field OriginString", wireType)
 20125  			}
 20126  			var stringLen uint64
 20127  			for shift := uint(0); ; shift += 7 {
 20128  				if shift >= 64 {
 20129  					return ErrIntOverflowPlan
 20130  				}
 20131  				if iNdEx >= l {
 20132  					return io.ErrUnexpectedEOF
 20133  				}
 20134  				b := dAtA[iNdEx]
 20135  				iNdEx++
 20136  				stringLen |= uint64(b&0x7F) << shift
 20137  				if b < 0x80 {
 20138  					break
 20139  				}
 20140  			}
 20141  			intStringLen := int(stringLen)
 20142  			if intStringLen < 0 {
 20143  				return ErrInvalidLengthPlan
 20144  			}
 20145  			postIndex := iNdEx + intStringLen
 20146  			if postIndex < 0 {
 20147  				return ErrInvalidLengthPlan
 20148  			}
 20149  			if postIndex > l {
 20150  				return io.ErrUnexpectedEOF
 20151  			}
 20152  			m.OriginString = string(dAtA[iNdEx:postIndex])
 20153  			iNdEx = postIndex
 20154  		case 3:
 20155  			if wireType != 0 {
 20156  				return fmt.Errorf("proto: wrong wireType = %d for field NullAbility", wireType)
 20157  			}
 20158  			var v int
 20159  			for shift := uint(0); ; shift += 7 {
 20160  				if shift >= 64 {
 20161  					return ErrIntOverflowPlan
 20162  				}
 20163  				if iNdEx >= l {
 20164  					return io.ErrUnexpectedEOF
 20165  				}
 20166  				b := dAtA[iNdEx]
 20167  				iNdEx++
 20168  				v |= int(b&0x7F) << shift
 20169  				if b < 0x80 {
 20170  					break
 20171  				}
 20172  			}
 20173  			m.NullAbility = bool(v != 0)
 20174  		default:
 20175  			iNdEx = preIndex
 20176  			skippy, err := skipPlan(dAtA[iNdEx:])
 20177  			if err != nil {
 20178  				return err
 20179  			}
 20180  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20181  				return ErrInvalidLengthPlan
 20182  			}
 20183  			if (iNdEx + skippy) > l {
 20184  				return io.ErrUnexpectedEOF
 20185  			}
 20186  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 20187  			iNdEx += skippy
 20188  		}
 20189  	}
 20190  
 20191  	if iNdEx > l {
 20192  		return io.ErrUnexpectedEOF
 20193  	}
 20194  	return nil
 20195  }
 20196  func (m *OnUpdate) Unmarshal(dAtA []byte) error {
 20197  	l := len(dAtA)
 20198  	iNdEx := 0
 20199  	for iNdEx < l {
 20200  		preIndex := iNdEx
 20201  		var wire uint64
 20202  		for shift := uint(0); ; shift += 7 {
 20203  			if shift >= 64 {
 20204  				return ErrIntOverflowPlan
 20205  			}
 20206  			if iNdEx >= l {
 20207  				return io.ErrUnexpectedEOF
 20208  			}
 20209  			b := dAtA[iNdEx]
 20210  			iNdEx++
 20211  			wire |= uint64(b&0x7F) << shift
 20212  			if b < 0x80 {
 20213  				break
 20214  			}
 20215  		}
 20216  		fieldNum := int32(wire >> 3)
 20217  		wireType := int(wire & 0x7)
 20218  		if wireType == 4 {
 20219  			return fmt.Errorf("proto: OnUpdate: wiretype end group for non-group")
 20220  		}
 20221  		if fieldNum <= 0 {
 20222  			return fmt.Errorf("proto: OnUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
 20223  		}
 20224  		switch fieldNum {
 20225  		case 1:
 20226  			if wireType != 2 {
 20227  				return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType)
 20228  			}
 20229  			var msglen int
 20230  			for shift := uint(0); ; shift += 7 {
 20231  				if shift >= 64 {
 20232  					return ErrIntOverflowPlan
 20233  				}
 20234  				if iNdEx >= l {
 20235  					return io.ErrUnexpectedEOF
 20236  				}
 20237  				b := dAtA[iNdEx]
 20238  				iNdEx++
 20239  				msglen |= int(b&0x7F) << shift
 20240  				if b < 0x80 {
 20241  					break
 20242  				}
 20243  			}
 20244  			if msglen < 0 {
 20245  				return ErrInvalidLengthPlan
 20246  			}
 20247  			postIndex := iNdEx + msglen
 20248  			if postIndex < 0 {
 20249  				return ErrInvalidLengthPlan
 20250  			}
 20251  			if postIndex > l {
 20252  				return io.ErrUnexpectedEOF
 20253  			}
 20254  			if m.Expr == nil {
 20255  				m.Expr = &Expr{}
 20256  			}
 20257  			if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20258  				return err
 20259  			}
 20260  			iNdEx = postIndex
 20261  		case 2:
 20262  			if wireType != 2 {
 20263  				return fmt.Errorf("proto: wrong wireType = %d for field OriginString", wireType)
 20264  			}
 20265  			var stringLen uint64
 20266  			for shift := uint(0); ; shift += 7 {
 20267  				if shift >= 64 {
 20268  					return ErrIntOverflowPlan
 20269  				}
 20270  				if iNdEx >= l {
 20271  					return io.ErrUnexpectedEOF
 20272  				}
 20273  				b := dAtA[iNdEx]
 20274  				iNdEx++
 20275  				stringLen |= uint64(b&0x7F) << shift
 20276  				if b < 0x80 {
 20277  					break
 20278  				}
 20279  			}
 20280  			intStringLen := int(stringLen)
 20281  			if intStringLen < 0 {
 20282  				return ErrInvalidLengthPlan
 20283  			}
 20284  			postIndex := iNdEx + intStringLen
 20285  			if postIndex < 0 {
 20286  				return ErrInvalidLengthPlan
 20287  			}
 20288  			if postIndex > l {
 20289  				return io.ErrUnexpectedEOF
 20290  			}
 20291  			m.OriginString = string(dAtA[iNdEx:postIndex])
 20292  			iNdEx = postIndex
 20293  		default:
 20294  			iNdEx = preIndex
 20295  			skippy, err := skipPlan(dAtA[iNdEx:])
 20296  			if err != nil {
 20297  				return err
 20298  			}
 20299  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20300  				return ErrInvalidLengthPlan
 20301  			}
 20302  			if (iNdEx + skippy) > l {
 20303  				return io.ErrUnexpectedEOF
 20304  			}
 20305  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 20306  			iNdEx += skippy
 20307  		}
 20308  	}
 20309  
 20310  	if iNdEx > l {
 20311  		return io.ErrUnexpectedEOF
 20312  	}
 20313  	return nil
 20314  }
 20315  func (m *IndexOption) Unmarshal(dAtA []byte) error {
 20316  	l := len(dAtA)
 20317  	iNdEx := 0
 20318  	for iNdEx < l {
 20319  		preIndex := iNdEx
 20320  		var wire uint64
 20321  		for shift := uint(0); ; shift += 7 {
 20322  			if shift >= 64 {
 20323  				return ErrIntOverflowPlan
 20324  			}
 20325  			if iNdEx >= l {
 20326  				return io.ErrUnexpectedEOF
 20327  			}
 20328  			b := dAtA[iNdEx]
 20329  			iNdEx++
 20330  			wire |= uint64(b&0x7F) << shift
 20331  			if b < 0x80 {
 20332  				break
 20333  			}
 20334  		}
 20335  		fieldNum := int32(wire >> 3)
 20336  		wireType := int(wire & 0x7)
 20337  		if wireType == 4 {
 20338  			return fmt.Errorf("proto: IndexOption: wiretype end group for non-group")
 20339  		}
 20340  		if fieldNum <= 0 {
 20341  			return fmt.Errorf("proto: IndexOption: illegal tag %d (wire type %d)", fieldNum, wire)
 20342  		}
 20343  		switch fieldNum {
 20344  		case 1:
 20345  			if wireType != 0 {
 20346  				return fmt.Errorf("proto: wrong wireType = %d for field CreateExtraTable", wireType)
 20347  			}
 20348  			var v int
 20349  			for shift := uint(0); ; shift += 7 {
 20350  				if shift >= 64 {
 20351  					return ErrIntOverflowPlan
 20352  				}
 20353  				if iNdEx >= l {
 20354  					return io.ErrUnexpectedEOF
 20355  				}
 20356  				b := dAtA[iNdEx]
 20357  				iNdEx++
 20358  				v |= int(b&0x7F) << shift
 20359  				if b < 0x80 {
 20360  					break
 20361  				}
 20362  			}
 20363  			m.CreateExtraTable = bool(v != 0)
 20364  		default:
 20365  			iNdEx = preIndex
 20366  			skippy, err := skipPlan(dAtA[iNdEx:])
 20367  			if err != nil {
 20368  				return err
 20369  			}
 20370  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20371  				return ErrInvalidLengthPlan
 20372  			}
 20373  			if (iNdEx + skippy) > l {
 20374  				return io.ErrUnexpectedEOF
 20375  			}
 20376  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 20377  			iNdEx += skippy
 20378  		}
 20379  	}
 20380  
 20381  	if iNdEx > l {
 20382  		return io.ErrUnexpectedEOF
 20383  	}
 20384  	return nil
 20385  }
 20386  func (m *PrimaryKeyDef) Unmarshal(dAtA []byte) error {
 20387  	l := len(dAtA)
 20388  	iNdEx := 0
 20389  	for iNdEx < l {
 20390  		preIndex := iNdEx
 20391  		var wire uint64
 20392  		for shift := uint(0); ; shift += 7 {
 20393  			if shift >= 64 {
 20394  				return ErrIntOverflowPlan
 20395  			}
 20396  			if iNdEx >= l {
 20397  				return io.ErrUnexpectedEOF
 20398  			}
 20399  			b := dAtA[iNdEx]
 20400  			iNdEx++
 20401  			wire |= uint64(b&0x7F) << shift
 20402  			if b < 0x80 {
 20403  				break
 20404  			}
 20405  		}
 20406  		fieldNum := int32(wire >> 3)
 20407  		wireType := int(wire & 0x7)
 20408  		if wireType == 4 {
 20409  			return fmt.Errorf("proto: PrimaryKeyDef: wiretype end group for non-group")
 20410  		}
 20411  		if fieldNum <= 0 {
 20412  			return fmt.Errorf("proto: PrimaryKeyDef: illegal tag %d (wire type %d)", fieldNum, wire)
 20413  		}
 20414  		switch fieldNum {
 20415  		case 1:
 20416  			if wireType == 0 {
 20417  				var v uint64
 20418  				for shift := uint(0); ; shift += 7 {
 20419  					if shift >= 64 {
 20420  						return ErrIntOverflowPlan
 20421  					}
 20422  					if iNdEx >= l {
 20423  						return io.ErrUnexpectedEOF
 20424  					}
 20425  					b := dAtA[iNdEx]
 20426  					iNdEx++
 20427  					v |= uint64(b&0x7F) << shift
 20428  					if b < 0x80 {
 20429  						break
 20430  					}
 20431  				}
 20432  				m.Cols = append(m.Cols, v)
 20433  			} else if wireType == 2 {
 20434  				var packedLen int
 20435  				for shift := uint(0); ; shift += 7 {
 20436  					if shift >= 64 {
 20437  						return ErrIntOverflowPlan
 20438  					}
 20439  					if iNdEx >= l {
 20440  						return io.ErrUnexpectedEOF
 20441  					}
 20442  					b := dAtA[iNdEx]
 20443  					iNdEx++
 20444  					packedLen |= int(b&0x7F) << shift
 20445  					if b < 0x80 {
 20446  						break
 20447  					}
 20448  				}
 20449  				if packedLen < 0 {
 20450  					return ErrInvalidLengthPlan
 20451  				}
 20452  				postIndex := iNdEx + packedLen
 20453  				if postIndex < 0 {
 20454  					return ErrInvalidLengthPlan
 20455  				}
 20456  				if postIndex > l {
 20457  					return io.ErrUnexpectedEOF
 20458  				}
 20459  				var elementCount int
 20460  				var count int
 20461  				for _, integer := range dAtA[iNdEx:postIndex] {
 20462  					if integer < 128 {
 20463  						count++
 20464  					}
 20465  				}
 20466  				elementCount = count
 20467  				if elementCount != 0 && len(m.Cols) == 0 {
 20468  					m.Cols = make([]uint64, 0, elementCount)
 20469  				}
 20470  				for iNdEx < postIndex {
 20471  					var v uint64
 20472  					for shift := uint(0); ; shift += 7 {
 20473  						if shift >= 64 {
 20474  							return ErrIntOverflowPlan
 20475  						}
 20476  						if iNdEx >= l {
 20477  							return io.ErrUnexpectedEOF
 20478  						}
 20479  						b := dAtA[iNdEx]
 20480  						iNdEx++
 20481  						v |= uint64(b&0x7F) << shift
 20482  						if b < 0x80 {
 20483  							break
 20484  						}
 20485  					}
 20486  					m.Cols = append(m.Cols, v)
 20487  				}
 20488  			} else {
 20489  				return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType)
 20490  			}
 20491  		case 2:
 20492  			if wireType != 0 {
 20493  				return fmt.Errorf("proto: wrong wireType = %d for field PkeyColId", wireType)
 20494  			}
 20495  			m.PkeyColId = 0
 20496  			for shift := uint(0); ; shift += 7 {
 20497  				if shift >= 64 {
 20498  					return ErrIntOverflowPlan
 20499  				}
 20500  				if iNdEx >= l {
 20501  					return io.ErrUnexpectedEOF
 20502  				}
 20503  				b := dAtA[iNdEx]
 20504  				iNdEx++
 20505  				m.PkeyColId |= uint64(b&0x7F) << shift
 20506  				if b < 0x80 {
 20507  					break
 20508  				}
 20509  			}
 20510  		case 3:
 20511  			if wireType != 2 {
 20512  				return fmt.Errorf("proto: wrong wireType = %d for field Option", wireType)
 20513  			}
 20514  			var msglen int
 20515  			for shift := uint(0); ; shift += 7 {
 20516  				if shift >= 64 {
 20517  					return ErrIntOverflowPlan
 20518  				}
 20519  				if iNdEx >= l {
 20520  					return io.ErrUnexpectedEOF
 20521  				}
 20522  				b := dAtA[iNdEx]
 20523  				iNdEx++
 20524  				msglen |= int(b&0x7F) << shift
 20525  				if b < 0x80 {
 20526  					break
 20527  				}
 20528  			}
 20529  			if msglen < 0 {
 20530  				return ErrInvalidLengthPlan
 20531  			}
 20532  			postIndex := iNdEx + msglen
 20533  			if postIndex < 0 {
 20534  				return ErrInvalidLengthPlan
 20535  			}
 20536  			if postIndex > l {
 20537  				return io.ErrUnexpectedEOF
 20538  			}
 20539  			if m.Option == nil {
 20540  				m.Option = &IndexOption{}
 20541  			}
 20542  			if err := m.Option.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20543  				return err
 20544  			}
 20545  			iNdEx = postIndex
 20546  		case 4:
 20547  			if wireType != 2 {
 20548  				return fmt.Errorf("proto: wrong wireType = %d for field PkeyColName", wireType)
 20549  			}
 20550  			var stringLen uint64
 20551  			for shift := uint(0); ; shift += 7 {
 20552  				if shift >= 64 {
 20553  					return ErrIntOverflowPlan
 20554  				}
 20555  				if iNdEx >= l {
 20556  					return io.ErrUnexpectedEOF
 20557  				}
 20558  				b := dAtA[iNdEx]
 20559  				iNdEx++
 20560  				stringLen |= uint64(b&0x7F) << shift
 20561  				if b < 0x80 {
 20562  					break
 20563  				}
 20564  			}
 20565  			intStringLen := int(stringLen)
 20566  			if intStringLen < 0 {
 20567  				return ErrInvalidLengthPlan
 20568  			}
 20569  			postIndex := iNdEx + intStringLen
 20570  			if postIndex < 0 {
 20571  				return ErrInvalidLengthPlan
 20572  			}
 20573  			if postIndex > l {
 20574  				return io.ErrUnexpectedEOF
 20575  			}
 20576  			m.PkeyColName = string(dAtA[iNdEx:postIndex])
 20577  			iNdEx = postIndex
 20578  		case 5:
 20579  			if wireType != 2 {
 20580  				return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType)
 20581  			}
 20582  			var stringLen uint64
 20583  			for shift := uint(0); ; shift += 7 {
 20584  				if shift >= 64 {
 20585  					return ErrIntOverflowPlan
 20586  				}
 20587  				if iNdEx >= l {
 20588  					return io.ErrUnexpectedEOF
 20589  				}
 20590  				b := dAtA[iNdEx]
 20591  				iNdEx++
 20592  				stringLen |= uint64(b&0x7F) << shift
 20593  				if b < 0x80 {
 20594  					break
 20595  				}
 20596  			}
 20597  			intStringLen := int(stringLen)
 20598  			if intStringLen < 0 {
 20599  				return ErrInvalidLengthPlan
 20600  			}
 20601  			postIndex := iNdEx + intStringLen
 20602  			if postIndex < 0 {
 20603  				return ErrInvalidLengthPlan
 20604  			}
 20605  			if postIndex > l {
 20606  				return io.ErrUnexpectedEOF
 20607  			}
 20608  			m.Names = append(m.Names, string(dAtA[iNdEx:postIndex]))
 20609  			iNdEx = postIndex
 20610  		default:
 20611  			iNdEx = preIndex
 20612  			skippy, err := skipPlan(dAtA[iNdEx:])
 20613  			if err != nil {
 20614  				return err
 20615  			}
 20616  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20617  				return ErrInvalidLengthPlan
 20618  			}
 20619  			if (iNdEx + skippy) > l {
 20620  				return io.ErrUnexpectedEOF
 20621  			}
 20622  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 20623  			iNdEx += skippy
 20624  		}
 20625  	}
 20626  
 20627  	if iNdEx > l {
 20628  		return io.ErrUnexpectedEOF
 20629  	}
 20630  	return nil
 20631  }
 20632  func (m *IndexDef) Unmarshal(dAtA []byte) error {
 20633  	l := len(dAtA)
 20634  	iNdEx := 0
 20635  	for iNdEx < l {
 20636  		preIndex := iNdEx
 20637  		var wire uint64
 20638  		for shift := uint(0); ; shift += 7 {
 20639  			if shift >= 64 {
 20640  				return ErrIntOverflowPlan
 20641  			}
 20642  			if iNdEx >= l {
 20643  				return io.ErrUnexpectedEOF
 20644  			}
 20645  			b := dAtA[iNdEx]
 20646  			iNdEx++
 20647  			wire |= uint64(b&0x7F) << shift
 20648  			if b < 0x80 {
 20649  				break
 20650  			}
 20651  		}
 20652  		fieldNum := int32(wire >> 3)
 20653  		wireType := int(wire & 0x7)
 20654  		if wireType == 4 {
 20655  			return fmt.Errorf("proto: IndexDef: wiretype end group for non-group")
 20656  		}
 20657  		if fieldNum <= 0 {
 20658  			return fmt.Errorf("proto: IndexDef: illegal tag %d (wire type %d)", fieldNum, wire)
 20659  		}
 20660  		switch fieldNum {
 20661  		case 1:
 20662  			if wireType != 2 {
 20663  				return fmt.Errorf("proto: wrong wireType = %d for field IdxId", wireType)
 20664  			}
 20665  			var stringLen uint64
 20666  			for shift := uint(0); ; shift += 7 {
 20667  				if shift >= 64 {
 20668  					return ErrIntOverflowPlan
 20669  				}
 20670  				if iNdEx >= l {
 20671  					return io.ErrUnexpectedEOF
 20672  				}
 20673  				b := dAtA[iNdEx]
 20674  				iNdEx++
 20675  				stringLen |= uint64(b&0x7F) << shift
 20676  				if b < 0x80 {
 20677  					break
 20678  				}
 20679  			}
 20680  			intStringLen := int(stringLen)
 20681  			if intStringLen < 0 {
 20682  				return ErrInvalidLengthPlan
 20683  			}
 20684  			postIndex := iNdEx + intStringLen
 20685  			if postIndex < 0 {
 20686  				return ErrInvalidLengthPlan
 20687  			}
 20688  			if postIndex > l {
 20689  				return io.ErrUnexpectedEOF
 20690  			}
 20691  			m.IdxId = string(dAtA[iNdEx:postIndex])
 20692  			iNdEx = postIndex
 20693  		case 2:
 20694  			if wireType != 2 {
 20695  				return fmt.Errorf("proto: wrong wireType = %d for field IndexName", wireType)
 20696  			}
 20697  			var stringLen uint64
 20698  			for shift := uint(0); ; shift += 7 {
 20699  				if shift >= 64 {
 20700  					return ErrIntOverflowPlan
 20701  				}
 20702  				if iNdEx >= l {
 20703  					return io.ErrUnexpectedEOF
 20704  				}
 20705  				b := dAtA[iNdEx]
 20706  				iNdEx++
 20707  				stringLen |= uint64(b&0x7F) << shift
 20708  				if b < 0x80 {
 20709  					break
 20710  				}
 20711  			}
 20712  			intStringLen := int(stringLen)
 20713  			if intStringLen < 0 {
 20714  				return ErrInvalidLengthPlan
 20715  			}
 20716  			postIndex := iNdEx + intStringLen
 20717  			if postIndex < 0 {
 20718  				return ErrInvalidLengthPlan
 20719  			}
 20720  			if postIndex > l {
 20721  				return io.ErrUnexpectedEOF
 20722  			}
 20723  			m.IndexName = string(dAtA[iNdEx:postIndex])
 20724  			iNdEx = postIndex
 20725  		case 3:
 20726  			if wireType != 2 {
 20727  				return fmt.Errorf("proto: wrong wireType = %d for field Parts", wireType)
 20728  			}
 20729  			var stringLen uint64
 20730  			for shift := uint(0); ; shift += 7 {
 20731  				if shift >= 64 {
 20732  					return ErrIntOverflowPlan
 20733  				}
 20734  				if iNdEx >= l {
 20735  					return io.ErrUnexpectedEOF
 20736  				}
 20737  				b := dAtA[iNdEx]
 20738  				iNdEx++
 20739  				stringLen |= uint64(b&0x7F) << shift
 20740  				if b < 0x80 {
 20741  					break
 20742  				}
 20743  			}
 20744  			intStringLen := int(stringLen)
 20745  			if intStringLen < 0 {
 20746  				return ErrInvalidLengthPlan
 20747  			}
 20748  			postIndex := iNdEx + intStringLen
 20749  			if postIndex < 0 {
 20750  				return ErrInvalidLengthPlan
 20751  			}
 20752  			if postIndex > l {
 20753  				return io.ErrUnexpectedEOF
 20754  			}
 20755  			m.Parts = append(m.Parts, string(dAtA[iNdEx:postIndex]))
 20756  			iNdEx = postIndex
 20757  		case 4:
 20758  			if wireType != 0 {
 20759  				return fmt.Errorf("proto: wrong wireType = %d for field Unique", wireType)
 20760  			}
 20761  			var v int
 20762  			for shift := uint(0); ; shift += 7 {
 20763  				if shift >= 64 {
 20764  					return ErrIntOverflowPlan
 20765  				}
 20766  				if iNdEx >= l {
 20767  					return io.ErrUnexpectedEOF
 20768  				}
 20769  				b := dAtA[iNdEx]
 20770  				iNdEx++
 20771  				v |= int(b&0x7F) << shift
 20772  				if b < 0x80 {
 20773  					break
 20774  				}
 20775  			}
 20776  			m.Unique = bool(v != 0)
 20777  		case 5:
 20778  			if wireType != 2 {
 20779  				return fmt.Errorf("proto: wrong wireType = %d for field IndexTableName", wireType)
 20780  			}
 20781  			var stringLen uint64
 20782  			for shift := uint(0); ; shift += 7 {
 20783  				if shift >= 64 {
 20784  					return ErrIntOverflowPlan
 20785  				}
 20786  				if iNdEx >= l {
 20787  					return io.ErrUnexpectedEOF
 20788  				}
 20789  				b := dAtA[iNdEx]
 20790  				iNdEx++
 20791  				stringLen |= uint64(b&0x7F) << shift
 20792  				if b < 0x80 {
 20793  					break
 20794  				}
 20795  			}
 20796  			intStringLen := int(stringLen)
 20797  			if intStringLen < 0 {
 20798  				return ErrInvalidLengthPlan
 20799  			}
 20800  			postIndex := iNdEx + intStringLen
 20801  			if postIndex < 0 {
 20802  				return ErrInvalidLengthPlan
 20803  			}
 20804  			if postIndex > l {
 20805  				return io.ErrUnexpectedEOF
 20806  			}
 20807  			m.IndexTableName = string(dAtA[iNdEx:postIndex])
 20808  			iNdEx = postIndex
 20809  		case 6:
 20810  			if wireType != 0 {
 20811  				return fmt.Errorf("proto: wrong wireType = %d for field TableExist", wireType)
 20812  			}
 20813  			var v int
 20814  			for shift := uint(0); ; shift += 7 {
 20815  				if shift >= 64 {
 20816  					return ErrIntOverflowPlan
 20817  				}
 20818  				if iNdEx >= l {
 20819  					return io.ErrUnexpectedEOF
 20820  				}
 20821  				b := dAtA[iNdEx]
 20822  				iNdEx++
 20823  				v |= int(b&0x7F) << shift
 20824  				if b < 0x80 {
 20825  					break
 20826  				}
 20827  			}
 20828  			m.TableExist = bool(v != 0)
 20829  		case 7:
 20830  			if wireType != 2 {
 20831  				return fmt.Errorf("proto: wrong wireType = %d for field Comment", wireType)
 20832  			}
 20833  			var stringLen uint64
 20834  			for shift := uint(0); ; shift += 7 {
 20835  				if shift >= 64 {
 20836  					return ErrIntOverflowPlan
 20837  				}
 20838  				if iNdEx >= l {
 20839  					return io.ErrUnexpectedEOF
 20840  				}
 20841  				b := dAtA[iNdEx]
 20842  				iNdEx++
 20843  				stringLen |= uint64(b&0x7F) << shift
 20844  				if b < 0x80 {
 20845  					break
 20846  				}
 20847  			}
 20848  			intStringLen := int(stringLen)
 20849  			if intStringLen < 0 {
 20850  				return ErrInvalidLengthPlan
 20851  			}
 20852  			postIndex := iNdEx + intStringLen
 20853  			if postIndex < 0 {
 20854  				return ErrInvalidLengthPlan
 20855  			}
 20856  			if postIndex > l {
 20857  				return io.ErrUnexpectedEOF
 20858  			}
 20859  			m.Comment = string(dAtA[iNdEx:postIndex])
 20860  			iNdEx = postIndex
 20861  		case 8:
 20862  			if wireType != 2 {
 20863  				return fmt.Errorf("proto: wrong wireType = %d for field Option", wireType)
 20864  			}
 20865  			var msglen int
 20866  			for shift := uint(0); ; shift += 7 {
 20867  				if shift >= 64 {
 20868  					return ErrIntOverflowPlan
 20869  				}
 20870  				if iNdEx >= l {
 20871  					return io.ErrUnexpectedEOF
 20872  				}
 20873  				b := dAtA[iNdEx]
 20874  				iNdEx++
 20875  				msglen |= int(b&0x7F) << shift
 20876  				if b < 0x80 {
 20877  					break
 20878  				}
 20879  			}
 20880  			if msglen < 0 {
 20881  				return ErrInvalidLengthPlan
 20882  			}
 20883  			postIndex := iNdEx + msglen
 20884  			if postIndex < 0 {
 20885  				return ErrInvalidLengthPlan
 20886  			}
 20887  			if postIndex > l {
 20888  				return io.ErrUnexpectedEOF
 20889  			}
 20890  			if m.Option == nil {
 20891  				m.Option = &IndexOption{}
 20892  			}
 20893  			if err := m.Option.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20894  				return err
 20895  			}
 20896  			iNdEx = postIndex
 20897  		default:
 20898  			iNdEx = preIndex
 20899  			skippy, err := skipPlan(dAtA[iNdEx:])
 20900  			if err != nil {
 20901  				return err
 20902  			}
 20903  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20904  				return ErrInvalidLengthPlan
 20905  			}
 20906  			if (iNdEx + skippy) > l {
 20907  				return io.ErrUnexpectedEOF
 20908  			}
 20909  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 20910  			iNdEx += skippy
 20911  		}
 20912  	}
 20913  
 20914  	if iNdEx > l {
 20915  		return io.ErrUnexpectedEOF
 20916  	}
 20917  	return nil
 20918  }
 20919  func (m *ForeignKeyDef) Unmarshal(dAtA []byte) error {
 20920  	l := len(dAtA)
 20921  	iNdEx := 0
 20922  	for iNdEx < l {
 20923  		preIndex := iNdEx
 20924  		var wire uint64
 20925  		for shift := uint(0); ; shift += 7 {
 20926  			if shift >= 64 {
 20927  				return ErrIntOverflowPlan
 20928  			}
 20929  			if iNdEx >= l {
 20930  				return io.ErrUnexpectedEOF
 20931  			}
 20932  			b := dAtA[iNdEx]
 20933  			iNdEx++
 20934  			wire |= uint64(b&0x7F) << shift
 20935  			if b < 0x80 {
 20936  				break
 20937  			}
 20938  		}
 20939  		fieldNum := int32(wire >> 3)
 20940  		wireType := int(wire & 0x7)
 20941  		if wireType == 4 {
 20942  			return fmt.Errorf("proto: ForeignKeyDef: wiretype end group for non-group")
 20943  		}
 20944  		if fieldNum <= 0 {
 20945  			return fmt.Errorf("proto: ForeignKeyDef: illegal tag %d (wire type %d)", fieldNum, wire)
 20946  		}
 20947  		switch fieldNum {
 20948  		case 1:
 20949  			if wireType != 2 {
 20950  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 20951  			}
 20952  			var stringLen uint64
 20953  			for shift := uint(0); ; shift += 7 {
 20954  				if shift >= 64 {
 20955  					return ErrIntOverflowPlan
 20956  				}
 20957  				if iNdEx >= l {
 20958  					return io.ErrUnexpectedEOF
 20959  				}
 20960  				b := dAtA[iNdEx]
 20961  				iNdEx++
 20962  				stringLen |= uint64(b&0x7F) << shift
 20963  				if b < 0x80 {
 20964  					break
 20965  				}
 20966  			}
 20967  			intStringLen := int(stringLen)
 20968  			if intStringLen < 0 {
 20969  				return ErrInvalidLengthPlan
 20970  			}
 20971  			postIndex := iNdEx + intStringLen
 20972  			if postIndex < 0 {
 20973  				return ErrInvalidLengthPlan
 20974  			}
 20975  			if postIndex > l {
 20976  				return io.ErrUnexpectedEOF
 20977  			}
 20978  			m.Name = string(dAtA[iNdEx:postIndex])
 20979  			iNdEx = postIndex
 20980  		case 2:
 20981  			if wireType == 0 {
 20982  				var v uint64
 20983  				for shift := uint(0); ; shift += 7 {
 20984  					if shift >= 64 {
 20985  						return ErrIntOverflowPlan
 20986  					}
 20987  					if iNdEx >= l {
 20988  						return io.ErrUnexpectedEOF
 20989  					}
 20990  					b := dAtA[iNdEx]
 20991  					iNdEx++
 20992  					v |= uint64(b&0x7F) << shift
 20993  					if b < 0x80 {
 20994  						break
 20995  					}
 20996  				}
 20997  				m.Cols = append(m.Cols, v)
 20998  			} else if wireType == 2 {
 20999  				var packedLen int
 21000  				for shift := uint(0); ; shift += 7 {
 21001  					if shift >= 64 {
 21002  						return ErrIntOverflowPlan
 21003  					}
 21004  					if iNdEx >= l {
 21005  						return io.ErrUnexpectedEOF
 21006  					}
 21007  					b := dAtA[iNdEx]
 21008  					iNdEx++
 21009  					packedLen |= int(b&0x7F) << shift
 21010  					if b < 0x80 {
 21011  						break
 21012  					}
 21013  				}
 21014  				if packedLen < 0 {
 21015  					return ErrInvalidLengthPlan
 21016  				}
 21017  				postIndex := iNdEx + packedLen
 21018  				if postIndex < 0 {
 21019  					return ErrInvalidLengthPlan
 21020  				}
 21021  				if postIndex > l {
 21022  					return io.ErrUnexpectedEOF
 21023  				}
 21024  				var elementCount int
 21025  				var count int
 21026  				for _, integer := range dAtA[iNdEx:postIndex] {
 21027  					if integer < 128 {
 21028  						count++
 21029  					}
 21030  				}
 21031  				elementCount = count
 21032  				if elementCount != 0 && len(m.Cols) == 0 {
 21033  					m.Cols = make([]uint64, 0, elementCount)
 21034  				}
 21035  				for iNdEx < postIndex {
 21036  					var v uint64
 21037  					for shift := uint(0); ; shift += 7 {
 21038  						if shift >= 64 {
 21039  							return ErrIntOverflowPlan
 21040  						}
 21041  						if iNdEx >= l {
 21042  							return io.ErrUnexpectedEOF
 21043  						}
 21044  						b := dAtA[iNdEx]
 21045  						iNdEx++
 21046  						v |= uint64(b&0x7F) << shift
 21047  						if b < 0x80 {
 21048  							break
 21049  						}
 21050  					}
 21051  					m.Cols = append(m.Cols, v)
 21052  				}
 21053  			} else {
 21054  				return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType)
 21055  			}
 21056  		case 3:
 21057  			if wireType != 0 {
 21058  				return fmt.Errorf("proto: wrong wireType = %d for field ForeignTbl", wireType)
 21059  			}
 21060  			m.ForeignTbl = 0
 21061  			for shift := uint(0); ; shift += 7 {
 21062  				if shift >= 64 {
 21063  					return ErrIntOverflowPlan
 21064  				}
 21065  				if iNdEx >= l {
 21066  					return io.ErrUnexpectedEOF
 21067  				}
 21068  				b := dAtA[iNdEx]
 21069  				iNdEx++
 21070  				m.ForeignTbl |= uint64(b&0x7F) << shift
 21071  				if b < 0x80 {
 21072  					break
 21073  				}
 21074  			}
 21075  		case 4:
 21076  			if wireType == 0 {
 21077  				var v uint64
 21078  				for shift := uint(0); ; shift += 7 {
 21079  					if shift >= 64 {
 21080  						return ErrIntOverflowPlan
 21081  					}
 21082  					if iNdEx >= l {
 21083  						return io.ErrUnexpectedEOF
 21084  					}
 21085  					b := dAtA[iNdEx]
 21086  					iNdEx++
 21087  					v |= uint64(b&0x7F) << shift
 21088  					if b < 0x80 {
 21089  						break
 21090  					}
 21091  				}
 21092  				m.ForeignCols = append(m.ForeignCols, v)
 21093  			} else if wireType == 2 {
 21094  				var packedLen int
 21095  				for shift := uint(0); ; shift += 7 {
 21096  					if shift >= 64 {
 21097  						return ErrIntOverflowPlan
 21098  					}
 21099  					if iNdEx >= l {
 21100  						return io.ErrUnexpectedEOF
 21101  					}
 21102  					b := dAtA[iNdEx]
 21103  					iNdEx++
 21104  					packedLen |= int(b&0x7F) << shift
 21105  					if b < 0x80 {
 21106  						break
 21107  					}
 21108  				}
 21109  				if packedLen < 0 {
 21110  					return ErrInvalidLengthPlan
 21111  				}
 21112  				postIndex := iNdEx + packedLen
 21113  				if postIndex < 0 {
 21114  					return ErrInvalidLengthPlan
 21115  				}
 21116  				if postIndex > l {
 21117  					return io.ErrUnexpectedEOF
 21118  				}
 21119  				var elementCount int
 21120  				var count int
 21121  				for _, integer := range dAtA[iNdEx:postIndex] {
 21122  					if integer < 128 {
 21123  						count++
 21124  					}
 21125  				}
 21126  				elementCount = count
 21127  				if elementCount != 0 && len(m.ForeignCols) == 0 {
 21128  					m.ForeignCols = make([]uint64, 0, elementCount)
 21129  				}
 21130  				for iNdEx < postIndex {
 21131  					var v uint64
 21132  					for shift := uint(0); ; shift += 7 {
 21133  						if shift >= 64 {
 21134  							return ErrIntOverflowPlan
 21135  						}
 21136  						if iNdEx >= l {
 21137  							return io.ErrUnexpectedEOF
 21138  						}
 21139  						b := dAtA[iNdEx]
 21140  						iNdEx++
 21141  						v |= uint64(b&0x7F) << shift
 21142  						if b < 0x80 {
 21143  							break
 21144  						}
 21145  					}
 21146  					m.ForeignCols = append(m.ForeignCols, v)
 21147  				}
 21148  			} else {
 21149  				return fmt.Errorf("proto: wrong wireType = %d for field ForeignCols", wireType)
 21150  			}
 21151  		case 5:
 21152  			if wireType != 0 {
 21153  				return fmt.Errorf("proto: wrong wireType = %d for field OnDelete", wireType)
 21154  			}
 21155  			m.OnDelete = 0
 21156  			for shift := uint(0); ; shift += 7 {
 21157  				if shift >= 64 {
 21158  					return ErrIntOverflowPlan
 21159  				}
 21160  				if iNdEx >= l {
 21161  					return io.ErrUnexpectedEOF
 21162  				}
 21163  				b := dAtA[iNdEx]
 21164  				iNdEx++
 21165  				m.OnDelete |= ForeignKeyDef_RefAction(b&0x7F) << shift
 21166  				if b < 0x80 {
 21167  					break
 21168  				}
 21169  			}
 21170  		case 6:
 21171  			if wireType != 0 {
 21172  				return fmt.Errorf("proto: wrong wireType = %d for field OnUpdate", wireType)
 21173  			}
 21174  			m.OnUpdate = 0
 21175  			for shift := uint(0); ; shift += 7 {
 21176  				if shift >= 64 {
 21177  					return ErrIntOverflowPlan
 21178  				}
 21179  				if iNdEx >= l {
 21180  					return io.ErrUnexpectedEOF
 21181  				}
 21182  				b := dAtA[iNdEx]
 21183  				iNdEx++
 21184  				m.OnUpdate |= ForeignKeyDef_RefAction(b&0x7F) << shift
 21185  				if b < 0x80 {
 21186  					break
 21187  				}
 21188  			}
 21189  		default:
 21190  			iNdEx = preIndex
 21191  			skippy, err := skipPlan(dAtA[iNdEx:])
 21192  			if err != nil {
 21193  				return err
 21194  			}
 21195  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21196  				return ErrInvalidLengthPlan
 21197  			}
 21198  			if (iNdEx + skippy) > l {
 21199  				return io.ErrUnexpectedEOF
 21200  			}
 21201  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 21202  			iNdEx += skippy
 21203  		}
 21204  	}
 21205  
 21206  	if iNdEx > l {
 21207  		return io.ErrUnexpectedEOF
 21208  	}
 21209  	return nil
 21210  }
 21211  func (m *CheckDef) Unmarshal(dAtA []byte) error {
 21212  	l := len(dAtA)
 21213  	iNdEx := 0
 21214  	for iNdEx < l {
 21215  		preIndex := iNdEx
 21216  		var wire uint64
 21217  		for shift := uint(0); ; shift += 7 {
 21218  			if shift >= 64 {
 21219  				return ErrIntOverflowPlan
 21220  			}
 21221  			if iNdEx >= l {
 21222  				return io.ErrUnexpectedEOF
 21223  			}
 21224  			b := dAtA[iNdEx]
 21225  			iNdEx++
 21226  			wire |= uint64(b&0x7F) << shift
 21227  			if b < 0x80 {
 21228  				break
 21229  			}
 21230  		}
 21231  		fieldNum := int32(wire >> 3)
 21232  		wireType := int(wire & 0x7)
 21233  		if wireType == 4 {
 21234  			return fmt.Errorf("proto: CheckDef: wiretype end group for non-group")
 21235  		}
 21236  		if fieldNum <= 0 {
 21237  			return fmt.Errorf("proto: CheckDef: illegal tag %d (wire type %d)", fieldNum, wire)
 21238  		}
 21239  		switch fieldNum {
 21240  		case 1:
 21241  			if wireType != 2 {
 21242  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 21243  			}
 21244  			var stringLen uint64
 21245  			for shift := uint(0); ; shift += 7 {
 21246  				if shift >= 64 {
 21247  					return ErrIntOverflowPlan
 21248  				}
 21249  				if iNdEx >= l {
 21250  					return io.ErrUnexpectedEOF
 21251  				}
 21252  				b := dAtA[iNdEx]
 21253  				iNdEx++
 21254  				stringLen |= uint64(b&0x7F) << shift
 21255  				if b < 0x80 {
 21256  					break
 21257  				}
 21258  			}
 21259  			intStringLen := int(stringLen)
 21260  			if intStringLen < 0 {
 21261  				return ErrInvalidLengthPlan
 21262  			}
 21263  			postIndex := iNdEx + intStringLen
 21264  			if postIndex < 0 {
 21265  				return ErrInvalidLengthPlan
 21266  			}
 21267  			if postIndex > l {
 21268  				return io.ErrUnexpectedEOF
 21269  			}
 21270  			m.Name = string(dAtA[iNdEx:postIndex])
 21271  			iNdEx = postIndex
 21272  		case 2:
 21273  			if wireType != 2 {
 21274  				return fmt.Errorf("proto: wrong wireType = %d for field Check", wireType)
 21275  			}
 21276  			var msglen int
 21277  			for shift := uint(0); ; shift += 7 {
 21278  				if shift >= 64 {
 21279  					return ErrIntOverflowPlan
 21280  				}
 21281  				if iNdEx >= l {
 21282  					return io.ErrUnexpectedEOF
 21283  				}
 21284  				b := dAtA[iNdEx]
 21285  				iNdEx++
 21286  				msglen |= int(b&0x7F) << shift
 21287  				if b < 0x80 {
 21288  					break
 21289  				}
 21290  			}
 21291  			if msglen < 0 {
 21292  				return ErrInvalidLengthPlan
 21293  			}
 21294  			postIndex := iNdEx + msglen
 21295  			if postIndex < 0 {
 21296  				return ErrInvalidLengthPlan
 21297  			}
 21298  			if postIndex > l {
 21299  				return io.ErrUnexpectedEOF
 21300  			}
 21301  			if m.Check == nil {
 21302  				m.Check = &Expr{}
 21303  			}
 21304  			if err := m.Check.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21305  				return err
 21306  			}
 21307  			iNdEx = postIndex
 21308  		default:
 21309  			iNdEx = preIndex
 21310  			skippy, err := skipPlan(dAtA[iNdEx:])
 21311  			if err != nil {
 21312  				return err
 21313  			}
 21314  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21315  				return ErrInvalidLengthPlan
 21316  			}
 21317  			if (iNdEx + skippy) > l {
 21318  				return io.ErrUnexpectedEOF
 21319  			}
 21320  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 21321  			iNdEx += skippy
 21322  		}
 21323  	}
 21324  
 21325  	if iNdEx > l {
 21326  		return io.ErrUnexpectedEOF
 21327  	}
 21328  	return nil
 21329  }
 21330  func (m *ClusterByDef) Unmarshal(dAtA []byte) error {
 21331  	l := len(dAtA)
 21332  	iNdEx := 0
 21333  	for iNdEx < l {
 21334  		preIndex := iNdEx
 21335  		var wire uint64
 21336  		for shift := uint(0); ; shift += 7 {
 21337  			if shift >= 64 {
 21338  				return ErrIntOverflowPlan
 21339  			}
 21340  			if iNdEx >= l {
 21341  				return io.ErrUnexpectedEOF
 21342  			}
 21343  			b := dAtA[iNdEx]
 21344  			iNdEx++
 21345  			wire |= uint64(b&0x7F) << shift
 21346  			if b < 0x80 {
 21347  				break
 21348  			}
 21349  		}
 21350  		fieldNum := int32(wire >> 3)
 21351  		wireType := int(wire & 0x7)
 21352  		if wireType == 4 {
 21353  			return fmt.Errorf("proto: ClusterByDef: wiretype end group for non-group")
 21354  		}
 21355  		if fieldNum <= 0 {
 21356  			return fmt.Errorf("proto: ClusterByDef: illegal tag %d (wire type %d)", fieldNum, wire)
 21357  		}
 21358  		switch fieldNum {
 21359  		case 1:
 21360  			if wireType != 2 {
 21361  				return fmt.Errorf("proto: wrong wireType = %d for field Parts", wireType)
 21362  			}
 21363  			var msglen int
 21364  			for shift := uint(0); ; shift += 7 {
 21365  				if shift >= 64 {
 21366  					return ErrIntOverflowPlan
 21367  				}
 21368  				if iNdEx >= l {
 21369  					return io.ErrUnexpectedEOF
 21370  				}
 21371  				b := dAtA[iNdEx]
 21372  				iNdEx++
 21373  				msglen |= int(b&0x7F) << shift
 21374  				if b < 0x80 {
 21375  					break
 21376  				}
 21377  			}
 21378  			if msglen < 0 {
 21379  				return ErrInvalidLengthPlan
 21380  			}
 21381  			postIndex := iNdEx + msglen
 21382  			if postIndex < 0 {
 21383  				return ErrInvalidLengthPlan
 21384  			}
 21385  			if postIndex > l {
 21386  				return io.ErrUnexpectedEOF
 21387  			}
 21388  			m.Parts = append(m.Parts, &Expr{})
 21389  			if err := m.Parts[len(m.Parts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21390  				return err
 21391  			}
 21392  			iNdEx = postIndex
 21393  		case 2:
 21394  			if wireType != 2 {
 21395  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 21396  			}
 21397  			var stringLen uint64
 21398  			for shift := uint(0); ; shift += 7 {
 21399  				if shift >= 64 {
 21400  					return ErrIntOverflowPlan
 21401  				}
 21402  				if iNdEx >= l {
 21403  					return io.ErrUnexpectedEOF
 21404  				}
 21405  				b := dAtA[iNdEx]
 21406  				iNdEx++
 21407  				stringLen |= uint64(b&0x7F) << shift
 21408  				if b < 0x80 {
 21409  					break
 21410  				}
 21411  			}
 21412  			intStringLen := int(stringLen)
 21413  			if intStringLen < 0 {
 21414  				return ErrInvalidLengthPlan
 21415  			}
 21416  			postIndex := iNdEx + intStringLen
 21417  			if postIndex < 0 {
 21418  				return ErrInvalidLengthPlan
 21419  			}
 21420  			if postIndex > l {
 21421  				return io.ErrUnexpectedEOF
 21422  			}
 21423  			m.Name = string(dAtA[iNdEx:postIndex])
 21424  			iNdEx = postIndex
 21425  		default:
 21426  			iNdEx = preIndex
 21427  			skippy, err := skipPlan(dAtA[iNdEx:])
 21428  			if err != nil {
 21429  				return err
 21430  			}
 21431  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21432  				return ErrInvalidLengthPlan
 21433  			}
 21434  			if (iNdEx + skippy) > l {
 21435  				return io.ErrUnexpectedEOF
 21436  			}
 21437  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 21438  			iNdEx += skippy
 21439  		}
 21440  	}
 21441  
 21442  	if iNdEx > l {
 21443  		return io.ErrUnexpectedEOF
 21444  	}
 21445  	return nil
 21446  }
 21447  func (m *PropertyDef) Unmarshal(dAtA []byte) error {
 21448  	l := len(dAtA)
 21449  	iNdEx := 0
 21450  	for iNdEx < l {
 21451  		preIndex := iNdEx
 21452  		var wire uint64
 21453  		for shift := uint(0); ; shift += 7 {
 21454  			if shift >= 64 {
 21455  				return ErrIntOverflowPlan
 21456  			}
 21457  			if iNdEx >= l {
 21458  				return io.ErrUnexpectedEOF
 21459  			}
 21460  			b := dAtA[iNdEx]
 21461  			iNdEx++
 21462  			wire |= uint64(b&0x7F) << shift
 21463  			if b < 0x80 {
 21464  				break
 21465  			}
 21466  		}
 21467  		fieldNum := int32(wire >> 3)
 21468  		wireType := int(wire & 0x7)
 21469  		if wireType == 4 {
 21470  			return fmt.Errorf("proto: PropertyDef: wiretype end group for non-group")
 21471  		}
 21472  		if fieldNum <= 0 {
 21473  			return fmt.Errorf("proto: PropertyDef: illegal tag %d (wire type %d)", fieldNum, wire)
 21474  		}
 21475  		switch fieldNum {
 21476  		case 1:
 21477  			if wireType != 2 {
 21478  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
 21479  			}
 21480  			var stringLen uint64
 21481  			for shift := uint(0); ; shift += 7 {
 21482  				if shift >= 64 {
 21483  					return ErrIntOverflowPlan
 21484  				}
 21485  				if iNdEx >= l {
 21486  					return io.ErrUnexpectedEOF
 21487  				}
 21488  				b := dAtA[iNdEx]
 21489  				iNdEx++
 21490  				stringLen |= uint64(b&0x7F) << shift
 21491  				if b < 0x80 {
 21492  					break
 21493  				}
 21494  			}
 21495  			intStringLen := int(stringLen)
 21496  			if intStringLen < 0 {
 21497  				return ErrInvalidLengthPlan
 21498  			}
 21499  			postIndex := iNdEx + intStringLen
 21500  			if postIndex < 0 {
 21501  				return ErrInvalidLengthPlan
 21502  			}
 21503  			if postIndex > l {
 21504  				return io.ErrUnexpectedEOF
 21505  			}
 21506  			m.Key = string(dAtA[iNdEx:postIndex])
 21507  			iNdEx = postIndex
 21508  		case 2:
 21509  			if wireType != 2 {
 21510  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 21511  			}
 21512  			var stringLen uint64
 21513  			for shift := uint(0); ; shift += 7 {
 21514  				if shift >= 64 {
 21515  					return ErrIntOverflowPlan
 21516  				}
 21517  				if iNdEx >= l {
 21518  					return io.ErrUnexpectedEOF
 21519  				}
 21520  				b := dAtA[iNdEx]
 21521  				iNdEx++
 21522  				stringLen |= uint64(b&0x7F) << shift
 21523  				if b < 0x80 {
 21524  					break
 21525  				}
 21526  			}
 21527  			intStringLen := int(stringLen)
 21528  			if intStringLen < 0 {
 21529  				return ErrInvalidLengthPlan
 21530  			}
 21531  			postIndex := iNdEx + intStringLen
 21532  			if postIndex < 0 {
 21533  				return ErrInvalidLengthPlan
 21534  			}
 21535  			if postIndex > l {
 21536  				return io.ErrUnexpectedEOF
 21537  			}
 21538  			m.Value = string(dAtA[iNdEx:postIndex])
 21539  			iNdEx = postIndex
 21540  		default:
 21541  			iNdEx = preIndex
 21542  			skippy, err := skipPlan(dAtA[iNdEx:])
 21543  			if err != nil {
 21544  				return err
 21545  			}
 21546  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21547  				return ErrInvalidLengthPlan
 21548  			}
 21549  			if (iNdEx + skippy) > l {
 21550  				return io.ErrUnexpectedEOF
 21551  			}
 21552  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 21553  			iNdEx += skippy
 21554  		}
 21555  	}
 21556  
 21557  	if iNdEx > l {
 21558  		return io.ErrUnexpectedEOF
 21559  	}
 21560  	return nil
 21561  }
 21562  func (m *Property) Unmarshal(dAtA []byte) error {
 21563  	l := len(dAtA)
 21564  	iNdEx := 0
 21565  	for iNdEx < l {
 21566  		preIndex := iNdEx
 21567  		var wire uint64
 21568  		for shift := uint(0); ; shift += 7 {
 21569  			if shift >= 64 {
 21570  				return ErrIntOverflowPlan
 21571  			}
 21572  			if iNdEx >= l {
 21573  				return io.ErrUnexpectedEOF
 21574  			}
 21575  			b := dAtA[iNdEx]
 21576  			iNdEx++
 21577  			wire |= uint64(b&0x7F) << shift
 21578  			if b < 0x80 {
 21579  				break
 21580  			}
 21581  		}
 21582  		fieldNum := int32(wire >> 3)
 21583  		wireType := int(wire & 0x7)
 21584  		if wireType == 4 {
 21585  			return fmt.Errorf("proto: Property: wiretype end group for non-group")
 21586  		}
 21587  		if fieldNum <= 0 {
 21588  			return fmt.Errorf("proto: Property: illegal tag %d (wire type %d)", fieldNum, wire)
 21589  		}
 21590  		switch fieldNum {
 21591  		case 1:
 21592  			if wireType != 2 {
 21593  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
 21594  			}
 21595  			var stringLen uint64
 21596  			for shift := uint(0); ; shift += 7 {
 21597  				if shift >= 64 {
 21598  					return ErrIntOverflowPlan
 21599  				}
 21600  				if iNdEx >= l {
 21601  					return io.ErrUnexpectedEOF
 21602  				}
 21603  				b := dAtA[iNdEx]
 21604  				iNdEx++
 21605  				stringLen |= uint64(b&0x7F) << shift
 21606  				if b < 0x80 {
 21607  					break
 21608  				}
 21609  			}
 21610  			intStringLen := int(stringLen)
 21611  			if intStringLen < 0 {
 21612  				return ErrInvalidLengthPlan
 21613  			}
 21614  			postIndex := iNdEx + intStringLen
 21615  			if postIndex < 0 {
 21616  				return ErrInvalidLengthPlan
 21617  			}
 21618  			if postIndex > l {
 21619  				return io.ErrUnexpectedEOF
 21620  			}
 21621  			m.Key = string(dAtA[iNdEx:postIndex])
 21622  			iNdEx = postIndex
 21623  		case 2:
 21624  			if wireType != 2 {
 21625  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 21626  			}
 21627  			var stringLen uint64
 21628  			for shift := uint(0); ; shift += 7 {
 21629  				if shift >= 64 {
 21630  					return ErrIntOverflowPlan
 21631  				}
 21632  				if iNdEx >= l {
 21633  					return io.ErrUnexpectedEOF
 21634  				}
 21635  				b := dAtA[iNdEx]
 21636  				iNdEx++
 21637  				stringLen |= uint64(b&0x7F) << shift
 21638  				if b < 0x80 {
 21639  					break
 21640  				}
 21641  			}
 21642  			intStringLen := int(stringLen)
 21643  			if intStringLen < 0 {
 21644  				return ErrInvalidLengthPlan
 21645  			}
 21646  			postIndex := iNdEx + intStringLen
 21647  			if postIndex < 0 {
 21648  				return ErrInvalidLengthPlan
 21649  			}
 21650  			if postIndex > l {
 21651  				return io.ErrUnexpectedEOF
 21652  			}
 21653  			m.Value = string(dAtA[iNdEx:postIndex])
 21654  			iNdEx = postIndex
 21655  		default:
 21656  			iNdEx = preIndex
 21657  			skippy, err := skipPlan(dAtA[iNdEx:])
 21658  			if err != nil {
 21659  				return err
 21660  			}
 21661  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21662  				return ErrInvalidLengthPlan
 21663  			}
 21664  			if (iNdEx + skippy) > l {
 21665  				return io.ErrUnexpectedEOF
 21666  			}
 21667  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 21668  			iNdEx += skippy
 21669  		}
 21670  	}
 21671  
 21672  	if iNdEx > l {
 21673  		return io.ErrUnexpectedEOF
 21674  	}
 21675  	return nil
 21676  }
 21677  func (m *PropertiesDef) Unmarshal(dAtA []byte) error {
 21678  	l := len(dAtA)
 21679  	iNdEx := 0
 21680  	for iNdEx < l {
 21681  		preIndex := iNdEx
 21682  		var wire uint64
 21683  		for shift := uint(0); ; shift += 7 {
 21684  			if shift >= 64 {
 21685  				return ErrIntOverflowPlan
 21686  			}
 21687  			if iNdEx >= l {
 21688  				return io.ErrUnexpectedEOF
 21689  			}
 21690  			b := dAtA[iNdEx]
 21691  			iNdEx++
 21692  			wire |= uint64(b&0x7F) << shift
 21693  			if b < 0x80 {
 21694  				break
 21695  			}
 21696  		}
 21697  		fieldNum := int32(wire >> 3)
 21698  		wireType := int(wire & 0x7)
 21699  		if wireType == 4 {
 21700  			return fmt.Errorf("proto: PropertiesDef: wiretype end group for non-group")
 21701  		}
 21702  		if fieldNum <= 0 {
 21703  			return fmt.Errorf("proto: PropertiesDef: illegal tag %d (wire type %d)", fieldNum, wire)
 21704  		}
 21705  		switch fieldNum {
 21706  		case 1:
 21707  			if wireType != 2 {
 21708  				return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType)
 21709  			}
 21710  			var msglen int
 21711  			for shift := uint(0); ; shift += 7 {
 21712  				if shift >= 64 {
 21713  					return ErrIntOverflowPlan
 21714  				}
 21715  				if iNdEx >= l {
 21716  					return io.ErrUnexpectedEOF
 21717  				}
 21718  				b := dAtA[iNdEx]
 21719  				iNdEx++
 21720  				msglen |= int(b&0x7F) << shift
 21721  				if b < 0x80 {
 21722  					break
 21723  				}
 21724  			}
 21725  			if msglen < 0 {
 21726  				return ErrInvalidLengthPlan
 21727  			}
 21728  			postIndex := iNdEx + msglen
 21729  			if postIndex < 0 {
 21730  				return ErrInvalidLengthPlan
 21731  			}
 21732  			if postIndex > l {
 21733  				return io.ErrUnexpectedEOF
 21734  			}
 21735  			m.Properties = append(m.Properties, &Property{})
 21736  			if err := m.Properties[len(m.Properties)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21737  				return err
 21738  			}
 21739  			iNdEx = postIndex
 21740  		default:
 21741  			iNdEx = preIndex
 21742  			skippy, err := skipPlan(dAtA[iNdEx:])
 21743  			if err != nil {
 21744  				return err
 21745  			}
 21746  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21747  				return ErrInvalidLengthPlan
 21748  			}
 21749  			if (iNdEx + skippy) > l {
 21750  				return io.ErrUnexpectedEOF
 21751  			}
 21752  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 21753  			iNdEx += skippy
 21754  		}
 21755  	}
 21756  
 21757  	if iNdEx > l {
 21758  		return io.ErrUnexpectedEOF
 21759  	}
 21760  	return nil
 21761  }
 21762  func (m *PartitionByDef) Unmarshal(dAtA []byte) error {
 21763  	l := len(dAtA)
 21764  	iNdEx := 0
 21765  	for iNdEx < l {
 21766  		preIndex := iNdEx
 21767  		var wire uint64
 21768  		for shift := uint(0); ; shift += 7 {
 21769  			if shift >= 64 {
 21770  				return ErrIntOverflowPlan
 21771  			}
 21772  			if iNdEx >= l {
 21773  				return io.ErrUnexpectedEOF
 21774  			}
 21775  			b := dAtA[iNdEx]
 21776  			iNdEx++
 21777  			wire |= uint64(b&0x7F) << shift
 21778  			if b < 0x80 {
 21779  				break
 21780  			}
 21781  		}
 21782  		fieldNum := int32(wire >> 3)
 21783  		wireType := int(wire & 0x7)
 21784  		if wireType == 4 {
 21785  			return fmt.Errorf("proto: PartitionByDef: wiretype end group for non-group")
 21786  		}
 21787  		if fieldNum <= 0 {
 21788  			return fmt.Errorf("proto: PartitionByDef: illegal tag %d (wire type %d)", fieldNum, wire)
 21789  		}
 21790  		switch fieldNum {
 21791  		case 1:
 21792  			if wireType != 0 {
 21793  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 21794  			}
 21795  			m.Type = 0
 21796  			for shift := uint(0); ; shift += 7 {
 21797  				if shift >= 64 {
 21798  					return ErrIntOverflowPlan
 21799  				}
 21800  				if iNdEx >= l {
 21801  					return io.ErrUnexpectedEOF
 21802  				}
 21803  				b := dAtA[iNdEx]
 21804  				iNdEx++
 21805  				m.Type |= PartitionType(b&0x7F) << shift
 21806  				if b < 0x80 {
 21807  					break
 21808  				}
 21809  			}
 21810  		case 2:
 21811  			if wireType != 2 {
 21812  				return fmt.Errorf("proto: wrong wireType = %d for field PartitionExpr", wireType)
 21813  			}
 21814  			var msglen int
 21815  			for shift := uint(0); ; shift += 7 {
 21816  				if shift >= 64 {
 21817  					return ErrIntOverflowPlan
 21818  				}
 21819  				if iNdEx >= l {
 21820  					return io.ErrUnexpectedEOF
 21821  				}
 21822  				b := dAtA[iNdEx]
 21823  				iNdEx++
 21824  				msglen |= int(b&0x7F) << shift
 21825  				if b < 0x80 {
 21826  					break
 21827  				}
 21828  			}
 21829  			if msglen < 0 {
 21830  				return ErrInvalidLengthPlan
 21831  			}
 21832  			postIndex := iNdEx + msglen
 21833  			if postIndex < 0 {
 21834  				return ErrInvalidLengthPlan
 21835  			}
 21836  			if postIndex > l {
 21837  				return io.ErrUnexpectedEOF
 21838  			}
 21839  			if m.PartitionExpr == nil {
 21840  				m.PartitionExpr = &PartitionExpr{}
 21841  			}
 21842  			if err := m.PartitionExpr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21843  				return err
 21844  			}
 21845  			iNdEx = postIndex
 21846  		case 3:
 21847  			if wireType != 2 {
 21848  				return fmt.Errorf("proto: wrong wireType = %d for field PartitionExpression", wireType)
 21849  			}
 21850  			var msglen int
 21851  			for shift := uint(0); ; shift += 7 {
 21852  				if shift >= 64 {
 21853  					return ErrIntOverflowPlan
 21854  				}
 21855  				if iNdEx >= l {
 21856  					return io.ErrUnexpectedEOF
 21857  				}
 21858  				b := dAtA[iNdEx]
 21859  				iNdEx++
 21860  				msglen |= int(b&0x7F) << shift
 21861  				if b < 0x80 {
 21862  					break
 21863  				}
 21864  			}
 21865  			if msglen < 0 {
 21866  				return ErrInvalidLengthPlan
 21867  			}
 21868  			postIndex := iNdEx + msglen
 21869  			if postIndex < 0 {
 21870  				return ErrInvalidLengthPlan
 21871  			}
 21872  			if postIndex > l {
 21873  				return io.ErrUnexpectedEOF
 21874  			}
 21875  			if m.PartitionExpression == nil {
 21876  				m.PartitionExpression = &Expr{}
 21877  			}
 21878  			if err := m.PartitionExpression.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21879  				return err
 21880  			}
 21881  			iNdEx = postIndex
 21882  		case 4:
 21883  			if wireType != 2 {
 21884  				return fmt.Errorf("proto: wrong wireType = %d for field PartitionColumns", wireType)
 21885  			}
 21886  			var msglen int
 21887  			for shift := uint(0); ; shift += 7 {
 21888  				if shift >= 64 {
 21889  					return ErrIntOverflowPlan
 21890  				}
 21891  				if iNdEx >= l {
 21892  					return io.ErrUnexpectedEOF
 21893  				}
 21894  				b := dAtA[iNdEx]
 21895  				iNdEx++
 21896  				msglen |= int(b&0x7F) << shift
 21897  				if b < 0x80 {
 21898  					break
 21899  				}
 21900  			}
 21901  			if msglen < 0 {
 21902  				return ErrInvalidLengthPlan
 21903  			}
 21904  			postIndex := iNdEx + msglen
 21905  			if postIndex < 0 {
 21906  				return ErrInvalidLengthPlan
 21907  			}
 21908  			if postIndex > l {
 21909  				return io.ErrUnexpectedEOF
 21910  			}
 21911  			if m.PartitionColumns == nil {
 21912  				m.PartitionColumns = &PartitionColumns{}
 21913  			}
 21914  			if err := m.PartitionColumns.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21915  				return err
 21916  			}
 21917  			iNdEx = postIndex
 21918  		case 5:
 21919  			if wireType != 0 {
 21920  				return fmt.Errorf("proto: wrong wireType = %d for field PartitionNum", wireType)
 21921  			}
 21922  			m.PartitionNum = 0
 21923  			for shift := uint(0); ; shift += 7 {
 21924  				if shift >= 64 {
 21925  					return ErrIntOverflowPlan
 21926  				}
 21927  				if iNdEx >= l {
 21928  					return io.ErrUnexpectedEOF
 21929  				}
 21930  				b := dAtA[iNdEx]
 21931  				iNdEx++
 21932  				m.PartitionNum |= uint64(b&0x7F) << shift
 21933  				if b < 0x80 {
 21934  					break
 21935  				}
 21936  			}
 21937  		case 6:
 21938  			if wireType != 2 {
 21939  				return fmt.Errorf("proto: wrong wireType = %d for field Partitions", wireType)
 21940  			}
 21941  			var msglen int
 21942  			for shift := uint(0); ; shift += 7 {
 21943  				if shift >= 64 {
 21944  					return ErrIntOverflowPlan
 21945  				}
 21946  				if iNdEx >= l {
 21947  					return io.ErrUnexpectedEOF
 21948  				}
 21949  				b := dAtA[iNdEx]
 21950  				iNdEx++
 21951  				msglen |= int(b&0x7F) << shift
 21952  				if b < 0x80 {
 21953  					break
 21954  				}
 21955  			}
 21956  			if msglen < 0 {
 21957  				return ErrInvalidLengthPlan
 21958  			}
 21959  			postIndex := iNdEx + msglen
 21960  			if postIndex < 0 {
 21961  				return ErrInvalidLengthPlan
 21962  			}
 21963  			if postIndex > l {
 21964  				return io.ErrUnexpectedEOF
 21965  			}
 21966  			m.Partitions = append(m.Partitions, &PartitionItem{})
 21967  			if err := m.Partitions[len(m.Partitions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21968  				return err
 21969  			}
 21970  			iNdEx = postIndex
 21971  		case 7:
 21972  			if wireType != 0 {
 21973  				return fmt.Errorf("proto: wrong wireType = %d for field Algorithm", wireType)
 21974  			}
 21975  			m.Algorithm = 0
 21976  			for shift := uint(0); ; shift += 7 {
 21977  				if shift >= 64 {
 21978  					return ErrIntOverflowPlan
 21979  				}
 21980  				if iNdEx >= l {
 21981  					return io.ErrUnexpectedEOF
 21982  				}
 21983  				b := dAtA[iNdEx]
 21984  				iNdEx++
 21985  				m.Algorithm |= int64(b&0x7F) << shift
 21986  				if b < 0x80 {
 21987  					break
 21988  				}
 21989  			}
 21990  		case 8:
 21991  			if wireType != 0 {
 21992  				return fmt.Errorf("proto: wrong wireType = %d for field IsSubPartition", wireType)
 21993  			}
 21994  			var v int
 21995  			for shift := uint(0); ; shift += 7 {
 21996  				if shift >= 64 {
 21997  					return ErrIntOverflowPlan
 21998  				}
 21999  				if iNdEx >= l {
 22000  					return io.ErrUnexpectedEOF
 22001  				}
 22002  				b := dAtA[iNdEx]
 22003  				iNdEx++
 22004  				v |= int(b&0x7F) << shift
 22005  				if b < 0x80 {
 22006  					break
 22007  				}
 22008  			}
 22009  			m.IsSubPartition = bool(v != 0)
 22010  		case 9:
 22011  			if wireType != 2 {
 22012  				return fmt.Errorf("proto: wrong wireType = %d for field PartitionMsg", wireType)
 22013  			}
 22014  			var stringLen uint64
 22015  			for shift := uint(0); ; shift += 7 {
 22016  				if shift >= 64 {
 22017  					return ErrIntOverflowPlan
 22018  				}
 22019  				if iNdEx >= l {
 22020  					return io.ErrUnexpectedEOF
 22021  				}
 22022  				b := dAtA[iNdEx]
 22023  				iNdEx++
 22024  				stringLen |= uint64(b&0x7F) << shift
 22025  				if b < 0x80 {
 22026  					break
 22027  				}
 22028  			}
 22029  			intStringLen := int(stringLen)
 22030  			if intStringLen < 0 {
 22031  				return ErrInvalidLengthPlan
 22032  			}
 22033  			postIndex := iNdEx + intStringLen
 22034  			if postIndex < 0 {
 22035  				return ErrInvalidLengthPlan
 22036  			}
 22037  			if postIndex > l {
 22038  				return io.ErrUnexpectedEOF
 22039  			}
 22040  			m.PartitionMsg = string(dAtA[iNdEx:postIndex])
 22041  			iNdEx = postIndex
 22042  		default:
 22043  			iNdEx = preIndex
 22044  			skippy, err := skipPlan(dAtA[iNdEx:])
 22045  			if err != nil {
 22046  				return err
 22047  			}
 22048  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 22049  				return ErrInvalidLengthPlan
 22050  			}
 22051  			if (iNdEx + skippy) > l {
 22052  				return io.ErrUnexpectedEOF
 22053  			}
 22054  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 22055  			iNdEx += skippy
 22056  		}
 22057  	}
 22058  
 22059  	if iNdEx > l {
 22060  		return io.ErrUnexpectedEOF
 22061  	}
 22062  	return nil
 22063  }
 22064  func (m *PartitionExpr) Unmarshal(dAtA []byte) error {
 22065  	l := len(dAtA)
 22066  	iNdEx := 0
 22067  	for iNdEx < l {
 22068  		preIndex := iNdEx
 22069  		var wire uint64
 22070  		for shift := uint(0); ; shift += 7 {
 22071  			if shift >= 64 {
 22072  				return ErrIntOverflowPlan
 22073  			}
 22074  			if iNdEx >= l {
 22075  				return io.ErrUnexpectedEOF
 22076  			}
 22077  			b := dAtA[iNdEx]
 22078  			iNdEx++
 22079  			wire |= uint64(b&0x7F) << shift
 22080  			if b < 0x80 {
 22081  				break
 22082  			}
 22083  		}
 22084  		fieldNum := int32(wire >> 3)
 22085  		wireType := int(wire & 0x7)
 22086  		if wireType == 4 {
 22087  			return fmt.Errorf("proto: PartitionExpr: wiretype end group for non-group")
 22088  		}
 22089  		if fieldNum <= 0 {
 22090  			return fmt.Errorf("proto: PartitionExpr: illegal tag %d (wire type %d)", fieldNum, wire)
 22091  		}
 22092  		switch fieldNum {
 22093  		case 1:
 22094  			if wireType != 2 {
 22095  				return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType)
 22096  			}
 22097  			var msglen int
 22098  			for shift := uint(0); ; shift += 7 {
 22099  				if shift >= 64 {
 22100  					return ErrIntOverflowPlan
 22101  				}
 22102  				if iNdEx >= l {
 22103  					return io.ErrUnexpectedEOF
 22104  				}
 22105  				b := dAtA[iNdEx]
 22106  				iNdEx++
 22107  				msglen |= int(b&0x7F) << shift
 22108  				if b < 0x80 {
 22109  					break
 22110  				}
 22111  			}
 22112  			if msglen < 0 {
 22113  				return ErrInvalidLengthPlan
 22114  			}
 22115  			postIndex := iNdEx + msglen
 22116  			if postIndex < 0 {
 22117  				return ErrInvalidLengthPlan
 22118  			}
 22119  			if postIndex > l {
 22120  				return io.ErrUnexpectedEOF
 22121  			}
 22122  			if m.Expr == nil {
 22123  				m.Expr = &Expr{}
 22124  			}
 22125  			if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 22126  				return err
 22127  			}
 22128  			iNdEx = postIndex
 22129  		case 2:
 22130  			if wireType != 2 {
 22131  				return fmt.Errorf("proto: wrong wireType = %d for field ExprStr", wireType)
 22132  			}
 22133  			var stringLen uint64
 22134  			for shift := uint(0); ; shift += 7 {
 22135  				if shift >= 64 {
 22136  					return ErrIntOverflowPlan
 22137  				}
 22138  				if iNdEx >= l {
 22139  					return io.ErrUnexpectedEOF
 22140  				}
 22141  				b := dAtA[iNdEx]
 22142  				iNdEx++
 22143  				stringLen |= uint64(b&0x7F) << shift
 22144  				if b < 0x80 {
 22145  					break
 22146  				}
 22147  			}
 22148  			intStringLen := int(stringLen)
 22149  			if intStringLen < 0 {
 22150  				return ErrInvalidLengthPlan
 22151  			}
 22152  			postIndex := iNdEx + intStringLen
 22153  			if postIndex < 0 {
 22154  				return ErrInvalidLengthPlan
 22155  			}
 22156  			if postIndex > l {
 22157  				return io.ErrUnexpectedEOF
 22158  			}
 22159  			m.ExprStr = string(dAtA[iNdEx:postIndex])
 22160  			iNdEx = postIndex
 22161  		default:
 22162  			iNdEx = preIndex
 22163  			skippy, err := skipPlan(dAtA[iNdEx:])
 22164  			if err != nil {
 22165  				return err
 22166  			}
 22167  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 22168  				return ErrInvalidLengthPlan
 22169  			}
 22170  			if (iNdEx + skippy) > l {
 22171  				return io.ErrUnexpectedEOF
 22172  			}
 22173  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 22174  			iNdEx += skippy
 22175  		}
 22176  	}
 22177  
 22178  	if iNdEx > l {
 22179  		return io.ErrUnexpectedEOF
 22180  	}
 22181  	return nil
 22182  }
 22183  func (m *PartitionColumns) Unmarshal(dAtA []byte) error {
 22184  	l := len(dAtA)
 22185  	iNdEx := 0
 22186  	for iNdEx < l {
 22187  		preIndex := iNdEx
 22188  		var wire uint64
 22189  		for shift := uint(0); ; shift += 7 {
 22190  			if shift >= 64 {
 22191  				return ErrIntOverflowPlan
 22192  			}
 22193  			if iNdEx >= l {
 22194  				return io.ErrUnexpectedEOF
 22195  			}
 22196  			b := dAtA[iNdEx]
 22197  			iNdEx++
 22198  			wire |= uint64(b&0x7F) << shift
 22199  			if b < 0x80 {
 22200  				break
 22201  			}
 22202  		}
 22203  		fieldNum := int32(wire >> 3)
 22204  		wireType := int(wire & 0x7)
 22205  		if wireType == 4 {
 22206  			return fmt.Errorf("proto: PartitionColumns: wiretype end group for non-group")
 22207  		}
 22208  		if fieldNum <= 0 {
 22209  			return fmt.Errorf("proto: PartitionColumns: illegal tag %d (wire type %d)", fieldNum, wire)
 22210  		}
 22211  		switch fieldNum {
 22212  		case 1:
 22213  			if wireType != 2 {
 22214  				return fmt.Errorf("proto: wrong wireType = %d for field Columns", wireType)
 22215  			}
 22216  			var msglen int
 22217  			for shift := uint(0); ; shift += 7 {
 22218  				if shift >= 64 {
 22219  					return ErrIntOverflowPlan
 22220  				}
 22221  				if iNdEx >= l {
 22222  					return io.ErrUnexpectedEOF
 22223  				}
 22224  				b := dAtA[iNdEx]
 22225  				iNdEx++
 22226  				msglen |= int(b&0x7F) << shift
 22227  				if b < 0x80 {
 22228  					break
 22229  				}
 22230  			}
 22231  			if msglen < 0 {
 22232  				return ErrInvalidLengthPlan
 22233  			}
 22234  			postIndex := iNdEx + msglen
 22235  			if postIndex < 0 {
 22236  				return ErrInvalidLengthPlan
 22237  			}
 22238  			if postIndex > l {
 22239  				return io.ErrUnexpectedEOF
 22240  			}
 22241  			m.Columns = append(m.Columns, &Expr{})
 22242  			if err := m.Columns[len(m.Columns)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 22243  				return err
 22244  			}
 22245  			iNdEx = postIndex
 22246  		case 2:
 22247  			if wireType != 2 {
 22248  				return fmt.Errorf("proto: wrong wireType = %d for field PartitionColumns", wireType)
 22249  			}
 22250  			var stringLen uint64
 22251  			for shift := uint(0); ; shift += 7 {
 22252  				if shift >= 64 {
 22253  					return ErrIntOverflowPlan
 22254  				}
 22255  				if iNdEx >= l {
 22256  					return io.ErrUnexpectedEOF
 22257  				}
 22258  				b := dAtA[iNdEx]
 22259  				iNdEx++
 22260  				stringLen |= uint64(b&0x7F) << shift
 22261  				if b < 0x80 {
 22262  					break
 22263  				}
 22264  			}
 22265  			intStringLen := int(stringLen)
 22266  			if intStringLen < 0 {
 22267  				return ErrInvalidLengthPlan
 22268  			}
 22269  			postIndex := iNdEx + intStringLen
 22270  			if postIndex < 0 {
 22271  				return ErrInvalidLengthPlan
 22272  			}
 22273  			if postIndex > l {
 22274  				return io.ErrUnexpectedEOF
 22275  			}
 22276  			m.PartitionColumns = append(m.PartitionColumns, string(dAtA[iNdEx:postIndex]))
 22277  			iNdEx = postIndex
 22278  		default:
 22279  			iNdEx = preIndex
 22280  			skippy, err := skipPlan(dAtA[iNdEx:])
 22281  			if err != nil {
 22282  				return err
 22283  			}
 22284  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 22285  				return ErrInvalidLengthPlan
 22286  			}
 22287  			if (iNdEx + skippy) > l {
 22288  				return io.ErrUnexpectedEOF
 22289  			}
 22290  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 22291  			iNdEx += skippy
 22292  		}
 22293  	}
 22294  
 22295  	if iNdEx > l {
 22296  		return io.ErrUnexpectedEOF
 22297  	}
 22298  	return nil
 22299  }
 22300  func (m *PartitionItem) Unmarshal(dAtA []byte) error {
 22301  	l := len(dAtA)
 22302  	iNdEx := 0
 22303  	for iNdEx < l {
 22304  		preIndex := iNdEx
 22305  		var wire uint64
 22306  		for shift := uint(0); ; shift += 7 {
 22307  			if shift >= 64 {
 22308  				return ErrIntOverflowPlan
 22309  			}
 22310  			if iNdEx >= l {
 22311  				return io.ErrUnexpectedEOF
 22312  			}
 22313  			b := dAtA[iNdEx]
 22314  			iNdEx++
 22315  			wire |= uint64(b&0x7F) << shift
 22316  			if b < 0x80 {
 22317  				break
 22318  			}
 22319  		}
 22320  		fieldNum := int32(wire >> 3)
 22321  		wireType := int(wire & 0x7)
 22322  		if wireType == 4 {
 22323  			return fmt.Errorf("proto: PartitionItem: wiretype end group for non-group")
 22324  		}
 22325  		if fieldNum <= 0 {
 22326  			return fmt.Errorf("proto: PartitionItem: illegal tag %d (wire type %d)", fieldNum, wire)
 22327  		}
 22328  		switch fieldNum {
 22329  		case 1:
 22330  			if wireType != 2 {
 22331  				return fmt.Errorf("proto: wrong wireType = %d for field PartitionName", wireType)
 22332  			}
 22333  			var stringLen uint64
 22334  			for shift := uint(0); ; shift += 7 {
 22335  				if shift >= 64 {
 22336  					return ErrIntOverflowPlan
 22337  				}
 22338  				if iNdEx >= l {
 22339  					return io.ErrUnexpectedEOF
 22340  				}
 22341  				b := dAtA[iNdEx]
 22342  				iNdEx++
 22343  				stringLen |= uint64(b&0x7F) << shift
 22344  				if b < 0x80 {
 22345  					break
 22346  				}
 22347  			}
 22348  			intStringLen := int(stringLen)
 22349  			if intStringLen < 0 {
 22350  				return ErrInvalidLengthPlan
 22351  			}
 22352  			postIndex := iNdEx + intStringLen
 22353  			if postIndex < 0 {
 22354  				return ErrInvalidLengthPlan
 22355  			}
 22356  			if postIndex > l {
 22357  				return io.ErrUnexpectedEOF
 22358  			}
 22359  			m.PartitionName = string(dAtA[iNdEx:postIndex])
 22360  			iNdEx = postIndex
 22361  		case 2:
 22362  			if wireType != 0 {
 22363  				return fmt.Errorf("proto: wrong wireType = %d for field OrdinalPosition", wireType)
 22364  			}
 22365  			m.OrdinalPosition = 0
 22366  			for shift := uint(0); ; shift += 7 {
 22367  				if shift >= 64 {
 22368  					return ErrIntOverflowPlan
 22369  				}
 22370  				if iNdEx >= l {
 22371  					return io.ErrUnexpectedEOF
 22372  				}
 22373  				b := dAtA[iNdEx]
 22374  				iNdEx++
 22375  				m.OrdinalPosition |= uint32(b&0x7F) << shift
 22376  				if b < 0x80 {
 22377  					break
 22378  				}
 22379  			}
 22380  		case 3:
 22381  			if wireType != 2 {
 22382  				return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
 22383  			}
 22384  			var stringLen uint64
 22385  			for shift := uint(0); ; shift += 7 {
 22386  				if shift >= 64 {
 22387  					return ErrIntOverflowPlan
 22388  				}
 22389  				if iNdEx >= l {
 22390  					return io.ErrUnexpectedEOF
 22391  				}
 22392  				b := dAtA[iNdEx]
 22393  				iNdEx++
 22394  				stringLen |= uint64(b&0x7F) << shift
 22395  				if b < 0x80 {
 22396  					break
 22397  				}
 22398  			}
 22399  			intStringLen := int(stringLen)
 22400  			if intStringLen < 0 {
 22401  				return ErrInvalidLengthPlan
 22402  			}
 22403  			postIndex := iNdEx + intStringLen
 22404  			if postIndex < 0 {
 22405  				return ErrInvalidLengthPlan
 22406  			}
 22407  			if postIndex > l {
 22408  				return io.ErrUnexpectedEOF
 22409  			}
 22410  			m.Description = string(dAtA[iNdEx:postIndex])
 22411  			iNdEx = postIndex
 22412  		case 4:
 22413  			if wireType != 2 {
 22414  				return fmt.Errorf("proto: wrong wireType = %d for field Comment", wireType)
 22415  			}
 22416  			var stringLen uint64
 22417  			for shift := uint(0); ; shift += 7 {
 22418  				if shift >= 64 {
 22419  					return ErrIntOverflowPlan
 22420  				}
 22421  				if iNdEx >= l {
 22422  					return io.ErrUnexpectedEOF
 22423  				}
 22424  				b := dAtA[iNdEx]
 22425  				iNdEx++
 22426  				stringLen |= uint64(b&0x7F) << shift
 22427  				if b < 0x80 {
 22428  					break
 22429  				}
 22430  			}
 22431  			intStringLen := int(stringLen)
 22432  			if intStringLen < 0 {
 22433  				return ErrInvalidLengthPlan
 22434  			}
 22435  			postIndex := iNdEx + intStringLen
 22436  			if postIndex < 0 {
 22437  				return ErrInvalidLengthPlan
 22438  			}
 22439  			if postIndex > l {
 22440  				return io.ErrUnexpectedEOF
 22441  			}
 22442  			m.Comment = string(dAtA[iNdEx:postIndex])
 22443  			iNdEx = postIndex
 22444  		case 5:
 22445  			if wireType != 2 {
 22446  				return fmt.Errorf("proto: wrong wireType = %d for field LessThan", wireType)
 22447  			}
 22448  			var msglen int
 22449  			for shift := uint(0); ; shift += 7 {
 22450  				if shift >= 64 {
 22451  					return ErrIntOverflowPlan
 22452  				}
 22453  				if iNdEx >= l {
 22454  					return io.ErrUnexpectedEOF
 22455  				}
 22456  				b := dAtA[iNdEx]
 22457  				iNdEx++
 22458  				msglen |= int(b&0x7F) << shift
 22459  				if b < 0x80 {
 22460  					break
 22461  				}
 22462  			}
 22463  			if msglen < 0 {
 22464  				return ErrInvalidLengthPlan
 22465  			}
 22466  			postIndex := iNdEx + msglen
 22467  			if postIndex < 0 {
 22468  				return ErrInvalidLengthPlan
 22469  			}
 22470  			if postIndex > l {
 22471  				return io.ErrUnexpectedEOF
 22472  			}
 22473  			m.LessThan = append(m.LessThan, &Expr{})
 22474  			if err := m.LessThan[len(m.LessThan)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 22475  				return err
 22476  			}
 22477  			iNdEx = postIndex
 22478  		case 6:
 22479  			if wireType != 2 {
 22480  				return fmt.Errorf("proto: wrong wireType = %d for field InValues", wireType)
 22481  			}
 22482  			var msglen int
 22483  			for shift := uint(0); ; shift += 7 {
 22484  				if shift >= 64 {
 22485  					return ErrIntOverflowPlan
 22486  				}
 22487  				if iNdEx >= l {
 22488  					return io.ErrUnexpectedEOF
 22489  				}
 22490  				b := dAtA[iNdEx]
 22491  				iNdEx++
 22492  				msglen |= int(b&0x7F) << shift
 22493  				if b < 0x80 {
 22494  					break
 22495  				}
 22496  			}
 22497  			if msglen < 0 {
 22498  				return ErrInvalidLengthPlan
 22499  			}
 22500  			postIndex := iNdEx + msglen
 22501  			if postIndex < 0 {
 22502  				return ErrInvalidLengthPlan
 22503  			}
 22504  			if postIndex > l {
 22505  				return io.ErrUnexpectedEOF
 22506  			}
 22507  			m.InValues = append(m.InValues, &Expr{})
 22508  			if err := m.InValues[len(m.InValues)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 22509  				return err
 22510  			}
 22511  			iNdEx = postIndex
 22512  		default:
 22513  			iNdEx = preIndex
 22514  			skippy, err := skipPlan(dAtA[iNdEx:])
 22515  			if err != nil {
 22516  				return err
 22517  			}
 22518  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 22519  				return ErrInvalidLengthPlan
 22520  			}
 22521  			if (iNdEx + skippy) > l {
 22522  				return io.ErrUnexpectedEOF
 22523  			}
 22524  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 22525  			iNdEx += skippy
 22526  		}
 22527  	}
 22528  
 22529  	if iNdEx > l {
 22530  		return io.ErrUnexpectedEOF
 22531  	}
 22532  	return nil
 22533  }
 22534  func (m *ViewDef) Unmarshal(dAtA []byte) error {
 22535  	l := len(dAtA)
 22536  	iNdEx := 0
 22537  	for iNdEx < l {
 22538  		preIndex := iNdEx
 22539  		var wire uint64
 22540  		for shift := uint(0); ; shift += 7 {
 22541  			if shift >= 64 {
 22542  				return ErrIntOverflowPlan
 22543  			}
 22544  			if iNdEx >= l {
 22545  				return io.ErrUnexpectedEOF
 22546  			}
 22547  			b := dAtA[iNdEx]
 22548  			iNdEx++
 22549  			wire |= uint64(b&0x7F) << shift
 22550  			if b < 0x80 {
 22551  				break
 22552  			}
 22553  		}
 22554  		fieldNum := int32(wire >> 3)
 22555  		wireType := int(wire & 0x7)
 22556  		if wireType == 4 {
 22557  			return fmt.Errorf("proto: ViewDef: wiretype end group for non-group")
 22558  		}
 22559  		if fieldNum <= 0 {
 22560  			return fmt.Errorf("proto: ViewDef: illegal tag %d (wire type %d)", fieldNum, wire)
 22561  		}
 22562  		switch fieldNum {
 22563  		case 1:
 22564  			if wireType != 2 {
 22565  				return fmt.Errorf("proto: wrong wireType = %d for field View", wireType)
 22566  			}
 22567  			var stringLen uint64
 22568  			for shift := uint(0); ; shift += 7 {
 22569  				if shift >= 64 {
 22570  					return ErrIntOverflowPlan
 22571  				}
 22572  				if iNdEx >= l {
 22573  					return io.ErrUnexpectedEOF
 22574  				}
 22575  				b := dAtA[iNdEx]
 22576  				iNdEx++
 22577  				stringLen |= uint64(b&0x7F) << shift
 22578  				if b < 0x80 {
 22579  					break
 22580  				}
 22581  			}
 22582  			intStringLen := int(stringLen)
 22583  			if intStringLen < 0 {
 22584  				return ErrInvalidLengthPlan
 22585  			}
 22586  			postIndex := iNdEx + intStringLen
 22587  			if postIndex < 0 {
 22588  				return ErrInvalidLengthPlan
 22589  			}
 22590  			if postIndex > l {
 22591  				return io.ErrUnexpectedEOF
 22592  			}
 22593  			m.View = string(dAtA[iNdEx:postIndex])
 22594  			iNdEx = postIndex
 22595  		default:
 22596  			iNdEx = preIndex
 22597  			skippy, err := skipPlan(dAtA[iNdEx:])
 22598  			if err != nil {
 22599  				return err
 22600  			}
 22601  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 22602  				return ErrInvalidLengthPlan
 22603  			}
 22604  			if (iNdEx + skippy) > l {
 22605  				return io.ErrUnexpectedEOF
 22606  			}
 22607  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 22608  			iNdEx += skippy
 22609  		}
 22610  	}
 22611  
 22612  	if iNdEx > l {
 22613  		return io.ErrUnexpectedEOF
 22614  	}
 22615  	return nil
 22616  }
 22617  func (m *TableDef) Unmarshal(dAtA []byte) error {
 22618  	l := len(dAtA)
 22619  	iNdEx := 0
 22620  	for iNdEx < l {
 22621  		preIndex := iNdEx
 22622  		var wire uint64
 22623  		for shift := uint(0); ; shift += 7 {
 22624  			if shift >= 64 {
 22625  				return ErrIntOverflowPlan
 22626  			}
 22627  			if iNdEx >= l {
 22628  				return io.ErrUnexpectedEOF
 22629  			}
 22630  			b := dAtA[iNdEx]
 22631  			iNdEx++
 22632  			wire |= uint64(b&0x7F) << shift
 22633  			if b < 0x80 {
 22634  				break
 22635  			}
 22636  		}
 22637  		fieldNum := int32(wire >> 3)
 22638  		wireType := int(wire & 0x7)
 22639  		if wireType == 4 {
 22640  			return fmt.Errorf("proto: TableDef: wiretype end group for non-group")
 22641  		}
 22642  		if fieldNum <= 0 {
 22643  			return fmt.Errorf("proto: TableDef: illegal tag %d (wire type %d)", fieldNum, wire)
 22644  		}
 22645  		switch fieldNum {
 22646  		case 1:
 22647  			if wireType != 0 {
 22648  				return fmt.Errorf("proto: wrong wireType = %d for field TblId", wireType)
 22649  			}
 22650  			m.TblId = 0
 22651  			for shift := uint(0); ; shift += 7 {
 22652  				if shift >= 64 {
 22653  					return ErrIntOverflowPlan
 22654  				}
 22655  				if iNdEx >= l {
 22656  					return io.ErrUnexpectedEOF
 22657  				}
 22658  				b := dAtA[iNdEx]
 22659  				iNdEx++
 22660  				m.TblId |= uint64(b&0x7F) << shift
 22661  				if b < 0x80 {
 22662  					break
 22663  				}
 22664  			}
 22665  		case 2:
 22666  			if wireType != 2 {
 22667  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 22668  			}
 22669  			var stringLen uint64
 22670  			for shift := uint(0); ; shift += 7 {
 22671  				if shift >= 64 {
 22672  					return ErrIntOverflowPlan
 22673  				}
 22674  				if iNdEx >= l {
 22675  					return io.ErrUnexpectedEOF
 22676  				}
 22677  				b := dAtA[iNdEx]
 22678  				iNdEx++
 22679  				stringLen |= uint64(b&0x7F) << shift
 22680  				if b < 0x80 {
 22681  					break
 22682  				}
 22683  			}
 22684  			intStringLen := int(stringLen)
 22685  			if intStringLen < 0 {
 22686  				return ErrInvalidLengthPlan
 22687  			}
 22688  			postIndex := iNdEx + intStringLen
 22689  			if postIndex < 0 {
 22690  				return ErrInvalidLengthPlan
 22691  			}
 22692  			if postIndex > l {
 22693  				return io.ErrUnexpectedEOF
 22694  			}
 22695  			m.Name = string(dAtA[iNdEx:postIndex])
 22696  			iNdEx = postIndex
 22697  		case 3:
 22698  			if wireType != 0 {
 22699  				return fmt.Errorf("proto: wrong wireType = %d for field Hidden", wireType)
 22700  			}
 22701  			var v int
 22702  			for shift := uint(0); ; shift += 7 {
 22703  				if shift >= 64 {
 22704  					return ErrIntOverflowPlan
 22705  				}
 22706  				if iNdEx >= l {
 22707  					return io.ErrUnexpectedEOF
 22708  				}
 22709  				b := dAtA[iNdEx]
 22710  				iNdEx++
 22711  				v |= int(b&0x7F) << shift
 22712  				if b < 0x80 {
 22713  					break
 22714  				}
 22715  			}
 22716  			m.Hidden = bool(v != 0)
 22717  		case 4:
 22718  			if wireType != 2 {
 22719  				return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType)
 22720  			}
 22721  			var msglen int
 22722  			for shift := uint(0); ; shift += 7 {
 22723  				if shift >= 64 {
 22724  					return ErrIntOverflowPlan
 22725  				}
 22726  				if iNdEx >= l {
 22727  					return io.ErrUnexpectedEOF
 22728  				}
 22729  				b := dAtA[iNdEx]
 22730  				iNdEx++
 22731  				msglen |= int(b&0x7F) << shift
 22732  				if b < 0x80 {
 22733  					break
 22734  				}
 22735  			}
 22736  			if msglen < 0 {
 22737  				return ErrInvalidLengthPlan
 22738  			}
 22739  			postIndex := iNdEx + msglen
 22740  			if postIndex < 0 {
 22741  				return ErrInvalidLengthPlan
 22742  			}
 22743  			if postIndex > l {
 22744  				return io.ErrUnexpectedEOF
 22745  			}
 22746  			m.Cols = append(m.Cols, &ColDef{})
 22747  			if err := m.Cols[len(m.Cols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 22748  				return err
 22749  			}
 22750  			iNdEx = postIndex
 22751  		case 5:
 22752  			if wireType != 2 {
 22753  				return fmt.Errorf("proto: wrong wireType = %d for field TableType", wireType)
 22754  			}
 22755  			var stringLen uint64
 22756  			for shift := uint(0); ; shift += 7 {
 22757  				if shift >= 64 {
 22758  					return ErrIntOverflowPlan
 22759  				}
 22760  				if iNdEx >= l {
 22761  					return io.ErrUnexpectedEOF
 22762  				}
 22763  				b := dAtA[iNdEx]
 22764  				iNdEx++
 22765  				stringLen |= uint64(b&0x7F) << shift
 22766  				if b < 0x80 {
 22767  					break
 22768  				}
 22769  			}
 22770  			intStringLen := int(stringLen)
 22771  			if intStringLen < 0 {
 22772  				return ErrInvalidLengthPlan
 22773  			}
 22774  			postIndex := iNdEx + intStringLen
 22775  			if postIndex < 0 {
 22776  				return ErrInvalidLengthPlan
 22777  			}
 22778  			if postIndex > l {
 22779  				return io.ErrUnexpectedEOF
 22780  			}
 22781  			m.TableType = string(dAtA[iNdEx:postIndex])
 22782  			iNdEx = postIndex
 22783  		case 6:
 22784  			if wireType != 2 {
 22785  				return fmt.Errorf("proto: wrong wireType = %d for field Createsql", wireType)
 22786  			}
 22787  			var stringLen uint64
 22788  			for shift := uint(0); ; shift += 7 {
 22789  				if shift >= 64 {
 22790  					return ErrIntOverflowPlan
 22791  				}
 22792  				if iNdEx >= l {
 22793  					return io.ErrUnexpectedEOF
 22794  				}
 22795  				b := dAtA[iNdEx]
 22796  				iNdEx++
 22797  				stringLen |= uint64(b&0x7F) << shift
 22798  				if b < 0x80 {
 22799  					break
 22800  				}
 22801  			}
 22802  			intStringLen := int(stringLen)
 22803  			if intStringLen < 0 {
 22804  				return ErrInvalidLengthPlan
 22805  			}
 22806  			postIndex := iNdEx + intStringLen
 22807  			if postIndex < 0 {
 22808  				return ErrInvalidLengthPlan
 22809  			}
 22810  			if postIndex > l {
 22811  				return io.ErrUnexpectedEOF
 22812  			}
 22813  			m.Createsql = string(dAtA[iNdEx:postIndex])
 22814  			iNdEx = postIndex
 22815  		case 7:
 22816  			if wireType != 2 {
 22817  				return fmt.Errorf("proto: wrong wireType = %d for field TblFunc", wireType)
 22818  			}
 22819  			var msglen int
 22820  			for shift := uint(0); ; shift += 7 {
 22821  				if shift >= 64 {
 22822  					return ErrIntOverflowPlan
 22823  				}
 22824  				if iNdEx >= l {
 22825  					return io.ErrUnexpectedEOF
 22826  				}
 22827  				b := dAtA[iNdEx]
 22828  				iNdEx++
 22829  				msglen |= int(b&0x7F) << shift
 22830  				if b < 0x80 {
 22831  					break
 22832  				}
 22833  			}
 22834  			if msglen < 0 {
 22835  				return ErrInvalidLengthPlan
 22836  			}
 22837  			postIndex := iNdEx + msglen
 22838  			if postIndex < 0 {
 22839  				return ErrInvalidLengthPlan
 22840  			}
 22841  			if postIndex > l {
 22842  				return io.ErrUnexpectedEOF
 22843  			}
 22844  			if m.TblFunc == nil {
 22845  				m.TblFunc = &TableFunction{}
 22846  			}
 22847  			if err := m.TblFunc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 22848  				return err
 22849  			}
 22850  			iNdEx = postIndex
 22851  		case 11:
 22852  			if wireType != 2 {
 22853  				return fmt.Errorf("proto: wrong wireType = %d for field Pkey", wireType)
 22854  			}
 22855  			var msglen int
 22856  			for shift := uint(0); ; shift += 7 {
 22857  				if shift >= 64 {
 22858  					return ErrIntOverflowPlan
 22859  				}
 22860  				if iNdEx >= l {
 22861  					return io.ErrUnexpectedEOF
 22862  				}
 22863  				b := dAtA[iNdEx]
 22864  				iNdEx++
 22865  				msglen |= int(b&0x7F) << shift
 22866  				if b < 0x80 {
 22867  					break
 22868  				}
 22869  			}
 22870  			if msglen < 0 {
 22871  				return ErrInvalidLengthPlan
 22872  			}
 22873  			postIndex := iNdEx + msglen
 22874  			if postIndex < 0 {
 22875  				return ErrInvalidLengthPlan
 22876  			}
 22877  			if postIndex > l {
 22878  				return io.ErrUnexpectedEOF
 22879  			}
 22880  			if m.Pkey == nil {
 22881  				m.Pkey = &PrimaryKeyDef{}
 22882  			}
 22883  			if err := m.Pkey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 22884  				return err
 22885  			}
 22886  			iNdEx = postIndex
 22887  		case 12:
 22888  			if wireType != 2 {
 22889  				return fmt.Errorf("proto: wrong wireType = %d for field Indexes", wireType)
 22890  			}
 22891  			var msglen int
 22892  			for shift := uint(0); ; shift += 7 {
 22893  				if shift >= 64 {
 22894  					return ErrIntOverflowPlan
 22895  				}
 22896  				if iNdEx >= l {
 22897  					return io.ErrUnexpectedEOF
 22898  				}
 22899  				b := dAtA[iNdEx]
 22900  				iNdEx++
 22901  				msglen |= int(b&0x7F) << shift
 22902  				if b < 0x80 {
 22903  					break
 22904  				}
 22905  			}
 22906  			if msglen < 0 {
 22907  				return ErrInvalidLengthPlan
 22908  			}
 22909  			postIndex := iNdEx + msglen
 22910  			if postIndex < 0 {
 22911  				return ErrInvalidLengthPlan
 22912  			}
 22913  			if postIndex > l {
 22914  				return io.ErrUnexpectedEOF
 22915  			}
 22916  			m.Indexes = append(m.Indexes, &IndexDef{})
 22917  			if err := m.Indexes[len(m.Indexes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 22918  				return err
 22919  			}
 22920  			iNdEx = postIndex
 22921  		case 13:
 22922  			if wireType != 2 {
 22923  				return fmt.Errorf("proto: wrong wireType = %d for field Fkeys", wireType)
 22924  			}
 22925  			var msglen int
 22926  			for shift := uint(0); ; shift += 7 {
 22927  				if shift >= 64 {
 22928  					return ErrIntOverflowPlan
 22929  				}
 22930  				if iNdEx >= l {
 22931  					return io.ErrUnexpectedEOF
 22932  				}
 22933  				b := dAtA[iNdEx]
 22934  				iNdEx++
 22935  				msglen |= int(b&0x7F) << shift
 22936  				if b < 0x80 {
 22937  					break
 22938  				}
 22939  			}
 22940  			if msglen < 0 {
 22941  				return ErrInvalidLengthPlan
 22942  			}
 22943  			postIndex := iNdEx + msglen
 22944  			if postIndex < 0 {
 22945  				return ErrInvalidLengthPlan
 22946  			}
 22947  			if postIndex > l {
 22948  				return io.ErrUnexpectedEOF
 22949  			}
 22950  			m.Fkeys = append(m.Fkeys, &ForeignKeyDef{})
 22951  			if err := m.Fkeys[len(m.Fkeys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 22952  				return err
 22953  			}
 22954  			iNdEx = postIndex
 22955  		case 14:
 22956  			if wireType == 0 {
 22957  				var v uint64
 22958  				for shift := uint(0); ; shift += 7 {
 22959  					if shift >= 64 {
 22960  						return ErrIntOverflowPlan
 22961  					}
 22962  					if iNdEx >= l {
 22963  						return io.ErrUnexpectedEOF
 22964  					}
 22965  					b := dAtA[iNdEx]
 22966  					iNdEx++
 22967  					v |= uint64(b&0x7F) << shift
 22968  					if b < 0x80 {
 22969  						break
 22970  					}
 22971  				}
 22972  				m.RefChildTbls = append(m.RefChildTbls, v)
 22973  			} else if wireType == 2 {
 22974  				var packedLen int
 22975  				for shift := uint(0); ; shift += 7 {
 22976  					if shift >= 64 {
 22977  						return ErrIntOverflowPlan
 22978  					}
 22979  					if iNdEx >= l {
 22980  						return io.ErrUnexpectedEOF
 22981  					}
 22982  					b := dAtA[iNdEx]
 22983  					iNdEx++
 22984  					packedLen |= int(b&0x7F) << shift
 22985  					if b < 0x80 {
 22986  						break
 22987  					}
 22988  				}
 22989  				if packedLen < 0 {
 22990  					return ErrInvalidLengthPlan
 22991  				}
 22992  				postIndex := iNdEx + packedLen
 22993  				if postIndex < 0 {
 22994  					return ErrInvalidLengthPlan
 22995  				}
 22996  				if postIndex > l {
 22997  					return io.ErrUnexpectedEOF
 22998  				}
 22999  				var elementCount int
 23000  				var count int
 23001  				for _, integer := range dAtA[iNdEx:postIndex] {
 23002  					if integer < 128 {
 23003  						count++
 23004  					}
 23005  				}
 23006  				elementCount = count
 23007  				if elementCount != 0 && len(m.RefChildTbls) == 0 {
 23008  					m.RefChildTbls = make([]uint64, 0, elementCount)
 23009  				}
 23010  				for iNdEx < postIndex {
 23011  					var v uint64
 23012  					for shift := uint(0); ; shift += 7 {
 23013  						if shift >= 64 {
 23014  							return ErrIntOverflowPlan
 23015  						}
 23016  						if iNdEx >= l {
 23017  							return io.ErrUnexpectedEOF
 23018  						}
 23019  						b := dAtA[iNdEx]
 23020  						iNdEx++
 23021  						v |= uint64(b&0x7F) << shift
 23022  						if b < 0x80 {
 23023  							break
 23024  						}
 23025  					}
 23026  					m.RefChildTbls = append(m.RefChildTbls, v)
 23027  				}
 23028  			} else {
 23029  				return fmt.Errorf("proto: wrong wireType = %d for field RefChildTbls", wireType)
 23030  			}
 23031  		case 15:
 23032  			if wireType != 2 {
 23033  				return fmt.Errorf("proto: wrong wireType = %d for field Checks", wireType)
 23034  			}
 23035  			var msglen int
 23036  			for shift := uint(0); ; shift += 7 {
 23037  				if shift >= 64 {
 23038  					return ErrIntOverflowPlan
 23039  				}
 23040  				if iNdEx >= l {
 23041  					return io.ErrUnexpectedEOF
 23042  				}
 23043  				b := dAtA[iNdEx]
 23044  				iNdEx++
 23045  				msglen |= int(b&0x7F) << shift
 23046  				if b < 0x80 {
 23047  					break
 23048  				}
 23049  			}
 23050  			if msglen < 0 {
 23051  				return ErrInvalidLengthPlan
 23052  			}
 23053  			postIndex := iNdEx + msglen
 23054  			if postIndex < 0 {
 23055  				return ErrInvalidLengthPlan
 23056  			}
 23057  			if postIndex > l {
 23058  				return io.ErrUnexpectedEOF
 23059  			}
 23060  			m.Checks = append(m.Checks, &CheckDef{})
 23061  			if err := m.Checks[len(m.Checks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23062  				return err
 23063  			}
 23064  			iNdEx = postIndex
 23065  		case 21:
 23066  			if wireType != 2 {
 23067  				return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
 23068  			}
 23069  			var msglen int
 23070  			for shift := uint(0); ; shift += 7 {
 23071  				if shift >= 64 {
 23072  					return ErrIntOverflowPlan
 23073  				}
 23074  				if iNdEx >= l {
 23075  					return io.ErrUnexpectedEOF
 23076  				}
 23077  				b := dAtA[iNdEx]
 23078  				iNdEx++
 23079  				msglen |= int(b&0x7F) << shift
 23080  				if b < 0x80 {
 23081  					break
 23082  				}
 23083  			}
 23084  			if msglen < 0 {
 23085  				return ErrInvalidLengthPlan
 23086  			}
 23087  			postIndex := iNdEx + msglen
 23088  			if postIndex < 0 {
 23089  				return ErrInvalidLengthPlan
 23090  			}
 23091  			if postIndex > l {
 23092  				return io.ErrUnexpectedEOF
 23093  			}
 23094  			if m.Partition == nil {
 23095  				m.Partition = &PartitionByDef{}
 23096  			}
 23097  			if err := m.Partition.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23098  				return err
 23099  			}
 23100  			iNdEx = postIndex
 23101  		case 22:
 23102  			if wireType != 2 {
 23103  				return fmt.Errorf("proto: wrong wireType = %d for field ClusterBy", wireType)
 23104  			}
 23105  			var msglen int
 23106  			for shift := uint(0); ; shift += 7 {
 23107  				if shift >= 64 {
 23108  					return ErrIntOverflowPlan
 23109  				}
 23110  				if iNdEx >= l {
 23111  					return io.ErrUnexpectedEOF
 23112  				}
 23113  				b := dAtA[iNdEx]
 23114  				iNdEx++
 23115  				msglen |= int(b&0x7F) << shift
 23116  				if b < 0x80 {
 23117  					break
 23118  				}
 23119  			}
 23120  			if msglen < 0 {
 23121  				return ErrInvalidLengthPlan
 23122  			}
 23123  			postIndex := iNdEx + msglen
 23124  			if postIndex < 0 {
 23125  				return ErrInvalidLengthPlan
 23126  			}
 23127  			if postIndex > l {
 23128  				return io.ErrUnexpectedEOF
 23129  			}
 23130  			if m.ClusterBy == nil {
 23131  				m.ClusterBy = &ClusterByDef{}
 23132  			}
 23133  			if err := m.ClusterBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23134  				return err
 23135  			}
 23136  			iNdEx = postIndex
 23137  		case 23:
 23138  			if wireType != 2 {
 23139  				return fmt.Errorf("proto: wrong wireType = %d for field Props", wireType)
 23140  			}
 23141  			var msglen int
 23142  			for shift := uint(0); ; shift += 7 {
 23143  				if shift >= 64 {
 23144  					return ErrIntOverflowPlan
 23145  				}
 23146  				if iNdEx >= l {
 23147  					return io.ErrUnexpectedEOF
 23148  				}
 23149  				b := dAtA[iNdEx]
 23150  				iNdEx++
 23151  				msglen |= int(b&0x7F) << shift
 23152  				if b < 0x80 {
 23153  					break
 23154  				}
 23155  			}
 23156  			if msglen < 0 {
 23157  				return ErrInvalidLengthPlan
 23158  			}
 23159  			postIndex := iNdEx + msglen
 23160  			if postIndex < 0 {
 23161  				return ErrInvalidLengthPlan
 23162  			}
 23163  			if postIndex > l {
 23164  				return io.ErrUnexpectedEOF
 23165  			}
 23166  			m.Props = append(m.Props, &PropertyDef{})
 23167  			if err := m.Props[len(m.Props)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23168  				return err
 23169  			}
 23170  			iNdEx = postIndex
 23171  		case 24:
 23172  			if wireType != 2 {
 23173  				return fmt.Errorf("proto: wrong wireType = %d for field ViewSql", wireType)
 23174  			}
 23175  			var msglen int
 23176  			for shift := uint(0); ; shift += 7 {
 23177  				if shift >= 64 {
 23178  					return ErrIntOverflowPlan
 23179  				}
 23180  				if iNdEx >= l {
 23181  					return io.ErrUnexpectedEOF
 23182  				}
 23183  				b := dAtA[iNdEx]
 23184  				iNdEx++
 23185  				msglen |= int(b&0x7F) << shift
 23186  				if b < 0x80 {
 23187  					break
 23188  				}
 23189  			}
 23190  			if msglen < 0 {
 23191  				return ErrInvalidLengthPlan
 23192  			}
 23193  			postIndex := iNdEx + msglen
 23194  			if postIndex < 0 {
 23195  				return ErrInvalidLengthPlan
 23196  			}
 23197  			if postIndex > l {
 23198  				return io.ErrUnexpectedEOF
 23199  			}
 23200  			if m.ViewSql == nil {
 23201  				m.ViewSql = &ViewDef{}
 23202  			}
 23203  			if err := m.ViewSql.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23204  				return err
 23205  			}
 23206  			iNdEx = postIndex
 23207  		case 25:
 23208  			if wireType != 2 {
 23209  				return fmt.Errorf("proto: wrong wireType = %d for field OriginCols", wireType)
 23210  			}
 23211  			var msglen int
 23212  			for shift := uint(0); ; shift += 7 {
 23213  				if shift >= 64 {
 23214  					return ErrIntOverflowPlan
 23215  				}
 23216  				if iNdEx >= l {
 23217  					return io.ErrUnexpectedEOF
 23218  				}
 23219  				b := dAtA[iNdEx]
 23220  				iNdEx++
 23221  				msglen |= int(b&0x7F) << shift
 23222  				if b < 0x80 {
 23223  					break
 23224  				}
 23225  			}
 23226  			if msglen < 0 {
 23227  				return ErrInvalidLengthPlan
 23228  			}
 23229  			postIndex := iNdEx + msglen
 23230  			if postIndex < 0 {
 23231  				return ErrInvalidLengthPlan
 23232  			}
 23233  			if postIndex > l {
 23234  				return io.ErrUnexpectedEOF
 23235  			}
 23236  			m.OriginCols = append(m.OriginCols, &ColDef{})
 23237  			if err := m.OriginCols[len(m.OriginCols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23238  				return err
 23239  			}
 23240  			iNdEx = postIndex
 23241  		case 31:
 23242  			if wireType != 2 {
 23243  				return fmt.Errorf("proto: wrong wireType = %d for field Defs", wireType)
 23244  			}
 23245  			var msglen int
 23246  			for shift := uint(0); ; shift += 7 {
 23247  				if shift >= 64 {
 23248  					return ErrIntOverflowPlan
 23249  				}
 23250  				if iNdEx >= l {
 23251  					return io.ErrUnexpectedEOF
 23252  				}
 23253  				b := dAtA[iNdEx]
 23254  				iNdEx++
 23255  				msglen |= int(b&0x7F) << shift
 23256  				if b < 0x80 {
 23257  					break
 23258  				}
 23259  			}
 23260  			if msglen < 0 {
 23261  				return ErrInvalidLengthPlan
 23262  			}
 23263  			postIndex := iNdEx + msglen
 23264  			if postIndex < 0 {
 23265  				return ErrInvalidLengthPlan
 23266  			}
 23267  			if postIndex > l {
 23268  				return io.ErrUnexpectedEOF
 23269  			}
 23270  			m.Defs = append(m.Defs, &TableDef_DefType{})
 23271  			if err := m.Defs[len(m.Defs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23272  				return err
 23273  			}
 23274  			iNdEx = postIndex
 23275  		case 32:
 23276  			if wireType != 2 {
 23277  				return fmt.Errorf("proto: wrong wireType = %d for field Name2ColIndex", wireType)
 23278  			}
 23279  			var msglen int
 23280  			for shift := uint(0); ; shift += 7 {
 23281  				if shift >= 64 {
 23282  					return ErrIntOverflowPlan
 23283  				}
 23284  				if iNdEx >= l {
 23285  					return io.ErrUnexpectedEOF
 23286  				}
 23287  				b := dAtA[iNdEx]
 23288  				iNdEx++
 23289  				msglen |= int(b&0x7F) << shift
 23290  				if b < 0x80 {
 23291  					break
 23292  				}
 23293  			}
 23294  			if msglen < 0 {
 23295  				return ErrInvalidLengthPlan
 23296  			}
 23297  			postIndex := iNdEx + msglen
 23298  			if postIndex < 0 {
 23299  				return ErrInvalidLengthPlan
 23300  			}
 23301  			if postIndex > l {
 23302  				return io.ErrUnexpectedEOF
 23303  			}
 23304  			if m.Name2ColIndex == nil {
 23305  				m.Name2ColIndex = make(map[string]int32)
 23306  			}
 23307  			var mapkey string
 23308  			var mapvalue int32
 23309  			for iNdEx < postIndex {
 23310  				entryPreIndex := iNdEx
 23311  				var wire uint64
 23312  				for shift := uint(0); ; shift += 7 {
 23313  					if shift >= 64 {
 23314  						return ErrIntOverflowPlan
 23315  					}
 23316  					if iNdEx >= l {
 23317  						return io.ErrUnexpectedEOF
 23318  					}
 23319  					b := dAtA[iNdEx]
 23320  					iNdEx++
 23321  					wire |= uint64(b&0x7F) << shift
 23322  					if b < 0x80 {
 23323  						break
 23324  					}
 23325  				}
 23326  				fieldNum := int32(wire >> 3)
 23327  				if fieldNum == 1 {
 23328  					var stringLenmapkey uint64
 23329  					for shift := uint(0); ; shift += 7 {
 23330  						if shift >= 64 {
 23331  							return ErrIntOverflowPlan
 23332  						}
 23333  						if iNdEx >= l {
 23334  							return io.ErrUnexpectedEOF
 23335  						}
 23336  						b := dAtA[iNdEx]
 23337  						iNdEx++
 23338  						stringLenmapkey |= uint64(b&0x7F) << shift
 23339  						if b < 0x80 {
 23340  							break
 23341  						}
 23342  					}
 23343  					intStringLenmapkey := int(stringLenmapkey)
 23344  					if intStringLenmapkey < 0 {
 23345  						return ErrInvalidLengthPlan
 23346  					}
 23347  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 23348  					if postStringIndexmapkey < 0 {
 23349  						return ErrInvalidLengthPlan
 23350  					}
 23351  					if postStringIndexmapkey > l {
 23352  						return io.ErrUnexpectedEOF
 23353  					}
 23354  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 23355  					iNdEx = postStringIndexmapkey
 23356  				} else if fieldNum == 2 {
 23357  					for shift := uint(0); ; shift += 7 {
 23358  						if shift >= 64 {
 23359  							return ErrIntOverflowPlan
 23360  						}
 23361  						if iNdEx >= l {
 23362  							return io.ErrUnexpectedEOF
 23363  						}
 23364  						b := dAtA[iNdEx]
 23365  						iNdEx++
 23366  						mapvalue |= int32(b&0x7F) << shift
 23367  						if b < 0x80 {
 23368  							break
 23369  						}
 23370  					}
 23371  				} else {
 23372  					iNdEx = entryPreIndex
 23373  					skippy, err := skipPlan(dAtA[iNdEx:])
 23374  					if err != nil {
 23375  						return err
 23376  					}
 23377  					if (skippy < 0) || (iNdEx+skippy) < 0 {
 23378  						return ErrInvalidLengthPlan
 23379  					}
 23380  					if (iNdEx + skippy) > postIndex {
 23381  						return io.ErrUnexpectedEOF
 23382  					}
 23383  					iNdEx += skippy
 23384  				}
 23385  			}
 23386  			m.Name2ColIndex[mapkey] = mapvalue
 23387  			iNdEx = postIndex
 23388  		case 33:
 23389  			if wireType != 2 {
 23390  				return fmt.Errorf("proto: wrong wireType = %d for field CompositePkey", wireType)
 23391  			}
 23392  			var msglen int
 23393  			for shift := uint(0); ; shift += 7 {
 23394  				if shift >= 64 {
 23395  					return ErrIntOverflowPlan
 23396  				}
 23397  				if iNdEx >= l {
 23398  					return io.ErrUnexpectedEOF
 23399  				}
 23400  				b := dAtA[iNdEx]
 23401  				iNdEx++
 23402  				msglen |= int(b&0x7F) << shift
 23403  				if b < 0x80 {
 23404  					break
 23405  				}
 23406  			}
 23407  			if msglen < 0 {
 23408  				return ErrInvalidLengthPlan
 23409  			}
 23410  			postIndex := iNdEx + msglen
 23411  			if postIndex < 0 {
 23412  				return ErrInvalidLengthPlan
 23413  			}
 23414  			if postIndex > l {
 23415  				return io.ErrUnexpectedEOF
 23416  			}
 23417  			if m.CompositePkey == nil {
 23418  				m.CompositePkey = &ColDef{}
 23419  			}
 23420  			if err := m.CompositePkey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23421  				return err
 23422  			}
 23423  			iNdEx = postIndex
 23424  		default:
 23425  			iNdEx = preIndex
 23426  			skippy, err := skipPlan(dAtA[iNdEx:])
 23427  			if err != nil {
 23428  				return err
 23429  			}
 23430  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 23431  				return ErrInvalidLengthPlan
 23432  			}
 23433  			if (iNdEx + skippy) > l {
 23434  				return io.ErrUnexpectedEOF
 23435  			}
 23436  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 23437  			iNdEx += skippy
 23438  		}
 23439  	}
 23440  
 23441  	if iNdEx > l {
 23442  		return io.ErrUnexpectedEOF
 23443  	}
 23444  	return nil
 23445  }
 23446  func (m *TableDef_DefType) Unmarshal(dAtA []byte) error {
 23447  	l := len(dAtA)
 23448  	iNdEx := 0
 23449  	for iNdEx < l {
 23450  		preIndex := iNdEx
 23451  		var wire uint64
 23452  		for shift := uint(0); ; shift += 7 {
 23453  			if shift >= 64 {
 23454  				return ErrIntOverflowPlan
 23455  			}
 23456  			if iNdEx >= l {
 23457  				return io.ErrUnexpectedEOF
 23458  			}
 23459  			b := dAtA[iNdEx]
 23460  			iNdEx++
 23461  			wire |= uint64(b&0x7F) << shift
 23462  			if b < 0x80 {
 23463  				break
 23464  			}
 23465  		}
 23466  		fieldNum := int32(wire >> 3)
 23467  		wireType := int(wire & 0x7)
 23468  		if wireType == 4 {
 23469  			return fmt.Errorf("proto: DefType: wiretype end group for non-group")
 23470  		}
 23471  		if fieldNum <= 0 {
 23472  			return fmt.Errorf("proto: DefType: illegal tag %d (wire type %d)", fieldNum, wire)
 23473  		}
 23474  		switch fieldNum {
 23475  		case 1:
 23476  			if wireType != 2 {
 23477  				return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType)
 23478  			}
 23479  			var msglen int
 23480  			for shift := uint(0); ; shift += 7 {
 23481  				if shift >= 64 {
 23482  					return ErrIntOverflowPlan
 23483  				}
 23484  				if iNdEx >= l {
 23485  					return io.ErrUnexpectedEOF
 23486  				}
 23487  				b := dAtA[iNdEx]
 23488  				iNdEx++
 23489  				msglen |= int(b&0x7F) << shift
 23490  				if b < 0x80 {
 23491  					break
 23492  				}
 23493  			}
 23494  			if msglen < 0 {
 23495  				return ErrInvalidLengthPlan
 23496  			}
 23497  			postIndex := iNdEx + msglen
 23498  			if postIndex < 0 {
 23499  				return ErrInvalidLengthPlan
 23500  			}
 23501  			if postIndex > l {
 23502  				return io.ErrUnexpectedEOF
 23503  			}
 23504  			v := &PropertiesDef{}
 23505  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23506  				return err
 23507  			}
 23508  			m.Def = &TableDef_DefType_Properties{v}
 23509  			iNdEx = postIndex
 23510  		default:
 23511  			iNdEx = preIndex
 23512  			skippy, err := skipPlan(dAtA[iNdEx:])
 23513  			if err != nil {
 23514  				return err
 23515  			}
 23516  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 23517  				return ErrInvalidLengthPlan
 23518  			}
 23519  			if (iNdEx + skippy) > l {
 23520  				return io.ErrUnexpectedEOF
 23521  			}
 23522  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 23523  			iNdEx += skippy
 23524  		}
 23525  	}
 23526  
 23527  	if iNdEx > l {
 23528  		return io.ErrUnexpectedEOF
 23529  	}
 23530  	return nil
 23531  }
 23532  func (m *TableFunction) Unmarshal(dAtA []byte) error {
 23533  	l := len(dAtA)
 23534  	iNdEx := 0
 23535  	for iNdEx < l {
 23536  		preIndex := iNdEx
 23537  		var wire uint64
 23538  		for shift := uint(0); ; shift += 7 {
 23539  			if shift >= 64 {
 23540  				return ErrIntOverflowPlan
 23541  			}
 23542  			if iNdEx >= l {
 23543  				return io.ErrUnexpectedEOF
 23544  			}
 23545  			b := dAtA[iNdEx]
 23546  			iNdEx++
 23547  			wire |= uint64(b&0x7F) << shift
 23548  			if b < 0x80 {
 23549  				break
 23550  			}
 23551  		}
 23552  		fieldNum := int32(wire >> 3)
 23553  		wireType := int(wire & 0x7)
 23554  		if wireType == 4 {
 23555  			return fmt.Errorf("proto: TableFunction: wiretype end group for non-group")
 23556  		}
 23557  		if fieldNum <= 0 {
 23558  			return fmt.Errorf("proto: TableFunction: illegal tag %d (wire type %d)", fieldNum, wire)
 23559  		}
 23560  		switch fieldNum {
 23561  		case 1:
 23562  			if wireType != 2 {
 23563  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 23564  			}
 23565  			var stringLen uint64
 23566  			for shift := uint(0); ; shift += 7 {
 23567  				if shift >= 64 {
 23568  					return ErrIntOverflowPlan
 23569  				}
 23570  				if iNdEx >= l {
 23571  					return io.ErrUnexpectedEOF
 23572  				}
 23573  				b := dAtA[iNdEx]
 23574  				iNdEx++
 23575  				stringLen |= uint64(b&0x7F) << shift
 23576  				if b < 0x80 {
 23577  					break
 23578  				}
 23579  			}
 23580  			intStringLen := int(stringLen)
 23581  			if intStringLen < 0 {
 23582  				return ErrInvalidLengthPlan
 23583  			}
 23584  			postIndex := iNdEx + intStringLen
 23585  			if postIndex < 0 {
 23586  				return ErrInvalidLengthPlan
 23587  			}
 23588  			if postIndex > l {
 23589  				return io.ErrUnexpectedEOF
 23590  			}
 23591  			m.Name = string(dAtA[iNdEx:postIndex])
 23592  			iNdEx = postIndex
 23593  		case 2:
 23594  			if wireType != 2 {
 23595  				return fmt.Errorf("proto: wrong wireType = %d for field Param", wireType)
 23596  			}
 23597  			var byteLen int
 23598  			for shift := uint(0); ; shift += 7 {
 23599  				if shift >= 64 {
 23600  					return ErrIntOverflowPlan
 23601  				}
 23602  				if iNdEx >= l {
 23603  					return io.ErrUnexpectedEOF
 23604  				}
 23605  				b := dAtA[iNdEx]
 23606  				iNdEx++
 23607  				byteLen |= int(b&0x7F) << shift
 23608  				if b < 0x80 {
 23609  					break
 23610  				}
 23611  			}
 23612  			if byteLen < 0 {
 23613  				return ErrInvalidLengthPlan
 23614  			}
 23615  			postIndex := iNdEx + byteLen
 23616  			if postIndex < 0 {
 23617  				return ErrInvalidLengthPlan
 23618  			}
 23619  			if postIndex > l {
 23620  				return io.ErrUnexpectedEOF
 23621  			}
 23622  			m.Param = append(m.Param[:0], dAtA[iNdEx:postIndex]...)
 23623  			if m.Param == nil {
 23624  				m.Param = []byte{}
 23625  			}
 23626  			iNdEx = postIndex
 23627  		default:
 23628  			iNdEx = preIndex
 23629  			skippy, err := skipPlan(dAtA[iNdEx:])
 23630  			if err != nil {
 23631  				return err
 23632  			}
 23633  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 23634  				return ErrInvalidLengthPlan
 23635  			}
 23636  			if (iNdEx + skippy) > l {
 23637  				return io.ErrUnexpectedEOF
 23638  			}
 23639  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 23640  			iNdEx += skippy
 23641  		}
 23642  	}
 23643  
 23644  	if iNdEx > l {
 23645  		return io.ErrUnexpectedEOF
 23646  	}
 23647  	return nil
 23648  }
 23649  func (m *Stats) Unmarshal(dAtA []byte) error {
 23650  	l := len(dAtA)
 23651  	iNdEx := 0
 23652  	for iNdEx < l {
 23653  		preIndex := iNdEx
 23654  		var wire uint64
 23655  		for shift := uint(0); ; shift += 7 {
 23656  			if shift >= 64 {
 23657  				return ErrIntOverflowPlan
 23658  			}
 23659  			if iNdEx >= l {
 23660  				return io.ErrUnexpectedEOF
 23661  			}
 23662  			b := dAtA[iNdEx]
 23663  			iNdEx++
 23664  			wire |= uint64(b&0x7F) << shift
 23665  			if b < 0x80 {
 23666  				break
 23667  			}
 23668  		}
 23669  		fieldNum := int32(wire >> 3)
 23670  		wireType := int(wire & 0x7)
 23671  		if wireType == 4 {
 23672  			return fmt.Errorf("proto: Stats: wiretype end group for non-group")
 23673  		}
 23674  		if fieldNum <= 0 {
 23675  			return fmt.Errorf("proto: Stats: illegal tag %d (wire type %d)", fieldNum, wire)
 23676  		}
 23677  		switch fieldNum {
 23678  		case 1:
 23679  			if wireType != 0 {
 23680  				return fmt.Errorf("proto: wrong wireType = %d for field BlockNum", wireType)
 23681  			}
 23682  			m.BlockNum = 0
 23683  			for shift := uint(0); ; shift += 7 {
 23684  				if shift >= 64 {
 23685  					return ErrIntOverflowPlan
 23686  				}
 23687  				if iNdEx >= l {
 23688  					return io.ErrUnexpectedEOF
 23689  				}
 23690  				b := dAtA[iNdEx]
 23691  				iNdEx++
 23692  				m.BlockNum |= int32(b&0x7F) << shift
 23693  				if b < 0x80 {
 23694  					break
 23695  				}
 23696  			}
 23697  		case 2:
 23698  			if wireType != 1 {
 23699  				return fmt.Errorf("proto: wrong wireType = %d for field Cost", wireType)
 23700  			}
 23701  			var v uint64
 23702  			if (iNdEx + 8) > l {
 23703  				return io.ErrUnexpectedEOF
 23704  			}
 23705  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
 23706  			iNdEx += 8
 23707  			m.Cost = float64(math.Float64frombits(v))
 23708  		case 3:
 23709  			if wireType != 1 {
 23710  				return fmt.Errorf("proto: wrong wireType = %d for field Outcnt", wireType)
 23711  			}
 23712  			var v uint64
 23713  			if (iNdEx + 8) > l {
 23714  				return io.ErrUnexpectedEOF
 23715  			}
 23716  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
 23717  			iNdEx += 8
 23718  			m.Outcnt = float64(math.Float64frombits(v))
 23719  		case 4:
 23720  			if wireType != 1 {
 23721  				return fmt.Errorf("proto: wrong wireType = %d for field Rowsize", wireType)
 23722  			}
 23723  			var v uint64
 23724  			if (iNdEx + 8) > l {
 23725  				return io.ErrUnexpectedEOF
 23726  			}
 23727  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
 23728  			iNdEx += 8
 23729  			m.Rowsize = float64(math.Float64frombits(v))
 23730  		case 5:
 23731  			if wireType != 1 {
 23732  				return fmt.Errorf("proto: wrong wireType = %d for field HashmapSize", wireType)
 23733  			}
 23734  			var v uint64
 23735  			if (iNdEx + 8) > l {
 23736  				return io.ErrUnexpectedEOF
 23737  			}
 23738  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
 23739  			iNdEx += 8
 23740  			m.HashmapSize = float64(math.Float64frombits(v))
 23741  		case 6:
 23742  			if wireType != 1 {
 23743  				return fmt.Errorf("proto: wrong wireType = %d for field TableCnt", wireType)
 23744  			}
 23745  			var v uint64
 23746  			if (iNdEx + 8) > l {
 23747  				return io.ErrUnexpectedEOF
 23748  			}
 23749  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
 23750  			iNdEx += 8
 23751  			m.TableCnt = float64(math.Float64frombits(v))
 23752  		case 7:
 23753  			if wireType != 1 {
 23754  				return fmt.Errorf("proto: wrong wireType = %d for field Selectivity", wireType)
 23755  			}
 23756  			var v uint64
 23757  			if (iNdEx + 8) > l {
 23758  				return io.ErrUnexpectedEOF
 23759  			}
 23760  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
 23761  			iNdEx += 8
 23762  			m.Selectivity = float64(math.Float64frombits(v))
 23763  		default:
 23764  			iNdEx = preIndex
 23765  			skippy, err := skipPlan(dAtA[iNdEx:])
 23766  			if err != nil {
 23767  				return err
 23768  			}
 23769  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 23770  				return ErrInvalidLengthPlan
 23771  			}
 23772  			if (iNdEx + skippy) > l {
 23773  				return io.ErrUnexpectedEOF
 23774  			}
 23775  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 23776  			iNdEx += skippy
 23777  		}
 23778  	}
 23779  
 23780  	if iNdEx > l {
 23781  		return io.ErrUnexpectedEOF
 23782  	}
 23783  	return nil
 23784  }
 23785  func (m *ColData) Unmarshal(dAtA []byte) error {
 23786  	l := len(dAtA)
 23787  	iNdEx := 0
 23788  	for iNdEx < l {
 23789  		preIndex := iNdEx
 23790  		var wire uint64
 23791  		for shift := uint(0); ; shift += 7 {
 23792  			if shift >= 64 {
 23793  				return ErrIntOverflowPlan
 23794  			}
 23795  			if iNdEx >= l {
 23796  				return io.ErrUnexpectedEOF
 23797  			}
 23798  			b := dAtA[iNdEx]
 23799  			iNdEx++
 23800  			wire |= uint64(b&0x7F) << shift
 23801  			if b < 0x80 {
 23802  				break
 23803  			}
 23804  		}
 23805  		fieldNum := int32(wire >> 3)
 23806  		wireType := int(wire & 0x7)
 23807  		if wireType == 4 {
 23808  			return fmt.Errorf("proto: ColData: wiretype end group for non-group")
 23809  		}
 23810  		if fieldNum <= 0 {
 23811  			return fmt.Errorf("proto: ColData: illegal tag %d (wire type %d)", fieldNum, wire)
 23812  		}
 23813  		switch fieldNum {
 23814  		case 1:
 23815  			if wireType != 2 {
 23816  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 23817  			}
 23818  			var msglen int
 23819  			for shift := uint(0); ; shift += 7 {
 23820  				if shift >= 64 {
 23821  					return ErrIntOverflowPlan
 23822  				}
 23823  				if iNdEx >= l {
 23824  					return io.ErrUnexpectedEOF
 23825  				}
 23826  				b := dAtA[iNdEx]
 23827  				iNdEx++
 23828  				msglen |= int(b&0x7F) << shift
 23829  				if b < 0x80 {
 23830  					break
 23831  				}
 23832  			}
 23833  			if msglen < 0 {
 23834  				return ErrInvalidLengthPlan
 23835  			}
 23836  			postIndex := iNdEx + msglen
 23837  			if postIndex < 0 {
 23838  				return ErrInvalidLengthPlan
 23839  			}
 23840  			if postIndex > l {
 23841  				return io.ErrUnexpectedEOF
 23842  			}
 23843  			m.Data = append(m.Data, &Expr{})
 23844  			if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23845  				return err
 23846  			}
 23847  			iNdEx = postIndex
 23848  		default:
 23849  			iNdEx = preIndex
 23850  			skippy, err := skipPlan(dAtA[iNdEx:])
 23851  			if err != nil {
 23852  				return err
 23853  			}
 23854  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 23855  				return ErrInvalidLengthPlan
 23856  			}
 23857  			if (iNdEx + skippy) > l {
 23858  				return io.ErrUnexpectedEOF
 23859  			}
 23860  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 23861  			iNdEx += skippy
 23862  		}
 23863  	}
 23864  
 23865  	if iNdEx > l {
 23866  		return io.ErrUnexpectedEOF
 23867  	}
 23868  	return nil
 23869  }
 23870  func (m *RowsetData) Unmarshal(dAtA []byte) error {
 23871  	l := len(dAtA)
 23872  	iNdEx := 0
 23873  	for iNdEx < l {
 23874  		preIndex := iNdEx
 23875  		var wire uint64
 23876  		for shift := uint(0); ; shift += 7 {
 23877  			if shift >= 64 {
 23878  				return ErrIntOverflowPlan
 23879  			}
 23880  			if iNdEx >= l {
 23881  				return io.ErrUnexpectedEOF
 23882  			}
 23883  			b := dAtA[iNdEx]
 23884  			iNdEx++
 23885  			wire |= uint64(b&0x7F) << shift
 23886  			if b < 0x80 {
 23887  				break
 23888  			}
 23889  		}
 23890  		fieldNum := int32(wire >> 3)
 23891  		wireType := int(wire & 0x7)
 23892  		if wireType == 4 {
 23893  			return fmt.Errorf("proto: RowsetData: wiretype end group for non-group")
 23894  		}
 23895  		if fieldNum <= 0 {
 23896  			return fmt.Errorf("proto: RowsetData: illegal tag %d (wire type %d)", fieldNum, wire)
 23897  		}
 23898  		switch fieldNum {
 23899  		case 1:
 23900  			if wireType != 2 {
 23901  				return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType)
 23902  			}
 23903  			var msglen int
 23904  			for shift := uint(0); ; shift += 7 {
 23905  				if shift >= 64 {
 23906  					return ErrIntOverflowPlan
 23907  				}
 23908  				if iNdEx >= l {
 23909  					return io.ErrUnexpectedEOF
 23910  				}
 23911  				b := dAtA[iNdEx]
 23912  				iNdEx++
 23913  				msglen |= int(b&0x7F) << shift
 23914  				if b < 0x80 {
 23915  					break
 23916  				}
 23917  			}
 23918  			if msglen < 0 {
 23919  				return ErrInvalidLengthPlan
 23920  			}
 23921  			postIndex := iNdEx + msglen
 23922  			if postIndex < 0 {
 23923  				return ErrInvalidLengthPlan
 23924  			}
 23925  			if postIndex > l {
 23926  				return io.ErrUnexpectedEOF
 23927  			}
 23928  			m.Cols = append(m.Cols, &ColData{})
 23929  			if err := m.Cols[len(m.Cols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 23930  				return err
 23931  			}
 23932  			iNdEx = postIndex
 23933  		default:
 23934  			iNdEx = preIndex
 23935  			skippy, err := skipPlan(dAtA[iNdEx:])
 23936  			if err != nil {
 23937  				return err
 23938  			}
 23939  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 23940  				return ErrInvalidLengthPlan
 23941  			}
 23942  			if (iNdEx + skippy) > l {
 23943  				return io.ErrUnexpectedEOF
 23944  			}
 23945  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 23946  			iNdEx += skippy
 23947  		}
 23948  	}
 23949  
 23950  	if iNdEx > l {
 23951  		return io.ErrUnexpectedEOF
 23952  	}
 23953  	return nil
 23954  }
 23955  func (m *OrderBySpec) Unmarshal(dAtA []byte) error {
 23956  	l := len(dAtA)
 23957  	iNdEx := 0
 23958  	for iNdEx < l {
 23959  		preIndex := iNdEx
 23960  		var wire uint64
 23961  		for shift := uint(0); ; shift += 7 {
 23962  			if shift >= 64 {
 23963  				return ErrIntOverflowPlan
 23964  			}
 23965  			if iNdEx >= l {
 23966  				return io.ErrUnexpectedEOF
 23967  			}
 23968  			b := dAtA[iNdEx]
 23969  			iNdEx++
 23970  			wire |= uint64(b&0x7F) << shift
 23971  			if b < 0x80 {
 23972  				break
 23973  			}
 23974  		}
 23975  		fieldNum := int32(wire >> 3)
 23976  		wireType := int(wire & 0x7)
 23977  		if wireType == 4 {
 23978  			return fmt.Errorf("proto: OrderBySpec: wiretype end group for non-group")
 23979  		}
 23980  		if fieldNum <= 0 {
 23981  			return fmt.Errorf("proto: OrderBySpec: illegal tag %d (wire type %d)", fieldNum, wire)
 23982  		}
 23983  		switch fieldNum {
 23984  		case 1:
 23985  			if wireType != 2 {
 23986  				return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType)
 23987  			}
 23988  			var msglen int
 23989  			for shift := uint(0); ; shift += 7 {
 23990  				if shift >= 64 {
 23991  					return ErrIntOverflowPlan
 23992  				}
 23993  				if iNdEx >= l {
 23994  					return io.ErrUnexpectedEOF
 23995  				}
 23996  				b := dAtA[iNdEx]
 23997  				iNdEx++
 23998  				msglen |= int(b&0x7F) << shift
 23999  				if b < 0x80 {
 24000  					break
 24001  				}
 24002  			}
 24003  			if msglen < 0 {
 24004  				return ErrInvalidLengthPlan
 24005  			}
 24006  			postIndex := iNdEx + msglen
 24007  			if postIndex < 0 {
 24008  				return ErrInvalidLengthPlan
 24009  			}
 24010  			if postIndex > l {
 24011  				return io.ErrUnexpectedEOF
 24012  			}
 24013  			if m.Expr == nil {
 24014  				m.Expr = &Expr{}
 24015  			}
 24016  			if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24017  				return err
 24018  			}
 24019  			iNdEx = postIndex
 24020  		case 2:
 24021  			if wireType != 2 {
 24022  				return fmt.Errorf("proto: wrong wireType = %d for field Collation", wireType)
 24023  			}
 24024  			var stringLen uint64
 24025  			for shift := uint(0); ; shift += 7 {
 24026  				if shift >= 64 {
 24027  					return ErrIntOverflowPlan
 24028  				}
 24029  				if iNdEx >= l {
 24030  					return io.ErrUnexpectedEOF
 24031  				}
 24032  				b := dAtA[iNdEx]
 24033  				iNdEx++
 24034  				stringLen |= uint64(b&0x7F) << shift
 24035  				if b < 0x80 {
 24036  					break
 24037  				}
 24038  			}
 24039  			intStringLen := int(stringLen)
 24040  			if intStringLen < 0 {
 24041  				return ErrInvalidLengthPlan
 24042  			}
 24043  			postIndex := iNdEx + intStringLen
 24044  			if postIndex < 0 {
 24045  				return ErrInvalidLengthPlan
 24046  			}
 24047  			if postIndex > l {
 24048  				return io.ErrUnexpectedEOF
 24049  			}
 24050  			m.Collation = string(dAtA[iNdEx:postIndex])
 24051  			iNdEx = postIndex
 24052  		case 3:
 24053  			if wireType != 0 {
 24054  				return fmt.Errorf("proto: wrong wireType = %d for field Flag", wireType)
 24055  			}
 24056  			m.Flag = 0
 24057  			for shift := uint(0); ; shift += 7 {
 24058  				if shift >= 64 {
 24059  					return ErrIntOverflowPlan
 24060  				}
 24061  				if iNdEx >= l {
 24062  					return io.ErrUnexpectedEOF
 24063  				}
 24064  				b := dAtA[iNdEx]
 24065  				iNdEx++
 24066  				m.Flag |= OrderBySpec_OrderByFlag(b&0x7F) << shift
 24067  				if b < 0x80 {
 24068  					break
 24069  				}
 24070  			}
 24071  		default:
 24072  			iNdEx = preIndex
 24073  			skippy, err := skipPlan(dAtA[iNdEx:])
 24074  			if err != nil {
 24075  				return err
 24076  			}
 24077  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 24078  				return ErrInvalidLengthPlan
 24079  			}
 24080  			if (iNdEx + skippy) > l {
 24081  				return io.ErrUnexpectedEOF
 24082  			}
 24083  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 24084  			iNdEx += skippy
 24085  		}
 24086  	}
 24087  
 24088  	if iNdEx > l {
 24089  		return io.ErrUnexpectedEOF
 24090  	}
 24091  	return nil
 24092  }
 24093  func (m *WindowSpec) Unmarshal(dAtA []byte) error {
 24094  	l := len(dAtA)
 24095  	iNdEx := 0
 24096  	for iNdEx < l {
 24097  		preIndex := iNdEx
 24098  		var wire uint64
 24099  		for shift := uint(0); ; shift += 7 {
 24100  			if shift >= 64 {
 24101  				return ErrIntOverflowPlan
 24102  			}
 24103  			if iNdEx >= l {
 24104  				return io.ErrUnexpectedEOF
 24105  			}
 24106  			b := dAtA[iNdEx]
 24107  			iNdEx++
 24108  			wire |= uint64(b&0x7F) << shift
 24109  			if b < 0x80 {
 24110  				break
 24111  			}
 24112  		}
 24113  		fieldNum := int32(wire >> 3)
 24114  		wireType := int(wire & 0x7)
 24115  		if wireType == 4 {
 24116  			return fmt.Errorf("proto: WindowSpec: wiretype end group for non-group")
 24117  		}
 24118  		if fieldNum <= 0 {
 24119  			return fmt.Errorf("proto: WindowSpec: illegal tag %d (wire type %d)", fieldNum, wire)
 24120  		}
 24121  		switch fieldNum {
 24122  		case 1:
 24123  			if wireType != 2 {
 24124  				return fmt.Errorf("proto: wrong wireType = %d for field PartitionBy", wireType)
 24125  			}
 24126  			var msglen int
 24127  			for shift := uint(0); ; shift += 7 {
 24128  				if shift >= 64 {
 24129  					return ErrIntOverflowPlan
 24130  				}
 24131  				if iNdEx >= l {
 24132  					return io.ErrUnexpectedEOF
 24133  				}
 24134  				b := dAtA[iNdEx]
 24135  				iNdEx++
 24136  				msglen |= int(b&0x7F) << shift
 24137  				if b < 0x80 {
 24138  					break
 24139  				}
 24140  			}
 24141  			if msglen < 0 {
 24142  				return ErrInvalidLengthPlan
 24143  			}
 24144  			postIndex := iNdEx + msglen
 24145  			if postIndex < 0 {
 24146  				return ErrInvalidLengthPlan
 24147  			}
 24148  			if postIndex > l {
 24149  				return io.ErrUnexpectedEOF
 24150  			}
 24151  			m.PartitionBy = append(m.PartitionBy, &Expr{})
 24152  			if err := m.PartitionBy[len(m.PartitionBy)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24153  				return err
 24154  			}
 24155  			iNdEx = postIndex
 24156  		case 2:
 24157  			if wireType != 2 {
 24158  				return fmt.Errorf("proto: wrong wireType = %d for field OrderBy", wireType)
 24159  			}
 24160  			var msglen int
 24161  			for shift := uint(0); ; shift += 7 {
 24162  				if shift >= 64 {
 24163  					return ErrIntOverflowPlan
 24164  				}
 24165  				if iNdEx >= l {
 24166  					return io.ErrUnexpectedEOF
 24167  				}
 24168  				b := dAtA[iNdEx]
 24169  				iNdEx++
 24170  				msglen |= int(b&0x7F) << shift
 24171  				if b < 0x80 {
 24172  					break
 24173  				}
 24174  			}
 24175  			if msglen < 0 {
 24176  				return ErrInvalidLengthPlan
 24177  			}
 24178  			postIndex := iNdEx + msglen
 24179  			if postIndex < 0 {
 24180  				return ErrInvalidLengthPlan
 24181  			}
 24182  			if postIndex > l {
 24183  				return io.ErrUnexpectedEOF
 24184  			}
 24185  			m.OrderBy = append(m.OrderBy, &OrderBySpec{})
 24186  			if err := m.OrderBy[len(m.OrderBy)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24187  				return err
 24188  			}
 24189  			iNdEx = postIndex
 24190  		case 3:
 24191  			if wireType != 0 {
 24192  				return fmt.Errorf("proto: wrong wireType = %d for field Lead", wireType)
 24193  			}
 24194  			m.Lead = 0
 24195  			for shift := uint(0); ; shift += 7 {
 24196  				if shift >= 64 {
 24197  					return ErrIntOverflowPlan
 24198  				}
 24199  				if iNdEx >= l {
 24200  					return io.ErrUnexpectedEOF
 24201  				}
 24202  				b := dAtA[iNdEx]
 24203  				iNdEx++
 24204  				m.Lead |= int32(b&0x7F) << shift
 24205  				if b < 0x80 {
 24206  					break
 24207  				}
 24208  			}
 24209  		case 4:
 24210  			if wireType != 0 {
 24211  				return fmt.Errorf("proto: wrong wireType = %d for field Lag", wireType)
 24212  			}
 24213  			m.Lag = 0
 24214  			for shift := uint(0); ; shift += 7 {
 24215  				if shift >= 64 {
 24216  					return ErrIntOverflowPlan
 24217  				}
 24218  				if iNdEx >= l {
 24219  					return io.ErrUnexpectedEOF
 24220  				}
 24221  				b := dAtA[iNdEx]
 24222  				iNdEx++
 24223  				m.Lag |= int32(b&0x7F) << shift
 24224  				if b < 0x80 {
 24225  					break
 24226  				}
 24227  			}
 24228  		default:
 24229  			iNdEx = preIndex
 24230  			skippy, err := skipPlan(dAtA[iNdEx:])
 24231  			if err != nil {
 24232  				return err
 24233  			}
 24234  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 24235  				return ErrInvalidLengthPlan
 24236  			}
 24237  			if (iNdEx + skippy) > l {
 24238  				return io.ErrUnexpectedEOF
 24239  			}
 24240  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 24241  			iNdEx += skippy
 24242  		}
 24243  	}
 24244  
 24245  	if iNdEx > l {
 24246  		return io.ErrUnexpectedEOF
 24247  	}
 24248  	return nil
 24249  }
 24250  func (m *InsertCtx) Unmarshal(dAtA []byte) error {
 24251  	l := len(dAtA)
 24252  	iNdEx := 0
 24253  	for iNdEx < l {
 24254  		preIndex := iNdEx
 24255  		var wire uint64
 24256  		for shift := uint(0); ; shift += 7 {
 24257  			if shift >= 64 {
 24258  				return ErrIntOverflowPlan
 24259  			}
 24260  			if iNdEx >= l {
 24261  				return io.ErrUnexpectedEOF
 24262  			}
 24263  			b := dAtA[iNdEx]
 24264  			iNdEx++
 24265  			wire |= uint64(b&0x7F) << shift
 24266  			if b < 0x80 {
 24267  				break
 24268  			}
 24269  		}
 24270  		fieldNum := int32(wire >> 3)
 24271  		wireType := int(wire & 0x7)
 24272  		if wireType == 4 {
 24273  			return fmt.Errorf("proto: InsertCtx: wiretype end group for non-group")
 24274  		}
 24275  		if fieldNum <= 0 {
 24276  			return fmt.Errorf("proto: InsertCtx: illegal tag %d (wire type %d)", fieldNum, wire)
 24277  		}
 24278  		switch fieldNum {
 24279  		case 1:
 24280  			if wireType != 2 {
 24281  				return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType)
 24282  			}
 24283  			var msglen int
 24284  			for shift := uint(0); ; shift += 7 {
 24285  				if shift >= 64 {
 24286  					return ErrIntOverflowPlan
 24287  				}
 24288  				if iNdEx >= l {
 24289  					return io.ErrUnexpectedEOF
 24290  				}
 24291  				b := dAtA[iNdEx]
 24292  				iNdEx++
 24293  				msglen |= int(b&0x7F) << shift
 24294  				if b < 0x80 {
 24295  					break
 24296  				}
 24297  			}
 24298  			if msglen < 0 {
 24299  				return ErrInvalidLengthPlan
 24300  			}
 24301  			postIndex := iNdEx + msglen
 24302  			if postIndex < 0 {
 24303  				return ErrInvalidLengthPlan
 24304  			}
 24305  			if postIndex > l {
 24306  				return io.ErrUnexpectedEOF
 24307  			}
 24308  			if m.Ref == nil {
 24309  				m.Ref = &ObjectRef{}
 24310  			}
 24311  			if err := m.Ref.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24312  				return err
 24313  			}
 24314  			iNdEx = postIndex
 24315  		case 2:
 24316  			if wireType == 0 {
 24317  				var v int32
 24318  				for shift := uint(0); ; shift += 7 {
 24319  					if shift >= 64 {
 24320  						return ErrIntOverflowPlan
 24321  					}
 24322  					if iNdEx >= l {
 24323  						return io.ErrUnexpectedEOF
 24324  					}
 24325  					b := dAtA[iNdEx]
 24326  					iNdEx++
 24327  					v |= int32(b&0x7F) << shift
 24328  					if b < 0x80 {
 24329  						break
 24330  					}
 24331  				}
 24332  				m.Idx = append(m.Idx, v)
 24333  			} else if wireType == 2 {
 24334  				var packedLen int
 24335  				for shift := uint(0); ; shift += 7 {
 24336  					if shift >= 64 {
 24337  						return ErrIntOverflowPlan
 24338  					}
 24339  					if iNdEx >= l {
 24340  						return io.ErrUnexpectedEOF
 24341  					}
 24342  					b := dAtA[iNdEx]
 24343  					iNdEx++
 24344  					packedLen |= int(b&0x7F) << shift
 24345  					if b < 0x80 {
 24346  						break
 24347  					}
 24348  				}
 24349  				if packedLen < 0 {
 24350  					return ErrInvalidLengthPlan
 24351  				}
 24352  				postIndex := iNdEx + packedLen
 24353  				if postIndex < 0 {
 24354  					return ErrInvalidLengthPlan
 24355  				}
 24356  				if postIndex > l {
 24357  					return io.ErrUnexpectedEOF
 24358  				}
 24359  				var elementCount int
 24360  				var count int
 24361  				for _, integer := range dAtA[iNdEx:postIndex] {
 24362  					if integer < 128 {
 24363  						count++
 24364  					}
 24365  				}
 24366  				elementCount = count
 24367  				if elementCount != 0 && len(m.Idx) == 0 {
 24368  					m.Idx = make([]int32, 0, elementCount)
 24369  				}
 24370  				for iNdEx < postIndex {
 24371  					var v int32
 24372  					for shift := uint(0); ; shift += 7 {
 24373  						if shift >= 64 {
 24374  							return ErrIntOverflowPlan
 24375  						}
 24376  						if iNdEx >= l {
 24377  							return io.ErrUnexpectedEOF
 24378  						}
 24379  						b := dAtA[iNdEx]
 24380  						iNdEx++
 24381  						v |= int32(b&0x7F) << shift
 24382  						if b < 0x80 {
 24383  							break
 24384  						}
 24385  					}
 24386  					m.Idx = append(m.Idx, v)
 24387  				}
 24388  			} else {
 24389  				return fmt.Errorf("proto: wrong wireType = %d for field Idx", wireType)
 24390  			}
 24391  		case 3:
 24392  			if wireType != 2 {
 24393  				return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType)
 24394  			}
 24395  			var msglen int
 24396  			for shift := uint(0); ; shift += 7 {
 24397  				if shift >= 64 {
 24398  					return ErrIntOverflowPlan
 24399  				}
 24400  				if iNdEx >= l {
 24401  					return io.ErrUnexpectedEOF
 24402  				}
 24403  				b := dAtA[iNdEx]
 24404  				iNdEx++
 24405  				msglen |= int(b&0x7F) << shift
 24406  				if b < 0x80 {
 24407  					break
 24408  				}
 24409  			}
 24410  			if msglen < 0 {
 24411  				return ErrInvalidLengthPlan
 24412  			}
 24413  			postIndex := iNdEx + msglen
 24414  			if postIndex < 0 {
 24415  				return ErrInvalidLengthPlan
 24416  			}
 24417  			if postIndex > l {
 24418  				return io.ErrUnexpectedEOF
 24419  			}
 24420  			if m.TableDef == nil {
 24421  				m.TableDef = &TableDef{}
 24422  			}
 24423  			if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24424  				return err
 24425  			}
 24426  			iNdEx = postIndex
 24427  		case 4:
 24428  			if wireType != 2 {
 24429  				return fmt.Errorf("proto: wrong wireType = %d for field ParentIdx", wireType)
 24430  			}
 24431  			var msglen int
 24432  			for shift := uint(0); ; shift += 7 {
 24433  				if shift >= 64 {
 24434  					return ErrIntOverflowPlan
 24435  				}
 24436  				if iNdEx >= l {
 24437  					return io.ErrUnexpectedEOF
 24438  				}
 24439  				b := dAtA[iNdEx]
 24440  				iNdEx++
 24441  				msglen |= int(b&0x7F) << shift
 24442  				if b < 0x80 {
 24443  					break
 24444  				}
 24445  			}
 24446  			if msglen < 0 {
 24447  				return ErrInvalidLengthPlan
 24448  			}
 24449  			postIndex := iNdEx + msglen
 24450  			if postIndex < 0 {
 24451  				return ErrInvalidLengthPlan
 24452  			}
 24453  			if postIndex > l {
 24454  				return io.ErrUnexpectedEOF
 24455  			}
 24456  			if m.ParentIdx == nil {
 24457  				m.ParentIdx = make(map[string]int32)
 24458  			}
 24459  			var mapkey string
 24460  			var mapvalue int32
 24461  			for iNdEx < postIndex {
 24462  				entryPreIndex := iNdEx
 24463  				var wire uint64
 24464  				for shift := uint(0); ; shift += 7 {
 24465  					if shift >= 64 {
 24466  						return ErrIntOverflowPlan
 24467  					}
 24468  					if iNdEx >= l {
 24469  						return io.ErrUnexpectedEOF
 24470  					}
 24471  					b := dAtA[iNdEx]
 24472  					iNdEx++
 24473  					wire |= uint64(b&0x7F) << shift
 24474  					if b < 0x80 {
 24475  						break
 24476  					}
 24477  				}
 24478  				fieldNum := int32(wire >> 3)
 24479  				if fieldNum == 1 {
 24480  					var stringLenmapkey uint64
 24481  					for shift := uint(0); ; shift += 7 {
 24482  						if shift >= 64 {
 24483  							return ErrIntOverflowPlan
 24484  						}
 24485  						if iNdEx >= l {
 24486  							return io.ErrUnexpectedEOF
 24487  						}
 24488  						b := dAtA[iNdEx]
 24489  						iNdEx++
 24490  						stringLenmapkey |= uint64(b&0x7F) << shift
 24491  						if b < 0x80 {
 24492  							break
 24493  						}
 24494  					}
 24495  					intStringLenmapkey := int(stringLenmapkey)
 24496  					if intStringLenmapkey < 0 {
 24497  						return ErrInvalidLengthPlan
 24498  					}
 24499  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 24500  					if postStringIndexmapkey < 0 {
 24501  						return ErrInvalidLengthPlan
 24502  					}
 24503  					if postStringIndexmapkey > l {
 24504  						return io.ErrUnexpectedEOF
 24505  					}
 24506  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 24507  					iNdEx = postStringIndexmapkey
 24508  				} else if fieldNum == 2 {
 24509  					for shift := uint(0); ; shift += 7 {
 24510  						if shift >= 64 {
 24511  							return ErrIntOverflowPlan
 24512  						}
 24513  						if iNdEx >= l {
 24514  							return io.ErrUnexpectedEOF
 24515  						}
 24516  						b := dAtA[iNdEx]
 24517  						iNdEx++
 24518  						mapvalue |= int32(b&0x7F) << shift
 24519  						if b < 0x80 {
 24520  							break
 24521  						}
 24522  					}
 24523  				} else {
 24524  					iNdEx = entryPreIndex
 24525  					skippy, err := skipPlan(dAtA[iNdEx:])
 24526  					if err != nil {
 24527  						return err
 24528  					}
 24529  					if (skippy < 0) || (iNdEx+skippy) < 0 {
 24530  						return ErrInvalidLengthPlan
 24531  					}
 24532  					if (iNdEx + skippy) > postIndex {
 24533  						return io.ErrUnexpectedEOF
 24534  					}
 24535  					iNdEx += skippy
 24536  				}
 24537  			}
 24538  			m.ParentIdx[mapkey] = mapvalue
 24539  			iNdEx = postIndex
 24540  		case 5:
 24541  			if wireType != 2 {
 24542  				return fmt.Errorf("proto: wrong wireType = %d for field ClusterTable", wireType)
 24543  			}
 24544  			var msglen int
 24545  			for shift := uint(0); ; shift += 7 {
 24546  				if shift >= 64 {
 24547  					return ErrIntOverflowPlan
 24548  				}
 24549  				if iNdEx >= l {
 24550  					return io.ErrUnexpectedEOF
 24551  				}
 24552  				b := dAtA[iNdEx]
 24553  				iNdEx++
 24554  				msglen |= int(b&0x7F) << shift
 24555  				if b < 0x80 {
 24556  					break
 24557  				}
 24558  			}
 24559  			if msglen < 0 {
 24560  				return ErrInvalidLengthPlan
 24561  			}
 24562  			postIndex := iNdEx + msglen
 24563  			if postIndex < 0 {
 24564  				return ErrInvalidLengthPlan
 24565  			}
 24566  			if postIndex > l {
 24567  				return io.ErrUnexpectedEOF
 24568  			}
 24569  			if m.ClusterTable == nil {
 24570  				m.ClusterTable = &ClusterTable{}
 24571  			}
 24572  			if err := m.ClusterTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24573  				return err
 24574  			}
 24575  			iNdEx = postIndex
 24576  		default:
 24577  			iNdEx = preIndex
 24578  			skippy, err := skipPlan(dAtA[iNdEx:])
 24579  			if err != nil {
 24580  				return err
 24581  			}
 24582  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 24583  				return ErrInvalidLengthPlan
 24584  			}
 24585  			if (iNdEx + skippy) > l {
 24586  				return io.ErrUnexpectedEOF
 24587  			}
 24588  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 24589  			iNdEx += skippy
 24590  		}
 24591  	}
 24592  
 24593  	if iNdEx > l {
 24594  		return io.ErrUnexpectedEOF
 24595  	}
 24596  	return nil
 24597  }
 24598  func (m *UpdateCtx) Unmarshal(dAtA []byte) error {
 24599  	l := len(dAtA)
 24600  	iNdEx := 0
 24601  	for iNdEx < l {
 24602  		preIndex := iNdEx
 24603  		var wire uint64
 24604  		for shift := uint(0); ; shift += 7 {
 24605  			if shift >= 64 {
 24606  				return ErrIntOverflowPlan
 24607  			}
 24608  			if iNdEx >= l {
 24609  				return io.ErrUnexpectedEOF
 24610  			}
 24611  			b := dAtA[iNdEx]
 24612  			iNdEx++
 24613  			wire |= uint64(b&0x7F) << shift
 24614  			if b < 0x80 {
 24615  				break
 24616  			}
 24617  		}
 24618  		fieldNum := int32(wire >> 3)
 24619  		wireType := int(wire & 0x7)
 24620  		if wireType == 4 {
 24621  			return fmt.Errorf("proto: UpdateCtx: wiretype end group for non-group")
 24622  		}
 24623  		if fieldNum <= 0 {
 24624  			return fmt.Errorf("proto: UpdateCtx: illegal tag %d (wire type %d)", fieldNum, wire)
 24625  		}
 24626  		switch fieldNum {
 24627  		case 1:
 24628  			if wireType != 2 {
 24629  				return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType)
 24630  			}
 24631  			var msglen int
 24632  			for shift := uint(0); ; shift += 7 {
 24633  				if shift >= 64 {
 24634  					return ErrIntOverflowPlan
 24635  				}
 24636  				if iNdEx >= l {
 24637  					return io.ErrUnexpectedEOF
 24638  				}
 24639  				b := dAtA[iNdEx]
 24640  				iNdEx++
 24641  				msglen |= int(b&0x7F) << shift
 24642  				if b < 0x80 {
 24643  					break
 24644  				}
 24645  			}
 24646  			if msglen < 0 {
 24647  				return ErrInvalidLengthPlan
 24648  			}
 24649  			postIndex := iNdEx + msglen
 24650  			if postIndex < 0 {
 24651  				return ErrInvalidLengthPlan
 24652  			}
 24653  			if postIndex > l {
 24654  				return io.ErrUnexpectedEOF
 24655  			}
 24656  			m.Ref = append(m.Ref, &ObjectRef{})
 24657  			if err := m.Ref[len(m.Ref)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24658  				return err
 24659  			}
 24660  			iNdEx = postIndex
 24661  		case 2:
 24662  			if wireType != 2 {
 24663  				return fmt.Errorf("proto: wrong wireType = %d for field Idx", wireType)
 24664  			}
 24665  			var msglen int
 24666  			for shift := uint(0); ; shift += 7 {
 24667  				if shift >= 64 {
 24668  					return ErrIntOverflowPlan
 24669  				}
 24670  				if iNdEx >= l {
 24671  					return io.ErrUnexpectedEOF
 24672  				}
 24673  				b := dAtA[iNdEx]
 24674  				iNdEx++
 24675  				msglen |= int(b&0x7F) << shift
 24676  				if b < 0x80 {
 24677  					break
 24678  				}
 24679  			}
 24680  			if msglen < 0 {
 24681  				return ErrInvalidLengthPlan
 24682  			}
 24683  			postIndex := iNdEx + msglen
 24684  			if postIndex < 0 {
 24685  				return ErrInvalidLengthPlan
 24686  			}
 24687  			if postIndex > l {
 24688  				return io.ErrUnexpectedEOF
 24689  			}
 24690  			m.Idx = append(m.Idx, &IdList{})
 24691  			if err := m.Idx[len(m.Idx)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24692  				return err
 24693  			}
 24694  			iNdEx = postIndex
 24695  		case 3:
 24696  			if wireType != 2 {
 24697  				return fmt.Errorf("proto: wrong wireType = %d for field TableDefs", wireType)
 24698  			}
 24699  			var msglen int
 24700  			for shift := uint(0); ; shift += 7 {
 24701  				if shift >= 64 {
 24702  					return ErrIntOverflowPlan
 24703  				}
 24704  				if iNdEx >= l {
 24705  					return io.ErrUnexpectedEOF
 24706  				}
 24707  				b := dAtA[iNdEx]
 24708  				iNdEx++
 24709  				msglen |= int(b&0x7F) << shift
 24710  				if b < 0x80 {
 24711  					break
 24712  				}
 24713  			}
 24714  			if msglen < 0 {
 24715  				return ErrInvalidLengthPlan
 24716  			}
 24717  			postIndex := iNdEx + msglen
 24718  			if postIndex < 0 {
 24719  				return ErrInvalidLengthPlan
 24720  			}
 24721  			if postIndex > l {
 24722  				return io.ErrUnexpectedEOF
 24723  			}
 24724  			m.TableDefs = append(m.TableDefs, &TableDef{})
 24725  			if err := m.TableDefs[len(m.TableDefs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24726  				return err
 24727  			}
 24728  			iNdEx = postIndex
 24729  		case 4:
 24730  			if wireType != 2 {
 24731  				return fmt.Errorf("proto: wrong wireType = %d for field UpdateCol", wireType)
 24732  			}
 24733  			var msglen int
 24734  			for shift := uint(0); ; shift += 7 {
 24735  				if shift >= 64 {
 24736  					return ErrIntOverflowPlan
 24737  				}
 24738  				if iNdEx >= l {
 24739  					return io.ErrUnexpectedEOF
 24740  				}
 24741  				b := dAtA[iNdEx]
 24742  				iNdEx++
 24743  				msglen |= int(b&0x7F) << shift
 24744  				if b < 0x80 {
 24745  					break
 24746  				}
 24747  			}
 24748  			if msglen < 0 {
 24749  				return ErrInvalidLengthPlan
 24750  			}
 24751  			postIndex := iNdEx + msglen
 24752  			if postIndex < 0 {
 24753  				return ErrInvalidLengthPlan
 24754  			}
 24755  			if postIndex > l {
 24756  				return io.ErrUnexpectedEOF
 24757  			}
 24758  			m.UpdateCol = append(m.UpdateCol, &ColPosMap{})
 24759  			if err := m.UpdateCol[len(m.UpdateCol)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24760  				return err
 24761  			}
 24762  			iNdEx = postIndex
 24763  		case 5:
 24764  			if wireType != 2 {
 24765  				return fmt.Errorf("proto: wrong wireType = %d for field IdxRef", wireType)
 24766  			}
 24767  			var msglen int
 24768  			for shift := uint(0); ; shift += 7 {
 24769  				if shift >= 64 {
 24770  					return ErrIntOverflowPlan
 24771  				}
 24772  				if iNdEx >= l {
 24773  					return io.ErrUnexpectedEOF
 24774  				}
 24775  				b := dAtA[iNdEx]
 24776  				iNdEx++
 24777  				msglen |= int(b&0x7F) << shift
 24778  				if b < 0x80 {
 24779  					break
 24780  				}
 24781  			}
 24782  			if msglen < 0 {
 24783  				return ErrInvalidLengthPlan
 24784  			}
 24785  			postIndex := iNdEx + msglen
 24786  			if postIndex < 0 {
 24787  				return ErrInvalidLengthPlan
 24788  			}
 24789  			if postIndex > l {
 24790  				return io.ErrUnexpectedEOF
 24791  			}
 24792  			m.IdxRef = append(m.IdxRef, &ObjectRef{})
 24793  			if err := m.IdxRef[len(m.IdxRef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24794  				return err
 24795  			}
 24796  			iNdEx = postIndex
 24797  		case 6:
 24798  			if wireType == 0 {
 24799  				var v int32
 24800  				for shift := uint(0); ; shift += 7 {
 24801  					if shift >= 64 {
 24802  						return ErrIntOverflowPlan
 24803  					}
 24804  					if iNdEx >= l {
 24805  						return io.ErrUnexpectedEOF
 24806  					}
 24807  					b := dAtA[iNdEx]
 24808  					iNdEx++
 24809  					v |= int32(b&0x7F) << shift
 24810  					if b < 0x80 {
 24811  						break
 24812  					}
 24813  				}
 24814  				m.IdxIdx = append(m.IdxIdx, v)
 24815  			} else if wireType == 2 {
 24816  				var packedLen int
 24817  				for shift := uint(0); ; shift += 7 {
 24818  					if shift >= 64 {
 24819  						return ErrIntOverflowPlan
 24820  					}
 24821  					if iNdEx >= l {
 24822  						return io.ErrUnexpectedEOF
 24823  					}
 24824  					b := dAtA[iNdEx]
 24825  					iNdEx++
 24826  					packedLen |= int(b&0x7F) << shift
 24827  					if b < 0x80 {
 24828  						break
 24829  					}
 24830  				}
 24831  				if packedLen < 0 {
 24832  					return ErrInvalidLengthPlan
 24833  				}
 24834  				postIndex := iNdEx + packedLen
 24835  				if postIndex < 0 {
 24836  					return ErrInvalidLengthPlan
 24837  				}
 24838  				if postIndex > l {
 24839  					return io.ErrUnexpectedEOF
 24840  				}
 24841  				var elementCount int
 24842  				var count int
 24843  				for _, integer := range dAtA[iNdEx:postIndex] {
 24844  					if integer < 128 {
 24845  						count++
 24846  					}
 24847  				}
 24848  				elementCount = count
 24849  				if elementCount != 0 && len(m.IdxIdx) == 0 {
 24850  					m.IdxIdx = make([]int32, 0, elementCount)
 24851  				}
 24852  				for iNdEx < postIndex {
 24853  					var v int32
 24854  					for shift := uint(0); ; shift += 7 {
 24855  						if shift >= 64 {
 24856  							return ErrIntOverflowPlan
 24857  						}
 24858  						if iNdEx >= l {
 24859  							return io.ErrUnexpectedEOF
 24860  						}
 24861  						b := dAtA[iNdEx]
 24862  						iNdEx++
 24863  						v |= int32(b&0x7F) << shift
 24864  						if b < 0x80 {
 24865  							break
 24866  						}
 24867  					}
 24868  					m.IdxIdx = append(m.IdxIdx, v)
 24869  				}
 24870  			} else {
 24871  				return fmt.Errorf("proto: wrong wireType = %d for field IdxIdx", wireType)
 24872  			}
 24873  		case 7:
 24874  			if wireType != 2 {
 24875  				return fmt.Errorf("proto: wrong wireType = %d for field OnRestrictRef", wireType)
 24876  			}
 24877  			var msglen int
 24878  			for shift := uint(0); ; shift += 7 {
 24879  				if shift >= 64 {
 24880  					return ErrIntOverflowPlan
 24881  				}
 24882  				if iNdEx >= l {
 24883  					return io.ErrUnexpectedEOF
 24884  				}
 24885  				b := dAtA[iNdEx]
 24886  				iNdEx++
 24887  				msglen |= int(b&0x7F) << shift
 24888  				if b < 0x80 {
 24889  					break
 24890  				}
 24891  			}
 24892  			if msglen < 0 {
 24893  				return ErrInvalidLengthPlan
 24894  			}
 24895  			postIndex := iNdEx + msglen
 24896  			if postIndex < 0 {
 24897  				return ErrInvalidLengthPlan
 24898  			}
 24899  			if postIndex > l {
 24900  				return io.ErrUnexpectedEOF
 24901  			}
 24902  			m.OnRestrictRef = append(m.OnRestrictRef, &ObjectRef{})
 24903  			if err := m.OnRestrictRef[len(m.OnRestrictRef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 24904  				return err
 24905  			}
 24906  			iNdEx = postIndex
 24907  		case 8:
 24908  			if wireType == 0 {
 24909  				var v int32
 24910  				for shift := uint(0); ; shift += 7 {
 24911  					if shift >= 64 {
 24912  						return ErrIntOverflowPlan
 24913  					}
 24914  					if iNdEx >= l {
 24915  						return io.ErrUnexpectedEOF
 24916  					}
 24917  					b := dAtA[iNdEx]
 24918  					iNdEx++
 24919  					v |= int32(b&0x7F) << shift
 24920  					if b < 0x80 {
 24921  						break
 24922  					}
 24923  				}
 24924  				m.OnRestrictIdx = append(m.OnRestrictIdx, v)
 24925  			} else if wireType == 2 {
 24926  				var packedLen int
 24927  				for shift := uint(0); ; shift += 7 {
 24928  					if shift >= 64 {
 24929  						return ErrIntOverflowPlan
 24930  					}
 24931  					if iNdEx >= l {
 24932  						return io.ErrUnexpectedEOF
 24933  					}
 24934  					b := dAtA[iNdEx]
 24935  					iNdEx++
 24936  					packedLen |= int(b&0x7F) << shift
 24937  					if b < 0x80 {
 24938  						break
 24939  					}
 24940  				}
 24941  				if packedLen < 0 {
 24942  					return ErrInvalidLengthPlan
 24943  				}
 24944  				postIndex := iNdEx + packedLen
 24945  				if postIndex < 0 {
 24946  					return ErrInvalidLengthPlan
 24947  				}
 24948  				if postIndex > l {
 24949  					return io.ErrUnexpectedEOF
 24950  				}
 24951  				var elementCount int
 24952  				var count int
 24953  				for _, integer := range dAtA[iNdEx:postIndex] {
 24954  					if integer < 128 {
 24955  						count++
 24956  					}
 24957  				}
 24958  				elementCount = count
 24959  				if elementCount != 0 && len(m.OnRestrictIdx) == 0 {
 24960  					m.OnRestrictIdx = make([]int32, 0, elementCount)
 24961  				}
 24962  				for iNdEx < postIndex {
 24963  					var v int32
 24964  					for shift := uint(0); ; shift += 7 {
 24965  						if shift >= 64 {
 24966  							return ErrIntOverflowPlan
 24967  						}
 24968  						if iNdEx >= l {
 24969  							return io.ErrUnexpectedEOF
 24970  						}
 24971  						b := dAtA[iNdEx]
 24972  						iNdEx++
 24973  						v |= int32(b&0x7F) << shift
 24974  						if b < 0x80 {
 24975  							break
 24976  						}
 24977  					}
 24978  					m.OnRestrictIdx = append(m.OnRestrictIdx, v)
 24979  				}
 24980  			} else {
 24981  				return fmt.Errorf("proto: wrong wireType = %d for field OnRestrictIdx", wireType)
 24982  			}
 24983  		case 9:
 24984  			if wireType != 2 {
 24985  				return fmt.Errorf("proto: wrong wireType = %d for field OnCascadeRef", wireType)
 24986  			}
 24987  			var msglen int
 24988  			for shift := uint(0); ; shift += 7 {
 24989  				if shift >= 64 {
 24990  					return ErrIntOverflowPlan
 24991  				}
 24992  				if iNdEx >= l {
 24993  					return io.ErrUnexpectedEOF
 24994  				}
 24995  				b := dAtA[iNdEx]
 24996  				iNdEx++
 24997  				msglen |= int(b&0x7F) << shift
 24998  				if b < 0x80 {
 24999  					break
 25000  				}
 25001  			}
 25002  			if msglen < 0 {
 25003  				return ErrInvalidLengthPlan
 25004  			}
 25005  			postIndex := iNdEx + msglen
 25006  			if postIndex < 0 {
 25007  				return ErrInvalidLengthPlan
 25008  			}
 25009  			if postIndex > l {
 25010  				return io.ErrUnexpectedEOF
 25011  			}
 25012  			m.OnCascadeRef = append(m.OnCascadeRef, &ObjectRef{})
 25013  			if err := m.OnCascadeRef[len(m.OnCascadeRef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25014  				return err
 25015  			}
 25016  			iNdEx = postIndex
 25017  		case 10:
 25018  			if wireType != 2 {
 25019  				return fmt.Errorf("proto: wrong wireType = %d for field OnCascadeIdx", wireType)
 25020  			}
 25021  			var msglen int
 25022  			for shift := uint(0); ; shift += 7 {
 25023  				if shift >= 64 {
 25024  					return ErrIntOverflowPlan
 25025  				}
 25026  				if iNdEx >= l {
 25027  					return io.ErrUnexpectedEOF
 25028  				}
 25029  				b := dAtA[iNdEx]
 25030  				iNdEx++
 25031  				msglen |= int(b&0x7F) << shift
 25032  				if b < 0x80 {
 25033  					break
 25034  				}
 25035  			}
 25036  			if msglen < 0 {
 25037  				return ErrInvalidLengthPlan
 25038  			}
 25039  			postIndex := iNdEx + msglen
 25040  			if postIndex < 0 {
 25041  				return ErrInvalidLengthPlan
 25042  			}
 25043  			if postIndex > l {
 25044  				return io.ErrUnexpectedEOF
 25045  			}
 25046  			m.OnCascadeIdx = append(m.OnCascadeIdx, &IdList{})
 25047  			if err := m.OnCascadeIdx[len(m.OnCascadeIdx)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25048  				return err
 25049  			}
 25050  			iNdEx = postIndex
 25051  		case 11:
 25052  			if wireType != 2 {
 25053  				return fmt.Errorf("proto: wrong wireType = %d for field OnCascadeDef", wireType)
 25054  			}
 25055  			var msglen int
 25056  			for shift := uint(0); ; shift += 7 {
 25057  				if shift >= 64 {
 25058  					return ErrIntOverflowPlan
 25059  				}
 25060  				if iNdEx >= l {
 25061  					return io.ErrUnexpectedEOF
 25062  				}
 25063  				b := dAtA[iNdEx]
 25064  				iNdEx++
 25065  				msglen |= int(b&0x7F) << shift
 25066  				if b < 0x80 {
 25067  					break
 25068  				}
 25069  			}
 25070  			if msglen < 0 {
 25071  				return ErrInvalidLengthPlan
 25072  			}
 25073  			postIndex := iNdEx + msglen
 25074  			if postIndex < 0 {
 25075  				return ErrInvalidLengthPlan
 25076  			}
 25077  			if postIndex > l {
 25078  				return io.ErrUnexpectedEOF
 25079  			}
 25080  			m.OnCascadeDef = append(m.OnCascadeDef, &TableDef{})
 25081  			if err := m.OnCascadeDef[len(m.OnCascadeDef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25082  				return err
 25083  			}
 25084  			iNdEx = postIndex
 25085  		case 12:
 25086  			if wireType != 2 {
 25087  				return fmt.Errorf("proto: wrong wireType = %d for field OnCascadeUpdateCol", wireType)
 25088  			}
 25089  			var msglen int
 25090  			for shift := uint(0); ; shift += 7 {
 25091  				if shift >= 64 {
 25092  					return ErrIntOverflowPlan
 25093  				}
 25094  				if iNdEx >= l {
 25095  					return io.ErrUnexpectedEOF
 25096  				}
 25097  				b := dAtA[iNdEx]
 25098  				iNdEx++
 25099  				msglen |= int(b&0x7F) << shift
 25100  				if b < 0x80 {
 25101  					break
 25102  				}
 25103  			}
 25104  			if msglen < 0 {
 25105  				return ErrInvalidLengthPlan
 25106  			}
 25107  			postIndex := iNdEx + msglen
 25108  			if postIndex < 0 {
 25109  				return ErrInvalidLengthPlan
 25110  			}
 25111  			if postIndex > l {
 25112  				return io.ErrUnexpectedEOF
 25113  			}
 25114  			m.OnCascadeUpdateCol = append(m.OnCascadeUpdateCol, &ColPosMap{})
 25115  			if err := m.OnCascadeUpdateCol[len(m.OnCascadeUpdateCol)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25116  				return err
 25117  			}
 25118  			iNdEx = postIndex
 25119  		case 13:
 25120  			if wireType != 2 {
 25121  				return fmt.Errorf("proto: wrong wireType = %d for field OnSetRef", wireType)
 25122  			}
 25123  			var msglen int
 25124  			for shift := uint(0); ; shift += 7 {
 25125  				if shift >= 64 {
 25126  					return ErrIntOverflowPlan
 25127  				}
 25128  				if iNdEx >= l {
 25129  					return io.ErrUnexpectedEOF
 25130  				}
 25131  				b := dAtA[iNdEx]
 25132  				iNdEx++
 25133  				msglen |= int(b&0x7F) << shift
 25134  				if b < 0x80 {
 25135  					break
 25136  				}
 25137  			}
 25138  			if msglen < 0 {
 25139  				return ErrInvalidLengthPlan
 25140  			}
 25141  			postIndex := iNdEx + msglen
 25142  			if postIndex < 0 {
 25143  				return ErrInvalidLengthPlan
 25144  			}
 25145  			if postIndex > l {
 25146  				return io.ErrUnexpectedEOF
 25147  			}
 25148  			m.OnSetRef = append(m.OnSetRef, &ObjectRef{})
 25149  			if err := m.OnSetRef[len(m.OnSetRef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25150  				return err
 25151  			}
 25152  			iNdEx = postIndex
 25153  		case 14:
 25154  			if wireType != 2 {
 25155  				return fmt.Errorf("proto: wrong wireType = %d for field OnSetIdx", wireType)
 25156  			}
 25157  			var msglen int
 25158  			for shift := uint(0); ; shift += 7 {
 25159  				if shift >= 64 {
 25160  					return ErrIntOverflowPlan
 25161  				}
 25162  				if iNdEx >= l {
 25163  					return io.ErrUnexpectedEOF
 25164  				}
 25165  				b := dAtA[iNdEx]
 25166  				iNdEx++
 25167  				msglen |= int(b&0x7F) << shift
 25168  				if b < 0x80 {
 25169  					break
 25170  				}
 25171  			}
 25172  			if msglen < 0 {
 25173  				return ErrInvalidLengthPlan
 25174  			}
 25175  			postIndex := iNdEx + msglen
 25176  			if postIndex < 0 {
 25177  				return ErrInvalidLengthPlan
 25178  			}
 25179  			if postIndex > l {
 25180  				return io.ErrUnexpectedEOF
 25181  			}
 25182  			m.OnSetIdx = append(m.OnSetIdx, &IdList{})
 25183  			if err := m.OnSetIdx[len(m.OnSetIdx)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25184  				return err
 25185  			}
 25186  			iNdEx = postIndex
 25187  		case 15:
 25188  			if wireType != 2 {
 25189  				return fmt.Errorf("proto: wrong wireType = %d for field OnSetDef", wireType)
 25190  			}
 25191  			var msglen int
 25192  			for shift := uint(0); ; shift += 7 {
 25193  				if shift >= 64 {
 25194  					return ErrIntOverflowPlan
 25195  				}
 25196  				if iNdEx >= l {
 25197  					return io.ErrUnexpectedEOF
 25198  				}
 25199  				b := dAtA[iNdEx]
 25200  				iNdEx++
 25201  				msglen |= int(b&0x7F) << shift
 25202  				if b < 0x80 {
 25203  					break
 25204  				}
 25205  			}
 25206  			if msglen < 0 {
 25207  				return ErrInvalidLengthPlan
 25208  			}
 25209  			postIndex := iNdEx + msglen
 25210  			if postIndex < 0 {
 25211  				return ErrInvalidLengthPlan
 25212  			}
 25213  			if postIndex > l {
 25214  				return io.ErrUnexpectedEOF
 25215  			}
 25216  			m.OnSetDef = append(m.OnSetDef, &TableDef{})
 25217  			if err := m.OnSetDef[len(m.OnSetDef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25218  				return err
 25219  			}
 25220  			iNdEx = postIndex
 25221  		case 16:
 25222  			if wireType != 2 {
 25223  				return fmt.Errorf("proto: wrong wireType = %d for field OnSetUpdateCol", wireType)
 25224  			}
 25225  			var msglen int
 25226  			for shift := uint(0); ; shift += 7 {
 25227  				if shift >= 64 {
 25228  					return ErrIntOverflowPlan
 25229  				}
 25230  				if iNdEx >= l {
 25231  					return io.ErrUnexpectedEOF
 25232  				}
 25233  				b := dAtA[iNdEx]
 25234  				iNdEx++
 25235  				msglen |= int(b&0x7F) << shift
 25236  				if b < 0x80 {
 25237  					break
 25238  				}
 25239  			}
 25240  			if msglen < 0 {
 25241  				return ErrInvalidLengthPlan
 25242  			}
 25243  			postIndex := iNdEx + msglen
 25244  			if postIndex < 0 {
 25245  				return ErrInvalidLengthPlan
 25246  			}
 25247  			if postIndex > l {
 25248  				return io.ErrUnexpectedEOF
 25249  			}
 25250  			m.OnSetUpdateCol = append(m.OnSetUpdateCol, &ColPosMap{})
 25251  			if err := m.OnSetUpdateCol[len(m.OnSetUpdateCol)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25252  				return err
 25253  			}
 25254  			iNdEx = postIndex
 25255  		case 17:
 25256  			if wireType != 2 {
 25257  				return fmt.Errorf("proto: wrong wireType = %d for field ParentIdx", wireType)
 25258  			}
 25259  			var msglen int
 25260  			for shift := uint(0); ; shift += 7 {
 25261  				if shift >= 64 {
 25262  					return ErrIntOverflowPlan
 25263  				}
 25264  				if iNdEx >= l {
 25265  					return io.ErrUnexpectedEOF
 25266  				}
 25267  				b := dAtA[iNdEx]
 25268  				iNdEx++
 25269  				msglen |= int(b&0x7F) << shift
 25270  				if b < 0x80 {
 25271  					break
 25272  				}
 25273  			}
 25274  			if msglen < 0 {
 25275  				return ErrInvalidLengthPlan
 25276  			}
 25277  			postIndex := iNdEx + msglen
 25278  			if postIndex < 0 {
 25279  				return ErrInvalidLengthPlan
 25280  			}
 25281  			if postIndex > l {
 25282  				return io.ErrUnexpectedEOF
 25283  			}
 25284  			m.ParentIdx = append(m.ParentIdx, &ColPosMap{})
 25285  			if err := m.ParentIdx[len(m.ParentIdx)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25286  				return err
 25287  			}
 25288  			iNdEx = postIndex
 25289  		default:
 25290  			iNdEx = preIndex
 25291  			skippy, err := skipPlan(dAtA[iNdEx:])
 25292  			if err != nil {
 25293  				return err
 25294  			}
 25295  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 25296  				return ErrInvalidLengthPlan
 25297  			}
 25298  			if (iNdEx + skippy) > l {
 25299  				return io.ErrUnexpectedEOF
 25300  			}
 25301  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 25302  			iNdEx += skippy
 25303  		}
 25304  	}
 25305  
 25306  	if iNdEx > l {
 25307  		return io.ErrUnexpectedEOF
 25308  	}
 25309  	return nil
 25310  }
 25311  func (m *AnalyzeInfo) Unmarshal(dAtA []byte) error {
 25312  	l := len(dAtA)
 25313  	iNdEx := 0
 25314  	for iNdEx < l {
 25315  		preIndex := iNdEx
 25316  		var wire uint64
 25317  		for shift := uint(0); ; shift += 7 {
 25318  			if shift >= 64 {
 25319  				return ErrIntOverflowPlan
 25320  			}
 25321  			if iNdEx >= l {
 25322  				return io.ErrUnexpectedEOF
 25323  			}
 25324  			b := dAtA[iNdEx]
 25325  			iNdEx++
 25326  			wire |= uint64(b&0x7F) << shift
 25327  			if b < 0x80 {
 25328  				break
 25329  			}
 25330  		}
 25331  		fieldNum := int32(wire >> 3)
 25332  		wireType := int(wire & 0x7)
 25333  		if wireType == 4 {
 25334  			return fmt.Errorf("proto: AnalyzeInfo: wiretype end group for non-group")
 25335  		}
 25336  		if fieldNum <= 0 {
 25337  			return fmt.Errorf("proto: AnalyzeInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 25338  		}
 25339  		switch fieldNum {
 25340  		case 1:
 25341  			if wireType != 0 {
 25342  				return fmt.Errorf("proto: wrong wireType = %d for field InputRows", wireType)
 25343  			}
 25344  			m.InputRows = 0
 25345  			for shift := uint(0); ; shift += 7 {
 25346  				if shift >= 64 {
 25347  					return ErrIntOverflowPlan
 25348  				}
 25349  				if iNdEx >= l {
 25350  					return io.ErrUnexpectedEOF
 25351  				}
 25352  				b := dAtA[iNdEx]
 25353  				iNdEx++
 25354  				m.InputRows |= int64(b&0x7F) << shift
 25355  				if b < 0x80 {
 25356  					break
 25357  				}
 25358  			}
 25359  		case 2:
 25360  			if wireType != 0 {
 25361  				return fmt.Errorf("proto: wrong wireType = %d for field OutputRows", wireType)
 25362  			}
 25363  			m.OutputRows = 0
 25364  			for shift := uint(0); ; shift += 7 {
 25365  				if shift >= 64 {
 25366  					return ErrIntOverflowPlan
 25367  				}
 25368  				if iNdEx >= l {
 25369  					return io.ErrUnexpectedEOF
 25370  				}
 25371  				b := dAtA[iNdEx]
 25372  				iNdEx++
 25373  				m.OutputRows |= int64(b&0x7F) << shift
 25374  				if b < 0x80 {
 25375  					break
 25376  				}
 25377  			}
 25378  		case 3:
 25379  			if wireType != 0 {
 25380  				return fmt.Errorf("proto: wrong wireType = %d for field InputSize", wireType)
 25381  			}
 25382  			m.InputSize = 0
 25383  			for shift := uint(0); ; shift += 7 {
 25384  				if shift >= 64 {
 25385  					return ErrIntOverflowPlan
 25386  				}
 25387  				if iNdEx >= l {
 25388  					return io.ErrUnexpectedEOF
 25389  				}
 25390  				b := dAtA[iNdEx]
 25391  				iNdEx++
 25392  				m.InputSize |= int64(b&0x7F) << shift
 25393  				if b < 0x80 {
 25394  					break
 25395  				}
 25396  			}
 25397  		case 4:
 25398  			if wireType != 0 {
 25399  				return fmt.Errorf("proto: wrong wireType = %d for field OutputSize", wireType)
 25400  			}
 25401  			m.OutputSize = 0
 25402  			for shift := uint(0); ; shift += 7 {
 25403  				if shift >= 64 {
 25404  					return ErrIntOverflowPlan
 25405  				}
 25406  				if iNdEx >= l {
 25407  					return io.ErrUnexpectedEOF
 25408  				}
 25409  				b := dAtA[iNdEx]
 25410  				iNdEx++
 25411  				m.OutputSize |= int64(b&0x7F) << shift
 25412  				if b < 0x80 {
 25413  					break
 25414  				}
 25415  			}
 25416  		case 5:
 25417  			if wireType != 0 {
 25418  				return fmt.Errorf("proto: wrong wireType = %d for field TimeConsumed", wireType)
 25419  			}
 25420  			m.TimeConsumed = 0
 25421  			for shift := uint(0); ; shift += 7 {
 25422  				if shift >= 64 {
 25423  					return ErrIntOverflowPlan
 25424  				}
 25425  				if iNdEx >= l {
 25426  					return io.ErrUnexpectedEOF
 25427  				}
 25428  				b := dAtA[iNdEx]
 25429  				iNdEx++
 25430  				m.TimeConsumed |= int64(b&0x7F) << shift
 25431  				if b < 0x80 {
 25432  					break
 25433  				}
 25434  			}
 25435  		case 6:
 25436  			if wireType != 0 {
 25437  				return fmt.Errorf("proto: wrong wireType = %d for field MemorySize", wireType)
 25438  			}
 25439  			m.MemorySize = 0
 25440  			for shift := uint(0); ; shift += 7 {
 25441  				if shift >= 64 {
 25442  					return ErrIntOverflowPlan
 25443  				}
 25444  				if iNdEx >= l {
 25445  					return io.ErrUnexpectedEOF
 25446  				}
 25447  				b := dAtA[iNdEx]
 25448  				iNdEx++
 25449  				m.MemorySize |= int64(b&0x7F) << shift
 25450  				if b < 0x80 {
 25451  					break
 25452  				}
 25453  			}
 25454  		case 7:
 25455  			if wireType != 0 {
 25456  				return fmt.Errorf("proto: wrong wireType = %d for field WaitTimeConsumed", wireType)
 25457  			}
 25458  			m.WaitTimeConsumed = 0
 25459  			for shift := uint(0); ; shift += 7 {
 25460  				if shift >= 64 {
 25461  					return ErrIntOverflowPlan
 25462  				}
 25463  				if iNdEx >= l {
 25464  					return io.ErrUnexpectedEOF
 25465  				}
 25466  				b := dAtA[iNdEx]
 25467  				iNdEx++
 25468  				m.WaitTimeConsumed |= int64(b&0x7F) << shift
 25469  				if b < 0x80 {
 25470  					break
 25471  				}
 25472  			}
 25473  		case 8:
 25474  			if wireType != 0 {
 25475  				return fmt.Errorf("proto: wrong wireType = %d for field DiskIO", wireType)
 25476  			}
 25477  			m.DiskIO = 0
 25478  			for shift := uint(0); ; shift += 7 {
 25479  				if shift >= 64 {
 25480  					return ErrIntOverflowPlan
 25481  				}
 25482  				if iNdEx >= l {
 25483  					return io.ErrUnexpectedEOF
 25484  				}
 25485  				b := dAtA[iNdEx]
 25486  				iNdEx++
 25487  				m.DiskIO |= int64(b&0x7F) << shift
 25488  				if b < 0x80 {
 25489  					break
 25490  				}
 25491  			}
 25492  		case 9:
 25493  			if wireType != 0 {
 25494  				return fmt.Errorf("proto: wrong wireType = %d for field S3IOByte", wireType)
 25495  			}
 25496  			m.S3IOByte = 0
 25497  			for shift := uint(0); ; shift += 7 {
 25498  				if shift >= 64 {
 25499  					return ErrIntOverflowPlan
 25500  				}
 25501  				if iNdEx >= l {
 25502  					return io.ErrUnexpectedEOF
 25503  				}
 25504  				b := dAtA[iNdEx]
 25505  				iNdEx++
 25506  				m.S3IOByte |= int64(b&0x7F) << shift
 25507  				if b < 0x80 {
 25508  					break
 25509  				}
 25510  			}
 25511  		case 10:
 25512  			if wireType != 0 {
 25513  				return fmt.Errorf("proto: wrong wireType = %d for field S3IOCount", wireType)
 25514  			}
 25515  			m.S3IOCount = 0
 25516  			for shift := uint(0); ; shift += 7 {
 25517  				if shift >= 64 {
 25518  					return ErrIntOverflowPlan
 25519  				}
 25520  				if iNdEx >= l {
 25521  					return io.ErrUnexpectedEOF
 25522  				}
 25523  				b := dAtA[iNdEx]
 25524  				iNdEx++
 25525  				m.S3IOCount |= int64(b&0x7F) << shift
 25526  				if b < 0x80 {
 25527  					break
 25528  				}
 25529  			}
 25530  		case 11:
 25531  			if wireType != 0 {
 25532  				return fmt.Errorf("proto: wrong wireType = %d for field NetworkIO", wireType)
 25533  			}
 25534  			m.NetworkIO = 0
 25535  			for shift := uint(0); ; shift += 7 {
 25536  				if shift >= 64 {
 25537  					return ErrIntOverflowPlan
 25538  				}
 25539  				if iNdEx >= l {
 25540  					return io.ErrUnexpectedEOF
 25541  				}
 25542  				b := dAtA[iNdEx]
 25543  				iNdEx++
 25544  				m.NetworkIO |= int64(b&0x7F) << shift
 25545  				if b < 0x80 {
 25546  					break
 25547  				}
 25548  			}
 25549  		case 12:
 25550  			if wireType != 0 {
 25551  				return fmt.Errorf("proto: wrong wireType = %d for field ScanTime", wireType)
 25552  			}
 25553  			m.ScanTime = 0
 25554  			for shift := uint(0); ; shift += 7 {
 25555  				if shift >= 64 {
 25556  					return ErrIntOverflowPlan
 25557  				}
 25558  				if iNdEx >= l {
 25559  					return io.ErrUnexpectedEOF
 25560  				}
 25561  				b := dAtA[iNdEx]
 25562  				iNdEx++
 25563  				m.ScanTime |= int64(b&0x7F) << shift
 25564  				if b < 0x80 {
 25565  					break
 25566  				}
 25567  			}
 25568  		case 13:
 25569  			if wireType != 0 {
 25570  				return fmt.Errorf("proto: wrong wireType = %d for field InsertTime", wireType)
 25571  			}
 25572  			m.InsertTime = 0
 25573  			for shift := uint(0); ; shift += 7 {
 25574  				if shift >= 64 {
 25575  					return ErrIntOverflowPlan
 25576  				}
 25577  				if iNdEx >= l {
 25578  					return io.ErrUnexpectedEOF
 25579  				}
 25580  				b := dAtA[iNdEx]
 25581  				iNdEx++
 25582  				m.InsertTime |= int64(b&0x7F) << shift
 25583  				if b < 0x80 {
 25584  					break
 25585  				}
 25586  			}
 25587  		default:
 25588  			iNdEx = preIndex
 25589  			skippy, err := skipPlan(dAtA[iNdEx:])
 25590  			if err != nil {
 25591  				return err
 25592  			}
 25593  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 25594  				return ErrInvalidLengthPlan
 25595  			}
 25596  			if (iNdEx + skippy) > l {
 25597  				return io.ErrUnexpectedEOF
 25598  			}
 25599  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 25600  			iNdEx += skippy
 25601  		}
 25602  	}
 25603  
 25604  	if iNdEx > l {
 25605  		return io.ErrUnexpectedEOF
 25606  	}
 25607  	return nil
 25608  }
 25609  func (m *Node) Unmarshal(dAtA []byte) error {
 25610  	l := len(dAtA)
 25611  	iNdEx := 0
 25612  	for iNdEx < l {
 25613  		preIndex := iNdEx
 25614  		var wire uint64
 25615  		for shift := uint(0); ; shift += 7 {
 25616  			if shift >= 64 {
 25617  				return ErrIntOverflowPlan
 25618  			}
 25619  			if iNdEx >= l {
 25620  				return io.ErrUnexpectedEOF
 25621  			}
 25622  			b := dAtA[iNdEx]
 25623  			iNdEx++
 25624  			wire |= uint64(b&0x7F) << shift
 25625  			if b < 0x80 {
 25626  				break
 25627  			}
 25628  		}
 25629  		fieldNum := int32(wire >> 3)
 25630  		wireType := int(wire & 0x7)
 25631  		if wireType == 4 {
 25632  			return fmt.Errorf("proto: Node: wiretype end group for non-group")
 25633  		}
 25634  		if fieldNum <= 0 {
 25635  			return fmt.Errorf("proto: Node: illegal tag %d (wire type %d)", fieldNum, wire)
 25636  		}
 25637  		switch fieldNum {
 25638  		case 1:
 25639  			if wireType != 0 {
 25640  				return fmt.Errorf("proto: wrong wireType = %d for field NodeType", wireType)
 25641  			}
 25642  			m.NodeType = 0
 25643  			for shift := uint(0); ; shift += 7 {
 25644  				if shift >= 64 {
 25645  					return ErrIntOverflowPlan
 25646  				}
 25647  				if iNdEx >= l {
 25648  					return io.ErrUnexpectedEOF
 25649  				}
 25650  				b := dAtA[iNdEx]
 25651  				iNdEx++
 25652  				m.NodeType |= Node_NodeType(b&0x7F) << shift
 25653  				if b < 0x80 {
 25654  					break
 25655  				}
 25656  			}
 25657  		case 2:
 25658  			if wireType != 0 {
 25659  				return fmt.Errorf("proto: wrong wireType = %d for field NodeId", wireType)
 25660  			}
 25661  			m.NodeId = 0
 25662  			for shift := uint(0); ; shift += 7 {
 25663  				if shift >= 64 {
 25664  					return ErrIntOverflowPlan
 25665  				}
 25666  				if iNdEx >= l {
 25667  					return io.ErrUnexpectedEOF
 25668  				}
 25669  				b := dAtA[iNdEx]
 25670  				iNdEx++
 25671  				m.NodeId |= int32(b&0x7F) << shift
 25672  				if b < 0x80 {
 25673  					break
 25674  				}
 25675  			}
 25676  		case 3:
 25677  			if wireType != 2 {
 25678  				return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType)
 25679  			}
 25680  			var msglen int
 25681  			for shift := uint(0); ; shift += 7 {
 25682  				if shift >= 64 {
 25683  					return ErrIntOverflowPlan
 25684  				}
 25685  				if iNdEx >= l {
 25686  					return io.ErrUnexpectedEOF
 25687  				}
 25688  				b := dAtA[iNdEx]
 25689  				iNdEx++
 25690  				msglen |= int(b&0x7F) << shift
 25691  				if b < 0x80 {
 25692  					break
 25693  				}
 25694  			}
 25695  			if msglen < 0 {
 25696  				return ErrInvalidLengthPlan
 25697  			}
 25698  			postIndex := iNdEx + msglen
 25699  			if postIndex < 0 {
 25700  				return ErrInvalidLengthPlan
 25701  			}
 25702  			if postIndex > l {
 25703  				return io.ErrUnexpectedEOF
 25704  			}
 25705  			if m.Stats == nil {
 25706  				m.Stats = &Stats{}
 25707  			}
 25708  			if err := m.Stats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25709  				return err
 25710  			}
 25711  			iNdEx = postIndex
 25712  		case 4:
 25713  			if wireType != 2 {
 25714  				return fmt.Errorf("proto: wrong wireType = %d for field ProjectList", wireType)
 25715  			}
 25716  			var msglen int
 25717  			for shift := uint(0); ; shift += 7 {
 25718  				if shift >= 64 {
 25719  					return ErrIntOverflowPlan
 25720  				}
 25721  				if iNdEx >= l {
 25722  					return io.ErrUnexpectedEOF
 25723  				}
 25724  				b := dAtA[iNdEx]
 25725  				iNdEx++
 25726  				msglen |= int(b&0x7F) << shift
 25727  				if b < 0x80 {
 25728  					break
 25729  				}
 25730  			}
 25731  			if msglen < 0 {
 25732  				return ErrInvalidLengthPlan
 25733  			}
 25734  			postIndex := iNdEx + msglen
 25735  			if postIndex < 0 {
 25736  				return ErrInvalidLengthPlan
 25737  			}
 25738  			if postIndex > l {
 25739  				return io.ErrUnexpectedEOF
 25740  			}
 25741  			m.ProjectList = append(m.ProjectList, &Expr{})
 25742  			if err := m.ProjectList[len(m.ProjectList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25743  				return err
 25744  			}
 25745  			iNdEx = postIndex
 25746  		case 5:
 25747  			if wireType == 0 {
 25748  				var v int32
 25749  				for shift := uint(0); ; shift += 7 {
 25750  					if shift >= 64 {
 25751  						return ErrIntOverflowPlan
 25752  					}
 25753  					if iNdEx >= l {
 25754  						return io.ErrUnexpectedEOF
 25755  					}
 25756  					b := dAtA[iNdEx]
 25757  					iNdEx++
 25758  					v |= int32(b&0x7F) << shift
 25759  					if b < 0x80 {
 25760  						break
 25761  					}
 25762  				}
 25763  				m.Children = append(m.Children, v)
 25764  			} else if wireType == 2 {
 25765  				var packedLen int
 25766  				for shift := uint(0); ; shift += 7 {
 25767  					if shift >= 64 {
 25768  						return ErrIntOverflowPlan
 25769  					}
 25770  					if iNdEx >= l {
 25771  						return io.ErrUnexpectedEOF
 25772  					}
 25773  					b := dAtA[iNdEx]
 25774  					iNdEx++
 25775  					packedLen |= int(b&0x7F) << shift
 25776  					if b < 0x80 {
 25777  						break
 25778  					}
 25779  				}
 25780  				if packedLen < 0 {
 25781  					return ErrInvalidLengthPlan
 25782  				}
 25783  				postIndex := iNdEx + packedLen
 25784  				if postIndex < 0 {
 25785  					return ErrInvalidLengthPlan
 25786  				}
 25787  				if postIndex > l {
 25788  					return io.ErrUnexpectedEOF
 25789  				}
 25790  				var elementCount int
 25791  				var count int
 25792  				for _, integer := range dAtA[iNdEx:postIndex] {
 25793  					if integer < 128 {
 25794  						count++
 25795  					}
 25796  				}
 25797  				elementCount = count
 25798  				if elementCount != 0 && len(m.Children) == 0 {
 25799  					m.Children = make([]int32, 0, elementCount)
 25800  				}
 25801  				for iNdEx < postIndex {
 25802  					var v int32
 25803  					for shift := uint(0); ; shift += 7 {
 25804  						if shift >= 64 {
 25805  							return ErrIntOverflowPlan
 25806  						}
 25807  						if iNdEx >= l {
 25808  							return io.ErrUnexpectedEOF
 25809  						}
 25810  						b := dAtA[iNdEx]
 25811  						iNdEx++
 25812  						v |= int32(b&0x7F) << shift
 25813  						if b < 0x80 {
 25814  							break
 25815  						}
 25816  					}
 25817  					m.Children = append(m.Children, v)
 25818  				}
 25819  			} else {
 25820  				return fmt.Errorf("proto: wrong wireType = %d for field Children", wireType)
 25821  			}
 25822  		case 6:
 25823  			if wireType != 0 {
 25824  				return fmt.Errorf("proto: wrong wireType = %d for field JoinType", wireType)
 25825  			}
 25826  			m.JoinType = 0
 25827  			for shift := uint(0); ; shift += 7 {
 25828  				if shift >= 64 {
 25829  					return ErrIntOverflowPlan
 25830  				}
 25831  				if iNdEx >= l {
 25832  					return io.ErrUnexpectedEOF
 25833  				}
 25834  				b := dAtA[iNdEx]
 25835  				iNdEx++
 25836  				m.JoinType |= Node_JoinFlag(b&0x7F) << shift
 25837  				if b < 0x80 {
 25838  					break
 25839  				}
 25840  			}
 25841  		case 7:
 25842  			if wireType != 2 {
 25843  				return fmt.Errorf("proto: wrong wireType = %d for field OnList", wireType)
 25844  			}
 25845  			var msglen int
 25846  			for shift := uint(0); ; shift += 7 {
 25847  				if shift >= 64 {
 25848  					return ErrIntOverflowPlan
 25849  				}
 25850  				if iNdEx >= l {
 25851  					return io.ErrUnexpectedEOF
 25852  				}
 25853  				b := dAtA[iNdEx]
 25854  				iNdEx++
 25855  				msglen |= int(b&0x7F) << shift
 25856  				if b < 0x80 {
 25857  					break
 25858  				}
 25859  			}
 25860  			if msglen < 0 {
 25861  				return ErrInvalidLengthPlan
 25862  			}
 25863  			postIndex := iNdEx + msglen
 25864  			if postIndex < 0 {
 25865  				return ErrInvalidLengthPlan
 25866  			}
 25867  			if postIndex > l {
 25868  				return io.ErrUnexpectedEOF
 25869  			}
 25870  			m.OnList = append(m.OnList, &Expr{})
 25871  			if err := m.OnList[len(m.OnList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25872  				return err
 25873  			}
 25874  			iNdEx = postIndex
 25875  		case 8:
 25876  			if wireType != 2 {
 25877  				return fmt.Errorf("proto: wrong wireType = %d for field FilterList", wireType)
 25878  			}
 25879  			var msglen int
 25880  			for shift := uint(0); ; shift += 7 {
 25881  				if shift >= 64 {
 25882  					return ErrIntOverflowPlan
 25883  				}
 25884  				if iNdEx >= l {
 25885  					return io.ErrUnexpectedEOF
 25886  				}
 25887  				b := dAtA[iNdEx]
 25888  				iNdEx++
 25889  				msglen |= int(b&0x7F) << shift
 25890  				if b < 0x80 {
 25891  					break
 25892  				}
 25893  			}
 25894  			if msglen < 0 {
 25895  				return ErrInvalidLengthPlan
 25896  			}
 25897  			postIndex := iNdEx + msglen
 25898  			if postIndex < 0 {
 25899  				return ErrInvalidLengthPlan
 25900  			}
 25901  			if postIndex > l {
 25902  				return io.ErrUnexpectedEOF
 25903  			}
 25904  			m.FilterList = append(m.FilterList, &Expr{})
 25905  			if err := m.FilterList[len(m.FilterList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25906  				return err
 25907  			}
 25908  			iNdEx = postIndex
 25909  		case 9:
 25910  			if wireType != 2 {
 25911  				return fmt.Errorf("proto: wrong wireType = %d for field GroupBy", wireType)
 25912  			}
 25913  			var msglen int
 25914  			for shift := uint(0); ; shift += 7 {
 25915  				if shift >= 64 {
 25916  					return ErrIntOverflowPlan
 25917  				}
 25918  				if iNdEx >= l {
 25919  					return io.ErrUnexpectedEOF
 25920  				}
 25921  				b := dAtA[iNdEx]
 25922  				iNdEx++
 25923  				msglen |= int(b&0x7F) << shift
 25924  				if b < 0x80 {
 25925  					break
 25926  				}
 25927  			}
 25928  			if msglen < 0 {
 25929  				return ErrInvalidLengthPlan
 25930  			}
 25931  			postIndex := iNdEx + msglen
 25932  			if postIndex < 0 {
 25933  				return ErrInvalidLengthPlan
 25934  			}
 25935  			if postIndex > l {
 25936  				return io.ErrUnexpectedEOF
 25937  			}
 25938  			m.GroupBy = append(m.GroupBy, &Expr{})
 25939  			if err := m.GroupBy[len(m.GroupBy)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25940  				return err
 25941  			}
 25942  			iNdEx = postIndex
 25943  		case 10:
 25944  			if wireType != 2 {
 25945  				return fmt.Errorf("proto: wrong wireType = %d for field GroupingSet", wireType)
 25946  			}
 25947  			var msglen int
 25948  			for shift := uint(0); ; shift += 7 {
 25949  				if shift >= 64 {
 25950  					return ErrIntOverflowPlan
 25951  				}
 25952  				if iNdEx >= l {
 25953  					return io.ErrUnexpectedEOF
 25954  				}
 25955  				b := dAtA[iNdEx]
 25956  				iNdEx++
 25957  				msglen |= int(b&0x7F) << shift
 25958  				if b < 0x80 {
 25959  					break
 25960  				}
 25961  			}
 25962  			if msglen < 0 {
 25963  				return ErrInvalidLengthPlan
 25964  			}
 25965  			postIndex := iNdEx + msglen
 25966  			if postIndex < 0 {
 25967  				return ErrInvalidLengthPlan
 25968  			}
 25969  			if postIndex > l {
 25970  				return io.ErrUnexpectedEOF
 25971  			}
 25972  			m.GroupingSet = append(m.GroupingSet, &Expr{})
 25973  			if err := m.GroupingSet[len(m.GroupingSet)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 25974  				return err
 25975  			}
 25976  			iNdEx = postIndex
 25977  		case 11:
 25978  			if wireType != 2 {
 25979  				return fmt.Errorf("proto: wrong wireType = %d for field AggList", wireType)
 25980  			}
 25981  			var msglen int
 25982  			for shift := uint(0); ; shift += 7 {
 25983  				if shift >= 64 {
 25984  					return ErrIntOverflowPlan
 25985  				}
 25986  				if iNdEx >= l {
 25987  					return io.ErrUnexpectedEOF
 25988  				}
 25989  				b := dAtA[iNdEx]
 25990  				iNdEx++
 25991  				msglen |= int(b&0x7F) << shift
 25992  				if b < 0x80 {
 25993  					break
 25994  				}
 25995  			}
 25996  			if msglen < 0 {
 25997  				return ErrInvalidLengthPlan
 25998  			}
 25999  			postIndex := iNdEx + msglen
 26000  			if postIndex < 0 {
 26001  				return ErrInvalidLengthPlan
 26002  			}
 26003  			if postIndex > l {
 26004  				return io.ErrUnexpectedEOF
 26005  			}
 26006  			m.AggList = append(m.AggList, &Expr{})
 26007  			if err := m.AggList[len(m.AggList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26008  				return err
 26009  			}
 26010  			iNdEx = postIndex
 26011  		case 12:
 26012  			if wireType != 2 {
 26013  				return fmt.Errorf("proto: wrong wireType = %d for field OrderBy", wireType)
 26014  			}
 26015  			var msglen int
 26016  			for shift := uint(0); ; shift += 7 {
 26017  				if shift >= 64 {
 26018  					return ErrIntOverflowPlan
 26019  				}
 26020  				if iNdEx >= l {
 26021  					return io.ErrUnexpectedEOF
 26022  				}
 26023  				b := dAtA[iNdEx]
 26024  				iNdEx++
 26025  				msglen |= int(b&0x7F) << shift
 26026  				if b < 0x80 {
 26027  					break
 26028  				}
 26029  			}
 26030  			if msglen < 0 {
 26031  				return ErrInvalidLengthPlan
 26032  			}
 26033  			postIndex := iNdEx + msglen
 26034  			if postIndex < 0 {
 26035  				return ErrInvalidLengthPlan
 26036  			}
 26037  			if postIndex > l {
 26038  				return io.ErrUnexpectedEOF
 26039  			}
 26040  			m.OrderBy = append(m.OrderBy, &OrderBySpec{})
 26041  			if err := m.OrderBy[len(m.OrderBy)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26042  				return err
 26043  			}
 26044  			iNdEx = postIndex
 26045  		case 13:
 26046  			if wireType != 2 {
 26047  				return fmt.Errorf("proto: wrong wireType = %d for field UpdateCtx", wireType)
 26048  			}
 26049  			var msglen int
 26050  			for shift := uint(0); ; shift += 7 {
 26051  				if shift >= 64 {
 26052  					return ErrIntOverflowPlan
 26053  				}
 26054  				if iNdEx >= l {
 26055  					return io.ErrUnexpectedEOF
 26056  				}
 26057  				b := dAtA[iNdEx]
 26058  				iNdEx++
 26059  				msglen |= int(b&0x7F) << shift
 26060  				if b < 0x80 {
 26061  					break
 26062  				}
 26063  			}
 26064  			if msglen < 0 {
 26065  				return ErrInvalidLengthPlan
 26066  			}
 26067  			postIndex := iNdEx + msglen
 26068  			if postIndex < 0 {
 26069  				return ErrInvalidLengthPlan
 26070  			}
 26071  			if postIndex > l {
 26072  				return io.ErrUnexpectedEOF
 26073  			}
 26074  			if m.UpdateCtx == nil {
 26075  				m.UpdateCtx = &UpdateCtx{}
 26076  			}
 26077  			if err := m.UpdateCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26078  				return err
 26079  			}
 26080  			iNdEx = postIndex
 26081  		case 14:
 26082  			if wireType != 2 {
 26083  				return fmt.Errorf("proto: wrong wireType = %d for field WinSpec", wireType)
 26084  			}
 26085  			var msglen int
 26086  			for shift := uint(0); ; shift += 7 {
 26087  				if shift >= 64 {
 26088  					return ErrIntOverflowPlan
 26089  				}
 26090  				if iNdEx >= l {
 26091  					return io.ErrUnexpectedEOF
 26092  				}
 26093  				b := dAtA[iNdEx]
 26094  				iNdEx++
 26095  				msglen |= int(b&0x7F) << shift
 26096  				if b < 0x80 {
 26097  					break
 26098  				}
 26099  			}
 26100  			if msglen < 0 {
 26101  				return ErrInvalidLengthPlan
 26102  			}
 26103  			postIndex := iNdEx + msglen
 26104  			if postIndex < 0 {
 26105  				return ErrInvalidLengthPlan
 26106  			}
 26107  			if postIndex > l {
 26108  				return io.ErrUnexpectedEOF
 26109  			}
 26110  			if m.WinSpec == nil {
 26111  				m.WinSpec = &WindowSpec{}
 26112  			}
 26113  			if err := m.WinSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26114  				return err
 26115  			}
 26116  			iNdEx = postIndex
 26117  		case 15:
 26118  			if wireType != 2 {
 26119  				return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
 26120  			}
 26121  			var msglen int
 26122  			for shift := uint(0); ; shift += 7 {
 26123  				if shift >= 64 {
 26124  					return ErrIntOverflowPlan
 26125  				}
 26126  				if iNdEx >= l {
 26127  					return io.ErrUnexpectedEOF
 26128  				}
 26129  				b := dAtA[iNdEx]
 26130  				iNdEx++
 26131  				msglen |= int(b&0x7F) << shift
 26132  				if b < 0x80 {
 26133  					break
 26134  				}
 26135  			}
 26136  			if msglen < 0 {
 26137  				return ErrInvalidLengthPlan
 26138  			}
 26139  			postIndex := iNdEx + msglen
 26140  			if postIndex < 0 {
 26141  				return ErrInvalidLengthPlan
 26142  			}
 26143  			if postIndex > l {
 26144  				return io.ErrUnexpectedEOF
 26145  			}
 26146  			if m.Limit == nil {
 26147  				m.Limit = &Expr{}
 26148  			}
 26149  			if err := m.Limit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26150  				return err
 26151  			}
 26152  			iNdEx = postIndex
 26153  		case 16:
 26154  			if wireType != 2 {
 26155  				return fmt.Errorf("proto: wrong wireType = %d for field Offset", wireType)
 26156  			}
 26157  			var msglen int
 26158  			for shift := uint(0); ; shift += 7 {
 26159  				if shift >= 64 {
 26160  					return ErrIntOverflowPlan
 26161  				}
 26162  				if iNdEx >= l {
 26163  					return io.ErrUnexpectedEOF
 26164  				}
 26165  				b := dAtA[iNdEx]
 26166  				iNdEx++
 26167  				msglen |= int(b&0x7F) << shift
 26168  				if b < 0x80 {
 26169  					break
 26170  				}
 26171  			}
 26172  			if msglen < 0 {
 26173  				return ErrInvalidLengthPlan
 26174  			}
 26175  			postIndex := iNdEx + msglen
 26176  			if postIndex < 0 {
 26177  				return ErrInvalidLengthPlan
 26178  			}
 26179  			if postIndex > l {
 26180  				return io.ErrUnexpectedEOF
 26181  			}
 26182  			if m.Offset == nil {
 26183  				m.Offset = &Expr{}
 26184  			}
 26185  			if err := m.Offset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26186  				return err
 26187  			}
 26188  			iNdEx = postIndex
 26189  		case 17:
 26190  			if wireType != 2 {
 26191  				return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType)
 26192  			}
 26193  			var msglen int
 26194  			for shift := uint(0); ; shift += 7 {
 26195  				if shift >= 64 {
 26196  					return ErrIntOverflowPlan
 26197  				}
 26198  				if iNdEx >= l {
 26199  					return io.ErrUnexpectedEOF
 26200  				}
 26201  				b := dAtA[iNdEx]
 26202  				iNdEx++
 26203  				msglen |= int(b&0x7F) << shift
 26204  				if b < 0x80 {
 26205  					break
 26206  				}
 26207  			}
 26208  			if msglen < 0 {
 26209  				return ErrInvalidLengthPlan
 26210  			}
 26211  			postIndex := iNdEx + msglen
 26212  			if postIndex < 0 {
 26213  				return ErrInvalidLengthPlan
 26214  			}
 26215  			if postIndex > l {
 26216  				return io.ErrUnexpectedEOF
 26217  			}
 26218  			if m.TableDef == nil {
 26219  				m.TableDef = &TableDef{}
 26220  			}
 26221  			if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26222  				return err
 26223  			}
 26224  			iNdEx = postIndex
 26225  		case 18:
 26226  			if wireType != 2 {
 26227  				return fmt.Errorf("proto: wrong wireType = %d for field TableDefVec", wireType)
 26228  			}
 26229  			var msglen int
 26230  			for shift := uint(0); ; shift += 7 {
 26231  				if shift >= 64 {
 26232  					return ErrIntOverflowPlan
 26233  				}
 26234  				if iNdEx >= l {
 26235  					return io.ErrUnexpectedEOF
 26236  				}
 26237  				b := dAtA[iNdEx]
 26238  				iNdEx++
 26239  				msglen |= int(b&0x7F) << shift
 26240  				if b < 0x80 {
 26241  					break
 26242  				}
 26243  			}
 26244  			if msglen < 0 {
 26245  				return ErrInvalidLengthPlan
 26246  			}
 26247  			postIndex := iNdEx + msglen
 26248  			if postIndex < 0 {
 26249  				return ErrInvalidLengthPlan
 26250  			}
 26251  			if postIndex > l {
 26252  				return io.ErrUnexpectedEOF
 26253  			}
 26254  			m.TableDefVec = append(m.TableDefVec, &TableDef{})
 26255  			if err := m.TableDefVec[len(m.TableDefVec)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26256  				return err
 26257  			}
 26258  			iNdEx = postIndex
 26259  		case 19:
 26260  			if wireType != 2 {
 26261  				return fmt.Errorf("proto: wrong wireType = %d for field ObjRef", wireType)
 26262  			}
 26263  			var msglen int
 26264  			for shift := uint(0); ; shift += 7 {
 26265  				if shift >= 64 {
 26266  					return ErrIntOverflowPlan
 26267  				}
 26268  				if iNdEx >= l {
 26269  					return io.ErrUnexpectedEOF
 26270  				}
 26271  				b := dAtA[iNdEx]
 26272  				iNdEx++
 26273  				msglen |= int(b&0x7F) << shift
 26274  				if b < 0x80 {
 26275  					break
 26276  				}
 26277  			}
 26278  			if msglen < 0 {
 26279  				return ErrInvalidLengthPlan
 26280  			}
 26281  			postIndex := iNdEx + msglen
 26282  			if postIndex < 0 {
 26283  				return ErrInvalidLengthPlan
 26284  			}
 26285  			if postIndex > l {
 26286  				return io.ErrUnexpectedEOF
 26287  			}
 26288  			if m.ObjRef == nil {
 26289  				m.ObjRef = &ObjectRef{}
 26290  			}
 26291  			if err := m.ObjRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26292  				return err
 26293  			}
 26294  			iNdEx = postIndex
 26295  		case 20:
 26296  			if wireType != 2 {
 26297  				return fmt.Errorf("proto: wrong wireType = %d for field RowsetData", wireType)
 26298  			}
 26299  			var msglen int
 26300  			for shift := uint(0); ; shift += 7 {
 26301  				if shift >= 64 {
 26302  					return ErrIntOverflowPlan
 26303  				}
 26304  				if iNdEx >= l {
 26305  					return io.ErrUnexpectedEOF
 26306  				}
 26307  				b := dAtA[iNdEx]
 26308  				iNdEx++
 26309  				msglen |= int(b&0x7F) << shift
 26310  				if b < 0x80 {
 26311  					break
 26312  				}
 26313  			}
 26314  			if msglen < 0 {
 26315  				return ErrInvalidLengthPlan
 26316  			}
 26317  			postIndex := iNdEx + msglen
 26318  			if postIndex < 0 {
 26319  				return ErrInvalidLengthPlan
 26320  			}
 26321  			if postIndex > l {
 26322  				return io.ErrUnexpectedEOF
 26323  			}
 26324  			if m.RowsetData == nil {
 26325  				m.RowsetData = &RowsetData{}
 26326  			}
 26327  			if err := m.RowsetData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26328  				return err
 26329  			}
 26330  			iNdEx = postIndex
 26331  		case 21:
 26332  			if wireType != 2 {
 26333  				return fmt.Errorf("proto: wrong wireType = %d for field ExtraOptions", wireType)
 26334  			}
 26335  			var stringLen uint64
 26336  			for shift := uint(0); ; shift += 7 {
 26337  				if shift >= 64 {
 26338  					return ErrIntOverflowPlan
 26339  				}
 26340  				if iNdEx >= l {
 26341  					return io.ErrUnexpectedEOF
 26342  				}
 26343  				b := dAtA[iNdEx]
 26344  				iNdEx++
 26345  				stringLen |= uint64(b&0x7F) << shift
 26346  				if b < 0x80 {
 26347  					break
 26348  				}
 26349  			}
 26350  			intStringLen := int(stringLen)
 26351  			if intStringLen < 0 {
 26352  				return ErrInvalidLengthPlan
 26353  			}
 26354  			postIndex := iNdEx + intStringLen
 26355  			if postIndex < 0 {
 26356  				return ErrInvalidLengthPlan
 26357  			}
 26358  			if postIndex > l {
 26359  				return io.ErrUnexpectedEOF
 26360  			}
 26361  			m.ExtraOptions = string(dAtA[iNdEx:postIndex])
 26362  			iNdEx = postIndex
 26363  		case 22:
 26364  			if wireType != 2 {
 26365  				return fmt.Errorf("proto: wrong wireType = %d for field DeleteCtx", wireType)
 26366  			}
 26367  			var msglen int
 26368  			for shift := uint(0); ; shift += 7 {
 26369  				if shift >= 64 {
 26370  					return ErrIntOverflowPlan
 26371  				}
 26372  				if iNdEx >= l {
 26373  					return io.ErrUnexpectedEOF
 26374  				}
 26375  				b := dAtA[iNdEx]
 26376  				iNdEx++
 26377  				msglen |= int(b&0x7F) << shift
 26378  				if b < 0x80 {
 26379  					break
 26380  				}
 26381  			}
 26382  			if msglen < 0 {
 26383  				return ErrInvalidLengthPlan
 26384  			}
 26385  			postIndex := iNdEx + msglen
 26386  			if postIndex < 0 {
 26387  				return ErrInvalidLengthPlan
 26388  			}
 26389  			if postIndex > l {
 26390  				return io.ErrUnexpectedEOF
 26391  			}
 26392  			if m.DeleteCtx == nil {
 26393  				m.DeleteCtx = &DeleteCtx{}
 26394  			}
 26395  			if err := m.DeleteCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26396  				return err
 26397  			}
 26398  			iNdEx = postIndex
 26399  		case 23:
 26400  			if wireType == 0 {
 26401  				var v int32
 26402  				for shift := uint(0); ; shift += 7 {
 26403  					if shift >= 64 {
 26404  						return ErrIntOverflowPlan
 26405  					}
 26406  					if iNdEx >= l {
 26407  						return io.ErrUnexpectedEOF
 26408  					}
 26409  					b := dAtA[iNdEx]
 26410  					iNdEx++
 26411  					v |= int32(b&0x7F) << shift
 26412  					if b < 0x80 {
 26413  						break
 26414  					}
 26415  				}
 26416  				m.BindingTags = append(m.BindingTags, v)
 26417  			} else if wireType == 2 {
 26418  				var packedLen int
 26419  				for shift := uint(0); ; shift += 7 {
 26420  					if shift >= 64 {
 26421  						return ErrIntOverflowPlan
 26422  					}
 26423  					if iNdEx >= l {
 26424  						return io.ErrUnexpectedEOF
 26425  					}
 26426  					b := dAtA[iNdEx]
 26427  					iNdEx++
 26428  					packedLen |= int(b&0x7F) << shift
 26429  					if b < 0x80 {
 26430  						break
 26431  					}
 26432  				}
 26433  				if packedLen < 0 {
 26434  					return ErrInvalidLengthPlan
 26435  				}
 26436  				postIndex := iNdEx + packedLen
 26437  				if postIndex < 0 {
 26438  					return ErrInvalidLengthPlan
 26439  				}
 26440  				if postIndex > l {
 26441  					return io.ErrUnexpectedEOF
 26442  				}
 26443  				var elementCount int
 26444  				var count int
 26445  				for _, integer := range dAtA[iNdEx:postIndex] {
 26446  					if integer < 128 {
 26447  						count++
 26448  					}
 26449  				}
 26450  				elementCount = count
 26451  				if elementCount != 0 && len(m.BindingTags) == 0 {
 26452  					m.BindingTags = make([]int32, 0, elementCount)
 26453  				}
 26454  				for iNdEx < postIndex {
 26455  					var v int32
 26456  					for shift := uint(0); ; shift += 7 {
 26457  						if shift >= 64 {
 26458  							return ErrIntOverflowPlan
 26459  						}
 26460  						if iNdEx >= l {
 26461  							return io.ErrUnexpectedEOF
 26462  						}
 26463  						b := dAtA[iNdEx]
 26464  						iNdEx++
 26465  						v |= int32(b&0x7F) << shift
 26466  						if b < 0x80 {
 26467  							break
 26468  						}
 26469  					}
 26470  					m.BindingTags = append(m.BindingTags, v)
 26471  				}
 26472  			} else {
 26473  				return fmt.Errorf("proto: wrong wireType = %d for field BindingTags", wireType)
 26474  			}
 26475  		case 24:
 26476  			if wireType != 2 {
 26477  				return fmt.Errorf("proto: wrong wireType = %d for field AnalyzeInfo", wireType)
 26478  			}
 26479  			var msglen int
 26480  			for shift := uint(0); ; shift += 7 {
 26481  				if shift >= 64 {
 26482  					return ErrIntOverflowPlan
 26483  				}
 26484  				if iNdEx >= l {
 26485  					return io.ErrUnexpectedEOF
 26486  				}
 26487  				b := dAtA[iNdEx]
 26488  				iNdEx++
 26489  				msglen |= int(b&0x7F) << shift
 26490  				if b < 0x80 {
 26491  					break
 26492  				}
 26493  			}
 26494  			if msglen < 0 {
 26495  				return ErrInvalidLengthPlan
 26496  			}
 26497  			postIndex := iNdEx + msglen
 26498  			if postIndex < 0 {
 26499  				return ErrInvalidLengthPlan
 26500  			}
 26501  			if postIndex > l {
 26502  				return io.ErrUnexpectedEOF
 26503  			}
 26504  			if m.AnalyzeInfo == nil {
 26505  				m.AnalyzeInfo = &AnalyzeInfo{}
 26506  			}
 26507  			if err := m.AnalyzeInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26508  				return err
 26509  			}
 26510  			iNdEx = postIndex
 26511  		case 25:
 26512  			if wireType != 2 {
 26513  				return fmt.Errorf("proto: wrong wireType = %d for field TblFuncExprList", wireType)
 26514  			}
 26515  			var msglen int
 26516  			for shift := uint(0); ; shift += 7 {
 26517  				if shift >= 64 {
 26518  					return ErrIntOverflowPlan
 26519  				}
 26520  				if iNdEx >= l {
 26521  					return io.ErrUnexpectedEOF
 26522  				}
 26523  				b := dAtA[iNdEx]
 26524  				iNdEx++
 26525  				msglen |= int(b&0x7F) << shift
 26526  				if b < 0x80 {
 26527  					break
 26528  				}
 26529  			}
 26530  			if msglen < 0 {
 26531  				return ErrInvalidLengthPlan
 26532  			}
 26533  			postIndex := iNdEx + msglen
 26534  			if postIndex < 0 {
 26535  				return ErrInvalidLengthPlan
 26536  			}
 26537  			if postIndex > l {
 26538  				return io.ErrUnexpectedEOF
 26539  			}
 26540  			m.TblFuncExprList = append(m.TblFuncExprList, &Expr{})
 26541  			if err := m.TblFuncExprList[len(m.TblFuncExprList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26542  				return err
 26543  			}
 26544  			iNdEx = postIndex
 26545  		case 26:
 26546  			if wireType != 0 {
 26547  				return fmt.Errorf("proto: wrong wireType = %d for field Parallelism", wireType)
 26548  			}
 26549  			m.Parallelism = 0
 26550  			for shift := uint(0); ; shift += 7 {
 26551  				if shift >= 64 {
 26552  					return ErrIntOverflowPlan
 26553  				}
 26554  				if iNdEx >= l {
 26555  					return io.ErrUnexpectedEOF
 26556  				}
 26557  				b := dAtA[iNdEx]
 26558  				iNdEx++
 26559  				m.Parallelism |= int32(b&0x7F) << shift
 26560  				if b < 0x80 {
 26561  					break
 26562  				}
 26563  			}
 26564  		case 27:
 26565  			if wireType != 2 {
 26566  				return fmt.Errorf("proto: wrong wireType = %d for field ClusterTable", wireType)
 26567  			}
 26568  			var msglen int
 26569  			for shift := uint(0); ; shift += 7 {
 26570  				if shift >= 64 {
 26571  					return ErrIntOverflowPlan
 26572  				}
 26573  				if iNdEx >= l {
 26574  					return io.ErrUnexpectedEOF
 26575  				}
 26576  				b := dAtA[iNdEx]
 26577  				iNdEx++
 26578  				msglen |= int(b&0x7F) << shift
 26579  				if b < 0x80 {
 26580  					break
 26581  				}
 26582  			}
 26583  			if msglen < 0 {
 26584  				return ErrInvalidLengthPlan
 26585  			}
 26586  			postIndex := iNdEx + msglen
 26587  			if postIndex < 0 {
 26588  				return ErrInvalidLengthPlan
 26589  			}
 26590  			if postIndex > l {
 26591  				return io.ErrUnexpectedEOF
 26592  			}
 26593  			if m.ClusterTable == nil {
 26594  				m.ClusterTable = &ClusterTable{}
 26595  			}
 26596  			if err := m.ClusterTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26597  				return err
 26598  			}
 26599  			iNdEx = postIndex
 26600  		case 28:
 26601  			if wireType != 0 {
 26602  				return fmt.Errorf("proto: wrong wireType = %d for field NotCacheable", wireType)
 26603  			}
 26604  			var v int
 26605  			for shift := uint(0); ; shift += 7 {
 26606  				if shift >= 64 {
 26607  					return ErrIntOverflowPlan
 26608  				}
 26609  				if iNdEx >= l {
 26610  					return io.ErrUnexpectedEOF
 26611  				}
 26612  				b := dAtA[iNdEx]
 26613  				iNdEx++
 26614  				v |= int(b&0x7F) << shift
 26615  				if b < 0x80 {
 26616  					break
 26617  				}
 26618  			}
 26619  			m.NotCacheable = bool(v != 0)
 26620  		case 29:
 26621  			if wireType != 2 {
 26622  				return fmt.Errorf("proto: wrong wireType = %d for field InsertCtx", wireType)
 26623  			}
 26624  			var msglen int
 26625  			for shift := uint(0); ; shift += 7 {
 26626  				if shift >= 64 {
 26627  					return ErrIntOverflowPlan
 26628  				}
 26629  				if iNdEx >= l {
 26630  					return io.ErrUnexpectedEOF
 26631  				}
 26632  				b := dAtA[iNdEx]
 26633  				iNdEx++
 26634  				msglen |= int(b&0x7F) << shift
 26635  				if b < 0x80 {
 26636  					break
 26637  				}
 26638  			}
 26639  			if msglen < 0 {
 26640  				return ErrInvalidLengthPlan
 26641  			}
 26642  			postIndex := iNdEx + msglen
 26643  			if postIndex < 0 {
 26644  				return ErrInvalidLengthPlan
 26645  			}
 26646  			if postIndex > l {
 26647  				return io.ErrUnexpectedEOF
 26648  			}
 26649  			if m.InsertCtx == nil {
 26650  				m.InsertCtx = &InsertCtx{}
 26651  			}
 26652  			if err := m.InsertCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 26653  				return err
 26654  			}
 26655  			iNdEx = postIndex
 26656  		default:
 26657  			iNdEx = preIndex
 26658  			skippy, err := skipPlan(dAtA[iNdEx:])
 26659  			if err != nil {
 26660  				return err
 26661  			}
 26662  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 26663  				return ErrInvalidLengthPlan
 26664  			}
 26665  			if (iNdEx + skippy) > l {
 26666  				return io.ErrUnexpectedEOF
 26667  			}
 26668  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 26669  			iNdEx += skippy
 26670  		}
 26671  	}
 26672  
 26673  	if iNdEx > l {
 26674  		return io.ErrUnexpectedEOF
 26675  	}
 26676  	return nil
 26677  }
 26678  func (m *IdList) Unmarshal(dAtA []byte) error {
 26679  	l := len(dAtA)
 26680  	iNdEx := 0
 26681  	for iNdEx < l {
 26682  		preIndex := iNdEx
 26683  		var wire uint64
 26684  		for shift := uint(0); ; shift += 7 {
 26685  			if shift >= 64 {
 26686  				return ErrIntOverflowPlan
 26687  			}
 26688  			if iNdEx >= l {
 26689  				return io.ErrUnexpectedEOF
 26690  			}
 26691  			b := dAtA[iNdEx]
 26692  			iNdEx++
 26693  			wire |= uint64(b&0x7F) << shift
 26694  			if b < 0x80 {
 26695  				break
 26696  			}
 26697  		}
 26698  		fieldNum := int32(wire >> 3)
 26699  		wireType := int(wire & 0x7)
 26700  		if wireType == 4 {
 26701  			return fmt.Errorf("proto: IdList: wiretype end group for non-group")
 26702  		}
 26703  		if fieldNum <= 0 {
 26704  			return fmt.Errorf("proto: IdList: illegal tag %d (wire type %d)", fieldNum, wire)
 26705  		}
 26706  		switch fieldNum {
 26707  		case 1:
 26708  			if wireType == 0 {
 26709  				var v int64
 26710  				for shift := uint(0); ; shift += 7 {
 26711  					if shift >= 64 {
 26712  						return ErrIntOverflowPlan
 26713  					}
 26714  					if iNdEx >= l {
 26715  						return io.ErrUnexpectedEOF
 26716  					}
 26717  					b := dAtA[iNdEx]
 26718  					iNdEx++
 26719  					v |= int64(b&0x7F) << shift
 26720  					if b < 0x80 {
 26721  						break
 26722  					}
 26723  				}
 26724  				m.List = append(m.List, v)
 26725  			} else if wireType == 2 {
 26726  				var packedLen int
 26727  				for shift := uint(0); ; shift += 7 {
 26728  					if shift >= 64 {
 26729  						return ErrIntOverflowPlan
 26730  					}
 26731  					if iNdEx >= l {
 26732  						return io.ErrUnexpectedEOF
 26733  					}
 26734  					b := dAtA[iNdEx]
 26735  					iNdEx++
 26736  					packedLen |= int(b&0x7F) << shift
 26737  					if b < 0x80 {
 26738  						break
 26739  					}
 26740  				}
 26741  				if packedLen < 0 {
 26742  					return ErrInvalidLengthPlan
 26743  				}
 26744  				postIndex := iNdEx + packedLen
 26745  				if postIndex < 0 {
 26746  					return ErrInvalidLengthPlan
 26747  				}
 26748  				if postIndex > l {
 26749  					return io.ErrUnexpectedEOF
 26750  				}
 26751  				var elementCount int
 26752  				var count int
 26753  				for _, integer := range dAtA[iNdEx:postIndex] {
 26754  					if integer < 128 {
 26755  						count++
 26756  					}
 26757  				}
 26758  				elementCount = count
 26759  				if elementCount != 0 && len(m.List) == 0 {
 26760  					m.List = make([]int64, 0, elementCount)
 26761  				}
 26762  				for iNdEx < postIndex {
 26763  					var v int64
 26764  					for shift := uint(0); ; shift += 7 {
 26765  						if shift >= 64 {
 26766  							return ErrIntOverflowPlan
 26767  						}
 26768  						if iNdEx >= l {
 26769  							return io.ErrUnexpectedEOF
 26770  						}
 26771  						b := dAtA[iNdEx]
 26772  						iNdEx++
 26773  						v |= int64(b&0x7F) << shift
 26774  						if b < 0x80 {
 26775  							break
 26776  						}
 26777  					}
 26778  					m.List = append(m.List, v)
 26779  				}
 26780  			} else {
 26781  				return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
 26782  			}
 26783  		default:
 26784  			iNdEx = preIndex
 26785  			skippy, err := skipPlan(dAtA[iNdEx:])
 26786  			if err != nil {
 26787  				return err
 26788  			}
 26789  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 26790  				return ErrInvalidLengthPlan
 26791  			}
 26792  			if (iNdEx + skippy) > l {
 26793  				return io.ErrUnexpectedEOF
 26794  			}
 26795  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 26796  			iNdEx += skippy
 26797  		}
 26798  	}
 26799  
 26800  	if iNdEx > l {
 26801  		return io.ErrUnexpectedEOF
 26802  	}
 26803  	return nil
 26804  }
 26805  func (m *ColPosMap) Unmarshal(dAtA []byte) error {
 26806  	l := len(dAtA)
 26807  	iNdEx := 0
 26808  	for iNdEx < l {
 26809  		preIndex := iNdEx
 26810  		var wire uint64
 26811  		for shift := uint(0); ; shift += 7 {
 26812  			if shift >= 64 {
 26813  				return ErrIntOverflowPlan
 26814  			}
 26815  			if iNdEx >= l {
 26816  				return io.ErrUnexpectedEOF
 26817  			}
 26818  			b := dAtA[iNdEx]
 26819  			iNdEx++
 26820  			wire |= uint64(b&0x7F) << shift
 26821  			if b < 0x80 {
 26822  				break
 26823  			}
 26824  		}
 26825  		fieldNum := int32(wire >> 3)
 26826  		wireType := int(wire & 0x7)
 26827  		if wireType == 4 {
 26828  			return fmt.Errorf("proto: ColPosMap: wiretype end group for non-group")
 26829  		}
 26830  		if fieldNum <= 0 {
 26831  			return fmt.Errorf("proto: ColPosMap: illegal tag %d (wire type %d)", fieldNum, wire)
 26832  		}
 26833  		switch fieldNum {
 26834  		case 1:
 26835  			if wireType != 2 {
 26836  				return fmt.Errorf("proto: wrong wireType = %d for field Map", wireType)
 26837  			}
 26838  			var msglen int
 26839  			for shift := uint(0); ; shift += 7 {
 26840  				if shift >= 64 {
 26841  					return ErrIntOverflowPlan
 26842  				}
 26843  				if iNdEx >= l {
 26844  					return io.ErrUnexpectedEOF
 26845  				}
 26846  				b := dAtA[iNdEx]
 26847  				iNdEx++
 26848  				msglen |= int(b&0x7F) << shift
 26849  				if b < 0x80 {
 26850  					break
 26851  				}
 26852  			}
 26853  			if msglen < 0 {
 26854  				return ErrInvalidLengthPlan
 26855  			}
 26856  			postIndex := iNdEx + msglen
 26857  			if postIndex < 0 {
 26858  				return ErrInvalidLengthPlan
 26859  			}
 26860  			if postIndex > l {
 26861  				return io.ErrUnexpectedEOF
 26862  			}
 26863  			if m.Map == nil {
 26864  				m.Map = make(map[string]int32)
 26865  			}
 26866  			var mapkey string
 26867  			var mapvalue int32
 26868  			for iNdEx < postIndex {
 26869  				entryPreIndex := iNdEx
 26870  				var wire uint64
 26871  				for shift := uint(0); ; shift += 7 {
 26872  					if shift >= 64 {
 26873  						return ErrIntOverflowPlan
 26874  					}
 26875  					if iNdEx >= l {
 26876  						return io.ErrUnexpectedEOF
 26877  					}
 26878  					b := dAtA[iNdEx]
 26879  					iNdEx++
 26880  					wire |= uint64(b&0x7F) << shift
 26881  					if b < 0x80 {
 26882  						break
 26883  					}
 26884  				}
 26885  				fieldNum := int32(wire >> 3)
 26886  				if fieldNum == 1 {
 26887  					var stringLenmapkey uint64
 26888  					for shift := uint(0); ; shift += 7 {
 26889  						if shift >= 64 {
 26890  							return ErrIntOverflowPlan
 26891  						}
 26892  						if iNdEx >= l {
 26893  							return io.ErrUnexpectedEOF
 26894  						}
 26895  						b := dAtA[iNdEx]
 26896  						iNdEx++
 26897  						stringLenmapkey |= uint64(b&0x7F) << shift
 26898  						if b < 0x80 {
 26899  							break
 26900  						}
 26901  					}
 26902  					intStringLenmapkey := int(stringLenmapkey)
 26903  					if intStringLenmapkey < 0 {
 26904  						return ErrInvalidLengthPlan
 26905  					}
 26906  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 26907  					if postStringIndexmapkey < 0 {
 26908  						return ErrInvalidLengthPlan
 26909  					}
 26910  					if postStringIndexmapkey > l {
 26911  						return io.ErrUnexpectedEOF
 26912  					}
 26913  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 26914  					iNdEx = postStringIndexmapkey
 26915  				} else if fieldNum == 2 {
 26916  					for shift := uint(0); ; shift += 7 {
 26917  						if shift >= 64 {
 26918  							return ErrIntOverflowPlan
 26919  						}
 26920  						if iNdEx >= l {
 26921  							return io.ErrUnexpectedEOF
 26922  						}
 26923  						b := dAtA[iNdEx]
 26924  						iNdEx++
 26925  						mapvalue |= int32(b&0x7F) << shift
 26926  						if b < 0x80 {
 26927  							break
 26928  						}
 26929  					}
 26930  				} else {
 26931  					iNdEx = entryPreIndex
 26932  					skippy, err := skipPlan(dAtA[iNdEx:])
 26933  					if err != nil {
 26934  						return err
 26935  					}
 26936  					if (skippy < 0) || (iNdEx+skippy) < 0 {
 26937  						return ErrInvalidLengthPlan
 26938  					}
 26939  					if (iNdEx + skippy) > postIndex {
 26940  						return io.ErrUnexpectedEOF
 26941  					}
 26942  					iNdEx += skippy
 26943  				}
 26944  			}
 26945  			m.Map[mapkey] = mapvalue
 26946  			iNdEx = postIndex
 26947  		default:
 26948  			iNdEx = preIndex
 26949  			skippy, err := skipPlan(dAtA[iNdEx:])
 26950  			if err != nil {
 26951  				return err
 26952  			}
 26953  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 26954  				return ErrInvalidLengthPlan
 26955  			}
 26956  			if (iNdEx + skippy) > l {
 26957  				return io.ErrUnexpectedEOF
 26958  			}
 26959  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 26960  			iNdEx += skippy
 26961  		}
 26962  	}
 26963  
 26964  	if iNdEx > l {
 26965  		return io.ErrUnexpectedEOF
 26966  	}
 26967  	return nil
 26968  }
 26969  func (m *DeleteCtx) Unmarshal(dAtA []byte) error {
 26970  	l := len(dAtA)
 26971  	iNdEx := 0
 26972  	for iNdEx < l {
 26973  		preIndex := iNdEx
 26974  		var wire uint64
 26975  		for shift := uint(0); ; shift += 7 {
 26976  			if shift >= 64 {
 26977  				return ErrIntOverflowPlan
 26978  			}
 26979  			if iNdEx >= l {
 26980  				return io.ErrUnexpectedEOF
 26981  			}
 26982  			b := dAtA[iNdEx]
 26983  			iNdEx++
 26984  			wire |= uint64(b&0x7F) << shift
 26985  			if b < 0x80 {
 26986  				break
 26987  			}
 26988  		}
 26989  		fieldNum := int32(wire >> 3)
 26990  		wireType := int(wire & 0x7)
 26991  		if wireType == 4 {
 26992  			return fmt.Errorf("proto: DeleteCtx: wiretype end group for non-group")
 26993  		}
 26994  		if fieldNum <= 0 {
 26995  			return fmt.Errorf("proto: DeleteCtx: illegal tag %d (wire type %d)", fieldNum, wire)
 26996  		}
 26997  		switch fieldNum {
 26998  		case 1:
 26999  			if wireType != 2 {
 27000  				return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType)
 27001  			}
 27002  			var msglen int
 27003  			for shift := uint(0); ; shift += 7 {
 27004  				if shift >= 64 {
 27005  					return ErrIntOverflowPlan
 27006  				}
 27007  				if iNdEx >= l {
 27008  					return io.ErrUnexpectedEOF
 27009  				}
 27010  				b := dAtA[iNdEx]
 27011  				iNdEx++
 27012  				msglen |= int(b&0x7F) << shift
 27013  				if b < 0x80 {
 27014  					break
 27015  				}
 27016  			}
 27017  			if msglen < 0 {
 27018  				return ErrInvalidLengthPlan
 27019  			}
 27020  			postIndex := iNdEx + msglen
 27021  			if postIndex < 0 {
 27022  				return ErrInvalidLengthPlan
 27023  			}
 27024  			if postIndex > l {
 27025  				return io.ErrUnexpectedEOF
 27026  			}
 27027  			m.Ref = append(m.Ref, &ObjectRef{})
 27028  			if err := m.Ref[len(m.Ref)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27029  				return err
 27030  			}
 27031  			iNdEx = postIndex
 27032  		case 2:
 27033  			if wireType != 2 {
 27034  				return fmt.Errorf("proto: wrong wireType = %d for field IdxRef", wireType)
 27035  			}
 27036  			var msglen int
 27037  			for shift := uint(0); ; shift += 7 {
 27038  				if shift >= 64 {
 27039  					return ErrIntOverflowPlan
 27040  				}
 27041  				if iNdEx >= l {
 27042  					return io.ErrUnexpectedEOF
 27043  				}
 27044  				b := dAtA[iNdEx]
 27045  				iNdEx++
 27046  				msglen |= int(b&0x7F) << shift
 27047  				if b < 0x80 {
 27048  					break
 27049  				}
 27050  			}
 27051  			if msglen < 0 {
 27052  				return ErrInvalidLengthPlan
 27053  			}
 27054  			postIndex := iNdEx + msglen
 27055  			if postIndex < 0 {
 27056  				return ErrInvalidLengthPlan
 27057  			}
 27058  			if postIndex > l {
 27059  				return io.ErrUnexpectedEOF
 27060  			}
 27061  			m.IdxRef = append(m.IdxRef, &ObjectRef{})
 27062  			if err := m.IdxRef[len(m.IdxRef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27063  				return err
 27064  			}
 27065  			iNdEx = postIndex
 27066  		case 3:
 27067  			if wireType == 0 {
 27068  				var v int32
 27069  				for shift := uint(0); ; shift += 7 {
 27070  					if shift >= 64 {
 27071  						return ErrIntOverflowPlan
 27072  					}
 27073  					if iNdEx >= l {
 27074  						return io.ErrUnexpectedEOF
 27075  					}
 27076  					b := dAtA[iNdEx]
 27077  					iNdEx++
 27078  					v |= int32(b&0x7F) << shift
 27079  					if b < 0x80 {
 27080  						break
 27081  					}
 27082  				}
 27083  				m.IdxIdx = append(m.IdxIdx, v)
 27084  			} else if wireType == 2 {
 27085  				var packedLen int
 27086  				for shift := uint(0); ; shift += 7 {
 27087  					if shift >= 64 {
 27088  						return ErrIntOverflowPlan
 27089  					}
 27090  					if iNdEx >= l {
 27091  						return io.ErrUnexpectedEOF
 27092  					}
 27093  					b := dAtA[iNdEx]
 27094  					iNdEx++
 27095  					packedLen |= int(b&0x7F) << shift
 27096  					if b < 0x80 {
 27097  						break
 27098  					}
 27099  				}
 27100  				if packedLen < 0 {
 27101  					return ErrInvalidLengthPlan
 27102  				}
 27103  				postIndex := iNdEx + packedLen
 27104  				if postIndex < 0 {
 27105  					return ErrInvalidLengthPlan
 27106  				}
 27107  				if postIndex > l {
 27108  					return io.ErrUnexpectedEOF
 27109  				}
 27110  				var elementCount int
 27111  				var count int
 27112  				for _, integer := range dAtA[iNdEx:postIndex] {
 27113  					if integer < 128 {
 27114  						count++
 27115  					}
 27116  				}
 27117  				elementCount = count
 27118  				if elementCount != 0 && len(m.IdxIdx) == 0 {
 27119  					m.IdxIdx = make([]int32, 0, elementCount)
 27120  				}
 27121  				for iNdEx < postIndex {
 27122  					var v int32
 27123  					for shift := uint(0); ; shift += 7 {
 27124  						if shift >= 64 {
 27125  							return ErrIntOverflowPlan
 27126  						}
 27127  						if iNdEx >= l {
 27128  							return io.ErrUnexpectedEOF
 27129  						}
 27130  						b := dAtA[iNdEx]
 27131  						iNdEx++
 27132  						v |= int32(b&0x7F) << shift
 27133  						if b < 0x80 {
 27134  							break
 27135  						}
 27136  					}
 27137  					m.IdxIdx = append(m.IdxIdx, v)
 27138  				}
 27139  			} else {
 27140  				return fmt.Errorf("proto: wrong wireType = %d for field IdxIdx", wireType)
 27141  			}
 27142  		case 4:
 27143  			if wireType != 2 {
 27144  				return fmt.Errorf("proto: wrong wireType = %d for field OnRestrictRef", wireType)
 27145  			}
 27146  			var msglen int
 27147  			for shift := uint(0); ; shift += 7 {
 27148  				if shift >= 64 {
 27149  					return ErrIntOverflowPlan
 27150  				}
 27151  				if iNdEx >= l {
 27152  					return io.ErrUnexpectedEOF
 27153  				}
 27154  				b := dAtA[iNdEx]
 27155  				iNdEx++
 27156  				msglen |= int(b&0x7F) << shift
 27157  				if b < 0x80 {
 27158  					break
 27159  				}
 27160  			}
 27161  			if msglen < 0 {
 27162  				return ErrInvalidLengthPlan
 27163  			}
 27164  			postIndex := iNdEx + msglen
 27165  			if postIndex < 0 {
 27166  				return ErrInvalidLengthPlan
 27167  			}
 27168  			if postIndex > l {
 27169  				return io.ErrUnexpectedEOF
 27170  			}
 27171  			m.OnRestrictRef = append(m.OnRestrictRef, &ObjectRef{})
 27172  			if err := m.OnRestrictRef[len(m.OnRestrictRef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27173  				return err
 27174  			}
 27175  			iNdEx = postIndex
 27176  		case 5:
 27177  			if wireType == 0 {
 27178  				var v int32
 27179  				for shift := uint(0); ; shift += 7 {
 27180  					if shift >= 64 {
 27181  						return ErrIntOverflowPlan
 27182  					}
 27183  					if iNdEx >= l {
 27184  						return io.ErrUnexpectedEOF
 27185  					}
 27186  					b := dAtA[iNdEx]
 27187  					iNdEx++
 27188  					v |= int32(b&0x7F) << shift
 27189  					if b < 0x80 {
 27190  						break
 27191  					}
 27192  				}
 27193  				m.OnRestrictIdx = append(m.OnRestrictIdx, v)
 27194  			} else if wireType == 2 {
 27195  				var packedLen int
 27196  				for shift := uint(0); ; shift += 7 {
 27197  					if shift >= 64 {
 27198  						return ErrIntOverflowPlan
 27199  					}
 27200  					if iNdEx >= l {
 27201  						return io.ErrUnexpectedEOF
 27202  					}
 27203  					b := dAtA[iNdEx]
 27204  					iNdEx++
 27205  					packedLen |= int(b&0x7F) << shift
 27206  					if b < 0x80 {
 27207  						break
 27208  					}
 27209  				}
 27210  				if packedLen < 0 {
 27211  					return ErrInvalidLengthPlan
 27212  				}
 27213  				postIndex := iNdEx + packedLen
 27214  				if postIndex < 0 {
 27215  					return ErrInvalidLengthPlan
 27216  				}
 27217  				if postIndex > l {
 27218  					return io.ErrUnexpectedEOF
 27219  				}
 27220  				var elementCount int
 27221  				var count int
 27222  				for _, integer := range dAtA[iNdEx:postIndex] {
 27223  					if integer < 128 {
 27224  						count++
 27225  					}
 27226  				}
 27227  				elementCount = count
 27228  				if elementCount != 0 && len(m.OnRestrictIdx) == 0 {
 27229  					m.OnRestrictIdx = make([]int32, 0, elementCount)
 27230  				}
 27231  				for iNdEx < postIndex {
 27232  					var v int32
 27233  					for shift := uint(0); ; shift += 7 {
 27234  						if shift >= 64 {
 27235  							return ErrIntOverflowPlan
 27236  						}
 27237  						if iNdEx >= l {
 27238  							return io.ErrUnexpectedEOF
 27239  						}
 27240  						b := dAtA[iNdEx]
 27241  						iNdEx++
 27242  						v |= int32(b&0x7F) << shift
 27243  						if b < 0x80 {
 27244  							break
 27245  						}
 27246  					}
 27247  					m.OnRestrictIdx = append(m.OnRestrictIdx, v)
 27248  				}
 27249  			} else {
 27250  				return fmt.Errorf("proto: wrong wireType = %d for field OnRestrictIdx", wireType)
 27251  			}
 27252  		case 6:
 27253  			if wireType != 2 {
 27254  				return fmt.Errorf("proto: wrong wireType = %d for field OnCascadeRef", wireType)
 27255  			}
 27256  			var msglen int
 27257  			for shift := uint(0); ; shift += 7 {
 27258  				if shift >= 64 {
 27259  					return ErrIntOverflowPlan
 27260  				}
 27261  				if iNdEx >= l {
 27262  					return io.ErrUnexpectedEOF
 27263  				}
 27264  				b := dAtA[iNdEx]
 27265  				iNdEx++
 27266  				msglen |= int(b&0x7F) << shift
 27267  				if b < 0x80 {
 27268  					break
 27269  				}
 27270  			}
 27271  			if msglen < 0 {
 27272  				return ErrInvalidLengthPlan
 27273  			}
 27274  			postIndex := iNdEx + msglen
 27275  			if postIndex < 0 {
 27276  				return ErrInvalidLengthPlan
 27277  			}
 27278  			if postIndex > l {
 27279  				return io.ErrUnexpectedEOF
 27280  			}
 27281  			m.OnCascadeRef = append(m.OnCascadeRef, &ObjectRef{})
 27282  			if err := m.OnCascadeRef[len(m.OnCascadeRef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27283  				return err
 27284  			}
 27285  			iNdEx = postIndex
 27286  		case 7:
 27287  			if wireType == 0 {
 27288  				var v int32
 27289  				for shift := uint(0); ; shift += 7 {
 27290  					if shift >= 64 {
 27291  						return ErrIntOverflowPlan
 27292  					}
 27293  					if iNdEx >= l {
 27294  						return io.ErrUnexpectedEOF
 27295  					}
 27296  					b := dAtA[iNdEx]
 27297  					iNdEx++
 27298  					v |= int32(b&0x7F) << shift
 27299  					if b < 0x80 {
 27300  						break
 27301  					}
 27302  				}
 27303  				m.OnCascadeIdx = append(m.OnCascadeIdx, v)
 27304  			} else if wireType == 2 {
 27305  				var packedLen int
 27306  				for shift := uint(0); ; shift += 7 {
 27307  					if shift >= 64 {
 27308  						return ErrIntOverflowPlan
 27309  					}
 27310  					if iNdEx >= l {
 27311  						return io.ErrUnexpectedEOF
 27312  					}
 27313  					b := dAtA[iNdEx]
 27314  					iNdEx++
 27315  					packedLen |= int(b&0x7F) << shift
 27316  					if b < 0x80 {
 27317  						break
 27318  					}
 27319  				}
 27320  				if packedLen < 0 {
 27321  					return ErrInvalidLengthPlan
 27322  				}
 27323  				postIndex := iNdEx + packedLen
 27324  				if postIndex < 0 {
 27325  					return ErrInvalidLengthPlan
 27326  				}
 27327  				if postIndex > l {
 27328  					return io.ErrUnexpectedEOF
 27329  				}
 27330  				var elementCount int
 27331  				var count int
 27332  				for _, integer := range dAtA[iNdEx:postIndex] {
 27333  					if integer < 128 {
 27334  						count++
 27335  					}
 27336  				}
 27337  				elementCount = count
 27338  				if elementCount != 0 && len(m.OnCascadeIdx) == 0 {
 27339  					m.OnCascadeIdx = make([]int32, 0, elementCount)
 27340  				}
 27341  				for iNdEx < postIndex {
 27342  					var v int32
 27343  					for shift := uint(0); ; shift += 7 {
 27344  						if shift >= 64 {
 27345  							return ErrIntOverflowPlan
 27346  						}
 27347  						if iNdEx >= l {
 27348  							return io.ErrUnexpectedEOF
 27349  						}
 27350  						b := dAtA[iNdEx]
 27351  						iNdEx++
 27352  						v |= int32(b&0x7F) << shift
 27353  						if b < 0x80 {
 27354  							break
 27355  						}
 27356  					}
 27357  					m.OnCascadeIdx = append(m.OnCascadeIdx, v)
 27358  				}
 27359  			} else {
 27360  				return fmt.Errorf("proto: wrong wireType = %d for field OnCascadeIdx", wireType)
 27361  			}
 27362  		case 8:
 27363  			if wireType != 2 {
 27364  				return fmt.Errorf("proto: wrong wireType = %d for field OnSetRef", wireType)
 27365  			}
 27366  			var msglen int
 27367  			for shift := uint(0); ; shift += 7 {
 27368  				if shift >= 64 {
 27369  					return ErrIntOverflowPlan
 27370  				}
 27371  				if iNdEx >= l {
 27372  					return io.ErrUnexpectedEOF
 27373  				}
 27374  				b := dAtA[iNdEx]
 27375  				iNdEx++
 27376  				msglen |= int(b&0x7F) << shift
 27377  				if b < 0x80 {
 27378  					break
 27379  				}
 27380  			}
 27381  			if msglen < 0 {
 27382  				return ErrInvalidLengthPlan
 27383  			}
 27384  			postIndex := iNdEx + msglen
 27385  			if postIndex < 0 {
 27386  				return ErrInvalidLengthPlan
 27387  			}
 27388  			if postIndex > l {
 27389  				return io.ErrUnexpectedEOF
 27390  			}
 27391  			m.OnSetRef = append(m.OnSetRef, &ObjectRef{})
 27392  			if err := m.OnSetRef[len(m.OnSetRef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27393  				return err
 27394  			}
 27395  			iNdEx = postIndex
 27396  		case 9:
 27397  			if wireType != 2 {
 27398  				return fmt.Errorf("proto: wrong wireType = %d for field OnSetDef", wireType)
 27399  			}
 27400  			var msglen int
 27401  			for shift := uint(0); ; shift += 7 {
 27402  				if shift >= 64 {
 27403  					return ErrIntOverflowPlan
 27404  				}
 27405  				if iNdEx >= l {
 27406  					return io.ErrUnexpectedEOF
 27407  				}
 27408  				b := dAtA[iNdEx]
 27409  				iNdEx++
 27410  				msglen |= int(b&0x7F) << shift
 27411  				if b < 0x80 {
 27412  					break
 27413  				}
 27414  			}
 27415  			if msglen < 0 {
 27416  				return ErrInvalidLengthPlan
 27417  			}
 27418  			postIndex := iNdEx + msglen
 27419  			if postIndex < 0 {
 27420  				return ErrInvalidLengthPlan
 27421  			}
 27422  			if postIndex > l {
 27423  				return io.ErrUnexpectedEOF
 27424  			}
 27425  			m.OnSetDef = append(m.OnSetDef, &TableDef{})
 27426  			if err := m.OnSetDef[len(m.OnSetDef)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27427  				return err
 27428  			}
 27429  			iNdEx = postIndex
 27430  		case 10:
 27431  			if wireType != 2 {
 27432  				return fmt.Errorf("proto: wrong wireType = %d for field OnSetIdx", wireType)
 27433  			}
 27434  			var msglen int
 27435  			for shift := uint(0); ; shift += 7 {
 27436  				if shift >= 64 {
 27437  					return ErrIntOverflowPlan
 27438  				}
 27439  				if iNdEx >= l {
 27440  					return io.ErrUnexpectedEOF
 27441  				}
 27442  				b := dAtA[iNdEx]
 27443  				iNdEx++
 27444  				msglen |= int(b&0x7F) << shift
 27445  				if b < 0x80 {
 27446  					break
 27447  				}
 27448  			}
 27449  			if msglen < 0 {
 27450  				return ErrInvalidLengthPlan
 27451  			}
 27452  			postIndex := iNdEx + msglen
 27453  			if postIndex < 0 {
 27454  				return ErrInvalidLengthPlan
 27455  			}
 27456  			if postIndex > l {
 27457  				return io.ErrUnexpectedEOF
 27458  			}
 27459  			m.OnSetIdx = append(m.OnSetIdx, &IdList{})
 27460  			if err := m.OnSetIdx[len(m.OnSetIdx)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27461  				return err
 27462  			}
 27463  			iNdEx = postIndex
 27464  		case 11:
 27465  			if wireType != 2 {
 27466  				return fmt.Errorf("proto: wrong wireType = %d for field OnSetUpdateCol", wireType)
 27467  			}
 27468  			var msglen int
 27469  			for shift := uint(0); ; shift += 7 {
 27470  				if shift >= 64 {
 27471  					return ErrIntOverflowPlan
 27472  				}
 27473  				if iNdEx >= l {
 27474  					return io.ErrUnexpectedEOF
 27475  				}
 27476  				b := dAtA[iNdEx]
 27477  				iNdEx++
 27478  				msglen |= int(b&0x7F) << shift
 27479  				if b < 0x80 {
 27480  					break
 27481  				}
 27482  			}
 27483  			if msglen < 0 {
 27484  				return ErrInvalidLengthPlan
 27485  			}
 27486  			postIndex := iNdEx + msglen
 27487  			if postIndex < 0 {
 27488  				return ErrInvalidLengthPlan
 27489  			}
 27490  			if postIndex > l {
 27491  				return io.ErrUnexpectedEOF
 27492  			}
 27493  			m.OnSetUpdateCol = append(m.OnSetUpdateCol, &ColPosMap{})
 27494  			if err := m.OnSetUpdateCol[len(m.OnSetUpdateCol)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27495  				return err
 27496  			}
 27497  			iNdEx = postIndex
 27498  		case 12:
 27499  			if wireType != 0 {
 27500  				return fmt.Errorf("proto: wrong wireType = %d for field CanTruncate", wireType)
 27501  			}
 27502  			var v int
 27503  			for shift := uint(0); ; shift += 7 {
 27504  				if shift >= 64 {
 27505  					return ErrIntOverflowPlan
 27506  				}
 27507  				if iNdEx >= l {
 27508  					return io.ErrUnexpectedEOF
 27509  				}
 27510  				b := dAtA[iNdEx]
 27511  				iNdEx++
 27512  				v |= int(b&0x7F) << shift
 27513  				if b < 0x80 {
 27514  					break
 27515  				}
 27516  			}
 27517  			m.CanTruncate = bool(v != 0)
 27518  		default:
 27519  			iNdEx = preIndex
 27520  			skippy, err := skipPlan(dAtA[iNdEx:])
 27521  			if err != nil {
 27522  				return err
 27523  			}
 27524  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 27525  				return ErrInvalidLengthPlan
 27526  			}
 27527  			if (iNdEx + skippy) > l {
 27528  				return io.ErrUnexpectedEOF
 27529  			}
 27530  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 27531  			iNdEx += skippy
 27532  		}
 27533  	}
 27534  
 27535  	if iNdEx > l {
 27536  		return io.ErrUnexpectedEOF
 27537  	}
 27538  	return nil
 27539  }
 27540  func (m *Query) Unmarshal(dAtA []byte) error {
 27541  	l := len(dAtA)
 27542  	iNdEx := 0
 27543  	for iNdEx < l {
 27544  		preIndex := iNdEx
 27545  		var wire uint64
 27546  		for shift := uint(0); ; shift += 7 {
 27547  			if shift >= 64 {
 27548  				return ErrIntOverflowPlan
 27549  			}
 27550  			if iNdEx >= l {
 27551  				return io.ErrUnexpectedEOF
 27552  			}
 27553  			b := dAtA[iNdEx]
 27554  			iNdEx++
 27555  			wire |= uint64(b&0x7F) << shift
 27556  			if b < 0x80 {
 27557  				break
 27558  			}
 27559  		}
 27560  		fieldNum := int32(wire >> 3)
 27561  		wireType := int(wire & 0x7)
 27562  		if wireType == 4 {
 27563  			return fmt.Errorf("proto: Query: wiretype end group for non-group")
 27564  		}
 27565  		if fieldNum <= 0 {
 27566  			return fmt.Errorf("proto: Query: illegal tag %d (wire type %d)", fieldNum, wire)
 27567  		}
 27568  		switch fieldNum {
 27569  		case 1:
 27570  			if wireType != 0 {
 27571  				return fmt.Errorf("proto: wrong wireType = %d for field StmtType", wireType)
 27572  			}
 27573  			m.StmtType = 0
 27574  			for shift := uint(0); ; shift += 7 {
 27575  				if shift >= 64 {
 27576  					return ErrIntOverflowPlan
 27577  				}
 27578  				if iNdEx >= l {
 27579  					return io.ErrUnexpectedEOF
 27580  				}
 27581  				b := dAtA[iNdEx]
 27582  				iNdEx++
 27583  				m.StmtType |= Query_StatementType(b&0x7F) << shift
 27584  				if b < 0x80 {
 27585  					break
 27586  				}
 27587  			}
 27588  		case 2:
 27589  			if wireType == 0 {
 27590  				var v int32
 27591  				for shift := uint(0); ; shift += 7 {
 27592  					if shift >= 64 {
 27593  						return ErrIntOverflowPlan
 27594  					}
 27595  					if iNdEx >= l {
 27596  						return io.ErrUnexpectedEOF
 27597  					}
 27598  					b := dAtA[iNdEx]
 27599  					iNdEx++
 27600  					v |= int32(b&0x7F) << shift
 27601  					if b < 0x80 {
 27602  						break
 27603  					}
 27604  				}
 27605  				m.Steps = append(m.Steps, v)
 27606  			} else if wireType == 2 {
 27607  				var packedLen int
 27608  				for shift := uint(0); ; shift += 7 {
 27609  					if shift >= 64 {
 27610  						return ErrIntOverflowPlan
 27611  					}
 27612  					if iNdEx >= l {
 27613  						return io.ErrUnexpectedEOF
 27614  					}
 27615  					b := dAtA[iNdEx]
 27616  					iNdEx++
 27617  					packedLen |= int(b&0x7F) << shift
 27618  					if b < 0x80 {
 27619  						break
 27620  					}
 27621  				}
 27622  				if packedLen < 0 {
 27623  					return ErrInvalidLengthPlan
 27624  				}
 27625  				postIndex := iNdEx + packedLen
 27626  				if postIndex < 0 {
 27627  					return ErrInvalidLengthPlan
 27628  				}
 27629  				if postIndex > l {
 27630  					return io.ErrUnexpectedEOF
 27631  				}
 27632  				var elementCount int
 27633  				var count int
 27634  				for _, integer := range dAtA[iNdEx:postIndex] {
 27635  					if integer < 128 {
 27636  						count++
 27637  					}
 27638  				}
 27639  				elementCount = count
 27640  				if elementCount != 0 && len(m.Steps) == 0 {
 27641  					m.Steps = make([]int32, 0, elementCount)
 27642  				}
 27643  				for iNdEx < postIndex {
 27644  					var v int32
 27645  					for shift := uint(0); ; shift += 7 {
 27646  						if shift >= 64 {
 27647  							return ErrIntOverflowPlan
 27648  						}
 27649  						if iNdEx >= l {
 27650  							return io.ErrUnexpectedEOF
 27651  						}
 27652  						b := dAtA[iNdEx]
 27653  						iNdEx++
 27654  						v |= int32(b&0x7F) << shift
 27655  						if b < 0x80 {
 27656  							break
 27657  						}
 27658  					}
 27659  					m.Steps = append(m.Steps, v)
 27660  				}
 27661  			} else {
 27662  				return fmt.Errorf("proto: wrong wireType = %d for field Steps", wireType)
 27663  			}
 27664  		case 3:
 27665  			if wireType != 2 {
 27666  				return fmt.Errorf("proto: wrong wireType = %d for field Nodes", wireType)
 27667  			}
 27668  			var msglen int
 27669  			for shift := uint(0); ; shift += 7 {
 27670  				if shift >= 64 {
 27671  					return ErrIntOverflowPlan
 27672  				}
 27673  				if iNdEx >= l {
 27674  					return io.ErrUnexpectedEOF
 27675  				}
 27676  				b := dAtA[iNdEx]
 27677  				iNdEx++
 27678  				msglen |= int(b&0x7F) << shift
 27679  				if b < 0x80 {
 27680  					break
 27681  				}
 27682  			}
 27683  			if msglen < 0 {
 27684  				return ErrInvalidLengthPlan
 27685  			}
 27686  			postIndex := iNdEx + msglen
 27687  			if postIndex < 0 {
 27688  				return ErrInvalidLengthPlan
 27689  			}
 27690  			if postIndex > l {
 27691  				return io.ErrUnexpectedEOF
 27692  			}
 27693  			m.Nodes = append(m.Nodes, &Node{})
 27694  			if err := m.Nodes[len(m.Nodes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27695  				return err
 27696  			}
 27697  			iNdEx = postIndex
 27698  		case 4:
 27699  			if wireType != 2 {
 27700  				return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
 27701  			}
 27702  			var msglen int
 27703  			for shift := uint(0); ; shift += 7 {
 27704  				if shift >= 64 {
 27705  					return ErrIntOverflowPlan
 27706  				}
 27707  				if iNdEx >= l {
 27708  					return io.ErrUnexpectedEOF
 27709  				}
 27710  				b := dAtA[iNdEx]
 27711  				iNdEx++
 27712  				msglen |= int(b&0x7F) << shift
 27713  				if b < 0x80 {
 27714  					break
 27715  				}
 27716  			}
 27717  			if msglen < 0 {
 27718  				return ErrInvalidLengthPlan
 27719  			}
 27720  			postIndex := iNdEx + msglen
 27721  			if postIndex < 0 {
 27722  				return ErrInvalidLengthPlan
 27723  			}
 27724  			if postIndex > l {
 27725  				return io.ErrUnexpectedEOF
 27726  			}
 27727  			m.Params = append(m.Params, &Expr{})
 27728  			if err := m.Params[len(m.Params)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27729  				return err
 27730  			}
 27731  			iNdEx = postIndex
 27732  		case 5:
 27733  			if wireType != 2 {
 27734  				return fmt.Errorf("proto: wrong wireType = %d for field Headings", wireType)
 27735  			}
 27736  			var stringLen uint64
 27737  			for shift := uint(0); ; shift += 7 {
 27738  				if shift >= 64 {
 27739  					return ErrIntOverflowPlan
 27740  				}
 27741  				if iNdEx >= l {
 27742  					return io.ErrUnexpectedEOF
 27743  				}
 27744  				b := dAtA[iNdEx]
 27745  				iNdEx++
 27746  				stringLen |= uint64(b&0x7F) << shift
 27747  				if b < 0x80 {
 27748  					break
 27749  				}
 27750  			}
 27751  			intStringLen := int(stringLen)
 27752  			if intStringLen < 0 {
 27753  				return ErrInvalidLengthPlan
 27754  			}
 27755  			postIndex := iNdEx + intStringLen
 27756  			if postIndex < 0 {
 27757  				return ErrInvalidLengthPlan
 27758  			}
 27759  			if postIndex > l {
 27760  				return io.ErrUnexpectedEOF
 27761  			}
 27762  			m.Headings = append(m.Headings, string(dAtA[iNdEx:postIndex]))
 27763  			iNdEx = postIndex
 27764  		case 6:
 27765  			if wireType != 0 {
 27766  				return fmt.Errorf("proto: wrong wireType = %d for field LoadTag", wireType)
 27767  			}
 27768  			var v int
 27769  			for shift := uint(0); ; shift += 7 {
 27770  				if shift >= 64 {
 27771  					return ErrIntOverflowPlan
 27772  				}
 27773  				if iNdEx >= l {
 27774  					return io.ErrUnexpectedEOF
 27775  				}
 27776  				b := dAtA[iNdEx]
 27777  				iNdEx++
 27778  				v |= int(b&0x7F) << shift
 27779  				if b < 0x80 {
 27780  					break
 27781  				}
 27782  			}
 27783  			m.LoadTag = bool(v != 0)
 27784  		default:
 27785  			iNdEx = preIndex
 27786  			skippy, err := skipPlan(dAtA[iNdEx:])
 27787  			if err != nil {
 27788  				return err
 27789  			}
 27790  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 27791  				return ErrInvalidLengthPlan
 27792  			}
 27793  			if (iNdEx + skippy) > l {
 27794  				return io.ErrUnexpectedEOF
 27795  			}
 27796  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 27797  			iNdEx += skippy
 27798  		}
 27799  	}
 27800  
 27801  	if iNdEx > l {
 27802  		return io.ErrUnexpectedEOF
 27803  	}
 27804  	return nil
 27805  }
 27806  func (m *TransationControl) Unmarshal(dAtA []byte) error {
 27807  	l := len(dAtA)
 27808  	iNdEx := 0
 27809  	for iNdEx < l {
 27810  		preIndex := iNdEx
 27811  		var wire uint64
 27812  		for shift := uint(0); ; shift += 7 {
 27813  			if shift >= 64 {
 27814  				return ErrIntOverflowPlan
 27815  			}
 27816  			if iNdEx >= l {
 27817  				return io.ErrUnexpectedEOF
 27818  			}
 27819  			b := dAtA[iNdEx]
 27820  			iNdEx++
 27821  			wire |= uint64(b&0x7F) << shift
 27822  			if b < 0x80 {
 27823  				break
 27824  			}
 27825  		}
 27826  		fieldNum := int32(wire >> 3)
 27827  		wireType := int(wire & 0x7)
 27828  		if wireType == 4 {
 27829  			return fmt.Errorf("proto: TransationControl: wiretype end group for non-group")
 27830  		}
 27831  		if fieldNum <= 0 {
 27832  			return fmt.Errorf("proto: TransationControl: illegal tag %d (wire type %d)", fieldNum, wire)
 27833  		}
 27834  		switch fieldNum {
 27835  		case 1:
 27836  			if wireType != 0 {
 27837  				return fmt.Errorf("proto: wrong wireType = %d for field TclType", wireType)
 27838  			}
 27839  			m.TclType = 0
 27840  			for shift := uint(0); ; shift += 7 {
 27841  				if shift >= 64 {
 27842  					return ErrIntOverflowPlan
 27843  				}
 27844  				if iNdEx >= l {
 27845  					return io.ErrUnexpectedEOF
 27846  				}
 27847  				b := dAtA[iNdEx]
 27848  				iNdEx++
 27849  				m.TclType |= TransationControl_TclType(b&0x7F) << shift
 27850  				if b < 0x80 {
 27851  					break
 27852  				}
 27853  			}
 27854  		case 2:
 27855  			if wireType != 2 {
 27856  				return fmt.Errorf("proto: wrong wireType = %d for field Begin", wireType)
 27857  			}
 27858  			var msglen int
 27859  			for shift := uint(0); ; shift += 7 {
 27860  				if shift >= 64 {
 27861  					return ErrIntOverflowPlan
 27862  				}
 27863  				if iNdEx >= l {
 27864  					return io.ErrUnexpectedEOF
 27865  				}
 27866  				b := dAtA[iNdEx]
 27867  				iNdEx++
 27868  				msglen |= int(b&0x7F) << shift
 27869  				if b < 0x80 {
 27870  					break
 27871  				}
 27872  			}
 27873  			if msglen < 0 {
 27874  				return ErrInvalidLengthPlan
 27875  			}
 27876  			postIndex := iNdEx + msglen
 27877  			if postIndex < 0 {
 27878  				return ErrInvalidLengthPlan
 27879  			}
 27880  			if postIndex > l {
 27881  				return io.ErrUnexpectedEOF
 27882  			}
 27883  			v := &TransationBegin{}
 27884  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27885  				return err
 27886  			}
 27887  			m.Action = &TransationControl_Begin{v}
 27888  			iNdEx = postIndex
 27889  		case 3:
 27890  			if wireType != 2 {
 27891  				return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType)
 27892  			}
 27893  			var msglen int
 27894  			for shift := uint(0); ; shift += 7 {
 27895  				if shift >= 64 {
 27896  					return ErrIntOverflowPlan
 27897  				}
 27898  				if iNdEx >= l {
 27899  					return io.ErrUnexpectedEOF
 27900  				}
 27901  				b := dAtA[iNdEx]
 27902  				iNdEx++
 27903  				msglen |= int(b&0x7F) << shift
 27904  				if b < 0x80 {
 27905  					break
 27906  				}
 27907  			}
 27908  			if msglen < 0 {
 27909  				return ErrInvalidLengthPlan
 27910  			}
 27911  			postIndex := iNdEx + msglen
 27912  			if postIndex < 0 {
 27913  				return ErrInvalidLengthPlan
 27914  			}
 27915  			if postIndex > l {
 27916  				return io.ErrUnexpectedEOF
 27917  			}
 27918  			v := &TransationCommit{}
 27919  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27920  				return err
 27921  			}
 27922  			m.Action = &TransationControl_Commit{v}
 27923  			iNdEx = postIndex
 27924  		case 4:
 27925  			if wireType != 2 {
 27926  				return fmt.Errorf("proto: wrong wireType = %d for field Rollback", wireType)
 27927  			}
 27928  			var msglen int
 27929  			for shift := uint(0); ; shift += 7 {
 27930  				if shift >= 64 {
 27931  					return ErrIntOverflowPlan
 27932  				}
 27933  				if iNdEx >= l {
 27934  					return io.ErrUnexpectedEOF
 27935  				}
 27936  				b := dAtA[iNdEx]
 27937  				iNdEx++
 27938  				msglen |= int(b&0x7F) << shift
 27939  				if b < 0x80 {
 27940  					break
 27941  				}
 27942  			}
 27943  			if msglen < 0 {
 27944  				return ErrInvalidLengthPlan
 27945  			}
 27946  			postIndex := iNdEx + msglen
 27947  			if postIndex < 0 {
 27948  				return ErrInvalidLengthPlan
 27949  			}
 27950  			if postIndex > l {
 27951  				return io.ErrUnexpectedEOF
 27952  			}
 27953  			v := &TransationRollback{}
 27954  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 27955  				return err
 27956  			}
 27957  			m.Action = &TransationControl_Rollback{v}
 27958  			iNdEx = postIndex
 27959  		default:
 27960  			iNdEx = preIndex
 27961  			skippy, err := skipPlan(dAtA[iNdEx:])
 27962  			if err != nil {
 27963  				return err
 27964  			}
 27965  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 27966  				return ErrInvalidLengthPlan
 27967  			}
 27968  			if (iNdEx + skippy) > l {
 27969  				return io.ErrUnexpectedEOF
 27970  			}
 27971  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 27972  			iNdEx += skippy
 27973  		}
 27974  	}
 27975  
 27976  	if iNdEx > l {
 27977  		return io.ErrUnexpectedEOF
 27978  	}
 27979  	return nil
 27980  }
 27981  func (m *TransationBegin) Unmarshal(dAtA []byte) error {
 27982  	l := len(dAtA)
 27983  	iNdEx := 0
 27984  	for iNdEx < l {
 27985  		preIndex := iNdEx
 27986  		var wire uint64
 27987  		for shift := uint(0); ; shift += 7 {
 27988  			if shift >= 64 {
 27989  				return ErrIntOverflowPlan
 27990  			}
 27991  			if iNdEx >= l {
 27992  				return io.ErrUnexpectedEOF
 27993  			}
 27994  			b := dAtA[iNdEx]
 27995  			iNdEx++
 27996  			wire |= uint64(b&0x7F) << shift
 27997  			if b < 0x80 {
 27998  				break
 27999  			}
 28000  		}
 28001  		fieldNum := int32(wire >> 3)
 28002  		wireType := int(wire & 0x7)
 28003  		if wireType == 4 {
 28004  			return fmt.Errorf("proto: TransationBegin: wiretype end group for non-group")
 28005  		}
 28006  		if fieldNum <= 0 {
 28007  			return fmt.Errorf("proto: TransationBegin: illegal tag %d (wire type %d)", fieldNum, wire)
 28008  		}
 28009  		switch fieldNum {
 28010  		case 1:
 28011  			if wireType != 0 {
 28012  				return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
 28013  			}
 28014  			m.Mode = 0
 28015  			for shift := uint(0); ; shift += 7 {
 28016  				if shift >= 64 {
 28017  					return ErrIntOverflowPlan
 28018  				}
 28019  				if iNdEx >= l {
 28020  					return io.ErrUnexpectedEOF
 28021  				}
 28022  				b := dAtA[iNdEx]
 28023  				iNdEx++
 28024  				m.Mode |= TransationBegin_TransationMode(b&0x7F) << shift
 28025  				if b < 0x80 {
 28026  					break
 28027  				}
 28028  			}
 28029  		default:
 28030  			iNdEx = preIndex
 28031  			skippy, err := skipPlan(dAtA[iNdEx:])
 28032  			if err != nil {
 28033  				return err
 28034  			}
 28035  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 28036  				return ErrInvalidLengthPlan
 28037  			}
 28038  			if (iNdEx + skippy) > l {
 28039  				return io.ErrUnexpectedEOF
 28040  			}
 28041  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 28042  			iNdEx += skippy
 28043  		}
 28044  	}
 28045  
 28046  	if iNdEx > l {
 28047  		return io.ErrUnexpectedEOF
 28048  	}
 28049  	return nil
 28050  }
 28051  func (m *TransationCommit) Unmarshal(dAtA []byte) error {
 28052  	l := len(dAtA)
 28053  	iNdEx := 0
 28054  	for iNdEx < l {
 28055  		preIndex := iNdEx
 28056  		var wire uint64
 28057  		for shift := uint(0); ; shift += 7 {
 28058  			if shift >= 64 {
 28059  				return ErrIntOverflowPlan
 28060  			}
 28061  			if iNdEx >= l {
 28062  				return io.ErrUnexpectedEOF
 28063  			}
 28064  			b := dAtA[iNdEx]
 28065  			iNdEx++
 28066  			wire |= uint64(b&0x7F) << shift
 28067  			if b < 0x80 {
 28068  				break
 28069  			}
 28070  		}
 28071  		fieldNum := int32(wire >> 3)
 28072  		wireType := int(wire & 0x7)
 28073  		if wireType == 4 {
 28074  			return fmt.Errorf("proto: TransationCommit: wiretype end group for non-group")
 28075  		}
 28076  		if fieldNum <= 0 {
 28077  			return fmt.Errorf("proto: TransationCommit: illegal tag %d (wire type %d)", fieldNum, wire)
 28078  		}
 28079  		switch fieldNum {
 28080  		case 1:
 28081  			if wireType != 0 {
 28082  				return fmt.Errorf("proto: wrong wireType = %d for field CompletionType", wireType)
 28083  			}
 28084  			m.CompletionType = 0
 28085  			for shift := uint(0); ; shift += 7 {
 28086  				if shift >= 64 {
 28087  					return ErrIntOverflowPlan
 28088  				}
 28089  				if iNdEx >= l {
 28090  					return io.ErrUnexpectedEOF
 28091  				}
 28092  				b := dAtA[iNdEx]
 28093  				iNdEx++
 28094  				m.CompletionType |= TransationCompletionType(b&0x7F) << shift
 28095  				if b < 0x80 {
 28096  					break
 28097  				}
 28098  			}
 28099  		default:
 28100  			iNdEx = preIndex
 28101  			skippy, err := skipPlan(dAtA[iNdEx:])
 28102  			if err != nil {
 28103  				return err
 28104  			}
 28105  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 28106  				return ErrInvalidLengthPlan
 28107  			}
 28108  			if (iNdEx + skippy) > l {
 28109  				return io.ErrUnexpectedEOF
 28110  			}
 28111  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 28112  			iNdEx += skippy
 28113  		}
 28114  	}
 28115  
 28116  	if iNdEx > l {
 28117  		return io.ErrUnexpectedEOF
 28118  	}
 28119  	return nil
 28120  }
 28121  func (m *TransationRollback) Unmarshal(dAtA []byte) error {
 28122  	l := len(dAtA)
 28123  	iNdEx := 0
 28124  	for iNdEx < l {
 28125  		preIndex := iNdEx
 28126  		var wire uint64
 28127  		for shift := uint(0); ; shift += 7 {
 28128  			if shift >= 64 {
 28129  				return ErrIntOverflowPlan
 28130  			}
 28131  			if iNdEx >= l {
 28132  				return io.ErrUnexpectedEOF
 28133  			}
 28134  			b := dAtA[iNdEx]
 28135  			iNdEx++
 28136  			wire |= uint64(b&0x7F) << shift
 28137  			if b < 0x80 {
 28138  				break
 28139  			}
 28140  		}
 28141  		fieldNum := int32(wire >> 3)
 28142  		wireType := int(wire & 0x7)
 28143  		if wireType == 4 {
 28144  			return fmt.Errorf("proto: TransationRollback: wiretype end group for non-group")
 28145  		}
 28146  		if fieldNum <= 0 {
 28147  			return fmt.Errorf("proto: TransationRollback: illegal tag %d (wire type %d)", fieldNum, wire)
 28148  		}
 28149  		switch fieldNum {
 28150  		case 1:
 28151  			if wireType != 0 {
 28152  				return fmt.Errorf("proto: wrong wireType = %d for field CompletionType", wireType)
 28153  			}
 28154  			m.CompletionType = 0
 28155  			for shift := uint(0); ; shift += 7 {
 28156  				if shift >= 64 {
 28157  					return ErrIntOverflowPlan
 28158  				}
 28159  				if iNdEx >= l {
 28160  					return io.ErrUnexpectedEOF
 28161  				}
 28162  				b := dAtA[iNdEx]
 28163  				iNdEx++
 28164  				m.CompletionType |= TransationCompletionType(b&0x7F) << shift
 28165  				if b < 0x80 {
 28166  					break
 28167  				}
 28168  			}
 28169  		default:
 28170  			iNdEx = preIndex
 28171  			skippy, err := skipPlan(dAtA[iNdEx:])
 28172  			if err != nil {
 28173  				return err
 28174  			}
 28175  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 28176  				return ErrInvalidLengthPlan
 28177  			}
 28178  			if (iNdEx + skippy) > l {
 28179  				return io.ErrUnexpectedEOF
 28180  			}
 28181  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 28182  			iNdEx += skippy
 28183  		}
 28184  	}
 28185  
 28186  	if iNdEx > l {
 28187  		return io.ErrUnexpectedEOF
 28188  	}
 28189  	return nil
 28190  }
 28191  func (m *Plan) Unmarshal(dAtA []byte) error {
 28192  	l := len(dAtA)
 28193  	iNdEx := 0
 28194  	for iNdEx < l {
 28195  		preIndex := iNdEx
 28196  		var wire uint64
 28197  		for shift := uint(0); ; shift += 7 {
 28198  			if shift >= 64 {
 28199  				return ErrIntOverflowPlan
 28200  			}
 28201  			if iNdEx >= l {
 28202  				return io.ErrUnexpectedEOF
 28203  			}
 28204  			b := dAtA[iNdEx]
 28205  			iNdEx++
 28206  			wire |= uint64(b&0x7F) << shift
 28207  			if b < 0x80 {
 28208  				break
 28209  			}
 28210  		}
 28211  		fieldNum := int32(wire >> 3)
 28212  		wireType := int(wire & 0x7)
 28213  		if wireType == 4 {
 28214  			return fmt.Errorf("proto: Plan: wiretype end group for non-group")
 28215  		}
 28216  		if fieldNum <= 0 {
 28217  			return fmt.Errorf("proto: Plan: illegal tag %d (wire type %d)", fieldNum, wire)
 28218  		}
 28219  		switch fieldNum {
 28220  		case 1:
 28221  			if wireType != 2 {
 28222  				return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
 28223  			}
 28224  			var msglen int
 28225  			for shift := uint(0); ; shift += 7 {
 28226  				if shift >= 64 {
 28227  					return ErrIntOverflowPlan
 28228  				}
 28229  				if iNdEx >= l {
 28230  					return io.ErrUnexpectedEOF
 28231  				}
 28232  				b := dAtA[iNdEx]
 28233  				iNdEx++
 28234  				msglen |= int(b&0x7F) << shift
 28235  				if b < 0x80 {
 28236  					break
 28237  				}
 28238  			}
 28239  			if msglen < 0 {
 28240  				return ErrInvalidLengthPlan
 28241  			}
 28242  			postIndex := iNdEx + msglen
 28243  			if postIndex < 0 {
 28244  				return ErrInvalidLengthPlan
 28245  			}
 28246  			if postIndex > l {
 28247  				return io.ErrUnexpectedEOF
 28248  			}
 28249  			v := &Query{}
 28250  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28251  				return err
 28252  			}
 28253  			m.Plan = &Plan_Query{v}
 28254  			iNdEx = postIndex
 28255  		case 2:
 28256  			if wireType != 2 {
 28257  				return fmt.Errorf("proto: wrong wireType = %d for field Tcl", wireType)
 28258  			}
 28259  			var msglen int
 28260  			for shift := uint(0); ; shift += 7 {
 28261  				if shift >= 64 {
 28262  					return ErrIntOverflowPlan
 28263  				}
 28264  				if iNdEx >= l {
 28265  					return io.ErrUnexpectedEOF
 28266  				}
 28267  				b := dAtA[iNdEx]
 28268  				iNdEx++
 28269  				msglen |= int(b&0x7F) << shift
 28270  				if b < 0x80 {
 28271  					break
 28272  				}
 28273  			}
 28274  			if msglen < 0 {
 28275  				return ErrInvalidLengthPlan
 28276  			}
 28277  			postIndex := iNdEx + msglen
 28278  			if postIndex < 0 {
 28279  				return ErrInvalidLengthPlan
 28280  			}
 28281  			if postIndex > l {
 28282  				return io.ErrUnexpectedEOF
 28283  			}
 28284  			v := &TransationControl{}
 28285  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28286  				return err
 28287  			}
 28288  			m.Plan = &Plan_Tcl{v}
 28289  			iNdEx = postIndex
 28290  		case 3:
 28291  			if wireType != 2 {
 28292  				return fmt.Errorf("proto: wrong wireType = %d for field Ddl", wireType)
 28293  			}
 28294  			var msglen int
 28295  			for shift := uint(0); ; shift += 7 {
 28296  				if shift >= 64 {
 28297  					return ErrIntOverflowPlan
 28298  				}
 28299  				if iNdEx >= l {
 28300  					return io.ErrUnexpectedEOF
 28301  				}
 28302  				b := dAtA[iNdEx]
 28303  				iNdEx++
 28304  				msglen |= int(b&0x7F) << shift
 28305  				if b < 0x80 {
 28306  					break
 28307  				}
 28308  			}
 28309  			if msglen < 0 {
 28310  				return ErrInvalidLengthPlan
 28311  			}
 28312  			postIndex := iNdEx + msglen
 28313  			if postIndex < 0 {
 28314  				return ErrInvalidLengthPlan
 28315  			}
 28316  			if postIndex > l {
 28317  				return io.ErrUnexpectedEOF
 28318  			}
 28319  			v := &DataDefinition{}
 28320  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28321  				return err
 28322  			}
 28323  			m.Plan = &Plan_Ddl{v}
 28324  			iNdEx = postIndex
 28325  		case 4:
 28326  			if wireType != 2 {
 28327  				return fmt.Errorf("proto: wrong wireType = %d for field Dcl", wireType)
 28328  			}
 28329  			var msglen int
 28330  			for shift := uint(0); ; shift += 7 {
 28331  				if shift >= 64 {
 28332  					return ErrIntOverflowPlan
 28333  				}
 28334  				if iNdEx >= l {
 28335  					return io.ErrUnexpectedEOF
 28336  				}
 28337  				b := dAtA[iNdEx]
 28338  				iNdEx++
 28339  				msglen |= int(b&0x7F) << shift
 28340  				if b < 0x80 {
 28341  					break
 28342  				}
 28343  			}
 28344  			if msglen < 0 {
 28345  				return ErrInvalidLengthPlan
 28346  			}
 28347  			postIndex := iNdEx + msglen
 28348  			if postIndex < 0 {
 28349  				return ErrInvalidLengthPlan
 28350  			}
 28351  			if postIndex > l {
 28352  				return io.ErrUnexpectedEOF
 28353  			}
 28354  			v := &DataControl{}
 28355  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28356  				return err
 28357  			}
 28358  			m.Plan = &Plan_Dcl{v}
 28359  			iNdEx = postIndex
 28360  		default:
 28361  			iNdEx = preIndex
 28362  			skippy, err := skipPlan(dAtA[iNdEx:])
 28363  			if err != nil {
 28364  				return err
 28365  			}
 28366  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 28367  				return ErrInvalidLengthPlan
 28368  			}
 28369  			if (iNdEx + skippy) > l {
 28370  				return io.ErrUnexpectedEOF
 28371  			}
 28372  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 28373  			iNdEx += skippy
 28374  		}
 28375  	}
 28376  
 28377  	if iNdEx > l {
 28378  		return io.ErrUnexpectedEOF
 28379  	}
 28380  	return nil
 28381  }
 28382  func (m *Column) Unmarshal(dAtA []byte) error {
 28383  	l := len(dAtA)
 28384  	iNdEx := 0
 28385  	for iNdEx < l {
 28386  		preIndex := iNdEx
 28387  		var wire uint64
 28388  		for shift := uint(0); ; shift += 7 {
 28389  			if shift >= 64 {
 28390  				return ErrIntOverflowPlan
 28391  			}
 28392  			if iNdEx >= l {
 28393  				return io.ErrUnexpectedEOF
 28394  			}
 28395  			b := dAtA[iNdEx]
 28396  			iNdEx++
 28397  			wire |= uint64(b&0x7F) << shift
 28398  			if b < 0x80 {
 28399  				break
 28400  			}
 28401  		}
 28402  		fieldNum := int32(wire >> 3)
 28403  		wireType := int(wire & 0x7)
 28404  		if wireType == 4 {
 28405  			return fmt.Errorf("proto: column: wiretype end group for non-group")
 28406  		}
 28407  		if fieldNum <= 0 {
 28408  			return fmt.Errorf("proto: column: illegal tag %d (wire type %d)", fieldNum, wire)
 28409  		}
 28410  		switch fieldNum {
 28411  		case 1:
 28412  			if wireType != 2 {
 28413  				return fmt.Errorf("proto: wrong wireType = %d for field Column", wireType)
 28414  			}
 28415  			var msglen int
 28416  			for shift := uint(0); ; shift += 7 {
 28417  				if shift >= 64 {
 28418  					return ErrIntOverflowPlan
 28419  				}
 28420  				if iNdEx >= l {
 28421  					return io.ErrUnexpectedEOF
 28422  				}
 28423  				b := dAtA[iNdEx]
 28424  				iNdEx++
 28425  				msglen |= int(b&0x7F) << shift
 28426  				if b < 0x80 {
 28427  					break
 28428  				}
 28429  			}
 28430  			if msglen < 0 {
 28431  				return ErrInvalidLengthPlan
 28432  			}
 28433  			postIndex := iNdEx + msglen
 28434  			if postIndex < 0 {
 28435  				return ErrInvalidLengthPlan
 28436  			}
 28437  			if postIndex > l {
 28438  				return io.ErrUnexpectedEOF
 28439  			}
 28440  			m.Column = append(m.Column, &Expr{})
 28441  			if err := m.Column[len(m.Column)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28442  				return err
 28443  			}
 28444  			iNdEx = postIndex
 28445  		default:
 28446  			iNdEx = preIndex
 28447  			skippy, err := skipPlan(dAtA[iNdEx:])
 28448  			if err != nil {
 28449  				return err
 28450  			}
 28451  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 28452  				return ErrInvalidLengthPlan
 28453  			}
 28454  			if (iNdEx + skippy) > l {
 28455  				return io.ErrUnexpectedEOF
 28456  			}
 28457  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 28458  			iNdEx += skippy
 28459  		}
 28460  	}
 28461  
 28462  	if iNdEx > l {
 28463  		return io.ErrUnexpectedEOF
 28464  	}
 28465  	return nil
 28466  }
 28467  func (m *DataControl) Unmarshal(dAtA []byte) error {
 28468  	l := len(dAtA)
 28469  	iNdEx := 0
 28470  	for iNdEx < l {
 28471  		preIndex := iNdEx
 28472  		var wire uint64
 28473  		for shift := uint(0); ; shift += 7 {
 28474  			if shift >= 64 {
 28475  				return ErrIntOverflowPlan
 28476  			}
 28477  			if iNdEx >= l {
 28478  				return io.ErrUnexpectedEOF
 28479  			}
 28480  			b := dAtA[iNdEx]
 28481  			iNdEx++
 28482  			wire |= uint64(b&0x7F) << shift
 28483  			if b < 0x80 {
 28484  				break
 28485  			}
 28486  		}
 28487  		fieldNum := int32(wire >> 3)
 28488  		wireType := int(wire & 0x7)
 28489  		if wireType == 4 {
 28490  			return fmt.Errorf("proto: DataControl: wiretype end group for non-group")
 28491  		}
 28492  		if fieldNum <= 0 {
 28493  			return fmt.Errorf("proto: DataControl: illegal tag %d (wire type %d)", fieldNum, wire)
 28494  		}
 28495  		switch fieldNum {
 28496  		case 1:
 28497  			if wireType != 0 {
 28498  				return fmt.Errorf("proto: wrong wireType = %d for field DclType", wireType)
 28499  			}
 28500  			m.DclType = 0
 28501  			for shift := uint(0); ; shift += 7 {
 28502  				if shift >= 64 {
 28503  					return ErrIntOverflowPlan
 28504  				}
 28505  				if iNdEx >= l {
 28506  					return io.ErrUnexpectedEOF
 28507  				}
 28508  				b := dAtA[iNdEx]
 28509  				iNdEx++
 28510  				m.DclType |= DataControl_DclType(b&0x7F) << shift
 28511  				if b < 0x80 {
 28512  					break
 28513  				}
 28514  			}
 28515  		case 2:
 28516  			if wireType != 2 {
 28517  				return fmt.Errorf("proto: wrong wireType = %d for field SetVariables", wireType)
 28518  			}
 28519  			var msglen int
 28520  			for shift := uint(0); ; shift += 7 {
 28521  				if shift >= 64 {
 28522  					return ErrIntOverflowPlan
 28523  				}
 28524  				if iNdEx >= l {
 28525  					return io.ErrUnexpectedEOF
 28526  				}
 28527  				b := dAtA[iNdEx]
 28528  				iNdEx++
 28529  				msglen |= int(b&0x7F) << shift
 28530  				if b < 0x80 {
 28531  					break
 28532  				}
 28533  			}
 28534  			if msglen < 0 {
 28535  				return ErrInvalidLengthPlan
 28536  			}
 28537  			postIndex := iNdEx + msglen
 28538  			if postIndex < 0 {
 28539  				return ErrInvalidLengthPlan
 28540  			}
 28541  			if postIndex > l {
 28542  				return io.ErrUnexpectedEOF
 28543  			}
 28544  			v := &SetVariables{}
 28545  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28546  				return err
 28547  			}
 28548  			m.Control = &DataControl_SetVariables{v}
 28549  			iNdEx = postIndex
 28550  		case 3:
 28551  			if wireType != 2 {
 28552  				return fmt.Errorf("proto: wrong wireType = %d for field Prepare", wireType)
 28553  			}
 28554  			var msglen int
 28555  			for shift := uint(0); ; shift += 7 {
 28556  				if shift >= 64 {
 28557  					return ErrIntOverflowPlan
 28558  				}
 28559  				if iNdEx >= l {
 28560  					return io.ErrUnexpectedEOF
 28561  				}
 28562  				b := dAtA[iNdEx]
 28563  				iNdEx++
 28564  				msglen |= int(b&0x7F) << shift
 28565  				if b < 0x80 {
 28566  					break
 28567  				}
 28568  			}
 28569  			if msglen < 0 {
 28570  				return ErrInvalidLengthPlan
 28571  			}
 28572  			postIndex := iNdEx + msglen
 28573  			if postIndex < 0 {
 28574  				return ErrInvalidLengthPlan
 28575  			}
 28576  			if postIndex > l {
 28577  				return io.ErrUnexpectedEOF
 28578  			}
 28579  			v := &Prepare{}
 28580  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28581  				return err
 28582  			}
 28583  			m.Control = &DataControl_Prepare{v}
 28584  			iNdEx = postIndex
 28585  		case 4:
 28586  			if wireType != 2 {
 28587  				return fmt.Errorf("proto: wrong wireType = %d for field Execute", wireType)
 28588  			}
 28589  			var msglen int
 28590  			for shift := uint(0); ; shift += 7 {
 28591  				if shift >= 64 {
 28592  					return ErrIntOverflowPlan
 28593  				}
 28594  				if iNdEx >= l {
 28595  					return io.ErrUnexpectedEOF
 28596  				}
 28597  				b := dAtA[iNdEx]
 28598  				iNdEx++
 28599  				msglen |= int(b&0x7F) << shift
 28600  				if b < 0x80 {
 28601  					break
 28602  				}
 28603  			}
 28604  			if msglen < 0 {
 28605  				return ErrInvalidLengthPlan
 28606  			}
 28607  			postIndex := iNdEx + msglen
 28608  			if postIndex < 0 {
 28609  				return ErrInvalidLengthPlan
 28610  			}
 28611  			if postIndex > l {
 28612  				return io.ErrUnexpectedEOF
 28613  			}
 28614  			v := &Execute{}
 28615  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28616  				return err
 28617  			}
 28618  			m.Control = &DataControl_Execute{v}
 28619  			iNdEx = postIndex
 28620  		case 5:
 28621  			if wireType != 2 {
 28622  				return fmt.Errorf("proto: wrong wireType = %d for field Deallocate", wireType)
 28623  			}
 28624  			var msglen int
 28625  			for shift := uint(0); ; shift += 7 {
 28626  				if shift >= 64 {
 28627  					return ErrIntOverflowPlan
 28628  				}
 28629  				if iNdEx >= l {
 28630  					return io.ErrUnexpectedEOF
 28631  				}
 28632  				b := dAtA[iNdEx]
 28633  				iNdEx++
 28634  				msglen |= int(b&0x7F) << shift
 28635  				if b < 0x80 {
 28636  					break
 28637  				}
 28638  			}
 28639  			if msglen < 0 {
 28640  				return ErrInvalidLengthPlan
 28641  			}
 28642  			postIndex := iNdEx + msglen
 28643  			if postIndex < 0 {
 28644  				return ErrInvalidLengthPlan
 28645  			}
 28646  			if postIndex > l {
 28647  				return io.ErrUnexpectedEOF
 28648  			}
 28649  			v := &Deallocate{}
 28650  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28651  				return err
 28652  			}
 28653  			m.Control = &DataControl_Deallocate{v}
 28654  			iNdEx = postIndex
 28655  		default:
 28656  			iNdEx = preIndex
 28657  			skippy, err := skipPlan(dAtA[iNdEx:])
 28658  			if err != nil {
 28659  				return err
 28660  			}
 28661  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 28662  				return ErrInvalidLengthPlan
 28663  			}
 28664  			if (iNdEx + skippy) > l {
 28665  				return io.ErrUnexpectedEOF
 28666  			}
 28667  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 28668  			iNdEx += skippy
 28669  		}
 28670  	}
 28671  
 28672  	if iNdEx > l {
 28673  		return io.ErrUnexpectedEOF
 28674  	}
 28675  	return nil
 28676  }
 28677  func (m *DataDefinition) Unmarshal(dAtA []byte) error {
 28678  	l := len(dAtA)
 28679  	iNdEx := 0
 28680  	for iNdEx < l {
 28681  		preIndex := iNdEx
 28682  		var wire uint64
 28683  		for shift := uint(0); ; shift += 7 {
 28684  			if shift >= 64 {
 28685  				return ErrIntOverflowPlan
 28686  			}
 28687  			if iNdEx >= l {
 28688  				return io.ErrUnexpectedEOF
 28689  			}
 28690  			b := dAtA[iNdEx]
 28691  			iNdEx++
 28692  			wire |= uint64(b&0x7F) << shift
 28693  			if b < 0x80 {
 28694  				break
 28695  			}
 28696  		}
 28697  		fieldNum := int32(wire >> 3)
 28698  		wireType := int(wire & 0x7)
 28699  		if wireType == 4 {
 28700  			return fmt.Errorf("proto: DataDefinition: wiretype end group for non-group")
 28701  		}
 28702  		if fieldNum <= 0 {
 28703  			return fmt.Errorf("proto: DataDefinition: illegal tag %d (wire type %d)", fieldNum, wire)
 28704  		}
 28705  		switch fieldNum {
 28706  		case 1:
 28707  			if wireType != 0 {
 28708  				return fmt.Errorf("proto: wrong wireType = %d for field DdlType", wireType)
 28709  			}
 28710  			m.DdlType = 0
 28711  			for shift := uint(0); ; shift += 7 {
 28712  				if shift >= 64 {
 28713  					return ErrIntOverflowPlan
 28714  				}
 28715  				if iNdEx >= l {
 28716  					return io.ErrUnexpectedEOF
 28717  				}
 28718  				b := dAtA[iNdEx]
 28719  				iNdEx++
 28720  				m.DdlType |= DataDefinition_DdlType(b&0x7F) << shift
 28721  				if b < 0x80 {
 28722  					break
 28723  				}
 28724  			}
 28725  		case 2:
 28726  			if wireType != 2 {
 28727  				return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
 28728  			}
 28729  			var msglen int
 28730  			for shift := uint(0); ; shift += 7 {
 28731  				if shift >= 64 {
 28732  					return ErrIntOverflowPlan
 28733  				}
 28734  				if iNdEx >= l {
 28735  					return io.ErrUnexpectedEOF
 28736  				}
 28737  				b := dAtA[iNdEx]
 28738  				iNdEx++
 28739  				msglen |= int(b&0x7F) << shift
 28740  				if b < 0x80 {
 28741  					break
 28742  				}
 28743  			}
 28744  			if msglen < 0 {
 28745  				return ErrInvalidLengthPlan
 28746  			}
 28747  			postIndex := iNdEx + msglen
 28748  			if postIndex < 0 {
 28749  				return ErrInvalidLengthPlan
 28750  			}
 28751  			if postIndex > l {
 28752  				return io.ErrUnexpectedEOF
 28753  			}
 28754  			if m.Query == nil {
 28755  				m.Query = &Query{}
 28756  			}
 28757  			if err := m.Query.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28758  				return err
 28759  			}
 28760  			iNdEx = postIndex
 28761  		case 3:
 28762  			if wireType != 2 {
 28763  				return fmt.Errorf("proto: wrong wireType = %d for field CreateDatabase", wireType)
 28764  			}
 28765  			var msglen int
 28766  			for shift := uint(0); ; shift += 7 {
 28767  				if shift >= 64 {
 28768  					return ErrIntOverflowPlan
 28769  				}
 28770  				if iNdEx >= l {
 28771  					return io.ErrUnexpectedEOF
 28772  				}
 28773  				b := dAtA[iNdEx]
 28774  				iNdEx++
 28775  				msglen |= int(b&0x7F) << shift
 28776  				if b < 0x80 {
 28777  					break
 28778  				}
 28779  			}
 28780  			if msglen < 0 {
 28781  				return ErrInvalidLengthPlan
 28782  			}
 28783  			postIndex := iNdEx + msglen
 28784  			if postIndex < 0 {
 28785  				return ErrInvalidLengthPlan
 28786  			}
 28787  			if postIndex > l {
 28788  				return io.ErrUnexpectedEOF
 28789  			}
 28790  			v := &CreateDatabase{}
 28791  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28792  				return err
 28793  			}
 28794  			m.Definition = &DataDefinition_CreateDatabase{v}
 28795  			iNdEx = postIndex
 28796  		case 4:
 28797  			if wireType != 2 {
 28798  				return fmt.Errorf("proto: wrong wireType = %d for field AlterDatabase", wireType)
 28799  			}
 28800  			var msglen int
 28801  			for shift := uint(0); ; shift += 7 {
 28802  				if shift >= 64 {
 28803  					return ErrIntOverflowPlan
 28804  				}
 28805  				if iNdEx >= l {
 28806  					return io.ErrUnexpectedEOF
 28807  				}
 28808  				b := dAtA[iNdEx]
 28809  				iNdEx++
 28810  				msglen |= int(b&0x7F) << shift
 28811  				if b < 0x80 {
 28812  					break
 28813  				}
 28814  			}
 28815  			if msglen < 0 {
 28816  				return ErrInvalidLengthPlan
 28817  			}
 28818  			postIndex := iNdEx + msglen
 28819  			if postIndex < 0 {
 28820  				return ErrInvalidLengthPlan
 28821  			}
 28822  			if postIndex > l {
 28823  				return io.ErrUnexpectedEOF
 28824  			}
 28825  			v := &AlterDatabase{}
 28826  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28827  				return err
 28828  			}
 28829  			m.Definition = &DataDefinition_AlterDatabase{v}
 28830  			iNdEx = postIndex
 28831  		case 5:
 28832  			if wireType != 2 {
 28833  				return fmt.Errorf("proto: wrong wireType = %d for field DropDatabase", wireType)
 28834  			}
 28835  			var msglen int
 28836  			for shift := uint(0); ; shift += 7 {
 28837  				if shift >= 64 {
 28838  					return ErrIntOverflowPlan
 28839  				}
 28840  				if iNdEx >= l {
 28841  					return io.ErrUnexpectedEOF
 28842  				}
 28843  				b := dAtA[iNdEx]
 28844  				iNdEx++
 28845  				msglen |= int(b&0x7F) << shift
 28846  				if b < 0x80 {
 28847  					break
 28848  				}
 28849  			}
 28850  			if msglen < 0 {
 28851  				return ErrInvalidLengthPlan
 28852  			}
 28853  			postIndex := iNdEx + msglen
 28854  			if postIndex < 0 {
 28855  				return ErrInvalidLengthPlan
 28856  			}
 28857  			if postIndex > l {
 28858  				return io.ErrUnexpectedEOF
 28859  			}
 28860  			v := &DropDatabase{}
 28861  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28862  				return err
 28863  			}
 28864  			m.Definition = &DataDefinition_DropDatabase{v}
 28865  			iNdEx = postIndex
 28866  		case 6:
 28867  			if wireType != 2 {
 28868  				return fmt.Errorf("proto: wrong wireType = %d for field CreateTable", wireType)
 28869  			}
 28870  			var msglen int
 28871  			for shift := uint(0); ; shift += 7 {
 28872  				if shift >= 64 {
 28873  					return ErrIntOverflowPlan
 28874  				}
 28875  				if iNdEx >= l {
 28876  					return io.ErrUnexpectedEOF
 28877  				}
 28878  				b := dAtA[iNdEx]
 28879  				iNdEx++
 28880  				msglen |= int(b&0x7F) << shift
 28881  				if b < 0x80 {
 28882  					break
 28883  				}
 28884  			}
 28885  			if msglen < 0 {
 28886  				return ErrInvalidLengthPlan
 28887  			}
 28888  			postIndex := iNdEx + msglen
 28889  			if postIndex < 0 {
 28890  				return ErrInvalidLengthPlan
 28891  			}
 28892  			if postIndex > l {
 28893  				return io.ErrUnexpectedEOF
 28894  			}
 28895  			v := &CreateTable{}
 28896  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28897  				return err
 28898  			}
 28899  			m.Definition = &DataDefinition_CreateTable{v}
 28900  			iNdEx = postIndex
 28901  		case 7:
 28902  			if wireType != 2 {
 28903  				return fmt.Errorf("proto: wrong wireType = %d for field AlterTable", wireType)
 28904  			}
 28905  			var msglen int
 28906  			for shift := uint(0); ; shift += 7 {
 28907  				if shift >= 64 {
 28908  					return ErrIntOverflowPlan
 28909  				}
 28910  				if iNdEx >= l {
 28911  					return io.ErrUnexpectedEOF
 28912  				}
 28913  				b := dAtA[iNdEx]
 28914  				iNdEx++
 28915  				msglen |= int(b&0x7F) << shift
 28916  				if b < 0x80 {
 28917  					break
 28918  				}
 28919  			}
 28920  			if msglen < 0 {
 28921  				return ErrInvalidLengthPlan
 28922  			}
 28923  			postIndex := iNdEx + msglen
 28924  			if postIndex < 0 {
 28925  				return ErrInvalidLengthPlan
 28926  			}
 28927  			if postIndex > l {
 28928  				return io.ErrUnexpectedEOF
 28929  			}
 28930  			v := &AlterTable{}
 28931  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28932  				return err
 28933  			}
 28934  			m.Definition = &DataDefinition_AlterTable{v}
 28935  			iNdEx = postIndex
 28936  		case 8:
 28937  			if wireType != 2 {
 28938  				return fmt.Errorf("proto: wrong wireType = %d for field DropTable", wireType)
 28939  			}
 28940  			var msglen int
 28941  			for shift := uint(0); ; shift += 7 {
 28942  				if shift >= 64 {
 28943  					return ErrIntOverflowPlan
 28944  				}
 28945  				if iNdEx >= l {
 28946  					return io.ErrUnexpectedEOF
 28947  				}
 28948  				b := dAtA[iNdEx]
 28949  				iNdEx++
 28950  				msglen |= int(b&0x7F) << shift
 28951  				if b < 0x80 {
 28952  					break
 28953  				}
 28954  			}
 28955  			if msglen < 0 {
 28956  				return ErrInvalidLengthPlan
 28957  			}
 28958  			postIndex := iNdEx + msglen
 28959  			if postIndex < 0 {
 28960  				return ErrInvalidLengthPlan
 28961  			}
 28962  			if postIndex > l {
 28963  				return io.ErrUnexpectedEOF
 28964  			}
 28965  			v := &DropTable{}
 28966  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 28967  				return err
 28968  			}
 28969  			m.Definition = &DataDefinition_DropTable{v}
 28970  			iNdEx = postIndex
 28971  		case 9:
 28972  			if wireType != 2 {
 28973  				return fmt.Errorf("proto: wrong wireType = %d for field CreateIndex", wireType)
 28974  			}
 28975  			var msglen int
 28976  			for shift := uint(0); ; shift += 7 {
 28977  				if shift >= 64 {
 28978  					return ErrIntOverflowPlan
 28979  				}
 28980  				if iNdEx >= l {
 28981  					return io.ErrUnexpectedEOF
 28982  				}
 28983  				b := dAtA[iNdEx]
 28984  				iNdEx++
 28985  				msglen |= int(b&0x7F) << shift
 28986  				if b < 0x80 {
 28987  					break
 28988  				}
 28989  			}
 28990  			if msglen < 0 {
 28991  				return ErrInvalidLengthPlan
 28992  			}
 28993  			postIndex := iNdEx + msglen
 28994  			if postIndex < 0 {
 28995  				return ErrInvalidLengthPlan
 28996  			}
 28997  			if postIndex > l {
 28998  				return io.ErrUnexpectedEOF
 28999  			}
 29000  			v := &CreateIndex{}
 29001  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29002  				return err
 29003  			}
 29004  			m.Definition = &DataDefinition_CreateIndex{v}
 29005  			iNdEx = postIndex
 29006  		case 10:
 29007  			if wireType != 2 {
 29008  				return fmt.Errorf("proto: wrong wireType = %d for field AlterIndex", wireType)
 29009  			}
 29010  			var msglen int
 29011  			for shift := uint(0); ; shift += 7 {
 29012  				if shift >= 64 {
 29013  					return ErrIntOverflowPlan
 29014  				}
 29015  				if iNdEx >= l {
 29016  					return io.ErrUnexpectedEOF
 29017  				}
 29018  				b := dAtA[iNdEx]
 29019  				iNdEx++
 29020  				msglen |= int(b&0x7F) << shift
 29021  				if b < 0x80 {
 29022  					break
 29023  				}
 29024  			}
 29025  			if msglen < 0 {
 29026  				return ErrInvalidLengthPlan
 29027  			}
 29028  			postIndex := iNdEx + msglen
 29029  			if postIndex < 0 {
 29030  				return ErrInvalidLengthPlan
 29031  			}
 29032  			if postIndex > l {
 29033  				return io.ErrUnexpectedEOF
 29034  			}
 29035  			v := &AlterIndex{}
 29036  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29037  				return err
 29038  			}
 29039  			m.Definition = &DataDefinition_AlterIndex{v}
 29040  			iNdEx = postIndex
 29041  		case 11:
 29042  			if wireType != 2 {
 29043  				return fmt.Errorf("proto: wrong wireType = %d for field DropIndex", wireType)
 29044  			}
 29045  			var msglen int
 29046  			for shift := uint(0); ; shift += 7 {
 29047  				if shift >= 64 {
 29048  					return ErrIntOverflowPlan
 29049  				}
 29050  				if iNdEx >= l {
 29051  					return io.ErrUnexpectedEOF
 29052  				}
 29053  				b := dAtA[iNdEx]
 29054  				iNdEx++
 29055  				msglen |= int(b&0x7F) << shift
 29056  				if b < 0x80 {
 29057  					break
 29058  				}
 29059  			}
 29060  			if msglen < 0 {
 29061  				return ErrInvalidLengthPlan
 29062  			}
 29063  			postIndex := iNdEx + msglen
 29064  			if postIndex < 0 {
 29065  				return ErrInvalidLengthPlan
 29066  			}
 29067  			if postIndex > l {
 29068  				return io.ErrUnexpectedEOF
 29069  			}
 29070  			v := &DropIndex{}
 29071  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29072  				return err
 29073  			}
 29074  			m.Definition = &DataDefinition_DropIndex{v}
 29075  			iNdEx = postIndex
 29076  		case 12:
 29077  			if wireType != 2 {
 29078  				return fmt.Errorf("proto: wrong wireType = %d for field TruncateTable", wireType)
 29079  			}
 29080  			var msglen int
 29081  			for shift := uint(0); ; shift += 7 {
 29082  				if shift >= 64 {
 29083  					return ErrIntOverflowPlan
 29084  				}
 29085  				if iNdEx >= l {
 29086  					return io.ErrUnexpectedEOF
 29087  				}
 29088  				b := dAtA[iNdEx]
 29089  				iNdEx++
 29090  				msglen |= int(b&0x7F) << shift
 29091  				if b < 0x80 {
 29092  					break
 29093  				}
 29094  			}
 29095  			if msglen < 0 {
 29096  				return ErrInvalidLengthPlan
 29097  			}
 29098  			postIndex := iNdEx + msglen
 29099  			if postIndex < 0 {
 29100  				return ErrInvalidLengthPlan
 29101  			}
 29102  			if postIndex > l {
 29103  				return io.ErrUnexpectedEOF
 29104  			}
 29105  			v := &TruncateTable{}
 29106  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29107  				return err
 29108  			}
 29109  			m.Definition = &DataDefinition_TruncateTable{v}
 29110  			iNdEx = postIndex
 29111  		case 13:
 29112  			if wireType != 2 {
 29113  				return fmt.Errorf("proto: wrong wireType = %d for field ShowVariables", wireType)
 29114  			}
 29115  			var msglen int
 29116  			for shift := uint(0); ; shift += 7 {
 29117  				if shift >= 64 {
 29118  					return ErrIntOverflowPlan
 29119  				}
 29120  				if iNdEx >= l {
 29121  					return io.ErrUnexpectedEOF
 29122  				}
 29123  				b := dAtA[iNdEx]
 29124  				iNdEx++
 29125  				msglen |= int(b&0x7F) << shift
 29126  				if b < 0x80 {
 29127  					break
 29128  				}
 29129  			}
 29130  			if msglen < 0 {
 29131  				return ErrInvalidLengthPlan
 29132  			}
 29133  			postIndex := iNdEx + msglen
 29134  			if postIndex < 0 {
 29135  				return ErrInvalidLengthPlan
 29136  			}
 29137  			if postIndex > l {
 29138  				return io.ErrUnexpectedEOF
 29139  			}
 29140  			v := &ShowVariables{}
 29141  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29142  				return err
 29143  			}
 29144  			m.Definition = &DataDefinition_ShowVariables{v}
 29145  			iNdEx = postIndex
 29146  		case 14:
 29147  			if wireType != 2 {
 29148  				return fmt.Errorf("proto: wrong wireType = %d for field AlterView", wireType)
 29149  			}
 29150  			var msglen int
 29151  			for shift := uint(0); ; shift += 7 {
 29152  				if shift >= 64 {
 29153  					return ErrIntOverflowPlan
 29154  				}
 29155  				if iNdEx >= l {
 29156  					return io.ErrUnexpectedEOF
 29157  				}
 29158  				b := dAtA[iNdEx]
 29159  				iNdEx++
 29160  				msglen |= int(b&0x7F) << shift
 29161  				if b < 0x80 {
 29162  					break
 29163  				}
 29164  			}
 29165  			if msglen < 0 {
 29166  				return ErrInvalidLengthPlan
 29167  			}
 29168  			postIndex := iNdEx + msglen
 29169  			if postIndex < 0 {
 29170  				return ErrInvalidLengthPlan
 29171  			}
 29172  			if postIndex > l {
 29173  				return io.ErrUnexpectedEOF
 29174  			}
 29175  			v := &AlterView{}
 29176  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29177  				return err
 29178  			}
 29179  			m.Definition = &DataDefinition_AlterView{v}
 29180  			iNdEx = postIndex
 29181  		default:
 29182  			iNdEx = preIndex
 29183  			skippy, err := skipPlan(dAtA[iNdEx:])
 29184  			if err != nil {
 29185  				return err
 29186  			}
 29187  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 29188  				return ErrInvalidLengthPlan
 29189  			}
 29190  			if (iNdEx + skippy) > l {
 29191  				return io.ErrUnexpectedEOF
 29192  			}
 29193  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 29194  			iNdEx += skippy
 29195  		}
 29196  	}
 29197  
 29198  	if iNdEx > l {
 29199  		return io.ErrUnexpectedEOF
 29200  	}
 29201  	return nil
 29202  }
 29203  func (m *CreateDatabase) Unmarshal(dAtA []byte) error {
 29204  	l := len(dAtA)
 29205  	iNdEx := 0
 29206  	for iNdEx < l {
 29207  		preIndex := iNdEx
 29208  		var wire uint64
 29209  		for shift := uint(0); ; shift += 7 {
 29210  			if shift >= 64 {
 29211  				return ErrIntOverflowPlan
 29212  			}
 29213  			if iNdEx >= l {
 29214  				return io.ErrUnexpectedEOF
 29215  			}
 29216  			b := dAtA[iNdEx]
 29217  			iNdEx++
 29218  			wire |= uint64(b&0x7F) << shift
 29219  			if b < 0x80 {
 29220  				break
 29221  			}
 29222  		}
 29223  		fieldNum := int32(wire >> 3)
 29224  		wireType := int(wire & 0x7)
 29225  		if wireType == 4 {
 29226  			return fmt.Errorf("proto: CreateDatabase: wiretype end group for non-group")
 29227  		}
 29228  		if fieldNum <= 0 {
 29229  			return fmt.Errorf("proto: CreateDatabase: illegal tag %d (wire type %d)", fieldNum, wire)
 29230  		}
 29231  		switch fieldNum {
 29232  		case 1:
 29233  			if wireType != 0 {
 29234  				return fmt.Errorf("proto: wrong wireType = %d for field IfNotExists", wireType)
 29235  			}
 29236  			var v int
 29237  			for shift := uint(0); ; shift += 7 {
 29238  				if shift >= 64 {
 29239  					return ErrIntOverflowPlan
 29240  				}
 29241  				if iNdEx >= l {
 29242  					return io.ErrUnexpectedEOF
 29243  				}
 29244  				b := dAtA[iNdEx]
 29245  				iNdEx++
 29246  				v |= int(b&0x7F) << shift
 29247  				if b < 0x80 {
 29248  					break
 29249  				}
 29250  			}
 29251  			m.IfNotExists = bool(v != 0)
 29252  		case 2:
 29253  			if wireType != 2 {
 29254  				return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
 29255  			}
 29256  			var stringLen uint64
 29257  			for shift := uint(0); ; shift += 7 {
 29258  				if shift >= 64 {
 29259  					return ErrIntOverflowPlan
 29260  				}
 29261  				if iNdEx >= l {
 29262  					return io.ErrUnexpectedEOF
 29263  				}
 29264  				b := dAtA[iNdEx]
 29265  				iNdEx++
 29266  				stringLen |= uint64(b&0x7F) << shift
 29267  				if b < 0x80 {
 29268  					break
 29269  				}
 29270  			}
 29271  			intStringLen := int(stringLen)
 29272  			if intStringLen < 0 {
 29273  				return ErrInvalidLengthPlan
 29274  			}
 29275  			postIndex := iNdEx + intStringLen
 29276  			if postIndex < 0 {
 29277  				return ErrInvalidLengthPlan
 29278  			}
 29279  			if postIndex > l {
 29280  				return io.ErrUnexpectedEOF
 29281  			}
 29282  			m.Database = string(dAtA[iNdEx:postIndex])
 29283  			iNdEx = postIndex
 29284  		default:
 29285  			iNdEx = preIndex
 29286  			skippy, err := skipPlan(dAtA[iNdEx:])
 29287  			if err != nil {
 29288  				return err
 29289  			}
 29290  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 29291  				return ErrInvalidLengthPlan
 29292  			}
 29293  			if (iNdEx + skippy) > l {
 29294  				return io.ErrUnexpectedEOF
 29295  			}
 29296  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 29297  			iNdEx += skippy
 29298  		}
 29299  	}
 29300  
 29301  	if iNdEx > l {
 29302  		return io.ErrUnexpectedEOF
 29303  	}
 29304  	return nil
 29305  }
 29306  func (m *AlterDatabase) Unmarshal(dAtA []byte) error {
 29307  	l := len(dAtA)
 29308  	iNdEx := 0
 29309  	for iNdEx < l {
 29310  		preIndex := iNdEx
 29311  		var wire uint64
 29312  		for shift := uint(0); ; shift += 7 {
 29313  			if shift >= 64 {
 29314  				return ErrIntOverflowPlan
 29315  			}
 29316  			if iNdEx >= l {
 29317  				return io.ErrUnexpectedEOF
 29318  			}
 29319  			b := dAtA[iNdEx]
 29320  			iNdEx++
 29321  			wire |= uint64(b&0x7F) << shift
 29322  			if b < 0x80 {
 29323  				break
 29324  			}
 29325  		}
 29326  		fieldNum := int32(wire >> 3)
 29327  		wireType := int(wire & 0x7)
 29328  		if wireType == 4 {
 29329  			return fmt.Errorf("proto: AlterDatabase: wiretype end group for non-group")
 29330  		}
 29331  		if fieldNum <= 0 {
 29332  			return fmt.Errorf("proto: AlterDatabase: illegal tag %d (wire type %d)", fieldNum, wire)
 29333  		}
 29334  		switch fieldNum {
 29335  		case 1:
 29336  			if wireType != 0 {
 29337  				return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType)
 29338  			}
 29339  			var v int
 29340  			for shift := uint(0); ; shift += 7 {
 29341  				if shift >= 64 {
 29342  					return ErrIntOverflowPlan
 29343  				}
 29344  				if iNdEx >= l {
 29345  					return io.ErrUnexpectedEOF
 29346  				}
 29347  				b := dAtA[iNdEx]
 29348  				iNdEx++
 29349  				v |= int(b&0x7F) << shift
 29350  				if b < 0x80 {
 29351  					break
 29352  				}
 29353  			}
 29354  			m.IfExists = bool(v != 0)
 29355  		case 2:
 29356  			if wireType != 2 {
 29357  				return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
 29358  			}
 29359  			var stringLen uint64
 29360  			for shift := uint(0); ; shift += 7 {
 29361  				if shift >= 64 {
 29362  					return ErrIntOverflowPlan
 29363  				}
 29364  				if iNdEx >= l {
 29365  					return io.ErrUnexpectedEOF
 29366  				}
 29367  				b := dAtA[iNdEx]
 29368  				iNdEx++
 29369  				stringLen |= uint64(b&0x7F) << shift
 29370  				if b < 0x80 {
 29371  					break
 29372  				}
 29373  			}
 29374  			intStringLen := int(stringLen)
 29375  			if intStringLen < 0 {
 29376  				return ErrInvalidLengthPlan
 29377  			}
 29378  			postIndex := iNdEx + intStringLen
 29379  			if postIndex < 0 {
 29380  				return ErrInvalidLengthPlan
 29381  			}
 29382  			if postIndex > l {
 29383  				return io.ErrUnexpectedEOF
 29384  			}
 29385  			m.Database = string(dAtA[iNdEx:postIndex])
 29386  			iNdEx = postIndex
 29387  		default:
 29388  			iNdEx = preIndex
 29389  			skippy, err := skipPlan(dAtA[iNdEx:])
 29390  			if err != nil {
 29391  				return err
 29392  			}
 29393  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 29394  				return ErrInvalidLengthPlan
 29395  			}
 29396  			if (iNdEx + skippy) > l {
 29397  				return io.ErrUnexpectedEOF
 29398  			}
 29399  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 29400  			iNdEx += skippy
 29401  		}
 29402  	}
 29403  
 29404  	if iNdEx > l {
 29405  		return io.ErrUnexpectedEOF
 29406  	}
 29407  	return nil
 29408  }
 29409  func (m *DropDatabase) Unmarshal(dAtA []byte) error {
 29410  	l := len(dAtA)
 29411  	iNdEx := 0
 29412  	for iNdEx < l {
 29413  		preIndex := iNdEx
 29414  		var wire uint64
 29415  		for shift := uint(0); ; shift += 7 {
 29416  			if shift >= 64 {
 29417  				return ErrIntOverflowPlan
 29418  			}
 29419  			if iNdEx >= l {
 29420  				return io.ErrUnexpectedEOF
 29421  			}
 29422  			b := dAtA[iNdEx]
 29423  			iNdEx++
 29424  			wire |= uint64(b&0x7F) << shift
 29425  			if b < 0x80 {
 29426  				break
 29427  			}
 29428  		}
 29429  		fieldNum := int32(wire >> 3)
 29430  		wireType := int(wire & 0x7)
 29431  		if wireType == 4 {
 29432  			return fmt.Errorf("proto: DropDatabase: wiretype end group for non-group")
 29433  		}
 29434  		if fieldNum <= 0 {
 29435  			return fmt.Errorf("proto: DropDatabase: illegal tag %d (wire type %d)", fieldNum, wire)
 29436  		}
 29437  		switch fieldNum {
 29438  		case 1:
 29439  			if wireType != 0 {
 29440  				return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType)
 29441  			}
 29442  			var v int
 29443  			for shift := uint(0); ; shift += 7 {
 29444  				if shift >= 64 {
 29445  					return ErrIntOverflowPlan
 29446  				}
 29447  				if iNdEx >= l {
 29448  					return io.ErrUnexpectedEOF
 29449  				}
 29450  				b := dAtA[iNdEx]
 29451  				iNdEx++
 29452  				v |= int(b&0x7F) << shift
 29453  				if b < 0x80 {
 29454  					break
 29455  				}
 29456  			}
 29457  			m.IfExists = bool(v != 0)
 29458  		case 2:
 29459  			if wireType != 2 {
 29460  				return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
 29461  			}
 29462  			var stringLen uint64
 29463  			for shift := uint(0); ; shift += 7 {
 29464  				if shift >= 64 {
 29465  					return ErrIntOverflowPlan
 29466  				}
 29467  				if iNdEx >= l {
 29468  					return io.ErrUnexpectedEOF
 29469  				}
 29470  				b := dAtA[iNdEx]
 29471  				iNdEx++
 29472  				stringLen |= uint64(b&0x7F) << shift
 29473  				if b < 0x80 {
 29474  					break
 29475  				}
 29476  			}
 29477  			intStringLen := int(stringLen)
 29478  			if intStringLen < 0 {
 29479  				return ErrInvalidLengthPlan
 29480  			}
 29481  			postIndex := iNdEx + intStringLen
 29482  			if postIndex < 0 {
 29483  				return ErrInvalidLengthPlan
 29484  			}
 29485  			if postIndex > l {
 29486  				return io.ErrUnexpectedEOF
 29487  			}
 29488  			m.Database = string(dAtA[iNdEx:postIndex])
 29489  			iNdEx = postIndex
 29490  		default:
 29491  			iNdEx = preIndex
 29492  			skippy, err := skipPlan(dAtA[iNdEx:])
 29493  			if err != nil {
 29494  				return err
 29495  			}
 29496  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 29497  				return ErrInvalidLengthPlan
 29498  			}
 29499  			if (iNdEx + skippy) > l {
 29500  				return io.ErrUnexpectedEOF
 29501  			}
 29502  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 29503  			iNdEx += skippy
 29504  		}
 29505  	}
 29506  
 29507  	if iNdEx > l {
 29508  		return io.ErrUnexpectedEOF
 29509  	}
 29510  	return nil
 29511  }
 29512  func (m *CreateTable) Unmarshal(dAtA []byte) error {
 29513  	l := len(dAtA)
 29514  	iNdEx := 0
 29515  	for iNdEx < l {
 29516  		preIndex := iNdEx
 29517  		var wire uint64
 29518  		for shift := uint(0); ; shift += 7 {
 29519  			if shift >= 64 {
 29520  				return ErrIntOverflowPlan
 29521  			}
 29522  			if iNdEx >= l {
 29523  				return io.ErrUnexpectedEOF
 29524  			}
 29525  			b := dAtA[iNdEx]
 29526  			iNdEx++
 29527  			wire |= uint64(b&0x7F) << shift
 29528  			if b < 0x80 {
 29529  				break
 29530  			}
 29531  		}
 29532  		fieldNum := int32(wire >> 3)
 29533  		wireType := int(wire & 0x7)
 29534  		if wireType == 4 {
 29535  			return fmt.Errorf("proto: CreateTable: wiretype end group for non-group")
 29536  		}
 29537  		if fieldNum <= 0 {
 29538  			return fmt.Errorf("proto: CreateTable: illegal tag %d (wire type %d)", fieldNum, wire)
 29539  		}
 29540  		switch fieldNum {
 29541  		case 1:
 29542  			if wireType != 0 {
 29543  				return fmt.Errorf("proto: wrong wireType = %d for field IfNotExists", wireType)
 29544  			}
 29545  			var v int
 29546  			for shift := uint(0); ; shift += 7 {
 29547  				if shift >= 64 {
 29548  					return ErrIntOverflowPlan
 29549  				}
 29550  				if iNdEx >= l {
 29551  					return io.ErrUnexpectedEOF
 29552  				}
 29553  				b := dAtA[iNdEx]
 29554  				iNdEx++
 29555  				v |= int(b&0x7F) << shift
 29556  				if b < 0x80 {
 29557  					break
 29558  				}
 29559  			}
 29560  			m.IfNotExists = bool(v != 0)
 29561  		case 2:
 29562  			if wireType != 0 {
 29563  				return fmt.Errorf("proto: wrong wireType = %d for field Temporary", wireType)
 29564  			}
 29565  			var v int
 29566  			for shift := uint(0); ; shift += 7 {
 29567  				if shift >= 64 {
 29568  					return ErrIntOverflowPlan
 29569  				}
 29570  				if iNdEx >= l {
 29571  					return io.ErrUnexpectedEOF
 29572  				}
 29573  				b := dAtA[iNdEx]
 29574  				iNdEx++
 29575  				v |= int(b&0x7F) << shift
 29576  				if b < 0x80 {
 29577  					break
 29578  				}
 29579  			}
 29580  			m.Temporary = bool(v != 0)
 29581  		case 3:
 29582  			if wireType != 2 {
 29583  				return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
 29584  			}
 29585  			var stringLen uint64
 29586  			for shift := uint(0); ; shift += 7 {
 29587  				if shift >= 64 {
 29588  					return ErrIntOverflowPlan
 29589  				}
 29590  				if iNdEx >= l {
 29591  					return io.ErrUnexpectedEOF
 29592  				}
 29593  				b := dAtA[iNdEx]
 29594  				iNdEx++
 29595  				stringLen |= uint64(b&0x7F) << shift
 29596  				if b < 0x80 {
 29597  					break
 29598  				}
 29599  			}
 29600  			intStringLen := int(stringLen)
 29601  			if intStringLen < 0 {
 29602  				return ErrInvalidLengthPlan
 29603  			}
 29604  			postIndex := iNdEx + intStringLen
 29605  			if postIndex < 0 {
 29606  				return ErrInvalidLengthPlan
 29607  			}
 29608  			if postIndex > l {
 29609  				return io.ErrUnexpectedEOF
 29610  			}
 29611  			m.Database = string(dAtA[iNdEx:postIndex])
 29612  			iNdEx = postIndex
 29613  		case 4:
 29614  			if wireType != 2 {
 29615  				return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType)
 29616  			}
 29617  			var msglen int
 29618  			for shift := uint(0); ; shift += 7 {
 29619  				if shift >= 64 {
 29620  					return ErrIntOverflowPlan
 29621  				}
 29622  				if iNdEx >= l {
 29623  					return io.ErrUnexpectedEOF
 29624  				}
 29625  				b := dAtA[iNdEx]
 29626  				iNdEx++
 29627  				msglen |= int(b&0x7F) << shift
 29628  				if b < 0x80 {
 29629  					break
 29630  				}
 29631  			}
 29632  			if msglen < 0 {
 29633  				return ErrInvalidLengthPlan
 29634  			}
 29635  			postIndex := iNdEx + msglen
 29636  			if postIndex < 0 {
 29637  				return ErrInvalidLengthPlan
 29638  			}
 29639  			if postIndex > l {
 29640  				return io.ErrUnexpectedEOF
 29641  			}
 29642  			if m.TableDef == nil {
 29643  				m.TableDef = &TableDef{}
 29644  			}
 29645  			if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29646  				return err
 29647  			}
 29648  			iNdEx = postIndex
 29649  		case 5:
 29650  			if wireType != 2 {
 29651  				return fmt.Errorf("proto: wrong wireType = %d for field IndexTables", wireType)
 29652  			}
 29653  			var msglen int
 29654  			for shift := uint(0); ; shift += 7 {
 29655  				if shift >= 64 {
 29656  					return ErrIntOverflowPlan
 29657  				}
 29658  				if iNdEx >= l {
 29659  					return io.ErrUnexpectedEOF
 29660  				}
 29661  				b := dAtA[iNdEx]
 29662  				iNdEx++
 29663  				msglen |= int(b&0x7F) << shift
 29664  				if b < 0x80 {
 29665  					break
 29666  				}
 29667  			}
 29668  			if msglen < 0 {
 29669  				return ErrInvalidLengthPlan
 29670  			}
 29671  			postIndex := iNdEx + msglen
 29672  			if postIndex < 0 {
 29673  				return ErrInvalidLengthPlan
 29674  			}
 29675  			if postIndex > l {
 29676  				return io.ErrUnexpectedEOF
 29677  			}
 29678  			m.IndexTables = append(m.IndexTables, &TableDef{})
 29679  			if err := m.IndexTables[len(m.IndexTables)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29680  				return err
 29681  			}
 29682  			iNdEx = postIndex
 29683  		case 6:
 29684  			if wireType != 2 {
 29685  				return fmt.Errorf("proto: wrong wireType = %d for field FkDbs", wireType)
 29686  			}
 29687  			var stringLen uint64
 29688  			for shift := uint(0); ; shift += 7 {
 29689  				if shift >= 64 {
 29690  					return ErrIntOverflowPlan
 29691  				}
 29692  				if iNdEx >= l {
 29693  					return io.ErrUnexpectedEOF
 29694  				}
 29695  				b := dAtA[iNdEx]
 29696  				iNdEx++
 29697  				stringLen |= uint64(b&0x7F) << shift
 29698  				if b < 0x80 {
 29699  					break
 29700  				}
 29701  			}
 29702  			intStringLen := int(stringLen)
 29703  			if intStringLen < 0 {
 29704  				return ErrInvalidLengthPlan
 29705  			}
 29706  			postIndex := iNdEx + intStringLen
 29707  			if postIndex < 0 {
 29708  				return ErrInvalidLengthPlan
 29709  			}
 29710  			if postIndex > l {
 29711  				return io.ErrUnexpectedEOF
 29712  			}
 29713  			m.FkDbs = append(m.FkDbs, string(dAtA[iNdEx:postIndex]))
 29714  			iNdEx = postIndex
 29715  		case 7:
 29716  			if wireType != 2 {
 29717  				return fmt.Errorf("proto: wrong wireType = %d for field FkTables", wireType)
 29718  			}
 29719  			var stringLen uint64
 29720  			for shift := uint(0); ; shift += 7 {
 29721  				if shift >= 64 {
 29722  					return ErrIntOverflowPlan
 29723  				}
 29724  				if iNdEx >= l {
 29725  					return io.ErrUnexpectedEOF
 29726  				}
 29727  				b := dAtA[iNdEx]
 29728  				iNdEx++
 29729  				stringLen |= uint64(b&0x7F) << shift
 29730  				if b < 0x80 {
 29731  					break
 29732  				}
 29733  			}
 29734  			intStringLen := int(stringLen)
 29735  			if intStringLen < 0 {
 29736  				return ErrInvalidLengthPlan
 29737  			}
 29738  			postIndex := iNdEx + intStringLen
 29739  			if postIndex < 0 {
 29740  				return ErrInvalidLengthPlan
 29741  			}
 29742  			if postIndex > l {
 29743  				return io.ErrUnexpectedEOF
 29744  			}
 29745  			m.FkTables = append(m.FkTables, string(dAtA[iNdEx:postIndex]))
 29746  			iNdEx = postIndex
 29747  		case 8:
 29748  			if wireType != 2 {
 29749  				return fmt.Errorf("proto: wrong wireType = %d for field FkCols", wireType)
 29750  			}
 29751  			var msglen int
 29752  			for shift := uint(0); ; shift += 7 {
 29753  				if shift >= 64 {
 29754  					return ErrIntOverflowPlan
 29755  				}
 29756  				if iNdEx >= l {
 29757  					return io.ErrUnexpectedEOF
 29758  				}
 29759  				b := dAtA[iNdEx]
 29760  				iNdEx++
 29761  				msglen |= int(b&0x7F) << shift
 29762  				if b < 0x80 {
 29763  					break
 29764  				}
 29765  			}
 29766  			if msglen < 0 {
 29767  				return ErrInvalidLengthPlan
 29768  			}
 29769  			postIndex := iNdEx + msglen
 29770  			if postIndex < 0 {
 29771  				return ErrInvalidLengthPlan
 29772  			}
 29773  			if postIndex > l {
 29774  				return io.ErrUnexpectedEOF
 29775  			}
 29776  			m.FkCols = append(m.FkCols, &CreateTable_FkColName{})
 29777  			if err := m.FkCols[len(m.FkCols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29778  				return err
 29779  			}
 29780  			iNdEx = postIndex
 29781  		default:
 29782  			iNdEx = preIndex
 29783  			skippy, err := skipPlan(dAtA[iNdEx:])
 29784  			if err != nil {
 29785  				return err
 29786  			}
 29787  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 29788  				return ErrInvalidLengthPlan
 29789  			}
 29790  			if (iNdEx + skippy) > l {
 29791  				return io.ErrUnexpectedEOF
 29792  			}
 29793  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 29794  			iNdEx += skippy
 29795  		}
 29796  	}
 29797  
 29798  	if iNdEx > l {
 29799  		return io.ErrUnexpectedEOF
 29800  	}
 29801  	return nil
 29802  }
 29803  func (m *CreateTable_FkColName) Unmarshal(dAtA []byte) error {
 29804  	l := len(dAtA)
 29805  	iNdEx := 0
 29806  	for iNdEx < l {
 29807  		preIndex := iNdEx
 29808  		var wire uint64
 29809  		for shift := uint(0); ; shift += 7 {
 29810  			if shift >= 64 {
 29811  				return ErrIntOverflowPlan
 29812  			}
 29813  			if iNdEx >= l {
 29814  				return io.ErrUnexpectedEOF
 29815  			}
 29816  			b := dAtA[iNdEx]
 29817  			iNdEx++
 29818  			wire |= uint64(b&0x7F) << shift
 29819  			if b < 0x80 {
 29820  				break
 29821  			}
 29822  		}
 29823  		fieldNum := int32(wire >> 3)
 29824  		wireType := int(wire & 0x7)
 29825  		if wireType == 4 {
 29826  			return fmt.Errorf("proto: FkColName: wiretype end group for non-group")
 29827  		}
 29828  		if fieldNum <= 0 {
 29829  			return fmt.Errorf("proto: FkColName: illegal tag %d (wire type %d)", fieldNum, wire)
 29830  		}
 29831  		switch fieldNum {
 29832  		case 1:
 29833  			if wireType != 2 {
 29834  				return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType)
 29835  			}
 29836  			var stringLen uint64
 29837  			for shift := uint(0); ; shift += 7 {
 29838  				if shift >= 64 {
 29839  					return ErrIntOverflowPlan
 29840  				}
 29841  				if iNdEx >= l {
 29842  					return io.ErrUnexpectedEOF
 29843  				}
 29844  				b := dAtA[iNdEx]
 29845  				iNdEx++
 29846  				stringLen |= uint64(b&0x7F) << shift
 29847  				if b < 0x80 {
 29848  					break
 29849  				}
 29850  			}
 29851  			intStringLen := int(stringLen)
 29852  			if intStringLen < 0 {
 29853  				return ErrInvalidLengthPlan
 29854  			}
 29855  			postIndex := iNdEx + intStringLen
 29856  			if postIndex < 0 {
 29857  				return ErrInvalidLengthPlan
 29858  			}
 29859  			if postIndex > l {
 29860  				return io.ErrUnexpectedEOF
 29861  			}
 29862  			m.Cols = append(m.Cols, string(dAtA[iNdEx:postIndex]))
 29863  			iNdEx = postIndex
 29864  		default:
 29865  			iNdEx = preIndex
 29866  			skippy, err := skipPlan(dAtA[iNdEx:])
 29867  			if err != nil {
 29868  				return err
 29869  			}
 29870  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 29871  				return ErrInvalidLengthPlan
 29872  			}
 29873  			if (iNdEx + skippy) > l {
 29874  				return io.ErrUnexpectedEOF
 29875  			}
 29876  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 29877  			iNdEx += skippy
 29878  		}
 29879  	}
 29880  
 29881  	if iNdEx > l {
 29882  		return io.ErrUnexpectedEOF
 29883  	}
 29884  	return nil
 29885  }
 29886  func (m *AlterTable) Unmarshal(dAtA []byte) error {
 29887  	l := len(dAtA)
 29888  	iNdEx := 0
 29889  	for iNdEx < l {
 29890  		preIndex := iNdEx
 29891  		var wire uint64
 29892  		for shift := uint(0); ; shift += 7 {
 29893  			if shift >= 64 {
 29894  				return ErrIntOverflowPlan
 29895  			}
 29896  			if iNdEx >= l {
 29897  				return io.ErrUnexpectedEOF
 29898  			}
 29899  			b := dAtA[iNdEx]
 29900  			iNdEx++
 29901  			wire |= uint64(b&0x7F) << shift
 29902  			if b < 0x80 {
 29903  				break
 29904  			}
 29905  		}
 29906  		fieldNum := int32(wire >> 3)
 29907  		wireType := int(wire & 0x7)
 29908  		if wireType == 4 {
 29909  			return fmt.Errorf("proto: AlterTable: wiretype end group for non-group")
 29910  		}
 29911  		if fieldNum <= 0 {
 29912  			return fmt.Errorf("proto: AlterTable: illegal tag %d (wire type %d)", fieldNum, wire)
 29913  		}
 29914  		switch fieldNum {
 29915  		case 1:
 29916  			if wireType != 2 {
 29917  				return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType)
 29918  			}
 29919  			var stringLen uint64
 29920  			for shift := uint(0); ; shift += 7 {
 29921  				if shift >= 64 {
 29922  					return ErrIntOverflowPlan
 29923  				}
 29924  				if iNdEx >= l {
 29925  					return io.ErrUnexpectedEOF
 29926  				}
 29927  				b := dAtA[iNdEx]
 29928  				iNdEx++
 29929  				stringLen |= uint64(b&0x7F) << shift
 29930  				if b < 0x80 {
 29931  					break
 29932  				}
 29933  			}
 29934  			intStringLen := int(stringLen)
 29935  			if intStringLen < 0 {
 29936  				return ErrInvalidLengthPlan
 29937  			}
 29938  			postIndex := iNdEx + intStringLen
 29939  			if postIndex < 0 {
 29940  				return ErrInvalidLengthPlan
 29941  			}
 29942  			if postIndex > l {
 29943  				return io.ErrUnexpectedEOF
 29944  			}
 29945  			m.Table = string(dAtA[iNdEx:postIndex])
 29946  			iNdEx = postIndex
 29947  		case 2:
 29948  			if wireType != 2 {
 29949  				return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType)
 29950  			}
 29951  			var msglen int
 29952  			for shift := uint(0); ; shift += 7 {
 29953  				if shift >= 64 {
 29954  					return ErrIntOverflowPlan
 29955  				}
 29956  				if iNdEx >= l {
 29957  					return io.ErrUnexpectedEOF
 29958  				}
 29959  				b := dAtA[iNdEx]
 29960  				iNdEx++
 29961  				msglen |= int(b&0x7F) << shift
 29962  				if b < 0x80 {
 29963  					break
 29964  				}
 29965  			}
 29966  			if msglen < 0 {
 29967  				return ErrInvalidLengthPlan
 29968  			}
 29969  			postIndex := iNdEx + msglen
 29970  			if postIndex < 0 {
 29971  				return ErrInvalidLengthPlan
 29972  			}
 29973  			if postIndex > l {
 29974  				return io.ErrUnexpectedEOF
 29975  			}
 29976  			if m.TableDef == nil {
 29977  				m.TableDef = &TableDef{}
 29978  			}
 29979  			if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 29980  				return err
 29981  			}
 29982  			iNdEx = postIndex
 29983  		default:
 29984  			iNdEx = preIndex
 29985  			skippy, err := skipPlan(dAtA[iNdEx:])
 29986  			if err != nil {
 29987  				return err
 29988  			}
 29989  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 29990  				return ErrInvalidLengthPlan
 29991  			}
 29992  			if (iNdEx + skippy) > l {
 29993  				return io.ErrUnexpectedEOF
 29994  			}
 29995  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 29996  			iNdEx += skippy
 29997  		}
 29998  	}
 29999  
 30000  	if iNdEx > l {
 30001  		return io.ErrUnexpectedEOF
 30002  	}
 30003  	return nil
 30004  }
 30005  func (m *AlterView) Unmarshal(dAtA []byte) error {
 30006  	l := len(dAtA)
 30007  	iNdEx := 0
 30008  	for iNdEx < l {
 30009  		preIndex := iNdEx
 30010  		var wire uint64
 30011  		for shift := uint(0); ; shift += 7 {
 30012  			if shift >= 64 {
 30013  				return ErrIntOverflowPlan
 30014  			}
 30015  			if iNdEx >= l {
 30016  				return io.ErrUnexpectedEOF
 30017  			}
 30018  			b := dAtA[iNdEx]
 30019  			iNdEx++
 30020  			wire |= uint64(b&0x7F) << shift
 30021  			if b < 0x80 {
 30022  				break
 30023  			}
 30024  		}
 30025  		fieldNum := int32(wire >> 3)
 30026  		wireType := int(wire & 0x7)
 30027  		if wireType == 4 {
 30028  			return fmt.Errorf("proto: AlterView: wiretype end group for non-group")
 30029  		}
 30030  		if fieldNum <= 0 {
 30031  			return fmt.Errorf("proto: AlterView: illegal tag %d (wire type %d)", fieldNum, wire)
 30032  		}
 30033  		switch fieldNum {
 30034  		case 1:
 30035  			if wireType != 0 {
 30036  				return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType)
 30037  			}
 30038  			var v int
 30039  			for shift := uint(0); ; shift += 7 {
 30040  				if shift >= 64 {
 30041  					return ErrIntOverflowPlan
 30042  				}
 30043  				if iNdEx >= l {
 30044  					return io.ErrUnexpectedEOF
 30045  				}
 30046  				b := dAtA[iNdEx]
 30047  				iNdEx++
 30048  				v |= int(b&0x7F) << shift
 30049  				if b < 0x80 {
 30050  					break
 30051  				}
 30052  			}
 30053  			m.IfExists = bool(v != 0)
 30054  		case 2:
 30055  			if wireType != 2 {
 30056  				return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
 30057  			}
 30058  			var stringLen uint64
 30059  			for shift := uint(0); ; shift += 7 {
 30060  				if shift >= 64 {
 30061  					return ErrIntOverflowPlan
 30062  				}
 30063  				if iNdEx >= l {
 30064  					return io.ErrUnexpectedEOF
 30065  				}
 30066  				b := dAtA[iNdEx]
 30067  				iNdEx++
 30068  				stringLen |= uint64(b&0x7F) << shift
 30069  				if b < 0x80 {
 30070  					break
 30071  				}
 30072  			}
 30073  			intStringLen := int(stringLen)
 30074  			if intStringLen < 0 {
 30075  				return ErrInvalidLengthPlan
 30076  			}
 30077  			postIndex := iNdEx + intStringLen
 30078  			if postIndex < 0 {
 30079  				return ErrInvalidLengthPlan
 30080  			}
 30081  			if postIndex > l {
 30082  				return io.ErrUnexpectedEOF
 30083  			}
 30084  			m.Database = string(dAtA[iNdEx:postIndex])
 30085  			iNdEx = postIndex
 30086  		case 3:
 30087  			if wireType != 0 {
 30088  				return fmt.Errorf("proto: wrong wireType = %d for field Temporary", wireType)
 30089  			}
 30090  			var v int
 30091  			for shift := uint(0); ; shift += 7 {
 30092  				if shift >= 64 {
 30093  					return ErrIntOverflowPlan
 30094  				}
 30095  				if iNdEx >= l {
 30096  					return io.ErrUnexpectedEOF
 30097  				}
 30098  				b := dAtA[iNdEx]
 30099  				iNdEx++
 30100  				v |= int(b&0x7F) << shift
 30101  				if b < 0x80 {
 30102  					break
 30103  				}
 30104  			}
 30105  			m.Temporary = bool(v != 0)
 30106  		case 4:
 30107  			if wireType != 2 {
 30108  				return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType)
 30109  			}
 30110  			var stringLen uint64
 30111  			for shift := uint(0); ; shift += 7 {
 30112  				if shift >= 64 {
 30113  					return ErrIntOverflowPlan
 30114  				}
 30115  				if iNdEx >= l {
 30116  					return io.ErrUnexpectedEOF
 30117  				}
 30118  				b := dAtA[iNdEx]
 30119  				iNdEx++
 30120  				stringLen |= uint64(b&0x7F) << shift
 30121  				if b < 0x80 {
 30122  					break
 30123  				}
 30124  			}
 30125  			intStringLen := int(stringLen)
 30126  			if intStringLen < 0 {
 30127  				return ErrInvalidLengthPlan
 30128  			}
 30129  			postIndex := iNdEx + intStringLen
 30130  			if postIndex < 0 {
 30131  				return ErrInvalidLengthPlan
 30132  			}
 30133  			if postIndex > l {
 30134  				return io.ErrUnexpectedEOF
 30135  			}
 30136  			m.Table = string(dAtA[iNdEx:postIndex])
 30137  			iNdEx = postIndex
 30138  		case 5:
 30139  			if wireType != 2 {
 30140  				return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType)
 30141  			}
 30142  			var msglen int
 30143  			for shift := uint(0); ; shift += 7 {
 30144  				if shift >= 64 {
 30145  					return ErrIntOverflowPlan
 30146  				}
 30147  				if iNdEx >= l {
 30148  					return io.ErrUnexpectedEOF
 30149  				}
 30150  				b := dAtA[iNdEx]
 30151  				iNdEx++
 30152  				msglen |= int(b&0x7F) << shift
 30153  				if b < 0x80 {
 30154  					break
 30155  				}
 30156  			}
 30157  			if msglen < 0 {
 30158  				return ErrInvalidLengthPlan
 30159  			}
 30160  			postIndex := iNdEx + msglen
 30161  			if postIndex < 0 {
 30162  				return ErrInvalidLengthPlan
 30163  			}
 30164  			if postIndex > l {
 30165  				return io.ErrUnexpectedEOF
 30166  			}
 30167  			if m.TableDef == nil {
 30168  				m.TableDef = &TableDef{}
 30169  			}
 30170  			if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 30171  				return err
 30172  			}
 30173  			iNdEx = postIndex
 30174  		case 6:
 30175  			if wireType != 2 {
 30176  				return fmt.Errorf("proto: wrong wireType = %d for field IndexTables", wireType)
 30177  			}
 30178  			var msglen int
 30179  			for shift := uint(0); ; shift += 7 {
 30180  				if shift >= 64 {
 30181  					return ErrIntOverflowPlan
 30182  				}
 30183  				if iNdEx >= l {
 30184  					return io.ErrUnexpectedEOF
 30185  				}
 30186  				b := dAtA[iNdEx]
 30187  				iNdEx++
 30188  				msglen |= int(b&0x7F) << shift
 30189  				if b < 0x80 {
 30190  					break
 30191  				}
 30192  			}
 30193  			if msglen < 0 {
 30194  				return ErrInvalidLengthPlan
 30195  			}
 30196  			postIndex := iNdEx + msglen
 30197  			if postIndex < 0 {
 30198  				return ErrInvalidLengthPlan
 30199  			}
 30200  			if postIndex > l {
 30201  				return io.ErrUnexpectedEOF
 30202  			}
 30203  			m.IndexTables = append(m.IndexTables, &TableDef{})
 30204  			if err := m.IndexTables[len(m.IndexTables)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 30205  				return err
 30206  			}
 30207  			iNdEx = postIndex
 30208  		default:
 30209  			iNdEx = preIndex
 30210  			skippy, err := skipPlan(dAtA[iNdEx:])
 30211  			if err != nil {
 30212  				return err
 30213  			}
 30214  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 30215  				return ErrInvalidLengthPlan
 30216  			}
 30217  			if (iNdEx + skippy) > l {
 30218  				return io.ErrUnexpectedEOF
 30219  			}
 30220  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 30221  			iNdEx += skippy
 30222  		}
 30223  	}
 30224  
 30225  	if iNdEx > l {
 30226  		return io.ErrUnexpectedEOF
 30227  	}
 30228  	return nil
 30229  }
 30230  func (m *DropTable) Unmarshal(dAtA []byte) error {
 30231  	l := len(dAtA)
 30232  	iNdEx := 0
 30233  	for iNdEx < l {
 30234  		preIndex := iNdEx
 30235  		var wire uint64
 30236  		for shift := uint(0); ; shift += 7 {
 30237  			if shift >= 64 {
 30238  				return ErrIntOverflowPlan
 30239  			}
 30240  			if iNdEx >= l {
 30241  				return io.ErrUnexpectedEOF
 30242  			}
 30243  			b := dAtA[iNdEx]
 30244  			iNdEx++
 30245  			wire |= uint64(b&0x7F) << shift
 30246  			if b < 0x80 {
 30247  				break
 30248  			}
 30249  		}
 30250  		fieldNum := int32(wire >> 3)
 30251  		wireType := int(wire & 0x7)
 30252  		if wireType == 4 {
 30253  			return fmt.Errorf("proto: DropTable: wiretype end group for non-group")
 30254  		}
 30255  		if fieldNum <= 0 {
 30256  			return fmt.Errorf("proto: DropTable: illegal tag %d (wire type %d)", fieldNum, wire)
 30257  		}
 30258  		switch fieldNum {
 30259  		case 1:
 30260  			if wireType != 0 {
 30261  				return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType)
 30262  			}
 30263  			var v int
 30264  			for shift := uint(0); ; shift += 7 {
 30265  				if shift >= 64 {
 30266  					return ErrIntOverflowPlan
 30267  				}
 30268  				if iNdEx >= l {
 30269  					return io.ErrUnexpectedEOF
 30270  				}
 30271  				b := dAtA[iNdEx]
 30272  				iNdEx++
 30273  				v |= int(b&0x7F) << shift
 30274  				if b < 0x80 {
 30275  					break
 30276  				}
 30277  			}
 30278  			m.IfExists = bool(v != 0)
 30279  		case 2:
 30280  			if wireType != 2 {
 30281  				return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
 30282  			}
 30283  			var stringLen uint64
 30284  			for shift := uint(0); ; shift += 7 {
 30285  				if shift >= 64 {
 30286  					return ErrIntOverflowPlan
 30287  				}
 30288  				if iNdEx >= l {
 30289  					return io.ErrUnexpectedEOF
 30290  				}
 30291  				b := dAtA[iNdEx]
 30292  				iNdEx++
 30293  				stringLen |= uint64(b&0x7F) << shift
 30294  				if b < 0x80 {
 30295  					break
 30296  				}
 30297  			}
 30298  			intStringLen := int(stringLen)
 30299  			if intStringLen < 0 {
 30300  				return ErrInvalidLengthPlan
 30301  			}
 30302  			postIndex := iNdEx + intStringLen
 30303  			if postIndex < 0 {
 30304  				return ErrInvalidLengthPlan
 30305  			}
 30306  			if postIndex > l {
 30307  				return io.ErrUnexpectedEOF
 30308  			}
 30309  			m.Database = string(dAtA[iNdEx:postIndex])
 30310  			iNdEx = postIndex
 30311  		case 3:
 30312  			if wireType != 2 {
 30313  				return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType)
 30314  			}
 30315  			var stringLen uint64
 30316  			for shift := uint(0); ; shift += 7 {
 30317  				if shift >= 64 {
 30318  					return ErrIntOverflowPlan
 30319  				}
 30320  				if iNdEx >= l {
 30321  					return io.ErrUnexpectedEOF
 30322  				}
 30323  				b := dAtA[iNdEx]
 30324  				iNdEx++
 30325  				stringLen |= uint64(b&0x7F) << shift
 30326  				if b < 0x80 {
 30327  					break
 30328  				}
 30329  			}
 30330  			intStringLen := int(stringLen)
 30331  			if intStringLen < 0 {
 30332  				return ErrInvalidLengthPlan
 30333  			}
 30334  			postIndex := iNdEx + intStringLen
 30335  			if postIndex < 0 {
 30336  				return ErrInvalidLengthPlan
 30337  			}
 30338  			if postIndex > l {
 30339  				return io.ErrUnexpectedEOF
 30340  			}
 30341  			m.Table = string(dAtA[iNdEx:postIndex])
 30342  			iNdEx = postIndex
 30343  		case 4:
 30344  			if wireType != 2 {
 30345  				return fmt.Errorf("proto: wrong wireType = %d for field IndexTableNames", wireType)
 30346  			}
 30347  			var stringLen uint64
 30348  			for shift := uint(0); ; shift += 7 {
 30349  				if shift >= 64 {
 30350  					return ErrIntOverflowPlan
 30351  				}
 30352  				if iNdEx >= l {
 30353  					return io.ErrUnexpectedEOF
 30354  				}
 30355  				b := dAtA[iNdEx]
 30356  				iNdEx++
 30357  				stringLen |= uint64(b&0x7F) << shift
 30358  				if b < 0x80 {
 30359  					break
 30360  				}
 30361  			}
 30362  			intStringLen := int(stringLen)
 30363  			if intStringLen < 0 {
 30364  				return ErrInvalidLengthPlan
 30365  			}
 30366  			postIndex := iNdEx + intStringLen
 30367  			if postIndex < 0 {
 30368  				return ErrInvalidLengthPlan
 30369  			}
 30370  			if postIndex > l {
 30371  				return io.ErrUnexpectedEOF
 30372  			}
 30373  			m.IndexTableNames = append(m.IndexTableNames, string(dAtA[iNdEx:postIndex]))
 30374  			iNdEx = postIndex
 30375  		case 5:
 30376  			if wireType != 2 {
 30377  				return fmt.Errorf("proto: wrong wireType = %d for field ClusterTable", wireType)
 30378  			}
 30379  			var msglen int
 30380  			for shift := uint(0); ; shift += 7 {
 30381  				if shift >= 64 {
 30382  					return ErrIntOverflowPlan
 30383  				}
 30384  				if iNdEx >= l {
 30385  					return io.ErrUnexpectedEOF
 30386  				}
 30387  				b := dAtA[iNdEx]
 30388  				iNdEx++
 30389  				msglen |= int(b&0x7F) << shift
 30390  				if b < 0x80 {
 30391  					break
 30392  				}
 30393  			}
 30394  			if msglen < 0 {
 30395  				return ErrInvalidLengthPlan
 30396  			}
 30397  			postIndex := iNdEx + msglen
 30398  			if postIndex < 0 {
 30399  				return ErrInvalidLengthPlan
 30400  			}
 30401  			if postIndex > l {
 30402  				return io.ErrUnexpectedEOF
 30403  			}
 30404  			if m.ClusterTable == nil {
 30405  				m.ClusterTable = &ClusterTable{}
 30406  			}
 30407  			if err := m.ClusterTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 30408  				return err
 30409  			}
 30410  			iNdEx = postIndex
 30411  		case 6:
 30412  			if wireType != 0 {
 30413  				return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType)
 30414  			}
 30415  			m.TableId = 0
 30416  			for shift := uint(0); ; shift += 7 {
 30417  				if shift >= 64 {
 30418  					return ErrIntOverflowPlan
 30419  				}
 30420  				if iNdEx >= l {
 30421  					return io.ErrUnexpectedEOF
 30422  				}
 30423  				b := dAtA[iNdEx]
 30424  				iNdEx++
 30425  				m.TableId |= uint64(b&0x7F) << shift
 30426  				if b < 0x80 {
 30427  					break
 30428  				}
 30429  			}
 30430  		case 7:
 30431  			if wireType == 0 {
 30432  				var v uint64
 30433  				for shift := uint(0); ; shift += 7 {
 30434  					if shift >= 64 {
 30435  						return ErrIntOverflowPlan
 30436  					}
 30437  					if iNdEx >= l {
 30438  						return io.ErrUnexpectedEOF
 30439  					}
 30440  					b := dAtA[iNdEx]
 30441  					iNdEx++
 30442  					v |= uint64(b&0x7F) << shift
 30443  					if b < 0x80 {
 30444  						break
 30445  					}
 30446  				}
 30447  				m.ForeignTbl = append(m.ForeignTbl, v)
 30448  			} else if wireType == 2 {
 30449  				var packedLen int
 30450  				for shift := uint(0); ; shift += 7 {
 30451  					if shift >= 64 {
 30452  						return ErrIntOverflowPlan
 30453  					}
 30454  					if iNdEx >= l {
 30455  						return io.ErrUnexpectedEOF
 30456  					}
 30457  					b := dAtA[iNdEx]
 30458  					iNdEx++
 30459  					packedLen |= int(b&0x7F) << shift
 30460  					if b < 0x80 {
 30461  						break
 30462  					}
 30463  				}
 30464  				if packedLen < 0 {
 30465  					return ErrInvalidLengthPlan
 30466  				}
 30467  				postIndex := iNdEx + packedLen
 30468  				if postIndex < 0 {
 30469  					return ErrInvalidLengthPlan
 30470  				}
 30471  				if postIndex > l {
 30472  					return io.ErrUnexpectedEOF
 30473  				}
 30474  				var elementCount int
 30475  				var count int
 30476  				for _, integer := range dAtA[iNdEx:postIndex] {
 30477  					if integer < 128 {
 30478  						count++
 30479  					}
 30480  				}
 30481  				elementCount = count
 30482  				if elementCount != 0 && len(m.ForeignTbl) == 0 {
 30483  					m.ForeignTbl = make([]uint64, 0, elementCount)
 30484  				}
 30485  				for iNdEx < postIndex {
 30486  					var v uint64
 30487  					for shift := uint(0); ; shift += 7 {
 30488  						if shift >= 64 {
 30489  							return ErrIntOverflowPlan
 30490  						}
 30491  						if iNdEx >= l {
 30492  							return io.ErrUnexpectedEOF
 30493  						}
 30494  						b := dAtA[iNdEx]
 30495  						iNdEx++
 30496  						v |= uint64(b&0x7F) << shift
 30497  						if b < 0x80 {
 30498  							break
 30499  						}
 30500  					}
 30501  					m.ForeignTbl = append(m.ForeignTbl, v)
 30502  				}
 30503  			} else {
 30504  				return fmt.Errorf("proto: wrong wireType = %d for field ForeignTbl", wireType)
 30505  			}
 30506  		default:
 30507  			iNdEx = preIndex
 30508  			skippy, err := skipPlan(dAtA[iNdEx:])
 30509  			if err != nil {
 30510  				return err
 30511  			}
 30512  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 30513  				return ErrInvalidLengthPlan
 30514  			}
 30515  			if (iNdEx + skippy) > l {
 30516  				return io.ErrUnexpectedEOF
 30517  			}
 30518  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 30519  			iNdEx += skippy
 30520  		}
 30521  	}
 30522  
 30523  	if iNdEx > l {
 30524  		return io.ErrUnexpectedEOF
 30525  	}
 30526  	return nil
 30527  }
 30528  func (m *CreateIndex) Unmarshal(dAtA []byte) error {
 30529  	l := len(dAtA)
 30530  	iNdEx := 0
 30531  	for iNdEx < l {
 30532  		preIndex := iNdEx
 30533  		var wire uint64
 30534  		for shift := uint(0); ; shift += 7 {
 30535  			if shift >= 64 {
 30536  				return ErrIntOverflowPlan
 30537  			}
 30538  			if iNdEx >= l {
 30539  				return io.ErrUnexpectedEOF
 30540  			}
 30541  			b := dAtA[iNdEx]
 30542  			iNdEx++
 30543  			wire |= uint64(b&0x7F) << shift
 30544  			if b < 0x80 {
 30545  				break
 30546  			}
 30547  		}
 30548  		fieldNum := int32(wire >> 3)
 30549  		wireType := int(wire & 0x7)
 30550  		if wireType == 4 {
 30551  			return fmt.Errorf("proto: CreateIndex: wiretype end group for non-group")
 30552  		}
 30553  		if fieldNum <= 0 {
 30554  			return fmt.Errorf("proto: CreateIndex: illegal tag %d (wire type %d)", fieldNum, wire)
 30555  		}
 30556  		switch fieldNum {
 30557  		case 1:
 30558  			if wireType != 2 {
 30559  				return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
 30560  			}
 30561  			var stringLen uint64
 30562  			for shift := uint(0); ; shift += 7 {
 30563  				if shift >= 64 {
 30564  					return ErrIntOverflowPlan
 30565  				}
 30566  				if iNdEx >= l {
 30567  					return io.ErrUnexpectedEOF
 30568  				}
 30569  				b := dAtA[iNdEx]
 30570  				iNdEx++
 30571  				stringLen |= uint64(b&0x7F) << shift
 30572  				if b < 0x80 {
 30573  					break
 30574  				}
 30575  			}
 30576  			intStringLen := int(stringLen)
 30577  			if intStringLen < 0 {
 30578  				return ErrInvalidLengthPlan
 30579  			}
 30580  			postIndex := iNdEx + intStringLen
 30581  			if postIndex < 0 {
 30582  				return ErrInvalidLengthPlan
 30583  			}
 30584  			if postIndex > l {
 30585  				return io.ErrUnexpectedEOF
 30586  			}
 30587  			m.Database = string(dAtA[iNdEx:postIndex])
 30588  			iNdEx = postIndex
 30589  		case 2:
 30590  			if wireType != 2 {
 30591  				return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType)
 30592  			}
 30593  			var stringLen uint64
 30594  			for shift := uint(0); ; shift += 7 {
 30595  				if shift >= 64 {
 30596  					return ErrIntOverflowPlan
 30597  				}
 30598  				if iNdEx >= l {
 30599  					return io.ErrUnexpectedEOF
 30600  				}
 30601  				b := dAtA[iNdEx]
 30602  				iNdEx++
 30603  				stringLen |= uint64(b&0x7F) << shift
 30604  				if b < 0x80 {
 30605  					break
 30606  				}
 30607  			}
 30608  			intStringLen := int(stringLen)
 30609  			if intStringLen < 0 {
 30610  				return ErrInvalidLengthPlan
 30611  			}
 30612  			postIndex := iNdEx + intStringLen
 30613  			if postIndex < 0 {
 30614  				return ErrInvalidLengthPlan
 30615  			}
 30616  			if postIndex > l {
 30617  				return io.ErrUnexpectedEOF
 30618  			}
 30619  			m.Table = string(dAtA[iNdEx:postIndex])
 30620  			iNdEx = postIndex
 30621  		case 3:
 30622  			if wireType != 2 {
 30623  				return fmt.Errorf("proto: wrong wireType = %d for field OriginTablePrimaryKey", wireType)
 30624  			}
 30625  			var stringLen uint64
 30626  			for shift := uint(0); ; shift += 7 {
 30627  				if shift >= 64 {
 30628  					return ErrIntOverflowPlan
 30629  				}
 30630  				if iNdEx >= l {
 30631  					return io.ErrUnexpectedEOF
 30632  				}
 30633  				b := dAtA[iNdEx]
 30634  				iNdEx++
 30635  				stringLen |= uint64(b&0x7F) << shift
 30636  				if b < 0x80 {
 30637  					break
 30638  				}
 30639  			}
 30640  			intStringLen := int(stringLen)
 30641  			if intStringLen < 0 {
 30642  				return ErrInvalidLengthPlan
 30643  			}
 30644  			postIndex := iNdEx + intStringLen
 30645  			if postIndex < 0 {
 30646  				return ErrInvalidLengthPlan
 30647  			}
 30648  			if postIndex > l {
 30649  				return io.ErrUnexpectedEOF
 30650  			}
 30651  			m.OriginTablePrimaryKey = string(dAtA[iNdEx:postIndex])
 30652  			iNdEx = postIndex
 30653  		case 4:
 30654  			if wireType != 2 {
 30655  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 30656  			}
 30657  			var msglen int
 30658  			for shift := uint(0); ; shift += 7 {
 30659  				if shift >= 64 {
 30660  					return ErrIntOverflowPlan
 30661  				}
 30662  				if iNdEx >= l {
 30663  					return io.ErrUnexpectedEOF
 30664  				}
 30665  				b := dAtA[iNdEx]
 30666  				iNdEx++
 30667  				msglen |= int(b&0x7F) << shift
 30668  				if b < 0x80 {
 30669  					break
 30670  				}
 30671  			}
 30672  			if msglen < 0 {
 30673  				return ErrInvalidLengthPlan
 30674  			}
 30675  			postIndex := iNdEx + msglen
 30676  			if postIndex < 0 {
 30677  				return ErrInvalidLengthPlan
 30678  			}
 30679  			if postIndex > l {
 30680  				return io.ErrUnexpectedEOF
 30681  			}
 30682  			if m.Index == nil {
 30683  				m.Index = &CreateTable{}
 30684  			}
 30685  			if err := m.Index.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 30686  				return err
 30687  			}
 30688  			iNdEx = postIndex
 30689  		case 5:
 30690  			if wireType != 0 {
 30691  				return fmt.Errorf("proto: wrong wireType = %d for field TableExist", wireType)
 30692  			}
 30693  			var v int
 30694  			for shift := uint(0); ; shift += 7 {
 30695  				if shift >= 64 {
 30696  					return ErrIntOverflowPlan
 30697  				}
 30698  				if iNdEx >= l {
 30699  					return io.ErrUnexpectedEOF
 30700  				}
 30701  				b := dAtA[iNdEx]
 30702  				iNdEx++
 30703  				v |= int(b&0x7F) << shift
 30704  				if b < 0x80 {
 30705  					break
 30706  				}
 30707  			}
 30708  			m.TableExist = bool(v != 0)
 30709  		default:
 30710  			iNdEx = preIndex
 30711  			skippy, err := skipPlan(dAtA[iNdEx:])
 30712  			if err != nil {
 30713  				return err
 30714  			}
 30715  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 30716  				return ErrInvalidLengthPlan
 30717  			}
 30718  			if (iNdEx + skippy) > l {
 30719  				return io.ErrUnexpectedEOF
 30720  			}
 30721  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 30722  			iNdEx += skippy
 30723  		}
 30724  	}
 30725  
 30726  	if iNdEx > l {
 30727  		return io.ErrUnexpectedEOF
 30728  	}
 30729  	return nil
 30730  }
 30731  func (m *AlterIndex) Unmarshal(dAtA []byte) error {
 30732  	l := len(dAtA)
 30733  	iNdEx := 0
 30734  	for iNdEx < l {
 30735  		preIndex := iNdEx
 30736  		var wire uint64
 30737  		for shift := uint(0); ; shift += 7 {
 30738  			if shift >= 64 {
 30739  				return ErrIntOverflowPlan
 30740  			}
 30741  			if iNdEx >= l {
 30742  				return io.ErrUnexpectedEOF
 30743  			}
 30744  			b := dAtA[iNdEx]
 30745  			iNdEx++
 30746  			wire |= uint64(b&0x7F) << shift
 30747  			if b < 0x80 {
 30748  				break
 30749  			}
 30750  		}
 30751  		fieldNum := int32(wire >> 3)
 30752  		wireType := int(wire & 0x7)
 30753  		if wireType == 4 {
 30754  			return fmt.Errorf("proto: AlterIndex: wiretype end group for non-group")
 30755  		}
 30756  		if fieldNum <= 0 {
 30757  			return fmt.Errorf("proto: AlterIndex: illegal tag %d (wire type %d)", fieldNum, wire)
 30758  		}
 30759  		switch fieldNum {
 30760  		case 1:
 30761  			if wireType != 2 {
 30762  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 30763  			}
 30764  			var stringLen uint64
 30765  			for shift := uint(0); ; shift += 7 {
 30766  				if shift >= 64 {
 30767  					return ErrIntOverflowPlan
 30768  				}
 30769  				if iNdEx >= l {
 30770  					return io.ErrUnexpectedEOF
 30771  				}
 30772  				b := dAtA[iNdEx]
 30773  				iNdEx++
 30774  				stringLen |= uint64(b&0x7F) << shift
 30775  				if b < 0x80 {
 30776  					break
 30777  				}
 30778  			}
 30779  			intStringLen := int(stringLen)
 30780  			if intStringLen < 0 {
 30781  				return ErrInvalidLengthPlan
 30782  			}
 30783  			postIndex := iNdEx + intStringLen
 30784  			if postIndex < 0 {
 30785  				return ErrInvalidLengthPlan
 30786  			}
 30787  			if postIndex > l {
 30788  				return io.ErrUnexpectedEOF
 30789  			}
 30790  			m.Index = string(dAtA[iNdEx:postIndex])
 30791  			iNdEx = postIndex
 30792  		default:
 30793  			iNdEx = preIndex
 30794  			skippy, err := skipPlan(dAtA[iNdEx:])
 30795  			if err != nil {
 30796  				return err
 30797  			}
 30798  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 30799  				return ErrInvalidLengthPlan
 30800  			}
 30801  			if (iNdEx + skippy) > l {
 30802  				return io.ErrUnexpectedEOF
 30803  			}
 30804  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 30805  			iNdEx += skippy
 30806  		}
 30807  	}
 30808  
 30809  	if iNdEx > l {
 30810  		return io.ErrUnexpectedEOF
 30811  	}
 30812  	return nil
 30813  }
 30814  func (m *DropIndex) Unmarshal(dAtA []byte) error {
 30815  	l := len(dAtA)
 30816  	iNdEx := 0
 30817  	for iNdEx < l {
 30818  		preIndex := iNdEx
 30819  		var wire uint64
 30820  		for shift := uint(0); ; shift += 7 {
 30821  			if shift >= 64 {
 30822  				return ErrIntOverflowPlan
 30823  			}
 30824  			if iNdEx >= l {
 30825  				return io.ErrUnexpectedEOF
 30826  			}
 30827  			b := dAtA[iNdEx]
 30828  			iNdEx++
 30829  			wire |= uint64(b&0x7F) << shift
 30830  			if b < 0x80 {
 30831  				break
 30832  			}
 30833  		}
 30834  		fieldNum := int32(wire >> 3)
 30835  		wireType := int(wire & 0x7)
 30836  		if wireType == 4 {
 30837  			return fmt.Errorf("proto: DropIndex: wiretype end group for non-group")
 30838  		}
 30839  		if fieldNum <= 0 {
 30840  			return fmt.Errorf("proto: DropIndex: illegal tag %d (wire type %d)", fieldNum, wire)
 30841  		}
 30842  		switch fieldNum {
 30843  		case 1:
 30844  			if wireType != 2 {
 30845  				return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
 30846  			}
 30847  			var stringLen uint64
 30848  			for shift := uint(0); ; shift += 7 {
 30849  				if shift >= 64 {
 30850  					return ErrIntOverflowPlan
 30851  				}
 30852  				if iNdEx >= l {
 30853  					return io.ErrUnexpectedEOF
 30854  				}
 30855  				b := dAtA[iNdEx]
 30856  				iNdEx++
 30857  				stringLen |= uint64(b&0x7F) << shift
 30858  				if b < 0x80 {
 30859  					break
 30860  				}
 30861  			}
 30862  			intStringLen := int(stringLen)
 30863  			if intStringLen < 0 {
 30864  				return ErrInvalidLengthPlan
 30865  			}
 30866  			postIndex := iNdEx + intStringLen
 30867  			if postIndex < 0 {
 30868  				return ErrInvalidLengthPlan
 30869  			}
 30870  			if postIndex > l {
 30871  				return io.ErrUnexpectedEOF
 30872  			}
 30873  			m.Database = string(dAtA[iNdEx:postIndex])
 30874  			iNdEx = postIndex
 30875  		case 2:
 30876  			if wireType != 2 {
 30877  				return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType)
 30878  			}
 30879  			var stringLen uint64
 30880  			for shift := uint(0); ; shift += 7 {
 30881  				if shift >= 64 {
 30882  					return ErrIntOverflowPlan
 30883  				}
 30884  				if iNdEx >= l {
 30885  					return io.ErrUnexpectedEOF
 30886  				}
 30887  				b := dAtA[iNdEx]
 30888  				iNdEx++
 30889  				stringLen |= uint64(b&0x7F) << shift
 30890  				if b < 0x80 {
 30891  					break
 30892  				}
 30893  			}
 30894  			intStringLen := int(stringLen)
 30895  			if intStringLen < 0 {
 30896  				return ErrInvalidLengthPlan
 30897  			}
 30898  			postIndex := iNdEx + intStringLen
 30899  			if postIndex < 0 {
 30900  				return ErrInvalidLengthPlan
 30901  			}
 30902  			if postIndex > l {
 30903  				return io.ErrUnexpectedEOF
 30904  			}
 30905  			m.Table = string(dAtA[iNdEx:postIndex])
 30906  			iNdEx = postIndex
 30907  		case 3:
 30908  			if wireType != 2 {
 30909  				return fmt.Errorf("proto: wrong wireType = %d for field IndexName", wireType)
 30910  			}
 30911  			var stringLen uint64
 30912  			for shift := uint(0); ; shift += 7 {
 30913  				if shift >= 64 {
 30914  					return ErrIntOverflowPlan
 30915  				}
 30916  				if iNdEx >= l {
 30917  					return io.ErrUnexpectedEOF
 30918  				}
 30919  				b := dAtA[iNdEx]
 30920  				iNdEx++
 30921  				stringLen |= uint64(b&0x7F) << shift
 30922  				if b < 0x80 {
 30923  					break
 30924  				}
 30925  			}
 30926  			intStringLen := int(stringLen)
 30927  			if intStringLen < 0 {
 30928  				return ErrInvalidLengthPlan
 30929  			}
 30930  			postIndex := iNdEx + intStringLen
 30931  			if postIndex < 0 {
 30932  				return ErrInvalidLengthPlan
 30933  			}
 30934  			if postIndex > l {
 30935  				return io.ErrUnexpectedEOF
 30936  			}
 30937  			m.IndexName = string(dAtA[iNdEx:postIndex])
 30938  			iNdEx = postIndex
 30939  		case 4:
 30940  			if wireType != 2 {
 30941  				return fmt.Errorf("proto: wrong wireType = %d for field IndexTableName", wireType)
 30942  			}
 30943  			var stringLen uint64
 30944  			for shift := uint(0); ; shift += 7 {
 30945  				if shift >= 64 {
 30946  					return ErrIntOverflowPlan
 30947  				}
 30948  				if iNdEx >= l {
 30949  					return io.ErrUnexpectedEOF
 30950  				}
 30951  				b := dAtA[iNdEx]
 30952  				iNdEx++
 30953  				stringLen |= uint64(b&0x7F) << shift
 30954  				if b < 0x80 {
 30955  					break
 30956  				}
 30957  			}
 30958  			intStringLen := int(stringLen)
 30959  			if intStringLen < 0 {
 30960  				return ErrInvalidLengthPlan
 30961  			}
 30962  			postIndex := iNdEx + intStringLen
 30963  			if postIndex < 0 {
 30964  				return ErrInvalidLengthPlan
 30965  			}
 30966  			if postIndex > l {
 30967  				return io.ErrUnexpectedEOF
 30968  			}
 30969  			m.IndexTableName = string(dAtA[iNdEx:postIndex])
 30970  			iNdEx = postIndex
 30971  		default:
 30972  			iNdEx = preIndex
 30973  			skippy, err := skipPlan(dAtA[iNdEx:])
 30974  			if err != nil {
 30975  				return err
 30976  			}
 30977  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 30978  				return ErrInvalidLengthPlan
 30979  			}
 30980  			if (iNdEx + skippy) > l {
 30981  				return io.ErrUnexpectedEOF
 30982  			}
 30983  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 30984  			iNdEx += skippy
 30985  		}
 30986  	}
 30987  
 30988  	if iNdEx > l {
 30989  		return io.ErrUnexpectedEOF
 30990  	}
 30991  	return nil
 30992  }
 30993  func (m *TruncateTable) Unmarshal(dAtA []byte) error {
 30994  	l := len(dAtA)
 30995  	iNdEx := 0
 30996  	for iNdEx < l {
 30997  		preIndex := iNdEx
 30998  		var wire uint64
 30999  		for shift := uint(0); ; shift += 7 {
 31000  			if shift >= 64 {
 31001  				return ErrIntOverflowPlan
 31002  			}
 31003  			if iNdEx >= l {
 31004  				return io.ErrUnexpectedEOF
 31005  			}
 31006  			b := dAtA[iNdEx]
 31007  			iNdEx++
 31008  			wire |= uint64(b&0x7F) << shift
 31009  			if b < 0x80 {
 31010  				break
 31011  			}
 31012  		}
 31013  		fieldNum := int32(wire >> 3)
 31014  		wireType := int(wire & 0x7)
 31015  		if wireType == 4 {
 31016  			return fmt.Errorf("proto: TruncateTable: wiretype end group for non-group")
 31017  		}
 31018  		if fieldNum <= 0 {
 31019  			return fmt.Errorf("proto: TruncateTable: illegal tag %d (wire type %d)", fieldNum, wire)
 31020  		}
 31021  		switch fieldNum {
 31022  		case 1:
 31023  			if wireType != 2 {
 31024  				return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
 31025  			}
 31026  			var stringLen uint64
 31027  			for shift := uint(0); ; shift += 7 {
 31028  				if shift >= 64 {
 31029  					return ErrIntOverflowPlan
 31030  				}
 31031  				if iNdEx >= l {
 31032  					return io.ErrUnexpectedEOF
 31033  				}
 31034  				b := dAtA[iNdEx]
 31035  				iNdEx++
 31036  				stringLen |= uint64(b&0x7F) << shift
 31037  				if b < 0x80 {
 31038  					break
 31039  				}
 31040  			}
 31041  			intStringLen := int(stringLen)
 31042  			if intStringLen < 0 {
 31043  				return ErrInvalidLengthPlan
 31044  			}
 31045  			postIndex := iNdEx + intStringLen
 31046  			if postIndex < 0 {
 31047  				return ErrInvalidLengthPlan
 31048  			}
 31049  			if postIndex > l {
 31050  				return io.ErrUnexpectedEOF
 31051  			}
 31052  			m.Database = string(dAtA[iNdEx:postIndex])
 31053  			iNdEx = postIndex
 31054  		case 2:
 31055  			if wireType != 2 {
 31056  				return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType)
 31057  			}
 31058  			var stringLen uint64
 31059  			for shift := uint(0); ; shift += 7 {
 31060  				if shift >= 64 {
 31061  					return ErrIntOverflowPlan
 31062  				}
 31063  				if iNdEx >= l {
 31064  					return io.ErrUnexpectedEOF
 31065  				}
 31066  				b := dAtA[iNdEx]
 31067  				iNdEx++
 31068  				stringLen |= uint64(b&0x7F) << shift
 31069  				if b < 0x80 {
 31070  					break
 31071  				}
 31072  			}
 31073  			intStringLen := int(stringLen)
 31074  			if intStringLen < 0 {
 31075  				return ErrInvalidLengthPlan
 31076  			}
 31077  			postIndex := iNdEx + intStringLen
 31078  			if postIndex < 0 {
 31079  				return ErrInvalidLengthPlan
 31080  			}
 31081  			if postIndex > l {
 31082  				return io.ErrUnexpectedEOF
 31083  			}
 31084  			m.Table = string(dAtA[iNdEx:postIndex])
 31085  			iNdEx = postIndex
 31086  		case 3:
 31087  			if wireType != 2 {
 31088  				return fmt.Errorf("proto: wrong wireType = %d for field IndexTableNames", wireType)
 31089  			}
 31090  			var stringLen uint64
 31091  			for shift := uint(0); ; shift += 7 {
 31092  				if shift >= 64 {
 31093  					return ErrIntOverflowPlan
 31094  				}
 31095  				if iNdEx >= l {
 31096  					return io.ErrUnexpectedEOF
 31097  				}
 31098  				b := dAtA[iNdEx]
 31099  				iNdEx++
 31100  				stringLen |= uint64(b&0x7F) << shift
 31101  				if b < 0x80 {
 31102  					break
 31103  				}
 31104  			}
 31105  			intStringLen := int(stringLen)
 31106  			if intStringLen < 0 {
 31107  				return ErrInvalidLengthPlan
 31108  			}
 31109  			postIndex := iNdEx + intStringLen
 31110  			if postIndex < 0 {
 31111  				return ErrInvalidLengthPlan
 31112  			}
 31113  			if postIndex > l {
 31114  				return io.ErrUnexpectedEOF
 31115  			}
 31116  			m.IndexTableNames = append(m.IndexTableNames, string(dAtA[iNdEx:postIndex]))
 31117  			iNdEx = postIndex
 31118  		case 4:
 31119  			if wireType != 2 {
 31120  				return fmt.Errorf("proto: wrong wireType = %d for field ClusterTable", wireType)
 31121  			}
 31122  			var msglen int
 31123  			for shift := uint(0); ; shift += 7 {
 31124  				if shift >= 64 {
 31125  					return ErrIntOverflowPlan
 31126  				}
 31127  				if iNdEx >= l {
 31128  					return io.ErrUnexpectedEOF
 31129  				}
 31130  				b := dAtA[iNdEx]
 31131  				iNdEx++
 31132  				msglen |= int(b&0x7F) << shift
 31133  				if b < 0x80 {
 31134  					break
 31135  				}
 31136  			}
 31137  			if msglen < 0 {
 31138  				return ErrInvalidLengthPlan
 31139  			}
 31140  			postIndex := iNdEx + msglen
 31141  			if postIndex < 0 {
 31142  				return ErrInvalidLengthPlan
 31143  			}
 31144  			if postIndex > l {
 31145  				return io.ErrUnexpectedEOF
 31146  			}
 31147  			if m.ClusterTable == nil {
 31148  				m.ClusterTable = &ClusterTable{}
 31149  			}
 31150  			if err := m.ClusterTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 31151  				return err
 31152  			}
 31153  			iNdEx = postIndex
 31154  		case 5:
 31155  			if wireType != 0 {
 31156  				return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType)
 31157  			}
 31158  			m.TableId = 0
 31159  			for shift := uint(0); ; shift += 7 {
 31160  				if shift >= 64 {
 31161  					return ErrIntOverflowPlan
 31162  				}
 31163  				if iNdEx >= l {
 31164  					return io.ErrUnexpectedEOF
 31165  				}
 31166  				b := dAtA[iNdEx]
 31167  				iNdEx++
 31168  				m.TableId |= uint64(b&0x7F) << shift
 31169  				if b < 0x80 {
 31170  					break
 31171  				}
 31172  			}
 31173  		case 6:
 31174  			if wireType == 0 {
 31175  				var v uint64
 31176  				for shift := uint(0); ; shift += 7 {
 31177  					if shift >= 64 {
 31178  						return ErrIntOverflowPlan
 31179  					}
 31180  					if iNdEx >= l {
 31181  						return io.ErrUnexpectedEOF
 31182  					}
 31183  					b := dAtA[iNdEx]
 31184  					iNdEx++
 31185  					v |= uint64(b&0x7F) << shift
 31186  					if b < 0x80 {
 31187  						break
 31188  					}
 31189  				}
 31190  				m.ForeignTbl = append(m.ForeignTbl, v)
 31191  			} else if wireType == 2 {
 31192  				var packedLen int
 31193  				for shift := uint(0); ; shift += 7 {
 31194  					if shift >= 64 {
 31195  						return ErrIntOverflowPlan
 31196  					}
 31197  					if iNdEx >= l {
 31198  						return io.ErrUnexpectedEOF
 31199  					}
 31200  					b := dAtA[iNdEx]
 31201  					iNdEx++
 31202  					packedLen |= int(b&0x7F) << shift
 31203  					if b < 0x80 {
 31204  						break
 31205  					}
 31206  				}
 31207  				if packedLen < 0 {
 31208  					return ErrInvalidLengthPlan
 31209  				}
 31210  				postIndex := iNdEx + packedLen
 31211  				if postIndex < 0 {
 31212  					return ErrInvalidLengthPlan
 31213  				}
 31214  				if postIndex > l {
 31215  					return io.ErrUnexpectedEOF
 31216  				}
 31217  				var elementCount int
 31218  				var count int
 31219  				for _, integer := range dAtA[iNdEx:postIndex] {
 31220  					if integer < 128 {
 31221  						count++
 31222  					}
 31223  				}
 31224  				elementCount = count
 31225  				if elementCount != 0 && len(m.ForeignTbl) == 0 {
 31226  					m.ForeignTbl = make([]uint64, 0, elementCount)
 31227  				}
 31228  				for iNdEx < postIndex {
 31229  					var v uint64
 31230  					for shift := uint(0); ; shift += 7 {
 31231  						if shift >= 64 {
 31232  							return ErrIntOverflowPlan
 31233  						}
 31234  						if iNdEx >= l {
 31235  							return io.ErrUnexpectedEOF
 31236  						}
 31237  						b := dAtA[iNdEx]
 31238  						iNdEx++
 31239  						v |= uint64(b&0x7F) << shift
 31240  						if b < 0x80 {
 31241  							break
 31242  						}
 31243  					}
 31244  					m.ForeignTbl = append(m.ForeignTbl, v)
 31245  				}
 31246  			} else {
 31247  				return fmt.Errorf("proto: wrong wireType = %d for field ForeignTbl", wireType)
 31248  			}
 31249  		default:
 31250  			iNdEx = preIndex
 31251  			skippy, err := skipPlan(dAtA[iNdEx:])
 31252  			if err != nil {
 31253  				return err
 31254  			}
 31255  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 31256  				return ErrInvalidLengthPlan
 31257  			}
 31258  			if (iNdEx + skippy) > l {
 31259  				return io.ErrUnexpectedEOF
 31260  			}
 31261  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 31262  			iNdEx += skippy
 31263  		}
 31264  	}
 31265  
 31266  	if iNdEx > l {
 31267  		return io.ErrUnexpectedEOF
 31268  	}
 31269  	return nil
 31270  }
 31271  func (m *ClusterTable) Unmarshal(dAtA []byte) error {
 31272  	l := len(dAtA)
 31273  	iNdEx := 0
 31274  	for iNdEx < l {
 31275  		preIndex := iNdEx
 31276  		var wire uint64
 31277  		for shift := uint(0); ; shift += 7 {
 31278  			if shift >= 64 {
 31279  				return ErrIntOverflowPlan
 31280  			}
 31281  			if iNdEx >= l {
 31282  				return io.ErrUnexpectedEOF
 31283  			}
 31284  			b := dAtA[iNdEx]
 31285  			iNdEx++
 31286  			wire |= uint64(b&0x7F) << shift
 31287  			if b < 0x80 {
 31288  				break
 31289  			}
 31290  		}
 31291  		fieldNum := int32(wire >> 3)
 31292  		wireType := int(wire & 0x7)
 31293  		if wireType == 4 {
 31294  			return fmt.Errorf("proto: ClusterTable: wiretype end group for non-group")
 31295  		}
 31296  		if fieldNum <= 0 {
 31297  			return fmt.Errorf("proto: ClusterTable: illegal tag %d (wire type %d)", fieldNum, wire)
 31298  		}
 31299  		switch fieldNum {
 31300  		case 1:
 31301  			if wireType != 0 {
 31302  				return fmt.Errorf("proto: wrong wireType = %d for field IsClusterTable", wireType)
 31303  			}
 31304  			var v int
 31305  			for shift := uint(0); ; shift += 7 {
 31306  				if shift >= 64 {
 31307  					return ErrIntOverflowPlan
 31308  				}
 31309  				if iNdEx >= l {
 31310  					return io.ErrUnexpectedEOF
 31311  				}
 31312  				b := dAtA[iNdEx]
 31313  				iNdEx++
 31314  				v |= int(b&0x7F) << shift
 31315  				if b < 0x80 {
 31316  					break
 31317  				}
 31318  			}
 31319  			m.IsClusterTable = bool(v != 0)
 31320  		case 2:
 31321  			if wireType == 0 {
 31322  				var v uint32
 31323  				for shift := uint(0); ; shift += 7 {
 31324  					if shift >= 64 {
 31325  						return ErrIntOverflowPlan
 31326  					}
 31327  					if iNdEx >= l {
 31328  						return io.ErrUnexpectedEOF
 31329  					}
 31330  					b := dAtA[iNdEx]
 31331  					iNdEx++
 31332  					v |= uint32(b&0x7F) << shift
 31333  					if b < 0x80 {
 31334  						break
 31335  					}
 31336  				}
 31337  				m.AccountIDs = append(m.AccountIDs, v)
 31338  			} else if wireType == 2 {
 31339  				var packedLen int
 31340  				for shift := uint(0); ; shift += 7 {
 31341  					if shift >= 64 {
 31342  						return ErrIntOverflowPlan
 31343  					}
 31344  					if iNdEx >= l {
 31345  						return io.ErrUnexpectedEOF
 31346  					}
 31347  					b := dAtA[iNdEx]
 31348  					iNdEx++
 31349  					packedLen |= int(b&0x7F) << shift
 31350  					if b < 0x80 {
 31351  						break
 31352  					}
 31353  				}
 31354  				if packedLen < 0 {
 31355  					return ErrInvalidLengthPlan
 31356  				}
 31357  				postIndex := iNdEx + packedLen
 31358  				if postIndex < 0 {
 31359  					return ErrInvalidLengthPlan
 31360  				}
 31361  				if postIndex > l {
 31362  					return io.ErrUnexpectedEOF
 31363  				}
 31364  				var elementCount int
 31365  				var count int
 31366  				for _, integer := range dAtA[iNdEx:postIndex] {
 31367  					if integer < 128 {
 31368  						count++
 31369  					}
 31370  				}
 31371  				elementCount = count
 31372  				if elementCount != 0 && len(m.AccountIDs) == 0 {
 31373  					m.AccountIDs = make([]uint32, 0, elementCount)
 31374  				}
 31375  				for iNdEx < postIndex {
 31376  					var v uint32
 31377  					for shift := uint(0); ; shift += 7 {
 31378  						if shift >= 64 {
 31379  							return ErrIntOverflowPlan
 31380  						}
 31381  						if iNdEx >= l {
 31382  							return io.ErrUnexpectedEOF
 31383  						}
 31384  						b := dAtA[iNdEx]
 31385  						iNdEx++
 31386  						v |= uint32(b&0x7F) << shift
 31387  						if b < 0x80 {
 31388  							break
 31389  						}
 31390  					}
 31391  					m.AccountIDs = append(m.AccountIDs, v)
 31392  				}
 31393  			} else {
 31394  				return fmt.Errorf("proto: wrong wireType = %d for field AccountIDs", wireType)
 31395  			}
 31396  		case 3:
 31397  			if wireType != 0 {
 31398  				return fmt.Errorf("proto: wrong wireType = %d for field ColumnIndexOfAccountId", wireType)
 31399  			}
 31400  			m.ColumnIndexOfAccountId = 0
 31401  			for shift := uint(0); ; shift += 7 {
 31402  				if shift >= 64 {
 31403  					return ErrIntOverflowPlan
 31404  				}
 31405  				if iNdEx >= l {
 31406  					return io.ErrUnexpectedEOF
 31407  				}
 31408  				b := dAtA[iNdEx]
 31409  				iNdEx++
 31410  				m.ColumnIndexOfAccountId |= int32(b&0x7F) << shift
 31411  				if b < 0x80 {
 31412  					break
 31413  				}
 31414  			}
 31415  		default:
 31416  			iNdEx = preIndex
 31417  			skippy, err := skipPlan(dAtA[iNdEx:])
 31418  			if err != nil {
 31419  				return err
 31420  			}
 31421  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 31422  				return ErrInvalidLengthPlan
 31423  			}
 31424  			if (iNdEx + skippy) > l {
 31425  				return io.ErrUnexpectedEOF
 31426  			}
 31427  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 31428  			iNdEx += skippy
 31429  		}
 31430  	}
 31431  
 31432  	if iNdEx > l {
 31433  		return io.ErrUnexpectedEOF
 31434  	}
 31435  	return nil
 31436  }
 31437  func (m *ShowVariables) Unmarshal(dAtA []byte) error {
 31438  	l := len(dAtA)
 31439  	iNdEx := 0
 31440  	for iNdEx < l {
 31441  		preIndex := iNdEx
 31442  		var wire uint64
 31443  		for shift := uint(0); ; shift += 7 {
 31444  			if shift >= 64 {
 31445  				return ErrIntOverflowPlan
 31446  			}
 31447  			if iNdEx >= l {
 31448  				return io.ErrUnexpectedEOF
 31449  			}
 31450  			b := dAtA[iNdEx]
 31451  			iNdEx++
 31452  			wire |= uint64(b&0x7F) << shift
 31453  			if b < 0x80 {
 31454  				break
 31455  			}
 31456  		}
 31457  		fieldNum := int32(wire >> 3)
 31458  		wireType := int(wire & 0x7)
 31459  		if wireType == 4 {
 31460  			return fmt.Errorf("proto: ShowVariables: wiretype end group for non-group")
 31461  		}
 31462  		if fieldNum <= 0 {
 31463  			return fmt.Errorf("proto: ShowVariables: illegal tag %d (wire type %d)", fieldNum, wire)
 31464  		}
 31465  		switch fieldNum {
 31466  		case 1:
 31467  			if wireType != 0 {
 31468  				return fmt.Errorf("proto: wrong wireType = %d for field Global", wireType)
 31469  			}
 31470  			var v int
 31471  			for shift := uint(0); ; shift += 7 {
 31472  				if shift >= 64 {
 31473  					return ErrIntOverflowPlan
 31474  				}
 31475  				if iNdEx >= l {
 31476  					return io.ErrUnexpectedEOF
 31477  				}
 31478  				b := dAtA[iNdEx]
 31479  				iNdEx++
 31480  				v |= int(b&0x7F) << shift
 31481  				if b < 0x80 {
 31482  					break
 31483  				}
 31484  			}
 31485  			m.Global = bool(v != 0)
 31486  		case 2:
 31487  			if wireType != 2 {
 31488  				return fmt.Errorf("proto: wrong wireType = %d for field Where", wireType)
 31489  			}
 31490  			var msglen int
 31491  			for shift := uint(0); ; shift += 7 {
 31492  				if shift >= 64 {
 31493  					return ErrIntOverflowPlan
 31494  				}
 31495  				if iNdEx >= l {
 31496  					return io.ErrUnexpectedEOF
 31497  				}
 31498  				b := dAtA[iNdEx]
 31499  				iNdEx++
 31500  				msglen |= int(b&0x7F) << shift
 31501  				if b < 0x80 {
 31502  					break
 31503  				}
 31504  			}
 31505  			if msglen < 0 {
 31506  				return ErrInvalidLengthPlan
 31507  			}
 31508  			postIndex := iNdEx + msglen
 31509  			if postIndex < 0 {
 31510  				return ErrInvalidLengthPlan
 31511  			}
 31512  			if postIndex > l {
 31513  				return io.ErrUnexpectedEOF
 31514  			}
 31515  			m.Where = append(m.Where, &Expr{})
 31516  			if err := m.Where[len(m.Where)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 31517  				return err
 31518  			}
 31519  			iNdEx = postIndex
 31520  		default:
 31521  			iNdEx = preIndex
 31522  			skippy, err := skipPlan(dAtA[iNdEx:])
 31523  			if err != nil {
 31524  				return err
 31525  			}
 31526  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 31527  				return ErrInvalidLengthPlan
 31528  			}
 31529  			if (iNdEx + skippy) > l {
 31530  				return io.ErrUnexpectedEOF
 31531  			}
 31532  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 31533  			iNdEx += skippy
 31534  		}
 31535  	}
 31536  
 31537  	if iNdEx > l {
 31538  		return io.ErrUnexpectedEOF
 31539  	}
 31540  	return nil
 31541  }
 31542  func (m *SetVariables) Unmarshal(dAtA []byte) error {
 31543  	l := len(dAtA)
 31544  	iNdEx := 0
 31545  	for iNdEx < l {
 31546  		preIndex := iNdEx
 31547  		var wire uint64
 31548  		for shift := uint(0); ; shift += 7 {
 31549  			if shift >= 64 {
 31550  				return ErrIntOverflowPlan
 31551  			}
 31552  			if iNdEx >= l {
 31553  				return io.ErrUnexpectedEOF
 31554  			}
 31555  			b := dAtA[iNdEx]
 31556  			iNdEx++
 31557  			wire |= uint64(b&0x7F) << shift
 31558  			if b < 0x80 {
 31559  				break
 31560  			}
 31561  		}
 31562  		fieldNum := int32(wire >> 3)
 31563  		wireType := int(wire & 0x7)
 31564  		if wireType == 4 {
 31565  			return fmt.Errorf("proto: SetVariables: wiretype end group for non-group")
 31566  		}
 31567  		if fieldNum <= 0 {
 31568  			return fmt.Errorf("proto: SetVariables: illegal tag %d (wire type %d)", fieldNum, wire)
 31569  		}
 31570  		switch fieldNum {
 31571  		case 1:
 31572  			if wireType != 2 {
 31573  				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
 31574  			}
 31575  			var msglen int
 31576  			for shift := uint(0); ; shift += 7 {
 31577  				if shift >= 64 {
 31578  					return ErrIntOverflowPlan
 31579  				}
 31580  				if iNdEx >= l {
 31581  					return io.ErrUnexpectedEOF
 31582  				}
 31583  				b := dAtA[iNdEx]
 31584  				iNdEx++
 31585  				msglen |= int(b&0x7F) << shift
 31586  				if b < 0x80 {
 31587  					break
 31588  				}
 31589  			}
 31590  			if msglen < 0 {
 31591  				return ErrInvalidLengthPlan
 31592  			}
 31593  			postIndex := iNdEx + msglen
 31594  			if postIndex < 0 {
 31595  				return ErrInvalidLengthPlan
 31596  			}
 31597  			if postIndex > l {
 31598  				return io.ErrUnexpectedEOF
 31599  			}
 31600  			m.Items = append(m.Items, &SetVariablesItem{})
 31601  			if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 31602  				return err
 31603  			}
 31604  			iNdEx = postIndex
 31605  		default:
 31606  			iNdEx = preIndex
 31607  			skippy, err := skipPlan(dAtA[iNdEx:])
 31608  			if err != nil {
 31609  				return err
 31610  			}
 31611  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 31612  				return ErrInvalidLengthPlan
 31613  			}
 31614  			if (iNdEx + skippy) > l {
 31615  				return io.ErrUnexpectedEOF
 31616  			}
 31617  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 31618  			iNdEx += skippy
 31619  		}
 31620  	}
 31621  
 31622  	if iNdEx > l {
 31623  		return io.ErrUnexpectedEOF
 31624  	}
 31625  	return nil
 31626  }
 31627  func (m *SetVariablesItem) Unmarshal(dAtA []byte) error {
 31628  	l := len(dAtA)
 31629  	iNdEx := 0
 31630  	for iNdEx < l {
 31631  		preIndex := iNdEx
 31632  		var wire uint64
 31633  		for shift := uint(0); ; shift += 7 {
 31634  			if shift >= 64 {
 31635  				return ErrIntOverflowPlan
 31636  			}
 31637  			if iNdEx >= l {
 31638  				return io.ErrUnexpectedEOF
 31639  			}
 31640  			b := dAtA[iNdEx]
 31641  			iNdEx++
 31642  			wire |= uint64(b&0x7F) << shift
 31643  			if b < 0x80 {
 31644  				break
 31645  			}
 31646  		}
 31647  		fieldNum := int32(wire >> 3)
 31648  		wireType := int(wire & 0x7)
 31649  		if wireType == 4 {
 31650  			return fmt.Errorf("proto: SetVariablesItem: wiretype end group for non-group")
 31651  		}
 31652  		if fieldNum <= 0 {
 31653  			return fmt.Errorf("proto: SetVariablesItem: illegal tag %d (wire type %d)", fieldNum, wire)
 31654  		}
 31655  		switch fieldNum {
 31656  		case 1:
 31657  			if wireType != 0 {
 31658  				return fmt.Errorf("proto: wrong wireType = %d for field System", wireType)
 31659  			}
 31660  			var v int
 31661  			for shift := uint(0); ; shift += 7 {
 31662  				if shift >= 64 {
 31663  					return ErrIntOverflowPlan
 31664  				}
 31665  				if iNdEx >= l {
 31666  					return io.ErrUnexpectedEOF
 31667  				}
 31668  				b := dAtA[iNdEx]
 31669  				iNdEx++
 31670  				v |= int(b&0x7F) << shift
 31671  				if b < 0x80 {
 31672  					break
 31673  				}
 31674  			}
 31675  			m.System = bool(v != 0)
 31676  		case 2:
 31677  			if wireType != 0 {
 31678  				return fmt.Errorf("proto: wrong wireType = %d for field Global", wireType)
 31679  			}
 31680  			var v int
 31681  			for shift := uint(0); ; shift += 7 {
 31682  				if shift >= 64 {
 31683  					return ErrIntOverflowPlan
 31684  				}
 31685  				if iNdEx >= l {
 31686  					return io.ErrUnexpectedEOF
 31687  				}
 31688  				b := dAtA[iNdEx]
 31689  				iNdEx++
 31690  				v |= int(b&0x7F) << shift
 31691  				if b < 0x80 {
 31692  					break
 31693  				}
 31694  			}
 31695  			m.Global = bool(v != 0)
 31696  		case 3:
 31697  			if wireType != 2 {
 31698  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 31699  			}
 31700  			var stringLen uint64
 31701  			for shift := uint(0); ; shift += 7 {
 31702  				if shift >= 64 {
 31703  					return ErrIntOverflowPlan
 31704  				}
 31705  				if iNdEx >= l {
 31706  					return io.ErrUnexpectedEOF
 31707  				}
 31708  				b := dAtA[iNdEx]
 31709  				iNdEx++
 31710  				stringLen |= uint64(b&0x7F) << shift
 31711  				if b < 0x80 {
 31712  					break
 31713  				}
 31714  			}
 31715  			intStringLen := int(stringLen)
 31716  			if intStringLen < 0 {
 31717  				return ErrInvalidLengthPlan
 31718  			}
 31719  			postIndex := iNdEx + intStringLen
 31720  			if postIndex < 0 {
 31721  				return ErrInvalidLengthPlan
 31722  			}
 31723  			if postIndex > l {
 31724  				return io.ErrUnexpectedEOF
 31725  			}
 31726  			m.Name = string(dAtA[iNdEx:postIndex])
 31727  			iNdEx = postIndex
 31728  		case 4:
 31729  			if wireType != 2 {
 31730  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 31731  			}
 31732  			var msglen int
 31733  			for shift := uint(0); ; shift += 7 {
 31734  				if shift >= 64 {
 31735  					return ErrIntOverflowPlan
 31736  				}
 31737  				if iNdEx >= l {
 31738  					return io.ErrUnexpectedEOF
 31739  				}
 31740  				b := dAtA[iNdEx]
 31741  				iNdEx++
 31742  				msglen |= int(b&0x7F) << shift
 31743  				if b < 0x80 {
 31744  					break
 31745  				}
 31746  			}
 31747  			if msglen < 0 {
 31748  				return ErrInvalidLengthPlan
 31749  			}
 31750  			postIndex := iNdEx + msglen
 31751  			if postIndex < 0 {
 31752  				return ErrInvalidLengthPlan
 31753  			}
 31754  			if postIndex > l {
 31755  				return io.ErrUnexpectedEOF
 31756  			}
 31757  			if m.Value == nil {
 31758  				m.Value = &Expr{}
 31759  			}
 31760  			if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 31761  				return err
 31762  			}
 31763  			iNdEx = postIndex
 31764  		case 5:
 31765  			if wireType != 2 {
 31766  				return fmt.Errorf("proto: wrong wireType = %d for field Reserved", wireType)
 31767  			}
 31768  			var msglen int
 31769  			for shift := uint(0); ; shift += 7 {
 31770  				if shift >= 64 {
 31771  					return ErrIntOverflowPlan
 31772  				}
 31773  				if iNdEx >= l {
 31774  					return io.ErrUnexpectedEOF
 31775  				}
 31776  				b := dAtA[iNdEx]
 31777  				iNdEx++
 31778  				msglen |= int(b&0x7F) << shift
 31779  				if b < 0x80 {
 31780  					break
 31781  				}
 31782  			}
 31783  			if msglen < 0 {
 31784  				return ErrInvalidLengthPlan
 31785  			}
 31786  			postIndex := iNdEx + msglen
 31787  			if postIndex < 0 {
 31788  				return ErrInvalidLengthPlan
 31789  			}
 31790  			if postIndex > l {
 31791  				return io.ErrUnexpectedEOF
 31792  			}
 31793  			if m.Reserved == nil {
 31794  				m.Reserved = &Expr{}
 31795  			}
 31796  			if err := m.Reserved.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 31797  				return err
 31798  			}
 31799  			iNdEx = postIndex
 31800  		default:
 31801  			iNdEx = preIndex
 31802  			skippy, err := skipPlan(dAtA[iNdEx:])
 31803  			if err != nil {
 31804  				return err
 31805  			}
 31806  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 31807  				return ErrInvalidLengthPlan
 31808  			}
 31809  			if (iNdEx + skippy) > l {
 31810  				return io.ErrUnexpectedEOF
 31811  			}
 31812  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 31813  			iNdEx += skippy
 31814  		}
 31815  	}
 31816  
 31817  	if iNdEx > l {
 31818  		return io.ErrUnexpectedEOF
 31819  	}
 31820  	return nil
 31821  }
 31822  func (m *Prepare) Unmarshal(dAtA []byte) error {
 31823  	l := len(dAtA)
 31824  	iNdEx := 0
 31825  	for iNdEx < l {
 31826  		preIndex := iNdEx
 31827  		var wire uint64
 31828  		for shift := uint(0); ; shift += 7 {
 31829  			if shift >= 64 {
 31830  				return ErrIntOverflowPlan
 31831  			}
 31832  			if iNdEx >= l {
 31833  				return io.ErrUnexpectedEOF
 31834  			}
 31835  			b := dAtA[iNdEx]
 31836  			iNdEx++
 31837  			wire |= uint64(b&0x7F) << shift
 31838  			if b < 0x80 {
 31839  				break
 31840  			}
 31841  		}
 31842  		fieldNum := int32(wire >> 3)
 31843  		wireType := int(wire & 0x7)
 31844  		if wireType == 4 {
 31845  			return fmt.Errorf("proto: Prepare: wiretype end group for non-group")
 31846  		}
 31847  		if fieldNum <= 0 {
 31848  			return fmt.Errorf("proto: Prepare: illegal tag %d (wire type %d)", fieldNum, wire)
 31849  		}
 31850  		switch fieldNum {
 31851  		case 1:
 31852  			if wireType != 2 {
 31853  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 31854  			}
 31855  			var stringLen uint64
 31856  			for shift := uint(0); ; shift += 7 {
 31857  				if shift >= 64 {
 31858  					return ErrIntOverflowPlan
 31859  				}
 31860  				if iNdEx >= l {
 31861  					return io.ErrUnexpectedEOF
 31862  				}
 31863  				b := dAtA[iNdEx]
 31864  				iNdEx++
 31865  				stringLen |= uint64(b&0x7F) << shift
 31866  				if b < 0x80 {
 31867  					break
 31868  				}
 31869  			}
 31870  			intStringLen := int(stringLen)
 31871  			if intStringLen < 0 {
 31872  				return ErrInvalidLengthPlan
 31873  			}
 31874  			postIndex := iNdEx + intStringLen
 31875  			if postIndex < 0 {
 31876  				return ErrInvalidLengthPlan
 31877  			}
 31878  			if postIndex > l {
 31879  				return io.ErrUnexpectedEOF
 31880  			}
 31881  			m.Name = string(dAtA[iNdEx:postIndex])
 31882  			iNdEx = postIndex
 31883  		case 2:
 31884  			if wireType != 2 {
 31885  				return fmt.Errorf("proto: wrong wireType = %d for field Schemas", wireType)
 31886  			}
 31887  			var msglen int
 31888  			for shift := uint(0); ; shift += 7 {
 31889  				if shift >= 64 {
 31890  					return ErrIntOverflowPlan
 31891  				}
 31892  				if iNdEx >= l {
 31893  					return io.ErrUnexpectedEOF
 31894  				}
 31895  				b := dAtA[iNdEx]
 31896  				iNdEx++
 31897  				msglen |= int(b&0x7F) << shift
 31898  				if b < 0x80 {
 31899  					break
 31900  				}
 31901  			}
 31902  			if msglen < 0 {
 31903  				return ErrInvalidLengthPlan
 31904  			}
 31905  			postIndex := iNdEx + msglen
 31906  			if postIndex < 0 {
 31907  				return ErrInvalidLengthPlan
 31908  			}
 31909  			if postIndex > l {
 31910  				return io.ErrUnexpectedEOF
 31911  			}
 31912  			m.Schemas = append(m.Schemas, &ObjectRef{})
 31913  			if err := m.Schemas[len(m.Schemas)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 31914  				return err
 31915  			}
 31916  			iNdEx = postIndex
 31917  		case 3:
 31918  			if wireType != 2 {
 31919  				return fmt.Errorf("proto: wrong wireType = %d for field Plan", wireType)
 31920  			}
 31921  			var msglen int
 31922  			for shift := uint(0); ; shift += 7 {
 31923  				if shift >= 64 {
 31924  					return ErrIntOverflowPlan
 31925  				}
 31926  				if iNdEx >= l {
 31927  					return io.ErrUnexpectedEOF
 31928  				}
 31929  				b := dAtA[iNdEx]
 31930  				iNdEx++
 31931  				msglen |= int(b&0x7F) << shift
 31932  				if b < 0x80 {
 31933  					break
 31934  				}
 31935  			}
 31936  			if msglen < 0 {
 31937  				return ErrInvalidLengthPlan
 31938  			}
 31939  			postIndex := iNdEx + msglen
 31940  			if postIndex < 0 {
 31941  				return ErrInvalidLengthPlan
 31942  			}
 31943  			if postIndex > l {
 31944  				return io.ErrUnexpectedEOF
 31945  			}
 31946  			if m.Plan == nil {
 31947  				m.Plan = &Plan{}
 31948  			}
 31949  			if err := m.Plan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 31950  				return err
 31951  			}
 31952  			iNdEx = postIndex
 31953  		case 4:
 31954  			if wireType == 0 {
 31955  				var v int32
 31956  				for shift := uint(0); ; shift += 7 {
 31957  					if shift >= 64 {
 31958  						return ErrIntOverflowPlan
 31959  					}
 31960  					if iNdEx >= l {
 31961  						return io.ErrUnexpectedEOF
 31962  					}
 31963  					b := dAtA[iNdEx]
 31964  					iNdEx++
 31965  					v |= int32(b&0x7F) << shift
 31966  					if b < 0x80 {
 31967  						break
 31968  					}
 31969  				}
 31970  				m.ParamTypes = append(m.ParamTypes, v)
 31971  			} else if wireType == 2 {
 31972  				var packedLen int
 31973  				for shift := uint(0); ; shift += 7 {
 31974  					if shift >= 64 {
 31975  						return ErrIntOverflowPlan
 31976  					}
 31977  					if iNdEx >= l {
 31978  						return io.ErrUnexpectedEOF
 31979  					}
 31980  					b := dAtA[iNdEx]
 31981  					iNdEx++
 31982  					packedLen |= int(b&0x7F) << shift
 31983  					if b < 0x80 {
 31984  						break
 31985  					}
 31986  				}
 31987  				if packedLen < 0 {
 31988  					return ErrInvalidLengthPlan
 31989  				}
 31990  				postIndex := iNdEx + packedLen
 31991  				if postIndex < 0 {
 31992  					return ErrInvalidLengthPlan
 31993  				}
 31994  				if postIndex > l {
 31995  					return io.ErrUnexpectedEOF
 31996  				}
 31997  				var elementCount int
 31998  				var count int
 31999  				for _, integer := range dAtA[iNdEx:postIndex] {
 32000  					if integer < 128 {
 32001  						count++
 32002  					}
 32003  				}
 32004  				elementCount = count
 32005  				if elementCount != 0 && len(m.ParamTypes) == 0 {
 32006  					m.ParamTypes = make([]int32, 0, elementCount)
 32007  				}
 32008  				for iNdEx < postIndex {
 32009  					var v int32
 32010  					for shift := uint(0); ; shift += 7 {
 32011  						if shift >= 64 {
 32012  							return ErrIntOverflowPlan
 32013  						}
 32014  						if iNdEx >= l {
 32015  							return io.ErrUnexpectedEOF
 32016  						}
 32017  						b := dAtA[iNdEx]
 32018  						iNdEx++
 32019  						v |= int32(b&0x7F) << shift
 32020  						if b < 0x80 {
 32021  							break
 32022  						}
 32023  					}
 32024  					m.ParamTypes = append(m.ParamTypes, v)
 32025  				}
 32026  			} else {
 32027  				return fmt.Errorf("proto: wrong wireType = %d for field ParamTypes", wireType)
 32028  			}
 32029  		default:
 32030  			iNdEx = preIndex
 32031  			skippy, err := skipPlan(dAtA[iNdEx:])
 32032  			if err != nil {
 32033  				return err
 32034  			}
 32035  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 32036  				return ErrInvalidLengthPlan
 32037  			}
 32038  			if (iNdEx + skippy) > l {
 32039  				return io.ErrUnexpectedEOF
 32040  			}
 32041  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 32042  			iNdEx += skippy
 32043  		}
 32044  	}
 32045  
 32046  	if iNdEx > l {
 32047  		return io.ErrUnexpectedEOF
 32048  	}
 32049  	return nil
 32050  }
 32051  func (m *Execute) Unmarshal(dAtA []byte) error {
 32052  	l := len(dAtA)
 32053  	iNdEx := 0
 32054  	for iNdEx < l {
 32055  		preIndex := iNdEx
 32056  		var wire uint64
 32057  		for shift := uint(0); ; shift += 7 {
 32058  			if shift >= 64 {
 32059  				return ErrIntOverflowPlan
 32060  			}
 32061  			if iNdEx >= l {
 32062  				return io.ErrUnexpectedEOF
 32063  			}
 32064  			b := dAtA[iNdEx]
 32065  			iNdEx++
 32066  			wire |= uint64(b&0x7F) << shift
 32067  			if b < 0x80 {
 32068  				break
 32069  			}
 32070  		}
 32071  		fieldNum := int32(wire >> 3)
 32072  		wireType := int(wire & 0x7)
 32073  		if wireType == 4 {
 32074  			return fmt.Errorf("proto: Execute: wiretype end group for non-group")
 32075  		}
 32076  		if fieldNum <= 0 {
 32077  			return fmt.Errorf("proto: Execute: illegal tag %d (wire type %d)", fieldNum, wire)
 32078  		}
 32079  		switch fieldNum {
 32080  		case 1:
 32081  			if wireType != 2 {
 32082  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 32083  			}
 32084  			var stringLen uint64
 32085  			for shift := uint(0); ; shift += 7 {
 32086  				if shift >= 64 {
 32087  					return ErrIntOverflowPlan
 32088  				}
 32089  				if iNdEx >= l {
 32090  					return io.ErrUnexpectedEOF
 32091  				}
 32092  				b := dAtA[iNdEx]
 32093  				iNdEx++
 32094  				stringLen |= uint64(b&0x7F) << shift
 32095  				if b < 0x80 {
 32096  					break
 32097  				}
 32098  			}
 32099  			intStringLen := int(stringLen)
 32100  			if intStringLen < 0 {
 32101  				return ErrInvalidLengthPlan
 32102  			}
 32103  			postIndex := iNdEx + intStringLen
 32104  			if postIndex < 0 {
 32105  				return ErrInvalidLengthPlan
 32106  			}
 32107  			if postIndex > l {
 32108  				return io.ErrUnexpectedEOF
 32109  			}
 32110  			m.Name = string(dAtA[iNdEx:postIndex])
 32111  			iNdEx = postIndex
 32112  		case 2:
 32113  			if wireType != 2 {
 32114  				return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
 32115  			}
 32116  			var msglen int
 32117  			for shift := uint(0); ; shift += 7 {
 32118  				if shift >= 64 {
 32119  					return ErrIntOverflowPlan
 32120  				}
 32121  				if iNdEx >= l {
 32122  					return io.ErrUnexpectedEOF
 32123  				}
 32124  				b := dAtA[iNdEx]
 32125  				iNdEx++
 32126  				msglen |= int(b&0x7F) << shift
 32127  				if b < 0x80 {
 32128  					break
 32129  				}
 32130  			}
 32131  			if msglen < 0 {
 32132  				return ErrInvalidLengthPlan
 32133  			}
 32134  			postIndex := iNdEx + msglen
 32135  			if postIndex < 0 {
 32136  				return ErrInvalidLengthPlan
 32137  			}
 32138  			if postIndex > l {
 32139  				return io.ErrUnexpectedEOF
 32140  			}
 32141  			m.Args = append(m.Args, &Expr{})
 32142  			if err := m.Args[len(m.Args)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 32143  				return err
 32144  			}
 32145  			iNdEx = postIndex
 32146  		default:
 32147  			iNdEx = preIndex
 32148  			skippy, err := skipPlan(dAtA[iNdEx:])
 32149  			if err != nil {
 32150  				return err
 32151  			}
 32152  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 32153  				return ErrInvalidLengthPlan
 32154  			}
 32155  			if (iNdEx + skippy) > l {
 32156  				return io.ErrUnexpectedEOF
 32157  			}
 32158  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 32159  			iNdEx += skippy
 32160  		}
 32161  	}
 32162  
 32163  	if iNdEx > l {
 32164  		return io.ErrUnexpectedEOF
 32165  	}
 32166  	return nil
 32167  }
 32168  func (m *Deallocate) Unmarshal(dAtA []byte) error {
 32169  	l := len(dAtA)
 32170  	iNdEx := 0
 32171  	for iNdEx < l {
 32172  		preIndex := iNdEx
 32173  		var wire uint64
 32174  		for shift := uint(0); ; shift += 7 {
 32175  			if shift >= 64 {
 32176  				return ErrIntOverflowPlan
 32177  			}
 32178  			if iNdEx >= l {
 32179  				return io.ErrUnexpectedEOF
 32180  			}
 32181  			b := dAtA[iNdEx]
 32182  			iNdEx++
 32183  			wire |= uint64(b&0x7F) << shift
 32184  			if b < 0x80 {
 32185  				break
 32186  			}
 32187  		}
 32188  		fieldNum := int32(wire >> 3)
 32189  		wireType := int(wire & 0x7)
 32190  		if wireType == 4 {
 32191  			return fmt.Errorf("proto: Deallocate: wiretype end group for non-group")
 32192  		}
 32193  		if fieldNum <= 0 {
 32194  			return fmt.Errorf("proto: Deallocate: illegal tag %d (wire type %d)", fieldNum, wire)
 32195  		}
 32196  		switch fieldNum {
 32197  		case 1:
 32198  			if wireType != 2 {
 32199  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 32200  			}
 32201  			var stringLen uint64
 32202  			for shift := uint(0); ; shift += 7 {
 32203  				if shift >= 64 {
 32204  					return ErrIntOverflowPlan
 32205  				}
 32206  				if iNdEx >= l {
 32207  					return io.ErrUnexpectedEOF
 32208  				}
 32209  				b := dAtA[iNdEx]
 32210  				iNdEx++
 32211  				stringLen |= uint64(b&0x7F) << shift
 32212  				if b < 0x80 {
 32213  					break
 32214  				}
 32215  			}
 32216  			intStringLen := int(stringLen)
 32217  			if intStringLen < 0 {
 32218  				return ErrInvalidLengthPlan
 32219  			}
 32220  			postIndex := iNdEx + intStringLen
 32221  			if postIndex < 0 {
 32222  				return ErrInvalidLengthPlan
 32223  			}
 32224  			if postIndex > l {
 32225  				return io.ErrUnexpectedEOF
 32226  			}
 32227  			m.Name = string(dAtA[iNdEx:postIndex])
 32228  			iNdEx = postIndex
 32229  		default:
 32230  			iNdEx = preIndex
 32231  			skippy, err := skipPlan(dAtA[iNdEx:])
 32232  			if err != nil {
 32233  				return err
 32234  			}
 32235  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 32236  				return ErrInvalidLengthPlan
 32237  			}
 32238  			if (iNdEx + skippy) > l {
 32239  				return io.ErrUnexpectedEOF
 32240  			}
 32241  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 32242  			iNdEx += skippy
 32243  		}
 32244  	}
 32245  
 32246  	if iNdEx > l {
 32247  		return io.ErrUnexpectedEOF
 32248  	}
 32249  	return nil
 32250  }
 32251  func skipPlan(dAtA []byte) (n int, err error) {
 32252  	l := len(dAtA)
 32253  	iNdEx := 0
 32254  	depth := 0
 32255  	for iNdEx < l {
 32256  		var wire uint64
 32257  		for shift := uint(0); ; shift += 7 {
 32258  			if shift >= 64 {
 32259  				return 0, ErrIntOverflowPlan
 32260  			}
 32261  			if iNdEx >= l {
 32262  				return 0, io.ErrUnexpectedEOF
 32263  			}
 32264  			b := dAtA[iNdEx]
 32265  			iNdEx++
 32266  			wire |= (uint64(b) & 0x7F) << shift
 32267  			if b < 0x80 {
 32268  				break
 32269  			}
 32270  		}
 32271  		wireType := int(wire & 0x7)
 32272  		switch wireType {
 32273  		case 0:
 32274  			for shift := uint(0); ; shift += 7 {
 32275  				if shift >= 64 {
 32276  					return 0, ErrIntOverflowPlan
 32277  				}
 32278  				if iNdEx >= l {
 32279  					return 0, io.ErrUnexpectedEOF
 32280  				}
 32281  				iNdEx++
 32282  				if dAtA[iNdEx-1] < 0x80 {
 32283  					break
 32284  				}
 32285  			}
 32286  		case 1:
 32287  			iNdEx += 8
 32288  		case 2:
 32289  			var length int
 32290  			for shift := uint(0); ; shift += 7 {
 32291  				if shift >= 64 {
 32292  					return 0, ErrIntOverflowPlan
 32293  				}
 32294  				if iNdEx >= l {
 32295  					return 0, io.ErrUnexpectedEOF
 32296  				}
 32297  				b := dAtA[iNdEx]
 32298  				iNdEx++
 32299  				length |= (int(b) & 0x7F) << shift
 32300  				if b < 0x80 {
 32301  					break
 32302  				}
 32303  			}
 32304  			if length < 0 {
 32305  				return 0, ErrInvalidLengthPlan
 32306  			}
 32307  			iNdEx += length
 32308  		case 3:
 32309  			depth++
 32310  		case 4:
 32311  			if depth == 0 {
 32312  				return 0, ErrUnexpectedEndOfGroupPlan
 32313  			}
 32314  			depth--
 32315  		case 5:
 32316  			iNdEx += 4
 32317  		default:
 32318  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 32319  		}
 32320  		if iNdEx < 0 {
 32321  			return 0, ErrInvalidLengthPlan
 32322  		}
 32323  		if depth == 0 {
 32324  			return iNdEx, nil
 32325  		}
 32326  	}
 32327  	return 0, io.ErrUnexpectedEOF
 32328  }
 32329  
 32330  var (
 32331  	ErrInvalidLengthPlan        = fmt.Errorf("proto: negative length found during unmarshaling")
 32332  	ErrIntOverflowPlan          = fmt.Errorf("proto: integer overflow")
 32333  	ErrUnexpectedEndOfGroupPlan = fmt.Errorf("proto: unexpected end of group")
 32334  )