github.com/matrixorigin/matrixone@v1.2.0/pkg/pb/query/query.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: query.proto
     3  
     4  package query
     5  
     6  import (
     7  	encoding_binary "encoding/binary"
     8  	fmt "fmt"
     9  	io "io"
    10  	math "math"
    11  	math_bits "math/bits"
    12  	time "time"
    13  
    14  	_ "github.com/gogo/protobuf/gogoproto"
    15  	proto "github.com/gogo/protobuf/proto"
    16  	github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
    17  	lock "github.com/matrixorigin/matrixone/pkg/pb/lock"
    18  	statsinfo "github.com/matrixorigin/matrixone/pkg/pb/statsinfo"
    19  	status "github.com/matrixorigin/matrixone/pkg/pb/status"
    20  	timestamp "github.com/matrixorigin/matrixone/pkg/pb/timestamp"
    21  	txn "github.com/matrixorigin/matrixone/pkg/pb/txn"
    22  	_ "google.golang.org/protobuf/types/known/timestamppb"
    23  )
    24  
    25  // Reference imports to suppress errors if they are not otherwise used.
    26  var _ = proto.Marshal
    27  var _ = fmt.Errorf
    28  var _ = math.Inf
    29  var _ = time.Kitchen
    30  
    31  // This is a compile-time assertion to ensure that this generated file
    32  // is compatible with the proto package it is being compiled against.
    33  // A compilation error at this line likely means your copy of the
    34  // proto package needs to be updated.
    35  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    36  
    37  type CmdMethod int32
    38  
    39  const (
    40  	// Query is the common query command.
    41  	CmdMethod_Query CmdMethod = 0
    42  	// ShowProcessList represents the show process list query.
    43  	CmdMethod_ShowProcessList CmdMethod = 1
    44  	// AlterAccount represent set account status as restricted
    45  	CmdMethod_AlterAccount CmdMethod = 2
    46  	// KillConn represents the kill connection request.
    47  	CmdMethod_KillConn CmdMethod = 3
    48  	// ProcessTraceSpan process the trace span cmd transferred from
    49  	// other cn
    50  	CmdMethod_TraceSpan CmdMethod = 4
    51  	// GetLockInfo gets the lock info from the cn
    52  	CmdMethod_GetLockInfo CmdMethod = 5
    53  	// GetTxnInfo gets the txn info from the cn
    54  	CmdMethod_GetTxnInfo CmdMethod = 6
    55  	// GetCacheInfo gets the cache info from the cn,tn
    56  	CmdMethod_GetCacheInfo CmdMethod = 7
    57  	// SyncCommit when we turn on Push, some BVT tests use multiple Sessions in multi-CN scenarios. To
    58  	// ensure data visibility, we need to synchronize CommitTS between multiple CNs so that the whole
    59  	// cluster can see the latest writes from other CNs.
    60  	CmdMethod_SyncCommit CmdMethod = 8
    61  	// GetCommit get latest commit timestamp of cn.
    62  	CmdMethod_GetCommit          CmdMethod = 9
    63  	CmdMethod_GetProtocolVersion CmdMethod = 10
    64  	CmdMethod_SetProtocolVersion CmdMethod = 11
    65  	CmdMethod_CoreDumpConfig     CmdMethod = 12
    66  	CmdMethod_RunTask            CmdMethod = 13
    67  	// RemoveRemoteLockTable remove remote lock table on all cn
    68  	CmdMethod_RemoveRemoteLockTable CmdMethod = 14
    69  	CmdMethod_GetLatestBind         CmdMethod = 15
    70  	// UnsubscribeTable unsubscribes a table in logtail client.
    71  	CmdMethod_UnsubscribeTable CmdMethod = 16
    72  	// GetCacheData is the method to get cached data from fileservice in remote node.
    73  	CmdMethod_GetCacheData CmdMethod = 17
    74  	// GetStatsInfo is the method to get stats info from remote node.
    75  	CmdMethod_GetStatsInfo CmdMethod = 18
    76  	// GetPipelineInfo is the method to get pipeline info from CN
    77  	CmdMethod_GetPipelineInfo CmdMethod = 19
    78  	// MigrateConnFrom get session info from the previous cn node.
    79  	CmdMethod_MigrateConnFrom CmdMethod = 20
    80  	// MigrateConnTo migrate the session info to the new cn node.
    81  	CmdMethod_MigrateConnTo CmdMethod = 21
    82  )
    83  
    84  var CmdMethod_name = map[int32]string{
    85  	0:  "Query",
    86  	1:  "ShowProcessList",
    87  	2:  "AlterAccount",
    88  	3:  "KillConn",
    89  	4:  "TraceSpan",
    90  	5:  "GetLockInfo",
    91  	6:  "GetTxnInfo",
    92  	7:  "GetCacheInfo",
    93  	8:  "SyncCommit",
    94  	9:  "GetCommit",
    95  	10: "GetProtocolVersion",
    96  	11: "SetProtocolVersion",
    97  	12: "CoreDumpConfig",
    98  	13: "RunTask",
    99  	14: "RemoveRemoteLockTable",
   100  	15: "GetLatestBind",
   101  	16: "UnsubscribeTable",
   102  	17: "GetCacheData",
   103  	18: "GetStatsInfo",
   104  	19: "GetPipelineInfo",
   105  	20: "MigrateConnFrom",
   106  	21: "MigrateConnTo",
   107  }
   108  
   109  var CmdMethod_value = map[string]int32{
   110  	"Query":                 0,
   111  	"ShowProcessList":       1,
   112  	"AlterAccount":          2,
   113  	"KillConn":              3,
   114  	"TraceSpan":             4,
   115  	"GetLockInfo":           5,
   116  	"GetTxnInfo":            6,
   117  	"GetCacheInfo":          7,
   118  	"SyncCommit":            8,
   119  	"GetCommit":             9,
   120  	"GetProtocolVersion":    10,
   121  	"SetProtocolVersion":    11,
   122  	"CoreDumpConfig":        12,
   123  	"RunTask":               13,
   124  	"RemoveRemoteLockTable": 14,
   125  	"GetLatestBind":         15,
   126  	"UnsubscribeTable":      16,
   127  	"GetCacheData":          17,
   128  	"GetStatsInfo":          18,
   129  	"GetPipelineInfo":       19,
   130  	"MigrateConnFrom":       20,
   131  	"MigrateConnTo":         21,
   132  }
   133  
   134  func (x CmdMethod) String() string {
   135  	return proto.EnumName(CmdMethod_name, int32(x))
   136  }
   137  
   138  func (CmdMethod) EnumDescriptor() ([]byte, []int) {
   139  	return fileDescriptor_5c6ac9b241082464, []int{0}
   140  }
   141  
   142  // QueryRequest is the common query request. It contains the query
   143  // statement that need to be executed on the specified CN node.
   144  type QueryRequest struct {
   145  	// Query is the query statement.
   146  	Query string `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"`
   147  }
   148  
   149  func (m *QueryRequest) Reset()         { *m = QueryRequest{} }
   150  func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
   151  func (*QueryRequest) ProtoMessage()    {}
   152  func (*QueryRequest) Descriptor() ([]byte, []int) {
   153  	return fileDescriptor_5c6ac9b241082464, []int{0}
   154  }
   155  func (m *QueryRequest) XXX_Unmarshal(b []byte) error {
   156  	return m.Unmarshal(b)
   157  }
   158  func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   159  	if deterministic {
   160  		return xxx_messageInfo_QueryRequest.Marshal(b, m, deterministic)
   161  	} else {
   162  		b = b[:cap(b)]
   163  		n, err := m.MarshalToSizedBuffer(b)
   164  		if err != nil {
   165  			return nil, err
   166  		}
   167  		return b[:n], nil
   168  	}
   169  }
   170  func (m *QueryRequest) XXX_Merge(src proto.Message) {
   171  	xxx_messageInfo_QueryRequest.Merge(m, src)
   172  }
   173  func (m *QueryRequest) XXX_Size() int {
   174  	return m.Size()
   175  }
   176  func (m *QueryRequest) XXX_DiscardUnknown() {
   177  	xxx_messageInfo_QueryRequest.DiscardUnknown(m)
   178  }
   179  
   180  var xxx_messageInfo_QueryRequest proto.InternalMessageInfo
   181  
   182  func (m *QueryRequest) GetQuery() string {
   183  	if m != nil {
   184  		return m.Query
   185  	}
   186  	return ""
   187  }
   188  
   189  // ShowProcessListRequest is the "show process list" query request.
   190  type ShowProcessListRequest struct {
   191  	// Tenant is the tenant which the processes belong to.
   192  	Tenant string `protobuf:"bytes,1,opt,name=Tenant,proto3" json:"Tenant,omitempty"`
   193  	// SysTenet is true if the tenant is a system tenant.
   194  	SysTenant bool `protobuf:"varint,2,opt,name=SysTenant,proto3" json:"SysTenant,omitempty"`
   195  }
   196  
   197  func (m *ShowProcessListRequest) Reset()         { *m = ShowProcessListRequest{} }
   198  func (m *ShowProcessListRequest) String() string { return proto.CompactTextString(m) }
   199  func (*ShowProcessListRequest) ProtoMessage()    {}
   200  func (*ShowProcessListRequest) Descriptor() ([]byte, []int) {
   201  	return fileDescriptor_5c6ac9b241082464, []int{1}
   202  }
   203  func (m *ShowProcessListRequest) XXX_Unmarshal(b []byte) error {
   204  	return m.Unmarshal(b)
   205  }
   206  func (m *ShowProcessListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   207  	if deterministic {
   208  		return xxx_messageInfo_ShowProcessListRequest.Marshal(b, m, deterministic)
   209  	} else {
   210  		b = b[:cap(b)]
   211  		n, err := m.MarshalToSizedBuffer(b)
   212  		if err != nil {
   213  			return nil, err
   214  		}
   215  		return b[:n], nil
   216  	}
   217  }
   218  func (m *ShowProcessListRequest) XXX_Merge(src proto.Message) {
   219  	xxx_messageInfo_ShowProcessListRequest.Merge(m, src)
   220  }
   221  func (m *ShowProcessListRequest) XXX_Size() int {
   222  	return m.Size()
   223  }
   224  func (m *ShowProcessListRequest) XXX_DiscardUnknown() {
   225  	xxx_messageInfo_ShowProcessListRequest.DiscardUnknown(m)
   226  }
   227  
   228  var xxx_messageInfo_ShowProcessListRequest proto.InternalMessageInfo
   229  
   230  func (m *ShowProcessListRequest) GetTenant() string {
   231  	if m != nil {
   232  		return m.Tenant
   233  	}
   234  	return ""
   235  }
   236  
   237  func (m *ShowProcessListRequest) GetSysTenant() bool {
   238  	if m != nil {
   239  		return m.SysTenant
   240  	}
   241  	return false
   242  }
   243  
   244  // SyncCommitRequest sync commit timestamp request
   245  type SyncCommitRequest struct {
   246  	// LatestCommitTS update latest commit ts.
   247  	LatestCommitTS timestamp.Timestamp `protobuf:"bytes,1,opt,name=LatestCommitTS,proto3" json:"LatestCommitTS"`
   248  }
   249  
   250  func (m *SyncCommitRequest) Reset()         { *m = SyncCommitRequest{} }
   251  func (m *SyncCommitRequest) String() string { return proto.CompactTextString(m) }
   252  func (*SyncCommitRequest) ProtoMessage()    {}
   253  func (*SyncCommitRequest) Descriptor() ([]byte, []int) {
   254  	return fileDescriptor_5c6ac9b241082464, []int{2}
   255  }
   256  func (m *SyncCommitRequest) XXX_Unmarshal(b []byte) error {
   257  	return m.Unmarshal(b)
   258  }
   259  func (m *SyncCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   260  	if deterministic {
   261  		return xxx_messageInfo_SyncCommitRequest.Marshal(b, m, deterministic)
   262  	} else {
   263  		b = b[:cap(b)]
   264  		n, err := m.MarshalToSizedBuffer(b)
   265  		if err != nil {
   266  			return nil, err
   267  		}
   268  		return b[:n], nil
   269  	}
   270  }
   271  func (m *SyncCommitRequest) XXX_Merge(src proto.Message) {
   272  	xxx_messageInfo_SyncCommitRequest.Merge(m, src)
   273  }
   274  func (m *SyncCommitRequest) XXX_Size() int {
   275  	return m.Size()
   276  }
   277  func (m *SyncCommitRequest) XXX_DiscardUnknown() {
   278  	xxx_messageInfo_SyncCommitRequest.DiscardUnknown(m)
   279  }
   280  
   281  var xxx_messageInfo_SyncCommitRequest proto.InternalMessageInfo
   282  
   283  func (m *SyncCommitRequest) GetLatestCommitTS() timestamp.Timestamp {
   284  	if m != nil {
   285  		return m.LatestCommitTS
   286  	}
   287  	return timestamp.Timestamp{}
   288  }
   289  
   290  // SyncCommitResponse sync commit timestamp response
   291  type SyncCommitResponse struct {
   292  	// CurrentCommitTS current commit timestamp after sync
   293  	CurrentCommitTS timestamp.Timestamp `protobuf:"bytes,1,opt,name=CurrentCommitTS,proto3" json:"CurrentCommitTS"`
   294  }
   295  
   296  func (m *SyncCommitResponse) Reset()         { *m = SyncCommitResponse{} }
   297  func (m *SyncCommitResponse) String() string { return proto.CompactTextString(m) }
   298  func (*SyncCommitResponse) ProtoMessage()    {}
   299  func (*SyncCommitResponse) Descriptor() ([]byte, []int) {
   300  	return fileDescriptor_5c6ac9b241082464, []int{3}
   301  }
   302  func (m *SyncCommitResponse) XXX_Unmarshal(b []byte) error {
   303  	return m.Unmarshal(b)
   304  }
   305  func (m *SyncCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   306  	if deterministic {
   307  		return xxx_messageInfo_SyncCommitResponse.Marshal(b, m, deterministic)
   308  	} else {
   309  		b = b[:cap(b)]
   310  		n, err := m.MarshalToSizedBuffer(b)
   311  		if err != nil {
   312  			return nil, err
   313  		}
   314  		return b[:n], nil
   315  	}
   316  }
   317  func (m *SyncCommitResponse) XXX_Merge(src proto.Message) {
   318  	xxx_messageInfo_SyncCommitResponse.Merge(m, src)
   319  }
   320  func (m *SyncCommitResponse) XXX_Size() int {
   321  	return m.Size()
   322  }
   323  func (m *SyncCommitResponse) XXX_DiscardUnknown() {
   324  	xxx_messageInfo_SyncCommitResponse.DiscardUnknown(m)
   325  }
   326  
   327  var xxx_messageInfo_SyncCommitResponse proto.InternalMessageInfo
   328  
   329  func (m *SyncCommitResponse) GetCurrentCommitTS() timestamp.Timestamp {
   330  	if m != nil {
   331  		return m.CurrentCommitTS
   332  	}
   333  	return timestamp.Timestamp{}
   334  }
   335  
   336  // GetCommitRequest get commit timestamp request
   337  type GetCommitRequest struct {
   338  }
   339  
   340  func (m *GetCommitRequest) Reset()         { *m = GetCommitRequest{} }
   341  func (m *GetCommitRequest) String() string { return proto.CompactTextString(m) }
   342  func (*GetCommitRequest) ProtoMessage()    {}
   343  func (*GetCommitRequest) Descriptor() ([]byte, []int) {
   344  	return fileDescriptor_5c6ac9b241082464, []int{4}
   345  }
   346  func (m *GetCommitRequest) XXX_Unmarshal(b []byte) error {
   347  	return m.Unmarshal(b)
   348  }
   349  func (m *GetCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   350  	if deterministic {
   351  		return xxx_messageInfo_GetCommitRequest.Marshal(b, m, deterministic)
   352  	} else {
   353  		b = b[:cap(b)]
   354  		n, err := m.MarshalToSizedBuffer(b)
   355  		if err != nil {
   356  			return nil, err
   357  		}
   358  		return b[:n], nil
   359  	}
   360  }
   361  func (m *GetCommitRequest) XXX_Merge(src proto.Message) {
   362  	xxx_messageInfo_GetCommitRequest.Merge(m, src)
   363  }
   364  func (m *GetCommitRequest) XXX_Size() int {
   365  	return m.Size()
   366  }
   367  func (m *GetCommitRequest) XXX_DiscardUnknown() {
   368  	xxx_messageInfo_GetCommitRequest.DiscardUnknown(m)
   369  }
   370  
   371  var xxx_messageInfo_GetCommitRequest proto.InternalMessageInfo
   372  
   373  // GetCommitResponse get commit timestamp response
   374  type GetCommitResponse struct {
   375  	// CurrentCommitTS current commit timestamp after sync
   376  	CurrentCommitTS timestamp.Timestamp `protobuf:"bytes,1,opt,name=CurrentCommitTS,proto3" json:"CurrentCommitTS"`
   377  }
   378  
   379  func (m *GetCommitResponse) Reset()         { *m = GetCommitResponse{} }
   380  func (m *GetCommitResponse) String() string { return proto.CompactTextString(m) }
   381  func (*GetCommitResponse) ProtoMessage()    {}
   382  func (*GetCommitResponse) Descriptor() ([]byte, []int) {
   383  	return fileDescriptor_5c6ac9b241082464, []int{5}
   384  }
   385  func (m *GetCommitResponse) XXX_Unmarshal(b []byte) error {
   386  	return m.Unmarshal(b)
   387  }
   388  func (m *GetCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   389  	if deterministic {
   390  		return xxx_messageInfo_GetCommitResponse.Marshal(b, m, deterministic)
   391  	} else {
   392  		b = b[:cap(b)]
   393  		n, err := m.MarshalToSizedBuffer(b)
   394  		if err != nil {
   395  			return nil, err
   396  		}
   397  		return b[:n], nil
   398  	}
   399  }
   400  func (m *GetCommitResponse) XXX_Merge(src proto.Message) {
   401  	xxx_messageInfo_GetCommitResponse.Merge(m, src)
   402  }
   403  func (m *GetCommitResponse) XXX_Size() int {
   404  	return m.Size()
   405  }
   406  func (m *GetCommitResponse) XXX_DiscardUnknown() {
   407  	xxx_messageInfo_GetCommitResponse.DiscardUnknown(m)
   408  }
   409  
   410  var xxx_messageInfo_GetCommitResponse proto.InternalMessageInfo
   411  
   412  func (m *GetCommitResponse) GetCurrentCommitTS() timestamp.Timestamp {
   413  	if m != nil {
   414  		return m.CurrentCommitTS
   415  	}
   416  	return timestamp.Timestamp{}
   417  }
   418  
   419  type CoreDumpConfigRequest struct {
   420  	// enable or disable
   421  	Action string `protobuf:"bytes,1,opt,name=Action,proto3" json:"Action,omitempty"`
   422  }
   423  
   424  func (m *CoreDumpConfigRequest) Reset()         { *m = CoreDumpConfigRequest{} }
   425  func (m *CoreDumpConfigRequest) String() string { return proto.CompactTextString(m) }
   426  func (*CoreDumpConfigRequest) ProtoMessage()    {}
   427  func (*CoreDumpConfigRequest) Descriptor() ([]byte, []int) {
   428  	return fileDescriptor_5c6ac9b241082464, []int{6}
   429  }
   430  func (m *CoreDumpConfigRequest) XXX_Unmarshal(b []byte) error {
   431  	return m.Unmarshal(b)
   432  }
   433  func (m *CoreDumpConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   434  	if deterministic {
   435  		return xxx_messageInfo_CoreDumpConfigRequest.Marshal(b, m, deterministic)
   436  	} else {
   437  		b = b[:cap(b)]
   438  		n, err := m.MarshalToSizedBuffer(b)
   439  		if err != nil {
   440  			return nil, err
   441  		}
   442  		return b[:n], nil
   443  	}
   444  }
   445  func (m *CoreDumpConfigRequest) XXX_Merge(src proto.Message) {
   446  	xxx_messageInfo_CoreDumpConfigRequest.Merge(m, src)
   447  }
   448  func (m *CoreDumpConfigRequest) XXX_Size() int {
   449  	return m.Size()
   450  }
   451  func (m *CoreDumpConfigRequest) XXX_DiscardUnknown() {
   452  	xxx_messageInfo_CoreDumpConfigRequest.DiscardUnknown(m)
   453  }
   454  
   455  var xxx_messageInfo_CoreDumpConfigRequest proto.InternalMessageInfo
   456  
   457  func (m *CoreDumpConfigRequest) GetAction() string {
   458  	if m != nil {
   459  		return m.Action
   460  	}
   461  	return ""
   462  }
   463  
   464  type CoreDumpConfigResponse struct {
   465  }
   466  
   467  func (m *CoreDumpConfigResponse) Reset()         { *m = CoreDumpConfigResponse{} }
   468  func (m *CoreDumpConfigResponse) String() string { return proto.CompactTextString(m) }
   469  func (*CoreDumpConfigResponse) ProtoMessage()    {}
   470  func (*CoreDumpConfigResponse) Descriptor() ([]byte, []int) {
   471  	return fileDescriptor_5c6ac9b241082464, []int{7}
   472  }
   473  func (m *CoreDumpConfigResponse) XXX_Unmarshal(b []byte) error {
   474  	return m.Unmarshal(b)
   475  }
   476  func (m *CoreDumpConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   477  	if deterministic {
   478  		return xxx_messageInfo_CoreDumpConfigResponse.Marshal(b, m, deterministic)
   479  	} else {
   480  		b = b[:cap(b)]
   481  		n, err := m.MarshalToSizedBuffer(b)
   482  		if err != nil {
   483  			return nil, err
   484  		}
   485  		return b[:n], nil
   486  	}
   487  }
   488  func (m *CoreDumpConfigResponse) XXX_Merge(src proto.Message) {
   489  	xxx_messageInfo_CoreDumpConfigResponse.Merge(m, src)
   490  }
   491  func (m *CoreDumpConfigResponse) XXX_Size() int {
   492  	return m.Size()
   493  }
   494  func (m *CoreDumpConfigResponse) XXX_DiscardUnknown() {
   495  	xxx_messageInfo_CoreDumpConfigResponse.DiscardUnknown(m)
   496  }
   497  
   498  var xxx_messageInfo_CoreDumpConfigResponse proto.InternalMessageInfo
   499  
   500  type GetProtocolVersionRequest struct {
   501  }
   502  
   503  func (m *GetProtocolVersionRequest) Reset()         { *m = GetProtocolVersionRequest{} }
   504  func (m *GetProtocolVersionRequest) String() string { return proto.CompactTextString(m) }
   505  func (*GetProtocolVersionRequest) ProtoMessage()    {}
   506  func (*GetProtocolVersionRequest) Descriptor() ([]byte, []int) {
   507  	return fileDescriptor_5c6ac9b241082464, []int{8}
   508  }
   509  func (m *GetProtocolVersionRequest) XXX_Unmarshal(b []byte) error {
   510  	return m.Unmarshal(b)
   511  }
   512  func (m *GetProtocolVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   513  	if deterministic {
   514  		return xxx_messageInfo_GetProtocolVersionRequest.Marshal(b, m, deterministic)
   515  	} else {
   516  		b = b[:cap(b)]
   517  		n, err := m.MarshalToSizedBuffer(b)
   518  		if err != nil {
   519  			return nil, err
   520  		}
   521  		return b[:n], nil
   522  	}
   523  }
   524  func (m *GetProtocolVersionRequest) XXX_Merge(src proto.Message) {
   525  	xxx_messageInfo_GetProtocolVersionRequest.Merge(m, src)
   526  }
   527  func (m *GetProtocolVersionRequest) XXX_Size() int {
   528  	return m.Size()
   529  }
   530  func (m *GetProtocolVersionRequest) XXX_DiscardUnknown() {
   531  	xxx_messageInfo_GetProtocolVersionRequest.DiscardUnknown(m)
   532  }
   533  
   534  var xxx_messageInfo_GetProtocolVersionRequest proto.InternalMessageInfo
   535  
   536  type GetProtocolVersionResponse struct {
   537  	// ProtocolVersion is the version of the protocol
   538  	Version int64 `protobuf:"varint,1,opt,name=Version,proto3" json:"Version,omitempty"`
   539  }
   540  
   541  func (m *GetProtocolVersionResponse) Reset()         { *m = GetProtocolVersionResponse{} }
   542  func (m *GetProtocolVersionResponse) String() string { return proto.CompactTextString(m) }
   543  func (*GetProtocolVersionResponse) ProtoMessage()    {}
   544  func (*GetProtocolVersionResponse) Descriptor() ([]byte, []int) {
   545  	return fileDescriptor_5c6ac9b241082464, []int{9}
   546  }
   547  func (m *GetProtocolVersionResponse) XXX_Unmarshal(b []byte) error {
   548  	return m.Unmarshal(b)
   549  }
   550  func (m *GetProtocolVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   551  	if deterministic {
   552  		return xxx_messageInfo_GetProtocolVersionResponse.Marshal(b, m, deterministic)
   553  	} else {
   554  		b = b[:cap(b)]
   555  		n, err := m.MarshalToSizedBuffer(b)
   556  		if err != nil {
   557  			return nil, err
   558  		}
   559  		return b[:n], nil
   560  	}
   561  }
   562  func (m *GetProtocolVersionResponse) XXX_Merge(src proto.Message) {
   563  	xxx_messageInfo_GetProtocolVersionResponse.Merge(m, src)
   564  }
   565  func (m *GetProtocolVersionResponse) XXX_Size() int {
   566  	return m.Size()
   567  }
   568  func (m *GetProtocolVersionResponse) XXX_DiscardUnknown() {
   569  	xxx_messageInfo_GetProtocolVersionResponse.DiscardUnknown(m)
   570  }
   571  
   572  var xxx_messageInfo_GetProtocolVersionResponse proto.InternalMessageInfo
   573  
   574  func (m *GetProtocolVersionResponse) GetVersion() int64 {
   575  	if m != nil {
   576  		return m.Version
   577  	}
   578  	return 0
   579  }
   580  
   581  type SetProtocolVersionRequest struct {
   582  	// ProtocolVersion is the version of the protocol
   583  	Version int64 `protobuf:"varint,1,opt,name=Version,proto3" json:"Version,omitempty"`
   584  }
   585  
   586  func (m *SetProtocolVersionRequest) Reset()         { *m = SetProtocolVersionRequest{} }
   587  func (m *SetProtocolVersionRequest) String() string { return proto.CompactTextString(m) }
   588  func (*SetProtocolVersionRequest) ProtoMessage()    {}
   589  func (*SetProtocolVersionRequest) Descriptor() ([]byte, []int) {
   590  	return fileDescriptor_5c6ac9b241082464, []int{10}
   591  }
   592  func (m *SetProtocolVersionRequest) XXX_Unmarshal(b []byte) error {
   593  	return m.Unmarshal(b)
   594  }
   595  func (m *SetProtocolVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   596  	if deterministic {
   597  		return xxx_messageInfo_SetProtocolVersionRequest.Marshal(b, m, deterministic)
   598  	} else {
   599  		b = b[:cap(b)]
   600  		n, err := m.MarshalToSizedBuffer(b)
   601  		if err != nil {
   602  			return nil, err
   603  		}
   604  		return b[:n], nil
   605  	}
   606  }
   607  func (m *SetProtocolVersionRequest) XXX_Merge(src proto.Message) {
   608  	xxx_messageInfo_SetProtocolVersionRequest.Merge(m, src)
   609  }
   610  func (m *SetProtocolVersionRequest) XXX_Size() int {
   611  	return m.Size()
   612  }
   613  func (m *SetProtocolVersionRequest) XXX_DiscardUnknown() {
   614  	xxx_messageInfo_SetProtocolVersionRequest.DiscardUnknown(m)
   615  }
   616  
   617  var xxx_messageInfo_SetProtocolVersionRequest proto.InternalMessageInfo
   618  
   619  func (m *SetProtocolVersionRequest) GetVersion() int64 {
   620  	if m != nil {
   621  		return m.Version
   622  	}
   623  	return 0
   624  }
   625  
   626  type SetProtocolVersionResponse struct {
   627  	// ProtocolVersion is the version of the protocol
   628  	Version int64 `protobuf:"varint,1,opt,name=Version,proto3" json:"Version,omitempty"`
   629  }
   630  
   631  func (m *SetProtocolVersionResponse) Reset()         { *m = SetProtocolVersionResponse{} }
   632  func (m *SetProtocolVersionResponse) String() string { return proto.CompactTextString(m) }
   633  func (*SetProtocolVersionResponse) ProtoMessage()    {}
   634  func (*SetProtocolVersionResponse) Descriptor() ([]byte, []int) {
   635  	return fileDescriptor_5c6ac9b241082464, []int{11}
   636  }
   637  func (m *SetProtocolVersionResponse) XXX_Unmarshal(b []byte) error {
   638  	return m.Unmarshal(b)
   639  }
   640  func (m *SetProtocolVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   641  	if deterministic {
   642  		return xxx_messageInfo_SetProtocolVersionResponse.Marshal(b, m, deterministic)
   643  	} else {
   644  		b = b[:cap(b)]
   645  		n, err := m.MarshalToSizedBuffer(b)
   646  		if err != nil {
   647  			return nil, err
   648  		}
   649  		return b[:n], nil
   650  	}
   651  }
   652  func (m *SetProtocolVersionResponse) XXX_Merge(src proto.Message) {
   653  	xxx_messageInfo_SetProtocolVersionResponse.Merge(m, src)
   654  }
   655  func (m *SetProtocolVersionResponse) XXX_Size() int {
   656  	return m.Size()
   657  }
   658  func (m *SetProtocolVersionResponse) XXX_DiscardUnknown() {
   659  	xxx_messageInfo_SetProtocolVersionResponse.DiscardUnknown(m)
   660  }
   661  
   662  var xxx_messageInfo_SetProtocolVersionResponse proto.InternalMessageInfo
   663  
   664  func (m *SetProtocolVersionResponse) GetVersion() int64 {
   665  	if m != nil {
   666  		return m.Version
   667  	}
   668  	return 0
   669  }
   670  
   671  type RunTaskRequest struct {
   672  	TaskCode int32 `protobuf:"varint,1,opt,name=TaskCode,proto3" json:"TaskCode,omitempty"`
   673  }
   674  
   675  func (m *RunTaskRequest) Reset()         { *m = RunTaskRequest{} }
   676  func (m *RunTaskRequest) String() string { return proto.CompactTextString(m) }
   677  func (*RunTaskRequest) ProtoMessage()    {}
   678  func (*RunTaskRequest) Descriptor() ([]byte, []int) {
   679  	return fileDescriptor_5c6ac9b241082464, []int{12}
   680  }
   681  func (m *RunTaskRequest) XXX_Unmarshal(b []byte) error {
   682  	return m.Unmarshal(b)
   683  }
   684  func (m *RunTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   685  	if deterministic {
   686  		return xxx_messageInfo_RunTaskRequest.Marshal(b, m, deterministic)
   687  	} else {
   688  		b = b[:cap(b)]
   689  		n, err := m.MarshalToSizedBuffer(b)
   690  		if err != nil {
   691  			return nil, err
   692  		}
   693  		return b[:n], nil
   694  	}
   695  }
   696  func (m *RunTaskRequest) XXX_Merge(src proto.Message) {
   697  	xxx_messageInfo_RunTaskRequest.Merge(m, src)
   698  }
   699  func (m *RunTaskRequest) XXX_Size() int {
   700  	return m.Size()
   701  }
   702  func (m *RunTaskRequest) XXX_DiscardUnknown() {
   703  	xxx_messageInfo_RunTaskRequest.DiscardUnknown(m)
   704  }
   705  
   706  var xxx_messageInfo_RunTaskRequest proto.InternalMessageInfo
   707  
   708  func (m *RunTaskRequest) GetTaskCode() int32 {
   709  	if m != nil {
   710  		return m.TaskCode
   711  	}
   712  	return 0
   713  }
   714  
   715  type RunTaskResponse struct {
   716  	Result string `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
   717  }
   718  
   719  func (m *RunTaskResponse) Reset()         { *m = RunTaskResponse{} }
   720  func (m *RunTaskResponse) String() string { return proto.CompactTextString(m) }
   721  func (*RunTaskResponse) ProtoMessage()    {}
   722  func (*RunTaskResponse) Descriptor() ([]byte, []int) {
   723  	return fileDescriptor_5c6ac9b241082464, []int{13}
   724  }
   725  func (m *RunTaskResponse) XXX_Unmarshal(b []byte) error {
   726  	return m.Unmarshal(b)
   727  }
   728  func (m *RunTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   729  	if deterministic {
   730  		return xxx_messageInfo_RunTaskResponse.Marshal(b, m, deterministic)
   731  	} else {
   732  		b = b[:cap(b)]
   733  		n, err := m.MarshalToSizedBuffer(b)
   734  		if err != nil {
   735  			return nil, err
   736  		}
   737  		return b[:n], nil
   738  	}
   739  }
   740  func (m *RunTaskResponse) XXX_Merge(src proto.Message) {
   741  	xxx_messageInfo_RunTaskResponse.Merge(m, src)
   742  }
   743  func (m *RunTaskResponse) XXX_Size() int {
   744  	return m.Size()
   745  }
   746  func (m *RunTaskResponse) XXX_DiscardUnknown() {
   747  	xxx_messageInfo_RunTaskResponse.DiscardUnknown(m)
   748  }
   749  
   750  var xxx_messageInfo_RunTaskResponse proto.InternalMessageInfo
   751  
   752  func (m *RunTaskResponse) GetResult() string {
   753  	if m != nil {
   754  		return m.Result
   755  	}
   756  	return ""
   757  }
   758  
   759  type GetPipelineInfoRequest struct {
   760  }
   761  
   762  func (m *GetPipelineInfoRequest) Reset()         { *m = GetPipelineInfoRequest{} }
   763  func (m *GetPipelineInfoRequest) String() string { return proto.CompactTextString(m) }
   764  func (*GetPipelineInfoRequest) ProtoMessage()    {}
   765  func (*GetPipelineInfoRequest) Descriptor() ([]byte, []int) {
   766  	return fileDescriptor_5c6ac9b241082464, []int{14}
   767  }
   768  func (m *GetPipelineInfoRequest) XXX_Unmarshal(b []byte) error {
   769  	return m.Unmarshal(b)
   770  }
   771  func (m *GetPipelineInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   772  	if deterministic {
   773  		return xxx_messageInfo_GetPipelineInfoRequest.Marshal(b, m, deterministic)
   774  	} else {
   775  		b = b[:cap(b)]
   776  		n, err := m.MarshalToSizedBuffer(b)
   777  		if err != nil {
   778  			return nil, err
   779  		}
   780  		return b[:n], nil
   781  	}
   782  }
   783  func (m *GetPipelineInfoRequest) XXX_Merge(src proto.Message) {
   784  	xxx_messageInfo_GetPipelineInfoRequest.Merge(m, src)
   785  }
   786  func (m *GetPipelineInfoRequest) XXX_Size() int {
   787  	return m.Size()
   788  }
   789  func (m *GetPipelineInfoRequest) XXX_DiscardUnknown() {
   790  	xxx_messageInfo_GetPipelineInfoRequest.DiscardUnknown(m)
   791  }
   792  
   793  var xxx_messageInfo_GetPipelineInfoRequest proto.InternalMessageInfo
   794  
   795  type GetPipelineInfoResponse struct {
   796  	// Count is the total pipelines running in the server
   797  	Count int64 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"`
   798  }
   799  
   800  func (m *GetPipelineInfoResponse) Reset()         { *m = GetPipelineInfoResponse{} }
   801  func (m *GetPipelineInfoResponse) String() string { return proto.CompactTextString(m) }
   802  func (*GetPipelineInfoResponse) ProtoMessage()    {}
   803  func (*GetPipelineInfoResponse) Descriptor() ([]byte, []int) {
   804  	return fileDescriptor_5c6ac9b241082464, []int{15}
   805  }
   806  func (m *GetPipelineInfoResponse) XXX_Unmarshal(b []byte) error {
   807  	return m.Unmarshal(b)
   808  }
   809  func (m *GetPipelineInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   810  	if deterministic {
   811  		return xxx_messageInfo_GetPipelineInfoResponse.Marshal(b, m, deterministic)
   812  	} else {
   813  		b = b[:cap(b)]
   814  		n, err := m.MarshalToSizedBuffer(b)
   815  		if err != nil {
   816  			return nil, err
   817  		}
   818  		return b[:n], nil
   819  	}
   820  }
   821  func (m *GetPipelineInfoResponse) XXX_Merge(src proto.Message) {
   822  	xxx_messageInfo_GetPipelineInfoResponse.Merge(m, src)
   823  }
   824  func (m *GetPipelineInfoResponse) XXX_Size() int {
   825  	return m.Size()
   826  }
   827  func (m *GetPipelineInfoResponse) XXX_DiscardUnknown() {
   828  	xxx_messageInfo_GetPipelineInfoResponse.DiscardUnknown(m)
   829  }
   830  
   831  var xxx_messageInfo_GetPipelineInfoResponse proto.InternalMessageInfo
   832  
   833  func (m *GetPipelineInfoResponse) GetCount() int64 {
   834  	if m != nil {
   835  		return m.Count
   836  	}
   837  	return 0
   838  }
   839  
   840  // Request is the query request.
   841  type Request struct {
   842  	// RequestID is the request ID.
   843  	RequestID uint64 `protobuf:"varint,1,opt,name=RequestID,proto3" json:"RequestID,omitempty"`
   844  	// CmdMethod is the type of command.
   845  	CmdMethod CmdMethod `protobuf:"varint,2,opt,name=CmdMethod,proto3,enum=query.CmdMethod" json:"CmdMethod,omitempty"`
   846  	// QueryRequest is the common query request.
   847  	QueryRequest *QueryRequest `protobuf:"bytes,3,opt,name=QueryRequest,proto3" json:"QueryRequest,omitempty"`
   848  	// ShowProcessListRequest is the request for show process list.
   849  	ShowProcessListRequest *ShowProcessListRequest `protobuf:"bytes,4,opt,name=ShowProcessListRequest,proto3" json:"ShowProcessListRequest,omitempty"`
   850  	// AlterAccountRequest is the request for alter account restricted
   851  	AlterAccountRequest *AlterAccountRequest `protobuf:"bytes,5,opt,name=AlterAccountRequest,proto3" json:"AlterAccountRequest,omitempty"`
   852  	// KillConnRequest is the request which kills the connections.
   853  	KillConnRequest *KillConnRequest `protobuf:"bytes,6,opt,name=KillConnRequest,proto3" json:"KillConnRequest,omitempty"`
   854  	// TraceSpanRequest is the request for transferred span cmd
   855  	TraceSpanRequest *TraceSpanRequest `protobuf:"bytes,7,opt,name=TraceSpanRequest,proto3" json:"TraceSpanRequest,omitempty"`
   856  	// GetLockInfoRequest is the request for getting the lock from the cn
   857  	GetLockInfoRequest *GetLockInfoRequest `protobuf:"bytes,8,opt,name=GetLockInfoRequest,proto3" json:"GetLockInfoRequest,omitempty"`
   858  	// GetTxnInfoRequest is the request for getting the txn info from the cn
   859  	GetTxnInfoRequest *GetTxnInfoRequest `protobuf:"bytes,9,opt,name=GetTxnInfoRequest,proto3" json:"GetTxnInfoRequest,omitempty"`
   860  	// GetCacheInfoRequest is the request for getting the cache info from the cn,tn
   861  	GetCacheInfoRequest   *GetCacheInfoRequest          `protobuf:"bytes,10,opt,name=GetCacheInfoRequest,proto3" json:"GetCacheInfoRequest,omitempty"`
   862  	SycnCommit            *SyncCommitRequest            `protobuf:"bytes,11,opt,name=SycnCommit,proto3" json:"SycnCommit,omitempty"`
   863  	GetCommit             *GetCommitRequest             `protobuf:"bytes,12,opt,name=GetCommit,proto3" json:"GetCommit,omitempty"`
   864  	GetProtocolVersion    *GetProtocolVersionRequest    `protobuf:"bytes,13,opt,name=GetProtocolVersion,proto3" json:"GetProtocolVersion,omitempty"`
   865  	SetProtocolVersion    *SetProtocolVersionRequest    `protobuf:"bytes,14,opt,name=SetProtocolVersion,proto3" json:"SetProtocolVersion,omitempty"`
   866  	CoreDumpConfig        *CoreDumpConfigRequest        `protobuf:"bytes,15,opt,name=CoreDumpConfig,proto3" json:"CoreDumpConfig,omitempty"`
   867  	RunTask               *RunTaskRequest               `protobuf:"bytes,16,opt,name=RunTask,proto3" json:"RunTask,omitempty"`
   868  	RemoveRemoteLockTable *RemoveRemoteLockTableRequest `protobuf:"bytes,17,opt,name=RemoveRemoteLockTable,proto3" json:"RemoveRemoteLockTable,omitempty"`
   869  	GetLatestBind         *GetLatestBindRequest         `protobuf:"bytes,18,opt,name=GetLatestBind,proto3" json:"GetLatestBind,omitempty"`
   870  	UnsubscribeTable      *UnsubscribeTableRequest      `protobuf:"bytes,19,opt,name=UnsubscribeTable,proto3" json:"UnsubscribeTable,omitempty"`
   871  	// GetCacheDataRequest is the request of getting cache data from remote fileservice.
   872  	GetCacheDataRequest *GetCacheDataRequest `protobuf:"bytes,20,opt,name=GetCacheDataRequest,proto3" json:"GetCacheDataRequest,omitempty"`
   873  	// GetStatsInfoRequest is the request of getting stats info from remote cn node.
   874  	GetStatsInfoRequest    *GetStatsInfoRequest    `protobuf:"bytes,21,opt,name=GetStatsInfoRequest,proto3" json:"GetStatsInfoRequest,omitempty"`
   875  	GetPipelineInfoRequest *GetPipelineInfoRequest `protobuf:"bytes,22,opt,name=GetPipelineInfoRequest,proto3" json:"GetPipelineInfoRequest,omitempty"`
   876  	MigrateConnFromRequest *MigrateConnFromRequest `protobuf:"bytes,23,opt,name=MigrateConnFromRequest,proto3" json:"MigrateConnFromRequest,omitempty"`
   877  	MigrateConnToRequest   *MigrateConnToRequest   `protobuf:"bytes,24,opt,name=MigrateConnToRequest,proto3" json:"MigrateConnToRequest,omitempty"`
   878  }
   879  
   880  func (m *Request) Reset()         { *m = Request{} }
   881  func (m *Request) String() string { return proto.CompactTextString(m) }
   882  func (*Request) ProtoMessage()    {}
   883  func (*Request) Descriptor() ([]byte, []int) {
   884  	return fileDescriptor_5c6ac9b241082464, []int{16}
   885  }
   886  func (m *Request) XXX_Unmarshal(b []byte) error {
   887  	return m.Unmarshal(b)
   888  }
   889  func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   890  	if deterministic {
   891  		return xxx_messageInfo_Request.Marshal(b, m, deterministic)
   892  	} else {
   893  		b = b[:cap(b)]
   894  		n, err := m.MarshalToSizedBuffer(b)
   895  		if err != nil {
   896  			return nil, err
   897  		}
   898  		return b[:n], nil
   899  	}
   900  }
   901  func (m *Request) XXX_Merge(src proto.Message) {
   902  	xxx_messageInfo_Request.Merge(m, src)
   903  }
   904  func (m *Request) XXX_Size() int {
   905  	return m.Size()
   906  }
   907  func (m *Request) XXX_DiscardUnknown() {
   908  	xxx_messageInfo_Request.DiscardUnknown(m)
   909  }
   910  
   911  var xxx_messageInfo_Request proto.InternalMessageInfo
   912  
   913  func (m *Request) GetRequestID() uint64 {
   914  	if m != nil {
   915  		return m.RequestID
   916  	}
   917  	return 0
   918  }
   919  
   920  func (m *Request) GetCmdMethod() CmdMethod {
   921  	if m != nil {
   922  		return m.CmdMethod
   923  	}
   924  	return CmdMethod_Query
   925  }
   926  
   927  func (m *Request) GetQueryRequest() *QueryRequest {
   928  	if m != nil {
   929  		return m.QueryRequest
   930  	}
   931  	return nil
   932  }
   933  
   934  func (m *Request) GetShowProcessListRequest() *ShowProcessListRequest {
   935  	if m != nil {
   936  		return m.ShowProcessListRequest
   937  	}
   938  	return nil
   939  }
   940  
   941  func (m *Request) GetAlterAccountRequest() *AlterAccountRequest {
   942  	if m != nil {
   943  		return m.AlterAccountRequest
   944  	}
   945  	return nil
   946  }
   947  
   948  func (m *Request) GetKillConnRequest() *KillConnRequest {
   949  	if m != nil {
   950  		return m.KillConnRequest
   951  	}
   952  	return nil
   953  }
   954  
   955  func (m *Request) GetTraceSpanRequest() *TraceSpanRequest {
   956  	if m != nil {
   957  		return m.TraceSpanRequest
   958  	}
   959  	return nil
   960  }
   961  
   962  func (m *Request) GetGetLockInfoRequest() *GetLockInfoRequest {
   963  	if m != nil {
   964  		return m.GetLockInfoRequest
   965  	}
   966  	return nil
   967  }
   968  
   969  func (m *Request) GetGetTxnInfoRequest() *GetTxnInfoRequest {
   970  	if m != nil {
   971  		return m.GetTxnInfoRequest
   972  	}
   973  	return nil
   974  }
   975  
   976  func (m *Request) GetGetCacheInfoRequest() *GetCacheInfoRequest {
   977  	if m != nil {
   978  		return m.GetCacheInfoRequest
   979  	}
   980  	return nil
   981  }
   982  
   983  func (m *Request) GetSycnCommit() *SyncCommitRequest {
   984  	if m != nil {
   985  		return m.SycnCommit
   986  	}
   987  	return nil
   988  }
   989  
   990  func (m *Request) GetGetCommit() *GetCommitRequest {
   991  	if m != nil {
   992  		return m.GetCommit
   993  	}
   994  	return nil
   995  }
   996  
   997  func (m *Request) GetGetProtocolVersion() *GetProtocolVersionRequest {
   998  	if m != nil {
   999  		return m.GetProtocolVersion
  1000  	}
  1001  	return nil
  1002  }
  1003  
  1004  func (m *Request) GetSetProtocolVersion() *SetProtocolVersionRequest {
  1005  	if m != nil {
  1006  		return m.SetProtocolVersion
  1007  	}
  1008  	return nil
  1009  }
  1010  
  1011  func (m *Request) GetCoreDumpConfig() *CoreDumpConfigRequest {
  1012  	if m != nil {
  1013  		return m.CoreDumpConfig
  1014  	}
  1015  	return nil
  1016  }
  1017  
  1018  func (m *Request) GetRunTask() *RunTaskRequest {
  1019  	if m != nil {
  1020  		return m.RunTask
  1021  	}
  1022  	return nil
  1023  }
  1024  
  1025  func (m *Request) GetRemoveRemoteLockTable() *RemoveRemoteLockTableRequest {
  1026  	if m != nil {
  1027  		return m.RemoveRemoteLockTable
  1028  	}
  1029  	return nil
  1030  }
  1031  
  1032  func (m *Request) GetGetLatestBind() *GetLatestBindRequest {
  1033  	if m != nil {
  1034  		return m.GetLatestBind
  1035  	}
  1036  	return nil
  1037  }
  1038  
  1039  func (m *Request) GetUnsubscribeTable() *UnsubscribeTableRequest {
  1040  	if m != nil {
  1041  		return m.UnsubscribeTable
  1042  	}
  1043  	return nil
  1044  }
  1045  
  1046  func (m *Request) GetGetCacheDataRequest() *GetCacheDataRequest {
  1047  	if m != nil {
  1048  		return m.GetCacheDataRequest
  1049  	}
  1050  	return nil
  1051  }
  1052  
  1053  func (m *Request) GetGetStatsInfoRequest() *GetStatsInfoRequest {
  1054  	if m != nil {
  1055  		return m.GetStatsInfoRequest
  1056  	}
  1057  	return nil
  1058  }
  1059  
  1060  func (m *Request) GetGetPipelineInfoRequest() *GetPipelineInfoRequest {
  1061  	if m != nil {
  1062  		return m.GetPipelineInfoRequest
  1063  	}
  1064  	return nil
  1065  }
  1066  
  1067  func (m *Request) GetMigrateConnFromRequest() *MigrateConnFromRequest {
  1068  	if m != nil {
  1069  		return m.MigrateConnFromRequest
  1070  	}
  1071  	return nil
  1072  }
  1073  
  1074  func (m *Request) GetMigrateConnToRequest() *MigrateConnToRequest {
  1075  	if m != nil {
  1076  		return m.MigrateConnToRequest
  1077  	}
  1078  	return nil
  1079  }
  1080  
  1081  // ShowProcessListResponse is the response of command ShowProcessList.
  1082  type ShowProcessListResponse struct {
  1083  	Sessions []*status.Session `protobuf:"bytes,1,rep,name=Sessions,proto3" json:"Sessions,omitempty"`
  1084  }
  1085  
  1086  func (m *ShowProcessListResponse) Reset()         { *m = ShowProcessListResponse{} }
  1087  func (m *ShowProcessListResponse) String() string { return proto.CompactTextString(m) }
  1088  func (*ShowProcessListResponse) ProtoMessage()    {}
  1089  func (*ShowProcessListResponse) Descriptor() ([]byte, []int) {
  1090  	return fileDescriptor_5c6ac9b241082464, []int{17}
  1091  }
  1092  func (m *ShowProcessListResponse) XXX_Unmarshal(b []byte) error {
  1093  	return m.Unmarshal(b)
  1094  }
  1095  func (m *ShowProcessListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1096  	if deterministic {
  1097  		return xxx_messageInfo_ShowProcessListResponse.Marshal(b, m, deterministic)
  1098  	} else {
  1099  		b = b[:cap(b)]
  1100  		n, err := m.MarshalToSizedBuffer(b)
  1101  		if err != nil {
  1102  			return nil, err
  1103  		}
  1104  		return b[:n], nil
  1105  	}
  1106  }
  1107  func (m *ShowProcessListResponse) XXX_Merge(src proto.Message) {
  1108  	xxx_messageInfo_ShowProcessListResponse.Merge(m, src)
  1109  }
  1110  func (m *ShowProcessListResponse) XXX_Size() int {
  1111  	return m.Size()
  1112  }
  1113  func (m *ShowProcessListResponse) XXX_DiscardUnknown() {
  1114  	xxx_messageInfo_ShowProcessListResponse.DiscardUnknown(m)
  1115  }
  1116  
  1117  var xxx_messageInfo_ShowProcessListResponse proto.InternalMessageInfo
  1118  
  1119  func (m *ShowProcessListResponse) GetSessions() []*status.Session {
  1120  	if m != nil {
  1121  		return m.Sessions
  1122  	}
  1123  	return nil
  1124  }
  1125  
  1126  // Response is the response to query request.
  1127  type Response struct {
  1128  	// RequestID is the request ID.
  1129  	RequestID uint64 `protobuf:"varint,1,opt,name=RequestID,proto3" json:"RequestID,omitempty"`
  1130  	// CmdMethod is the type of command.
  1131  	CmdMethod CmdMethod `protobuf:"varint,2,opt,name=CmdMethod,proto3,enum=query.CmdMethod" json:"CmdMethod,omitempty"`
  1132  	// Error is used to return moerr. Set
  1133  	Error []byte `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
  1134  	// ShowProcessListResponse is the response of ShowProcessListRequest.
  1135  	ShowProcessListResponse *ShowProcessListResponse `protobuf:"bytes,4,opt,name=ShowProcessListResponse,proto3" json:"ShowProcessListResponse,omitempty"`
  1136  	// AlterAccountResponse is the response of AlterAccount.
  1137  	AlterAccountResponse *AlterAccountResponse `protobuf:"bytes,5,opt,name=AlterAccountResponse,proto3" json:"AlterAccountResponse,omitempty"`
  1138  	// KillConnResponse is the response of KillConnRequest.
  1139  	KillConnResponse *KillConnResponse `protobuf:"bytes,6,opt,name=KillConnResponse,proto3" json:"KillConnResponse,omitempty"`
  1140  	// TraceSpanResponse is the response of TraceSpanRequest
  1141  	TraceSpanResponse *TraceSpanResponse `protobuf:"bytes,7,opt,name=TraceSpanResponse,proto3" json:"TraceSpanResponse,omitempty"`
  1142  	// GetLockInfoResponse is the response of GetLockInfo
  1143  	GetLockInfoResponse *GetLockInfoResponse `protobuf:"bytes,8,opt,name=GetLockInfoResponse,proto3" json:"GetLockInfoResponse,omitempty"`
  1144  	// GetTxnInfoResponse is the response to GetTxnInfo
  1145  	GetTxnInfoResponse *GetTxnInfoResponse `protobuf:"bytes,9,opt,name=GetTxnInfoResponse,proto3" json:"GetTxnInfoResponse,omitempty"`
  1146  	// GetCacheInfoResponse is the response to GetCacheInfo
  1147  	GetCacheInfoResponse  *GetCacheInfoResponse          `protobuf:"bytes,10,opt,name=GetCacheInfoResponse,proto3" json:"GetCacheInfoResponse,omitempty"`
  1148  	SyncCommit            *SyncCommitResponse            `protobuf:"bytes,11,opt,name=SyncCommit,proto3" json:"SyncCommit,omitempty"`
  1149  	GetCommit             *GetCommitResponse             `protobuf:"bytes,12,opt,name=GetCommit,proto3" json:"GetCommit,omitempty"`
  1150  	GetProtocolVersion    *GetProtocolVersionResponse    `protobuf:"bytes,13,opt,name=GetProtocolVersion,proto3" json:"GetProtocolVersion,omitempty"`
  1151  	SetProtocolVersion    *SetProtocolVersionResponse    `protobuf:"bytes,14,opt,name=SetProtocolVersion,proto3" json:"SetProtocolVersion,omitempty"`
  1152  	CoreDumpConfig        *CoreDumpConfigResponse        `protobuf:"bytes,15,opt,name=CoreDumpConfig,proto3" json:"CoreDumpConfig,omitempty"`
  1153  	RunTask               *RunTaskResponse               `protobuf:"bytes,16,opt,name=RunTask,proto3" json:"RunTask,omitempty"`
  1154  	RemoveRemoteLockTable *RemoveRemoteLockTableResponse `protobuf:"bytes,17,opt,name=RemoveRemoteLockTable,proto3" json:"RemoveRemoteLockTable,omitempty"`
  1155  	GetLatestBind         *GetLatestBindResponse         `protobuf:"bytes,18,opt,name=GetLatestBind,proto3" json:"GetLatestBind,omitempty"`
  1156  	UnsubscribeTable      *UnsubscribeTableResponse      `protobuf:"bytes,19,opt,name=UnsubscribeTable,proto3" json:"UnsubscribeTable,omitempty"`
  1157  	// GetCacheDataResponse is the response of GetCacheDataRequest.
  1158  	GetCacheDataResponse *GetCacheDataResponse `protobuf:"bytes,20,opt,name=GetCacheDataResponse,proto3" json:"GetCacheDataResponse,omitempty"`
  1159  	// GetStatsInfoResponse is the response of GetStatsInfoRequest.
  1160  	GetStatsInfoResponse    *GetStatsInfoResponse    `protobuf:"bytes,21,opt,name=GetStatsInfoResponse,proto3" json:"GetStatsInfoResponse,omitempty"`
  1161  	GetPipelineInfoResponse *GetPipelineInfoResponse `protobuf:"bytes,22,opt,name=GetPipelineInfoResponse,proto3" json:"GetPipelineInfoResponse,omitempty"`
  1162  	MigrateConnFromResponse *MigrateConnFromResponse `protobuf:"bytes,23,opt,name=MigrateConnFromResponse,proto3" json:"MigrateConnFromResponse,omitempty"`
  1163  	MigrateConnToResponse   *MigrateConnToResponse   `protobuf:"bytes,24,opt,name=MigrateConnToResponse,proto3" json:"MigrateConnToResponse,omitempty"`
  1164  }
  1165  
  1166  func (m *Response) Reset()         { *m = Response{} }
  1167  func (m *Response) String() string { return proto.CompactTextString(m) }
  1168  func (*Response) ProtoMessage()    {}
  1169  func (*Response) Descriptor() ([]byte, []int) {
  1170  	return fileDescriptor_5c6ac9b241082464, []int{18}
  1171  }
  1172  func (m *Response) XXX_Unmarshal(b []byte) error {
  1173  	return m.Unmarshal(b)
  1174  }
  1175  func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1176  	if deterministic {
  1177  		return xxx_messageInfo_Response.Marshal(b, m, deterministic)
  1178  	} else {
  1179  		b = b[:cap(b)]
  1180  		n, err := m.MarshalToSizedBuffer(b)
  1181  		if err != nil {
  1182  			return nil, err
  1183  		}
  1184  		return b[:n], nil
  1185  	}
  1186  }
  1187  func (m *Response) XXX_Merge(src proto.Message) {
  1188  	xxx_messageInfo_Response.Merge(m, src)
  1189  }
  1190  func (m *Response) XXX_Size() int {
  1191  	return m.Size()
  1192  }
  1193  func (m *Response) XXX_DiscardUnknown() {
  1194  	xxx_messageInfo_Response.DiscardUnknown(m)
  1195  }
  1196  
  1197  var xxx_messageInfo_Response proto.InternalMessageInfo
  1198  
  1199  func (m *Response) GetRequestID() uint64 {
  1200  	if m != nil {
  1201  		return m.RequestID
  1202  	}
  1203  	return 0
  1204  }
  1205  
  1206  func (m *Response) GetCmdMethod() CmdMethod {
  1207  	if m != nil {
  1208  		return m.CmdMethod
  1209  	}
  1210  	return CmdMethod_Query
  1211  }
  1212  
  1213  func (m *Response) GetError() []byte {
  1214  	if m != nil {
  1215  		return m.Error
  1216  	}
  1217  	return nil
  1218  }
  1219  
  1220  func (m *Response) GetShowProcessListResponse() *ShowProcessListResponse {
  1221  	if m != nil {
  1222  		return m.ShowProcessListResponse
  1223  	}
  1224  	return nil
  1225  }
  1226  
  1227  func (m *Response) GetAlterAccountResponse() *AlterAccountResponse {
  1228  	if m != nil {
  1229  		return m.AlterAccountResponse
  1230  	}
  1231  	return nil
  1232  }
  1233  
  1234  func (m *Response) GetKillConnResponse() *KillConnResponse {
  1235  	if m != nil {
  1236  		return m.KillConnResponse
  1237  	}
  1238  	return nil
  1239  }
  1240  
  1241  func (m *Response) GetTraceSpanResponse() *TraceSpanResponse {
  1242  	if m != nil {
  1243  		return m.TraceSpanResponse
  1244  	}
  1245  	return nil
  1246  }
  1247  
  1248  func (m *Response) GetGetLockInfoResponse() *GetLockInfoResponse {
  1249  	if m != nil {
  1250  		return m.GetLockInfoResponse
  1251  	}
  1252  	return nil
  1253  }
  1254  
  1255  func (m *Response) GetGetTxnInfoResponse() *GetTxnInfoResponse {
  1256  	if m != nil {
  1257  		return m.GetTxnInfoResponse
  1258  	}
  1259  	return nil
  1260  }
  1261  
  1262  func (m *Response) GetGetCacheInfoResponse() *GetCacheInfoResponse {
  1263  	if m != nil {
  1264  		return m.GetCacheInfoResponse
  1265  	}
  1266  	return nil
  1267  }
  1268  
  1269  func (m *Response) GetSyncCommit() *SyncCommitResponse {
  1270  	if m != nil {
  1271  		return m.SyncCommit
  1272  	}
  1273  	return nil
  1274  }
  1275  
  1276  func (m *Response) GetGetCommit() *GetCommitResponse {
  1277  	if m != nil {
  1278  		return m.GetCommit
  1279  	}
  1280  	return nil
  1281  }
  1282  
  1283  func (m *Response) GetGetProtocolVersion() *GetProtocolVersionResponse {
  1284  	if m != nil {
  1285  		return m.GetProtocolVersion
  1286  	}
  1287  	return nil
  1288  }
  1289  
  1290  func (m *Response) GetSetProtocolVersion() *SetProtocolVersionResponse {
  1291  	if m != nil {
  1292  		return m.SetProtocolVersion
  1293  	}
  1294  	return nil
  1295  }
  1296  
  1297  func (m *Response) GetCoreDumpConfig() *CoreDumpConfigResponse {
  1298  	if m != nil {
  1299  		return m.CoreDumpConfig
  1300  	}
  1301  	return nil
  1302  }
  1303  
  1304  func (m *Response) GetRunTask() *RunTaskResponse {
  1305  	if m != nil {
  1306  		return m.RunTask
  1307  	}
  1308  	return nil
  1309  }
  1310  
  1311  func (m *Response) GetRemoveRemoteLockTable() *RemoveRemoteLockTableResponse {
  1312  	if m != nil {
  1313  		return m.RemoveRemoteLockTable
  1314  	}
  1315  	return nil
  1316  }
  1317  
  1318  func (m *Response) GetGetLatestBind() *GetLatestBindResponse {
  1319  	if m != nil {
  1320  		return m.GetLatestBind
  1321  	}
  1322  	return nil
  1323  }
  1324  
  1325  func (m *Response) GetUnsubscribeTable() *UnsubscribeTableResponse {
  1326  	if m != nil {
  1327  		return m.UnsubscribeTable
  1328  	}
  1329  	return nil
  1330  }
  1331  
  1332  func (m *Response) GetGetCacheDataResponse() *GetCacheDataResponse {
  1333  	if m != nil {
  1334  		return m.GetCacheDataResponse
  1335  	}
  1336  	return nil
  1337  }
  1338  
  1339  func (m *Response) GetGetStatsInfoResponse() *GetStatsInfoResponse {
  1340  	if m != nil {
  1341  		return m.GetStatsInfoResponse
  1342  	}
  1343  	return nil
  1344  }
  1345  
  1346  func (m *Response) GetGetPipelineInfoResponse() *GetPipelineInfoResponse {
  1347  	if m != nil {
  1348  		return m.GetPipelineInfoResponse
  1349  	}
  1350  	return nil
  1351  }
  1352  
  1353  func (m *Response) GetMigrateConnFromResponse() *MigrateConnFromResponse {
  1354  	if m != nil {
  1355  		return m.MigrateConnFromResponse
  1356  	}
  1357  	return nil
  1358  }
  1359  
  1360  func (m *Response) GetMigrateConnToResponse() *MigrateConnToResponse {
  1361  	if m != nil {
  1362  		return m.MigrateConnToResponse
  1363  	}
  1364  	return nil
  1365  }
  1366  
  1367  // AlterAccountRequest is the "alter account restricted" query request.
  1368  type AlterAccountRequest struct {
  1369  	// Tenant is the tenant which to alter.
  1370  	TenantId int64 `protobuf:"varint,1,opt,name=TenantId,proto3" json:"TenantId,omitempty"`
  1371  	// Status is the tenant which will be alter to.
  1372  	Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
  1373  }
  1374  
  1375  func (m *AlterAccountRequest) Reset()         { *m = AlterAccountRequest{} }
  1376  func (m *AlterAccountRequest) String() string { return proto.CompactTextString(m) }
  1377  func (*AlterAccountRequest) ProtoMessage()    {}
  1378  func (*AlterAccountRequest) Descriptor() ([]byte, []int) {
  1379  	return fileDescriptor_5c6ac9b241082464, []int{19}
  1380  }
  1381  func (m *AlterAccountRequest) XXX_Unmarshal(b []byte) error {
  1382  	return m.Unmarshal(b)
  1383  }
  1384  func (m *AlterAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1385  	if deterministic {
  1386  		return xxx_messageInfo_AlterAccountRequest.Marshal(b, m, deterministic)
  1387  	} else {
  1388  		b = b[:cap(b)]
  1389  		n, err := m.MarshalToSizedBuffer(b)
  1390  		if err != nil {
  1391  			return nil, err
  1392  		}
  1393  		return b[:n], nil
  1394  	}
  1395  }
  1396  func (m *AlterAccountRequest) XXX_Merge(src proto.Message) {
  1397  	xxx_messageInfo_AlterAccountRequest.Merge(m, src)
  1398  }
  1399  func (m *AlterAccountRequest) XXX_Size() int {
  1400  	return m.Size()
  1401  }
  1402  func (m *AlterAccountRequest) XXX_DiscardUnknown() {
  1403  	xxx_messageInfo_AlterAccountRequest.DiscardUnknown(m)
  1404  }
  1405  
  1406  var xxx_messageInfo_AlterAccountRequest proto.InternalMessageInfo
  1407  
  1408  func (m *AlterAccountRequest) GetTenantId() int64 {
  1409  	if m != nil {
  1410  		return m.TenantId
  1411  	}
  1412  	return 0
  1413  }
  1414  
  1415  func (m *AlterAccountRequest) GetStatus() string {
  1416  	if m != nil {
  1417  		return m.Status
  1418  	}
  1419  	return ""
  1420  }
  1421  
  1422  // AlterAccountResponse is the response of command AlterAccount.
  1423  type AlterAccountResponse struct {
  1424  	AlterSuccess bool `protobuf:"varint,1,opt,name=alterSuccess,proto3" json:"alterSuccess,omitempty"`
  1425  }
  1426  
  1427  func (m *AlterAccountResponse) Reset()         { *m = AlterAccountResponse{} }
  1428  func (m *AlterAccountResponse) String() string { return proto.CompactTextString(m) }
  1429  func (*AlterAccountResponse) ProtoMessage()    {}
  1430  func (*AlterAccountResponse) Descriptor() ([]byte, []int) {
  1431  	return fileDescriptor_5c6ac9b241082464, []int{20}
  1432  }
  1433  func (m *AlterAccountResponse) XXX_Unmarshal(b []byte) error {
  1434  	return m.Unmarshal(b)
  1435  }
  1436  func (m *AlterAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1437  	if deterministic {
  1438  		return xxx_messageInfo_AlterAccountResponse.Marshal(b, m, deterministic)
  1439  	} else {
  1440  		b = b[:cap(b)]
  1441  		n, err := m.MarshalToSizedBuffer(b)
  1442  		if err != nil {
  1443  			return nil, err
  1444  		}
  1445  		return b[:n], nil
  1446  	}
  1447  }
  1448  func (m *AlterAccountResponse) XXX_Merge(src proto.Message) {
  1449  	xxx_messageInfo_AlterAccountResponse.Merge(m, src)
  1450  }
  1451  func (m *AlterAccountResponse) XXX_Size() int {
  1452  	return m.Size()
  1453  }
  1454  func (m *AlterAccountResponse) XXX_DiscardUnknown() {
  1455  	xxx_messageInfo_AlterAccountResponse.DiscardUnknown(m)
  1456  }
  1457  
  1458  var xxx_messageInfo_AlterAccountResponse proto.InternalMessageInfo
  1459  
  1460  func (m *AlterAccountResponse) GetAlterSuccess() bool {
  1461  	if m != nil {
  1462  		return m.AlterSuccess
  1463  	}
  1464  	return false
  1465  }
  1466  
  1467  // KillConnRequest is the request that kill the connections belongs
  1468  // to the account.
  1469  type KillConnRequest struct {
  1470  	AccountID int64  `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"`
  1471  	Version   uint64 `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
  1472  }
  1473  
  1474  func (m *KillConnRequest) Reset()         { *m = KillConnRequest{} }
  1475  func (m *KillConnRequest) String() string { return proto.CompactTextString(m) }
  1476  func (*KillConnRequest) ProtoMessage()    {}
  1477  func (*KillConnRequest) Descriptor() ([]byte, []int) {
  1478  	return fileDescriptor_5c6ac9b241082464, []int{21}
  1479  }
  1480  func (m *KillConnRequest) XXX_Unmarshal(b []byte) error {
  1481  	return m.Unmarshal(b)
  1482  }
  1483  func (m *KillConnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1484  	if deterministic {
  1485  		return xxx_messageInfo_KillConnRequest.Marshal(b, m, deterministic)
  1486  	} else {
  1487  		b = b[:cap(b)]
  1488  		n, err := m.MarshalToSizedBuffer(b)
  1489  		if err != nil {
  1490  			return nil, err
  1491  		}
  1492  		return b[:n], nil
  1493  	}
  1494  }
  1495  func (m *KillConnRequest) XXX_Merge(src proto.Message) {
  1496  	xxx_messageInfo_KillConnRequest.Merge(m, src)
  1497  }
  1498  func (m *KillConnRequest) XXX_Size() int {
  1499  	return m.Size()
  1500  }
  1501  func (m *KillConnRequest) XXX_DiscardUnknown() {
  1502  	xxx_messageInfo_KillConnRequest.DiscardUnknown(m)
  1503  }
  1504  
  1505  var xxx_messageInfo_KillConnRequest proto.InternalMessageInfo
  1506  
  1507  func (m *KillConnRequest) GetAccountID() int64 {
  1508  	if m != nil {
  1509  		return m.AccountID
  1510  	}
  1511  	return 0
  1512  }
  1513  
  1514  func (m *KillConnRequest) GetVersion() uint64 {
  1515  	if m != nil {
  1516  		return m.Version
  1517  	}
  1518  	return 0
  1519  }
  1520  
  1521  // KillConnResponse is the response to the kill connection request.
  1522  type KillConnResponse struct {
  1523  	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
  1524  }
  1525  
  1526  func (m *KillConnResponse) Reset()         { *m = KillConnResponse{} }
  1527  func (m *KillConnResponse) String() string { return proto.CompactTextString(m) }
  1528  func (*KillConnResponse) ProtoMessage()    {}
  1529  func (*KillConnResponse) Descriptor() ([]byte, []int) {
  1530  	return fileDescriptor_5c6ac9b241082464, []int{22}
  1531  }
  1532  func (m *KillConnResponse) XXX_Unmarshal(b []byte) error {
  1533  	return m.Unmarshal(b)
  1534  }
  1535  func (m *KillConnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1536  	if deterministic {
  1537  		return xxx_messageInfo_KillConnResponse.Marshal(b, m, deterministic)
  1538  	} else {
  1539  		b = b[:cap(b)]
  1540  		n, err := m.MarshalToSizedBuffer(b)
  1541  		if err != nil {
  1542  			return nil, err
  1543  		}
  1544  		return b[:n], nil
  1545  	}
  1546  }
  1547  func (m *KillConnResponse) XXX_Merge(src proto.Message) {
  1548  	xxx_messageInfo_KillConnResponse.Merge(m, src)
  1549  }
  1550  func (m *KillConnResponse) XXX_Size() int {
  1551  	return m.Size()
  1552  }
  1553  func (m *KillConnResponse) XXX_DiscardUnknown() {
  1554  	xxx_messageInfo_KillConnResponse.DiscardUnknown(m)
  1555  }
  1556  
  1557  var xxx_messageInfo_KillConnResponse proto.InternalMessageInfo
  1558  
  1559  func (m *KillConnResponse) GetSuccess() bool {
  1560  	if m != nil {
  1561  		return m.Success
  1562  	}
  1563  	return false
  1564  }
  1565  
  1566  type TraceSpanRequest struct {
  1567  	Cmd       string `protobuf:"bytes,1,opt,name=Cmd,proto3" json:"Cmd,omitempty"`
  1568  	Spans     string `protobuf:"bytes,2,opt,name=Spans,proto3" json:"Spans,omitempty"`
  1569  	Threshold int64  `protobuf:"varint,3,opt,name=Threshold,proto3" json:"Threshold,omitempty"`
  1570  }
  1571  
  1572  func (m *TraceSpanRequest) Reset()         { *m = TraceSpanRequest{} }
  1573  func (m *TraceSpanRequest) String() string { return proto.CompactTextString(m) }
  1574  func (*TraceSpanRequest) ProtoMessage()    {}
  1575  func (*TraceSpanRequest) Descriptor() ([]byte, []int) {
  1576  	return fileDescriptor_5c6ac9b241082464, []int{23}
  1577  }
  1578  func (m *TraceSpanRequest) XXX_Unmarshal(b []byte) error {
  1579  	return m.Unmarshal(b)
  1580  }
  1581  func (m *TraceSpanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1582  	if deterministic {
  1583  		return xxx_messageInfo_TraceSpanRequest.Marshal(b, m, deterministic)
  1584  	} else {
  1585  		b = b[:cap(b)]
  1586  		n, err := m.MarshalToSizedBuffer(b)
  1587  		if err != nil {
  1588  			return nil, err
  1589  		}
  1590  		return b[:n], nil
  1591  	}
  1592  }
  1593  func (m *TraceSpanRequest) XXX_Merge(src proto.Message) {
  1594  	xxx_messageInfo_TraceSpanRequest.Merge(m, src)
  1595  }
  1596  func (m *TraceSpanRequest) XXX_Size() int {
  1597  	return m.Size()
  1598  }
  1599  func (m *TraceSpanRequest) XXX_DiscardUnknown() {
  1600  	xxx_messageInfo_TraceSpanRequest.DiscardUnknown(m)
  1601  }
  1602  
  1603  var xxx_messageInfo_TraceSpanRequest proto.InternalMessageInfo
  1604  
  1605  func (m *TraceSpanRequest) GetCmd() string {
  1606  	if m != nil {
  1607  		return m.Cmd
  1608  	}
  1609  	return ""
  1610  }
  1611  
  1612  func (m *TraceSpanRequest) GetSpans() string {
  1613  	if m != nil {
  1614  		return m.Spans
  1615  	}
  1616  	return ""
  1617  }
  1618  
  1619  func (m *TraceSpanRequest) GetThreshold() int64 {
  1620  	if m != nil {
  1621  		return m.Threshold
  1622  	}
  1623  	return 0
  1624  }
  1625  
  1626  type TraceSpanResponse struct {
  1627  	Resp string `protobuf:"bytes,1,opt,name=Resp,proto3" json:"Resp,omitempty"`
  1628  }
  1629  
  1630  func (m *TraceSpanResponse) Reset()         { *m = TraceSpanResponse{} }
  1631  func (m *TraceSpanResponse) String() string { return proto.CompactTextString(m) }
  1632  func (*TraceSpanResponse) ProtoMessage()    {}
  1633  func (*TraceSpanResponse) Descriptor() ([]byte, []int) {
  1634  	return fileDescriptor_5c6ac9b241082464, []int{24}
  1635  }
  1636  func (m *TraceSpanResponse) XXX_Unmarshal(b []byte) error {
  1637  	return m.Unmarshal(b)
  1638  }
  1639  func (m *TraceSpanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1640  	if deterministic {
  1641  		return xxx_messageInfo_TraceSpanResponse.Marshal(b, m, deterministic)
  1642  	} else {
  1643  		b = b[:cap(b)]
  1644  		n, err := m.MarshalToSizedBuffer(b)
  1645  		if err != nil {
  1646  			return nil, err
  1647  		}
  1648  		return b[:n], nil
  1649  	}
  1650  }
  1651  func (m *TraceSpanResponse) XXX_Merge(src proto.Message) {
  1652  	xxx_messageInfo_TraceSpanResponse.Merge(m, src)
  1653  }
  1654  func (m *TraceSpanResponse) XXX_Size() int {
  1655  	return m.Size()
  1656  }
  1657  func (m *TraceSpanResponse) XXX_DiscardUnknown() {
  1658  	xxx_messageInfo_TraceSpanResponse.DiscardUnknown(m)
  1659  }
  1660  
  1661  var xxx_messageInfo_TraceSpanResponse proto.InternalMessageInfo
  1662  
  1663  func (m *TraceSpanResponse) GetResp() string {
  1664  	if m != nil {
  1665  		return m.Resp
  1666  	}
  1667  	return ""
  1668  }
  1669  
  1670  type GetLockInfoRequest struct {
  1671  }
  1672  
  1673  func (m *GetLockInfoRequest) Reset()         { *m = GetLockInfoRequest{} }
  1674  func (m *GetLockInfoRequest) String() string { return proto.CompactTextString(m) }
  1675  func (*GetLockInfoRequest) ProtoMessage()    {}
  1676  func (*GetLockInfoRequest) Descriptor() ([]byte, []int) {
  1677  	return fileDescriptor_5c6ac9b241082464, []int{25}
  1678  }
  1679  func (m *GetLockInfoRequest) XXX_Unmarshal(b []byte) error {
  1680  	return m.Unmarshal(b)
  1681  }
  1682  func (m *GetLockInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1683  	if deterministic {
  1684  		return xxx_messageInfo_GetLockInfoRequest.Marshal(b, m, deterministic)
  1685  	} else {
  1686  		b = b[:cap(b)]
  1687  		n, err := m.MarshalToSizedBuffer(b)
  1688  		if err != nil {
  1689  			return nil, err
  1690  		}
  1691  		return b[:n], nil
  1692  	}
  1693  }
  1694  func (m *GetLockInfoRequest) XXX_Merge(src proto.Message) {
  1695  	xxx_messageInfo_GetLockInfoRequest.Merge(m, src)
  1696  }
  1697  func (m *GetLockInfoRequest) XXX_Size() int {
  1698  	return m.Size()
  1699  }
  1700  func (m *GetLockInfoRequest) XXX_DiscardUnknown() {
  1701  	xxx_messageInfo_GetLockInfoRequest.DiscardUnknown(m)
  1702  }
  1703  
  1704  var xxx_messageInfo_GetLockInfoRequest proto.InternalMessageInfo
  1705  
  1706  type LockInfo struct {
  1707  	TableId     uint64          `protobuf:"varint,1,opt,name=TableId,proto3" json:"TableId,omitempty"`
  1708  	Keys        [][]byte        `protobuf:"bytes,2,rep,name=Keys,proto3" json:"Keys,omitempty"`
  1709  	LockMode    lock.LockMode   `protobuf:"varint,3,opt,name=LockMode,proto3,enum=lock.LockMode" json:"LockMode,omitempty"`
  1710  	IsRangeLock bool            `protobuf:"varint,4,opt,name=isRangeLock,proto3" json:"isRangeLock,omitempty"`
  1711  	Holders     []*lock.WaitTxn `protobuf:"bytes,5,rep,name=Holders,proto3" json:"Holders,omitempty"`
  1712  	Waiters     []*lock.WaitTxn `protobuf:"bytes,6,rep,name=Waiters,proto3" json:"Waiters,omitempty"`
  1713  }
  1714  
  1715  func (m *LockInfo) Reset()         { *m = LockInfo{} }
  1716  func (m *LockInfo) String() string { return proto.CompactTextString(m) }
  1717  func (*LockInfo) ProtoMessage()    {}
  1718  func (*LockInfo) Descriptor() ([]byte, []int) {
  1719  	return fileDescriptor_5c6ac9b241082464, []int{26}
  1720  }
  1721  func (m *LockInfo) XXX_Unmarshal(b []byte) error {
  1722  	return m.Unmarshal(b)
  1723  }
  1724  func (m *LockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1725  	if deterministic {
  1726  		return xxx_messageInfo_LockInfo.Marshal(b, m, deterministic)
  1727  	} else {
  1728  		b = b[:cap(b)]
  1729  		n, err := m.MarshalToSizedBuffer(b)
  1730  		if err != nil {
  1731  			return nil, err
  1732  		}
  1733  		return b[:n], nil
  1734  	}
  1735  }
  1736  func (m *LockInfo) XXX_Merge(src proto.Message) {
  1737  	xxx_messageInfo_LockInfo.Merge(m, src)
  1738  }
  1739  func (m *LockInfo) XXX_Size() int {
  1740  	return m.Size()
  1741  }
  1742  func (m *LockInfo) XXX_DiscardUnknown() {
  1743  	xxx_messageInfo_LockInfo.DiscardUnknown(m)
  1744  }
  1745  
  1746  var xxx_messageInfo_LockInfo proto.InternalMessageInfo
  1747  
  1748  func (m *LockInfo) GetTableId() uint64 {
  1749  	if m != nil {
  1750  		return m.TableId
  1751  	}
  1752  	return 0
  1753  }
  1754  
  1755  func (m *LockInfo) GetKeys() [][]byte {
  1756  	if m != nil {
  1757  		return m.Keys
  1758  	}
  1759  	return nil
  1760  }
  1761  
  1762  func (m *LockInfo) GetLockMode() lock.LockMode {
  1763  	if m != nil {
  1764  		return m.LockMode
  1765  	}
  1766  	return lock.LockMode_Exclusive
  1767  }
  1768  
  1769  func (m *LockInfo) GetIsRangeLock() bool {
  1770  	if m != nil {
  1771  		return m.IsRangeLock
  1772  	}
  1773  	return false
  1774  }
  1775  
  1776  func (m *LockInfo) GetHolders() []*lock.WaitTxn {
  1777  	if m != nil {
  1778  		return m.Holders
  1779  	}
  1780  	return nil
  1781  }
  1782  
  1783  func (m *LockInfo) GetWaiters() []*lock.WaitTxn {
  1784  	if m != nil {
  1785  		return m.Waiters
  1786  	}
  1787  	return nil
  1788  }
  1789  
  1790  type GetLockInfoResponse struct {
  1791  	CnId         string      `protobuf:"bytes,1,opt,name=CnId,proto3" json:"CnId,omitempty"`
  1792  	LockInfoList []*LockInfo `protobuf:"bytes,2,rep,name=LockInfoList,proto3" json:"LockInfoList,omitempty"`
  1793  }
  1794  
  1795  func (m *GetLockInfoResponse) Reset()         { *m = GetLockInfoResponse{} }
  1796  func (m *GetLockInfoResponse) String() string { return proto.CompactTextString(m) }
  1797  func (*GetLockInfoResponse) ProtoMessage()    {}
  1798  func (*GetLockInfoResponse) Descriptor() ([]byte, []int) {
  1799  	return fileDescriptor_5c6ac9b241082464, []int{27}
  1800  }
  1801  func (m *GetLockInfoResponse) XXX_Unmarshal(b []byte) error {
  1802  	return m.Unmarshal(b)
  1803  }
  1804  func (m *GetLockInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1805  	if deterministic {
  1806  		return xxx_messageInfo_GetLockInfoResponse.Marshal(b, m, deterministic)
  1807  	} else {
  1808  		b = b[:cap(b)]
  1809  		n, err := m.MarshalToSizedBuffer(b)
  1810  		if err != nil {
  1811  			return nil, err
  1812  		}
  1813  		return b[:n], nil
  1814  	}
  1815  }
  1816  func (m *GetLockInfoResponse) XXX_Merge(src proto.Message) {
  1817  	xxx_messageInfo_GetLockInfoResponse.Merge(m, src)
  1818  }
  1819  func (m *GetLockInfoResponse) XXX_Size() int {
  1820  	return m.Size()
  1821  }
  1822  func (m *GetLockInfoResponse) XXX_DiscardUnknown() {
  1823  	xxx_messageInfo_GetLockInfoResponse.DiscardUnknown(m)
  1824  }
  1825  
  1826  var xxx_messageInfo_GetLockInfoResponse proto.InternalMessageInfo
  1827  
  1828  func (m *GetLockInfoResponse) GetCnId() string {
  1829  	if m != nil {
  1830  		return m.CnId
  1831  	}
  1832  	return ""
  1833  }
  1834  
  1835  func (m *GetLockInfoResponse) GetLockInfoList() []*LockInfo {
  1836  	if m != nil {
  1837  		return m.LockInfoList
  1838  	}
  1839  	return nil
  1840  }
  1841  
  1842  type GetTxnInfoRequest struct {
  1843  }
  1844  
  1845  func (m *GetTxnInfoRequest) Reset()         { *m = GetTxnInfoRequest{} }
  1846  func (m *GetTxnInfoRequest) String() string { return proto.CompactTextString(m) }
  1847  func (*GetTxnInfoRequest) ProtoMessage()    {}
  1848  func (*GetTxnInfoRequest) Descriptor() ([]byte, []int) {
  1849  	return fileDescriptor_5c6ac9b241082464, []int{28}
  1850  }
  1851  func (m *GetTxnInfoRequest) XXX_Unmarshal(b []byte) error {
  1852  	return m.Unmarshal(b)
  1853  }
  1854  func (m *GetTxnInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1855  	if deterministic {
  1856  		return xxx_messageInfo_GetTxnInfoRequest.Marshal(b, m, deterministic)
  1857  	} else {
  1858  		b = b[:cap(b)]
  1859  		n, err := m.MarshalToSizedBuffer(b)
  1860  		if err != nil {
  1861  			return nil, err
  1862  		}
  1863  		return b[:n], nil
  1864  	}
  1865  }
  1866  func (m *GetTxnInfoRequest) XXX_Merge(src proto.Message) {
  1867  	xxx_messageInfo_GetTxnInfoRequest.Merge(m, src)
  1868  }
  1869  func (m *GetTxnInfoRequest) XXX_Size() int {
  1870  	return m.Size()
  1871  }
  1872  func (m *GetTxnInfoRequest) XXX_DiscardUnknown() {
  1873  	xxx_messageInfo_GetTxnInfoRequest.DiscardUnknown(m)
  1874  }
  1875  
  1876  var xxx_messageInfo_GetTxnInfoRequest proto.InternalMessageInfo
  1877  
  1878  type TxnLockInfo struct {
  1879  	// TableId is the id of the table
  1880  	TableId uint64 `protobuf:"varint,1,opt,name=TableId,proto3" json:"TableId,omitempty"`
  1881  	// Rows
  1882  	// - point/row lock : all point lock keys
  1883  	// - rang lock : start,end,start,end
  1884  	Rows [][]byte `protobuf:"bytes,2,rep,name=Rows,proto3" json:"Rows,omitempty"`
  1885  	// Options
  1886  	// - type : point or range
  1887  	// - mode : shared or exclusive
  1888  	Options *lock.LockOptions `protobuf:"bytes,3,opt,name=Options,proto3" json:"Options,omitempty"`
  1889  }
  1890  
  1891  func (m *TxnLockInfo) Reset()         { *m = TxnLockInfo{} }
  1892  func (m *TxnLockInfo) String() string { return proto.CompactTextString(m) }
  1893  func (*TxnLockInfo) ProtoMessage()    {}
  1894  func (*TxnLockInfo) Descriptor() ([]byte, []int) {
  1895  	return fileDescriptor_5c6ac9b241082464, []int{29}
  1896  }
  1897  func (m *TxnLockInfo) XXX_Unmarshal(b []byte) error {
  1898  	return m.Unmarshal(b)
  1899  }
  1900  func (m *TxnLockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1901  	if deterministic {
  1902  		return xxx_messageInfo_TxnLockInfo.Marshal(b, m, deterministic)
  1903  	} else {
  1904  		b = b[:cap(b)]
  1905  		n, err := m.MarshalToSizedBuffer(b)
  1906  		if err != nil {
  1907  			return nil, err
  1908  		}
  1909  		return b[:n], nil
  1910  	}
  1911  }
  1912  func (m *TxnLockInfo) XXX_Merge(src proto.Message) {
  1913  	xxx_messageInfo_TxnLockInfo.Merge(m, src)
  1914  }
  1915  func (m *TxnLockInfo) XXX_Size() int {
  1916  	return m.Size()
  1917  }
  1918  func (m *TxnLockInfo) XXX_DiscardUnknown() {
  1919  	xxx_messageInfo_TxnLockInfo.DiscardUnknown(m)
  1920  }
  1921  
  1922  var xxx_messageInfo_TxnLockInfo proto.InternalMessageInfo
  1923  
  1924  func (m *TxnLockInfo) GetTableId() uint64 {
  1925  	if m != nil {
  1926  		return m.TableId
  1927  	}
  1928  	return 0
  1929  }
  1930  
  1931  func (m *TxnLockInfo) GetRows() [][]byte {
  1932  	if m != nil {
  1933  		return m.Rows
  1934  	}
  1935  	return nil
  1936  }
  1937  
  1938  func (m *TxnLockInfo) GetOptions() *lock.LockOptions {
  1939  	if m != nil {
  1940  		return m.Options
  1941  	}
  1942  	return nil
  1943  }
  1944  
  1945  type TxnInfo struct {
  1946  	// CreateAt is the create time of the txn
  1947  	CreateAt time.Time    `protobuf:"bytes,1,opt,name=CreateAt,proto3,stdtime" json:"CreateAt"`
  1948  	Meta     *txn.TxnMeta `protobuf:"bytes,2,opt,name=Meta,proto3" json:"Meta,omitempty"`
  1949  	// UserTxn denotes it is the user txn or not
  1950  	UserTxn bool `protobuf:"varint,3,opt,name=UserTxn,proto3" json:"UserTxn,omitempty"`
  1951  	// WaitLocks denotes the locks that the txn is waiting on
  1952  	WaitLocks []*TxnLockInfo `protobuf:"bytes,4,rep,name=WaitLocks,proto3" json:"WaitLocks,omitempty"`
  1953  }
  1954  
  1955  func (m *TxnInfo) Reset()         { *m = TxnInfo{} }
  1956  func (m *TxnInfo) String() string { return proto.CompactTextString(m) }
  1957  func (*TxnInfo) ProtoMessage()    {}
  1958  func (*TxnInfo) Descriptor() ([]byte, []int) {
  1959  	return fileDescriptor_5c6ac9b241082464, []int{30}
  1960  }
  1961  func (m *TxnInfo) XXX_Unmarshal(b []byte) error {
  1962  	return m.Unmarshal(b)
  1963  }
  1964  func (m *TxnInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1965  	if deterministic {
  1966  		return xxx_messageInfo_TxnInfo.Marshal(b, m, deterministic)
  1967  	} else {
  1968  		b = b[:cap(b)]
  1969  		n, err := m.MarshalToSizedBuffer(b)
  1970  		if err != nil {
  1971  			return nil, err
  1972  		}
  1973  		return b[:n], nil
  1974  	}
  1975  }
  1976  func (m *TxnInfo) XXX_Merge(src proto.Message) {
  1977  	xxx_messageInfo_TxnInfo.Merge(m, src)
  1978  }
  1979  func (m *TxnInfo) XXX_Size() int {
  1980  	return m.Size()
  1981  }
  1982  func (m *TxnInfo) XXX_DiscardUnknown() {
  1983  	xxx_messageInfo_TxnInfo.DiscardUnknown(m)
  1984  }
  1985  
  1986  var xxx_messageInfo_TxnInfo proto.InternalMessageInfo
  1987  
  1988  func (m *TxnInfo) GetCreateAt() time.Time {
  1989  	if m != nil {
  1990  		return m.CreateAt
  1991  	}
  1992  	return time.Time{}
  1993  }
  1994  
  1995  func (m *TxnInfo) GetMeta() *txn.TxnMeta {
  1996  	if m != nil {
  1997  		return m.Meta
  1998  	}
  1999  	return nil
  2000  }
  2001  
  2002  func (m *TxnInfo) GetUserTxn() bool {
  2003  	if m != nil {
  2004  		return m.UserTxn
  2005  	}
  2006  	return false
  2007  }
  2008  
  2009  func (m *TxnInfo) GetWaitLocks() []*TxnLockInfo {
  2010  	if m != nil {
  2011  		return m.WaitLocks
  2012  	}
  2013  	return nil
  2014  }
  2015  
  2016  type GetTxnInfoResponse struct {
  2017  	CnId        string     `protobuf:"bytes,1,opt,name=CnId,proto3" json:"CnId,omitempty"`
  2018  	TxnInfoList []*TxnInfo `protobuf:"bytes,2,rep,name=TxnInfoList,proto3" json:"TxnInfoList,omitempty"`
  2019  }
  2020  
  2021  func (m *GetTxnInfoResponse) Reset()         { *m = GetTxnInfoResponse{} }
  2022  func (m *GetTxnInfoResponse) String() string { return proto.CompactTextString(m) }
  2023  func (*GetTxnInfoResponse) ProtoMessage()    {}
  2024  func (*GetTxnInfoResponse) Descriptor() ([]byte, []int) {
  2025  	return fileDescriptor_5c6ac9b241082464, []int{31}
  2026  }
  2027  func (m *GetTxnInfoResponse) XXX_Unmarshal(b []byte) error {
  2028  	return m.Unmarshal(b)
  2029  }
  2030  func (m *GetTxnInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2031  	if deterministic {
  2032  		return xxx_messageInfo_GetTxnInfoResponse.Marshal(b, m, deterministic)
  2033  	} else {
  2034  		b = b[:cap(b)]
  2035  		n, err := m.MarshalToSizedBuffer(b)
  2036  		if err != nil {
  2037  			return nil, err
  2038  		}
  2039  		return b[:n], nil
  2040  	}
  2041  }
  2042  func (m *GetTxnInfoResponse) XXX_Merge(src proto.Message) {
  2043  	xxx_messageInfo_GetTxnInfoResponse.Merge(m, src)
  2044  }
  2045  func (m *GetTxnInfoResponse) XXX_Size() int {
  2046  	return m.Size()
  2047  }
  2048  func (m *GetTxnInfoResponse) XXX_DiscardUnknown() {
  2049  	xxx_messageInfo_GetTxnInfoResponse.DiscardUnknown(m)
  2050  }
  2051  
  2052  var xxx_messageInfo_GetTxnInfoResponse proto.InternalMessageInfo
  2053  
  2054  func (m *GetTxnInfoResponse) GetCnId() string {
  2055  	if m != nil {
  2056  		return m.CnId
  2057  	}
  2058  	return ""
  2059  }
  2060  
  2061  func (m *GetTxnInfoResponse) GetTxnInfoList() []*TxnInfo {
  2062  	if m != nil {
  2063  		return m.TxnInfoList
  2064  	}
  2065  	return nil
  2066  }
  2067  
  2068  type GetCacheInfoRequest struct {
  2069  }
  2070  
  2071  func (m *GetCacheInfoRequest) Reset()         { *m = GetCacheInfoRequest{} }
  2072  func (m *GetCacheInfoRequest) String() string { return proto.CompactTextString(m) }
  2073  func (*GetCacheInfoRequest) ProtoMessage()    {}
  2074  func (*GetCacheInfoRequest) Descriptor() ([]byte, []int) {
  2075  	return fileDescriptor_5c6ac9b241082464, []int{32}
  2076  }
  2077  func (m *GetCacheInfoRequest) XXX_Unmarshal(b []byte) error {
  2078  	return m.Unmarshal(b)
  2079  }
  2080  func (m *GetCacheInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2081  	if deterministic {
  2082  		return xxx_messageInfo_GetCacheInfoRequest.Marshal(b, m, deterministic)
  2083  	} else {
  2084  		b = b[:cap(b)]
  2085  		n, err := m.MarshalToSizedBuffer(b)
  2086  		if err != nil {
  2087  			return nil, err
  2088  		}
  2089  		return b[:n], nil
  2090  	}
  2091  }
  2092  func (m *GetCacheInfoRequest) XXX_Merge(src proto.Message) {
  2093  	xxx_messageInfo_GetCacheInfoRequest.Merge(m, src)
  2094  }
  2095  func (m *GetCacheInfoRequest) XXX_Size() int {
  2096  	return m.Size()
  2097  }
  2098  func (m *GetCacheInfoRequest) XXX_DiscardUnknown() {
  2099  	xxx_messageInfo_GetCacheInfoRequest.DiscardUnknown(m)
  2100  }
  2101  
  2102  var xxx_messageInfo_GetCacheInfoRequest proto.InternalMessageInfo
  2103  
  2104  type CacheInfo struct {
  2105  	// NodeType is the type of the node. cn, tn
  2106  	NodeType string `protobuf:"bytes,1,opt,name=NodeType,proto3" json:"NodeType,omitempty"`
  2107  	// NodeId is the uuid of the node.
  2108  	NodeId string `protobuf:"bytes,2,opt,name=NodeId,proto3" json:"NodeId,omitempty"`
  2109  	// CacheType is the type of the cache. memory, disk
  2110  	CacheType string `protobuf:"bytes,3,opt,name=CacheType,proto3" json:"CacheType,omitempty"`
  2111  	// Used is the used bytes of the cache for memory cache
  2112  	Used uint64 `protobuf:"varint,4,opt,name=Used,proto3" json:"Used,omitempty"`
  2113  	// Free is the free bytes of the cache for memory cache
  2114  	Free uint64 `protobuf:"varint,5,opt,name=Free,proto3" json:"Free,omitempty"`
  2115  	// HitRatio is the hit ratio of the cache.
  2116  	HitRatio float32 `protobuf:"fixed32,6,opt,name=HitRatio,proto3" json:"HitRatio,omitempty"`
  2117  }
  2118  
  2119  func (m *CacheInfo) Reset()         { *m = CacheInfo{} }
  2120  func (m *CacheInfo) String() string { return proto.CompactTextString(m) }
  2121  func (*CacheInfo) ProtoMessage()    {}
  2122  func (*CacheInfo) Descriptor() ([]byte, []int) {
  2123  	return fileDescriptor_5c6ac9b241082464, []int{33}
  2124  }
  2125  func (m *CacheInfo) XXX_Unmarshal(b []byte) error {
  2126  	return m.Unmarshal(b)
  2127  }
  2128  func (m *CacheInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2129  	if deterministic {
  2130  		return xxx_messageInfo_CacheInfo.Marshal(b, m, deterministic)
  2131  	} else {
  2132  		b = b[:cap(b)]
  2133  		n, err := m.MarshalToSizedBuffer(b)
  2134  		if err != nil {
  2135  			return nil, err
  2136  		}
  2137  		return b[:n], nil
  2138  	}
  2139  }
  2140  func (m *CacheInfo) XXX_Merge(src proto.Message) {
  2141  	xxx_messageInfo_CacheInfo.Merge(m, src)
  2142  }
  2143  func (m *CacheInfo) XXX_Size() int {
  2144  	return m.Size()
  2145  }
  2146  func (m *CacheInfo) XXX_DiscardUnknown() {
  2147  	xxx_messageInfo_CacheInfo.DiscardUnknown(m)
  2148  }
  2149  
  2150  var xxx_messageInfo_CacheInfo proto.InternalMessageInfo
  2151  
  2152  func (m *CacheInfo) GetNodeType() string {
  2153  	if m != nil {
  2154  		return m.NodeType
  2155  	}
  2156  	return ""
  2157  }
  2158  
  2159  func (m *CacheInfo) GetNodeId() string {
  2160  	if m != nil {
  2161  		return m.NodeId
  2162  	}
  2163  	return ""
  2164  }
  2165  
  2166  func (m *CacheInfo) GetCacheType() string {
  2167  	if m != nil {
  2168  		return m.CacheType
  2169  	}
  2170  	return ""
  2171  }
  2172  
  2173  func (m *CacheInfo) GetUsed() uint64 {
  2174  	if m != nil {
  2175  		return m.Used
  2176  	}
  2177  	return 0
  2178  }
  2179  
  2180  func (m *CacheInfo) GetFree() uint64 {
  2181  	if m != nil {
  2182  		return m.Free
  2183  	}
  2184  	return 0
  2185  }
  2186  
  2187  func (m *CacheInfo) GetHitRatio() float32 {
  2188  	if m != nil {
  2189  		return m.HitRatio
  2190  	}
  2191  	return 0
  2192  }
  2193  
  2194  type GetCacheInfoResponse struct {
  2195  	CacheInfoList []*CacheInfo `protobuf:"bytes,1,rep,name=CacheInfoList,proto3" json:"CacheInfoList,omitempty"`
  2196  }
  2197  
  2198  func (m *GetCacheInfoResponse) Reset()         { *m = GetCacheInfoResponse{} }
  2199  func (m *GetCacheInfoResponse) String() string { return proto.CompactTextString(m) }
  2200  func (*GetCacheInfoResponse) ProtoMessage()    {}
  2201  func (*GetCacheInfoResponse) Descriptor() ([]byte, []int) {
  2202  	return fileDescriptor_5c6ac9b241082464, []int{34}
  2203  }
  2204  func (m *GetCacheInfoResponse) XXX_Unmarshal(b []byte) error {
  2205  	return m.Unmarshal(b)
  2206  }
  2207  func (m *GetCacheInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2208  	if deterministic {
  2209  		return xxx_messageInfo_GetCacheInfoResponse.Marshal(b, m, deterministic)
  2210  	} else {
  2211  		b = b[:cap(b)]
  2212  		n, err := m.MarshalToSizedBuffer(b)
  2213  		if err != nil {
  2214  			return nil, err
  2215  		}
  2216  		return b[:n], nil
  2217  	}
  2218  }
  2219  func (m *GetCacheInfoResponse) XXX_Merge(src proto.Message) {
  2220  	xxx_messageInfo_GetCacheInfoResponse.Merge(m, src)
  2221  }
  2222  func (m *GetCacheInfoResponse) XXX_Size() int {
  2223  	return m.Size()
  2224  }
  2225  func (m *GetCacheInfoResponse) XXX_DiscardUnknown() {
  2226  	xxx_messageInfo_GetCacheInfoResponse.DiscardUnknown(m)
  2227  }
  2228  
  2229  var xxx_messageInfo_GetCacheInfoResponse proto.InternalMessageInfo
  2230  
  2231  func (m *GetCacheInfoResponse) GetCacheInfoList() []*CacheInfo {
  2232  	if m != nil {
  2233  		return m.CacheInfoList
  2234  	}
  2235  	return nil
  2236  }
  2237  
  2238  type RemoveRemoteLockTableRequest struct {
  2239  	GroupID uint32 `protobuf:"varint,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
  2240  	TableID uint64 `protobuf:"varint,2,opt,name=TableID,proto3" json:"TableID,omitempty"`
  2241  	Version uint64 `protobuf:"varint,3,opt,name=Version,proto3" json:"Version,omitempty"`
  2242  }
  2243  
  2244  func (m *RemoveRemoteLockTableRequest) Reset()         { *m = RemoveRemoteLockTableRequest{} }
  2245  func (m *RemoveRemoteLockTableRequest) String() string { return proto.CompactTextString(m) }
  2246  func (*RemoveRemoteLockTableRequest) ProtoMessage()    {}
  2247  func (*RemoveRemoteLockTableRequest) Descriptor() ([]byte, []int) {
  2248  	return fileDescriptor_5c6ac9b241082464, []int{35}
  2249  }
  2250  func (m *RemoveRemoteLockTableRequest) XXX_Unmarshal(b []byte) error {
  2251  	return m.Unmarshal(b)
  2252  }
  2253  func (m *RemoveRemoteLockTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2254  	if deterministic {
  2255  		return xxx_messageInfo_RemoveRemoteLockTableRequest.Marshal(b, m, deterministic)
  2256  	} else {
  2257  		b = b[:cap(b)]
  2258  		n, err := m.MarshalToSizedBuffer(b)
  2259  		if err != nil {
  2260  			return nil, err
  2261  		}
  2262  		return b[:n], nil
  2263  	}
  2264  }
  2265  func (m *RemoveRemoteLockTableRequest) XXX_Merge(src proto.Message) {
  2266  	xxx_messageInfo_RemoveRemoteLockTableRequest.Merge(m, src)
  2267  }
  2268  func (m *RemoveRemoteLockTableRequest) XXX_Size() int {
  2269  	return m.Size()
  2270  }
  2271  func (m *RemoveRemoteLockTableRequest) XXX_DiscardUnknown() {
  2272  	xxx_messageInfo_RemoveRemoteLockTableRequest.DiscardUnknown(m)
  2273  }
  2274  
  2275  var xxx_messageInfo_RemoveRemoteLockTableRequest proto.InternalMessageInfo
  2276  
  2277  func (m *RemoveRemoteLockTableRequest) GetGroupID() uint32 {
  2278  	if m != nil {
  2279  		return m.GroupID
  2280  	}
  2281  	return 0
  2282  }
  2283  
  2284  func (m *RemoveRemoteLockTableRequest) GetTableID() uint64 {
  2285  	if m != nil {
  2286  		return m.TableID
  2287  	}
  2288  	return 0
  2289  }
  2290  
  2291  func (m *RemoveRemoteLockTableRequest) GetVersion() uint64 {
  2292  	if m != nil {
  2293  		return m.Version
  2294  	}
  2295  	return 0
  2296  }
  2297  
  2298  type RemoveRemoteLockTableResponse struct {
  2299  	Count int32 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"`
  2300  }
  2301  
  2302  func (m *RemoveRemoteLockTableResponse) Reset()         { *m = RemoveRemoteLockTableResponse{} }
  2303  func (m *RemoveRemoteLockTableResponse) String() string { return proto.CompactTextString(m) }
  2304  func (*RemoveRemoteLockTableResponse) ProtoMessage()    {}
  2305  func (*RemoveRemoteLockTableResponse) Descriptor() ([]byte, []int) {
  2306  	return fileDescriptor_5c6ac9b241082464, []int{36}
  2307  }
  2308  func (m *RemoveRemoteLockTableResponse) XXX_Unmarshal(b []byte) error {
  2309  	return m.Unmarshal(b)
  2310  }
  2311  func (m *RemoveRemoteLockTableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2312  	if deterministic {
  2313  		return xxx_messageInfo_RemoveRemoteLockTableResponse.Marshal(b, m, deterministic)
  2314  	} else {
  2315  		b = b[:cap(b)]
  2316  		n, err := m.MarshalToSizedBuffer(b)
  2317  		if err != nil {
  2318  			return nil, err
  2319  		}
  2320  		return b[:n], nil
  2321  	}
  2322  }
  2323  func (m *RemoveRemoteLockTableResponse) XXX_Merge(src proto.Message) {
  2324  	xxx_messageInfo_RemoveRemoteLockTableResponse.Merge(m, src)
  2325  }
  2326  func (m *RemoveRemoteLockTableResponse) XXX_Size() int {
  2327  	return m.Size()
  2328  }
  2329  func (m *RemoveRemoteLockTableResponse) XXX_DiscardUnknown() {
  2330  	xxx_messageInfo_RemoveRemoteLockTableResponse.DiscardUnknown(m)
  2331  }
  2332  
  2333  var xxx_messageInfo_RemoveRemoteLockTableResponse proto.InternalMessageInfo
  2334  
  2335  func (m *RemoveRemoteLockTableResponse) GetCount() int32 {
  2336  	if m != nil {
  2337  		return m.Count
  2338  	}
  2339  	return 0
  2340  }
  2341  
  2342  type GetLatestBindRequest struct {
  2343  	GroupID uint32 `protobuf:"varint,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
  2344  	TableID uint64 `protobuf:"varint,2,opt,name=TableID,proto3" json:"TableID,omitempty"`
  2345  }
  2346  
  2347  func (m *GetLatestBindRequest) Reset()         { *m = GetLatestBindRequest{} }
  2348  func (m *GetLatestBindRequest) String() string { return proto.CompactTextString(m) }
  2349  func (*GetLatestBindRequest) ProtoMessage()    {}
  2350  func (*GetLatestBindRequest) Descriptor() ([]byte, []int) {
  2351  	return fileDescriptor_5c6ac9b241082464, []int{37}
  2352  }
  2353  func (m *GetLatestBindRequest) XXX_Unmarshal(b []byte) error {
  2354  	return m.Unmarshal(b)
  2355  }
  2356  func (m *GetLatestBindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2357  	if deterministic {
  2358  		return xxx_messageInfo_GetLatestBindRequest.Marshal(b, m, deterministic)
  2359  	} else {
  2360  		b = b[:cap(b)]
  2361  		n, err := m.MarshalToSizedBuffer(b)
  2362  		if err != nil {
  2363  			return nil, err
  2364  		}
  2365  		return b[:n], nil
  2366  	}
  2367  }
  2368  func (m *GetLatestBindRequest) XXX_Merge(src proto.Message) {
  2369  	xxx_messageInfo_GetLatestBindRequest.Merge(m, src)
  2370  }
  2371  func (m *GetLatestBindRequest) XXX_Size() int {
  2372  	return m.Size()
  2373  }
  2374  func (m *GetLatestBindRequest) XXX_DiscardUnknown() {
  2375  	xxx_messageInfo_GetLatestBindRequest.DiscardUnknown(m)
  2376  }
  2377  
  2378  var xxx_messageInfo_GetLatestBindRequest proto.InternalMessageInfo
  2379  
  2380  func (m *GetLatestBindRequest) GetGroupID() uint32 {
  2381  	if m != nil {
  2382  		return m.GroupID
  2383  	}
  2384  	return 0
  2385  }
  2386  
  2387  func (m *GetLatestBindRequest) GetTableID() uint64 {
  2388  	if m != nil {
  2389  		return m.TableID
  2390  	}
  2391  	return 0
  2392  }
  2393  
  2394  type GetLatestBindResponse struct {
  2395  	Bind string `protobuf:"bytes,1,opt,name=Bind,proto3" json:"Bind,omitempty"`
  2396  }
  2397  
  2398  func (m *GetLatestBindResponse) Reset()         { *m = GetLatestBindResponse{} }
  2399  func (m *GetLatestBindResponse) String() string { return proto.CompactTextString(m) }
  2400  func (*GetLatestBindResponse) ProtoMessage()    {}
  2401  func (*GetLatestBindResponse) Descriptor() ([]byte, []int) {
  2402  	return fileDescriptor_5c6ac9b241082464, []int{38}
  2403  }
  2404  func (m *GetLatestBindResponse) XXX_Unmarshal(b []byte) error {
  2405  	return m.Unmarshal(b)
  2406  }
  2407  func (m *GetLatestBindResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2408  	if deterministic {
  2409  		return xxx_messageInfo_GetLatestBindResponse.Marshal(b, m, deterministic)
  2410  	} else {
  2411  		b = b[:cap(b)]
  2412  		n, err := m.MarshalToSizedBuffer(b)
  2413  		if err != nil {
  2414  			return nil, err
  2415  		}
  2416  		return b[:n], nil
  2417  	}
  2418  }
  2419  func (m *GetLatestBindResponse) XXX_Merge(src proto.Message) {
  2420  	xxx_messageInfo_GetLatestBindResponse.Merge(m, src)
  2421  }
  2422  func (m *GetLatestBindResponse) XXX_Size() int {
  2423  	return m.Size()
  2424  }
  2425  func (m *GetLatestBindResponse) XXX_DiscardUnknown() {
  2426  	xxx_messageInfo_GetLatestBindResponse.DiscardUnknown(m)
  2427  }
  2428  
  2429  var xxx_messageInfo_GetLatestBindResponse proto.InternalMessageInfo
  2430  
  2431  func (m *GetLatestBindResponse) GetBind() string {
  2432  	if m != nil {
  2433  		return m.Bind
  2434  	}
  2435  	return ""
  2436  }
  2437  
  2438  // UnsubscribeTableRequest is the request that unsubscribe a table from
  2439  // logtail client.
  2440  type UnsubscribeTableRequest struct {
  2441  	// DatabaseID is the ID of the database.
  2442  	DatabaseID uint64 `protobuf:"varint,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
  2443  	// TableID is the ID of the table.
  2444  	TableID uint64 `protobuf:"varint,2,opt,name=TableID,proto3" json:"TableID,omitempty"`
  2445  }
  2446  
  2447  func (m *UnsubscribeTableRequest) Reset()         { *m = UnsubscribeTableRequest{} }
  2448  func (m *UnsubscribeTableRequest) String() string { return proto.CompactTextString(m) }
  2449  func (*UnsubscribeTableRequest) ProtoMessage()    {}
  2450  func (*UnsubscribeTableRequest) Descriptor() ([]byte, []int) {
  2451  	return fileDescriptor_5c6ac9b241082464, []int{39}
  2452  }
  2453  func (m *UnsubscribeTableRequest) XXX_Unmarshal(b []byte) error {
  2454  	return m.Unmarshal(b)
  2455  }
  2456  func (m *UnsubscribeTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2457  	if deterministic {
  2458  		return xxx_messageInfo_UnsubscribeTableRequest.Marshal(b, m, deterministic)
  2459  	} else {
  2460  		b = b[:cap(b)]
  2461  		n, err := m.MarshalToSizedBuffer(b)
  2462  		if err != nil {
  2463  			return nil, err
  2464  		}
  2465  		return b[:n], nil
  2466  	}
  2467  }
  2468  func (m *UnsubscribeTableRequest) XXX_Merge(src proto.Message) {
  2469  	xxx_messageInfo_UnsubscribeTableRequest.Merge(m, src)
  2470  }
  2471  func (m *UnsubscribeTableRequest) XXX_Size() int {
  2472  	return m.Size()
  2473  }
  2474  func (m *UnsubscribeTableRequest) XXX_DiscardUnknown() {
  2475  	xxx_messageInfo_UnsubscribeTableRequest.DiscardUnknown(m)
  2476  }
  2477  
  2478  var xxx_messageInfo_UnsubscribeTableRequest proto.InternalMessageInfo
  2479  
  2480  func (m *UnsubscribeTableRequest) GetDatabaseID() uint64 {
  2481  	if m != nil {
  2482  		return m.DatabaseID
  2483  	}
  2484  	return 0
  2485  }
  2486  
  2487  func (m *UnsubscribeTableRequest) GetTableID() uint64 {
  2488  	if m != nil {
  2489  		return m.TableID
  2490  	}
  2491  	return 0
  2492  }
  2493  
  2494  // UnsubscribeTableResponse is the response of unsubscribe table request.
  2495  type UnsubscribeTableResponse struct {
  2496  	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
  2497  }
  2498  
  2499  func (m *UnsubscribeTableResponse) Reset()         { *m = UnsubscribeTableResponse{} }
  2500  func (m *UnsubscribeTableResponse) String() string { return proto.CompactTextString(m) }
  2501  func (*UnsubscribeTableResponse) ProtoMessage()    {}
  2502  func (*UnsubscribeTableResponse) Descriptor() ([]byte, []int) {
  2503  	return fileDescriptor_5c6ac9b241082464, []int{40}
  2504  }
  2505  func (m *UnsubscribeTableResponse) XXX_Unmarshal(b []byte) error {
  2506  	return m.Unmarshal(b)
  2507  }
  2508  func (m *UnsubscribeTableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2509  	if deterministic {
  2510  		return xxx_messageInfo_UnsubscribeTableResponse.Marshal(b, m, deterministic)
  2511  	} else {
  2512  		b = b[:cap(b)]
  2513  		n, err := m.MarshalToSizedBuffer(b)
  2514  		if err != nil {
  2515  			return nil, err
  2516  		}
  2517  		return b[:n], nil
  2518  	}
  2519  }
  2520  func (m *UnsubscribeTableResponse) XXX_Merge(src proto.Message) {
  2521  	xxx_messageInfo_UnsubscribeTableResponse.Merge(m, src)
  2522  }
  2523  func (m *UnsubscribeTableResponse) XXX_Size() int {
  2524  	return m.Size()
  2525  }
  2526  func (m *UnsubscribeTableResponse) XXX_DiscardUnknown() {
  2527  	xxx_messageInfo_UnsubscribeTableResponse.DiscardUnknown(m)
  2528  }
  2529  
  2530  var xxx_messageInfo_UnsubscribeTableResponse proto.InternalMessageInfo
  2531  
  2532  func (m *UnsubscribeTableResponse) GetSuccess() bool {
  2533  	if m != nil {
  2534  		return m.Success
  2535  	}
  2536  	return false
  2537  }
  2538  
  2539  type CacheKey struct {
  2540  	Path   string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
  2541  	Offset int64  `protobuf:"varint,2,opt,name=Offset,proto3" json:"Offset,omitempty"`
  2542  	Sz     int64  `protobuf:"varint,3,opt,name=Sz,proto3" json:"Sz,omitempty"`
  2543  }
  2544  
  2545  func (m *CacheKey) Reset()         { *m = CacheKey{} }
  2546  func (m *CacheKey) String() string { return proto.CompactTextString(m) }
  2547  func (*CacheKey) ProtoMessage()    {}
  2548  func (*CacheKey) Descriptor() ([]byte, []int) {
  2549  	return fileDescriptor_5c6ac9b241082464, []int{41}
  2550  }
  2551  func (m *CacheKey) XXX_Unmarshal(b []byte) error {
  2552  	return m.Unmarshal(b)
  2553  }
  2554  func (m *CacheKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2555  	if deterministic {
  2556  		return xxx_messageInfo_CacheKey.Marshal(b, m, deterministic)
  2557  	} else {
  2558  		b = b[:cap(b)]
  2559  		n, err := m.MarshalToSizedBuffer(b)
  2560  		if err != nil {
  2561  			return nil, err
  2562  		}
  2563  		return b[:n], nil
  2564  	}
  2565  }
  2566  func (m *CacheKey) XXX_Merge(src proto.Message) {
  2567  	xxx_messageInfo_CacheKey.Merge(m, src)
  2568  }
  2569  func (m *CacheKey) XXX_Size() int {
  2570  	return m.Size()
  2571  }
  2572  func (m *CacheKey) XXX_DiscardUnknown() {
  2573  	xxx_messageInfo_CacheKey.DiscardUnknown(m)
  2574  }
  2575  
  2576  var xxx_messageInfo_CacheKey proto.InternalMessageInfo
  2577  
  2578  func (m *CacheKey) GetPath() string {
  2579  	if m != nil {
  2580  		return m.Path
  2581  	}
  2582  	return ""
  2583  }
  2584  
  2585  func (m *CacheKey) GetOffset() int64 {
  2586  	if m != nil {
  2587  		return m.Offset
  2588  	}
  2589  	return 0
  2590  }
  2591  
  2592  func (m *CacheKey) GetSz() int64 {
  2593  	if m != nil {
  2594  		return m.Sz
  2595  	}
  2596  	return 0
  2597  }
  2598  
  2599  type CacheKeys struct {
  2600  	Keys []CacheKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys"`
  2601  }
  2602  
  2603  func (m *CacheKeys) Reset()         { *m = CacheKeys{} }
  2604  func (m *CacheKeys) String() string { return proto.CompactTextString(m) }
  2605  func (*CacheKeys) ProtoMessage()    {}
  2606  func (*CacheKeys) Descriptor() ([]byte, []int) {
  2607  	return fileDescriptor_5c6ac9b241082464, []int{42}
  2608  }
  2609  func (m *CacheKeys) XXX_Unmarshal(b []byte) error {
  2610  	return m.Unmarshal(b)
  2611  }
  2612  func (m *CacheKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2613  	if deterministic {
  2614  		return xxx_messageInfo_CacheKeys.Marshal(b, m, deterministic)
  2615  	} else {
  2616  		b = b[:cap(b)]
  2617  		n, err := m.MarshalToSizedBuffer(b)
  2618  		if err != nil {
  2619  			return nil, err
  2620  		}
  2621  		return b[:n], nil
  2622  	}
  2623  }
  2624  func (m *CacheKeys) XXX_Merge(src proto.Message) {
  2625  	xxx_messageInfo_CacheKeys.Merge(m, src)
  2626  }
  2627  func (m *CacheKeys) XXX_Size() int {
  2628  	return m.Size()
  2629  }
  2630  func (m *CacheKeys) XXX_DiscardUnknown() {
  2631  	xxx_messageInfo_CacheKeys.DiscardUnknown(m)
  2632  }
  2633  
  2634  var xxx_messageInfo_CacheKeys proto.InternalMessageInfo
  2635  
  2636  func (m *CacheKeys) GetKeys() []CacheKey {
  2637  	if m != nil {
  2638  		return m.Keys
  2639  	}
  2640  	return nil
  2641  }
  2642  
  2643  type RequestCacheKey struct {
  2644  	Index    int32     `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
  2645  	CacheKey *CacheKey `protobuf:"bytes,2,opt,name=CacheKey,proto3" json:"CacheKey,omitempty"`
  2646  }
  2647  
  2648  func (m *RequestCacheKey) Reset()         { *m = RequestCacheKey{} }
  2649  func (m *RequestCacheKey) String() string { return proto.CompactTextString(m) }
  2650  func (*RequestCacheKey) ProtoMessage()    {}
  2651  func (*RequestCacheKey) Descriptor() ([]byte, []int) {
  2652  	return fileDescriptor_5c6ac9b241082464, []int{43}
  2653  }
  2654  func (m *RequestCacheKey) XXX_Unmarshal(b []byte) error {
  2655  	return m.Unmarshal(b)
  2656  }
  2657  func (m *RequestCacheKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2658  	if deterministic {
  2659  		return xxx_messageInfo_RequestCacheKey.Marshal(b, m, deterministic)
  2660  	} else {
  2661  		b = b[:cap(b)]
  2662  		n, err := m.MarshalToSizedBuffer(b)
  2663  		if err != nil {
  2664  			return nil, err
  2665  		}
  2666  		return b[:n], nil
  2667  	}
  2668  }
  2669  func (m *RequestCacheKey) XXX_Merge(src proto.Message) {
  2670  	xxx_messageInfo_RequestCacheKey.Merge(m, src)
  2671  }
  2672  func (m *RequestCacheKey) XXX_Size() int {
  2673  	return m.Size()
  2674  }
  2675  func (m *RequestCacheKey) XXX_DiscardUnknown() {
  2676  	xxx_messageInfo_RequestCacheKey.DiscardUnknown(m)
  2677  }
  2678  
  2679  var xxx_messageInfo_RequestCacheKey proto.InternalMessageInfo
  2680  
  2681  func (m *RequestCacheKey) GetIndex() int32 {
  2682  	if m != nil {
  2683  		return m.Index
  2684  	}
  2685  	return 0
  2686  }
  2687  
  2688  func (m *RequestCacheKey) GetCacheKey() *CacheKey {
  2689  	if m != nil {
  2690  		return m.CacheKey
  2691  	}
  2692  	return nil
  2693  }
  2694  
  2695  // GetCacheDataRequest is the request that try to get cache from remote node.
  2696  type GetCacheDataRequest struct {
  2697  	// RequestCacheKey is the requested cache key.
  2698  	RequestCacheKey []*RequestCacheKey `protobuf:"bytes,1,rep,name=RequestCacheKey,proto3" json:"RequestCacheKey,omitempty"`
  2699  }
  2700  
  2701  func (m *GetCacheDataRequest) Reset()         { *m = GetCacheDataRequest{} }
  2702  func (m *GetCacheDataRequest) String() string { return proto.CompactTextString(m) }
  2703  func (*GetCacheDataRequest) ProtoMessage()    {}
  2704  func (*GetCacheDataRequest) Descriptor() ([]byte, []int) {
  2705  	return fileDescriptor_5c6ac9b241082464, []int{44}
  2706  }
  2707  func (m *GetCacheDataRequest) XXX_Unmarshal(b []byte) error {
  2708  	return m.Unmarshal(b)
  2709  }
  2710  func (m *GetCacheDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2711  	if deterministic {
  2712  		return xxx_messageInfo_GetCacheDataRequest.Marshal(b, m, deterministic)
  2713  	} else {
  2714  		b = b[:cap(b)]
  2715  		n, err := m.MarshalToSizedBuffer(b)
  2716  		if err != nil {
  2717  			return nil, err
  2718  		}
  2719  		return b[:n], nil
  2720  	}
  2721  }
  2722  func (m *GetCacheDataRequest) XXX_Merge(src proto.Message) {
  2723  	xxx_messageInfo_GetCacheDataRequest.Merge(m, src)
  2724  }
  2725  func (m *GetCacheDataRequest) XXX_Size() int {
  2726  	return m.Size()
  2727  }
  2728  func (m *GetCacheDataRequest) XXX_DiscardUnknown() {
  2729  	xxx_messageInfo_GetCacheDataRequest.DiscardUnknown(m)
  2730  }
  2731  
  2732  var xxx_messageInfo_GetCacheDataRequest proto.InternalMessageInfo
  2733  
  2734  func (m *GetCacheDataRequest) GetRequestCacheKey() []*RequestCacheKey {
  2735  	if m != nil {
  2736  		return m.RequestCacheKey
  2737  	}
  2738  	return nil
  2739  }
  2740  
  2741  // ResponseCacheData is the response of cached data.
  2742  type ResponseCacheData struct {
  2743  	Index int32  `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
  2744  	Hit   bool   `protobuf:"varint,2,opt,name=Hit,proto3" json:"Hit,omitempty"`
  2745  	Data  []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
  2746  }
  2747  
  2748  func (m *ResponseCacheData) Reset()         { *m = ResponseCacheData{} }
  2749  func (m *ResponseCacheData) String() string { return proto.CompactTextString(m) }
  2750  func (*ResponseCacheData) ProtoMessage()    {}
  2751  func (*ResponseCacheData) Descriptor() ([]byte, []int) {
  2752  	return fileDescriptor_5c6ac9b241082464, []int{45}
  2753  }
  2754  func (m *ResponseCacheData) XXX_Unmarshal(b []byte) error {
  2755  	return m.Unmarshal(b)
  2756  }
  2757  func (m *ResponseCacheData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2758  	if deterministic {
  2759  		return xxx_messageInfo_ResponseCacheData.Marshal(b, m, deterministic)
  2760  	} else {
  2761  		b = b[:cap(b)]
  2762  		n, err := m.MarshalToSizedBuffer(b)
  2763  		if err != nil {
  2764  			return nil, err
  2765  		}
  2766  		return b[:n], nil
  2767  	}
  2768  }
  2769  func (m *ResponseCacheData) XXX_Merge(src proto.Message) {
  2770  	xxx_messageInfo_ResponseCacheData.Merge(m, src)
  2771  }
  2772  func (m *ResponseCacheData) XXX_Size() int {
  2773  	return m.Size()
  2774  }
  2775  func (m *ResponseCacheData) XXX_DiscardUnknown() {
  2776  	xxx_messageInfo_ResponseCacheData.DiscardUnknown(m)
  2777  }
  2778  
  2779  var xxx_messageInfo_ResponseCacheData proto.InternalMessageInfo
  2780  
  2781  func (m *ResponseCacheData) GetIndex() int32 {
  2782  	if m != nil {
  2783  		return m.Index
  2784  	}
  2785  	return 0
  2786  }
  2787  
  2788  func (m *ResponseCacheData) GetHit() bool {
  2789  	if m != nil {
  2790  		return m.Hit
  2791  	}
  2792  	return false
  2793  }
  2794  
  2795  func (m *ResponseCacheData) GetData() []byte {
  2796  	if m != nil {
  2797  		return m.Data
  2798  	}
  2799  	return nil
  2800  }
  2801  
  2802  // GetCacheDataResponse is the response of get cache data.
  2803  type GetCacheDataResponse struct {
  2804  	ResponseCacheData []*ResponseCacheData `protobuf:"bytes,1,rep,name=ResponseCacheData,proto3" json:"ResponseCacheData,omitempty"`
  2805  }
  2806  
  2807  func (m *GetCacheDataResponse) Reset()         { *m = GetCacheDataResponse{} }
  2808  func (m *GetCacheDataResponse) String() string { return proto.CompactTextString(m) }
  2809  func (*GetCacheDataResponse) ProtoMessage()    {}
  2810  func (*GetCacheDataResponse) Descriptor() ([]byte, []int) {
  2811  	return fileDescriptor_5c6ac9b241082464, []int{46}
  2812  }
  2813  func (m *GetCacheDataResponse) XXX_Unmarshal(b []byte) error {
  2814  	return m.Unmarshal(b)
  2815  }
  2816  func (m *GetCacheDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2817  	if deterministic {
  2818  		return xxx_messageInfo_GetCacheDataResponse.Marshal(b, m, deterministic)
  2819  	} else {
  2820  		b = b[:cap(b)]
  2821  		n, err := m.MarshalToSizedBuffer(b)
  2822  		if err != nil {
  2823  			return nil, err
  2824  		}
  2825  		return b[:n], nil
  2826  	}
  2827  }
  2828  func (m *GetCacheDataResponse) XXX_Merge(src proto.Message) {
  2829  	xxx_messageInfo_GetCacheDataResponse.Merge(m, src)
  2830  }
  2831  func (m *GetCacheDataResponse) XXX_Size() int {
  2832  	return m.Size()
  2833  }
  2834  func (m *GetCacheDataResponse) XXX_DiscardUnknown() {
  2835  	xxx_messageInfo_GetCacheDataResponse.DiscardUnknown(m)
  2836  }
  2837  
  2838  var xxx_messageInfo_GetCacheDataResponse proto.InternalMessageInfo
  2839  
  2840  func (m *GetCacheDataResponse) GetResponseCacheData() []*ResponseCacheData {
  2841  	if m != nil {
  2842  		return m.ResponseCacheData
  2843  	}
  2844  	return nil
  2845  }
  2846  
  2847  type GetStatsInfoRequest struct {
  2848  	StatsInfoKey *statsinfo.StatsInfoKey `protobuf:"bytes,1,opt,name=StatsInfoKey,proto3" json:"StatsInfoKey,omitempty"`
  2849  }
  2850  
  2851  func (m *GetStatsInfoRequest) Reset()         { *m = GetStatsInfoRequest{} }
  2852  func (m *GetStatsInfoRequest) String() string { return proto.CompactTextString(m) }
  2853  func (*GetStatsInfoRequest) ProtoMessage()    {}
  2854  func (*GetStatsInfoRequest) Descriptor() ([]byte, []int) {
  2855  	return fileDescriptor_5c6ac9b241082464, []int{47}
  2856  }
  2857  func (m *GetStatsInfoRequest) XXX_Unmarshal(b []byte) error {
  2858  	return m.Unmarshal(b)
  2859  }
  2860  func (m *GetStatsInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2861  	if deterministic {
  2862  		return xxx_messageInfo_GetStatsInfoRequest.Marshal(b, m, deterministic)
  2863  	} else {
  2864  		b = b[:cap(b)]
  2865  		n, err := m.MarshalToSizedBuffer(b)
  2866  		if err != nil {
  2867  			return nil, err
  2868  		}
  2869  		return b[:n], nil
  2870  	}
  2871  }
  2872  func (m *GetStatsInfoRequest) XXX_Merge(src proto.Message) {
  2873  	xxx_messageInfo_GetStatsInfoRequest.Merge(m, src)
  2874  }
  2875  func (m *GetStatsInfoRequest) XXX_Size() int {
  2876  	return m.Size()
  2877  }
  2878  func (m *GetStatsInfoRequest) XXX_DiscardUnknown() {
  2879  	xxx_messageInfo_GetStatsInfoRequest.DiscardUnknown(m)
  2880  }
  2881  
  2882  var xxx_messageInfo_GetStatsInfoRequest proto.InternalMessageInfo
  2883  
  2884  func (m *GetStatsInfoRequest) GetStatsInfoKey() *statsinfo.StatsInfoKey {
  2885  	if m != nil {
  2886  		return m.StatsInfoKey
  2887  	}
  2888  	return nil
  2889  }
  2890  
  2891  type GetStatsInfoResponse struct {
  2892  	StatsInfo *statsinfo.StatsInfo `protobuf:"bytes,1,opt,name=StatsInfo,proto3" json:"StatsInfo,omitempty"`
  2893  }
  2894  
  2895  func (m *GetStatsInfoResponse) Reset()         { *m = GetStatsInfoResponse{} }
  2896  func (m *GetStatsInfoResponse) String() string { return proto.CompactTextString(m) }
  2897  func (*GetStatsInfoResponse) ProtoMessage()    {}
  2898  func (*GetStatsInfoResponse) Descriptor() ([]byte, []int) {
  2899  	return fileDescriptor_5c6ac9b241082464, []int{48}
  2900  }
  2901  func (m *GetStatsInfoResponse) XXX_Unmarshal(b []byte) error {
  2902  	return m.Unmarshal(b)
  2903  }
  2904  func (m *GetStatsInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2905  	if deterministic {
  2906  		return xxx_messageInfo_GetStatsInfoResponse.Marshal(b, m, deterministic)
  2907  	} else {
  2908  		b = b[:cap(b)]
  2909  		n, err := m.MarshalToSizedBuffer(b)
  2910  		if err != nil {
  2911  			return nil, err
  2912  		}
  2913  		return b[:n], nil
  2914  	}
  2915  }
  2916  func (m *GetStatsInfoResponse) XXX_Merge(src proto.Message) {
  2917  	xxx_messageInfo_GetStatsInfoResponse.Merge(m, src)
  2918  }
  2919  func (m *GetStatsInfoResponse) XXX_Size() int {
  2920  	return m.Size()
  2921  }
  2922  func (m *GetStatsInfoResponse) XXX_DiscardUnknown() {
  2923  	xxx_messageInfo_GetStatsInfoResponse.DiscardUnknown(m)
  2924  }
  2925  
  2926  var xxx_messageInfo_GetStatsInfoResponse proto.InternalMessageInfo
  2927  
  2928  func (m *GetStatsInfoResponse) GetStatsInfo() *statsinfo.StatsInfo {
  2929  	if m != nil {
  2930  		return m.StatsInfo
  2931  	}
  2932  	return nil
  2933  }
  2934  
  2935  type PrepareStmt struct {
  2936  	Name       string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
  2937  	SQL        string `protobuf:"bytes,2,opt,name=SQL,proto3" json:"SQL,omitempty"`
  2938  	ParamTypes []byte `protobuf:"bytes,3,opt,name=ParamTypes,proto3" json:"ParamTypes,omitempty"`
  2939  }
  2940  
  2941  func (m *PrepareStmt) Reset()         { *m = PrepareStmt{} }
  2942  func (m *PrepareStmt) String() string { return proto.CompactTextString(m) }
  2943  func (*PrepareStmt) ProtoMessage()    {}
  2944  func (*PrepareStmt) Descriptor() ([]byte, []int) {
  2945  	return fileDescriptor_5c6ac9b241082464, []int{49}
  2946  }
  2947  func (m *PrepareStmt) XXX_Unmarshal(b []byte) error {
  2948  	return m.Unmarshal(b)
  2949  }
  2950  func (m *PrepareStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2951  	if deterministic {
  2952  		return xxx_messageInfo_PrepareStmt.Marshal(b, m, deterministic)
  2953  	} else {
  2954  		b = b[:cap(b)]
  2955  		n, err := m.MarshalToSizedBuffer(b)
  2956  		if err != nil {
  2957  			return nil, err
  2958  		}
  2959  		return b[:n], nil
  2960  	}
  2961  }
  2962  func (m *PrepareStmt) XXX_Merge(src proto.Message) {
  2963  	xxx_messageInfo_PrepareStmt.Merge(m, src)
  2964  }
  2965  func (m *PrepareStmt) XXX_Size() int {
  2966  	return m.Size()
  2967  }
  2968  func (m *PrepareStmt) XXX_DiscardUnknown() {
  2969  	xxx_messageInfo_PrepareStmt.DiscardUnknown(m)
  2970  }
  2971  
  2972  var xxx_messageInfo_PrepareStmt proto.InternalMessageInfo
  2973  
  2974  func (m *PrepareStmt) GetName() string {
  2975  	if m != nil {
  2976  		return m.Name
  2977  	}
  2978  	return ""
  2979  }
  2980  
  2981  func (m *PrepareStmt) GetSQL() string {
  2982  	if m != nil {
  2983  		return m.SQL
  2984  	}
  2985  	return ""
  2986  }
  2987  
  2988  func (m *PrepareStmt) GetParamTypes() []byte {
  2989  	if m != nil {
  2990  		return m.ParamTypes
  2991  	}
  2992  	return nil
  2993  }
  2994  
  2995  type MigrateConnFromRequest struct {
  2996  	ConnID uint32 `protobuf:"varint,1,opt,name=ConnID,proto3" json:"ConnID,omitempty"`
  2997  }
  2998  
  2999  func (m *MigrateConnFromRequest) Reset()         { *m = MigrateConnFromRequest{} }
  3000  func (m *MigrateConnFromRequest) String() string { return proto.CompactTextString(m) }
  3001  func (*MigrateConnFromRequest) ProtoMessage()    {}
  3002  func (*MigrateConnFromRequest) Descriptor() ([]byte, []int) {
  3003  	return fileDescriptor_5c6ac9b241082464, []int{50}
  3004  }
  3005  func (m *MigrateConnFromRequest) XXX_Unmarshal(b []byte) error {
  3006  	return m.Unmarshal(b)
  3007  }
  3008  func (m *MigrateConnFromRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3009  	if deterministic {
  3010  		return xxx_messageInfo_MigrateConnFromRequest.Marshal(b, m, deterministic)
  3011  	} else {
  3012  		b = b[:cap(b)]
  3013  		n, err := m.MarshalToSizedBuffer(b)
  3014  		if err != nil {
  3015  			return nil, err
  3016  		}
  3017  		return b[:n], nil
  3018  	}
  3019  }
  3020  func (m *MigrateConnFromRequest) XXX_Merge(src proto.Message) {
  3021  	xxx_messageInfo_MigrateConnFromRequest.Merge(m, src)
  3022  }
  3023  func (m *MigrateConnFromRequest) XXX_Size() int {
  3024  	return m.Size()
  3025  }
  3026  func (m *MigrateConnFromRequest) XXX_DiscardUnknown() {
  3027  	xxx_messageInfo_MigrateConnFromRequest.DiscardUnknown(m)
  3028  }
  3029  
  3030  var xxx_messageInfo_MigrateConnFromRequest proto.InternalMessageInfo
  3031  
  3032  func (m *MigrateConnFromRequest) GetConnID() uint32 {
  3033  	if m != nil {
  3034  		return m.ConnID
  3035  	}
  3036  	return 0
  3037  }
  3038  
  3039  type MigrateConnFromResponse struct {
  3040  	DB           string         `protobuf:"bytes,1,opt,name=DB,proto3" json:"DB,omitempty"`
  3041  	PrepareStmts []*PrepareStmt `protobuf:"bytes,2,rep,name=PrepareStmts,proto3" json:"PrepareStmts,omitempty"`
  3042  }
  3043  
  3044  func (m *MigrateConnFromResponse) Reset()         { *m = MigrateConnFromResponse{} }
  3045  func (m *MigrateConnFromResponse) String() string { return proto.CompactTextString(m) }
  3046  func (*MigrateConnFromResponse) ProtoMessage()    {}
  3047  func (*MigrateConnFromResponse) Descriptor() ([]byte, []int) {
  3048  	return fileDescriptor_5c6ac9b241082464, []int{51}
  3049  }
  3050  func (m *MigrateConnFromResponse) XXX_Unmarshal(b []byte) error {
  3051  	return m.Unmarshal(b)
  3052  }
  3053  func (m *MigrateConnFromResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3054  	if deterministic {
  3055  		return xxx_messageInfo_MigrateConnFromResponse.Marshal(b, m, deterministic)
  3056  	} else {
  3057  		b = b[:cap(b)]
  3058  		n, err := m.MarshalToSizedBuffer(b)
  3059  		if err != nil {
  3060  			return nil, err
  3061  		}
  3062  		return b[:n], nil
  3063  	}
  3064  }
  3065  func (m *MigrateConnFromResponse) XXX_Merge(src proto.Message) {
  3066  	xxx_messageInfo_MigrateConnFromResponse.Merge(m, src)
  3067  }
  3068  func (m *MigrateConnFromResponse) XXX_Size() int {
  3069  	return m.Size()
  3070  }
  3071  func (m *MigrateConnFromResponse) XXX_DiscardUnknown() {
  3072  	xxx_messageInfo_MigrateConnFromResponse.DiscardUnknown(m)
  3073  }
  3074  
  3075  var xxx_messageInfo_MigrateConnFromResponse proto.InternalMessageInfo
  3076  
  3077  func (m *MigrateConnFromResponse) GetDB() string {
  3078  	if m != nil {
  3079  		return m.DB
  3080  	}
  3081  	return ""
  3082  }
  3083  
  3084  func (m *MigrateConnFromResponse) GetPrepareStmts() []*PrepareStmt {
  3085  	if m != nil {
  3086  		return m.PrepareStmts
  3087  	}
  3088  	return nil
  3089  }
  3090  
  3091  type MigrateConnToRequest struct {
  3092  	ConnID       uint32         `protobuf:"varint,1,opt,name=ConnID,proto3" json:"ConnID,omitempty"`
  3093  	DB           string         `protobuf:"bytes,2,opt,name=DB,proto3" json:"DB,omitempty"`
  3094  	SetVarStmts  []string       `protobuf:"bytes,3,rep,name=SetVarStmts,proto3" json:"SetVarStmts,omitempty"`
  3095  	PrepareStmts []*PrepareStmt `protobuf:"bytes,4,rep,name=PrepareStmts,proto3" json:"PrepareStmts,omitempty"`
  3096  }
  3097  
  3098  func (m *MigrateConnToRequest) Reset()         { *m = MigrateConnToRequest{} }
  3099  func (m *MigrateConnToRequest) String() string { return proto.CompactTextString(m) }
  3100  func (*MigrateConnToRequest) ProtoMessage()    {}
  3101  func (*MigrateConnToRequest) Descriptor() ([]byte, []int) {
  3102  	return fileDescriptor_5c6ac9b241082464, []int{52}
  3103  }
  3104  func (m *MigrateConnToRequest) XXX_Unmarshal(b []byte) error {
  3105  	return m.Unmarshal(b)
  3106  }
  3107  func (m *MigrateConnToRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3108  	if deterministic {
  3109  		return xxx_messageInfo_MigrateConnToRequest.Marshal(b, m, deterministic)
  3110  	} else {
  3111  		b = b[:cap(b)]
  3112  		n, err := m.MarshalToSizedBuffer(b)
  3113  		if err != nil {
  3114  			return nil, err
  3115  		}
  3116  		return b[:n], nil
  3117  	}
  3118  }
  3119  func (m *MigrateConnToRequest) XXX_Merge(src proto.Message) {
  3120  	xxx_messageInfo_MigrateConnToRequest.Merge(m, src)
  3121  }
  3122  func (m *MigrateConnToRequest) XXX_Size() int {
  3123  	return m.Size()
  3124  }
  3125  func (m *MigrateConnToRequest) XXX_DiscardUnknown() {
  3126  	xxx_messageInfo_MigrateConnToRequest.DiscardUnknown(m)
  3127  }
  3128  
  3129  var xxx_messageInfo_MigrateConnToRequest proto.InternalMessageInfo
  3130  
  3131  func (m *MigrateConnToRequest) GetConnID() uint32 {
  3132  	if m != nil {
  3133  		return m.ConnID
  3134  	}
  3135  	return 0
  3136  }
  3137  
  3138  func (m *MigrateConnToRequest) GetDB() string {
  3139  	if m != nil {
  3140  		return m.DB
  3141  	}
  3142  	return ""
  3143  }
  3144  
  3145  func (m *MigrateConnToRequest) GetSetVarStmts() []string {
  3146  	if m != nil {
  3147  		return m.SetVarStmts
  3148  	}
  3149  	return nil
  3150  }
  3151  
  3152  func (m *MigrateConnToRequest) GetPrepareStmts() []*PrepareStmt {
  3153  	if m != nil {
  3154  		return m.PrepareStmts
  3155  	}
  3156  	return nil
  3157  }
  3158  
  3159  type MigrateConnToResponse struct {
  3160  	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
  3161  }
  3162  
  3163  func (m *MigrateConnToResponse) Reset()         { *m = MigrateConnToResponse{} }
  3164  func (m *MigrateConnToResponse) String() string { return proto.CompactTextString(m) }
  3165  func (*MigrateConnToResponse) ProtoMessage()    {}
  3166  func (*MigrateConnToResponse) Descriptor() ([]byte, []int) {
  3167  	return fileDescriptor_5c6ac9b241082464, []int{53}
  3168  }
  3169  func (m *MigrateConnToResponse) XXX_Unmarshal(b []byte) error {
  3170  	return m.Unmarshal(b)
  3171  }
  3172  func (m *MigrateConnToResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3173  	if deterministic {
  3174  		return xxx_messageInfo_MigrateConnToResponse.Marshal(b, m, deterministic)
  3175  	} else {
  3176  		b = b[:cap(b)]
  3177  		n, err := m.MarshalToSizedBuffer(b)
  3178  		if err != nil {
  3179  			return nil, err
  3180  		}
  3181  		return b[:n], nil
  3182  	}
  3183  }
  3184  func (m *MigrateConnToResponse) XXX_Merge(src proto.Message) {
  3185  	xxx_messageInfo_MigrateConnToResponse.Merge(m, src)
  3186  }
  3187  func (m *MigrateConnToResponse) XXX_Size() int {
  3188  	return m.Size()
  3189  }
  3190  func (m *MigrateConnToResponse) XXX_DiscardUnknown() {
  3191  	xxx_messageInfo_MigrateConnToResponse.DiscardUnknown(m)
  3192  }
  3193  
  3194  var xxx_messageInfo_MigrateConnToResponse proto.InternalMessageInfo
  3195  
  3196  func (m *MigrateConnToResponse) GetSuccess() bool {
  3197  	if m != nil {
  3198  		return m.Success
  3199  	}
  3200  	return false
  3201  }
  3202  
  3203  func init() {
  3204  	proto.RegisterEnum("query.CmdMethod", CmdMethod_name, CmdMethod_value)
  3205  	proto.RegisterType((*QueryRequest)(nil), "query.QueryRequest")
  3206  	proto.RegisterType((*ShowProcessListRequest)(nil), "query.ShowProcessListRequest")
  3207  	proto.RegisterType((*SyncCommitRequest)(nil), "query.SyncCommitRequest")
  3208  	proto.RegisterType((*SyncCommitResponse)(nil), "query.SyncCommitResponse")
  3209  	proto.RegisterType((*GetCommitRequest)(nil), "query.GetCommitRequest")
  3210  	proto.RegisterType((*GetCommitResponse)(nil), "query.GetCommitResponse")
  3211  	proto.RegisterType((*CoreDumpConfigRequest)(nil), "query.CoreDumpConfigRequest")
  3212  	proto.RegisterType((*CoreDumpConfigResponse)(nil), "query.CoreDumpConfigResponse")
  3213  	proto.RegisterType((*GetProtocolVersionRequest)(nil), "query.GetProtocolVersionRequest")
  3214  	proto.RegisterType((*GetProtocolVersionResponse)(nil), "query.GetProtocolVersionResponse")
  3215  	proto.RegisterType((*SetProtocolVersionRequest)(nil), "query.SetProtocolVersionRequest")
  3216  	proto.RegisterType((*SetProtocolVersionResponse)(nil), "query.SetProtocolVersionResponse")
  3217  	proto.RegisterType((*RunTaskRequest)(nil), "query.RunTaskRequest")
  3218  	proto.RegisterType((*RunTaskResponse)(nil), "query.RunTaskResponse")
  3219  	proto.RegisterType((*GetPipelineInfoRequest)(nil), "query.GetPipelineInfoRequest")
  3220  	proto.RegisterType((*GetPipelineInfoResponse)(nil), "query.GetPipelineInfoResponse")
  3221  	proto.RegisterType((*Request)(nil), "query.Request")
  3222  	proto.RegisterType((*ShowProcessListResponse)(nil), "query.ShowProcessListResponse")
  3223  	proto.RegisterType((*Response)(nil), "query.Response")
  3224  	proto.RegisterType((*AlterAccountRequest)(nil), "query.AlterAccountRequest")
  3225  	proto.RegisterType((*AlterAccountResponse)(nil), "query.AlterAccountResponse")
  3226  	proto.RegisterType((*KillConnRequest)(nil), "query.KillConnRequest")
  3227  	proto.RegisterType((*KillConnResponse)(nil), "query.KillConnResponse")
  3228  	proto.RegisterType((*TraceSpanRequest)(nil), "query.TraceSpanRequest")
  3229  	proto.RegisterType((*TraceSpanResponse)(nil), "query.TraceSpanResponse")
  3230  	proto.RegisterType((*GetLockInfoRequest)(nil), "query.GetLockInfoRequest")
  3231  	proto.RegisterType((*LockInfo)(nil), "query.LockInfo")
  3232  	proto.RegisterType((*GetLockInfoResponse)(nil), "query.GetLockInfoResponse")
  3233  	proto.RegisterType((*GetTxnInfoRequest)(nil), "query.GetTxnInfoRequest")
  3234  	proto.RegisterType((*TxnLockInfo)(nil), "query.TxnLockInfo")
  3235  	proto.RegisterType((*TxnInfo)(nil), "query.TxnInfo")
  3236  	proto.RegisterType((*GetTxnInfoResponse)(nil), "query.GetTxnInfoResponse")
  3237  	proto.RegisterType((*GetCacheInfoRequest)(nil), "query.GetCacheInfoRequest")
  3238  	proto.RegisterType((*CacheInfo)(nil), "query.CacheInfo")
  3239  	proto.RegisterType((*GetCacheInfoResponse)(nil), "query.GetCacheInfoResponse")
  3240  	proto.RegisterType((*RemoveRemoteLockTableRequest)(nil), "query.RemoveRemoteLockTableRequest")
  3241  	proto.RegisterType((*RemoveRemoteLockTableResponse)(nil), "query.RemoveRemoteLockTableResponse")
  3242  	proto.RegisterType((*GetLatestBindRequest)(nil), "query.GetLatestBindRequest")
  3243  	proto.RegisterType((*GetLatestBindResponse)(nil), "query.GetLatestBindResponse")
  3244  	proto.RegisterType((*UnsubscribeTableRequest)(nil), "query.UnsubscribeTableRequest")
  3245  	proto.RegisterType((*UnsubscribeTableResponse)(nil), "query.UnsubscribeTableResponse")
  3246  	proto.RegisterType((*CacheKey)(nil), "query.CacheKey")
  3247  	proto.RegisterType((*CacheKeys)(nil), "query.CacheKeys")
  3248  	proto.RegisterType((*RequestCacheKey)(nil), "query.RequestCacheKey")
  3249  	proto.RegisterType((*GetCacheDataRequest)(nil), "query.GetCacheDataRequest")
  3250  	proto.RegisterType((*ResponseCacheData)(nil), "query.ResponseCacheData")
  3251  	proto.RegisterType((*GetCacheDataResponse)(nil), "query.GetCacheDataResponse")
  3252  	proto.RegisterType((*GetStatsInfoRequest)(nil), "query.GetStatsInfoRequest")
  3253  	proto.RegisterType((*GetStatsInfoResponse)(nil), "query.GetStatsInfoResponse")
  3254  	proto.RegisterType((*PrepareStmt)(nil), "query.PrepareStmt")
  3255  	proto.RegisterType((*MigrateConnFromRequest)(nil), "query.MigrateConnFromRequest")
  3256  	proto.RegisterType((*MigrateConnFromResponse)(nil), "query.MigrateConnFromResponse")
  3257  	proto.RegisterType((*MigrateConnToRequest)(nil), "query.MigrateConnToRequest")
  3258  	proto.RegisterType((*MigrateConnToResponse)(nil), "query.MigrateConnToResponse")
  3259  }
  3260  
  3261  func init() { proto.RegisterFile("query.proto", fileDescriptor_5c6ac9b241082464) }
  3262  
  3263  var fileDescriptor_5c6ac9b241082464 = []byte{
  3264  	// 2368 bytes of a gzipped FileDescriptorProto
  3265  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0xcd, 0x72, 0xdb, 0x46,
  3266  	0xf2, 0x17, 0x45, 0x52, 0x22, 0x9b, 0x14, 0x05, 0x8d, 0x28, 0x09, 0x56, 0x6c, 0x59, 0x99, 0x7f,
  3267  	0xaa, 0xe2, 0xc4, 0xff, 0xa5, 0xbc, 0xca, 0x5a, 0xfb, 0x75, 0xb1, 0x45, 0xc5, 0xb6, 0xe2, 0x2f,
  3268  	0x79, 0x48, 0xc7, 0x8e, 0x0f, 0xa9, 0x82, 0xc8, 0x11, 0x85, 0x12, 0x09, 0x30, 0x00, 0xb8, 0x91,
  3269  	0xf2, 0x14, 0x39, 0xee, 0x75, 0xf7, 0x01, 0xf6, 0x9e, 0x37, 0xf0, 0x31, 0xc7, 0x9c, 0xb2, 0x5b,
  3270  	0xf6, 0x8b, 0x6c, 0xcd, 0xa0, 0x07, 0x9f, 0x03, 0x56, 0x36, 0x95, 0x0b, 0x6b, 0xa6, 0xa7, 0xfb,
  3271  	0x87, 0x46, 0x63, 0xa6, 0x7f, 0xdd, 0x43, 0x68, 0x7c, 0x33, 0xe3, 0xde, 0x55, 0x67, 0xea, 0xb9,
  3272  	0x81, 0x4b, 0xaa, 0x72, 0xb2, 0xdd, 0xf4, 0x03, 0x2b, 0x98, 0xf9, 0xa1, 0x70, 0x1b, 0xc6, 0xee,
  3273  	0xe0, 0x02, 0xc7, 0xf5, 0xe0, 0xd2, 0xc1, 0xe1, 0x6a, 0x60, 0x4f, 0xb8, 0x1f, 0x58, 0x93, 0xa9,
  3274  	0x12, 0x08, 0x2b, 0xdf, 0x76, 0xce, 0x5c, 0x14, 0xfc, 0x6e, 0x64, 0x07, 0xe7, 0xb3, 0xd3, 0xce,
  3275  	0xc0, 0x9d, 0xec, 0x8d, 0xdc, 0x91, 0xbb, 0x27, 0xc5, 0xa7, 0xb3, 0x33, 0x39, 0x93, 0x13, 0x39,
  3276  	0x42, 0xf5, 0x9b, 0x23, 0xd7, 0x1d, 0x8d, 0x79, 0xac, 0x95, 0x79, 0x00, 0xfd, 0x08, 0x9a, 0x2f,
  3277  	0x84, 0x7f, 0x8c, 0x7f, 0x33, 0xe3, 0x7e, 0x40, 0xda, 0x50, 0x95, 0x73, 0xb3, 0xb4, 0x5b, 0xba,
  3278  	0x55, 0x67, 0xe1, 0x84, 0x3e, 0x83, 0xcd, 0xde, 0xb9, 0xfb, 0xed, 0x89, 0xe7, 0x0e, 0xb8, 0xef,
  3279  	0x3f, 0xb1, 0xfd, 0x40, 0xe9, 0x6f, 0xc2, 0x52, 0x9f, 0x3b, 0x96, 0x13, 0xa0, 0x01, 0xce, 0xc8,
  3280  	0x75, 0xa8, 0xf7, 0xae, 0x7c, 0x5c, 0x5a, 0xdc, 0x2d, 0xdd, 0xaa, 0xb1, 0x58, 0x40, 0x5f, 0xc1,
  3281  	0x5a, 0xef, 0xca, 0x19, 0x74, 0xdd, 0xc9, 0xc4, 0x8e, 0xa0, 0x0e, 0xa1, 0xf5, 0xc4, 0x0a, 0xb8,
  3282  	0x1f, 0x84, 0xe2, 0x7e, 0x4f, 0x42, 0x36, 0xf6, 0xdb, 0x9d, 0xd8, 0xe9, 0xbe, 0x1a, 0x1d, 0x56,
  3283  	0xde, 0xfe, 0x7c, 0x73, 0x81, 0x65, 0x2c, 0xe8, 0x1b, 0x20, 0x49, 0x60, 0x7f, 0xea, 0x3a, 0x3e,
  3284  	0x27, 0x47, 0xb0, 0xda, 0x9d, 0x79, 0x1e, 0x77, 0xfe, 0x17, 0xe8, 0xac, 0x09, 0x25, 0x60, 0x3c,
  3285  	0xe4, 0x41, 0xca, 0x67, 0xfa, 0x15, 0xac, 0x25, 0x64, 0xbf, 0xe9, 0xe3, 0xf6, 0x60, 0xa3, 0xeb,
  3286  	0x7a, 0xfc, 0x68, 0x36, 0x99, 0x76, 0x5d, 0xe7, 0xcc, 0x1e, 0x25, 0x42, 0x7e, 0x7f, 0x10, 0xd8,
  3287  	0xae, 0xa3, 0x42, 0x1e, 0xce, 0xa8, 0x09, 0x9b, 0x59, 0x83, 0xd0, 0x21, 0xfa, 0x01, 0x5c, 0x7b,
  3288  	0xc8, 0x83, 0x13, 0xf1, 0xc1, 0x07, 0xee, 0xf8, 0x4b, 0xee, 0xf9, 0xb6, 0xeb, 0xa8, 0x57, 0x38,
  3289  	0x80, 0x6d, 0xdd, 0x22, 0xbe, 0x8b, 0x09, 0xcb, 0x28, 0x92, 0x4f, 0x2b, 0x33, 0x35, 0xa5, 0x77,
  3290  	0xe1, 0x5a, 0xaf, 0x08, 0x74, 0x8e, 0xd9, 0x01, 0x6c, 0xf7, 0x7e, 0xcd, 0xe3, 0xfe, 0x1f, 0x5a,
  3291  	0x6c, 0xe6, 0xf4, 0x2d, 0xff, 0x42, 0x3d, 0x63, 0x1b, 0x6a, 0x62, 0xda, 0x75, 0x87, 0x5c, 0x2a,
  3292  	0x57, 0x59, 0x34, 0xa7, 0x9f, 0xc0, 0x6a, 0xa4, 0x8d, 0xd0, 0x9b, 0xb0, 0xc4, 0xb8, 0x3f, 0x1b,
  3293  	0x47, 0x3b, 0x35, 0x9c, 0x89, 0xb0, 0x89, 0xf7, 0xb7, 0xa7, 0x7c, 0x6c, 0x3b, 0xfc, 0xd8, 0x39,
  3294  	0x73, 0x55, 0x64, 0xf6, 0x60, 0x2b, 0xb7, 0x82, 0x60, 0x6d, 0xa8, 0x76, 0xdd, 0x19, 0xee, 0xfa,
  3295  	0x32, 0x0b, 0x27, 0xf4, 0x5f, 0x2b, 0xb0, 0xac, 0xbc, 0xbb, 0x0e, 0x75, 0x1c, 0x1e, 0x1f, 0x49,
  3296  	0xad, 0x0a, 0x8b, 0x05, 0xa4, 0x03, 0xf5, 0xee, 0x64, 0xf8, 0x94, 0x07, 0xe7, 0xee, 0x50, 0x1e,
  3297  	0x8f, 0xd6, 0xbe, 0xd1, 0x09, 0xb3, 0x46, 0x24, 0x67, 0xb1, 0x0a, 0xf9, 0x63, 0xfa, 0x98, 0x9a,
  3298  	0x65, 0xb9, 0x9f, 0xd6, 0xd1, 0x24, 0xb9, 0xc4, 0xd2, 0xe7, 0xf9, 0x65, 0xd1, 0xc9, 0x35, 0x2b,
  3299  	0x12, 0xe2, 0x06, 0x42, 0xe8, 0x95, 0x58, 0xd1, 0xb1, 0x7f, 0x02, 0xeb, 0xf7, 0xc7, 0x01, 0xf7,
  3300  	0xee, 0x0f, 0x06, 0xe2, 0xcd, 0x15, 0x66, 0x55, 0x62, 0x6e, 0x23, 0xa6, 0x46, 0x83, 0xe9, 0xcc,
  3301  	0xc8, 0x3d, 0x58, 0x7d, 0x6c, 0x8f, 0xc7, 0x5d, 0xd7, 0x51, 0x1b, 0xc8, 0x5c, 0x92, 0x48, 0x9b,
  3302  	0x88, 0x94, 0x59, 0x65, 0x59, 0x75, 0xd2, 0x05, 0xa3, 0xef, 0x59, 0x03, 0xde, 0x9b, 0x5a, 0x11,
  3303  	0xc4, 0xb2, 0x84, 0xd8, 0x42, 0x88, 0xec, 0x32, 0xcb, 0x19, 0x90, 0x63, 0x20, 0x0f, 0x79, 0xf0,
  3304  	0xc4, 0x1d, 0x5c, 0x24, 0x76, 0x81, 0x59, 0x93, 0x30, 0xd7, 0x10, 0x26, 0xaf, 0xc0, 0x34, 0x46,
  3305  	0xe4, 0x81, 0xcc, 0x0b, 0xfd, 0x4b, 0x27, 0x89, 0x54, 0x97, 0x48, 0x66, 0x8c, 0x94, 0x5e, 0x67,
  3306  	0x79, 0x13, 0x11, 0x67, 0x91, 0x5f, 0xac, 0xc1, 0x79, 0x72, 0x67, 0x9a, 0x90, 0x8a, 0xb3, 0x46,
  3307  	0x83, 0xe9, 0xcc, 0xc8, 0x9f, 0x00, 0x7a, 0x57, 0x03, 0x27, 0x4c, 0x31, 0x66, 0x23, 0xe5, 0x4e,
  3308  	0x2e, 0x1f, 0xb3, 0x84, 0x2e, 0xb9, 0x0b, 0xf5, 0x28, 0xcf, 0x99, 0xcd, 0x54, 0x60, 0xb3, 0x39,
  3309  	0x91, 0xc5, 0x9a, 0xe4, 0x44, 0x46, 0x34, 0x73, 0xd8, 0xcd, 0x15, 0x69, 0xbf, 0x1b, 0xdb, 0xeb,
  3310  	0x93, 0x08, 0xd3, 0xd8, 0x0a, 0xc4, 0x7c, 0xfa, 0x30, 0x5b, 0x29, 0xc4, 0x5e, 0x31, 0x62, 0x7e,
  3311  	0x89, 0x1c, 0x41, 0x2b, 0x9d, 0x36, 0xcd, 0x55, 0x89, 0x76, 0x5d, 0x9d, 0x47, 0x5d, 0x12, 0x66,
  3312  	0x19, 0x1b, 0xb2, 0x07, 0xcb, 0x98, 0x70, 0x4c, 0x43, 0x9a, 0x6f, 0xa0, 0x79, 0x3a, 0x69, 0x31,
  3313  	0xa5, 0x45, 0xbe, 0x82, 0x0d, 0xc6, 0x27, 0xee, 0xdf, 0xb8, 0xf8, 0x0d, 0xb8, 0xd8, 0x40, 0x7d,
  3314  	0xeb, 0x74, 0xcc, 0xcd, 0x35, 0x69, 0xfe, 0x7f, 0xca, 0x5c, 0xa7, 0xa3, 0xc0, 0xf4, 0x08, 0xe4,
  3315  	0x3e, 0xac, 0x88, 0x2d, 0x29, 0x99, 0xf1, 0xd0, 0x76, 0x86, 0x26, 0x91, 0x90, 0x1f, 0x24, 0xb6,
  3316  	0x70, 0xb4, 0xa6, 0xa0, 0xd2, 0x16, 0xe4, 0x0b, 0x30, 0x5e, 0x3a, 0xfe, 0xec, 0xd4, 0x1f, 0x78,
  3317  	0xf6, 0x29, 0x0f, 0x1d, 0x5b, 0x97, 0x28, 0x3b, 0x88, 0x92, 0x5d, 0x8e, 0x8e, 0x55, 0x76, 0x21,
  3318  	0xb9, 0x87, 0x8f, 0xac, 0xc0, 0x52, 0x7b, 0xb8, 0xad, 0xdd, 0xc3, 0x09, 0x0d, 0xa6, 0x33, 0x43,
  3319  	0xb4, 0x9e, 0x28, 0x8b, 0x92, 0x27, 0x62, 0x23, 0x8b, 0x96, 0xd5, 0x60, 0x3a, 0x33, 0x91, 0x1e,
  3320  	0xf5, 0xc9, 0xdf, 0xdc, 0x4c, 0xa5, 0x47, 0xbd, 0x12, 0x2b, 0x30, 0x16, 0xb0, 0x4f, 0xed, 0x91,
  3321  	0x67, 0x05, 0x5c, 0x24, 0xa9, 0x07, 0x9e, 0x3b, 0x51, 0xb0, 0x5b, 0x29, 0x58, 0xbd, 0x12, 0x2b,
  3322  	0x30, 0x26, 0xcf, 0xa1, 0x9d, 0x58, 0xe9, 0x47, 0xbe, 0x9a, 0xa9, 0xef, 0xab, 0x53, 0x61, 0x5a,
  3323  	0x43, 0xfa, 0x00, 0xb6, 0x72, 0x09, 0x1e, 0x19, 0xee, 0x36, 0xd4, 0x7a, 0xdc, 0x17, 0x27, 0xc4,
  3324  	0x37, 0x4b, 0xbb, 0xe5, 0x5b, 0x8d, 0xfd, 0xd5, 0x0e, 0x96, 0xb0, 0x28, 0x67, 0x91, 0x02, 0xfd,
  3325  	0x61, 0x05, 0x6a, 0x91, 0xe5, 0x6f, 0xcb, 0x7c, 0x6d, 0xa8, 0x7e, 0xee, 0x79, 0xae, 0x27, 0x29,
  3326  	0xaf, 0xc9, 0xc2, 0x09, 0x79, 0x5d, 0xe8, 0x38, 0xf2, 0xda, 0x4e, 0x11, 0xaf, 0x85, 0x5a, 0xac,
  3327  	0xf0, 0xbd, 0x9f, 0x43, 0x3b, 0x4d, 0x51, 0x08, 0x5b, 0x4d, 0xc5, 0x58, 0xa7, 0xc2, 0xb4, 0x86,
  3328  	0x82, 0x9a, 0x62, 0xb6, 0x42, 0xb0, 0xa5, 0x54, 0x06, 0xcd, 0x2e, 0xb3, 0x9c, 0x81, 0xe0, 0x93,
  3329  	0x04, 0x5d, 0x21, 0xca, 0x72, 0x2a, 0x81, 0xe7, 0xd6, 0x59, 0xde, 0x04, 0x4f, 0x4f, 0xcc, 0x56,
  3330  	0x88, 0x54, 0xcb, 0x9e, 0x9e, 0xac, 0x06, 0xd3, 0x99, 0x21, 0x61, 0x46, 0x94, 0x85, 0x60, 0xf5,
  3331  	0x2c, 0x61, 0x66, 0x14, 0x98, 0xc6, 0x48, 0x84, 0x3d, 0xcd, 0x58, 0x08, 0x06, 0xd9, 0xd4, 0x95,
  3332  	0x53, 0x61, 0x5a, 0x43, 0xf2, 0x67, 0xc1, 0x75, 0x8a, 0xd2, 0x90, 0xeb, 0xae, 0x69, 0xb8, 0x0e,
  3333  	0x41, 0x12, 0xca, 0xe4, 0x20, 0x4f, 0x76, 0x66, 0x9e, 0xec, 0xd0, 0x30, 0xc1, 0x76, 0x2f, 0xe6,
  3334  	0xb0, 0xdd, 0x87, 0x73, 0xd8, 0x2e, 0x11, 0x96, 0x2c, 0x39, 0xbd, 0x98, 0x43, 0x77, 0x1f, 0xce,
  3335  	0xa1, 0x3b, 0x05, 0xa9, 0xe1, 0xbb, 0xcf, 0x0b, 0xf8, 0xee, 0x46, 0x01, 0xdf, 0x21, 0x54, 0x96,
  3336  	0xf0, 0xee, 0x64, 0x09, 0x6f, 0x33, 0x4b, 0x78, 0x68, 0x18, 0x31, 0xde, 0x9b, 0xf9, 0x8c, 0xf7,
  3337  	0xd1, 0x7c, 0xc6, 0x43, 0xb4, 0x02, 0xca, 0x3b, 0xd4, 0x53, 0xde, 0x75, 0x3d, 0xe5, 0x21, 0x56,
  3338  	0x86, 0xf3, 0x1e, 0x17, 0x72, 0xde, 0xcd, 0x42, 0xce, 0x53, 0x07, 0x36, 0x47, 0x7a, 0x89, 0xfd,
  3339  	0x1c, 0xb2, 0x17, 0xee, 0xe7, 0xb6, 0x76, 0x3f, 0x27, 0x55, 0x98, 0xd6, 0x10, 0x01, 0x13, 0x04,
  3340  	0x86, 0x80, 0x1b, 0x59, 0xc0, 0x9c, 0x0a, 0xd3, 0x1a, 0x8a, 0x14, 0x5a, 0xd0, 0xdd, 0x20, 0xf7,
  3341  	0xed, 0x14, 0x71, 0x9f, 0x4a, 0xa1, 0x45, 0xcd, 0xd1, 0x6b, 0xd8, 0xca, 0x11, 0x18, 0x22, 0x6f,
  3342  	0xa5, 0x90, 0x0b, 0xb4, 0x58, 0x91, 0x39, 0x61, 0xb0, 0x91, 0xe1, 0x31, 0xc4, 0x35, 0x53, 0x9f,
  3343  	0x5b, 0xab, 0xc3, 0xf4, 0xa6, 0xf4, 0x58, 0xdb, 0xca, 0xc8, 0xee, 0x52, 0x5e, 0x56, 0x1c, 0x0f,
  3344  	0xb1, 0xc9, 0x8b, 0xe6, 0xa2, 0x95, 0xec, 0x49, 0x2a, 0x94, 0xa4, 0x54, 0x67, 0x38, 0xa3, 0x7f,
  3345  	0xd1, 0x73, 0x07, 0xa1, 0xd0, 0xb4, 0x84, 0xbc, 0x37, 0x1b, 0x08, 0xbe, 0x91, 0x78, 0x35, 0x96,
  3346  	0x92, 0xd1, 0xe3, 0x5c, 0x0f, 0x24, 0x88, 0x14, 0x91, 0x90, 0x48, 0xcb, 0x2c, 0x16, 0x24, 0x5b,
  3347  	0xe5, 0x45, 0x49, 0xb2, 0x89, 0x56, 0x39, 0x4f, 0x20, 0x26, 0x2c, 0xa7, 0x9f, 0xae, 0xa6, 0xf4,
  3348  	0x75, 0xbe, 0x75, 0x22, 0x06, 0x94, 0xbb, 0x93, 0x21, 0x36, 0xca, 0x62, 0x28, 0x68, 0x58, 0x28,
  3349  	0xf8, 0xf2, 0x59, 0x75, 0x16, 0x4e, 0x84, 0x87, 0xfd, 0x73, 0x8f, 0xfb, 0xe7, 0xee, 0x78, 0x28,
  3350  	0x63, 0x51, 0x66, 0xb1, 0x80, 0x7e, 0xac, 0x21, 0x2d, 0x42, 0xa0, 0x22, 0xc6, 0x88, 0x2d, 0xc7,
  3351  	0xb4, 0xad, 0x6b, 0xbc, 0xe8, 0x4f, 0x25, 0xa8, 0x29, 0x99, 0xf0, 0x5f, 0x1e, 0x2c, 0xfc, 0x1a,
  3352  	0x15, 0xa6, 0xa6, 0x02, 0xf0, 0x31, 0xbf, 0x12, 0x8e, 0x95, 0x6f, 0x35, 0x99, 0x1c, 0x93, 0x4f,
  3353  	0x43, 0xcb, 0xa7, 0xee, 0x90, 0x4b, 0xb7, 0x5a, 0xfb, 0xad, 0x8e, 0xbc, 0x71, 0x53, 0x52, 0x16,
  3354  	0xad, 0x93, 0x5d, 0x68, 0xd8, 0x3e, 0xb3, 0x9c, 0x91, 0x4c, 0x27, 0xb2, 0x7c, 0xa8, 0xb1, 0xa4,
  3355  	0x88, 0x7c, 0x0c, 0xcb, 0x8f, 0xdc, 0xf1, 0x90, 0x7b, 0xbe, 0x59, 0x95, 0x95, 0xd0, 0x4a, 0x08,
  3356  	0xf6, 0xca, 0xb2, 0x05, 0x8f, 0x31, 0xb5, 0x2a, 0x14, 0x85, 0x4c, 0x28, 0x2e, 0x69, 0x15, 0x71,
  3357  	0x95, 0x7e, 0xad, 0xa5, 0x61, 0xf1, 0x2a, 0x5d, 0xe7, 0x58, 0xc5, 0x5d, 0x8e, 0xc9, 0x67, 0xd0,
  3358  	0x54, 0x7a, 0xa2, 0x4e, 0x91, 0xaf, 0x29, 0x6a, 0xb1, 0x70, 0xa7, 0x47, 0x10, 0x29, 0x25, 0xba,
  3359  	0xae, 0x69, 0x3f, 0xe9, 0x39, 0x34, 0xfa, 0x97, 0xce, 0x2f, 0x8b, 0x28, 0x73, 0xbf, 0x8d, 0x22,
  3360  	0x2a, 0xc6, 0xe4, 0x36, 0x2c, 0x3f, 0x9f, 0x06, 0xb2, 0x1a, 0x0c, 0xef, 0x1e, 0xd6, 0xe2, 0x80,
  3361  	0xe2, 0x02, 0x53, 0x1a, 0xf4, 0x87, 0x12, 0x2c, 0xe3, 0xc3, 0xc9, 0x3d, 0xa8, 0x75, 0x3d, 0x6e,
  3362  	0x05, 0xfc, 0x7e, 0x80, 0xb7, 0x60, 0xdb, 0x9d, 0xf0, 0x52, 0xb2, 0xa3, 0x2e, 0x25, 0x13, 0x77,
  3363  	0x61, 0xb5, 0xb7, 0x3f, 0xdf, 0x5c, 0xf8, 0xfe, 0xdf, 0x37, 0x4b, 0x2c, 0xb2, 0x22, 0xbb, 0x50,
  3364  	0x79, 0xca, 0x03, 0x4b, 0xee, 0xbc, 0xc6, 0x7e, 0xb3, 0x13, 0x5c, 0x3a, 0x9d, 0xfe, 0xa5, 0x23,
  3365  	0x64, 0x4c, 0xae, 0x88, 0x57, 0x79, 0xe9, 0x73, 0xaf, 0x7f, 0xe9, 0x48, 0xe7, 0x6a, 0x4c, 0x4d,
  3366  	0xc9, 0x1d, 0xa8, 0x8b, 0x98, 0x0b, 0x2f, 0x7d, 0xb3, 0x22, 0x43, 0x47, 0x54, 0xbd, 0x14, 0xc7,
  3367  	0x82, 0xc5, 0x4a, 0xf4, 0x8d, 0xae, 0xa6, 0xd1, 0x7e, 0x99, 0x3b, 0x32, 0x9e, 0x99, 0x0f, 0xd3,
  3368  	0x8a, 0xd1, 0x25, 0x40, 0x52, 0x85, 0x6e, 0x68, 0xbb, 0x79, 0xfa, 0x8f, 0x12, 0xd4, 0x23, 0xa1,
  3369  	0x48, 0x3c, 0xcf, 0xdc, 0x21, 0xef, 0x5f, 0x4d, 0x39, 0x3e, 0x2e, 0x9a, 0x8b, 0xc4, 0x23, 0xc6,
  3370  	0xc7, 0x43, 0x3c, 0x86, 0x38, 0x13, 0xe7, 0x50, 0x02, 0x48, 0xa3, 0x30, 0x27, 0xc5, 0x02, 0xe1,
  3371  	0xfc, 0x4b, 0x9f, 0x0f, 0xe5, 0xd6, 0xae, 0x30, 0x39, 0x16, 0xb2, 0x07, 0x1e, 0x0f, 0xcb, 0xda,
  3372  	0x0a, 0x93, 0x63, 0xf1, 0xe4, 0x47, 0x76, 0xc0, 0xac, 0xc0, 0x76, 0x65, 0x85, 0xba, 0xc8, 0xa2,
  3373  	0x39, 0x7d, 0xa6, 0xaf, 0xcf, 0xc8, 0x01, 0xac, 0x44, 0x42, 0x19, 0x86, 0xb0, 0x57, 0x88, 0x4a,
  3374  	0xfa, 0xc8, 0x20, 0xad, 0x46, 0xc7, 0x70, 0x7d, 0x5e, 0x6b, 0x2b, 0x3e, 0xe9, 0x43, 0xcf, 0x9d,
  3375  	0x4d, 0x31, 0xf3, 0xad, 0x30, 0x35, 0x8d, 0xf7, 0xed, 0x91, 0xca, 0x7b, 0x38, 0x4d, 0x66, 0xc4,
  3376  	0x72, 0x3a, 0x23, 0xde, 0x85, 0x1b, 0x73, 0xcb, 0x8a, 0xf4, 0x7d, 0x5e, 0x55, 0xdd, 0xe7, 0x7d,
  3377  	0x21, 0x5f, 0x3a, 0xd7, 0x2c, 0xff, 0x1a, 0xe7, 0xe8, 0x6d, 0xd8, 0xd0, 0x56, 0x21, 0xe2, 0x4b,
  3378  	0xc8, 0x8a, 0x05, 0xb7, 0x96, 0x18, 0xd3, 0x1e, 0x6c, 0x15, 0xf4, 0xd7, 0x64, 0x07, 0x40, 0xd4,
  3379  	0x05, 0xa7, 0x96, 0xcf, 0xa3, 0xf6, 0x2a, 0x21, 0x99, 0xe3, 0xc1, 0x1f, 0xc0, 0x2c, 0x2a, 0x60,
  3380  	0xe6, 0xd0, 0xc3, 0x03, 0xa8, 0xc9, 0x2f, 0xf7, 0x98, 0x5f, 0x09, 0x57, 0x4f, 0xac, 0xe0, 0x5c,
  3381  	0xb9, 0x2a, 0xc6, 0x62, 0x4b, 0x3e, 0x3f, 0x3b, 0xf3, 0x79, 0x78, 0xcb, 0x5f, 0x66, 0x38, 0x23,
  3382  	0x2d, 0x58, 0xec, 0x7d, 0x87, 0x9c, 0xb0, 0xd8, 0xfb, 0x8e, 0x1e, 0xe0, 0x16, 0x95, 0xf9, 0xf9,
  3383  	0x13, 0xa8, 0x5c, 0x88, 0x9c, 0x5d, 0x4a, 0x25, 0x33, 0xb5, 0x8e, 0x37, 0xe2, 0x52, 0x85, 0xf6,
  3384  	0x61, 0x15, 0x5f, 0x3d, 0x72, 0xa3, 0x0d, 0xd5, 0x63, 0x67, 0xc8, 0x2f, 0xd5, 0xc7, 0x92, 0x13,
  3385  	0xd1, 0xb0, 0x2a, 0x0d, 0x4c, 0x15, 0x59, 0x5c, 0x16, 0x29, 0xd0, 0x57, 0xda, 0x3b, 0x09, 0x72,
  3386  	0x2f, 0xf7, 0x30, 0x74, 0x31, 0x2a, 0x6e, 0xd3, 0xab, 0x2c, 0xab, 0x4e, 0x9f, 0xc3, 0x9a, 0x0a,
  3387  	0x6a, 0x84, 0x5e, 0xe0, 0xb0, 0x01, 0xe5, 0x47, 0xb6, 0xfa, 0x73, 0x44, 0x0c, 0x45, 0x7c, 0x85,
  3388  	0x3e, 0xb6, 0xba, 0x72, 0x4c, 0xbf, 0xd6, 0x17, 0x92, 0xa2, 0x23, 0xcc, 0x3d, 0x08, 0x9d, 0x35,
  3389  	0x23, 0x67, 0x33, 0xeb, 0x2c, 0x6f, 0x42, 0x99, 0xf6, 0x3e, 0x85, 0xfc, 0x15, 0x9a, 0x91, 0x2c,
  3390  	0x0c, 0x43, 0xd8, 0xb1, 0xc6, 0xff, 0x47, 0x25, 0x97, 0x59, 0x4a, 0x19, 0xcf, 0x4d, 0xbe, 0xe4,
  3391  	0xdc, 0x87, 0x7a, 0x24, 0x8c, 0xfe, 0x12, 0xd1, 0x20, 0xb2, 0x58, 0x8d, 0xf6, 0xa0, 0x71, 0xe2,
  3392  	0xf1, 0xa9, 0xe5, 0xf1, 0x5e, 0x30, 0x91, 0x21, 0x7a, 0x66, 0x4d, 0x54, 0x66, 0x94, 0x63, 0x11,
  3393  	0xc8, 0xde, 0x8b, 0x27, 0x98, 0x12, 0xc5, 0x50, 0x1c, 0x92, 0x13, 0xcb, 0xb3, 0x26, 0x22, 0xfd,
  3394  	0xf9, 0x18, 0xce, 0x84, 0x84, 0xde, 0x29, 0xba, 0x9f, 0x11, 0xdb, 0x59, 0x88, 0xa2, 0x93, 0x8d,
  3395  	0x33, 0x6a, 0x15, 0xd6, 0xb4, 0x62, 0xa7, 0x1f, 0x1d, 0xa2, 0x43, 0x8b, 0x47, 0x87, 0xe4, 0x00,
  3396  	0x9a, 0x09, 0x8f, 0x7d, 0x24, 0x06, 0x45, 0x3b, 0x89, 0x25, 0x96, 0xd2, 0xa3, 0x7f, 0x2f, 0xe9,
  3397  	0xaf, 0x77, 0x8a, 0x7c, 0xc2, 0x07, 0x2f, 0x46, 0x0f, 0xde, 0x85, 0x46, 0x8f, 0x07, 0x5f, 0x5a,
  3398  	0x5e, 0xf8, 0xdc, 0xf2, 0x6e, 0xf9, 0x56, 0x9d, 0x25, 0x45, 0x39, 0xd7, 0x2a, 0xbf, 0xd0, 0xb5,
  3399  	0xdf, 0x17, 0xd4, 0xdd, 0xc5, 0x79, 0xe3, 0xd3, 0x7f, 0x96, 0x13, 0x17, 0x3d, 0xa4, 0x8e, 0x7f,
  3400  	0x2b, 0x1a, 0x0b, 0x64, 0x1d, 0x56, 0x33, 0x77, 0x2f, 0x46, 0x89, 0x18, 0xd0, 0x4c, 0x56, 0xce,
  3401  	0xc6, 0x22, 0x69, 0x42, 0x4d, 0x15, 0xb1, 0x46, 0x99, 0xac, 0x40, 0x3d, 0x2a, 0x25, 0x8d, 0x0a,
  3402  	0x59, 0x85, 0x46, 0xa2, 0x7e, 0x32, 0xaa, 0xa4, 0x05, 0x10, 0xb3, 0xb6, 0xb1, 0x24, 0xf0, 0x92,
  3403  	0x74, 0x65, 0x2c, 0x0b, 0x8d, 0xb8, 0xc5, 0x37, 0x6a, 0x02, 0x31, 0xea, 0xdc, 0x8d, 0x3a, 0xd9,
  3404  	0xd4, 0xf5, 0xee, 0x06, 0x08, 0x79, 0xbe, 0x87, 0x36, 0x1a, 0x84, 0x64, 0xbb, 0x68, 0xa3, 0x49,
  3405  	0x1a, 0x51, 0x4b, 0x6c, 0xac, 0x90, 0x6b, 0x05, 0xdd, 0xae, 0xd1, 0x22, 0x6b, 0x99, 0x66, 0xd5,
  3406  	0x58, 0x25, 0xed, 0x7c, 0xef, 0x69, 0x18, 0xc9, 0xb7, 0x10, 0x67, 0xd5, 0x58, 0x43, 0x49, 0x74,
  3407  	0x3a, 0x0c, 0x22, 0xc2, 0x99, 0xe9, 0xc3, 0x8c, 0x75, 0x21, 0xcc, 0xec, 0x56, 0xa3, 0x2d, 0x1e,
  3408  	0x9b, 0xfa, 0x88, 0xc6, 0xc6, 0xe1, 0xa3, 0xb7, 0xef, 0x76, 0x4a, 0x3f, 0xbe, 0xdb, 0x29, 0xfd,
  3409  	0xe7, 0xdd, 0x4e, 0xe9, 0xfb, 0xf7, 0x3b, 0x0b, 0x3f, 0xbe, 0xdf, 0x59, 0xf8, 0xe9, 0xfd, 0xce,
  3410  	0xc2, 0x9b, 0x4e, 0xe2, 0x7f, 0xe6, 0x89, 0x15, 0x78, 0xf6, 0xa5, 0xeb, 0xd9, 0x23, 0xdb, 0x51,
  3411  	0x13, 0x87, 0xef, 0x4d, 0x2f, 0x46, 0x7b, 0xd3, 0xd3, 0x3d, 0xb9, 0x77, 0x4e, 0x97, 0x64, 0x31,
  3412  	0xf7, 0xd9, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xfe, 0xe1, 0x30, 0x44, 0xfb, 0x1e, 0x00, 0x00,
  3413  }
  3414  
  3415  func (m *QueryRequest) Marshal() (dAtA []byte, err error) {
  3416  	size := m.Size()
  3417  	dAtA = make([]byte, size)
  3418  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3419  	if err != nil {
  3420  		return nil, err
  3421  	}
  3422  	return dAtA[:n], nil
  3423  }
  3424  
  3425  func (m *QueryRequest) MarshalTo(dAtA []byte) (int, error) {
  3426  	size := m.Size()
  3427  	return m.MarshalToSizedBuffer(dAtA[:size])
  3428  }
  3429  
  3430  func (m *QueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3431  	i := len(dAtA)
  3432  	_ = i
  3433  	var l int
  3434  	_ = l
  3435  	if len(m.Query) > 0 {
  3436  		i -= len(m.Query)
  3437  		copy(dAtA[i:], m.Query)
  3438  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Query)))
  3439  		i--
  3440  		dAtA[i] = 0xa
  3441  	}
  3442  	return len(dAtA) - i, nil
  3443  }
  3444  
  3445  func (m *ShowProcessListRequest) Marshal() (dAtA []byte, err error) {
  3446  	size := m.Size()
  3447  	dAtA = make([]byte, size)
  3448  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3449  	if err != nil {
  3450  		return nil, err
  3451  	}
  3452  	return dAtA[:n], nil
  3453  }
  3454  
  3455  func (m *ShowProcessListRequest) MarshalTo(dAtA []byte) (int, error) {
  3456  	size := m.Size()
  3457  	return m.MarshalToSizedBuffer(dAtA[:size])
  3458  }
  3459  
  3460  func (m *ShowProcessListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3461  	i := len(dAtA)
  3462  	_ = i
  3463  	var l int
  3464  	_ = l
  3465  	if m.SysTenant {
  3466  		i--
  3467  		if m.SysTenant {
  3468  			dAtA[i] = 1
  3469  		} else {
  3470  			dAtA[i] = 0
  3471  		}
  3472  		i--
  3473  		dAtA[i] = 0x10
  3474  	}
  3475  	if len(m.Tenant) > 0 {
  3476  		i -= len(m.Tenant)
  3477  		copy(dAtA[i:], m.Tenant)
  3478  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Tenant)))
  3479  		i--
  3480  		dAtA[i] = 0xa
  3481  	}
  3482  	return len(dAtA) - i, nil
  3483  }
  3484  
  3485  func (m *SyncCommitRequest) Marshal() (dAtA []byte, err error) {
  3486  	size := m.Size()
  3487  	dAtA = make([]byte, size)
  3488  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3489  	if err != nil {
  3490  		return nil, err
  3491  	}
  3492  	return dAtA[:n], nil
  3493  }
  3494  
  3495  func (m *SyncCommitRequest) MarshalTo(dAtA []byte) (int, error) {
  3496  	size := m.Size()
  3497  	return m.MarshalToSizedBuffer(dAtA[:size])
  3498  }
  3499  
  3500  func (m *SyncCommitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3501  	i := len(dAtA)
  3502  	_ = i
  3503  	var l int
  3504  	_ = l
  3505  	{
  3506  		size, err := m.LatestCommitTS.MarshalToSizedBuffer(dAtA[:i])
  3507  		if err != nil {
  3508  			return 0, err
  3509  		}
  3510  		i -= size
  3511  		i = encodeVarintQuery(dAtA, i, uint64(size))
  3512  	}
  3513  	i--
  3514  	dAtA[i] = 0xa
  3515  	return len(dAtA) - i, nil
  3516  }
  3517  
  3518  func (m *SyncCommitResponse) Marshal() (dAtA []byte, err error) {
  3519  	size := m.Size()
  3520  	dAtA = make([]byte, size)
  3521  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3522  	if err != nil {
  3523  		return nil, err
  3524  	}
  3525  	return dAtA[:n], nil
  3526  }
  3527  
  3528  func (m *SyncCommitResponse) MarshalTo(dAtA []byte) (int, error) {
  3529  	size := m.Size()
  3530  	return m.MarshalToSizedBuffer(dAtA[:size])
  3531  }
  3532  
  3533  func (m *SyncCommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3534  	i := len(dAtA)
  3535  	_ = i
  3536  	var l int
  3537  	_ = l
  3538  	{
  3539  		size, err := m.CurrentCommitTS.MarshalToSizedBuffer(dAtA[:i])
  3540  		if err != nil {
  3541  			return 0, err
  3542  		}
  3543  		i -= size
  3544  		i = encodeVarintQuery(dAtA, i, uint64(size))
  3545  	}
  3546  	i--
  3547  	dAtA[i] = 0xa
  3548  	return len(dAtA) - i, nil
  3549  }
  3550  
  3551  func (m *GetCommitRequest) Marshal() (dAtA []byte, err error) {
  3552  	size := m.Size()
  3553  	dAtA = make([]byte, size)
  3554  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3555  	if err != nil {
  3556  		return nil, err
  3557  	}
  3558  	return dAtA[:n], nil
  3559  }
  3560  
  3561  func (m *GetCommitRequest) MarshalTo(dAtA []byte) (int, error) {
  3562  	size := m.Size()
  3563  	return m.MarshalToSizedBuffer(dAtA[:size])
  3564  }
  3565  
  3566  func (m *GetCommitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3567  	i := len(dAtA)
  3568  	_ = i
  3569  	var l int
  3570  	_ = l
  3571  	return len(dAtA) - i, nil
  3572  }
  3573  
  3574  func (m *GetCommitResponse) Marshal() (dAtA []byte, err error) {
  3575  	size := m.Size()
  3576  	dAtA = make([]byte, size)
  3577  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3578  	if err != nil {
  3579  		return nil, err
  3580  	}
  3581  	return dAtA[:n], nil
  3582  }
  3583  
  3584  func (m *GetCommitResponse) MarshalTo(dAtA []byte) (int, error) {
  3585  	size := m.Size()
  3586  	return m.MarshalToSizedBuffer(dAtA[:size])
  3587  }
  3588  
  3589  func (m *GetCommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3590  	i := len(dAtA)
  3591  	_ = i
  3592  	var l int
  3593  	_ = l
  3594  	{
  3595  		size, err := m.CurrentCommitTS.MarshalToSizedBuffer(dAtA[:i])
  3596  		if err != nil {
  3597  			return 0, err
  3598  		}
  3599  		i -= size
  3600  		i = encodeVarintQuery(dAtA, i, uint64(size))
  3601  	}
  3602  	i--
  3603  	dAtA[i] = 0xa
  3604  	return len(dAtA) - i, nil
  3605  }
  3606  
  3607  func (m *CoreDumpConfigRequest) Marshal() (dAtA []byte, err error) {
  3608  	size := m.Size()
  3609  	dAtA = make([]byte, size)
  3610  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3611  	if err != nil {
  3612  		return nil, err
  3613  	}
  3614  	return dAtA[:n], nil
  3615  }
  3616  
  3617  func (m *CoreDumpConfigRequest) MarshalTo(dAtA []byte) (int, error) {
  3618  	size := m.Size()
  3619  	return m.MarshalToSizedBuffer(dAtA[:size])
  3620  }
  3621  
  3622  func (m *CoreDumpConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3623  	i := len(dAtA)
  3624  	_ = i
  3625  	var l int
  3626  	_ = l
  3627  	if len(m.Action) > 0 {
  3628  		i -= len(m.Action)
  3629  		copy(dAtA[i:], m.Action)
  3630  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Action)))
  3631  		i--
  3632  		dAtA[i] = 0xa
  3633  	}
  3634  	return len(dAtA) - i, nil
  3635  }
  3636  
  3637  func (m *CoreDumpConfigResponse) Marshal() (dAtA []byte, err error) {
  3638  	size := m.Size()
  3639  	dAtA = make([]byte, size)
  3640  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3641  	if err != nil {
  3642  		return nil, err
  3643  	}
  3644  	return dAtA[:n], nil
  3645  }
  3646  
  3647  func (m *CoreDumpConfigResponse) MarshalTo(dAtA []byte) (int, error) {
  3648  	size := m.Size()
  3649  	return m.MarshalToSizedBuffer(dAtA[:size])
  3650  }
  3651  
  3652  func (m *CoreDumpConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3653  	i := len(dAtA)
  3654  	_ = i
  3655  	var l int
  3656  	_ = l
  3657  	return len(dAtA) - i, nil
  3658  }
  3659  
  3660  func (m *GetProtocolVersionRequest) Marshal() (dAtA []byte, err error) {
  3661  	size := m.Size()
  3662  	dAtA = make([]byte, size)
  3663  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3664  	if err != nil {
  3665  		return nil, err
  3666  	}
  3667  	return dAtA[:n], nil
  3668  }
  3669  
  3670  func (m *GetProtocolVersionRequest) MarshalTo(dAtA []byte) (int, error) {
  3671  	size := m.Size()
  3672  	return m.MarshalToSizedBuffer(dAtA[:size])
  3673  }
  3674  
  3675  func (m *GetProtocolVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3676  	i := len(dAtA)
  3677  	_ = i
  3678  	var l int
  3679  	_ = l
  3680  	return len(dAtA) - i, nil
  3681  }
  3682  
  3683  func (m *GetProtocolVersionResponse) Marshal() (dAtA []byte, err error) {
  3684  	size := m.Size()
  3685  	dAtA = make([]byte, size)
  3686  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3687  	if err != nil {
  3688  		return nil, err
  3689  	}
  3690  	return dAtA[:n], nil
  3691  }
  3692  
  3693  func (m *GetProtocolVersionResponse) MarshalTo(dAtA []byte) (int, error) {
  3694  	size := m.Size()
  3695  	return m.MarshalToSizedBuffer(dAtA[:size])
  3696  }
  3697  
  3698  func (m *GetProtocolVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3699  	i := len(dAtA)
  3700  	_ = i
  3701  	var l int
  3702  	_ = l
  3703  	if m.Version != 0 {
  3704  		i = encodeVarintQuery(dAtA, i, uint64(m.Version))
  3705  		i--
  3706  		dAtA[i] = 0x8
  3707  	}
  3708  	return len(dAtA) - i, nil
  3709  }
  3710  
  3711  func (m *SetProtocolVersionRequest) Marshal() (dAtA []byte, err error) {
  3712  	size := m.Size()
  3713  	dAtA = make([]byte, size)
  3714  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3715  	if err != nil {
  3716  		return nil, err
  3717  	}
  3718  	return dAtA[:n], nil
  3719  }
  3720  
  3721  func (m *SetProtocolVersionRequest) MarshalTo(dAtA []byte) (int, error) {
  3722  	size := m.Size()
  3723  	return m.MarshalToSizedBuffer(dAtA[:size])
  3724  }
  3725  
  3726  func (m *SetProtocolVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3727  	i := len(dAtA)
  3728  	_ = i
  3729  	var l int
  3730  	_ = l
  3731  	if m.Version != 0 {
  3732  		i = encodeVarintQuery(dAtA, i, uint64(m.Version))
  3733  		i--
  3734  		dAtA[i] = 0x8
  3735  	}
  3736  	return len(dAtA) - i, nil
  3737  }
  3738  
  3739  func (m *SetProtocolVersionResponse) Marshal() (dAtA []byte, err error) {
  3740  	size := m.Size()
  3741  	dAtA = make([]byte, size)
  3742  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3743  	if err != nil {
  3744  		return nil, err
  3745  	}
  3746  	return dAtA[:n], nil
  3747  }
  3748  
  3749  func (m *SetProtocolVersionResponse) MarshalTo(dAtA []byte) (int, error) {
  3750  	size := m.Size()
  3751  	return m.MarshalToSizedBuffer(dAtA[:size])
  3752  }
  3753  
  3754  func (m *SetProtocolVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3755  	i := len(dAtA)
  3756  	_ = i
  3757  	var l int
  3758  	_ = l
  3759  	if m.Version != 0 {
  3760  		i = encodeVarintQuery(dAtA, i, uint64(m.Version))
  3761  		i--
  3762  		dAtA[i] = 0x8
  3763  	}
  3764  	return len(dAtA) - i, nil
  3765  }
  3766  
  3767  func (m *RunTaskRequest) Marshal() (dAtA []byte, err error) {
  3768  	size := m.Size()
  3769  	dAtA = make([]byte, size)
  3770  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3771  	if err != nil {
  3772  		return nil, err
  3773  	}
  3774  	return dAtA[:n], nil
  3775  }
  3776  
  3777  func (m *RunTaskRequest) MarshalTo(dAtA []byte) (int, error) {
  3778  	size := m.Size()
  3779  	return m.MarshalToSizedBuffer(dAtA[:size])
  3780  }
  3781  
  3782  func (m *RunTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3783  	i := len(dAtA)
  3784  	_ = i
  3785  	var l int
  3786  	_ = l
  3787  	if m.TaskCode != 0 {
  3788  		i = encodeVarintQuery(dAtA, i, uint64(m.TaskCode))
  3789  		i--
  3790  		dAtA[i] = 0x8
  3791  	}
  3792  	return len(dAtA) - i, nil
  3793  }
  3794  
  3795  func (m *RunTaskResponse) Marshal() (dAtA []byte, err error) {
  3796  	size := m.Size()
  3797  	dAtA = make([]byte, size)
  3798  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3799  	if err != nil {
  3800  		return nil, err
  3801  	}
  3802  	return dAtA[:n], nil
  3803  }
  3804  
  3805  func (m *RunTaskResponse) MarshalTo(dAtA []byte) (int, error) {
  3806  	size := m.Size()
  3807  	return m.MarshalToSizedBuffer(dAtA[:size])
  3808  }
  3809  
  3810  func (m *RunTaskResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3811  	i := len(dAtA)
  3812  	_ = i
  3813  	var l int
  3814  	_ = l
  3815  	if len(m.Result) > 0 {
  3816  		i -= len(m.Result)
  3817  		copy(dAtA[i:], m.Result)
  3818  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Result)))
  3819  		i--
  3820  		dAtA[i] = 0xa
  3821  	}
  3822  	return len(dAtA) - i, nil
  3823  }
  3824  
  3825  func (m *GetPipelineInfoRequest) Marshal() (dAtA []byte, err error) {
  3826  	size := m.Size()
  3827  	dAtA = make([]byte, size)
  3828  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3829  	if err != nil {
  3830  		return nil, err
  3831  	}
  3832  	return dAtA[:n], nil
  3833  }
  3834  
  3835  func (m *GetPipelineInfoRequest) MarshalTo(dAtA []byte) (int, error) {
  3836  	size := m.Size()
  3837  	return m.MarshalToSizedBuffer(dAtA[:size])
  3838  }
  3839  
  3840  func (m *GetPipelineInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3841  	i := len(dAtA)
  3842  	_ = i
  3843  	var l int
  3844  	_ = l
  3845  	return len(dAtA) - i, nil
  3846  }
  3847  
  3848  func (m *GetPipelineInfoResponse) Marshal() (dAtA []byte, err error) {
  3849  	size := m.Size()
  3850  	dAtA = make([]byte, size)
  3851  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3852  	if err != nil {
  3853  		return nil, err
  3854  	}
  3855  	return dAtA[:n], nil
  3856  }
  3857  
  3858  func (m *GetPipelineInfoResponse) MarshalTo(dAtA []byte) (int, error) {
  3859  	size := m.Size()
  3860  	return m.MarshalToSizedBuffer(dAtA[:size])
  3861  }
  3862  
  3863  func (m *GetPipelineInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3864  	i := len(dAtA)
  3865  	_ = i
  3866  	var l int
  3867  	_ = l
  3868  	if m.Count != 0 {
  3869  		i = encodeVarintQuery(dAtA, i, uint64(m.Count))
  3870  		i--
  3871  		dAtA[i] = 0x8
  3872  	}
  3873  	return len(dAtA) - i, nil
  3874  }
  3875  
  3876  func (m *Request) Marshal() (dAtA []byte, err error) {
  3877  	size := m.Size()
  3878  	dAtA = make([]byte, size)
  3879  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3880  	if err != nil {
  3881  		return nil, err
  3882  	}
  3883  	return dAtA[:n], nil
  3884  }
  3885  
  3886  func (m *Request) MarshalTo(dAtA []byte) (int, error) {
  3887  	size := m.Size()
  3888  	return m.MarshalToSizedBuffer(dAtA[:size])
  3889  }
  3890  
  3891  func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3892  	i := len(dAtA)
  3893  	_ = i
  3894  	var l int
  3895  	_ = l
  3896  	if m.MigrateConnToRequest != nil {
  3897  		{
  3898  			size, err := m.MigrateConnToRequest.MarshalToSizedBuffer(dAtA[:i])
  3899  			if err != nil {
  3900  				return 0, err
  3901  			}
  3902  			i -= size
  3903  			i = encodeVarintQuery(dAtA, i, uint64(size))
  3904  		}
  3905  		i--
  3906  		dAtA[i] = 0x1
  3907  		i--
  3908  		dAtA[i] = 0xc2
  3909  	}
  3910  	if m.MigrateConnFromRequest != nil {
  3911  		{
  3912  			size, err := m.MigrateConnFromRequest.MarshalToSizedBuffer(dAtA[:i])
  3913  			if err != nil {
  3914  				return 0, err
  3915  			}
  3916  			i -= size
  3917  			i = encodeVarintQuery(dAtA, i, uint64(size))
  3918  		}
  3919  		i--
  3920  		dAtA[i] = 0x1
  3921  		i--
  3922  		dAtA[i] = 0xba
  3923  	}
  3924  	if m.GetPipelineInfoRequest != nil {
  3925  		{
  3926  			size, err := m.GetPipelineInfoRequest.MarshalToSizedBuffer(dAtA[:i])
  3927  			if err != nil {
  3928  				return 0, err
  3929  			}
  3930  			i -= size
  3931  			i = encodeVarintQuery(dAtA, i, uint64(size))
  3932  		}
  3933  		i--
  3934  		dAtA[i] = 0x1
  3935  		i--
  3936  		dAtA[i] = 0xb2
  3937  	}
  3938  	if m.GetStatsInfoRequest != nil {
  3939  		{
  3940  			size, err := m.GetStatsInfoRequest.MarshalToSizedBuffer(dAtA[:i])
  3941  			if err != nil {
  3942  				return 0, err
  3943  			}
  3944  			i -= size
  3945  			i = encodeVarintQuery(dAtA, i, uint64(size))
  3946  		}
  3947  		i--
  3948  		dAtA[i] = 0x1
  3949  		i--
  3950  		dAtA[i] = 0xaa
  3951  	}
  3952  	if m.GetCacheDataRequest != nil {
  3953  		{
  3954  			size, err := m.GetCacheDataRequest.MarshalToSizedBuffer(dAtA[:i])
  3955  			if err != nil {
  3956  				return 0, err
  3957  			}
  3958  			i -= size
  3959  			i = encodeVarintQuery(dAtA, i, uint64(size))
  3960  		}
  3961  		i--
  3962  		dAtA[i] = 0x1
  3963  		i--
  3964  		dAtA[i] = 0xa2
  3965  	}
  3966  	if m.UnsubscribeTable != nil {
  3967  		{
  3968  			size, err := m.UnsubscribeTable.MarshalToSizedBuffer(dAtA[:i])
  3969  			if err != nil {
  3970  				return 0, err
  3971  			}
  3972  			i -= size
  3973  			i = encodeVarintQuery(dAtA, i, uint64(size))
  3974  		}
  3975  		i--
  3976  		dAtA[i] = 0x1
  3977  		i--
  3978  		dAtA[i] = 0x9a
  3979  	}
  3980  	if m.GetLatestBind != nil {
  3981  		{
  3982  			size, err := m.GetLatestBind.MarshalToSizedBuffer(dAtA[:i])
  3983  			if err != nil {
  3984  				return 0, err
  3985  			}
  3986  			i -= size
  3987  			i = encodeVarintQuery(dAtA, i, uint64(size))
  3988  		}
  3989  		i--
  3990  		dAtA[i] = 0x1
  3991  		i--
  3992  		dAtA[i] = 0x92
  3993  	}
  3994  	if m.RemoveRemoteLockTable != nil {
  3995  		{
  3996  			size, err := m.RemoveRemoteLockTable.MarshalToSizedBuffer(dAtA[:i])
  3997  			if err != nil {
  3998  				return 0, err
  3999  			}
  4000  			i -= size
  4001  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4002  		}
  4003  		i--
  4004  		dAtA[i] = 0x1
  4005  		i--
  4006  		dAtA[i] = 0x8a
  4007  	}
  4008  	if m.RunTask != nil {
  4009  		{
  4010  			size, err := m.RunTask.MarshalToSizedBuffer(dAtA[:i])
  4011  			if err != nil {
  4012  				return 0, err
  4013  			}
  4014  			i -= size
  4015  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4016  		}
  4017  		i--
  4018  		dAtA[i] = 0x1
  4019  		i--
  4020  		dAtA[i] = 0x82
  4021  	}
  4022  	if m.CoreDumpConfig != nil {
  4023  		{
  4024  			size, err := m.CoreDumpConfig.MarshalToSizedBuffer(dAtA[:i])
  4025  			if err != nil {
  4026  				return 0, err
  4027  			}
  4028  			i -= size
  4029  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4030  		}
  4031  		i--
  4032  		dAtA[i] = 0x7a
  4033  	}
  4034  	if m.SetProtocolVersion != nil {
  4035  		{
  4036  			size, err := m.SetProtocolVersion.MarshalToSizedBuffer(dAtA[:i])
  4037  			if err != nil {
  4038  				return 0, err
  4039  			}
  4040  			i -= size
  4041  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4042  		}
  4043  		i--
  4044  		dAtA[i] = 0x72
  4045  	}
  4046  	if m.GetProtocolVersion != nil {
  4047  		{
  4048  			size, err := m.GetProtocolVersion.MarshalToSizedBuffer(dAtA[:i])
  4049  			if err != nil {
  4050  				return 0, err
  4051  			}
  4052  			i -= size
  4053  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4054  		}
  4055  		i--
  4056  		dAtA[i] = 0x6a
  4057  	}
  4058  	if m.GetCommit != nil {
  4059  		{
  4060  			size, err := m.GetCommit.MarshalToSizedBuffer(dAtA[:i])
  4061  			if err != nil {
  4062  				return 0, err
  4063  			}
  4064  			i -= size
  4065  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4066  		}
  4067  		i--
  4068  		dAtA[i] = 0x62
  4069  	}
  4070  	if m.SycnCommit != nil {
  4071  		{
  4072  			size, err := m.SycnCommit.MarshalToSizedBuffer(dAtA[:i])
  4073  			if err != nil {
  4074  				return 0, err
  4075  			}
  4076  			i -= size
  4077  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4078  		}
  4079  		i--
  4080  		dAtA[i] = 0x5a
  4081  	}
  4082  	if m.GetCacheInfoRequest != nil {
  4083  		{
  4084  			size, err := m.GetCacheInfoRequest.MarshalToSizedBuffer(dAtA[:i])
  4085  			if err != nil {
  4086  				return 0, err
  4087  			}
  4088  			i -= size
  4089  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4090  		}
  4091  		i--
  4092  		dAtA[i] = 0x52
  4093  	}
  4094  	if m.GetTxnInfoRequest != nil {
  4095  		{
  4096  			size, err := m.GetTxnInfoRequest.MarshalToSizedBuffer(dAtA[:i])
  4097  			if err != nil {
  4098  				return 0, err
  4099  			}
  4100  			i -= size
  4101  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4102  		}
  4103  		i--
  4104  		dAtA[i] = 0x4a
  4105  	}
  4106  	if m.GetLockInfoRequest != nil {
  4107  		{
  4108  			size, err := m.GetLockInfoRequest.MarshalToSizedBuffer(dAtA[:i])
  4109  			if err != nil {
  4110  				return 0, err
  4111  			}
  4112  			i -= size
  4113  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4114  		}
  4115  		i--
  4116  		dAtA[i] = 0x42
  4117  	}
  4118  	if m.TraceSpanRequest != nil {
  4119  		{
  4120  			size, err := m.TraceSpanRequest.MarshalToSizedBuffer(dAtA[:i])
  4121  			if err != nil {
  4122  				return 0, err
  4123  			}
  4124  			i -= size
  4125  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4126  		}
  4127  		i--
  4128  		dAtA[i] = 0x3a
  4129  	}
  4130  	if m.KillConnRequest != nil {
  4131  		{
  4132  			size, err := m.KillConnRequest.MarshalToSizedBuffer(dAtA[:i])
  4133  			if err != nil {
  4134  				return 0, err
  4135  			}
  4136  			i -= size
  4137  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4138  		}
  4139  		i--
  4140  		dAtA[i] = 0x32
  4141  	}
  4142  	if m.AlterAccountRequest != nil {
  4143  		{
  4144  			size, err := m.AlterAccountRequest.MarshalToSizedBuffer(dAtA[:i])
  4145  			if err != nil {
  4146  				return 0, err
  4147  			}
  4148  			i -= size
  4149  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4150  		}
  4151  		i--
  4152  		dAtA[i] = 0x2a
  4153  	}
  4154  	if m.ShowProcessListRequest != nil {
  4155  		{
  4156  			size, err := m.ShowProcessListRequest.MarshalToSizedBuffer(dAtA[:i])
  4157  			if err != nil {
  4158  				return 0, err
  4159  			}
  4160  			i -= size
  4161  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4162  		}
  4163  		i--
  4164  		dAtA[i] = 0x22
  4165  	}
  4166  	if m.QueryRequest != nil {
  4167  		{
  4168  			size, err := m.QueryRequest.MarshalToSizedBuffer(dAtA[:i])
  4169  			if err != nil {
  4170  				return 0, err
  4171  			}
  4172  			i -= size
  4173  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4174  		}
  4175  		i--
  4176  		dAtA[i] = 0x1a
  4177  	}
  4178  	if m.CmdMethod != 0 {
  4179  		i = encodeVarintQuery(dAtA, i, uint64(m.CmdMethod))
  4180  		i--
  4181  		dAtA[i] = 0x10
  4182  	}
  4183  	if m.RequestID != 0 {
  4184  		i = encodeVarintQuery(dAtA, i, uint64(m.RequestID))
  4185  		i--
  4186  		dAtA[i] = 0x8
  4187  	}
  4188  	return len(dAtA) - i, nil
  4189  }
  4190  
  4191  func (m *ShowProcessListResponse) Marshal() (dAtA []byte, err error) {
  4192  	size := m.Size()
  4193  	dAtA = make([]byte, size)
  4194  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4195  	if err != nil {
  4196  		return nil, err
  4197  	}
  4198  	return dAtA[:n], nil
  4199  }
  4200  
  4201  func (m *ShowProcessListResponse) MarshalTo(dAtA []byte) (int, error) {
  4202  	size := m.Size()
  4203  	return m.MarshalToSizedBuffer(dAtA[:size])
  4204  }
  4205  
  4206  func (m *ShowProcessListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4207  	i := len(dAtA)
  4208  	_ = i
  4209  	var l int
  4210  	_ = l
  4211  	if len(m.Sessions) > 0 {
  4212  		for iNdEx := len(m.Sessions) - 1; iNdEx >= 0; iNdEx-- {
  4213  			{
  4214  				size, err := m.Sessions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  4215  				if err != nil {
  4216  					return 0, err
  4217  				}
  4218  				i -= size
  4219  				i = encodeVarintQuery(dAtA, i, uint64(size))
  4220  			}
  4221  			i--
  4222  			dAtA[i] = 0xa
  4223  		}
  4224  	}
  4225  	return len(dAtA) - i, nil
  4226  }
  4227  
  4228  func (m *Response) Marshal() (dAtA []byte, err error) {
  4229  	size := m.Size()
  4230  	dAtA = make([]byte, size)
  4231  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4232  	if err != nil {
  4233  		return nil, err
  4234  	}
  4235  	return dAtA[:n], nil
  4236  }
  4237  
  4238  func (m *Response) MarshalTo(dAtA []byte) (int, error) {
  4239  	size := m.Size()
  4240  	return m.MarshalToSizedBuffer(dAtA[:size])
  4241  }
  4242  
  4243  func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4244  	i := len(dAtA)
  4245  	_ = i
  4246  	var l int
  4247  	_ = l
  4248  	if m.MigrateConnToResponse != nil {
  4249  		{
  4250  			size, err := m.MigrateConnToResponse.MarshalToSizedBuffer(dAtA[:i])
  4251  			if err != nil {
  4252  				return 0, err
  4253  			}
  4254  			i -= size
  4255  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4256  		}
  4257  		i--
  4258  		dAtA[i] = 0x1
  4259  		i--
  4260  		dAtA[i] = 0xc2
  4261  	}
  4262  	if m.MigrateConnFromResponse != nil {
  4263  		{
  4264  			size, err := m.MigrateConnFromResponse.MarshalToSizedBuffer(dAtA[:i])
  4265  			if err != nil {
  4266  				return 0, err
  4267  			}
  4268  			i -= size
  4269  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4270  		}
  4271  		i--
  4272  		dAtA[i] = 0x1
  4273  		i--
  4274  		dAtA[i] = 0xba
  4275  	}
  4276  	if m.GetPipelineInfoResponse != nil {
  4277  		{
  4278  			size, err := m.GetPipelineInfoResponse.MarshalToSizedBuffer(dAtA[:i])
  4279  			if err != nil {
  4280  				return 0, err
  4281  			}
  4282  			i -= size
  4283  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4284  		}
  4285  		i--
  4286  		dAtA[i] = 0x1
  4287  		i--
  4288  		dAtA[i] = 0xb2
  4289  	}
  4290  	if m.GetStatsInfoResponse != nil {
  4291  		{
  4292  			size, err := m.GetStatsInfoResponse.MarshalToSizedBuffer(dAtA[:i])
  4293  			if err != nil {
  4294  				return 0, err
  4295  			}
  4296  			i -= size
  4297  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4298  		}
  4299  		i--
  4300  		dAtA[i] = 0x1
  4301  		i--
  4302  		dAtA[i] = 0xaa
  4303  	}
  4304  	if m.GetCacheDataResponse != nil {
  4305  		{
  4306  			size, err := m.GetCacheDataResponse.MarshalToSizedBuffer(dAtA[:i])
  4307  			if err != nil {
  4308  				return 0, err
  4309  			}
  4310  			i -= size
  4311  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4312  		}
  4313  		i--
  4314  		dAtA[i] = 0x1
  4315  		i--
  4316  		dAtA[i] = 0xa2
  4317  	}
  4318  	if m.UnsubscribeTable != nil {
  4319  		{
  4320  			size, err := m.UnsubscribeTable.MarshalToSizedBuffer(dAtA[:i])
  4321  			if err != nil {
  4322  				return 0, err
  4323  			}
  4324  			i -= size
  4325  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4326  		}
  4327  		i--
  4328  		dAtA[i] = 0x1
  4329  		i--
  4330  		dAtA[i] = 0x9a
  4331  	}
  4332  	if m.GetLatestBind != nil {
  4333  		{
  4334  			size, err := m.GetLatestBind.MarshalToSizedBuffer(dAtA[:i])
  4335  			if err != nil {
  4336  				return 0, err
  4337  			}
  4338  			i -= size
  4339  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4340  		}
  4341  		i--
  4342  		dAtA[i] = 0x1
  4343  		i--
  4344  		dAtA[i] = 0x92
  4345  	}
  4346  	if m.RemoveRemoteLockTable != nil {
  4347  		{
  4348  			size, err := m.RemoveRemoteLockTable.MarshalToSizedBuffer(dAtA[:i])
  4349  			if err != nil {
  4350  				return 0, err
  4351  			}
  4352  			i -= size
  4353  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4354  		}
  4355  		i--
  4356  		dAtA[i] = 0x1
  4357  		i--
  4358  		dAtA[i] = 0x8a
  4359  	}
  4360  	if m.RunTask != nil {
  4361  		{
  4362  			size, err := m.RunTask.MarshalToSizedBuffer(dAtA[:i])
  4363  			if err != nil {
  4364  				return 0, err
  4365  			}
  4366  			i -= size
  4367  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4368  		}
  4369  		i--
  4370  		dAtA[i] = 0x1
  4371  		i--
  4372  		dAtA[i] = 0x82
  4373  	}
  4374  	if m.CoreDumpConfig != nil {
  4375  		{
  4376  			size, err := m.CoreDumpConfig.MarshalToSizedBuffer(dAtA[:i])
  4377  			if err != nil {
  4378  				return 0, err
  4379  			}
  4380  			i -= size
  4381  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4382  		}
  4383  		i--
  4384  		dAtA[i] = 0x7a
  4385  	}
  4386  	if m.SetProtocolVersion != nil {
  4387  		{
  4388  			size, err := m.SetProtocolVersion.MarshalToSizedBuffer(dAtA[:i])
  4389  			if err != nil {
  4390  				return 0, err
  4391  			}
  4392  			i -= size
  4393  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4394  		}
  4395  		i--
  4396  		dAtA[i] = 0x72
  4397  	}
  4398  	if m.GetProtocolVersion != nil {
  4399  		{
  4400  			size, err := m.GetProtocolVersion.MarshalToSizedBuffer(dAtA[:i])
  4401  			if err != nil {
  4402  				return 0, err
  4403  			}
  4404  			i -= size
  4405  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4406  		}
  4407  		i--
  4408  		dAtA[i] = 0x6a
  4409  	}
  4410  	if m.GetCommit != nil {
  4411  		{
  4412  			size, err := m.GetCommit.MarshalToSizedBuffer(dAtA[:i])
  4413  			if err != nil {
  4414  				return 0, err
  4415  			}
  4416  			i -= size
  4417  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4418  		}
  4419  		i--
  4420  		dAtA[i] = 0x62
  4421  	}
  4422  	if m.SyncCommit != nil {
  4423  		{
  4424  			size, err := m.SyncCommit.MarshalToSizedBuffer(dAtA[:i])
  4425  			if err != nil {
  4426  				return 0, err
  4427  			}
  4428  			i -= size
  4429  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4430  		}
  4431  		i--
  4432  		dAtA[i] = 0x5a
  4433  	}
  4434  	if m.GetCacheInfoResponse != nil {
  4435  		{
  4436  			size, err := m.GetCacheInfoResponse.MarshalToSizedBuffer(dAtA[:i])
  4437  			if err != nil {
  4438  				return 0, err
  4439  			}
  4440  			i -= size
  4441  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4442  		}
  4443  		i--
  4444  		dAtA[i] = 0x52
  4445  	}
  4446  	if m.GetTxnInfoResponse != nil {
  4447  		{
  4448  			size, err := m.GetTxnInfoResponse.MarshalToSizedBuffer(dAtA[:i])
  4449  			if err != nil {
  4450  				return 0, err
  4451  			}
  4452  			i -= size
  4453  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4454  		}
  4455  		i--
  4456  		dAtA[i] = 0x4a
  4457  	}
  4458  	if m.GetLockInfoResponse != nil {
  4459  		{
  4460  			size, err := m.GetLockInfoResponse.MarshalToSizedBuffer(dAtA[:i])
  4461  			if err != nil {
  4462  				return 0, err
  4463  			}
  4464  			i -= size
  4465  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4466  		}
  4467  		i--
  4468  		dAtA[i] = 0x42
  4469  	}
  4470  	if m.TraceSpanResponse != nil {
  4471  		{
  4472  			size, err := m.TraceSpanResponse.MarshalToSizedBuffer(dAtA[:i])
  4473  			if err != nil {
  4474  				return 0, err
  4475  			}
  4476  			i -= size
  4477  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4478  		}
  4479  		i--
  4480  		dAtA[i] = 0x3a
  4481  	}
  4482  	if m.KillConnResponse != nil {
  4483  		{
  4484  			size, err := m.KillConnResponse.MarshalToSizedBuffer(dAtA[:i])
  4485  			if err != nil {
  4486  				return 0, err
  4487  			}
  4488  			i -= size
  4489  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4490  		}
  4491  		i--
  4492  		dAtA[i] = 0x32
  4493  	}
  4494  	if m.AlterAccountResponse != nil {
  4495  		{
  4496  			size, err := m.AlterAccountResponse.MarshalToSizedBuffer(dAtA[:i])
  4497  			if err != nil {
  4498  				return 0, err
  4499  			}
  4500  			i -= size
  4501  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4502  		}
  4503  		i--
  4504  		dAtA[i] = 0x2a
  4505  	}
  4506  	if m.ShowProcessListResponse != nil {
  4507  		{
  4508  			size, err := m.ShowProcessListResponse.MarshalToSizedBuffer(dAtA[:i])
  4509  			if err != nil {
  4510  				return 0, err
  4511  			}
  4512  			i -= size
  4513  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4514  		}
  4515  		i--
  4516  		dAtA[i] = 0x22
  4517  	}
  4518  	if len(m.Error) > 0 {
  4519  		i -= len(m.Error)
  4520  		copy(dAtA[i:], m.Error)
  4521  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Error)))
  4522  		i--
  4523  		dAtA[i] = 0x1a
  4524  	}
  4525  	if m.CmdMethod != 0 {
  4526  		i = encodeVarintQuery(dAtA, i, uint64(m.CmdMethod))
  4527  		i--
  4528  		dAtA[i] = 0x10
  4529  	}
  4530  	if m.RequestID != 0 {
  4531  		i = encodeVarintQuery(dAtA, i, uint64(m.RequestID))
  4532  		i--
  4533  		dAtA[i] = 0x8
  4534  	}
  4535  	return len(dAtA) - i, nil
  4536  }
  4537  
  4538  func (m *AlterAccountRequest) Marshal() (dAtA []byte, err error) {
  4539  	size := m.Size()
  4540  	dAtA = make([]byte, size)
  4541  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4542  	if err != nil {
  4543  		return nil, err
  4544  	}
  4545  	return dAtA[:n], nil
  4546  }
  4547  
  4548  func (m *AlterAccountRequest) MarshalTo(dAtA []byte) (int, error) {
  4549  	size := m.Size()
  4550  	return m.MarshalToSizedBuffer(dAtA[:size])
  4551  }
  4552  
  4553  func (m *AlterAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4554  	i := len(dAtA)
  4555  	_ = i
  4556  	var l int
  4557  	_ = l
  4558  	if len(m.Status) > 0 {
  4559  		i -= len(m.Status)
  4560  		copy(dAtA[i:], m.Status)
  4561  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Status)))
  4562  		i--
  4563  		dAtA[i] = 0x1a
  4564  	}
  4565  	if m.TenantId != 0 {
  4566  		i = encodeVarintQuery(dAtA, i, uint64(m.TenantId))
  4567  		i--
  4568  		dAtA[i] = 0x8
  4569  	}
  4570  	return len(dAtA) - i, nil
  4571  }
  4572  
  4573  func (m *AlterAccountResponse) Marshal() (dAtA []byte, err error) {
  4574  	size := m.Size()
  4575  	dAtA = make([]byte, size)
  4576  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4577  	if err != nil {
  4578  		return nil, err
  4579  	}
  4580  	return dAtA[:n], nil
  4581  }
  4582  
  4583  func (m *AlterAccountResponse) MarshalTo(dAtA []byte) (int, error) {
  4584  	size := m.Size()
  4585  	return m.MarshalToSizedBuffer(dAtA[:size])
  4586  }
  4587  
  4588  func (m *AlterAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4589  	i := len(dAtA)
  4590  	_ = i
  4591  	var l int
  4592  	_ = l
  4593  	if m.AlterSuccess {
  4594  		i--
  4595  		if m.AlterSuccess {
  4596  			dAtA[i] = 1
  4597  		} else {
  4598  			dAtA[i] = 0
  4599  		}
  4600  		i--
  4601  		dAtA[i] = 0x8
  4602  	}
  4603  	return len(dAtA) - i, nil
  4604  }
  4605  
  4606  func (m *KillConnRequest) Marshal() (dAtA []byte, err error) {
  4607  	size := m.Size()
  4608  	dAtA = make([]byte, size)
  4609  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4610  	if err != nil {
  4611  		return nil, err
  4612  	}
  4613  	return dAtA[:n], nil
  4614  }
  4615  
  4616  func (m *KillConnRequest) MarshalTo(dAtA []byte) (int, error) {
  4617  	size := m.Size()
  4618  	return m.MarshalToSizedBuffer(dAtA[:size])
  4619  }
  4620  
  4621  func (m *KillConnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4622  	i := len(dAtA)
  4623  	_ = i
  4624  	var l int
  4625  	_ = l
  4626  	if m.Version != 0 {
  4627  		i = encodeVarintQuery(dAtA, i, uint64(m.Version))
  4628  		i--
  4629  		dAtA[i] = 0x10
  4630  	}
  4631  	if m.AccountID != 0 {
  4632  		i = encodeVarintQuery(dAtA, i, uint64(m.AccountID))
  4633  		i--
  4634  		dAtA[i] = 0x8
  4635  	}
  4636  	return len(dAtA) - i, nil
  4637  }
  4638  
  4639  func (m *KillConnResponse) Marshal() (dAtA []byte, err error) {
  4640  	size := m.Size()
  4641  	dAtA = make([]byte, size)
  4642  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4643  	if err != nil {
  4644  		return nil, err
  4645  	}
  4646  	return dAtA[:n], nil
  4647  }
  4648  
  4649  func (m *KillConnResponse) MarshalTo(dAtA []byte) (int, error) {
  4650  	size := m.Size()
  4651  	return m.MarshalToSizedBuffer(dAtA[:size])
  4652  }
  4653  
  4654  func (m *KillConnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4655  	i := len(dAtA)
  4656  	_ = i
  4657  	var l int
  4658  	_ = l
  4659  	if m.Success {
  4660  		i--
  4661  		if m.Success {
  4662  			dAtA[i] = 1
  4663  		} else {
  4664  			dAtA[i] = 0
  4665  		}
  4666  		i--
  4667  		dAtA[i] = 0x8
  4668  	}
  4669  	return len(dAtA) - i, nil
  4670  }
  4671  
  4672  func (m *TraceSpanRequest) Marshal() (dAtA []byte, err error) {
  4673  	size := m.Size()
  4674  	dAtA = make([]byte, size)
  4675  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4676  	if err != nil {
  4677  		return nil, err
  4678  	}
  4679  	return dAtA[:n], nil
  4680  }
  4681  
  4682  func (m *TraceSpanRequest) MarshalTo(dAtA []byte) (int, error) {
  4683  	size := m.Size()
  4684  	return m.MarshalToSizedBuffer(dAtA[:size])
  4685  }
  4686  
  4687  func (m *TraceSpanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4688  	i := len(dAtA)
  4689  	_ = i
  4690  	var l int
  4691  	_ = l
  4692  	if m.Threshold != 0 {
  4693  		i = encodeVarintQuery(dAtA, i, uint64(m.Threshold))
  4694  		i--
  4695  		dAtA[i] = 0x18
  4696  	}
  4697  	if len(m.Spans) > 0 {
  4698  		i -= len(m.Spans)
  4699  		copy(dAtA[i:], m.Spans)
  4700  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Spans)))
  4701  		i--
  4702  		dAtA[i] = 0x12
  4703  	}
  4704  	if len(m.Cmd) > 0 {
  4705  		i -= len(m.Cmd)
  4706  		copy(dAtA[i:], m.Cmd)
  4707  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Cmd)))
  4708  		i--
  4709  		dAtA[i] = 0xa
  4710  	}
  4711  	return len(dAtA) - i, nil
  4712  }
  4713  
  4714  func (m *TraceSpanResponse) Marshal() (dAtA []byte, err error) {
  4715  	size := m.Size()
  4716  	dAtA = make([]byte, size)
  4717  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4718  	if err != nil {
  4719  		return nil, err
  4720  	}
  4721  	return dAtA[:n], nil
  4722  }
  4723  
  4724  func (m *TraceSpanResponse) MarshalTo(dAtA []byte) (int, error) {
  4725  	size := m.Size()
  4726  	return m.MarshalToSizedBuffer(dAtA[:size])
  4727  }
  4728  
  4729  func (m *TraceSpanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4730  	i := len(dAtA)
  4731  	_ = i
  4732  	var l int
  4733  	_ = l
  4734  	if len(m.Resp) > 0 {
  4735  		i -= len(m.Resp)
  4736  		copy(dAtA[i:], m.Resp)
  4737  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Resp)))
  4738  		i--
  4739  		dAtA[i] = 0xa
  4740  	}
  4741  	return len(dAtA) - i, nil
  4742  }
  4743  
  4744  func (m *GetLockInfoRequest) Marshal() (dAtA []byte, err error) {
  4745  	size := m.Size()
  4746  	dAtA = make([]byte, size)
  4747  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4748  	if err != nil {
  4749  		return nil, err
  4750  	}
  4751  	return dAtA[:n], nil
  4752  }
  4753  
  4754  func (m *GetLockInfoRequest) MarshalTo(dAtA []byte) (int, error) {
  4755  	size := m.Size()
  4756  	return m.MarshalToSizedBuffer(dAtA[:size])
  4757  }
  4758  
  4759  func (m *GetLockInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4760  	i := len(dAtA)
  4761  	_ = i
  4762  	var l int
  4763  	_ = l
  4764  	return len(dAtA) - i, nil
  4765  }
  4766  
  4767  func (m *LockInfo) Marshal() (dAtA []byte, err error) {
  4768  	size := m.Size()
  4769  	dAtA = make([]byte, size)
  4770  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4771  	if err != nil {
  4772  		return nil, err
  4773  	}
  4774  	return dAtA[:n], nil
  4775  }
  4776  
  4777  func (m *LockInfo) MarshalTo(dAtA []byte) (int, error) {
  4778  	size := m.Size()
  4779  	return m.MarshalToSizedBuffer(dAtA[:size])
  4780  }
  4781  
  4782  func (m *LockInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4783  	i := len(dAtA)
  4784  	_ = i
  4785  	var l int
  4786  	_ = l
  4787  	if len(m.Waiters) > 0 {
  4788  		for iNdEx := len(m.Waiters) - 1; iNdEx >= 0; iNdEx-- {
  4789  			{
  4790  				size, err := m.Waiters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  4791  				if err != nil {
  4792  					return 0, err
  4793  				}
  4794  				i -= size
  4795  				i = encodeVarintQuery(dAtA, i, uint64(size))
  4796  			}
  4797  			i--
  4798  			dAtA[i] = 0x32
  4799  		}
  4800  	}
  4801  	if len(m.Holders) > 0 {
  4802  		for iNdEx := len(m.Holders) - 1; iNdEx >= 0; iNdEx-- {
  4803  			{
  4804  				size, err := m.Holders[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  4805  				if err != nil {
  4806  					return 0, err
  4807  				}
  4808  				i -= size
  4809  				i = encodeVarintQuery(dAtA, i, uint64(size))
  4810  			}
  4811  			i--
  4812  			dAtA[i] = 0x2a
  4813  		}
  4814  	}
  4815  	if m.IsRangeLock {
  4816  		i--
  4817  		if m.IsRangeLock {
  4818  			dAtA[i] = 1
  4819  		} else {
  4820  			dAtA[i] = 0
  4821  		}
  4822  		i--
  4823  		dAtA[i] = 0x20
  4824  	}
  4825  	if m.LockMode != 0 {
  4826  		i = encodeVarintQuery(dAtA, i, uint64(m.LockMode))
  4827  		i--
  4828  		dAtA[i] = 0x18
  4829  	}
  4830  	if len(m.Keys) > 0 {
  4831  		for iNdEx := len(m.Keys) - 1; iNdEx >= 0; iNdEx-- {
  4832  			i -= len(m.Keys[iNdEx])
  4833  			copy(dAtA[i:], m.Keys[iNdEx])
  4834  			i = encodeVarintQuery(dAtA, i, uint64(len(m.Keys[iNdEx])))
  4835  			i--
  4836  			dAtA[i] = 0x12
  4837  		}
  4838  	}
  4839  	if m.TableId != 0 {
  4840  		i = encodeVarintQuery(dAtA, i, uint64(m.TableId))
  4841  		i--
  4842  		dAtA[i] = 0x8
  4843  	}
  4844  	return len(dAtA) - i, nil
  4845  }
  4846  
  4847  func (m *GetLockInfoResponse) Marshal() (dAtA []byte, err error) {
  4848  	size := m.Size()
  4849  	dAtA = make([]byte, size)
  4850  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4851  	if err != nil {
  4852  		return nil, err
  4853  	}
  4854  	return dAtA[:n], nil
  4855  }
  4856  
  4857  func (m *GetLockInfoResponse) MarshalTo(dAtA []byte) (int, error) {
  4858  	size := m.Size()
  4859  	return m.MarshalToSizedBuffer(dAtA[:size])
  4860  }
  4861  
  4862  func (m *GetLockInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4863  	i := len(dAtA)
  4864  	_ = i
  4865  	var l int
  4866  	_ = l
  4867  	if len(m.LockInfoList) > 0 {
  4868  		for iNdEx := len(m.LockInfoList) - 1; iNdEx >= 0; iNdEx-- {
  4869  			{
  4870  				size, err := m.LockInfoList[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  4871  				if err != nil {
  4872  					return 0, err
  4873  				}
  4874  				i -= size
  4875  				i = encodeVarintQuery(dAtA, i, uint64(size))
  4876  			}
  4877  			i--
  4878  			dAtA[i] = 0x12
  4879  		}
  4880  	}
  4881  	if len(m.CnId) > 0 {
  4882  		i -= len(m.CnId)
  4883  		copy(dAtA[i:], m.CnId)
  4884  		i = encodeVarintQuery(dAtA, i, uint64(len(m.CnId)))
  4885  		i--
  4886  		dAtA[i] = 0xa
  4887  	}
  4888  	return len(dAtA) - i, nil
  4889  }
  4890  
  4891  func (m *GetTxnInfoRequest) Marshal() (dAtA []byte, err error) {
  4892  	size := m.Size()
  4893  	dAtA = make([]byte, size)
  4894  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4895  	if err != nil {
  4896  		return nil, err
  4897  	}
  4898  	return dAtA[:n], nil
  4899  }
  4900  
  4901  func (m *GetTxnInfoRequest) MarshalTo(dAtA []byte) (int, error) {
  4902  	size := m.Size()
  4903  	return m.MarshalToSizedBuffer(dAtA[:size])
  4904  }
  4905  
  4906  func (m *GetTxnInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4907  	i := len(dAtA)
  4908  	_ = i
  4909  	var l int
  4910  	_ = l
  4911  	return len(dAtA) - i, nil
  4912  }
  4913  
  4914  func (m *TxnLockInfo) Marshal() (dAtA []byte, err error) {
  4915  	size := m.Size()
  4916  	dAtA = make([]byte, size)
  4917  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4918  	if err != nil {
  4919  		return nil, err
  4920  	}
  4921  	return dAtA[:n], nil
  4922  }
  4923  
  4924  func (m *TxnLockInfo) MarshalTo(dAtA []byte) (int, error) {
  4925  	size := m.Size()
  4926  	return m.MarshalToSizedBuffer(dAtA[:size])
  4927  }
  4928  
  4929  func (m *TxnLockInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4930  	i := len(dAtA)
  4931  	_ = i
  4932  	var l int
  4933  	_ = l
  4934  	if m.Options != nil {
  4935  		{
  4936  			size, err := m.Options.MarshalToSizedBuffer(dAtA[:i])
  4937  			if err != nil {
  4938  				return 0, err
  4939  			}
  4940  			i -= size
  4941  			i = encodeVarintQuery(dAtA, i, uint64(size))
  4942  		}
  4943  		i--
  4944  		dAtA[i] = 0x1a
  4945  	}
  4946  	if len(m.Rows) > 0 {
  4947  		for iNdEx := len(m.Rows) - 1; iNdEx >= 0; iNdEx-- {
  4948  			i -= len(m.Rows[iNdEx])
  4949  			copy(dAtA[i:], m.Rows[iNdEx])
  4950  			i = encodeVarintQuery(dAtA, i, uint64(len(m.Rows[iNdEx])))
  4951  			i--
  4952  			dAtA[i] = 0x12
  4953  		}
  4954  	}
  4955  	if m.TableId != 0 {
  4956  		i = encodeVarintQuery(dAtA, i, uint64(m.TableId))
  4957  		i--
  4958  		dAtA[i] = 0x8
  4959  	}
  4960  	return len(dAtA) - i, nil
  4961  }
  4962  
  4963  func (m *TxnInfo) Marshal() (dAtA []byte, err error) {
  4964  	size := m.Size()
  4965  	dAtA = make([]byte, size)
  4966  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4967  	if err != nil {
  4968  		return nil, err
  4969  	}
  4970  	return dAtA[:n], nil
  4971  }
  4972  
  4973  func (m *TxnInfo) MarshalTo(dAtA []byte) (int, error) {
  4974  	size := m.Size()
  4975  	return m.MarshalToSizedBuffer(dAtA[:size])
  4976  }
  4977  
  4978  func (m *TxnInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4979  	i := len(dAtA)
  4980  	_ = i
  4981  	var l int
  4982  	_ = l
  4983  	if len(m.WaitLocks) > 0 {
  4984  		for iNdEx := len(m.WaitLocks) - 1; iNdEx >= 0; iNdEx-- {
  4985  			{
  4986  				size, err := m.WaitLocks[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  4987  				if err != nil {
  4988  					return 0, err
  4989  				}
  4990  				i -= size
  4991  				i = encodeVarintQuery(dAtA, i, uint64(size))
  4992  			}
  4993  			i--
  4994  			dAtA[i] = 0x22
  4995  		}
  4996  	}
  4997  	if m.UserTxn {
  4998  		i--
  4999  		if m.UserTxn {
  5000  			dAtA[i] = 1
  5001  		} else {
  5002  			dAtA[i] = 0
  5003  		}
  5004  		i--
  5005  		dAtA[i] = 0x18
  5006  	}
  5007  	if m.Meta != nil {
  5008  		{
  5009  			size, err := m.Meta.MarshalToSizedBuffer(dAtA[:i])
  5010  			if err != nil {
  5011  				return 0, err
  5012  			}
  5013  			i -= size
  5014  			i = encodeVarintQuery(dAtA, i, uint64(size))
  5015  		}
  5016  		i--
  5017  		dAtA[i] = 0x12
  5018  	}
  5019  	n49, err49 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreateAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CreateAt):])
  5020  	if err49 != nil {
  5021  		return 0, err49
  5022  	}
  5023  	i -= n49
  5024  	i = encodeVarintQuery(dAtA, i, uint64(n49))
  5025  	i--
  5026  	dAtA[i] = 0xa
  5027  	return len(dAtA) - i, nil
  5028  }
  5029  
  5030  func (m *GetTxnInfoResponse) Marshal() (dAtA []byte, err error) {
  5031  	size := m.Size()
  5032  	dAtA = make([]byte, size)
  5033  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5034  	if err != nil {
  5035  		return nil, err
  5036  	}
  5037  	return dAtA[:n], nil
  5038  }
  5039  
  5040  func (m *GetTxnInfoResponse) MarshalTo(dAtA []byte) (int, error) {
  5041  	size := m.Size()
  5042  	return m.MarshalToSizedBuffer(dAtA[:size])
  5043  }
  5044  
  5045  func (m *GetTxnInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5046  	i := len(dAtA)
  5047  	_ = i
  5048  	var l int
  5049  	_ = l
  5050  	if len(m.TxnInfoList) > 0 {
  5051  		for iNdEx := len(m.TxnInfoList) - 1; iNdEx >= 0; iNdEx-- {
  5052  			{
  5053  				size, err := m.TxnInfoList[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5054  				if err != nil {
  5055  					return 0, err
  5056  				}
  5057  				i -= size
  5058  				i = encodeVarintQuery(dAtA, i, uint64(size))
  5059  			}
  5060  			i--
  5061  			dAtA[i] = 0x12
  5062  		}
  5063  	}
  5064  	if len(m.CnId) > 0 {
  5065  		i -= len(m.CnId)
  5066  		copy(dAtA[i:], m.CnId)
  5067  		i = encodeVarintQuery(dAtA, i, uint64(len(m.CnId)))
  5068  		i--
  5069  		dAtA[i] = 0xa
  5070  	}
  5071  	return len(dAtA) - i, nil
  5072  }
  5073  
  5074  func (m *GetCacheInfoRequest) Marshal() (dAtA []byte, err error) {
  5075  	size := m.Size()
  5076  	dAtA = make([]byte, size)
  5077  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5078  	if err != nil {
  5079  		return nil, err
  5080  	}
  5081  	return dAtA[:n], nil
  5082  }
  5083  
  5084  func (m *GetCacheInfoRequest) MarshalTo(dAtA []byte) (int, error) {
  5085  	size := m.Size()
  5086  	return m.MarshalToSizedBuffer(dAtA[:size])
  5087  }
  5088  
  5089  func (m *GetCacheInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5090  	i := len(dAtA)
  5091  	_ = i
  5092  	var l int
  5093  	_ = l
  5094  	return len(dAtA) - i, nil
  5095  }
  5096  
  5097  func (m *CacheInfo) Marshal() (dAtA []byte, err error) {
  5098  	size := m.Size()
  5099  	dAtA = make([]byte, size)
  5100  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5101  	if err != nil {
  5102  		return nil, err
  5103  	}
  5104  	return dAtA[:n], nil
  5105  }
  5106  
  5107  func (m *CacheInfo) MarshalTo(dAtA []byte) (int, error) {
  5108  	size := m.Size()
  5109  	return m.MarshalToSizedBuffer(dAtA[:size])
  5110  }
  5111  
  5112  func (m *CacheInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5113  	i := len(dAtA)
  5114  	_ = i
  5115  	var l int
  5116  	_ = l
  5117  	if m.HitRatio != 0 {
  5118  		i -= 4
  5119  		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.HitRatio))))
  5120  		i--
  5121  		dAtA[i] = 0x35
  5122  	}
  5123  	if m.Free != 0 {
  5124  		i = encodeVarintQuery(dAtA, i, uint64(m.Free))
  5125  		i--
  5126  		dAtA[i] = 0x28
  5127  	}
  5128  	if m.Used != 0 {
  5129  		i = encodeVarintQuery(dAtA, i, uint64(m.Used))
  5130  		i--
  5131  		dAtA[i] = 0x20
  5132  	}
  5133  	if len(m.CacheType) > 0 {
  5134  		i -= len(m.CacheType)
  5135  		copy(dAtA[i:], m.CacheType)
  5136  		i = encodeVarintQuery(dAtA, i, uint64(len(m.CacheType)))
  5137  		i--
  5138  		dAtA[i] = 0x1a
  5139  	}
  5140  	if len(m.NodeId) > 0 {
  5141  		i -= len(m.NodeId)
  5142  		copy(dAtA[i:], m.NodeId)
  5143  		i = encodeVarintQuery(dAtA, i, uint64(len(m.NodeId)))
  5144  		i--
  5145  		dAtA[i] = 0x12
  5146  	}
  5147  	if len(m.NodeType) > 0 {
  5148  		i -= len(m.NodeType)
  5149  		copy(dAtA[i:], m.NodeType)
  5150  		i = encodeVarintQuery(dAtA, i, uint64(len(m.NodeType)))
  5151  		i--
  5152  		dAtA[i] = 0xa
  5153  	}
  5154  	return len(dAtA) - i, nil
  5155  }
  5156  
  5157  func (m *GetCacheInfoResponse) Marshal() (dAtA []byte, err error) {
  5158  	size := m.Size()
  5159  	dAtA = make([]byte, size)
  5160  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5161  	if err != nil {
  5162  		return nil, err
  5163  	}
  5164  	return dAtA[:n], nil
  5165  }
  5166  
  5167  func (m *GetCacheInfoResponse) MarshalTo(dAtA []byte) (int, error) {
  5168  	size := m.Size()
  5169  	return m.MarshalToSizedBuffer(dAtA[:size])
  5170  }
  5171  
  5172  func (m *GetCacheInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5173  	i := len(dAtA)
  5174  	_ = i
  5175  	var l int
  5176  	_ = l
  5177  	if len(m.CacheInfoList) > 0 {
  5178  		for iNdEx := len(m.CacheInfoList) - 1; iNdEx >= 0; iNdEx-- {
  5179  			{
  5180  				size, err := m.CacheInfoList[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5181  				if err != nil {
  5182  					return 0, err
  5183  				}
  5184  				i -= size
  5185  				i = encodeVarintQuery(dAtA, i, uint64(size))
  5186  			}
  5187  			i--
  5188  			dAtA[i] = 0xa
  5189  		}
  5190  	}
  5191  	return len(dAtA) - i, nil
  5192  }
  5193  
  5194  func (m *RemoveRemoteLockTableRequest) Marshal() (dAtA []byte, err error) {
  5195  	size := m.Size()
  5196  	dAtA = make([]byte, size)
  5197  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5198  	if err != nil {
  5199  		return nil, err
  5200  	}
  5201  	return dAtA[:n], nil
  5202  }
  5203  
  5204  func (m *RemoveRemoteLockTableRequest) MarshalTo(dAtA []byte) (int, error) {
  5205  	size := m.Size()
  5206  	return m.MarshalToSizedBuffer(dAtA[:size])
  5207  }
  5208  
  5209  func (m *RemoveRemoteLockTableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5210  	i := len(dAtA)
  5211  	_ = i
  5212  	var l int
  5213  	_ = l
  5214  	if m.Version != 0 {
  5215  		i = encodeVarintQuery(dAtA, i, uint64(m.Version))
  5216  		i--
  5217  		dAtA[i] = 0x18
  5218  	}
  5219  	if m.TableID != 0 {
  5220  		i = encodeVarintQuery(dAtA, i, uint64(m.TableID))
  5221  		i--
  5222  		dAtA[i] = 0x10
  5223  	}
  5224  	if m.GroupID != 0 {
  5225  		i = encodeVarintQuery(dAtA, i, uint64(m.GroupID))
  5226  		i--
  5227  		dAtA[i] = 0x8
  5228  	}
  5229  	return len(dAtA) - i, nil
  5230  }
  5231  
  5232  func (m *RemoveRemoteLockTableResponse) Marshal() (dAtA []byte, err error) {
  5233  	size := m.Size()
  5234  	dAtA = make([]byte, size)
  5235  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5236  	if err != nil {
  5237  		return nil, err
  5238  	}
  5239  	return dAtA[:n], nil
  5240  }
  5241  
  5242  func (m *RemoveRemoteLockTableResponse) MarshalTo(dAtA []byte) (int, error) {
  5243  	size := m.Size()
  5244  	return m.MarshalToSizedBuffer(dAtA[:size])
  5245  }
  5246  
  5247  func (m *RemoveRemoteLockTableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5248  	i := len(dAtA)
  5249  	_ = i
  5250  	var l int
  5251  	_ = l
  5252  	if m.Count != 0 {
  5253  		i = encodeVarintQuery(dAtA, i, uint64(m.Count))
  5254  		i--
  5255  		dAtA[i] = 0x8
  5256  	}
  5257  	return len(dAtA) - i, nil
  5258  }
  5259  
  5260  func (m *GetLatestBindRequest) Marshal() (dAtA []byte, err error) {
  5261  	size := m.Size()
  5262  	dAtA = make([]byte, size)
  5263  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5264  	if err != nil {
  5265  		return nil, err
  5266  	}
  5267  	return dAtA[:n], nil
  5268  }
  5269  
  5270  func (m *GetLatestBindRequest) MarshalTo(dAtA []byte) (int, error) {
  5271  	size := m.Size()
  5272  	return m.MarshalToSizedBuffer(dAtA[:size])
  5273  }
  5274  
  5275  func (m *GetLatestBindRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5276  	i := len(dAtA)
  5277  	_ = i
  5278  	var l int
  5279  	_ = l
  5280  	if m.TableID != 0 {
  5281  		i = encodeVarintQuery(dAtA, i, uint64(m.TableID))
  5282  		i--
  5283  		dAtA[i] = 0x10
  5284  	}
  5285  	if m.GroupID != 0 {
  5286  		i = encodeVarintQuery(dAtA, i, uint64(m.GroupID))
  5287  		i--
  5288  		dAtA[i] = 0x8
  5289  	}
  5290  	return len(dAtA) - i, nil
  5291  }
  5292  
  5293  func (m *GetLatestBindResponse) Marshal() (dAtA []byte, err error) {
  5294  	size := m.Size()
  5295  	dAtA = make([]byte, size)
  5296  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5297  	if err != nil {
  5298  		return nil, err
  5299  	}
  5300  	return dAtA[:n], nil
  5301  }
  5302  
  5303  func (m *GetLatestBindResponse) MarshalTo(dAtA []byte) (int, error) {
  5304  	size := m.Size()
  5305  	return m.MarshalToSizedBuffer(dAtA[:size])
  5306  }
  5307  
  5308  func (m *GetLatestBindResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5309  	i := len(dAtA)
  5310  	_ = i
  5311  	var l int
  5312  	_ = l
  5313  	if len(m.Bind) > 0 {
  5314  		i -= len(m.Bind)
  5315  		copy(dAtA[i:], m.Bind)
  5316  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Bind)))
  5317  		i--
  5318  		dAtA[i] = 0xa
  5319  	}
  5320  	return len(dAtA) - i, nil
  5321  }
  5322  
  5323  func (m *UnsubscribeTableRequest) Marshal() (dAtA []byte, err error) {
  5324  	size := m.Size()
  5325  	dAtA = make([]byte, size)
  5326  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5327  	if err != nil {
  5328  		return nil, err
  5329  	}
  5330  	return dAtA[:n], nil
  5331  }
  5332  
  5333  func (m *UnsubscribeTableRequest) MarshalTo(dAtA []byte) (int, error) {
  5334  	size := m.Size()
  5335  	return m.MarshalToSizedBuffer(dAtA[:size])
  5336  }
  5337  
  5338  func (m *UnsubscribeTableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5339  	i := len(dAtA)
  5340  	_ = i
  5341  	var l int
  5342  	_ = l
  5343  	if m.TableID != 0 {
  5344  		i = encodeVarintQuery(dAtA, i, uint64(m.TableID))
  5345  		i--
  5346  		dAtA[i] = 0x10
  5347  	}
  5348  	if m.DatabaseID != 0 {
  5349  		i = encodeVarintQuery(dAtA, i, uint64(m.DatabaseID))
  5350  		i--
  5351  		dAtA[i] = 0x8
  5352  	}
  5353  	return len(dAtA) - i, nil
  5354  }
  5355  
  5356  func (m *UnsubscribeTableResponse) Marshal() (dAtA []byte, err error) {
  5357  	size := m.Size()
  5358  	dAtA = make([]byte, size)
  5359  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5360  	if err != nil {
  5361  		return nil, err
  5362  	}
  5363  	return dAtA[:n], nil
  5364  }
  5365  
  5366  func (m *UnsubscribeTableResponse) MarshalTo(dAtA []byte) (int, error) {
  5367  	size := m.Size()
  5368  	return m.MarshalToSizedBuffer(dAtA[:size])
  5369  }
  5370  
  5371  func (m *UnsubscribeTableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5372  	i := len(dAtA)
  5373  	_ = i
  5374  	var l int
  5375  	_ = l
  5376  	if m.Success {
  5377  		i--
  5378  		if m.Success {
  5379  			dAtA[i] = 1
  5380  		} else {
  5381  			dAtA[i] = 0
  5382  		}
  5383  		i--
  5384  		dAtA[i] = 0x8
  5385  	}
  5386  	return len(dAtA) - i, nil
  5387  }
  5388  
  5389  func (m *CacheKey) Marshal() (dAtA []byte, err error) {
  5390  	size := m.Size()
  5391  	dAtA = make([]byte, size)
  5392  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5393  	if err != nil {
  5394  		return nil, err
  5395  	}
  5396  	return dAtA[:n], nil
  5397  }
  5398  
  5399  func (m *CacheKey) MarshalTo(dAtA []byte) (int, error) {
  5400  	size := m.Size()
  5401  	return m.MarshalToSizedBuffer(dAtA[:size])
  5402  }
  5403  
  5404  func (m *CacheKey) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5405  	i := len(dAtA)
  5406  	_ = i
  5407  	var l int
  5408  	_ = l
  5409  	if m.Sz != 0 {
  5410  		i = encodeVarintQuery(dAtA, i, uint64(m.Sz))
  5411  		i--
  5412  		dAtA[i] = 0x18
  5413  	}
  5414  	if m.Offset != 0 {
  5415  		i = encodeVarintQuery(dAtA, i, uint64(m.Offset))
  5416  		i--
  5417  		dAtA[i] = 0x10
  5418  	}
  5419  	if len(m.Path) > 0 {
  5420  		i -= len(m.Path)
  5421  		copy(dAtA[i:], m.Path)
  5422  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Path)))
  5423  		i--
  5424  		dAtA[i] = 0xa
  5425  	}
  5426  	return len(dAtA) - i, nil
  5427  }
  5428  
  5429  func (m *CacheKeys) Marshal() (dAtA []byte, err error) {
  5430  	size := m.Size()
  5431  	dAtA = make([]byte, size)
  5432  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5433  	if err != nil {
  5434  		return nil, err
  5435  	}
  5436  	return dAtA[:n], nil
  5437  }
  5438  
  5439  func (m *CacheKeys) MarshalTo(dAtA []byte) (int, error) {
  5440  	size := m.Size()
  5441  	return m.MarshalToSizedBuffer(dAtA[:size])
  5442  }
  5443  
  5444  func (m *CacheKeys) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5445  	i := len(dAtA)
  5446  	_ = i
  5447  	var l int
  5448  	_ = l
  5449  	if len(m.Keys) > 0 {
  5450  		for iNdEx := len(m.Keys) - 1; iNdEx >= 0; iNdEx-- {
  5451  			{
  5452  				size, err := m.Keys[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5453  				if err != nil {
  5454  					return 0, err
  5455  				}
  5456  				i -= size
  5457  				i = encodeVarintQuery(dAtA, i, uint64(size))
  5458  			}
  5459  			i--
  5460  			dAtA[i] = 0xa
  5461  		}
  5462  	}
  5463  	return len(dAtA) - i, nil
  5464  }
  5465  
  5466  func (m *RequestCacheKey) Marshal() (dAtA []byte, err error) {
  5467  	size := m.Size()
  5468  	dAtA = make([]byte, size)
  5469  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5470  	if err != nil {
  5471  		return nil, err
  5472  	}
  5473  	return dAtA[:n], nil
  5474  }
  5475  
  5476  func (m *RequestCacheKey) MarshalTo(dAtA []byte) (int, error) {
  5477  	size := m.Size()
  5478  	return m.MarshalToSizedBuffer(dAtA[:size])
  5479  }
  5480  
  5481  func (m *RequestCacheKey) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5482  	i := len(dAtA)
  5483  	_ = i
  5484  	var l int
  5485  	_ = l
  5486  	if m.CacheKey != nil {
  5487  		{
  5488  			size, err := m.CacheKey.MarshalToSizedBuffer(dAtA[:i])
  5489  			if err != nil {
  5490  				return 0, err
  5491  			}
  5492  			i -= size
  5493  			i = encodeVarintQuery(dAtA, i, uint64(size))
  5494  		}
  5495  		i--
  5496  		dAtA[i] = 0x12
  5497  	}
  5498  	if m.Index != 0 {
  5499  		i = encodeVarintQuery(dAtA, i, uint64(m.Index))
  5500  		i--
  5501  		dAtA[i] = 0x8
  5502  	}
  5503  	return len(dAtA) - i, nil
  5504  }
  5505  
  5506  func (m *GetCacheDataRequest) Marshal() (dAtA []byte, err error) {
  5507  	size := m.Size()
  5508  	dAtA = make([]byte, size)
  5509  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5510  	if err != nil {
  5511  		return nil, err
  5512  	}
  5513  	return dAtA[:n], nil
  5514  }
  5515  
  5516  func (m *GetCacheDataRequest) MarshalTo(dAtA []byte) (int, error) {
  5517  	size := m.Size()
  5518  	return m.MarshalToSizedBuffer(dAtA[:size])
  5519  }
  5520  
  5521  func (m *GetCacheDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5522  	i := len(dAtA)
  5523  	_ = i
  5524  	var l int
  5525  	_ = l
  5526  	if len(m.RequestCacheKey) > 0 {
  5527  		for iNdEx := len(m.RequestCacheKey) - 1; iNdEx >= 0; iNdEx-- {
  5528  			{
  5529  				size, err := m.RequestCacheKey[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5530  				if err != nil {
  5531  					return 0, err
  5532  				}
  5533  				i -= size
  5534  				i = encodeVarintQuery(dAtA, i, uint64(size))
  5535  			}
  5536  			i--
  5537  			dAtA[i] = 0xa
  5538  		}
  5539  	}
  5540  	return len(dAtA) - i, nil
  5541  }
  5542  
  5543  func (m *ResponseCacheData) Marshal() (dAtA []byte, err error) {
  5544  	size := m.Size()
  5545  	dAtA = make([]byte, size)
  5546  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5547  	if err != nil {
  5548  		return nil, err
  5549  	}
  5550  	return dAtA[:n], nil
  5551  }
  5552  
  5553  func (m *ResponseCacheData) MarshalTo(dAtA []byte) (int, error) {
  5554  	size := m.Size()
  5555  	return m.MarshalToSizedBuffer(dAtA[:size])
  5556  }
  5557  
  5558  func (m *ResponseCacheData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5559  	i := len(dAtA)
  5560  	_ = i
  5561  	var l int
  5562  	_ = l
  5563  	if len(m.Data) > 0 {
  5564  		i -= len(m.Data)
  5565  		copy(dAtA[i:], m.Data)
  5566  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Data)))
  5567  		i--
  5568  		dAtA[i] = 0x1a
  5569  	}
  5570  	if m.Hit {
  5571  		i--
  5572  		if m.Hit {
  5573  			dAtA[i] = 1
  5574  		} else {
  5575  			dAtA[i] = 0
  5576  		}
  5577  		i--
  5578  		dAtA[i] = 0x10
  5579  	}
  5580  	if m.Index != 0 {
  5581  		i = encodeVarintQuery(dAtA, i, uint64(m.Index))
  5582  		i--
  5583  		dAtA[i] = 0x8
  5584  	}
  5585  	return len(dAtA) - i, nil
  5586  }
  5587  
  5588  func (m *GetCacheDataResponse) Marshal() (dAtA []byte, err error) {
  5589  	size := m.Size()
  5590  	dAtA = make([]byte, size)
  5591  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5592  	if err != nil {
  5593  		return nil, err
  5594  	}
  5595  	return dAtA[:n], nil
  5596  }
  5597  
  5598  func (m *GetCacheDataResponse) MarshalTo(dAtA []byte) (int, error) {
  5599  	size := m.Size()
  5600  	return m.MarshalToSizedBuffer(dAtA[:size])
  5601  }
  5602  
  5603  func (m *GetCacheDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5604  	i := len(dAtA)
  5605  	_ = i
  5606  	var l int
  5607  	_ = l
  5608  	if len(m.ResponseCacheData) > 0 {
  5609  		for iNdEx := len(m.ResponseCacheData) - 1; iNdEx >= 0; iNdEx-- {
  5610  			{
  5611  				size, err := m.ResponseCacheData[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5612  				if err != nil {
  5613  					return 0, err
  5614  				}
  5615  				i -= size
  5616  				i = encodeVarintQuery(dAtA, i, uint64(size))
  5617  			}
  5618  			i--
  5619  			dAtA[i] = 0xa
  5620  		}
  5621  	}
  5622  	return len(dAtA) - i, nil
  5623  }
  5624  
  5625  func (m *GetStatsInfoRequest) Marshal() (dAtA []byte, err error) {
  5626  	size := m.Size()
  5627  	dAtA = make([]byte, size)
  5628  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5629  	if err != nil {
  5630  		return nil, err
  5631  	}
  5632  	return dAtA[:n], nil
  5633  }
  5634  
  5635  func (m *GetStatsInfoRequest) MarshalTo(dAtA []byte) (int, error) {
  5636  	size := m.Size()
  5637  	return m.MarshalToSizedBuffer(dAtA[:size])
  5638  }
  5639  
  5640  func (m *GetStatsInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5641  	i := len(dAtA)
  5642  	_ = i
  5643  	var l int
  5644  	_ = l
  5645  	if m.StatsInfoKey != nil {
  5646  		{
  5647  			size, err := m.StatsInfoKey.MarshalToSizedBuffer(dAtA[:i])
  5648  			if err != nil {
  5649  				return 0, err
  5650  			}
  5651  			i -= size
  5652  			i = encodeVarintQuery(dAtA, i, uint64(size))
  5653  		}
  5654  		i--
  5655  		dAtA[i] = 0xa
  5656  	}
  5657  	return len(dAtA) - i, nil
  5658  }
  5659  
  5660  func (m *GetStatsInfoResponse) Marshal() (dAtA []byte, err error) {
  5661  	size := m.Size()
  5662  	dAtA = make([]byte, size)
  5663  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5664  	if err != nil {
  5665  		return nil, err
  5666  	}
  5667  	return dAtA[:n], nil
  5668  }
  5669  
  5670  func (m *GetStatsInfoResponse) MarshalTo(dAtA []byte) (int, error) {
  5671  	size := m.Size()
  5672  	return m.MarshalToSizedBuffer(dAtA[:size])
  5673  }
  5674  
  5675  func (m *GetStatsInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5676  	i := len(dAtA)
  5677  	_ = i
  5678  	var l int
  5679  	_ = l
  5680  	if m.StatsInfo != nil {
  5681  		{
  5682  			size, err := m.StatsInfo.MarshalToSizedBuffer(dAtA[:i])
  5683  			if err != nil {
  5684  				return 0, err
  5685  			}
  5686  			i -= size
  5687  			i = encodeVarintQuery(dAtA, i, uint64(size))
  5688  		}
  5689  		i--
  5690  		dAtA[i] = 0xa
  5691  	}
  5692  	return len(dAtA) - i, nil
  5693  }
  5694  
  5695  func (m *PrepareStmt) Marshal() (dAtA []byte, err error) {
  5696  	size := m.Size()
  5697  	dAtA = make([]byte, size)
  5698  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5699  	if err != nil {
  5700  		return nil, err
  5701  	}
  5702  	return dAtA[:n], nil
  5703  }
  5704  
  5705  func (m *PrepareStmt) MarshalTo(dAtA []byte) (int, error) {
  5706  	size := m.Size()
  5707  	return m.MarshalToSizedBuffer(dAtA[:size])
  5708  }
  5709  
  5710  func (m *PrepareStmt) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5711  	i := len(dAtA)
  5712  	_ = i
  5713  	var l int
  5714  	_ = l
  5715  	if len(m.ParamTypes) > 0 {
  5716  		i -= len(m.ParamTypes)
  5717  		copy(dAtA[i:], m.ParamTypes)
  5718  		i = encodeVarintQuery(dAtA, i, uint64(len(m.ParamTypes)))
  5719  		i--
  5720  		dAtA[i] = 0x1a
  5721  	}
  5722  	if len(m.SQL) > 0 {
  5723  		i -= len(m.SQL)
  5724  		copy(dAtA[i:], m.SQL)
  5725  		i = encodeVarintQuery(dAtA, i, uint64(len(m.SQL)))
  5726  		i--
  5727  		dAtA[i] = 0x12
  5728  	}
  5729  	if len(m.Name) > 0 {
  5730  		i -= len(m.Name)
  5731  		copy(dAtA[i:], m.Name)
  5732  		i = encodeVarintQuery(dAtA, i, uint64(len(m.Name)))
  5733  		i--
  5734  		dAtA[i] = 0xa
  5735  	}
  5736  	return len(dAtA) - i, nil
  5737  }
  5738  
  5739  func (m *MigrateConnFromRequest) Marshal() (dAtA []byte, err error) {
  5740  	size := m.Size()
  5741  	dAtA = make([]byte, size)
  5742  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5743  	if err != nil {
  5744  		return nil, err
  5745  	}
  5746  	return dAtA[:n], nil
  5747  }
  5748  
  5749  func (m *MigrateConnFromRequest) MarshalTo(dAtA []byte) (int, error) {
  5750  	size := m.Size()
  5751  	return m.MarshalToSizedBuffer(dAtA[:size])
  5752  }
  5753  
  5754  func (m *MigrateConnFromRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5755  	i := len(dAtA)
  5756  	_ = i
  5757  	var l int
  5758  	_ = l
  5759  	if m.ConnID != 0 {
  5760  		i = encodeVarintQuery(dAtA, i, uint64(m.ConnID))
  5761  		i--
  5762  		dAtA[i] = 0x8
  5763  	}
  5764  	return len(dAtA) - i, nil
  5765  }
  5766  
  5767  func (m *MigrateConnFromResponse) Marshal() (dAtA []byte, err error) {
  5768  	size := m.Size()
  5769  	dAtA = make([]byte, size)
  5770  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5771  	if err != nil {
  5772  		return nil, err
  5773  	}
  5774  	return dAtA[:n], nil
  5775  }
  5776  
  5777  func (m *MigrateConnFromResponse) MarshalTo(dAtA []byte) (int, error) {
  5778  	size := m.Size()
  5779  	return m.MarshalToSizedBuffer(dAtA[:size])
  5780  }
  5781  
  5782  func (m *MigrateConnFromResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5783  	i := len(dAtA)
  5784  	_ = i
  5785  	var l int
  5786  	_ = l
  5787  	if len(m.PrepareStmts) > 0 {
  5788  		for iNdEx := len(m.PrepareStmts) - 1; iNdEx >= 0; iNdEx-- {
  5789  			{
  5790  				size, err := m.PrepareStmts[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5791  				if err != nil {
  5792  					return 0, err
  5793  				}
  5794  				i -= size
  5795  				i = encodeVarintQuery(dAtA, i, uint64(size))
  5796  			}
  5797  			i--
  5798  			dAtA[i] = 0x12
  5799  		}
  5800  	}
  5801  	if len(m.DB) > 0 {
  5802  		i -= len(m.DB)
  5803  		copy(dAtA[i:], m.DB)
  5804  		i = encodeVarintQuery(dAtA, i, uint64(len(m.DB)))
  5805  		i--
  5806  		dAtA[i] = 0xa
  5807  	}
  5808  	return len(dAtA) - i, nil
  5809  }
  5810  
  5811  func (m *MigrateConnToRequest) Marshal() (dAtA []byte, err error) {
  5812  	size := m.Size()
  5813  	dAtA = make([]byte, size)
  5814  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5815  	if err != nil {
  5816  		return nil, err
  5817  	}
  5818  	return dAtA[:n], nil
  5819  }
  5820  
  5821  func (m *MigrateConnToRequest) MarshalTo(dAtA []byte) (int, error) {
  5822  	size := m.Size()
  5823  	return m.MarshalToSizedBuffer(dAtA[:size])
  5824  }
  5825  
  5826  func (m *MigrateConnToRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5827  	i := len(dAtA)
  5828  	_ = i
  5829  	var l int
  5830  	_ = l
  5831  	if len(m.PrepareStmts) > 0 {
  5832  		for iNdEx := len(m.PrepareStmts) - 1; iNdEx >= 0; iNdEx-- {
  5833  			{
  5834  				size, err := m.PrepareStmts[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5835  				if err != nil {
  5836  					return 0, err
  5837  				}
  5838  				i -= size
  5839  				i = encodeVarintQuery(dAtA, i, uint64(size))
  5840  			}
  5841  			i--
  5842  			dAtA[i] = 0x22
  5843  		}
  5844  	}
  5845  	if len(m.SetVarStmts) > 0 {
  5846  		for iNdEx := len(m.SetVarStmts) - 1; iNdEx >= 0; iNdEx-- {
  5847  			i -= len(m.SetVarStmts[iNdEx])
  5848  			copy(dAtA[i:], m.SetVarStmts[iNdEx])
  5849  			i = encodeVarintQuery(dAtA, i, uint64(len(m.SetVarStmts[iNdEx])))
  5850  			i--
  5851  			dAtA[i] = 0x1a
  5852  		}
  5853  	}
  5854  	if len(m.DB) > 0 {
  5855  		i -= len(m.DB)
  5856  		copy(dAtA[i:], m.DB)
  5857  		i = encodeVarintQuery(dAtA, i, uint64(len(m.DB)))
  5858  		i--
  5859  		dAtA[i] = 0x12
  5860  	}
  5861  	if m.ConnID != 0 {
  5862  		i = encodeVarintQuery(dAtA, i, uint64(m.ConnID))
  5863  		i--
  5864  		dAtA[i] = 0x8
  5865  	}
  5866  	return len(dAtA) - i, nil
  5867  }
  5868  
  5869  func (m *MigrateConnToResponse) Marshal() (dAtA []byte, err error) {
  5870  	size := m.Size()
  5871  	dAtA = make([]byte, size)
  5872  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5873  	if err != nil {
  5874  		return nil, err
  5875  	}
  5876  	return dAtA[:n], nil
  5877  }
  5878  
  5879  func (m *MigrateConnToResponse) MarshalTo(dAtA []byte) (int, error) {
  5880  	size := m.Size()
  5881  	return m.MarshalToSizedBuffer(dAtA[:size])
  5882  }
  5883  
  5884  func (m *MigrateConnToResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5885  	i := len(dAtA)
  5886  	_ = i
  5887  	var l int
  5888  	_ = l
  5889  	if m.Success {
  5890  		i--
  5891  		if m.Success {
  5892  			dAtA[i] = 1
  5893  		} else {
  5894  			dAtA[i] = 0
  5895  		}
  5896  		i--
  5897  		dAtA[i] = 0x8
  5898  	}
  5899  	return len(dAtA) - i, nil
  5900  }
  5901  
  5902  func encodeVarintQuery(dAtA []byte, offset int, v uint64) int {
  5903  	offset -= sovQuery(v)
  5904  	base := offset
  5905  	for v >= 1<<7 {
  5906  		dAtA[offset] = uint8(v&0x7f | 0x80)
  5907  		v >>= 7
  5908  		offset++
  5909  	}
  5910  	dAtA[offset] = uint8(v)
  5911  	return base
  5912  }
  5913  func (m *QueryRequest) Size() (n int) {
  5914  	if m == nil {
  5915  		return 0
  5916  	}
  5917  	var l int
  5918  	_ = l
  5919  	l = len(m.Query)
  5920  	if l > 0 {
  5921  		n += 1 + l + sovQuery(uint64(l))
  5922  	}
  5923  	return n
  5924  }
  5925  
  5926  func (m *ShowProcessListRequest) Size() (n int) {
  5927  	if m == nil {
  5928  		return 0
  5929  	}
  5930  	var l int
  5931  	_ = l
  5932  	l = len(m.Tenant)
  5933  	if l > 0 {
  5934  		n += 1 + l + sovQuery(uint64(l))
  5935  	}
  5936  	if m.SysTenant {
  5937  		n += 2
  5938  	}
  5939  	return n
  5940  }
  5941  
  5942  func (m *SyncCommitRequest) Size() (n int) {
  5943  	if m == nil {
  5944  		return 0
  5945  	}
  5946  	var l int
  5947  	_ = l
  5948  	l = m.LatestCommitTS.Size()
  5949  	n += 1 + l + sovQuery(uint64(l))
  5950  	return n
  5951  }
  5952  
  5953  func (m *SyncCommitResponse) Size() (n int) {
  5954  	if m == nil {
  5955  		return 0
  5956  	}
  5957  	var l int
  5958  	_ = l
  5959  	l = m.CurrentCommitTS.Size()
  5960  	n += 1 + l + sovQuery(uint64(l))
  5961  	return n
  5962  }
  5963  
  5964  func (m *GetCommitRequest) Size() (n int) {
  5965  	if m == nil {
  5966  		return 0
  5967  	}
  5968  	var l int
  5969  	_ = l
  5970  	return n
  5971  }
  5972  
  5973  func (m *GetCommitResponse) Size() (n int) {
  5974  	if m == nil {
  5975  		return 0
  5976  	}
  5977  	var l int
  5978  	_ = l
  5979  	l = m.CurrentCommitTS.Size()
  5980  	n += 1 + l + sovQuery(uint64(l))
  5981  	return n
  5982  }
  5983  
  5984  func (m *CoreDumpConfigRequest) Size() (n int) {
  5985  	if m == nil {
  5986  		return 0
  5987  	}
  5988  	var l int
  5989  	_ = l
  5990  	l = len(m.Action)
  5991  	if l > 0 {
  5992  		n += 1 + l + sovQuery(uint64(l))
  5993  	}
  5994  	return n
  5995  }
  5996  
  5997  func (m *CoreDumpConfigResponse) Size() (n int) {
  5998  	if m == nil {
  5999  		return 0
  6000  	}
  6001  	var l int
  6002  	_ = l
  6003  	return n
  6004  }
  6005  
  6006  func (m *GetProtocolVersionRequest) Size() (n int) {
  6007  	if m == nil {
  6008  		return 0
  6009  	}
  6010  	var l int
  6011  	_ = l
  6012  	return n
  6013  }
  6014  
  6015  func (m *GetProtocolVersionResponse) Size() (n int) {
  6016  	if m == nil {
  6017  		return 0
  6018  	}
  6019  	var l int
  6020  	_ = l
  6021  	if m.Version != 0 {
  6022  		n += 1 + sovQuery(uint64(m.Version))
  6023  	}
  6024  	return n
  6025  }
  6026  
  6027  func (m *SetProtocolVersionRequest) Size() (n int) {
  6028  	if m == nil {
  6029  		return 0
  6030  	}
  6031  	var l int
  6032  	_ = l
  6033  	if m.Version != 0 {
  6034  		n += 1 + sovQuery(uint64(m.Version))
  6035  	}
  6036  	return n
  6037  }
  6038  
  6039  func (m *SetProtocolVersionResponse) Size() (n int) {
  6040  	if m == nil {
  6041  		return 0
  6042  	}
  6043  	var l int
  6044  	_ = l
  6045  	if m.Version != 0 {
  6046  		n += 1 + sovQuery(uint64(m.Version))
  6047  	}
  6048  	return n
  6049  }
  6050  
  6051  func (m *RunTaskRequest) Size() (n int) {
  6052  	if m == nil {
  6053  		return 0
  6054  	}
  6055  	var l int
  6056  	_ = l
  6057  	if m.TaskCode != 0 {
  6058  		n += 1 + sovQuery(uint64(m.TaskCode))
  6059  	}
  6060  	return n
  6061  }
  6062  
  6063  func (m *RunTaskResponse) Size() (n int) {
  6064  	if m == nil {
  6065  		return 0
  6066  	}
  6067  	var l int
  6068  	_ = l
  6069  	l = len(m.Result)
  6070  	if l > 0 {
  6071  		n += 1 + l + sovQuery(uint64(l))
  6072  	}
  6073  	return n
  6074  }
  6075  
  6076  func (m *GetPipelineInfoRequest) Size() (n int) {
  6077  	if m == nil {
  6078  		return 0
  6079  	}
  6080  	var l int
  6081  	_ = l
  6082  	return n
  6083  }
  6084  
  6085  func (m *GetPipelineInfoResponse) Size() (n int) {
  6086  	if m == nil {
  6087  		return 0
  6088  	}
  6089  	var l int
  6090  	_ = l
  6091  	if m.Count != 0 {
  6092  		n += 1 + sovQuery(uint64(m.Count))
  6093  	}
  6094  	return n
  6095  }
  6096  
  6097  func (m *Request) Size() (n int) {
  6098  	if m == nil {
  6099  		return 0
  6100  	}
  6101  	var l int
  6102  	_ = l
  6103  	if m.RequestID != 0 {
  6104  		n += 1 + sovQuery(uint64(m.RequestID))
  6105  	}
  6106  	if m.CmdMethod != 0 {
  6107  		n += 1 + sovQuery(uint64(m.CmdMethod))
  6108  	}
  6109  	if m.QueryRequest != nil {
  6110  		l = m.QueryRequest.Size()
  6111  		n += 1 + l + sovQuery(uint64(l))
  6112  	}
  6113  	if m.ShowProcessListRequest != nil {
  6114  		l = m.ShowProcessListRequest.Size()
  6115  		n += 1 + l + sovQuery(uint64(l))
  6116  	}
  6117  	if m.AlterAccountRequest != nil {
  6118  		l = m.AlterAccountRequest.Size()
  6119  		n += 1 + l + sovQuery(uint64(l))
  6120  	}
  6121  	if m.KillConnRequest != nil {
  6122  		l = m.KillConnRequest.Size()
  6123  		n += 1 + l + sovQuery(uint64(l))
  6124  	}
  6125  	if m.TraceSpanRequest != nil {
  6126  		l = m.TraceSpanRequest.Size()
  6127  		n += 1 + l + sovQuery(uint64(l))
  6128  	}
  6129  	if m.GetLockInfoRequest != nil {
  6130  		l = m.GetLockInfoRequest.Size()
  6131  		n += 1 + l + sovQuery(uint64(l))
  6132  	}
  6133  	if m.GetTxnInfoRequest != nil {
  6134  		l = m.GetTxnInfoRequest.Size()
  6135  		n += 1 + l + sovQuery(uint64(l))
  6136  	}
  6137  	if m.GetCacheInfoRequest != nil {
  6138  		l = m.GetCacheInfoRequest.Size()
  6139  		n += 1 + l + sovQuery(uint64(l))
  6140  	}
  6141  	if m.SycnCommit != nil {
  6142  		l = m.SycnCommit.Size()
  6143  		n += 1 + l + sovQuery(uint64(l))
  6144  	}
  6145  	if m.GetCommit != nil {
  6146  		l = m.GetCommit.Size()
  6147  		n += 1 + l + sovQuery(uint64(l))
  6148  	}
  6149  	if m.GetProtocolVersion != nil {
  6150  		l = m.GetProtocolVersion.Size()
  6151  		n += 1 + l + sovQuery(uint64(l))
  6152  	}
  6153  	if m.SetProtocolVersion != nil {
  6154  		l = m.SetProtocolVersion.Size()
  6155  		n += 1 + l + sovQuery(uint64(l))
  6156  	}
  6157  	if m.CoreDumpConfig != nil {
  6158  		l = m.CoreDumpConfig.Size()
  6159  		n += 1 + l + sovQuery(uint64(l))
  6160  	}
  6161  	if m.RunTask != nil {
  6162  		l = m.RunTask.Size()
  6163  		n += 2 + l + sovQuery(uint64(l))
  6164  	}
  6165  	if m.RemoveRemoteLockTable != nil {
  6166  		l = m.RemoveRemoteLockTable.Size()
  6167  		n += 2 + l + sovQuery(uint64(l))
  6168  	}
  6169  	if m.GetLatestBind != nil {
  6170  		l = m.GetLatestBind.Size()
  6171  		n += 2 + l + sovQuery(uint64(l))
  6172  	}
  6173  	if m.UnsubscribeTable != nil {
  6174  		l = m.UnsubscribeTable.Size()
  6175  		n += 2 + l + sovQuery(uint64(l))
  6176  	}
  6177  	if m.GetCacheDataRequest != nil {
  6178  		l = m.GetCacheDataRequest.Size()
  6179  		n += 2 + l + sovQuery(uint64(l))
  6180  	}
  6181  	if m.GetStatsInfoRequest != nil {
  6182  		l = m.GetStatsInfoRequest.Size()
  6183  		n += 2 + l + sovQuery(uint64(l))
  6184  	}
  6185  	if m.GetPipelineInfoRequest != nil {
  6186  		l = m.GetPipelineInfoRequest.Size()
  6187  		n += 2 + l + sovQuery(uint64(l))
  6188  	}
  6189  	if m.MigrateConnFromRequest != nil {
  6190  		l = m.MigrateConnFromRequest.Size()
  6191  		n += 2 + l + sovQuery(uint64(l))
  6192  	}
  6193  	if m.MigrateConnToRequest != nil {
  6194  		l = m.MigrateConnToRequest.Size()
  6195  		n += 2 + l + sovQuery(uint64(l))
  6196  	}
  6197  	return n
  6198  }
  6199  
  6200  func (m *ShowProcessListResponse) Size() (n int) {
  6201  	if m == nil {
  6202  		return 0
  6203  	}
  6204  	var l int
  6205  	_ = l
  6206  	if len(m.Sessions) > 0 {
  6207  		for _, e := range m.Sessions {
  6208  			l = e.Size()
  6209  			n += 1 + l + sovQuery(uint64(l))
  6210  		}
  6211  	}
  6212  	return n
  6213  }
  6214  
  6215  func (m *Response) Size() (n int) {
  6216  	if m == nil {
  6217  		return 0
  6218  	}
  6219  	var l int
  6220  	_ = l
  6221  	if m.RequestID != 0 {
  6222  		n += 1 + sovQuery(uint64(m.RequestID))
  6223  	}
  6224  	if m.CmdMethod != 0 {
  6225  		n += 1 + sovQuery(uint64(m.CmdMethod))
  6226  	}
  6227  	l = len(m.Error)
  6228  	if l > 0 {
  6229  		n += 1 + l + sovQuery(uint64(l))
  6230  	}
  6231  	if m.ShowProcessListResponse != nil {
  6232  		l = m.ShowProcessListResponse.Size()
  6233  		n += 1 + l + sovQuery(uint64(l))
  6234  	}
  6235  	if m.AlterAccountResponse != nil {
  6236  		l = m.AlterAccountResponse.Size()
  6237  		n += 1 + l + sovQuery(uint64(l))
  6238  	}
  6239  	if m.KillConnResponse != nil {
  6240  		l = m.KillConnResponse.Size()
  6241  		n += 1 + l + sovQuery(uint64(l))
  6242  	}
  6243  	if m.TraceSpanResponse != nil {
  6244  		l = m.TraceSpanResponse.Size()
  6245  		n += 1 + l + sovQuery(uint64(l))
  6246  	}
  6247  	if m.GetLockInfoResponse != nil {
  6248  		l = m.GetLockInfoResponse.Size()
  6249  		n += 1 + l + sovQuery(uint64(l))
  6250  	}
  6251  	if m.GetTxnInfoResponse != nil {
  6252  		l = m.GetTxnInfoResponse.Size()
  6253  		n += 1 + l + sovQuery(uint64(l))
  6254  	}
  6255  	if m.GetCacheInfoResponse != nil {
  6256  		l = m.GetCacheInfoResponse.Size()
  6257  		n += 1 + l + sovQuery(uint64(l))
  6258  	}
  6259  	if m.SyncCommit != nil {
  6260  		l = m.SyncCommit.Size()
  6261  		n += 1 + l + sovQuery(uint64(l))
  6262  	}
  6263  	if m.GetCommit != nil {
  6264  		l = m.GetCommit.Size()
  6265  		n += 1 + l + sovQuery(uint64(l))
  6266  	}
  6267  	if m.GetProtocolVersion != nil {
  6268  		l = m.GetProtocolVersion.Size()
  6269  		n += 1 + l + sovQuery(uint64(l))
  6270  	}
  6271  	if m.SetProtocolVersion != nil {
  6272  		l = m.SetProtocolVersion.Size()
  6273  		n += 1 + l + sovQuery(uint64(l))
  6274  	}
  6275  	if m.CoreDumpConfig != nil {
  6276  		l = m.CoreDumpConfig.Size()
  6277  		n += 1 + l + sovQuery(uint64(l))
  6278  	}
  6279  	if m.RunTask != nil {
  6280  		l = m.RunTask.Size()
  6281  		n += 2 + l + sovQuery(uint64(l))
  6282  	}
  6283  	if m.RemoveRemoteLockTable != nil {
  6284  		l = m.RemoveRemoteLockTable.Size()
  6285  		n += 2 + l + sovQuery(uint64(l))
  6286  	}
  6287  	if m.GetLatestBind != nil {
  6288  		l = m.GetLatestBind.Size()
  6289  		n += 2 + l + sovQuery(uint64(l))
  6290  	}
  6291  	if m.UnsubscribeTable != nil {
  6292  		l = m.UnsubscribeTable.Size()
  6293  		n += 2 + l + sovQuery(uint64(l))
  6294  	}
  6295  	if m.GetCacheDataResponse != nil {
  6296  		l = m.GetCacheDataResponse.Size()
  6297  		n += 2 + l + sovQuery(uint64(l))
  6298  	}
  6299  	if m.GetStatsInfoResponse != nil {
  6300  		l = m.GetStatsInfoResponse.Size()
  6301  		n += 2 + l + sovQuery(uint64(l))
  6302  	}
  6303  	if m.GetPipelineInfoResponse != nil {
  6304  		l = m.GetPipelineInfoResponse.Size()
  6305  		n += 2 + l + sovQuery(uint64(l))
  6306  	}
  6307  	if m.MigrateConnFromResponse != nil {
  6308  		l = m.MigrateConnFromResponse.Size()
  6309  		n += 2 + l + sovQuery(uint64(l))
  6310  	}
  6311  	if m.MigrateConnToResponse != nil {
  6312  		l = m.MigrateConnToResponse.Size()
  6313  		n += 2 + l + sovQuery(uint64(l))
  6314  	}
  6315  	return n
  6316  }
  6317  
  6318  func (m *AlterAccountRequest) Size() (n int) {
  6319  	if m == nil {
  6320  		return 0
  6321  	}
  6322  	var l int
  6323  	_ = l
  6324  	if m.TenantId != 0 {
  6325  		n += 1 + sovQuery(uint64(m.TenantId))
  6326  	}
  6327  	l = len(m.Status)
  6328  	if l > 0 {
  6329  		n += 1 + l + sovQuery(uint64(l))
  6330  	}
  6331  	return n
  6332  }
  6333  
  6334  func (m *AlterAccountResponse) Size() (n int) {
  6335  	if m == nil {
  6336  		return 0
  6337  	}
  6338  	var l int
  6339  	_ = l
  6340  	if m.AlterSuccess {
  6341  		n += 2
  6342  	}
  6343  	return n
  6344  }
  6345  
  6346  func (m *KillConnRequest) Size() (n int) {
  6347  	if m == nil {
  6348  		return 0
  6349  	}
  6350  	var l int
  6351  	_ = l
  6352  	if m.AccountID != 0 {
  6353  		n += 1 + sovQuery(uint64(m.AccountID))
  6354  	}
  6355  	if m.Version != 0 {
  6356  		n += 1 + sovQuery(uint64(m.Version))
  6357  	}
  6358  	return n
  6359  }
  6360  
  6361  func (m *KillConnResponse) Size() (n int) {
  6362  	if m == nil {
  6363  		return 0
  6364  	}
  6365  	var l int
  6366  	_ = l
  6367  	if m.Success {
  6368  		n += 2
  6369  	}
  6370  	return n
  6371  }
  6372  
  6373  func (m *TraceSpanRequest) Size() (n int) {
  6374  	if m == nil {
  6375  		return 0
  6376  	}
  6377  	var l int
  6378  	_ = l
  6379  	l = len(m.Cmd)
  6380  	if l > 0 {
  6381  		n += 1 + l + sovQuery(uint64(l))
  6382  	}
  6383  	l = len(m.Spans)
  6384  	if l > 0 {
  6385  		n += 1 + l + sovQuery(uint64(l))
  6386  	}
  6387  	if m.Threshold != 0 {
  6388  		n += 1 + sovQuery(uint64(m.Threshold))
  6389  	}
  6390  	return n
  6391  }
  6392  
  6393  func (m *TraceSpanResponse) Size() (n int) {
  6394  	if m == nil {
  6395  		return 0
  6396  	}
  6397  	var l int
  6398  	_ = l
  6399  	l = len(m.Resp)
  6400  	if l > 0 {
  6401  		n += 1 + l + sovQuery(uint64(l))
  6402  	}
  6403  	return n
  6404  }
  6405  
  6406  func (m *GetLockInfoRequest) Size() (n int) {
  6407  	if m == nil {
  6408  		return 0
  6409  	}
  6410  	var l int
  6411  	_ = l
  6412  	return n
  6413  }
  6414  
  6415  func (m *LockInfo) Size() (n int) {
  6416  	if m == nil {
  6417  		return 0
  6418  	}
  6419  	var l int
  6420  	_ = l
  6421  	if m.TableId != 0 {
  6422  		n += 1 + sovQuery(uint64(m.TableId))
  6423  	}
  6424  	if len(m.Keys) > 0 {
  6425  		for _, b := range m.Keys {
  6426  			l = len(b)
  6427  			n += 1 + l + sovQuery(uint64(l))
  6428  		}
  6429  	}
  6430  	if m.LockMode != 0 {
  6431  		n += 1 + sovQuery(uint64(m.LockMode))
  6432  	}
  6433  	if m.IsRangeLock {
  6434  		n += 2
  6435  	}
  6436  	if len(m.Holders) > 0 {
  6437  		for _, e := range m.Holders {
  6438  			l = e.Size()
  6439  			n += 1 + l + sovQuery(uint64(l))
  6440  		}
  6441  	}
  6442  	if len(m.Waiters) > 0 {
  6443  		for _, e := range m.Waiters {
  6444  			l = e.Size()
  6445  			n += 1 + l + sovQuery(uint64(l))
  6446  		}
  6447  	}
  6448  	return n
  6449  }
  6450  
  6451  func (m *GetLockInfoResponse) Size() (n int) {
  6452  	if m == nil {
  6453  		return 0
  6454  	}
  6455  	var l int
  6456  	_ = l
  6457  	l = len(m.CnId)
  6458  	if l > 0 {
  6459  		n += 1 + l + sovQuery(uint64(l))
  6460  	}
  6461  	if len(m.LockInfoList) > 0 {
  6462  		for _, e := range m.LockInfoList {
  6463  			l = e.Size()
  6464  			n += 1 + l + sovQuery(uint64(l))
  6465  		}
  6466  	}
  6467  	return n
  6468  }
  6469  
  6470  func (m *GetTxnInfoRequest) Size() (n int) {
  6471  	if m == nil {
  6472  		return 0
  6473  	}
  6474  	var l int
  6475  	_ = l
  6476  	return n
  6477  }
  6478  
  6479  func (m *TxnLockInfo) Size() (n int) {
  6480  	if m == nil {
  6481  		return 0
  6482  	}
  6483  	var l int
  6484  	_ = l
  6485  	if m.TableId != 0 {
  6486  		n += 1 + sovQuery(uint64(m.TableId))
  6487  	}
  6488  	if len(m.Rows) > 0 {
  6489  		for _, b := range m.Rows {
  6490  			l = len(b)
  6491  			n += 1 + l + sovQuery(uint64(l))
  6492  		}
  6493  	}
  6494  	if m.Options != nil {
  6495  		l = m.Options.Size()
  6496  		n += 1 + l + sovQuery(uint64(l))
  6497  	}
  6498  	return n
  6499  }
  6500  
  6501  func (m *TxnInfo) Size() (n int) {
  6502  	if m == nil {
  6503  		return 0
  6504  	}
  6505  	var l int
  6506  	_ = l
  6507  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreateAt)
  6508  	n += 1 + l + sovQuery(uint64(l))
  6509  	if m.Meta != nil {
  6510  		l = m.Meta.Size()
  6511  		n += 1 + l + sovQuery(uint64(l))
  6512  	}
  6513  	if m.UserTxn {
  6514  		n += 2
  6515  	}
  6516  	if len(m.WaitLocks) > 0 {
  6517  		for _, e := range m.WaitLocks {
  6518  			l = e.Size()
  6519  			n += 1 + l + sovQuery(uint64(l))
  6520  		}
  6521  	}
  6522  	return n
  6523  }
  6524  
  6525  func (m *GetTxnInfoResponse) Size() (n int) {
  6526  	if m == nil {
  6527  		return 0
  6528  	}
  6529  	var l int
  6530  	_ = l
  6531  	l = len(m.CnId)
  6532  	if l > 0 {
  6533  		n += 1 + l + sovQuery(uint64(l))
  6534  	}
  6535  	if len(m.TxnInfoList) > 0 {
  6536  		for _, e := range m.TxnInfoList {
  6537  			l = e.Size()
  6538  			n += 1 + l + sovQuery(uint64(l))
  6539  		}
  6540  	}
  6541  	return n
  6542  }
  6543  
  6544  func (m *GetCacheInfoRequest) Size() (n int) {
  6545  	if m == nil {
  6546  		return 0
  6547  	}
  6548  	var l int
  6549  	_ = l
  6550  	return n
  6551  }
  6552  
  6553  func (m *CacheInfo) Size() (n int) {
  6554  	if m == nil {
  6555  		return 0
  6556  	}
  6557  	var l int
  6558  	_ = l
  6559  	l = len(m.NodeType)
  6560  	if l > 0 {
  6561  		n += 1 + l + sovQuery(uint64(l))
  6562  	}
  6563  	l = len(m.NodeId)
  6564  	if l > 0 {
  6565  		n += 1 + l + sovQuery(uint64(l))
  6566  	}
  6567  	l = len(m.CacheType)
  6568  	if l > 0 {
  6569  		n += 1 + l + sovQuery(uint64(l))
  6570  	}
  6571  	if m.Used != 0 {
  6572  		n += 1 + sovQuery(uint64(m.Used))
  6573  	}
  6574  	if m.Free != 0 {
  6575  		n += 1 + sovQuery(uint64(m.Free))
  6576  	}
  6577  	if m.HitRatio != 0 {
  6578  		n += 5
  6579  	}
  6580  	return n
  6581  }
  6582  
  6583  func (m *GetCacheInfoResponse) Size() (n int) {
  6584  	if m == nil {
  6585  		return 0
  6586  	}
  6587  	var l int
  6588  	_ = l
  6589  	if len(m.CacheInfoList) > 0 {
  6590  		for _, e := range m.CacheInfoList {
  6591  			l = e.Size()
  6592  			n += 1 + l + sovQuery(uint64(l))
  6593  		}
  6594  	}
  6595  	return n
  6596  }
  6597  
  6598  func (m *RemoveRemoteLockTableRequest) Size() (n int) {
  6599  	if m == nil {
  6600  		return 0
  6601  	}
  6602  	var l int
  6603  	_ = l
  6604  	if m.GroupID != 0 {
  6605  		n += 1 + sovQuery(uint64(m.GroupID))
  6606  	}
  6607  	if m.TableID != 0 {
  6608  		n += 1 + sovQuery(uint64(m.TableID))
  6609  	}
  6610  	if m.Version != 0 {
  6611  		n += 1 + sovQuery(uint64(m.Version))
  6612  	}
  6613  	return n
  6614  }
  6615  
  6616  func (m *RemoveRemoteLockTableResponse) Size() (n int) {
  6617  	if m == nil {
  6618  		return 0
  6619  	}
  6620  	var l int
  6621  	_ = l
  6622  	if m.Count != 0 {
  6623  		n += 1 + sovQuery(uint64(m.Count))
  6624  	}
  6625  	return n
  6626  }
  6627  
  6628  func (m *GetLatestBindRequest) Size() (n int) {
  6629  	if m == nil {
  6630  		return 0
  6631  	}
  6632  	var l int
  6633  	_ = l
  6634  	if m.GroupID != 0 {
  6635  		n += 1 + sovQuery(uint64(m.GroupID))
  6636  	}
  6637  	if m.TableID != 0 {
  6638  		n += 1 + sovQuery(uint64(m.TableID))
  6639  	}
  6640  	return n
  6641  }
  6642  
  6643  func (m *GetLatestBindResponse) Size() (n int) {
  6644  	if m == nil {
  6645  		return 0
  6646  	}
  6647  	var l int
  6648  	_ = l
  6649  	l = len(m.Bind)
  6650  	if l > 0 {
  6651  		n += 1 + l + sovQuery(uint64(l))
  6652  	}
  6653  	return n
  6654  }
  6655  
  6656  func (m *UnsubscribeTableRequest) Size() (n int) {
  6657  	if m == nil {
  6658  		return 0
  6659  	}
  6660  	var l int
  6661  	_ = l
  6662  	if m.DatabaseID != 0 {
  6663  		n += 1 + sovQuery(uint64(m.DatabaseID))
  6664  	}
  6665  	if m.TableID != 0 {
  6666  		n += 1 + sovQuery(uint64(m.TableID))
  6667  	}
  6668  	return n
  6669  }
  6670  
  6671  func (m *UnsubscribeTableResponse) Size() (n int) {
  6672  	if m == nil {
  6673  		return 0
  6674  	}
  6675  	var l int
  6676  	_ = l
  6677  	if m.Success {
  6678  		n += 2
  6679  	}
  6680  	return n
  6681  }
  6682  
  6683  func (m *CacheKey) Size() (n int) {
  6684  	if m == nil {
  6685  		return 0
  6686  	}
  6687  	var l int
  6688  	_ = l
  6689  	l = len(m.Path)
  6690  	if l > 0 {
  6691  		n += 1 + l + sovQuery(uint64(l))
  6692  	}
  6693  	if m.Offset != 0 {
  6694  		n += 1 + sovQuery(uint64(m.Offset))
  6695  	}
  6696  	if m.Sz != 0 {
  6697  		n += 1 + sovQuery(uint64(m.Sz))
  6698  	}
  6699  	return n
  6700  }
  6701  
  6702  func (m *CacheKeys) Size() (n int) {
  6703  	if m == nil {
  6704  		return 0
  6705  	}
  6706  	var l int
  6707  	_ = l
  6708  	if len(m.Keys) > 0 {
  6709  		for _, e := range m.Keys {
  6710  			l = e.Size()
  6711  			n += 1 + l + sovQuery(uint64(l))
  6712  		}
  6713  	}
  6714  	return n
  6715  }
  6716  
  6717  func (m *RequestCacheKey) Size() (n int) {
  6718  	if m == nil {
  6719  		return 0
  6720  	}
  6721  	var l int
  6722  	_ = l
  6723  	if m.Index != 0 {
  6724  		n += 1 + sovQuery(uint64(m.Index))
  6725  	}
  6726  	if m.CacheKey != nil {
  6727  		l = m.CacheKey.Size()
  6728  		n += 1 + l + sovQuery(uint64(l))
  6729  	}
  6730  	return n
  6731  }
  6732  
  6733  func (m *GetCacheDataRequest) Size() (n int) {
  6734  	if m == nil {
  6735  		return 0
  6736  	}
  6737  	var l int
  6738  	_ = l
  6739  	if len(m.RequestCacheKey) > 0 {
  6740  		for _, e := range m.RequestCacheKey {
  6741  			l = e.Size()
  6742  			n += 1 + l + sovQuery(uint64(l))
  6743  		}
  6744  	}
  6745  	return n
  6746  }
  6747  
  6748  func (m *ResponseCacheData) Size() (n int) {
  6749  	if m == nil {
  6750  		return 0
  6751  	}
  6752  	var l int
  6753  	_ = l
  6754  	if m.Index != 0 {
  6755  		n += 1 + sovQuery(uint64(m.Index))
  6756  	}
  6757  	if m.Hit {
  6758  		n += 2
  6759  	}
  6760  	l = len(m.Data)
  6761  	if l > 0 {
  6762  		n += 1 + l + sovQuery(uint64(l))
  6763  	}
  6764  	return n
  6765  }
  6766  
  6767  func (m *GetCacheDataResponse) Size() (n int) {
  6768  	if m == nil {
  6769  		return 0
  6770  	}
  6771  	var l int
  6772  	_ = l
  6773  	if len(m.ResponseCacheData) > 0 {
  6774  		for _, e := range m.ResponseCacheData {
  6775  			l = e.Size()
  6776  			n += 1 + l + sovQuery(uint64(l))
  6777  		}
  6778  	}
  6779  	return n
  6780  }
  6781  
  6782  func (m *GetStatsInfoRequest) Size() (n int) {
  6783  	if m == nil {
  6784  		return 0
  6785  	}
  6786  	var l int
  6787  	_ = l
  6788  	if m.StatsInfoKey != nil {
  6789  		l = m.StatsInfoKey.Size()
  6790  		n += 1 + l + sovQuery(uint64(l))
  6791  	}
  6792  	return n
  6793  }
  6794  
  6795  func (m *GetStatsInfoResponse) Size() (n int) {
  6796  	if m == nil {
  6797  		return 0
  6798  	}
  6799  	var l int
  6800  	_ = l
  6801  	if m.StatsInfo != nil {
  6802  		l = m.StatsInfo.Size()
  6803  		n += 1 + l + sovQuery(uint64(l))
  6804  	}
  6805  	return n
  6806  }
  6807  
  6808  func (m *PrepareStmt) Size() (n int) {
  6809  	if m == nil {
  6810  		return 0
  6811  	}
  6812  	var l int
  6813  	_ = l
  6814  	l = len(m.Name)
  6815  	if l > 0 {
  6816  		n += 1 + l + sovQuery(uint64(l))
  6817  	}
  6818  	l = len(m.SQL)
  6819  	if l > 0 {
  6820  		n += 1 + l + sovQuery(uint64(l))
  6821  	}
  6822  	l = len(m.ParamTypes)
  6823  	if l > 0 {
  6824  		n += 1 + l + sovQuery(uint64(l))
  6825  	}
  6826  	return n
  6827  }
  6828  
  6829  func (m *MigrateConnFromRequest) Size() (n int) {
  6830  	if m == nil {
  6831  		return 0
  6832  	}
  6833  	var l int
  6834  	_ = l
  6835  	if m.ConnID != 0 {
  6836  		n += 1 + sovQuery(uint64(m.ConnID))
  6837  	}
  6838  	return n
  6839  }
  6840  
  6841  func (m *MigrateConnFromResponse) Size() (n int) {
  6842  	if m == nil {
  6843  		return 0
  6844  	}
  6845  	var l int
  6846  	_ = l
  6847  	l = len(m.DB)
  6848  	if l > 0 {
  6849  		n += 1 + l + sovQuery(uint64(l))
  6850  	}
  6851  	if len(m.PrepareStmts) > 0 {
  6852  		for _, e := range m.PrepareStmts {
  6853  			l = e.Size()
  6854  			n += 1 + l + sovQuery(uint64(l))
  6855  		}
  6856  	}
  6857  	return n
  6858  }
  6859  
  6860  func (m *MigrateConnToRequest) Size() (n int) {
  6861  	if m == nil {
  6862  		return 0
  6863  	}
  6864  	var l int
  6865  	_ = l
  6866  	if m.ConnID != 0 {
  6867  		n += 1 + sovQuery(uint64(m.ConnID))
  6868  	}
  6869  	l = len(m.DB)
  6870  	if l > 0 {
  6871  		n += 1 + l + sovQuery(uint64(l))
  6872  	}
  6873  	if len(m.SetVarStmts) > 0 {
  6874  		for _, s := range m.SetVarStmts {
  6875  			l = len(s)
  6876  			n += 1 + l + sovQuery(uint64(l))
  6877  		}
  6878  	}
  6879  	if len(m.PrepareStmts) > 0 {
  6880  		for _, e := range m.PrepareStmts {
  6881  			l = e.Size()
  6882  			n += 1 + l + sovQuery(uint64(l))
  6883  		}
  6884  	}
  6885  	return n
  6886  }
  6887  
  6888  func (m *MigrateConnToResponse) Size() (n int) {
  6889  	if m == nil {
  6890  		return 0
  6891  	}
  6892  	var l int
  6893  	_ = l
  6894  	if m.Success {
  6895  		n += 2
  6896  	}
  6897  	return n
  6898  }
  6899  
  6900  func sovQuery(x uint64) (n int) {
  6901  	return (math_bits.Len64(x|1) + 6) / 7
  6902  }
  6903  func sozQuery(x uint64) (n int) {
  6904  	return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  6905  }
  6906  func (m *QueryRequest) Unmarshal(dAtA []byte) error {
  6907  	l := len(dAtA)
  6908  	iNdEx := 0
  6909  	for iNdEx < l {
  6910  		preIndex := iNdEx
  6911  		var wire uint64
  6912  		for shift := uint(0); ; shift += 7 {
  6913  			if shift >= 64 {
  6914  				return ErrIntOverflowQuery
  6915  			}
  6916  			if iNdEx >= l {
  6917  				return io.ErrUnexpectedEOF
  6918  			}
  6919  			b := dAtA[iNdEx]
  6920  			iNdEx++
  6921  			wire |= uint64(b&0x7F) << shift
  6922  			if b < 0x80 {
  6923  				break
  6924  			}
  6925  		}
  6926  		fieldNum := int32(wire >> 3)
  6927  		wireType := int(wire & 0x7)
  6928  		if wireType == 4 {
  6929  			return fmt.Errorf("proto: QueryRequest: wiretype end group for non-group")
  6930  		}
  6931  		if fieldNum <= 0 {
  6932  			return fmt.Errorf("proto: QueryRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  6933  		}
  6934  		switch fieldNum {
  6935  		case 1:
  6936  			if wireType != 2 {
  6937  				return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
  6938  			}
  6939  			var stringLen uint64
  6940  			for shift := uint(0); ; shift += 7 {
  6941  				if shift >= 64 {
  6942  					return ErrIntOverflowQuery
  6943  				}
  6944  				if iNdEx >= l {
  6945  					return io.ErrUnexpectedEOF
  6946  				}
  6947  				b := dAtA[iNdEx]
  6948  				iNdEx++
  6949  				stringLen |= uint64(b&0x7F) << shift
  6950  				if b < 0x80 {
  6951  					break
  6952  				}
  6953  			}
  6954  			intStringLen := int(stringLen)
  6955  			if intStringLen < 0 {
  6956  				return ErrInvalidLengthQuery
  6957  			}
  6958  			postIndex := iNdEx + intStringLen
  6959  			if postIndex < 0 {
  6960  				return ErrInvalidLengthQuery
  6961  			}
  6962  			if postIndex > l {
  6963  				return io.ErrUnexpectedEOF
  6964  			}
  6965  			m.Query = string(dAtA[iNdEx:postIndex])
  6966  			iNdEx = postIndex
  6967  		default:
  6968  			iNdEx = preIndex
  6969  			skippy, err := skipQuery(dAtA[iNdEx:])
  6970  			if err != nil {
  6971  				return err
  6972  			}
  6973  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  6974  				return ErrInvalidLengthQuery
  6975  			}
  6976  			if (iNdEx + skippy) > l {
  6977  				return io.ErrUnexpectedEOF
  6978  			}
  6979  			iNdEx += skippy
  6980  		}
  6981  	}
  6982  
  6983  	if iNdEx > l {
  6984  		return io.ErrUnexpectedEOF
  6985  	}
  6986  	return nil
  6987  }
  6988  func (m *ShowProcessListRequest) Unmarshal(dAtA []byte) error {
  6989  	l := len(dAtA)
  6990  	iNdEx := 0
  6991  	for iNdEx < l {
  6992  		preIndex := iNdEx
  6993  		var wire uint64
  6994  		for shift := uint(0); ; shift += 7 {
  6995  			if shift >= 64 {
  6996  				return ErrIntOverflowQuery
  6997  			}
  6998  			if iNdEx >= l {
  6999  				return io.ErrUnexpectedEOF
  7000  			}
  7001  			b := dAtA[iNdEx]
  7002  			iNdEx++
  7003  			wire |= uint64(b&0x7F) << shift
  7004  			if b < 0x80 {
  7005  				break
  7006  			}
  7007  		}
  7008  		fieldNum := int32(wire >> 3)
  7009  		wireType := int(wire & 0x7)
  7010  		if wireType == 4 {
  7011  			return fmt.Errorf("proto: ShowProcessListRequest: wiretype end group for non-group")
  7012  		}
  7013  		if fieldNum <= 0 {
  7014  			return fmt.Errorf("proto: ShowProcessListRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7015  		}
  7016  		switch fieldNum {
  7017  		case 1:
  7018  			if wireType != 2 {
  7019  				return fmt.Errorf("proto: wrong wireType = %d for field Tenant", wireType)
  7020  			}
  7021  			var stringLen uint64
  7022  			for shift := uint(0); ; shift += 7 {
  7023  				if shift >= 64 {
  7024  					return ErrIntOverflowQuery
  7025  				}
  7026  				if iNdEx >= l {
  7027  					return io.ErrUnexpectedEOF
  7028  				}
  7029  				b := dAtA[iNdEx]
  7030  				iNdEx++
  7031  				stringLen |= uint64(b&0x7F) << shift
  7032  				if b < 0x80 {
  7033  					break
  7034  				}
  7035  			}
  7036  			intStringLen := int(stringLen)
  7037  			if intStringLen < 0 {
  7038  				return ErrInvalidLengthQuery
  7039  			}
  7040  			postIndex := iNdEx + intStringLen
  7041  			if postIndex < 0 {
  7042  				return ErrInvalidLengthQuery
  7043  			}
  7044  			if postIndex > l {
  7045  				return io.ErrUnexpectedEOF
  7046  			}
  7047  			m.Tenant = string(dAtA[iNdEx:postIndex])
  7048  			iNdEx = postIndex
  7049  		case 2:
  7050  			if wireType != 0 {
  7051  				return fmt.Errorf("proto: wrong wireType = %d for field SysTenant", wireType)
  7052  			}
  7053  			var v int
  7054  			for shift := uint(0); ; shift += 7 {
  7055  				if shift >= 64 {
  7056  					return ErrIntOverflowQuery
  7057  				}
  7058  				if iNdEx >= l {
  7059  					return io.ErrUnexpectedEOF
  7060  				}
  7061  				b := dAtA[iNdEx]
  7062  				iNdEx++
  7063  				v |= int(b&0x7F) << shift
  7064  				if b < 0x80 {
  7065  					break
  7066  				}
  7067  			}
  7068  			m.SysTenant = bool(v != 0)
  7069  		default:
  7070  			iNdEx = preIndex
  7071  			skippy, err := skipQuery(dAtA[iNdEx:])
  7072  			if err != nil {
  7073  				return err
  7074  			}
  7075  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7076  				return ErrInvalidLengthQuery
  7077  			}
  7078  			if (iNdEx + skippy) > l {
  7079  				return io.ErrUnexpectedEOF
  7080  			}
  7081  			iNdEx += skippy
  7082  		}
  7083  	}
  7084  
  7085  	if iNdEx > l {
  7086  		return io.ErrUnexpectedEOF
  7087  	}
  7088  	return nil
  7089  }
  7090  func (m *SyncCommitRequest) Unmarshal(dAtA []byte) error {
  7091  	l := len(dAtA)
  7092  	iNdEx := 0
  7093  	for iNdEx < l {
  7094  		preIndex := iNdEx
  7095  		var wire uint64
  7096  		for shift := uint(0); ; shift += 7 {
  7097  			if shift >= 64 {
  7098  				return ErrIntOverflowQuery
  7099  			}
  7100  			if iNdEx >= l {
  7101  				return io.ErrUnexpectedEOF
  7102  			}
  7103  			b := dAtA[iNdEx]
  7104  			iNdEx++
  7105  			wire |= uint64(b&0x7F) << shift
  7106  			if b < 0x80 {
  7107  				break
  7108  			}
  7109  		}
  7110  		fieldNum := int32(wire >> 3)
  7111  		wireType := int(wire & 0x7)
  7112  		if wireType == 4 {
  7113  			return fmt.Errorf("proto: SyncCommitRequest: wiretype end group for non-group")
  7114  		}
  7115  		if fieldNum <= 0 {
  7116  			return fmt.Errorf("proto: SyncCommitRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7117  		}
  7118  		switch fieldNum {
  7119  		case 1:
  7120  			if wireType != 2 {
  7121  				return fmt.Errorf("proto: wrong wireType = %d for field LatestCommitTS", wireType)
  7122  			}
  7123  			var msglen int
  7124  			for shift := uint(0); ; shift += 7 {
  7125  				if shift >= 64 {
  7126  					return ErrIntOverflowQuery
  7127  				}
  7128  				if iNdEx >= l {
  7129  					return io.ErrUnexpectedEOF
  7130  				}
  7131  				b := dAtA[iNdEx]
  7132  				iNdEx++
  7133  				msglen |= int(b&0x7F) << shift
  7134  				if b < 0x80 {
  7135  					break
  7136  				}
  7137  			}
  7138  			if msglen < 0 {
  7139  				return ErrInvalidLengthQuery
  7140  			}
  7141  			postIndex := iNdEx + msglen
  7142  			if postIndex < 0 {
  7143  				return ErrInvalidLengthQuery
  7144  			}
  7145  			if postIndex > l {
  7146  				return io.ErrUnexpectedEOF
  7147  			}
  7148  			if err := m.LatestCommitTS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7149  				return err
  7150  			}
  7151  			iNdEx = postIndex
  7152  		default:
  7153  			iNdEx = preIndex
  7154  			skippy, err := skipQuery(dAtA[iNdEx:])
  7155  			if err != nil {
  7156  				return err
  7157  			}
  7158  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7159  				return ErrInvalidLengthQuery
  7160  			}
  7161  			if (iNdEx + skippy) > l {
  7162  				return io.ErrUnexpectedEOF
  7163  			}
  7164  			iNdEx += skippy
  7165  		}
  7166  	}
  7167  
  7168  	if iNdEx > l {
  7169  		return io.ErrUnexpectedEOF
  7170  	}
  7171  	return nil
  7172  }
  7173  func (m *SyncCommitResponse) Unmarshal(dAtA []byte) error {
  7174  	l := len(dAtA)
  7175  	iNdEx := 0
  7176  	for iNdEx < l {
  7177  		preIndex := iNdEx
  7178  		var wire uint64
  7179  		for shift := uint(0); ; shift += 7 {
  7180  			if shift >= 64 {
  7181  				return ErrIntOverflowQuery
  7182  			}
  7183  			if iNdEx >= l {
  7184  				return io.ErrUnexpectedEOF
  7185  			}
  7186  			b := dAtA[iNdEx]
  7187  			iNdEx++
  7188  			wire |= uint64(b&0x7F) << shift
  7189  			if b < 0x80 {
  7190  				break
  7191  			}
  7192  		}
  7193  		fieldNum := int32(wire >> 3)
  7194  		wireType := int(wire & 0x7)
  7195  		if wireType == 4 {
  7196  			return fmt.Errorf("proto: SyncCommitResponse: wiretype end group for non-group")
  7197  		}
  7198  		if fieldNum <= 0 {
  7199  			return fmt.Errorf("proto: SyncCommitResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  7200  		}
  7201  		switch fieldNum {
  7202  		case 1:
  7203  			if wireType != 2 {
  7204  				return fmt.Errorf("proto: wrong wireType = %d for field CurrentCommitTS", wireType)
  7205  			}
  7206  			var msglen int
  7207  			for shift := uint(0); ; shift += 7 {
  7208  				if shift >= 64 {
  7209  					return ErrIntOverflowQuery
  7210  				}
  7211  				if iNdEx >= l {
  7212  					return io.ErrUnexpectedEOF
  7213  				}
  7214  				b := dAtA[iNdEx]
  7215  				iNdEx++
  7216  				msglen |= int(b&0x7F) << shift
  7217  				if b < 0x80 {
  7218  					break
  7219  				}
  7220  			}
  7221  			if msglen < 0 {
  7222  				return ErrInvalidLengthQuery
  7223  			}
  7224  			postIndex := iNdEx + msglen
  7225  			if postIndex < 0 {
  7226  				return ErrInvalidLengthQuery
  7227  			}
  7228  			if postIndex > l {
  7229  				return io.ErrUnexpectedEOF
  7230  			}
  7231  			if err := m.CurrentCommitTS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7232  				return err
  7233  			}
  7234  			iNdEx = postIndex
  7235  		default:
  7236  			iNdEx = preIndex
  7237  			skippy, err := skipQuery(dAtA[iNdEx:])
  7238  			if err != nil {
  7239  				return err
  7240  			}
  7241  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7242  				return ErrInvalidLengthQuery
  7243  			}
  7244  			if (iNdEx + skippy) > l {
  7245  				return io.ErrUnexpectedEOF
  7246  			}
  7247  			iNdEx += skippy
  7248  		}
  7249  	}
  7250  
  7251  	if iNdEx > l {
  7252  		return io.ErrUnexpectedEOF
  7253  	}
  7254  	return nil
  7255  }
  7256  func (m *GetCommitRequest) Unmarshal(dAtA []byte) error {
  7257  	l := len(dAtA)
  7258  	iNdEx := 0
  7259  	for iNdEx < l {
  7260  		preIndex := iNdEx
  7261  		var wire uint64
  7262  		for shift := uint(0); ; shift += 7 {
  7263  			if shift >= 64 {
  7264  				return ErrIntOverflowQuery
  7265  			}
  7266  			if iNdEx >= l {
  7267  				return io.ErrUnexpectedEOF
  7268  			}
  7269  			b := dAtA[iNdEx]
  7270  			iNdEx++
  7271  			wire |= uint64(b&0x7F) << shift
  7272  			if b < 0x80 {
  7273  				break
  7274  			}
  7275  		}
  7276  		fieldNum := int32(wire >> 3)
  7277  		wireType := int(wire & 0x7)
  7278  		if wireType == 4 {
  7279  			return fmt.Errorf("proto: GetCommitRequest: wiretype end group for non-group")
  7280  		}
  7281  		if fieldNum <= 0 {
  7282  			return fmt.Errorf("proto: GetCommitRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7283  		}
  7284  		switch fieldNum {
  7285  		default:
  7286  			iNdEx = preIndex
  7287  			skippy, err := skipQuery(dAtA[iNdEx:])
  7288  			if err != nil {
  7289  				return err
  7290  			}
  7291  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7292  				return ErrInvalidLengthQuery
  7293  			}
  7294  			if (iNdEx + skippy) > l {
  7295  				return io.ErrUnexpectedEOF
  7296  			}
  7297  			iNdEx += skippy
  7298  		}
  7299  	}
  7300  
  7301  	if iNdEx > l {
  7302  		return io.ErrUnexpectedEOF
  7303  	}
  7304  	return nil
  7305  }
  7306  func (m *GetCommitResponse) Unmarshal(dAtA []byte) error {
  7307  	l := len(dAtA)
  7308  	iNdEx := 0
  7309  	for iNdEx < l {
  7310  		preIndex := iNdEx
  7311  		var wire uint64
  7312  		for shift := uint(0); ; shift += 7 {
  7313  			if shift >= 64 {
  7314  				return ErrIntOverflowQuery
  7315  			}
  7316  			if iNdEx >= l {
  7317  				return io.ErrUnexpectedEOF
  7318  			}
  7319  			b := dAtA[iNdEx]
  7320  			iNdEx++
  7321  			wire |= uint64(b&0x7F) << shift
  7322  			if b < 0x80 {
  7323  				break
  7324  			}
  7325  		}
  7326  		fieldNum := int32(wire >> 3)
  7327  		wireType := int(wire & 0x7)
  7328  		if wireType == 4 {
  7329  			return fmt.Errorf("proto: GetCommitResponse: wiretype end group for non-group")
  7330  		}
  7331  		if fieldNum <= 0 {
  7332  			return fmt.Errorf("proto: GetCommitResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  7333  		}
  7334  		switch fieldNum {
  7335  		case 1:
  7336  			if wireType != 2 {
  7337  				return fmt.Errorf("proto: wrong wireType = %d for field CurrentCommitTS", wireType)
  7338  			}
  7339  			var msglen int
  7340  			for shift := uint(0); ; shift += 7 {
  7341  				if shift >= 64 {
  7342  					return ErrIntOverflowQuery
  7343  				}
  7344  				if iNdEx >= l {
  7345  					return io.ErrUnexpectedEOF
  7346  				}
  7347  				b := dAtA[iNdEx]
  7348  				iNdEx++
  7349  				msglen |= int(b&0x7F) << shift
  7350  				if b < 0x80 {
  7351  					break
  7352  				}
  7353  			}
  7354  			if msglen < 0 {
  7355  				return ErrInvalidLengthQuery
  7356  			}
  7357  			postIndex := iNdEx + msglen
  7358  			if postIndex < 0 {
  7359  				return ErrInvalidLengthQuery
  7360  			}
  7361  			if postIndex > l {
  7362  				return io.ErrUnexpectedEOF
  7363  			}
  7364  			if err := m.CurrentCommitTS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7365  				return err
  7366  			}
  7367  			iNdEx = postIndex
  7368  		default:
  7369  			iNdEx = preIndex
  7370  			skippy, err := skipQuery(dAtA[iNdEx:])
  7371  			if err != nil {
  7372  				return err
  7373  			}
  7374  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7375  				return ErrInvalidLengthQuery
  7376  			}
  7377  			if (iNdEx + skippy) > l {
  7378  				return io.ErrUnexpectedEOF
  7379  			}
  7380  			iNdEx += skippy
  7381  		}
  7382  	}
  7383  
  7384  	if iNdEx > l {
  7385  		return io.ErrUnexpectedEOF
  7386  	}
  7387  	return nil
  7388  }
  7389  func (m *CoreDumpConfigRequest) Unmarshal(dAtA []byte) error {
  7390  	l := len(dAtA)
  7391  	iNdEx := 0
  7392  	for iNdEx < l {
  7393  		preIndex := iNdEx
  7394  		var wire uint64
  7395  		for shift := uint(0); ; shift += 7 {
  7396  			if shift >= 64 {
  7397  				return ErrIntOverflowQuery
  7398  			}
  7399  			if iNdEx >= l {
  7400  				return io.ErrUnexpectedEOF
  7401  			}
  7402  			b := dAtA[iNdEx]
  7403  			iNdEx++
  7404  			wire |= uint64(b&0x7F) << shift
  7405  			if b < 0x80 {
  7406  				break
  7407  			}
  7408  		}
  7409  		fieldNum := int32(wire >> 3)
  7410  		wireType := int(wire & 0x7)
  7411  		if wireType == 4 {
  7412  			return fmt.Errorf("proto: CoreDumpConfigRequest: wiretype end group for non-group")
  7413  		}
  7414  		if fieldNum <= 0 {
  7415  			return fmt.Errorf("proto: CoreDumpConfigRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7416  		}
  7417  		switch fieldNum {
  7418  		case 1:
  7419  			if wireType != 2 {
  7420  				return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
  7421  			}
  7422  			var stringLen uint64
  7423  			for shift := uint(0); ; shift += 7 {
  7424  				if shift >= 64 {
  7425  					return ErrIntOverflowQuery
  7426  				}
  7427  				if iNdEx >= l {
  7428  					return io.ErrUnexpectedEOF
  7429  				}
  7430  				b := dAtA[iNdEx]
  7431  				iNdEx++
  7432  				stringLen |= uint64(b&0x7F) << shift
  7433  				if b < 0x80 {
  7434  					break
  7435  				}
  7436  			}
  7437  			intStringLen := int(stringLen)
  7438  			if intStringLen < 0 {
  7439  				return ErrInvalidLengthQuery
  7440  			}
  7441  			postIndex := iNdEx + intStringLen
  7442  			if postIndex < 0 {
  7443  				return ErrInvalidLengthQuery
  7444  			}
  7445  			if postIndex > l {
  7446  				return io.ErrUnexpectedEOF
  7447  			}
  7448  			m.Action = string(dAtA[iNdEx:postIndex])
  7449  			iNdEx = postIndex
  7450  		default:
  7451  			iNdEx = preIndex
  7452  			skippy, err := skipQuery(dAtA[iNdEx:])
  7453  			if err != nil {
  7454  				return err
  7455  			}
  7456  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7457  				return ErrInvalidLengthQuery
  7458  			}
  7459  			if (iNdEx + skippy) > l {
  7460  				return io.ErrUnexpectedEOF
  7461  			}
  7462  			iNdEx += skippy
  7463  		}
  7464  	}
  7465  
  7466  	if iNdEx > l {
  7467  		return io.ErrUnexpectedEOF
  7468  	}
  7469  	return nil
  7470  }
  7471  func (m *CoreDumpConfigResponse) Unmarshal(dAtA []byte) error {
  7472  	l := len(dAtA)
  7473  	iNdEx := 0
  7474  	for iNdEx < l {
  7475  		preIndex := iNdEx
  7476  		var wire uint64
  7477  		for shift := uint(0); ; shift += 7 {
  7478  			if shift >= 64 {
  7479  				return ErrIntOverflowQuery
  7480  			}
  7481  			if iNdEx >= l {
  7482  				return io.ErrUnexpectedEOF
  7483  			}
  7484  			b := dAtA[iNdEx]
  7485  			iNdEx++
  7486  			wire |= uint64(b&0x7F) << shift
  7487  			if b < 0x80 {
  7488  				break
  7489  			}
  7490  		}
  7491  		fieldNum := int32(wire >> 3)
  7492  		wireType := int(wire & 0x7)
  7493  		if wireType == 4 {
  7494  			return fmt.Errorf("proto: CoreDumpConfigResponse: wiretype end group for non-group")
  7495  		}
  7496  		if fieldNum <= 0 {
  7497  			return fmt.Errorf("proto: CoreDumpConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  7498  		}
  7499  		switch fieldNum {
  7500  		default:
  7501  			iNdEx = preIndex
  7502  			skippy, err := skipQuery(dAtA[iNdEx:])
  7503  			if err != nil {
  7504  				return err
  7505  			}
  7506  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7507  				return ErrInvalidLengthQuery
  7508  			}
  7509  			if (iNdEx + skippy) > l {
  7510  				return io.ErrUnexpectedEOF
  7511  			}
  7512  			iNdEx += skippy
  7513  		}
  7514  	}
  7515  
  7516  	if iNdEx > l {
  7517  		return io.ErrUnexpectedEOF
  7518  	}
  7519  	return nil
  7520  }
  7521  func (m *GetProtocolVersionRequest) Unmarshal(dAtA []byte) error {
  7522  	l := len(dAtA)
  7523  	iNdEx := 0
  7524  	for iNdEx < l {
  7525  		preIndex := iNdEx
  7526  		var wire uint64
  7527  		for shift := uint(0); ; shift += 7 {
  7528  			if shift >= 64 {
  7529  				return ErrIntOverflowQuery
  7530  			}
  7531  			if iNdEx >= l {
  7532  				return io.ErrUnexpectedEOF
  7533  			}
  7534  			b := dAtA[iNdEx]
  7535  			iNdEx++
  7536  			wire |= uint64(b&0x7F) << shift
  7537  			if b < 0x80 {
  7538  				break
  7539  			}
  7540  		}
  7541  		fieldNum := int32(wire >> 3)
  7542  		wireType := int(wire & 0x7)
  7543  		if wireType == 4 {
  7544  			return fmt.Errorf("proto: GetProtocolVersionRequest: wiretype end group for non-group")
  7545  		}
  7546  		if fieldNum <= 0 {
  7547  			return fmt.Errorf("proto: GetProtocolVersionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7548  		}
  7549  		switch fieldNum {
  7550  		default:
  7551  			iNdEx = preIndex
  7552  			skippy, err := skipQuery(dAtA[iNdEx:])
  7553  			if err != nil {
  7554  				return err
  7555  			}
  7556  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7557  				return ErrInvalidLengthQuery
  7558  			}
  7559  			if (iNdEx + skippy) > l {
  7560  				return io.ErrUnexpectedEOF
  7561  			}
  7562  			iNdEx += skippy
  7563  		}
  7564  	}
  7565  
  7566  	if iNdEx > l {
  7567  		return io.ErrUnexpectedEOF
  7568  	}
  7569  	return nil
  7570  }
  7571  func (m *GetProtocolVersionResponse) Unmarshal(dAtA []byte) error {
  7572  	l := len(dAtA)
  7573  	iNdEx := 0
  7574  	for iNdEx < l {
  7575  		preIndex := iNdEx
  7576  		var wire uint64
  7577  		for shift := uint(0); ; shift += 7 {
  7578  			if shift >= 64 {
  7579  				return ErrIntOverflowQuery
  7580  			}
  7581  			if iNdEx >= l {
  7582  				return io.ErrUnexpectedEOF
  7583  			}
  7584  			b := dAtA[iNdEx]
  7585  			iNdEx++
  7586  			wire |= uint64(b&0x7F) << shift
  7587  			if b < 0x80 {
  7588  				break
  7589  			}
  7590  		}
  7591  		fieldNum := int32(wire >> 3)
  7592  		wireType := int(wire & 0x7)
  7593  		if wireType == 4 {
  7594  			return fmt.Errorf("proto: GetProtocolVersionResponse: wiretype end group for non-group")
  7595  		}
  7596  		if fieldNum <= 0 {
  7597  			return fmt.Errorf("proto: GetProtocolVersionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  7598  		}
  7599  		switch fieldNum {
  7600  		case 1:
  7601  			if wireType != 0 {
  7602  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  7603  			}
  7604  			m.Version = 0
  7605  			for shift := uint(0); ; shift += 7 {
  7606  				if shift >= 64 {
  7607  					return ErrIntOverflowQuery
  7608  				}
  7609  				if iNdEx >= l {
  7610  					return io.ErrUnexpectedEOF
  7611  				}
  7612  				b := dAtA[iNdEx]
  7613  				iNdEx++
  7614  				m.Version |= int64(b&0x7F) << shift
  7615  				if b < 0x80 {
  7616  					break
  7617  				}
  7618  			}
  7619  		default:
  7620  			iNdEx = preIndex
  7621  			skippy, err := skipQuery(dAtA[iNdEx:])
  7622  			if err != nil {
  7623  				return err
  7624  			}
  7625  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7626  				return ErrInvalidLengthQuery
  7627  			}
  7628  			if (iNdEx + skippy) > l {
  7629  				return io.ErrUnexpectedEOF
  7630  			}
  7631  			iNdEx += skippy
  7632  		}
  7633  	}
  7634  
  7635  	if iNdEx > l {
  7636  		return io.ErrUnexpectedEOF
  7637  	}
  7638  	return nil
  7639  }
  7640  func (m *SetProtocolVersionRequest) Unmarshal(dAtA []byte) error {
  7641  	l := len(dAtA)
  7642  	iNdEx := 0
  7643  	for iNdEx < l {
  7644  		preIndex := iNdEx
  7645  		var wire uint64
  7646  		for shift := uint(0); ; shift += 7 {
  7647  			if shift >= 64 {
  7648  				return ErrIntOverflowQuery
  7649  			}
  7650  			if iNdEx >= l {
  7651  				return io.ErrUnexpectedEOF
  7652  			}
  7653  			b := dAtA[iNdEx]
  7654  			iNdEx++
  7655  			wire |= uint64(b&0x7F) << shift
  7656  			if b < 0x80 {
  7657  				break
  7658  			}
  7659  		}
  7660  		fieldNum := int32(wire >> 3)
  7661  		wireType := int(wire & 0x7)
  7662  		if wireType == 4 {
  7663  			return fmt.Errorf("proto: SetProtocolVersionRequest: wiretype end group for non-group")
  7664  		}
  7665  		if fieldNum <= 0 {
  7666  			return fmt.Errorf("proto: SetProtocolVersionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7667  		}
  7668  		switch fieldNum {
  7669  		case 1:
  7670  			if wireType != 0 {
  7671  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  7672  			}
  7673  			m.Version = 0
  7674  			for shift := uint(0); ; shift += 7 {
  7675  				if shift >= 64 {
  7676  					return ErrIntOverflowQuery
  7677  				}
  7678  				if iNdEx >= l {
  7679  					return io.ErrUnexpectedEOF
  7680  				}
  7681  				b := dAtA[iNdEx]
  7682  				iNdEx++
  7683  				m.Version |= int64(b&0x7F) << shift
  7684  				if b < 0x80 {
  7685  					break
  7686  				}
  7687  			}
  7688  		default:
  7689  			iNdEx = preIndex
  7690  			skippy, err := skipQuery(dAtA[iNdEx:])
  7691  			if err != nil {
  7692  				return err
  7693  			}
  7694  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7695  				return ErrInvalidLengthQuery
  7696  			}
  7697  			if (iNdEx + skippy) > l {
  7698  				return io.ErrUnexpectedEOF
  7699  			}
  7700  			iNdEx += skippy
  7701  		}
  7702  	}
  7703  
  7704  	if iNdEx > l {
  7705  		return io.ErrUnexpectedEOF
  7706  	}
  7707  	return nil
  7708  }
  7709  func (m *SetProtocolVersionResponse) Unmarshal(dAtA []byte) error {
  7710  	l := len(dAtA)
  7711  	iNdEx := 0
  7712  	for iNdEx < l {
  7713  		preIndex := iNdEx
  7714  		var wire uint64
  7715  		for shift := uint(0); ; shift += 7 {
  7716  			if shift >= 64 {
  7717  				return ErrIntOverflowQuery
  7718  			}
  7719  			if iNdEx >= l {
  7720  				return io.ErrUnexpectedEOF
  7721  			}
  7722  			b := dAtA[iNdEx]
  7723  			iNdEx++
  7724  			wire |= uint64(b&0x7F) << shift
  7725  			if b < 0x80 {
  7726  				break
  7727  			}
  7728  		}
  7729  		fieldNum := int32(wire >> 3)
  7730  		wireType := int(wire & 0x7)
  7731  		if wireType == 4 {
  7732  			return fmt.Errorf("proto: SetProtocolVersionResponse: wiretype end group for non-group")
  7733  		}
  7734  		if fieldNum <= 0 {
  7735  			return fmt.Errorf("proto: SetProtocolVersionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  7736  		}
  7737  		switch fieldNum {
  7738  		case 1:
  7739  			if wireType != 0 {
  7740  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  7741  			}
  7742  			m.Version = 0
  7743  			for shift := uint(0); ; shift += 7 {
  7744  				if shift >= 64 {
  7745  					return ErrIntOverflowQuery
  7746  				}
  7747  				if iNdEx >= l {
  7748  					return io.ErrUnexpectedEOF
  7749  				}
  7750  				b := dAtA[iNdEx]
  7751  				iNdEx++
  7752  				m.Version |= int64(b&0x7F) << shift
  7753  				if b < 0x80 {
  7754  					break
  7755  				}
  7756  			}
  7757  		default:
  7758  			iNdEx = preIndex
  7759  			skippy, err := skipQuery(dAtA[iNdEx:])
  7760  			if err != nil {
  7761  				return err
  7762  			}
  7763  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7764  				return ErrInvalidLengthQuery
  7765  			}
  7766  			if (iNdEx + skippy) > l {
  7767  				return io.ErrUnexpectedEOF
  7768  			}
  7769  			iNdEx += skippy
  7770  		}
  7771  	}
  7772  
  7773  	if iNdEx > l {
  7774  		return io.ErrUnexpectedEOF
  7775  	}
  7776  	return nil
  7777  }
  7778  func (m *RunTaskRequest) Unmarshal(dAtA []byte) error {
  7779  	l := len(dAtA)
  7780  	iNdEx := 0
  7781  	for iNdEx < l {
  7782  		preIndex := iNdEx
  7783  		var wire uint64
  7784  		for shift := uint(0); ; shift += 7 {
  7785  			if shift >= 64 {
  7786  				return ErrIntOverflowQuery
  7787  			}
  7788  			if iNdEx >= l {
  7789  				return io.ErrUnexpectedEOF
  7790  			}
  7791  			b := dAtA[iNdEx]
  7792  			iNdEx++
  7793  			wire |= uint64(b&0x7F) << shift
  7794  			if b < 0x80 {
  7795  				break
  7796  			}
  7797  		}
  7798  		fieldNum := int32(wire >> 3)
  7799  		wireType := int(wire & 0x7)
  7800  		if wireType == 4 {
  7801  			return fmt.Errorf("proto: RunTaskRequest: wiretype end group for non-group")
  7802  		}
  7803  		if fieldNum <= 0 {
  7804  			return fmt.Errorf("proto: RunTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7805  		}
  7806  		switch fieldNum {
  7807  		case 1:
  7808  			if wireType != 0 {
  7809  				return fmt.Errorf("proto: wrong wireType = %d for field TaskCode", wireType)
  7810  			}
  7811  			m.TaskCode = 0
  7812  			for shift := uint(0); ; shift += 7 {
  7813  				if shift >= 64 {
  7814  					return ErrIntOverflowQuery
  7815  				}
  7816  				if iNdEx >= l {
  7817  					return io.ErrUnexpectedEOF
  7818  				}
  7819  				b := dAtA[iNdEx]
  7820  				iNdEx++
  7821  				m.TaskCode |= int32(b&0x7F) << shift
  7822  				if b < 0x80 {
  7823  					break
  7824  				}
  7825  			}
  7826  		default:
  7827  			iNdEx = preIndex
  7828  			skippy, err := skipQuery(dAtA[iNdEx:])
  7829  			if err != nil {
  7830  				return err
  7831  			}
  7832  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7833  				return ErrInvalidLengthQuery
  7834  			}
  7835  			if (iNdEx + skippy) > l {
  7836  				return io.ErrUnexpectedEOF
  7837  			}
  7838  			iNdEx += skippy
  7839  		}
  7840  	}
  7841  
  7842  	if iNdEx > l {
  7843  		return io.ErrUnexpectedEOF
  7844  	}
  7845  	return nil
  7846  }
  7847  func (m *RunTaskResponse) Unmarshal(dAtA []byte) error {
  7848  	l := len(dAtA)
  7849  	iNdEx := 0
  7850  	for iNdEx < l {
  7851  		preIndex := iNdEx
  7852  		var wire uint64
  7853  		for shift := uint(0); ; shift += 7 {
  7854  			if shift >= 64 {
  7855  				return ErrIntOverflowQuery
  7856  			}
  7857  			if iNdEx >= l {
  7858  				return io.ErrUnexpectedEOF
  7859  			}
  7860  			b := dAtA[iNdEx]
  7861  			iNdEx++
  7862  			wire |= uint64(b&0x7F) << shift
  7863  			if b < 0x80 {
  7864  				break
  7865  			}
  7866  		}
  7867  		fieldNum := int32(wire >> 3)
  7868  		wireType := int(wire & 0x7)
  7869  		if wireType == 4 {
  7870  			return fmt.Errorf("proto: RunTaskResponse: wiretype end group for non-group")
  7871  		}
  7872  		if fieldNum <= 0 {
  7873  			return fmt.Errorf("proto: RunTaskResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  7874  		}
  7875  		switch fieldNum {
  7876  		case 1:
  7877  			if wireType != 2 {
  7878  				return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  7879  			}
  7880  			var stringLen uint64
  7881  			for shift := uint(0); ; shift += 7 {
  7882  				if shift >= 64 {
  7883  					return ErrIntOverflowQuery
  7884  				}
  7885  				if iNdEx >= l {
  7886  					return io.ErrUnexpectedEOF
  7887  				}
  7888  				b := dAtA[iNdEx]
  7889  				iNdEx++
  7890  				stringLen |= uint64(b&0x7F) << shift
  7891  				if b < 0x80 {
  7892  					break
  7893  				}
  7894  			}
  7895  			intStringLen := int(stringLen)
  7896  			if intStringLen < 0 {
  7897  				return ErrInvalidLengthQuery
  7898  			}
  7899  			postIndex := iNdEx + intStringLen
  7900  			if postIndex < 0 {
  7901  				return ErrInvalidLengthQuery
  7902  			}
  7903  			if postIndex > l {
  7904  				return io.ErrUnexpectedEOF
  7905  			}
  7906  			m.Result = string(dAtA[iNdEx:postIndex])
  7907  			iNdEx = postIndex
  7908  		default:
  7909  			iNdEx = preIndex
  7910  			skippy, err := skipQuery(dAtA[iNdEx:])
  7911  			if err != nil {
  7912  				return err
  7913  			}
  7914  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7915  				return ErrInvalidLengthQuery
  7916  			}
  7917  			if (iNdEx + skippy) > l {
  7918  				return io.ErrUnexpectedEOF
  7919  			}
  7920  			iNdEx += skippy
  7921  		}
  7922  	}
  7923  
  7924  	if iNdEx > l {
  7925  		return io.ErrUnexpectedEOF
  7926  	}
  7927  	return nil
  7928  }
  7929  func (m *GetPipelineInfoRequest) Unmarshal(dAtA []byte) error {
  7930  	l := len(dAtA)
  7931  	iNdEx := 0
  7932  	for iNdEx < l {
  7933  		preIndex := iNdEx
  7934  		var wire uint64
  7935  		for shift := uint(0); ; shift += 7 {
  7936  			if shift >= 64 {
  7937  				return ErrIntOverflowQuery
  7938  			}
  7939  			if iNdEx >= l {
  7940  				return io.ErrUnexpectedEOF
  7941  			}
  7942  			b := dAtA[iNdEx]
  7943  			iNdEx++
  7944  			wire |= uint64(b&0x7F) << shift
  7945  			if b < 0x80 {
  7946  				break
  7947  			}
  7948  		}
  7949  		fieldNum := int32(wire >> 3)
  7950  		wireType := int(wire & 0x7)
  7951  		if wireType == 4 {
  7952  			return fmt.Errorf("proto: GetPipelineInfoRequest: wiretype end group for non-group")
  7953  		}
  7954  		if fieldNum <= 0 {
  7955  			return fmt.Errorf("proto: GetPipelineInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7956  		}
  7957  		switch fieldNum {
  7958  		default:
  7959  			iNdEx = preIndex
  7960  			skippy, err := skipQuery(dAtA[iNdEx:])
  7961  			if err != nil {
  7962  				return err
  7963  			}
  7964  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7965  				return ErrInvalidLengthQuery
  7966  			}
  7967  			if (iNdEx + skippy) > l {
  7968  				return io.ErrUnexpectedEOF
  7969  			}
  7970  			iNdEx += skippy
  7971  		}
  7972  	}
  7973  
  7974  	if iNdEx > l {
  7975  		return io.ErrUnexpectedEOF
  7976  	}
  7977  	return nil
  7978  }
  7979  func (m *GetPipelineInfoResponse) Unmarshal(dAtA []byte) error {
  7980  	l := len(dAtA)
  7981  	iNdEx := 0
  7982  	for iNdEx < l {
  7983  		preIndex := iNdEx
  7984  		var wire uint64
  7985  		for shift := uint(0); ; shift += 7 {
  7986  			if shift >= 64 {
  7987  				return ErrIntOverflowQuery
  7988  			}
  7989  			if iNdEx >= l {
  7990  				return io.ErrUnexpectedEOF
  7991  			}
  7992  			b := dAtA[iNdEx]
  7993  			iNdEx++
  7994  			wire |= uint64(b&0x7F) << shift
  7995  			if b < 0x80 {
  7996  				break
  7997  			}
  7998  		}
  7999  		fieldNum := int32(wire >> 3)
  8000  		wireType := int(wire & 0x7)
  8001  		if wireType == 4 {
  8002  			return fmt.Errorf("proto: GetPipelineInfoResponse: wiretype end group for non-group")
  8003  		}
  8004  		if fieldNum <= 0 {
  8005  			return fmt.Errorf("proto: GetPipelineInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  8006  		}
  8007  		switch fieldNum {
  8008  		case 1:
  8009  			if wireType != 0 {
  8010  				return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  8011  			}
  8012  			m.Count = 0
  8013  			for shift := uint(0); ; shift += 7 {
  8014  				if shift >= 64 {
  8015  					return ErrIntOverflowQuery
  8016  				}
  8017  				if iNdEx >= l {
  8018  					return io.ErrUnexpectedEOF
  8019  				}
  8020  				b := dAtA[iNdEx]
  8021  				iNdEx++
  8022  				m.Count |= int64(b&0x7F) << shift
  8023  				if b < 0x80 {
  8024  					break
  8025  				}
  8026  			}
  8027  		default:
  8028  			iNdEx = preIndex
  8029  			skippy, err := skipQuery(dAtA[iNdEx:])
  8030  			if err != nil {
  8031  				return err
  8032  			}
  8033  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8034  				return ErrInvalidLengthQuery
  8035  			}
  8036  			if (iNdEx + skippy) > l {
  8037  				return io.ErrUnexpectedEOF
  8038  			}
  8039  			iNdEx += skippy
  8040  		}
  8041  	}
  8042  
  8043  	if iNdEx > l {
  8044  		return io.ErrUnexpectedEOF
  8045  	}
  8046  	return nil
  8047  }
  8048  func (m *Request) Unmarshal(dAtA []byte) error {
  8049  	l := len(dAtA)
  8050  	iNdEx := 0
  8051  	for iNdEx < l {
  8052  		preIndex := iNdEx
  8053  		var wire uint64
  8054  		for shift := uint(0); ; shift += 7 {
  8055  			if shift >= 64 {
  8056  				return ErrIntOverflowQuery
  8057  			}
  8058  			if iNdEx >= l {
  8059  				return io.ErrUnexpectedEOF
  8060  			}
  8061  			b := dAtA[iNdEx]
  8062  			iNdEx++
  8063  			wire |= uint64(b&0x7F) << shift
  8064  			if b < 0x80 {
  8065  				break
  8066  			}
  8067  		}
  8068  		fieldNum := int32(wire >> 3)
  8069  		wireType := int(wire & 0x7)
  8070  		if wireType == 4 {
  8071  			return fmt.Errorf("proto: Request: wiretype end group for non-group")
  8072  		}
  8073  		if fieldNum <= 0 {
  8074  			return fmt.Errorf("proto: Request: illegal tag %d (wire type %d)", fieldNum, wire)
  8075  		}
  8076  		switch fieldNum {
  8077  		case 1:
  8078  			if wireType != 0 {
  8079  				return fmt.Errorf("proto: wrong wireType = %d for field RequestID", wireType)
  8080  			}
  8081  			m.RequestID = 0
  8082  			for shift := uint(0); ; shift += 7 {
  8083  				if shift >= 64 {
  8084  					return ErrIntOverflowQuery
  8085  				}
  8086  				if iNdEx >= l {
  8087  					return io.ErrUnexpectedEOF
  8088  				}
  8089  				b := dAtA[iNdEx]
  8090  				iNdEx++
  8091  				m.RequestID |= uint64(b&0x7F) << shift
  8092  				if b < 0x80 {
  8093  					break
  8094  				}
  8095  			}
  8096  		case 2:
  8097  			if wireType != 0 {
  8098  				return fmt.Errorf("proto: wrong wireType = %d for field CmdMethod", wireType)
  8099  			}
  8100  			m.CmdMethod = 0
  8101  			for shift := uint(0); ; shift += 7 {
  8102  				if shift >= 64 {
  8103  					return ErrIntOverflowQuery
  8104  				}
  8105  				if iNdEx >= l {
  8106  					return io.ErrUnexpectedEOF
  8107  				}
  8108  				b := dAtA[iNdEx]
  8109  				iNdEx++
  8110  				m.CmdMethod |= CmdMethod(b&0x7F) << shift
  8111  				if b < 0x80 {
  8112  					break
  8113  				}
  8114  			}
  8115  		case 3:
  8116  			if wireType != 2 {
  8117  				return fmt.Errorf("proto: wrong wireType = %d for field QueryRequest", wireType)
  8118  			}
  8119  			var msglen int
  8120  			for shift := uint(0); ; shift += 7 {
  8121  				if shift >= 64 {
  8122  					return ErrIntOverflowQuery
  8123  				}
  8124  				if iNdEx >= l {
  8125  					return io.ErrUnexpectedEOF
  8126  				}
  8127  				b := dAtA[iNdEx]
  8128  				iNdEx++
  8129  				msglen |= int(b&0x7F) << shift
  8130  				if b < 0x80 {
  8131  					break
  8132  				}
  8133  			}
  8134  			if msglen < 0 {
  8135  				return ErrInvalidLengthQuery
  8136  			}
  8137  			postIndex := iNdEx + msglen
  8138  			if postIndex < 0 {
  8139  				return ErrInvalidLengthQuery
  8140  			}
  8141  			if postIndex > l {
  8142  				return io.ErrUnexpectedEOF
  8143  			}
  8144  			if m.QueryRequest == nil {
  8145  				m.QueryRequest = &QueryRequest{}
  8146  			}
  8147  			if err := m.QueryRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8148  				return err
  8149  			}
  8150  			iNdEx = postIndex
  8151  		case 4:
  8152  			if wireType != 2 {
  8153  				return fmt.Errorf("proto: wrong wireType = %d for field ShowProcessListRequest", wireType)
  8154  			}
  8155  			var msglen int
  8156  			for shift := uint(0); ; shift += 7 {
  8157  				if shift >= 64 {
  8158  					return ErrIntOverflowQuery
  8159  				}
  8160  				if iNdEx >= l {
  8161  					return io.ErrUnexpectedEOF
  8162  				}
  8163  				b := dAtA[iNdEx]
  8164  				iNdEx++
  8165  				msglen |= int(b&0x7F) << shift
  8166  				if b < 0x80 {
  8167  					break
  8168  				}
  8169  			}
  8170  			if msglen < 0 {
  8171  				return ErrInvalidLengthQuery
  8172  			}
  8173  			postIndex := iNdEx + msglen
  8174  			if postIndex < 0 {
  8175  				return ErrInvalidLengthQuery
  8176  			}
  8177  			if postIndex > l {
  8178  				return io.ErrUnexpectedEOF
  8179  			}
  8180  			if m.ShowProcessListRequest == nil {
  8181  				m.ShowProcessListRequest = &ShowProcessListRequest{}
  8182  			}
  8183  			if err := m.ShowProcessListRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8184  				return err
  8185  			}
  8186  			iNdEx = postIndex
  8187  		case 5:
  8188  			if wireType != 2 {
  8189  				return fmt.Errorf("proto: wrong wireType = %d for field AlterAccountRequest", wireType)
  8190  			}
  8191  			var msglen int
  8192  			for shift := uint(0); ; shift += 7 {
  8193  				if shift >= 64 {
  8194  					return ErrIntOverflowQuery
  8195  				}
  8196  				if iNdEx >= l {
  8197  					return io.ErrUnexpectedEOF
  8198  				}
  8199  				b := dAtA[iNdEx]
  8200  				iNdEx++
  8201  				msglen |= int(b&0x7F) << shift
  8202  				if b < 0x80 {
  8203  					break
  8204  				}
  8205  			}
  8206  			if msglen < 0 {
  8207  				return ErrInvalidLengthQuery
  8208  			}
  8209  			postIndex := iNdEx + msglen
  8210  			if postIndex < 0 {
  8211  				return ErrInvalidLengthQuery
  8212  			}
  8213  			if postIndex > l {
  8214  				return io.ErrUnexpectedEOF
  8215  			}
  8216  			if m.AlterAccountRequest == nil {
  8217  				m.AlterAccountRequest = &AlterAccountRequest{}
  8218  			}
  8219  			if err := m.AlterAccountRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8220  				return err
  8221  			}
  8222  			iNdEx = postIndex
  8223  		case 6:
  8224  			if wireType != 2 {
  8225  				return fmt.Errorf("proto: wrong wireType = %d for field KillConnRequest", wireType)
  8226  			}
  8227  			var msglen int
  8228  			for shift := uint(0); ; shift += 7 {
  8229  				if shift >= 64 {
  8230  					return ErrIntOverflowQuery
  8231  				}
  8232  				if iNdEx >= l {
  8233  					return io.ErrUnexpectedEOF
  8234  				}
  8235  				b := dAtA[iNdEx]
  8236  				iNdEx++
  8237  				msglen |= int(b&0x7F) << shift
  8238  				if b < 0x80 {
  8239  					break
  8240  				}
  8241  			}
  8242  			if msglen < 0 {
  8243  				return ErrInvalidLengthQuery
  8244  			}
  8245  			postIndex := iNdEx + msglen
  8246  			if postIndex < 0 {
  8247  				return ErrInvalidLengthQuery
  8248  			}
  8249  			if postIndex > l {
  8250  				return io.ErrUnexpectedEOF
  8251  			}
  8252  			if m.KillConnRequest == nil {
  8253  				m.KillConnRequest = &KillConnRequest{}
  8254  			}
  8255  			if err := m.KillConnRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8256  				return err
  8257  			}
  8258  			iNdEx = postIndex
  8259  		case 7:
  8260  			if wireType != 2 {
  8261  				return fmt.Errorf("proto: wrong wireType = %d for field TraceSpanRequest", wireType)
  8262  			}
  8263  			var msglen int
  8264  			for shift := uint(0); ; shift += 7 {
  8265  				if shift >= 64 {
  8266  					return ErrIntOverflowQuery
  8267  				}
  8268  				if iNdEx >= l {
  8269  					return io.ErrUnexpectedEOF
  8270  				}
  8271  				b := dAtA[iNdEx]
  8272  				iNdEx++
  8273  				msglen |= int(b&0x7F) << shift
  8274  				if b < 0x80 {
  8275  					break
  8276  				}
  8277  			}
  8278  			if msglen < 0 {
  8279  				return ErrInvalidLengthQuery
  8280  			}
  8281  			postIndex := iNdEx + msglen
  8282  			if postIndex < 0 {
  8283  				return ErrInvalidLengthQuery
  8284  			}
  8285  			if postIndex > l {
  8286  				return io.ErrUnexpectedEOF
  8287  			}
  8288  			if m.TraceSpanRequest == nil {
  8289  				m.TraceSpanRequest = &TraceSpanRequest{}
  8290  			}
  8291  			if err := m.TraceSpanRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8292  				return err
  8293  			}
  8294  			iNdEx = postIndex
  8295  		case 8:
  8296  			if wireType != 2 {
  8297  				return fmt.Errorf("proto: wrong wireType = %d for field GetLockInfoRequest", wireType)
  8298  			}
  8299  			var msglen int
  8300  			for shift := uint(0); ; shift += 7 {
  8301  				if shift >= 64 {
  8302  					return ErrIntOverflowQuery
  8303  				}
  8304  				if iNdEx >= l {
  8305  					return io.ErrUnexpectedEOF
  8306  				}
  8307  				b := dAtA[iNdEx]
  8308  				iNdEx++
  8309  				msglen |= int(b&0x7F) << shift
  8310  				if b < 0x80 {
  8311  					break
  8312  				}
  8313  			}
  8314  			if msglen < 0 {
  8315  				return ErrInvalidLengthQuery
  8316  			}
  8317  			postIndex := iNdEx + msglen
  8318  			if postIndex < 0 {
  8319  				return ErrInvalidLengthQuery
  8320  			}
  8321  			if postIndex > l {
  8322  				return io.ErrUnexpectedEOF
  8323  			}
  8324  			if m.GetLockInfoRequest == nil {
  8325  				m.GetLockInfoRequest = &GetLockInfoRequest{}
  8326  			}
  8327  			if err := m.GetLockInfoRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8328  				return err
  8329  			}
  8330  			iNdEx = postIndex
  8331  		case 9:
  8332  			if wireType != 2 {
  8333  				return fmt.Errorf("proto: wrong wireType = %d for field GetTxnInfoRequest", wireType)
  8334  			}
  8335  			var msglen int
  8336  			for shift := uint(0); ; shift += 7 {
  8337  				if shift >= 64 {
  8338  					return ErrIntOverflowQuery
  8339  				}
  8340  				if iNdEx >= l {
  8341  					return io.ErrUnexpectedEOF
  8342  				}
  8343  				b := dAtA[iNdEx]
  8344  				iNdEx++
  8345  				msglen |= int(b&0x7F) << shift
  8346  				if b < 0x80 {
  8347  					break
  8348  				}
  8349  			}
  8350  			if msglen < 0 {
  8351  				return ErrInvalidLengthQuery
  8352  			}
  8353  			postIndex := iNdEx + msglen
  8354  			if postIndex < 0 {
  8355  				return ErrInvalidLengthQuery
  8356  			}
  8357  			if postIndex > l {
  8358  				return io.ErrUnexpectedEOF
  8359  			}
  8360  			if m.GetTxnInfoRequest == nil {
  8361  				m.GetTxnInfoRequest = &GetTxnInfoRequest{}
  8362  			}
  8363  			if err := m.GetTxnInfoRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8364  				return err
  8365  			}
  8366  			iNdEx = postIndex
  8367  		case 10:
  8368  			if wireType != 2 {
  8369  				return fmt.Errorf("proto: wrong wireType = %d for field GetCacheInfoRequest", wireType)
  8370  			}
  8371  			var msglen int
  8372  			for shift := uint(0); ; shift += 7 {
  8373  				if shift >= 64 {
  8374  					return ErrIntOverflowQuery
  8375  				}
  8376  				if iNdEx >= l {
  8377  					return io.ErrUnexpectedEOF
  8378  				}
  8379  				b := dAtA[iNdEx]
  8380  				iNdEx++
  8381  				msglen |= int(b&0x7F) << shift
  8382  				if b < 0x80 {
  8383  					break
  8384  				}
  8385  			}
  8386  			if msglen < 0 {
  8387  				return ErrInvalidLengthQuery
  8388  			}
  8389  			postIndex := iNdEx + msglen
  8390  			if postIndex < 0 {
  8391  				return ErrInvalidLengthQuery
  8392  			}
  8393  			if postIndex > l {
  8394  				return io.ErrUnexpectedEOF
  8395  			}
  8396  			if m.GetCacheInfoRequest == nil {
  8397  				m.GetCacheInfoRequest = &GetCacheInfoRequest{}
  8398  			}
  8399  			if err := m.GetCacheInfoRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8400  				return err
  8401  			}
  8402  			iNdEx = postIndex
  8403  		case 11:
  8404  			if wireType != 2 {
  8405  				return fmt.Errorf("proto: wrong wireType = %d for field SycnCommit", wireType)
  8406  			}
  8407  			var msglen int
  8408  			for shift := uint(0); ; shift += 7 {
  8409  				if shift >= 64 {
  8410  					return ErrIntOverflowQuery
  8411  				}
  8412  				if iNdEx >= l {
  8413  					return io.ErrUnexpectedEOF
  8414  				}
  8415  				b := dAtA[iNdEx]
  8416  				iNdEx++
  8417  				msglen |= int(b&0x7F) << shift
  8418  				if b < 0x80 {
  8419  					break
  8420  				}
  8421  			}
  8422  			if msglen < 0 {
  8423  				return ErrInvalidLengthQuery
  8424  			}
  8425  			postIndex := iNdEx + msglen
  8426  			if postIndex < 0 {
  8427  				return ErrInvalidLengthQuery
  8428  			}
  8429  			if postIndex > l {
  8430  				return io.ErrUnexpectedEOF
  8431  			}
  8432  			if m.SycnCommit == nil {
  8433  				m.SycnCommit = &SyncCommitRequest{}
  8434  			}
  8435  			if err := m.SycnCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8436  				return err
  8437  			}
  8438  			iNdEx = postIndex
  8439  		case 12:
  8440  			if wireType != 2 {
  8441  				return fmt.Errorf("proto: wrong wireType = %d for field GetCommit", wireType)
  8442  			}
  8443  			var msglen int
  8444  			for shift := uint(0); ; shift += 7 {
  8445  				if shift >= 64 {
  8446  					return ErrIntOverflowQuery
  8447  				}
  8448  				if iNdEx >= l {
  8449  					return io.ErrUnexpectedEOF
  8450  				}
  8451  				b := dAtA[iNdEx]
  8452  				iNdEx++
  8453  				msglen |= int(b&0x7F) << shift
  8454  				if b < 0x80 {
  8455  					break
  8456  				}
  8457  			}
  8458  			if msglen < 0 {
  8459  				return ErrInvalidLengthQuery
  8460  			}
  8461  			postIndex := iNdEx + msglen
  8462  			if postIndex < 0 {
  8463  				return ErrInvalidLengthQuery
  8464  			}
  8465  			if postIndex > l {
  8466  				return io.ErrUnexpectedEOF
  8467  			}
  8468  			if m.GetCommit == nil {
  8469  				m.GetCommit = &GetCommitRequest{}
  8470  			}
  8471  			if err := m.GetCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8472  				return err
  8473  			}
  8474  			iNdEx = postIndex
  8475  		case 13:
  8476  			if wireType != 2 {
  8477  				return fmt.Errorf("proto: wrong wireType = %d for field GetProtocolVersion", wireType)
  8478  			}
  8479  			var msglen int
  8480  			for shift := uint(0); ; shift += 7 {
  8481  				if shift >= 64 {
  8482  					return ErrIntOverflowQuery
  8483  				}
  8484  				if iNdEx >= l {
  8485  					return io.ErrUnexpectedEOF
  8486  				}
  8487  				b := dAtA[iNdEx]
  8488  				iNdEx++
  8489  				msglen |= int(b&0x7F) << shift
  8490  				if b < 0x80 {
  8491  					break
  8492  				}
  8493  			}
  8494  			if msglen < 0 {
  8495  				return ErrInvalidLengthQuery
  8496  			}
  8497  			postIndex := iNdEx + msglen
  8498  			if postIndex < 0 {
  8499  				return ErrInvalidLengthQuery
  8500  			}
  8501  			if postIndex > l {
  8502  				return io.ErrUnexpectedEOF
  8503  			}
  8504  			if m.GetProtocolVersion == nil {
  8505  				m.GetProtocolVersion = &GetProtocolVersionRequest{}
  8506  			}
  8507  			if err := m.GetProtocolVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8508  				return err
  8509  			}
  8510  			iNdEx = postIndex
  8511  		case 14:
  8512  			if wireType != 2 {
  8513  				return fmt.Errorf("proto: wrong wireType = %d for field SetProtocolVersion", wireType)
  8514  			}
  8515  			var msglen int
  8516  			for shift := uint(0); ; shift += 7 {
  8517  				if shift >= 64 {
  8518  					return ErrIntOverflowQuery
  8519  				}
  8520  				if iNdEx >= l {
  8521  					return io.ErrUnexpectedEOF
  8522  				}
  8523  				b := dAtA[iNdEx]
  8524  				iNdEx++
  8525  				msglen |= int(b&0x7F) << shift
  8526  				if b < 0x80 {
  8527  					break
  8528  				}
  8529  			}
  8530  			if msglen < 0 {
  8531  				return ErrInvalidLengthQuery
  8532  			}
  8533  			postIndex := iNdEx + msglen
  8534  			if postIndex < 0 {
  8535  				return ErrInvalidLengthQuery
  8536  			}
  8537  			if postIndex > l {
  8538  				return io.ErrUnexpectedEOF
  8539  			}
  8540  			if m.SetProtocolVersion == nil {
  8541  				m.SetProtocolVersion = &SetProtocolVersionRequest{}
  8542  			}
  8543  			if err := m.SetProtocolVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8544  				return err
  8545  			}
  8546  			iNdEx = postIndex
  8547  		case 15:
  8548  			if wireType != 2 {
  8549  				return fmt.Errorf("proto: wrong wireType = %d for field CoreDumpConfig", wireType)
  8550  			}
  8551  			var msglen int
  8552  			for shift := uint(0); ; shift += 7 {
  8553  				if shift >= 64 {
  8554  					return ErrIntOverflowQuery
  8555  				}
  8556  				if iNdEx >= l {
  8557  					return io.ErrUnexpectedEOF
  8558  				}
  8559  				b := dAtA[iNdEx]
  8560  				iNdEx++
  8561  				msglen |= int(b&0x7F) << shift
  8562  				if b < 0x80 {
  8563  					break
  8564  				}
  8565  			}
  8566  			if msglen < 0 {
  8567  				return ErrInvalidLengthQuery
  8568  			}
  8569  			postIndex := iNdEx + msglen
  8570  			if postIndex < 0 {
  8571  				return ErrInvalidLengthQuery
  8572  			}
  8573  			if postIndex > l {
  8574  				return io.ErrUnexpectedEOF
  8575  			}
  8576  			if m.CoreDumpConfig == nil {
  8577  				m.CoreDumpConfig = &CoreDumpConfigRequest{}
  8578  			}
  8579  			if err := m.CoreDumpConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8580  				return err
  8581  			}
  8582  			iNdEx = postIndex
  8583  		case 16:
  8584  			if wireType != 2 {
  8585  				return fmt.Errorf("proto: wrong wireType = %d for field RunTask", wireType)
  8586  			}
  8587  			var msglen int
  8588  			for shift := uint(0); ; shift += 7 {
  8589  				if shift >= 64 {
  8590  					return ErrIntOverflowQuery
  8591  				}
  8592  				if iNdEx >= l {
  8593  					return io.ErrUnexpectedEOF
  8594  				}
  8595  				b := dAtA[iNdEx]
  8596  				iNdEx++
  8597  				msglen |= int(b&0x7F) << shift
  8598  				if b < 0x80 {
  8599  					break
  8600  				}
  8601  			}
  8602  			if msglen < 0 {
  8603  				return ErrInvalidLengthQuery
  8604  			}
  8605  			postIndex := iNdEx + msglen
  8606  			if postIndex < 0 {
  8607  				return ErrInvalidLengthQuery
  8608  			}
  8609  			if postIndex > l {
  8610  				return io.ErrUnexpectedEOF
  8611  			}
  8612  			if m.RunTask == nil {
  8613  				m.RunTask = &RunTaskRequest{}
  8614  			}
  8615  			if err := m.RunTask.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8616  				return err
  8617  			}
  8618  			iNdEx = postIndex
  8619  		case 17:
  8620  			if wireType != 2 {
  8621  				return fmt.Errorf("proto: wrong wireType = %d for field RemoveRemoteLockTable", wireType)
  8622  			}
  8623  			var msglen int
  8624  			for shift := uint(0); ; shift += 7 {
  8625  				if shift >= 64 {
  8626  					return ErrIntOverflowQuery
  8627  				}
  8628  				if iNdEx >= l {
  8629  					return io.ErrUnexpectedEOF
  8630  				}
  8631  				b := dAtA[iNdEx]
  8632  				iNdEx++
  8633  				msglen |= int(b&0x7F) << shift
  8634  				if b < 0x80 {
  8635  					break
  8636  				}
  8637  			}
  8638  			if msglen < 0 {
  8639  				return ErrInvalidLengthQuery
  8640  			}
  8641  			postIndex := iNdEx + msglen
  8642  			if postIndex < 0 {
  8643  				return ErrInvalidLengthQuery
  8644  			}
  8645  			if postIndex > l {
  8646  				return io.ErrUnexpectedEOF
  8647  			}
  8648  			if m.RemoveRemoteLockTable == nil {
  8649  				m.RemoveRemoteLockTable = &RemoveRemoteLockTableRequest{}
  8650  			}
  8651  			if err := m.RemoveRemoteLockTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8652  				return err
  8653  			}
  8654  			iNdEx = postIndex
  8655  		case 18:
  8656  			if wireType != 2 {
  8657  				return fmt.Errorf("proto: wrong wireType = %d for field GetLatestBind", wireType)
  8658  			}
  8659  			var msglen int
  8660  			for shift := uint(0); ; shift += 7 {
  8661  				if shift >= 64 {
  8662  					return ErrIntOverflowQuery
  8663  				}
  8664  				if iNdEx >= l {
  8665  					return io.ErrUnexpectedEOF
  8666  				}
  8667  				b := dAtA[iNdEx]
  8668  				iNdEx++
  8669  				msglen |= int(b&0x7F) << shift
  8670  				if b < 0x80 {
  8671  					break
  8672  				}
  8673  			}
  8674  			if msglen < 0 {
  8675  				return ErrInvalidLengthQuery
  8676  			}
  8677  			postIndex := iNdEx + msglen
  8678  			if postIndex < 0 {
  8679  				return ErrInvalidLengthQuery
  8680  			}
  8681  			if postIndex > l {
  8682  				return io.ErrUnexpectedEOF
  8683  			}
  8684  			if m.GetLatestBind == nil {
  8685  				m.GetLatestBind = &GetLatestBindRequest{}
  8686  			}
  8687  			if err := m.GetLatestBind.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8688  				return err
  8689  			}
  8690  			iNdEx = postIndex
  8691  		case 19:
  8692  			if wireType != 2 {
  8693  				return fmt.Errorf("proto: wrong wireType = %d for field UnsubscribeTable", wireType)
  8694  			}
  8695  			var msglen int
  8696  			for shift := uint(0); ; shift += 7 {
  8697  				if shift >= 64 {
  8698  					return ErrIntOverflowQuery
  8699  				}
  8700  				if iNdEx >= l {
  8701  					return io.ErrUnexpectedEOF
  8702  				}
  8703  				b := dAtA[iNdEx]
  8704  				iNdEx++
  8705  				msglen |= int(b&0x7F) << shift
  8706  				if b < 0x80 {
  8707  					break
  8708  				}
  8709  			}
  8710  			if msglen < 0 {
  8711  				return ErrInvalidLengthQuery
  8712  			}
  8713  			postIndex := iNdEx + msglen
  8714  			if postIndex < 0 {
  8715  				return ErrInvalidLengthQuery
  8716  			}
  8717  			if postIndex > l {
  8718  				return io.ErrUnexpectedEOF
  8719  			}
  8720  			if m.UnsubscribeTable == nil {
  8721  				m.UnsubscribeTable = &UnsubscribeTableRequest{}
  8722  			}
  8723  			if err := m.UnsubscribeTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8724  				return err
  8725  			}
  8726  			iNdEx = postIndex
  8727  		case 20:
  8728  			if wireType != 2 {
  8729  				return fmt.Errorf("proto: wrong wireType = %d for field GetCacheDataRequest", wireType)
  8730  			}
  8731  			var msglen int
  8732  			for shift := uint(0); ; shift += 7 {
  8733  				if shift >= 64 {
  8734  					return ErrIntOverflowQuery
  8735  				}
  8736  				if iNdEx >= l {
  8737  					return io.ErrUnexpectedEOF
  8738  				}
  8739  				b := dAtA[iNdEx]
  8740  				iNdEx++
  8741  				msglen |= int(b&0x7F) << shift
  8742  				if b < 0x80 {
  8743  					break
  8744  				}
  8745  			}
  8746  			if msglen < 0 {
  8747  				return ErrInvalidLengthQuery
  8748  			}
  8749  			postIndex := iNdEx + msglen
  8750  			if postIndex < 0 {
  8751  				return ErrInvalidLengthQuery
  8752  			}
  8753  			if postIndex > l {
  8754  				return io.ErrUnexpectedEOF
  8755  			}
  8756  			if m.GetCacheDataRequest == nil {
  8757  				m.GetCacheDataRequest = &GetCacheDataRequest{}
  8758  			}
  8759  			if err := m.GetCacheDataRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8760  				return err
  8761  			}
  8762  			iNdEx = postIndex
  8763  		case 21:
  8764  			if wireType != 2 {
  8765  				return fmt.Errorf("proto: wrong wireType = %d for field GetStatsInfoRequest", wireType)
  8766  			}
  8767  			var msglen int
  8768  			for shift := uint(0); ; shift += 7 {
  8769  				if shift >= 64 {
  8770  					return ErrIntOverflowQuery
  8771  				}
  8772  				if iNdEx >= l {
  8773  					return io.ErrUnexpectedEOF
  8774  				}
  8775  				b := dAtA[iNdEx]
  8776  				iNdEx++
  8777  				msglen |= int(b&0x7F) << shift
  8778  				if b < 0x80 {
  8779  					break
  8780  				}
  8781  			}
  8782  			if msglen < 0 {
  8783  				return ErrInvalidLengthQuery
  8784  			}
  8785  			postIndex := iNdEx + msglen
  8786  			if postIndex < 0 {
  8787  				return ErrInvalidLengthQuery
  8788  			}
  8789  			if postIndex > l {
  8790  				return io.ErrUnexpectedEOF
  8791  			}
  8792  			if m.GetStatsInfoRequest == nil {
  8793  				m.GetStatsInfoRequest = &GetStatsInfoRequest{}
  8794  			}
  8795  			if err := m.GetStatsInfoRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8796  				return err
  8797  			}
  8798  			iNdEx = postIndex
  8799  		case 22:
  8800  			if wireType != 2 {
  8801  				return fmt.Errorf("proto: wrong wireType = %d for field GetPipelineInfoRequest", wireType)
  8802  			}
  8803  			var msglen int
  8804  			for shift := uint(0); ; shift += 7 {
  8805  				if shift >= 64 {
  8806  					return ErrIntOverflowQuery
  8807  				}
  8808  				if iNdEx >= l {
  8809  					return io.ErrUnexpectedEOF
  8810  				}
  8811  				b := dAtA[iNdEx]
  8812  				iNdEx++
  8813  				msglen |= int(b&0x7F) << shift
  8814  				if b < 0x80 {
  8815  					break
  8816  				}
  8817  			}
  8818  			if msglen < 0 {
  8819  				return ErrInvalidLengthQuery
  8820  			}
  8821  			postIndex := iNdEx + msglen
  8822  			if postIndex < 0 {
  8823  				return ErrInvalidLengthQuery
  8824  			}
  8825  			if postIndex > l {
  8826  				return io.ErrUnexpectedEOF
  8827  			}
  8828  			if m.GetPipelineInfoRequest == nil {
  8829  				m.GetPipelineInfoRequest = &GetPipelineInfoRequest{}
  8830  			}
  8831  			if err := m.GetPipelineInfoRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8832  				return err
  8833  			}
  8834  			iNdEx = postIndex
  8835  		case 23:
  8836  			if wireType != 2 {
  8837  				return fmt.Errorf("proto: wrong wireType = %d for field MigrateConnFromRequest", wireType)
  8838  			}
  8839  			var msglen int
  8840  			for shift := uint(0); ; shift += 7 {
  8841  				if shift >= 64 {
  8842  					return ErrIntOverflowQuery
  8843  				}
  8844  				if iNdEx >= l {
  8845  					return io.ErrUnexpectedEOF
  8846  				}
  8847  				b := dAtA[iNdEx]
  8848  				iNdEx++
  8849  				msglen |= int(b&0x7F) << shift
  8850  				if b < 0x80 {
  8851  					break
  8852  				}
  8853  			}
  8854  			if msglen < 0 {
  8855  				return ErrInvalidLengthQuery
  8856  			}
  8857  			postIndex := iNdEx + msglen
  8858  			if postIndex < 0 {
  8859  				return ErrInvalidLengthQuery
  8860  			}
  8861  			if postIndex > l {
  8862  				return io.ErrUnexpectedEOF
  8863  			}
  8864  			if m.MigrateConnFromRequest == nil {
  8865  				m.MigrateConnFromRequest = &MigrateConnFromRequest{}
  8866  			}
  8867  			if err := m.MigrateConnFromRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8868  				return err
  8869  			}
  8870  			iNdEx = postIndex
  8871  		case 24:
  8872  			if wireType != 2 {
  8873  				return fmt.Errorf("proto: wrong wireType = %d for field MigrateConnToRequest", wireType)
  8874  			}
  8875  			var msglen int
  8876  			for shift := uint(0); ; shift += 7 {
  8877  				if shift >= 64 {
  8878  					return ErrIntOverflowQuery
  8879  				}
  8880  				if iNdEx >= l {
  8881  					return io.ErrUnexpectedEOF
  8882  				}
  8883  				b := dAtA[iNdEx]
  8884  				iNdEx++
  8885  				msglen |= int(b&0x7F) << shift
  8886  				if b < 0x80 {
  8887  					break
  8888  				}
  8889  			}
  8890  			if msglen < 0 {
  8891  				return ErrInvalidLengthQuery
  8892  			}
  8893  			postIndex := iNdEx + msglen
  8894  			if postIndex < 0 {
  8895  				return ErrInvalidLengthQuery
  8896  			}
  8897  			if postIndex > l {
  8898  				return io.ErrUnexpectedEOF
  8899  			}
  8900  			if m.MigrateConnToRequest == nil {
  8901  				m.MigrateConnToRequest = &MigrateConnToRequest{}
  8902  			}
  8903  			if err := m.MigrateConnToRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8904  				return err
  8905  			}
  8906  			iNdEx = postIndex
  8907  		default:
  8908  			iNdEx = preIndex
  8909  			skippy, err := skipQuery(dAtA[iNdEx:])
  8910  			if err != nil {
  8911  				return err
  8912  			}
  8913  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8914  				return ErrInvalidLengthQuery
  8915  			}
  8916  			if (iNdEx + skippy) > l {
  8917  				return io.ErrUnexpectedEOF
  8918  			}
  8919  			iNdEx += skippy
  8920  		}
  8921  	}
  8922  
  8923  	if iNdEx > l {
  8924  		return io.ErrUnexpectedEOF
  8925  	}
  8926  	return nil
  8927  }
  8928  func (m *ShowProcessListResponse) Unmarshal(dAtA []byte) error {
  8929  	l := len(dAtA)
  8930  	iNdEx := 0
  8931  	for iNdEx < l {
  8932  		preIndex := iNdEx
  8933  		var wire uint64
  8934  		for shift := uint(0); ; shift += 7 {
  8935  			if shift >= 64 {
  8936  				return ErrIntOverflowQuery
  8937  			}
  8938  			if iNdEx >= l {
  8939  				return io.ErrUnexpectedEOF
  8940  			}
  8941  			b := dAtA[iNdEx]
  8942  			iNdEx++
  8943  			wire |= uint64(b&0x7F) << shift
  8944  			if b < 0x80 {
  8945  				break
  8946  			}
  8947  		}
  8948  		fieldNum := int32(wire >> 3)
  8949  		wireType := int(wire & 0x7)
  8950  		if wireType == 4 {
  8951  			return fmt.Errorf("proto: ShowProcessListResponse: wiretype end group for non-group")
  8952  		}
  8953  		if fieldNum <= 0 {
  8954  			return fmt.Errorf("proto: ShowProcessListResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  8955  		}
  8956  		switch fieldNum {
  8957  		case 1:
  8958  			if wireType != 2 {
  8959  				return fmt.Errorf("proto: wrong wireType = %d for field Sessions", wireType)
  8960  			}
  8961  			var msglen int
  8962  			for shift := uint(0); ; shift += 7 {
  8963  				if shift >= 64 {
  8964  					return ErrIntOverflowQuery
  8965  				}
  8966  				if iNdEx >= l {
  8967  					return io.ErrUnexpectedEOF
  8968  				}
  8969  				b := dAtA[iNdEx]
  8970  				iNdEx++
  8971  				msglen |= int(b&0x7F) << shift
  8972  				if b < 0x80 {
  8973  					break
  8974  				}
  8975  			}
  8976  			if msglen < 0 {
  8977  				return ErrInvalidLengthQuery
  8978  			}
  8979  			postIndex := iNdEx + msglen
  8980  			if postIndex < 0 {
  8981  				return ErrInvalidLengthQuery
  8982  			}
  8983  			if postIndex > l {
  8984  				return io.ErrUnexpectedEOF
  8985  			}
  8986  			m.Sessions = append(m.Sessions, &status.Session{})
  8987  			if err := m.Sessions[len(m.Sessions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8988  				return err
  8989  			}
  8990  			iNdEx = postIndex
  8991  		default:
  8992  			iNdEx = preIndex
  8993  			skippy, err := skipQuery(dAtA[iNdEx:])
  8994  			if err != nil {
  8995  				return err
  8996  			}
  8997  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8998  				return ErrInvalidLengthQuery
  8999  			}
  9000  			if (iNdEx + skippy) > l {
  9001  				return io.ErrUnexpectedEOF
  9002  			}
  9003  			iNdEx += skippy
  9004  		}
  9005  	}
  9006  
  9007  	if iNdEx > l {
  9008  		return io.ErrUnexpectedEOF
  9009  	}
  9010  	return nil
  9011  }
  9012  func (m *Response) Unmarshal(dAtA []byte) error {
  9013  	l := len(dAtA)
  9014  	iNdEx := 0
  9015  	for iNdEx < l {
  9016  		preIndex := iNdEx
  9017  		var wire uint64
  9018  		for shift := uint(0); ; shift += 7 {
  9019  			if shift >= 64 {
  9020  				return ErrIntOverflowQuery
  9021  			}
  9022  			if iNdEx >= l {
  9023  				return io.ErrUnexpectedEOF
  9024  			}
  9025  			b := dAtA[iNdEx]
  9026  			iNdEx++
  9027  			wire |= uint64(b&0x7F) << shift
  9028  			if b < 0x80 {
  9029  				break
  9030  			}
  9031  		}
  9032  		fieldNum := int32(wire >> 3)
  9033  		wireType := int(wire & 0x7)
  9034  		if wireType == 4 {
  9035  			return fmt.Errorf("proto: Response: wiretype end group for non-group")
  9036  		}
  9037  		if fieldNum <= 0 {
  9038  			return fmt.Errorf("proto: Response: illegal tag %d (wire type %d)", fieldNum, wire)
  9039  		}
  9040  		switch fieldNum {
  9041  		case 1:
  9042  			if wireType != 0 {
  9043  				return fmt.Errorf("proto: wrong wireType = %d for field RequestID", wireType)
  9044  			}
  9045  			m.RequestID = 0
  9046  			for shift := uint(0); ; shift += 7 {
  9047  				if shift >= 64 {
  9048  					return ErrIntOverflowQuery
  9049  				}
  9050  				if iNdEx >= l {
  9051  					return io.ErrUnexpectedEOF
  9052  				}
  9053  				b := dAtA[iNdEx]
  9054  				iNdEx++
  9055  				m.RequestID |= uint64(b&0x7F) << shift
  9056  				if b < 0x80 {
  9057  					break
  9058  				}
  9059  			}
  9060  		case 2:
  9061  			if wireType != 0 {
  9062  				return fmt.Errorf("proto: wrong wireType = %d for field CmdMethod", wireType)
  9063  			}
  9064  			m.CmdMethod = 0
  9065  			for shift := uint(0); ; shift += 7 {
  9066  				if shift >= 64 {
  9067  					return ErrIntOverflowQuery
  9068  				}
  9069  				if iNdEx >= l {
  9070  					return io.ErrUnexpectedEOF
  9071  				}
  9072  				b := dAtA[iNdEx]
  9073  				iNdEx++
  9074  				m.CmdMethod |= CmdMethod(b&0x7F) << shift
  9075  				if b < 0x80 {
  9076  					break
  9077  				}
  9078  			}
  9079  		case 3:
  9080  			if wireType != 2 {
  9081  				return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
  9082  			}
  9083  			var byteLen int
  9084  			for shift := uint(0); ; shift += 7 {
  9085  				if shift >= 64 {
  9086  					return ErrIntOverflowQuery
  9087  				}
  9088  				if iNdEx >= l {
  9089  					return io.ErrUnexpectedEOF
  9090  				}
  9091  				b := dAtA[iNdEx]
  9092  				iNdEx++
  9093  				byteLen |= int(b&0x7F) << shift
  9094  				if b < 0x80 {
  9095  					break
  9096  				}
  9097  			}
  9098  			if byteLen < 0 {
  9099  				return ErrInvalidLengthQuery
  9100  			}
  9101  			postIndex := iNdEx + byteLen
  9102  			if postIndex < 0 {
  9103  				return ErrInvalidLengthQuery
  9104  			}
  9105  			if postIndex > l {
  9106  				return io.ErrUnexpectedEOF
  9107  			}
  9108  			m.Error = append(m.Error[:0], dAtA[iNdEx:postIndex]...)
  9109  			if m.Error == nil {
  9110  				m.Error = []byte{}
  9111  			}
  9112  			iNdEx = postIndex
  9113  		case 4:
  9114  			if wireType != 2 {
  9115  				return fmt.Errorf("proto: wrong wireType = %d for field ShowProcessListResponse", wireType)
  9116  			}
  9117  			var msglen int
  9118  			for shift := uint(0); ; shift += 7 {
  9119  				if shift >= 64 {
  9120  					return ErrIntOverflowQuery
  9121  				}
  9122  				if iNdEx >= l {
  9123  					return io.ErrUnexpectedEOF
  9124  				}
  9125  				b := dAtA[iNdEx]
  9126  				iNdEx++
  9127  				msglen |= int(b&0x7F) << shift
  9128  				if b < 0x80 {
  9129  					break
  9130  				}
  9131  			}
  9132  			if msglen < 0 {
  9133  				return ErrInvalidLengthQuery
  9134  			}
  9135  			postIndex := iNdEx + msglen
  9136  			if postIndex < 0 {
  9137  				return ErrInvalidLengthQuery
  9138  			}
  9139  			if postIndex > l {
  9140  				return io.ErrUnexpectedEOF
  9141  			}
  9142  			if m.ShowProcessListResponse == nil {
  9143  				m.ShowProcessListResponse = &ShowProcessListResponse{}
  9144  			}
  9145  			if err := m.ShowProcessListResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9146  				return err
  9147  			}
  9148  			iNdEx = postIndex
  9149  		case 5:
  9150  			if wireType != 2 {
  9151  				return fmt.Errorf("proto: wrong wireType = %d for field AlterAccountResponse", wireType)
  9152  			}
  9153  			var msglen int
  9154  			for shift := uint(0); ; shift += 7 {
  9155  				if shift >= 64 {
  9156  					return ErrIntOverflowQuery
  9157  				}
  9158  				if iNdEx >= l {
  9159  					return io.ErrUnexpectedEOF
  9160  				}
  9161  				b := dAtA[iNdEx]
  9162  				iNdEx++
  9163  				msglen |= int(b&0x7F) << shift
  9164  				if b < 0x80 {
  9165  					break
  9166  				}
  9167  			}
  9168  			if msglen < 0 {
  9169  				return ErrInvalidLengthQuery
  9170  			}
  9171  			postIndex := iNdEx + msglen
  9172  			if postIndex < 0 {
  9173  				return ErrInvalidLengthQuery
  9174  			}
  9175  			if postIndex > l {
  9176  				return io.ErrUnexpectedEOF
  9177  			}
  9178  			if m.AlterAccountResponse == nil {
  9179  				m.AlterAccountResponse = &AlterAccountResponse{}
  9180  			}
  9181  			if err := m.AlterAccountResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9182  				return err
  9183  			}
  9184  			iNdEx = postIndex
  9185  		case 6:
  9186  			if wireType != 2 {
  9187  				return fmt.Errorf("proto: wrong wireType = %d for field KillConnResponse", wireType)
  9188  			}
  9189  			var msglen int
  9190  			for shift := uint(0); ; shift += 7 {
  9191  				if shift >= 64 {
  9192  					return ErrIntOverflowQuery
  9193  				}
  9194  				if iNdEx >= l {
  9195  					return io.ErrUnexpectedEOF
  9196  				}
  9197  				b := dAtA[iNdEx]
  9198  				iNdEx++
  9199  				msglen |= int(b&0x7F) << shift
  9200  				if b < 0x80 {
  9201  					break
  9202  				}
  9203  			}
  9204  			if msglen < 0 {
  9205  				return ErrInvalidLengthQuery
  9206  			}
  9207  			postIndex := iNdEx + msglen
  9208  			if postIndex < 0 {
  9209  				return ErrInvalidLengthQuery
  9210  			}
  9211  			if postIndex > l {
  9212  				return io.ErrUnexpectedEOF
  9213  			}
  9214  			if m.KillConnResponse == nil {
  9215  				m.KillConnResponse = &KillConnResponse{}
  9216  			}
  9217  			if err := m.KillConnResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9218  				return err
  9219  			}
  9220  			iNdEx = postIndex
  9221  		case 7:
  9222  			if wireType != 2 {
  9223  				return fmt.Errorf("proto: wrong wireType = %d for field TraceSpanResponse", wireType)
  9224  			}
  9225  			var msglen int
  9226  			for shift := uint(0); ; shift += 7 {
  9227  				if shift >= 64 {
  9228  					return ErrIntOverflowQuery
  9229  				}
  9230  				if iNdEx >= l {
  9231  					return io.ErrUnexpectedEOF
  9232  				}
  9233  				b := dAtA[iNdEx]
  9234  				iNdEx++
  9235  				msglen |= int(b&0x7F) << shift
  9236  				if b < 0x80 {
  9237  					break
  9238  				}
  9239  			}
  9240  			if msglen < 0 {
  9241  				return ErrInvalidLengthQuery
  9242  			}
  9243  			postIndex := iNdEx + msglen
  9244  			if postIndex < 0 {
  9245  				return ErrInvalidLengthQuery
  9246  			}
  9247  			if postIndex > l {
  9248  				return io.ErrUnexpectedEOF
  9249  			}
  9250  			if m.TraceSpanResponse == nil {
  9251  				m.TraceSpanResponse = &TraceSpanResponse{}
  9252  			}
  9253  			if err := m.TraceSpanResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9254  				return err
  9255  			}
  9256  			iNdEx = postIndex
  9257  		case 8:
  9258  			if wireType != 2 {
  9259  				return fmt.Errorf("proto: wrong wireType = %d for field GetLockInfoResponse", wireType)
  9260  			}
  9261  			var msglen int
  9262  			for shift := uint(0); ; shift += 7 {
  9263  				if shift >= 64 {
  9264  					return ErrIntOverflowQuery
  9265  				}
  9266  				if iNdEx >= l {
  9267  					return io.ErrUnexpectedEOF
  9268  				}
  9269  				b := dAtA[iNdEx]
  9270  				iNdEx++
  9271  				msglen |= int(b&0x7F) << shift
  9272  				if b < 0x80 {
  9273  					break
  9274  				}
  9275  			}
  9276  			if msglen < 0 {
  9277  				return ErrInvalidLengthQuery
  9278  			}
  9279  			postIndex := iNdEx + msglen
  9280  			if postIndex < 0 {
  9281  				return ErrInvalidLengthQuery
  9282  			}
  9283  			if postIndex > l {
  9284  				return io.ErrUnexpectedEOF
  9285  			}
  9286  			if m.GetLockInfoResponse == nil {
  9287  				m.GetLockInfoResponse = &GetLockInfoResponse{}
  9288  			}
  9289  			if err := m.GetLockInfoResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9290  				return err
  9291  			}
  9292  			iNdEx = postIndex
  9293  		case 9:
  9294  			if wireType != 2 {
  9295  				return fmt.Errorf("proto: wrong wireType = %d for field GetTxnInfoResponse", wireType)
  9296  			}
  9297  			var msglen int
  9298  			for shift := uint(0); ; shift += 7 {
  9299  				if shift >= 64 {
  9300  					return ErrIntOverflowQuery
  9301  				}
  9302  				if iNdEx >= l {
  9303  					return io.ErrUnexpectedEOF
  9304  				}
  9305  				b := dAtA[iNdEx]
  9306  				iNdEx++
  9307  				msglen |= int(b&0x7F) << shift
  9308  				if b < 0x80 {
  9309  					break
  9310  				}
  9311  			}
  9312  			if msglen < 0 {
  9313  				return ErrInvalidLengthQuery
  9314  			}
  9315  			postIndex := iNdEx + msglen
  9316  			if postIndex < 0 {
  9317  				return ErrInvalidLengthQuery
  9318  			}
  9319  			if postIndex > l {
  9320  				return io.ErrUnexpectedEOF
  9321  			}
  9322  			if m.GetTxnInfoResponse == nil {
  9323  				m.GetTxnInfoResponse = &GetTxnInfoResponse{}
  9324  			}
  9325  			if err := m.GetTxnInfoResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9326  				return err
  9327  			}
  9328  			iNdEx = postIndex
  9329  		case 10:
  9330  			if wireType != 2 {
  9331  				return fmt.Errorf("proto: wrong wireType = %d for field GetCacheInfoResponse", wireType)
  9332  			}
  9333  			var msglen int
  9334  			for shift := uint(0); ; shift += 7 {
  9335  				if shift >= 64 {
  9336  					return ErrIntOverflowQuery
  9337  				}
  9338  				if iNdEx >= l {
  9339  					return io.ErrUnexpectedEOF
  9340  				}
  9341  				b := dAtA[iNdEx]
  9342  				iNdEx++
  9343  				msglen |= int(b&0x7F) << shift
  9344  				if b < 0x80 {
  9345  					break
  9346  				}
  9347  			}
  9348  			if msglen < 0 {
  9349  				return ErrInvalidLengthQuery
  9350  			}
  9351  			postIndex := iNdEx + msglen
  9352  			if postIndex < 0 {
  9353  				return ErrInvalidLengthQuery
  9354  			}
  9355  			if postIndex > l {
  9356  				return io.ErrUnexpectedEOF
  9357  			}
  9358  			if m.GetCacheInfoResponse == nil {
  9359  				m.GetCacheInfoResponse = &GetCacheInfoResponse{}
  9360  			}
  9361  			if err := m.GetCacheInfoResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9362  				return err
  9363  			}
  9364  			iNdEx = postIndex
  9365  		case 11:
  9366  			if wireType != 2 {
  9367  				return fmt.Errorf("proto: wrong wireType = %d for field SyncCommit", wireType)
  9368  			}
  9369  			var msglen int
  9370  			for shift := uint(0); ; shift += 7 {
  9371  				if shift >= 64 {
  9372  					return ErrIntOverflowQuery
  9373  				}
  9374  				if iNdEx >= l {
  9375  					return io.ErrUnexpectedEOF
  9376  				}
  9377  				b := dAtA[iNdEx]
  9378  				iNdEx++
  9379  				msglen |= int(b&0x7F) << shift
  9380  				if b < 0x80 {
  9381  					break
  9382  				}
  9383  			}
  9384  			if msglen < 0 {
  9385  				return ErrInvalidLengthQuery
  9386  			}
  9387  			postIndex := iNdEx + msglen
  9388  			if postIndex < 0 {
  9389  				return ErrInvalidLengthQuery
  9390  			}
  9391  			if postIndex > l {
  9392  				return io.ErrUnexpectedEOF
  9393  			}
  9394  			if m.SyncCommit == nil {
  9395  				m.SyncCommit = &SyncCommitResponse{}
  9396  			}
  9397  			if err := m.SyncCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9398  				return err
  9399  			}
  9400  			iNdEx = postIndex
  9401  		case 12:
  9402  			if wireType != 2 {
  9403  				return fmt.Errorf("proto: wrong wireType = %d for field GetCommit", wireType)
  9404  			}
  9405  			var msglen int
  9406  			for shift := uint(0); ; shift += 7 {
  9407  				if shift >= 64 {
  9408  					return ErrIntOverflowQuery
  9409  				}
  9410  				if iNdEx >= l {
  9411  					return io.ErrUnexpectedEOF
  9412  				}
  9413  				b := dAtA[iNdEx]
  9414  				iNdEx++
  9415  				msglen |= int(b&0x7F) << shift
  9416  				if b < 0x80 {
  9417  					break
  9418  				}
  9419  			}
  9420  			if msglen < 0 {
  9421  				return ErrInvalidLengthQuery
  9422  			}
  9423  			postIndex := iNdEx + msglen
  9424  			if postIndex < 0 {
  9425  				return ErrInvalidLengthQuery
  9426  			}
  9427  			if postIndex > l {
  9428  				return io.ErrUnexpectedEOF
  9429  			}
  9430  			if m.GetCommit == nil {
  9431  				m.GetCommit = &GetCommitResponse{}
  9432  			}
  9433  			if err := m.GetCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9434  				return err
  9435  			}
  9436  			iNdEx = postIndex
  9437  		case 13:
  9438  			if wireType != 2 {
  9439  				return fmt.Errorf("proto: wrong wireType = %d for field GetProtocolVersion", wireType)
  9440  			}
  9441  			var msglen int
  9442  			for shift := uint(0); ; shift += 7 {
  9443  				if shift >= 64 {
  9444  					return ErrIntOverflowQuery
  9445  				}
  9446  				if iNdEx >= l {
  9447  					return io.ErrUnexpectedEOF
  9448  				}
  9449  				b := dAtA[iNdEx]
  9450  				iNdEx++
  9451  				msglen |= int(b&0x7F) << shift
  9452  				if b < 0x80 {
  9453  					break
  9454  				}
  9455  			}
  9456  			if msglen < 0 {
  9457  				return ErrInvalidLengthQuery
  9458  			}
  9459  			postIndex := iNdEx + msglen
  9460  			if postIndex < 0 {
  9461  				return ErrInvalidLengthQuery
  9462  			}
  9463  			if postIndex > l {
  9464  				return io.ErrUnexpectedEOF
  9465  			}
  9466  			if m.GetProtocolVersion == nil {
  9467  				m.GetProtocolVersion = &GetProtocolVersionResponse{}
  9468  			}
  9469  			if err := m.GetProtocolVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9470  				return err
  9471  			}
  9472  			iNdEx = postIndex
  9473  		case 14:
  9474  			if wireType != 2 {
  9475  				return fmt.Errorf("proto: wrong wireType = %d for field SetProtocolVersion", wireType)
  9476  			}
  9477  			var msglen int
  9478  			for shift := uint(0); ; shift += 7 {
  9479  				if shift >= 64 {
  9480  					return ErrIntOverflowQuery
  9481  				}
  9482  				if iNdEx >= l {
  9483  					return io.ErrUnexpectedEOF
  9484  				}
  9485  				b := dAtA[iNdEx]
  9486  				iNdEx++
  9487  				msglen |= int(b&0x7F) << shift
  9488  				if b < 0x80 {
  9489  					break
  9490  				}
  9491  			}
  9492  			if msglen < 0 {
  9493  				return ErrInvalidLengthQuery
  9494  			}
  9495  			postIndex := iNdEx + msglen
  9496  			if postIndex < 0 {
  9497  				return ErrInvalidLengthQuery
  9498  			}
  9499  			if postIndex > l {
  9500  				return io.ErrUnexpectedEOF
  9501  			}
  9502  			if m.SetProtocolVersion == nil {
  9503  				m.SetProtocolVersion = &SetProtocolVersionResponse{}
  9504  			}
  9505  			if err := m.SetProtocolVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9506  				return err
  9507  			}
  9508  			iNdEx = postIndex
  9509  		case 15:
  9510  			if wireType != 2 {
  9511  				return fmt.Errorf("proto: wrong wireType = %d for field CoreDumpConfig", wireType)
  9512  			}
  9513  			var msglen int
  9514  			for shift := uint(0); ; shift += 7 {
  9515  				if shift >= 64 {
  9516  					return ErrIntOverflowQuery
  9517  				}
  9518  				if iNdEx >= l {
  9519  					return io.ErrUnexpectedEOF
  9520  				}
  9521  				b := dAtA[iNdEx]
  9522  				iNdEx++
  9523  				msglen |= int(b&0x7F) << shift
  9524  				if b < 0x80 {
  9525  					break
  9526  				}
  9527  			}
  9528  			if msglen < 0 {
  9529  				return ErrInvalidLengthQuery
  9530  			}
  9531  			postIndex := iNdEx + msglen
  9532  			if postIndex < 0 {
  9533  				return ErrInvalidLengthQuery
  9534  			}
  9535  			if postIndex > l {
  9536  				return io.ErrUnexpectedEOF
  9537  			}
  9538  			if m.CoreDumpConfig == nil {
  9539  				m.CoreDumpConfig = &CoreDumpConfigResponse{}
  9540  			}
  9541  			if err := m.CoreDumpConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9542  				return err
  9543  			}
  9544  			iNdEx = postIndex
  9545  		case 16:
  9546  			if wireType != 2 {
  9547  				return fmt.Errorf("proto: wrong wireType = %d for field RunTask", wireType)
  9548  			}
  9549  			var msglen int
  9550  			for shift := uint(0); ; shift += 7 {
  9551  				if shift >= 64 {
  9552  					return ErrIntOverflowQuery
  9553  				}
  9554  				if iNdEx >= l {
  9555  					return io.ErrUnexpectedEOF
  9556  				}
  9557  				b := dAtA[iNdEx]
  9558  				iNdEx++
  9559  				msglen |= int(b&0x7F) << shift
  9560  				if b < 0x80 {
  9561  					break
  9562  				}
  9563  			}
  9564  			if msglen < 0 {
  9565  				return ErrInvalidLengthQuery
  9566  			}
  9567  			postIndex := iNdEx + msglen
  9568  			if postIndex < 0 {
  9569  				return ErrInvalidLengthQuery
  9570  			}
  9571  			if postIndex > l {
  9572  				return io.ErrUnexpectedEOF
  9573  			}
  9574  			if m.RunTask == nil {
  9575  				m.RunTask = &RunTaskResponse{}
  9576  			}
  9577  			if err := m.RunTask.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9578  				return err
  9579  			}
  9580  			iNdEx = postIndex
  9581  		case 17:
  9582  			if wireType != 2 {
  9583  				return fmt.Errorf("proto: wrong wireType = %d for field RemoveRemoteLockTable", wireType)
  9584  			}
  9585  			var msglen int
  9586  			for shift := uint(0); ; shift += 7 {
  9587  				if shift >= 64 {
  9588  					return ErrIntOverflowQuery
  9589  				}
  9590  				if iNdEx >= l {
  9591  					return io.ErrUnexpectedEOF
  9592  				}
  9593  				b := dAtA[iNdEx]
  9594  				iNdEx++
  9595  				msglen |= int(b&0x7F) << shift
  9596  				if b < 0x80 {
  9597  					break
  9598  				}
  9599  			}
  9600  			if msglen < 0 {
  9601  				return ErrInvalidLengthQuery
  9602  			}
  9603  			postIndex := iNdEx + msglen
  9604  			if postIndex < 0 {
  9605  				return ErrInvalidLengthQuery
  9606  			}
  9607  			if postIndex > l {
  9608  				return io.ErrUnexpectedEOF
  9609  			}
  9610  			if m.RemoveRemoteLockTable == nil {
  9611  				m.RemoveRemoteLockTable = &RemoveRemoteLockTableResponse{}
  9612  			}
  9613  			if err := m.RemoveRemoteLockTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9614  				return err
  9615  			}
  9616  			iNdEx = postIndex
  9617  		case 18:
  9618  			if wireType != 2 {
  9619  				return fmt.Errorf("proto: wrong wireType = %d for field GetLatestBind", wireType)
  9620  			}
  9621  			var msglen int
  9622  			for shift := uint(0); ; shift += 7 {
  9623  				if shift >= 64 {
  9624  					return ErrIntOverflowQuery
  9625  				}
  9626  				if iNdEx >= l {
  9627  					return io.ErrUnexpectedEOF
  9628  				}
  9629  				b := dAtA[iNdEx]
  9630  				iNdEx++
  9631  				msglen |= int(b&0x7F) << shift
  9632  				if b < 0x80 {
  9633  					break
  9634  				}
  9635  			}
  9636  			if msglen < 0 {
  9637  				return ErrInvalidLengthQuery
  9638  			}
  9639  			postIndex := iNdEx + msglen
  9640  			if postIndex < 0 {
  9641  				return ErrInvalidLengthQuery
  9642  			}
  9643  			if postIndex > l {
  9644  				return io.ErrUnexpectedEOF
  9645  			}
  9646  			if m.GetLatestBind == nil {
  9647  				m.GetLatestBind = &GetLatestBindResponse{}
  9648  			}
  9649  			if err := m.GetLatestBind.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9650  				return err
  9651  			}
  9652  			iNdEx = postIndex
  9653  		case 19:
  9654  			if wireType != 2 {
  9655  				return fmt.Errorf("proto: wrong wireType = %d for field UnsubscribeTable", wireType)
  9656  			}
  9657  			var msglen int
  9658  			for shift := uint(0); ; shift += 7 {
  9659  				if shift >= 64 {
  9660  					return ErrIntOverflowQuery
  9661  				}
  9662  				if iNdEx >= l {
  9663  					return io.ErrUnexpectedEOF
  9664  				}
  9665  				b := dAtA[iNdEx]
  9666  				iNdEx++
  9667  				msglen |= int(b&0x7F) << shift
  9668  				if b < 0x80 {
  9669  					break
  9670  				}
  9671  			}
  9672  			if msglen < 0 {
  9673  				return ErrInvalidLengthQuery
  9674  			}
  9675  			postIndex := iNdEx + msglen
  9676  			if postIndex < 0 {
  9677  				return ErrInvalidLengthQuery
  9678  			}
  9679  			if postIndex > l {
  9680  				return io.ErrUnexpectedEOF
  9681  			}
  9682  			if m.UnsubscribeTable == nil {
  9683  				m.UnsubscribeTable = &UnsubscribeTableResponse{}
  9684  			}
  9685  			if err := m.UnsubscribeTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9686  				return err
  9687  			}
  9688  			iNdEx = postIndex
  9689  		case 20:
  9690  			if wireType != 2 {
  9691  				return fmt.Errorf("proto: wrong wireType = %d for field GetCacheDataResponse", wireType)
  9692  			}
  9693  			var msglen int
  9694  			for shift := uint(0); ; shift += 7 {
  9695  				if shift >= 64 {
  9696  					return ErrIntOverflowQuery
  9697  				}
  9698  				if iNdEx >= l {
  9699  					return io.ErrUnexpectedEOF
  9700  				}
  9701  				b := dAtA[iNdEx]
  9702  				iNdEx++
  9703  				msglen |= int(b&0x7F) << shift
  9704  				if b < 0x80 {
  9705  					break
  9706  				}
  9707  			}
  9708  			if msglen < 0 {
  9709  				return ErrInvalidLengthQuery
  9710  			}
  9711  			postIndex := iNdEx + msglen
  9712  			if postIndex < 0 {
  9713  				return ErrInvalidLengthQuery
  9714  			}
  9715  			if postIndex > l {
  9716  				return io.ErrUnexpectedEOF
  9717  			}
  9718  			if m.GetCacheDataResponse == nil {
  9719  				m.GetCacheDataResponse = &GetCacheDataResponse{}
  9720  			}
  9721  			if err := m.GetCacheDataResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9722  				return err
  9723  			}
  9724  			iNdEx = postIndex
  9725  		case 21:
  9726  			if wireType != 2 {
  9727  				return fmt.Errorf("proto: wrong wireType = %d for field GetStatsInfoResponse", wireType)
  9728  			}
  9729  			var msglen int
  9730  			for shift := uint(0); ; shift += 7 {
  9731  				if shift >= 64 {
  9732  					return ErrIntOverflowQuery
  9733  				}
  9734  				if iNdEx >= l {
  9735  					return io.ErrUnexpectedEOF
  9736  				}
  9737  				b := dAtA[iNdEx]
  9738  				iNdEx++
  9739  				msglen |= int(b&0x7F) << shift
  9740  				if b < 0x80 {
  9741  					break
  9742  				}
  9743  			}
  9744  			if msglen < 0 {
  9745  				return ErrInvalidLengthQuery
  9746  			}
  9747  			postIndex := iNdEx + msglen
  9748  			if postIndex < 0 {
  9749  				return ErrInvalidLengthQuery
  9750  			}
  9751  			if postIndex > l {
  9752  				return io.ErrUnexpectedEOF
  9753  			}
  9754  			if m.GetStatsInfoResponse == nil {
  9755  				m.GetStatsInfoResponse = &GetStatsInfoResponse{}
  9756  			}
  9757  			if err := m.GetStatsInfoResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9758  				return err
  9759  			}
  9760  			iNdEx = postIndex
  9761  		case 22:
  9762  			if wireType != 2 {
  9763  				return fmt.Errorf("proto: wrong wireType = %d for field GetPipelineInfoResponse", wireType)
  9764  			}
  9765  			var msglen int
  9766  			for shift := uint(0); ; shift += 7 {
  9767  				if shift >= 64 {
  9768  					return ErrIntOverflowQuery
  9769  				}
  9770  				if iNdEx >= l {
  9771  					return io.ErrUnexpectedEOF
  9772  				}
  9773  				b := dAtA[iNdEx]
  9774  				iNdEx++
  9775  				msglen |= int(b&0x7F) << shift
  9776  				if b < 0x80 {
  9777  					break
  9778  				}
  9779  			}
  9780  			if msglen < 0 {
  9781  				return ErrInvalidLengthQuery
  9782  			}
  9783  			postIndex := iNdEx + msglen
  9784  			if postIndex < 0 {
  9785  				return ErrInvalidLengthQuery
  9786  			}
  9787  			if postIndex > l {
  9788  				return io.ErrUnexpectedEOF
  9789  			}
  9790  			if m.GetPipelineInfoResponse == nil {
  9791  				m.GetPipelineInfoResponse = &GetPipelineInfoResponse{}
  9792  			}
  9793  			if err := m.GetPipelineInfoResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9794  				return err
  9795  			}
  9796  			iNdEx = postIndex
  9797  		case 23:
  9798  			if wireType != 2 {
  9799  				return fmt.Errorf("proto: wrong wireType = %d for field MigrateConnFromResponse", wireType)
  9800  			}
  9801  			var msglen int
  9802  			for shift := uint(0); ; shift += 7 {
  9803  				if shift >= 64 {
  9804  					return ErrIntOverflowQuery
  9805  				}
  9806  				if iNdEx >= l {
  9807  					return io.ErrUnexpectedEOF
  9808  				}
  9809  				b := dAtA[iNdEx]
  9810  				iNdEx++
  9811  				msglen |= int(b&0x7F) << shift
  9812  				if b < 0x80 {
  9813  					break
  9814  				}
  9815  			}
  9816  			if msglen < 0 {
  9817  				return ErrInvalidLengthQuery
  9818  			}
  9819  			postIndex := iNdEx + msglen
  9820  			if postIndex < 0 {
  9821  				return ErrInvalidLengthQuery
  9822  			}
  9823  			if postIndex > l {
  9824  				return io.ErrUnexpectedEOF
  9825  			}
  9826  			if m.MigrateConnFromResponse == nil {
  9827  				m.MigrateConnFromResponse = &MigrateConnFromResponse{}
  9828  			}
  9829  			if err := m.MigrateConnFromResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9830  				return err
  9831  			}
  9832  			iNdEx = postIndex
  9833  		case 24:
  9834  			if wireType != 2 {
  9835  				return fmt.Errorf("proto: wrong wireType = %d for field MigrateConnToResponse", wireType)
  9836  			}
  9837  			var msglen int
  9838  			for shift := uint(0); ; shift += 7 {
  9839  				if shift >= 64 {
  9840  					return ErrIntOverflowQuery
  9841  				}
  9842  				if iNdEx >= l {
  9843  					return io.ErrUnexpectedEOF
  9844  				}
  9845  				b := dAtA[iNdEx]
  9846  				iNdEx++
  9847  				msglen |= int(b&0x7F) << shift
  9848  				if b < 0x80 {
  9849  					break
  9850  				}
  9851  			}
  9852  			if msglen < 0 {
  9853  				return ErrInvalidLengthQuery
  9854  			}
  9855  			postIndex := iNdEx + msglen
  9856  			if postIndex < 0 {
  9857  				return ErrInvalidLengthQuery
  9858  			}
  9859  			if postIndex > l {
  9860  				return io.ErrUnexpectedEOF
  9861  			}
  9862  			if m.MigrateConnToResponse == nil {
  9863  				m.MigrateConnToResponse = &MigrateConnToResponse{}
  9864  			}
  9865  			if err := m.MigrateConnToResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9866  				return err
  9867  			}
  9868  			iNdEx = postIndex
  9869  		default:
  9870  			iNdEx = preIndex
  9871  			skippy, err := skipQuery(dAtA[iNdEx:])
  9872  			if err != nil {
  9873  				return err
  9874  			}
  9875  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9876  				return ErrInvalidLengthQuery
  9877  			}
  9878  			if (iNdEx + skippy) > l {
  9879  				return io.ErrUnexpectedEOF
  9880  			}
  9881  			iNdEx += skippy
  9882  		}
  9883  	}
  9884  
  9885  	if iNdEx > l {
  9886  		return io.ErrUnexpectedEOF
  9887  	}
  9888  	return nil
  9889  }
  9890  func (m *AlterAccountRequest) Unmarshal(dAtA []byte) error {
  9891  	l := len(dAtA)
  9892  	iNdEx := 0
  9893  	for iNdEx < l {
  9894  		preIndex := iNdEx
  9895  		var wire uint64
  9896  		for shift := uint(0); ; shift += 7 {
  9897  			if shift >= 64 {
  9898  				return ErrIntOverflowQuery
  9899  			}
  9900  			if iNdEx >= l {
  9901  				return io.ErrUnexpectedEOF
  9902  			}
  9903  			b := dAtA[iNdEx]
  9904  			iNdEx++
  9905  			wire |= uint64(b&0x7F) << shift
  9906  			if b < 0x80 {
  9907  				break
  9908  			}
  9909  		}
  9910  		fieldNum := int32(wire >> 3)
  9911  		wireType := int(wire & 0x7)
  9912  		if wireType == 4 {
  9913  			return fmt.Errorf("proto: AlterAccountRequest: wiretype end group for non-group")
  9914  		}
  9915  		if fieldNum <= 0 {
  9916  			return fmt.Errorf("proto: AlterAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  9917  		}
  9918  		switch fieldNum {
  9919  		case 1:
  9920  			if wireType != 0 {
  9921  				return fmt.Errorf("proto: wrong wireType = %d for field TenantId", wireType)
  9922  			}
  9923  			m.TenantId = 0
  9924  			for shift := uint(0); ; shift += 7 {
  9925  				if shift >= 64 {
  9926  					return ErrIntOverflowQuery
  9927  				}
  9928  				if iNdEx >= l {
  9929  					return io.ErrUnexpectedEOF
  9930  				}
  9931  				b := dAtA[iNdEx]
  9932  				iNdEx++
  9933  				m.TenantId |= int64(b&0x7F) << shift
  9934  				if b < 0x80 {
  9935  					break
  9936  				}
  9937  			}
  9938  		case 3:
  9939  			if wireType != 2 {
  9940  				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  9941  			}
  9942  			var stringLen uint64
  9943  			for shift := uint(0); ; shift += 7 {
  9944  				if shift >= 64 {
  9945  					return ErrIntOverflowQuery
  9946  				}
  9947  				if iNdEx >= l {
  9948  					return io.ErrUnexpectedEOF
  9949  				}
  9950  				b := dAtA[iNdEx]
  9951  				iNdEx++
  9952  				stringLen |= uint64(b&0x7F) << shift
  9953  				if b < 0x80 {
  9954  					break
  9955  				}
  9956  			}
  9957  			intStringLen := int(stringLen)
  9958  			if intStringLen < 0 {
  9959  				return ErrInvalidLengthQuery
  9960  			}
  9961  			postIndex := iNdEx + intStringLen
  9962  			if postIndex < 0 {
  9963  				return ErrInvalidLengthQuery
  9964  			}
  9965  			if postIndex > l {
  9966  				return io.ErrUnexpectedEOF
  9967  			}
  9968  			m.Status = string(dAtA[iNdEx:postIndex])
  9969  			iNdEx = postIndex
  9970  		default:
  9971  			iNdEx = preIndex
  9972  			skippy, err := skipQuery(dAtA[iNdEx:])
  9973  			if err != nil {
  9974  				return err
  9975  			}
  9976  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9977  				return ErrInvalidLengthQuery
  9978  			}
  9979  			if (iNdEx + skippy) > l {
  9980  				return io.ErrUnexpectedEOF
  9981  			}
  9982  			iNdEx += skippy
  9983  		}
  9984  	}
  9985  
  9986  	if iNdEx > l {
  9987  		return io.ErrUnexpectedEOF
  9988  	}
  9989  	return nil
  9990  }
  9991  func (m *AlterAccountResponse) Unmarshal(dAtA []byte) error {
  9992  	l := len(dAtA)
  9993  	iNdEx := 0
  9994  	for iNdEx < l {
  9995  		preIndex := iNdEx
  9996  		var wire uint64
  9997  		for shift := uint(0); ; shift += 7 {
  9998  			if shift >= 64 {
  9999  				return ErrIntOverflowQuery
 10000  			}
 10001  			if iNdEx >= l {
 10002  				return io.ErrUnexpectedEOF
 10003  			}
 10004  			b := dAtA[iNdEx]
 10005  			iNdEx++
 10006  			wire |= uint64(b&0x7F) << shift
 10007  			if b < 0x80 {
 10008  				break
 10009  			}
 10010  		}
 10011  		fieldNum := int32(wire >> 3)
 10012  		wireType := int(wire & 0x7)
 10013  		if wireType == 4 {
 10014  			return fmt.Errorf("proto: AlterAccountResponse: wiretype end group for non-group")
 10015  		}
 10016  		if fieldNum <= 0 {
 10017  			return fmt.Errorf("proto: AlterAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 10018  		}
 10019  		switch fieldNum {
 10020  		case 1:
 10021  			if wireType != 0 {
 10022  				return fmt.Errorf("proto: wrong wireType = %d for field AlterSuccess", wireType)
 10023  			}
 10024  			var v int
 10025  			for shift := uint(0); ; shift += 7 {
 10026  				if shift >= 64 {
 10027  					return ErrIntOverflowQuery
 10028  				}
 10029  				if iNdEx >= l {
 10030  					return io.ErrUnexpectedEOF
 10031  				}
 10032  				b := dAtA[iNdEx]
 10033  				iNdEx++
 10034  				v |= int(b&0x7F) << shift
 10035  				if b < 0x80 {
 10036  					break
 10037  				}
 10038  			}
 10039  			m.AlterSuccess = bool(v != 0)
 10040  		default:
 10041  			iNdEx = preIndex
 10042  			skippy, err := skipQuery(dAtA[iNdEx:])
 10043  			if err != nil {
 10044  				return err
 10045  			}
 10046  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10047  				return ErrInvalidLengthQuery
 10048  			}
 10049  			if (iNdEx + skippy) > l {
 10050  				return io.ErrUnexpectedEOF
 10051  			}
 10052  			iNdEx += skippy
 10053  		}
 10054  	}
 10055  
 10056  	if iNdEx > l {
 10057  		return io.ErrUnexpectedEOF
 10058  	}
 10059  	return nil
 10060  }
 10061  func (m *KillConnRequest) Unmarshal(dAtA []byte) error {
 10062  	l := len(dAtA)
 10063  	iNdEx := 0
 10064  	for iNdEx < l {
 10065  		preIndex := iNdEx
 10066  		var wire uint64
 10067  		for shift := uint(0); ; shift += 7 {
 10068  			if shift >= 64 {
 10069  				return ErrIntOverflowQuery
 10070  			}
 10071  			if iNdEx >= l {
 10072  				return io.ErrUnexpectedEOF
 10073  			}
 10074  			b := dAtA[iNdEx]
 10075  			iNdEx++
 10076  			wire |= uint64(b&0x7F) << shift
 10077  			if b < 0x80 {
 10078  				break
 10079  			}
 10080  		}
 10081  		fieldNum := int32(wire >> 3)
 10082  		wireType := int(wire & 0x7)
 10083  		if wireType == 4 {
 10084  			return fmt.Errorf("proto: KillConnRequest: wiretype end group for non-group")
 10085  		}
 10086  		if fieldNum <= 0 {
 10087  			return fmt.Errorf("proto: KillConnRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 10088  		}
 10089  		switch fieldNum {
 10090  		case 1:
 10091  			if wireType != 0 {
 10092  				return fmt.Errorf("proto: wrong wireType = %d for field AccountID", wireType)
 10093  			}
 10094  			m.AccountID = 0
 10095  			for shift := uint(0); ; shift += 7 {
 10096  				if shift >= 64 {
 10097  					return ErrIntOverflowQuery
 10098  				}
 10099  				if iNdEx >= l {
 10100  					return io.ErrUnexpectedEOF
 10101  				}
 10102  				b := dAtA[iNdEx]
 10103  				iNdEx++
 10104  				m.AccountID |= int64(b&0x7F) << shift
 10105  				if b < 0x80 {
 10106  					break
 10107  				}
 10108  			}
 10109  		case 2:
 10110  			if wireType != 0 {
 10111  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
 10112  			}
 10113  			m.Version = 0
 10114  			for shift := uint(0); ; shift += 7 {
 10115  				if shift >= 64 {
 10116  					return ErrIntOverflowQuery
 10117  				}
 10118  				if iNdEx >= l {
 10119  					return io.ErrUnexpectedEOF
 10120  				}
 10121  				b := dAtA[iNdEx]
 10122  				iNdEx++
 10123  				m.Version |= uint64(b&0x7F) << shift
 10124  				if b < 0x80 {
 10125  					break
 10126  				}
 10127  			}
 10128  		default:
 10129  			iNdEx = preIndex
 10130  			skippy, err := skipQuery(dAtA[iNdEx:])
 10131  			if err != nil {
 10132  				return err
 10133  			}
 10134  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10135  				return ErrInvalidLengthQuery
 10136  			}
 10137  			if (iNdEx + skippy) > l {
 10138  				return io.ErrUnexpectedEOF
 10139  			}
 10140  			iNdEx += skippy
 10141  		}
 10142  	}
 10143  
 10144  	if iNdEx > l {
 10145  		return io.ErrUnexpectedEOF
 10146  	}
 10147  	return nil
 10148  }
 10149  func (m *KillConnResponse) Unmarshal(dAtA []byte) error {
 10150  	l := len(dAtA)
 10151  	iNdEx := 0
 10152  	for iNdEx < l {
 10153  		preIndex := iNdEx
 10154  		var wire uint64
 10155  		for shift := uint(0); ; shift += 7 {
 10156  			if shift >= 64 {
 10157  				return ErrIntOverflowQuery
 10158  			}
 10159  			if iNdEx >= l {
 10160  				return io.ErrUnexpectedEOF
 10161  			}
 10162  			b := dAtA[iNdEx]
 10163  			iNdEx++
 10164  			wire |= uint64(b&0x7F) << shift
 10165  			if b < 0x80 {
 10166  				break
 10167  			}
 10168  		}
 10169  		fieldNum := int32(wire >> 3)
 10170  		wireType := int(wire & 0x7)
 10171  		if wireType == 4 {
 10172  			return fmt.Errorf("proto: KillConnResponse: wiretype end group for non-group")
 10173  		}
 10174  		if fieldNum <= 0 {
 10175  			return fmt.Errorf("proto: KillConnResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 10176  		}
 10177  		switch fieldNum {
 10178  		case 1:
 10179  			if wireType != 0 {
 10180  				return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
 10181  			}
 10182  			var v int
 10183  			for shift := uint(0); ; shift += 7 {
 10184  				if shift >= 64 {
 10185  					return ErrIntOverflowQuery
 10186  				}
 10187  				if iNdEx >= l {
 10188  					return io.ErrUnexpectedEOF
 10189  				}
 10190  				b := dAtA[iNdEx]
 10191  				iNdEx++
 10192  				v |= int(b&0x7F) << shift
 10193  				if b < 0x80 {
 10194  					break
 10195  				}
 10196  			}
 10197  			m.Success = bool(v != 0)
 10198  		default:
 10199  			iNdEx = preIndex
 10200  			skippy, err := skipQuery(dAtA[iNdEx:])
 10201  			if err != nil {
 10202  				return err
 10203  			}
 10204  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10205  				return ErrInvalidLengthQuery
 10206  			}
 10207  			if (iNdEx + skippy) > l {
 10208  				return io.ErrUnexpectedEOF
 10209  			}
 10210  			iNdEx += skippy
 10211  		}
 10212  	}
 10213  
 10214  	if iNdEx > l {
 10215  		return io.ErrUnexpectedEOF
 10216  	}
 10217  	return nil
 10218  }
 10219  func (m *TraceSpanRequest) Unmarshal(dAtA []byte) error {
 10220  	l := len(dAtA)
 10221  	iNdEx := 0
 10222  	for iNdEx < l {
 10223  		preIndex := iNdEx
 10224  		var wire uint64
 10225  		for shift := uint(0); ; shift += 7 {
 10226  			if shift >= 64 {
 10227  				return ErrIntOverflowQuery
 10228  			}
 10229  			if iNdEx >= l {
 10230  				return io.ErrUnexpectedEOF
 10231  			}
 10232  			b := dAtA[iNdEx]
 10233  			iNdEx++
 10234  			wire |= uint64(b&0x7F) << shift
 10235  			if b < 0x80 {
 10236  				break
 10237  			}
 10238  		}
 10239  		fieldNum := int32(wire >> 3)
 10240  		wireType := int(wire & 0x7)
 10241  		if wireType == 4 {
 10242  			return fmt.Errorf("proto: TraceSpanRequest: wiretype end group for non-group")
 10243  		}
 10244  		if fieldNum <= 0 {
 10245  			return fmt.Errorf("proto: TraceSpanRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 10246  		}
 10247  		switch fieldNum {
 10248  		case 1:
 10249  			if wireType != 2 {
 10250  				return fmt.Errorf("proto: wrong wireType = %d for field Cmd", wireType)
 10251  			}
 10252  			var stringLen uint64
 10253  			for shift := uint(0); ; shift += 7 {
 10254  				if shift >= 64 {
 10255  					return ErrIntOverflowQuery
 10256  				}
 10257  				if iNdEx >= l {
 10258  					return io.ErrUnexpectedEOF
 10259  				}
 10260  				b := dAtA[iNdEx]
 10261  				iNdEx++
 10262  				stringLen |= uint64(b&0x7F) << shift
 10263  				if b < 0x80 {
 10264  					break
 10265  				}
 10266  			}
 10267  			intStringLen := int(stringLen)
 10268  			if intStringLen < 0 {
 10269  				return ErrInvalidLengthQuery
 10270  			}
 10271  			postIndex := iNdEx + intStringLen
 10272  			if postIndex < 0 {
 10273  				return ErrInvalidLengthQuery
 10274  			}
 10275  			if postIndex > l {
 10276  				return io.ErrUnexpectedEOF
 10277  			}
 10278  			m.Cmd = string(dAtA[iNdEx:postIndex])
 10279  			iNdEx = postIndex
 10280  		case 2:
 10281  			if wireType != 2 {
 10282  				return fmt.Errorf("proto: wrong wireType = %d for field Spans", wireType)
 10283  			}
 10284  			var stringLen uint64
 10285  			for shift := uint(0); ; shift += 7 {
 10286  				if shift >= 64 {
 10287  					return ErrIntOverflowQuery
 10288  				}
 10289  				if iNdEx >= l {
 10290  					return io.ErrUnexpectedEOF
 10291  				}
 10292  				b := dAtA[iNdEx]
 10293  				iNdEx++
 10294  				stringLen |= uint64(b&0x7F) << shift
 10295  				if b < 0x80 {
 10296  					break
 10297  				}
 10298  			}
 10299  			intStringLen := int(stringLen)
 10300  			if intStringLen < 0 {
 10301  				return ErrInvalidLengthQuery
 10302  			}
 10303  			postIndex := iNdEx + intStringLen
 10304  			if postIndex < 0 {
 10305  				return ErrInvalidLengthQuery
 10306  			}
 10307  			if postIndex > l {
 10308  				return io.ErrUnexpectedEOF
 10309  			}
 10310  			m.Spans = string(dAtA[iNdEx:postIndex])
 10311  			iNdEx = postIndex
 10312  		case 3:
 10313  			if wireType != 0 {
 10314  				return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType)
 10315  			}
 10316  			m.Threshold = 0
 10317  			for shift := uint(0); ; shift += 7 {
 10318  				if shift >= 64 {
 10319  					return ErrIntOverflowQuery
 10320  				}
 10321  				if iNdEx >= l {
 10322  					return io.ErrUnexpectedEOF
 10323  				}
 10324  				b := dAtA[iNdEx]
 10325  				iNdEx++
 10326  				m.Threshold |= int64(b&0x7F) << shift
 10327  				if b < 0x80 {
 10328  					break
 10329  				}
 10330  			}
 10331  		default:
 10332  			iNdEx = preIndex
 10333  			skippy, err := skipQuery(dAtA[iNdEx:])
 10334  			if err != nil {
 10335  				return err
 10336  			}
 10337  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10338  				return ErrInvalidLengthQuery
 10339  			}
 10340  			if (iNdEx + skippy) > l {
 10341  				return io.ErrUnexpectedEOF
 10342  			}
 10343  			iNdEx += skippy
 10344  		}
 10345  	}
 10346  
 10347  	if iNdEx > l {
 10348  		return io.ErrUnexpectedEOF
 10349  	}
 10350  	return nil
 10351  }
 10352  func (m *TraceSpanResponse) Unmarshal(dAtA []byte) error {
 10353  	l := len(dAtA)
 10354  	iNdEx := 0
 10355  	for iNdEx < l {
 10356  		preIndex := iNdEx
 10357  		var wire uint64
 10358  		for shift := uint(0); ; shift += 7 {
 10359  			if shift >= 64 {
 10360  				return ErrIntOverflowQuery
 10361  			}
 10362  			if iNdEx >= l {
 10363  				return io.ErrUnexpectedEOF
 10364  			}
 10365  			b := dAtA[iNdEx]
 10366  			iNdEx++
 10367  			wire |= uint64(b&0x7F) << shift
 10368  			if b < 0x80 {
 10369  				break
 10370  			}
 10371  		}
 10372  		fieldNum := int32(wire >> 3)
 10373  		wireType := int(wire & 0x7)
 10374  		if wireType == 4 {
 10375  			return fmt.Errorf("proto: TraceSpanResponse: wiretype end group for non-group")
 10376  		}
 10377  		if fieldNum <= 0 {
 10378  			return fmt.Errorf("proto: TraceSpanResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 10379  		}
 10380  		switch fieldNum {
 10381  		case 1:
 10382  			if wireType != 2 {
 10383  				return fmt.Errorf("proto: wrong wireType = %d for field Resp", wireType)
 10384  			}
 10385  			var stringLen uint64
 10386  			for shift := uint(0); ; shift += 7 {
 10387  				if shift >= 64 {
 10388  					return ErrIntOverflowQuery
 10389  				}
 10390  				if iNdEx >= l {
 10391  					return io.ErrUnexpectedEOF
 10392  				}
 10393  				b := dAtA[iNdEx]
 10394  				iNdEx++
 10395  				stringLen |= uint64(b&0x7F) << shift
 10396  				if b < 0x80 {
 10397  					break
 10398  				}
 10399  			}
 10400  			intStringLen := int(stringLen)
 10401  			if intStringLen < 0 {
 10402  				return ErrInvalidLengthQuery
 10403  			}
 10404  			postIndex := iNdEx + intStringLen
 10405  			if postIndex < 0 {
 10406  				return ErrInvalidLengthQuery
 10407  			}
 10408  			if postIndex > l {
 10409  				return io.ErrUnexpectedEOF
 10410  			}
 10411  			m.Resp = string(dAtA[iNdEx:postIndex])
 10412  			iNdEx = postIndex
 10413  		default:
 10414  			iNdEx = preIndex
 10415  			skippy, err := skipQuery(dAtA[iNdEx:])
 10416  			if err != nil {
 10417  				return err
 10418  			}
 10419  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10420  				return ErrInvalidLengthQuery
 10421  			}
 10422  			if (iNdEx + skippy) > l {
 10423  				return io.ErrUnexpectedEOF
 10424  			}
 10425  			iNdEx += skippy
 10426  		}
 10427  	}
 10428  
 10429  	if iNdEx > l {
 10430  		return io.ErrUnexpectedEOF
 10431  	}
 10432  	return nil
 10433  }
 10434  func (m *GetLockInfoRequest) Unmarshal(dAtA []byte) error {
 10435  	l := len(dAtA)
 10436  	iNdEx := 0
 10437  	for iNdEx < l {
 10438  		preIndex := iNdEx
 10439  		var wire uint64
 10440  		for shift := uint(0); ; shift += 7 {
 10441  			if shift >= 64 {
 10442  				return ErrIntOverflowQuery
 10443  			}
 10444  			if iNdEx >= l {
 10445  				return io.ErrUnexpectedEOF
 10446  			}
 10447  			b := dAtA[iNdEx]
 10448  			iNdEx++
 10449  			wire |= uint64(b&0x7F) << shift
 10450  			if b < 0x80 {
 10451  				break
 10452  			}
 10453  		}
 10454  		fieldNum := int32(wire >> 3)
 10455  		wireType := int(wire & 0x7)
 10456  		if wireType == 4 {
 10457  			return fmt.Errorf("proto: GetLockInfoRequest: wiretype end group for non-group")
 10458  		}
 10459  		if fieldNum <= 0 {
 10460  			return fmt.Errorf("proto: GetLockInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 10461  		}
 10462  		switch fieldNum {
 10463  		default:
 10464  			iNdEx = preIndex
 10465  			skippy, err := skipQuery(dAtA[iNdEx:])
 10466  			if err != nil {
 10467  				return err
 10468  			}
 10469  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10470  				return ErrInvalidLengthQuery
 10471  			}
 10472  			if (iNdEx + skippy) > l {
 10473  				return io.ErrUnexpectedEOF
 10474  			}
 10475  			iNdEx += skippy
 10476  		}
 10477  	}
 10478  
 10479  	if iNdEx > l {
 10480  		return io.ErrUnexpectedEOF
 10481  	}
 10482  	return nil
 10483  }
 10484  func (m *LockInfo) Unmarshal(dAtA []byte) error {
 10485  	l := len(dAtA)
 10486  	iNdEx := 0
 10487  	for iNdEx < l {
 10488  		preIndex := iNdEx
 10489  		var wire uint64
 10490  		for shift := uint(0); ; shift += 7 {
 10491  			if shift >= 64 {
 10492  				return ErrIntOverflowQuery
 10493  			}
 10494  			if iNdEx >= l {
 10495  				return io.ErrUnexpectedEOF
 10496  			}
 10497  			b := dAtA[iNdEx]
 10498  			iNdEx++
 10499  			wire |= uint64(b&0x7F) << shift
 10500  			if b < 0x80 {
 10501  				break
 10502  			}
 10503  		}
 10504  		fieldNum := int32(wire >> 3)
 10505  		wireType := int(wire & 0x7)
 10506  		if wireType == 4 {
 10507  			return fmt.Errorf("proto: LockInfo: wiretype end group for non-group")
 10508  		}
 10509  		if fieldNum <= 0 {
 10510  			return fmt.Errorf("proto: LockInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 10511  		}
 10512  		switch fieldNum {
 10513  		case 1:
 10514  			if wireType != 0 {
 10515  				return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType)
 10516  			}
 10517  			m.TableId = 0
 10518  			for shift := uint(0); ; shift += 7 {
 10519  				if shift >= 64 {
 10520  					return ErrIntOverflowQuery
 10521  				}
 10522  				if iNdEx >= l {
 10523  					return io.ErrUnexpectedEOF
 10524  				}
 10525  				b := dAtA[iNdEx]
 10526  				iNdEx++
 10527  				m.TableId |= uint64(b&0x7F) << shift
 10528  				if b < 0x80 {
 10529  					break
 10530  				}
 10531  			}
 10532  		case 2:
 10533  			if wireType != 2 {
 10534  				return fmt.Errorf("proto: wrong wireType = %d for field Keys", wireType)
 10535  			}
 10536  			var byteLen int
 10537  			for shift := uint(0); ; shift += 7 {
 10538  				if shift >= 64 {
 10539  					return ErrIntOverflowQuery
 10540  				}
 10541  				if iNdEx >= l {
 10542  					return io.ErrUnexpectedEOF
 10543  				}
 10544  				b := dAtA[iNdEx]
 10545  				iNdEx++
 10546  				byteLen |= int(b&0x7F) << shift
 10547  				if b < 0x80 {
 10548  					break
 10549  				}
 10550  			}
 10551  			if byteLen < 0 {
 10552  				return ErrInvalidLengthQuery
 10553  			}
 10554  			postIndex := iNdEx + byteLen
 10555  			if postIndex < 0 {
 10556  				return ErrInvalidLengthQuery
 10557  			}
 10558  			if postIndex > l {
 10559  				return io.ErrUnexpectedEOF
 10560  			}
 10561  			m.Keys = append(m.Keys, make([]byte, postIndex-iNdEx))
 10562  			copy(m.Keys[len(m.Keys)-1], dAtA[iNdEx:postIndex])
 10563  			iNdEx = postIndex
 10564  		case 3:
 10565  			if wireType != 0 {
 10566  				return fmt.Errorf("proto: wrong wireType = %d for field LockMode", wireType)
 10567  			}
 10568  			m.LockMode = 0
 10569  			for shift := uint(0); ; shift += 7 {
 10570  				if shift >= 64 {
 10571  					return ErrIntOverflowQuery
 10572  				}
 10573  				if iNdEx >= l {
 10574  					return io.ErrUnexpectedEOF
 10575  				}
 10576  				b := dAtA[iNdEx]
 10577  				iNdEx++
 10578  				m.LockMode |= lock.LockMode(b&0x7F) << shift
 10579  				if b < 0x80 {
 10580  					break
 10581  				}
 10582  			}
 10583  		case 4:
 10584  			if wireType != 0 {
 10585  				return fmt.Errorf("proto: wrong wireType = %d for field IsRangeLock", wireType)
 10586  			}
 10587  			var v int
 10588  			for shift := uint(0); ; shift += 7 {
 10589  				if shift >= 64 {
 10590  					return ErrIntOverflowQuery
 10591  				}
 10592  				if iNdEx >= l {
 10593  					return io.ErrUnexpectedEOF
 10594  				}
 10595  				b := dAtA[iNdEx]
 10596  				iNdEx++
 10597  				v |= int(b&0x7F) << shift
 10598  				if b < 0x80 {
 10599  					break
 10600  				}
 10601  			}
 10602  			m.IsRangeLock = bool(v != 0)
 10603  		case 5:
 10604  			if wireType != 2 {
 10605  				return fmt.Errorf("proto: wrong wireType = %d for field Holders", wireType)
 10606  			}
 10607  			var msglen int
 10608  			for shift := uint(0); ; shift += 7 {
 10609  				if shift >= 64 {
 10610  					return ErrIntOverflowQuery
 10611  				}
 10612  				if iNdEx >= l {
 10613  					return io.ErrUnexpectedEOF
 10614  				}
 10615  				b := dAtA[iNdEx]
 10616  				iNdEx++
 10617  				msglen |= int(b&0x7F) << shift
 10618  				if b < 0x80 {
 10619  					break
 10620  				}
 10621  			}
 10622  			if msglen < 0 {
 10623  				return ErrInvalidLengthQuery
 10624  			}
 10625  			postIndex := iNdEx + msglen
 10626  			if postIndex < 0 {
 10627  				return ErrInvalidLengthQuery
 10628  			}
 10629  			if postIndex > l {
 10630  				return io.ErrUnexpectedEOF
 10631  			}
 10632  			m.Holders = append(m.Holders, &lock.WaitTxn{})
 10633  			if err := m.Holders[len(m.Holders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10634  				return err
 10635  			}
 10636  			iNdEx = postIndex
 10637  		case 6:
 10638  			if wireType != 2 {
 10639  				return fmt.Errorf("proto: wrong wireType = %d for field Waiters", wireType)
 10640  			}
 10641  			var msglen int
 10642  			for shift := uint(0); ; shift += 7 {
 10643  				if shift >= 64 {
 10644  					return ErrIntOverflowQuery
 10645  				}
 10646  				if iNdEx >= l {
 10647  					return io.ErrUnexpectedEOF
 10648  				}
 10649  				b := dAtA[iNdEx]
 10650  				iNdEx++
 10651  				msglen |= int(b&0x7F) << shift
 10652  				if b < 0x80 {
 10653  					break
 10654  				}
 10655  			}
 10656  			if msglen < 0 {
 10657  				return ErrInvalidLengthQuery
 10658  			}
 10659  			postIndex := iNdEx + msglen
 10660  			if postIndex < 0 {
 10661  				return ErrInvalidLengthQuery
 10662  			}
 10663  			if postIndex > l {
 10664  				return io.ErrUnexpectedEOF
 10665  			}
 10666  			m.Waiters = append(m.Waiters, &lock.WaitTxn{})
 10667  			if err := m.Waiters[len(m.Waiters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10668  				return err
 10669  			}
 10670  			iNdEx = postIndex
 10671  		default:
 10672  			iNdEx = preIndex
 10673  			skippy, err := skipQuery(dAtA[iNdEx:])
 10674  			if err != nil {
 10675  				return err
 10676  			}
 10677  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10678  				return ErrInvalidLengthQuery
 10679  			}
 10680  			if (iNdEx + skippy) > l {
 10681  				return io.ErrUnexpectedEOF
 10682  			}
 10683  			iNdEx += skippy
 10684  		}
 10685  	}
 10686  
 10687  	if iNdEx > l {
 10688  		return io.ErrUnexpectedEOF
 10689  	}
 10690  	return nil
 10691  }
 10692  func (m *GetLockInfoResponse) Unmarshal(dAtA []byte) error {
 10693  	l := len(dAtA)
 10694  	iNdEx := 0
 10695  	for iNdEx < l {
 10696  		preIndex := iNdEx
 10697  		var wire uint64
 10698  		for shift := uint(0); ; shift += 7 {
 10699  			if shift >= 64 {
 10700  				return ErrIntOverflowQuery
 10701  			}
 10702  			if iNdEx >= l {
 10703  				return io.ErrUnexpectedEOF
 10704  			}
 10705  			b := dAtA[iNdEx]
 10706  			iNdEx++
 10707  			wire |= uint64(b&0x7F) << shift
 10708  			if b < 0x80 {
 10709  				break
 10710  			}
 10711  		}
 10712  		fieldNum := int32(wire >> 3)
 10713  		wireType := int(wire & 0x7)
 10714  		if wireType == 4 {
 10715  			return fmt.Errorf("proto: GetLockInfoResponse: wiretype end group for non-group")
 10716  		}
 10717  		if fieldNum <= 0 {
 10718  			return fmt.Errorf("proto: GetLockInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 10719  		}
 10720  		switch fieldNum {
 10721  		case 1:
 10722  			if wireType != 2 {
 10723  				return fmt.Errorf("proto: wrong wireType = %d for field CnId", wireType)
 10724  			}
 10725  			var stringLen uint64
 10726  			for shift := uint(0); ; shift += 7 {
 10727  				if shift >= 64 {
 10728  					return ErrIntOverflowQuery
 10729  				}
 10730  				if iNdEx >= l {
 10731  					return io.ErrUnexpectedEOF
 10732  				}
 10733  				b := dAtA[iNdEx]
 10734  				iNdEx++
 10735  				stringLen |= uint64(b&0x7F) << shift
 10736  				if b < 0x80 {
 10737  					break
 10738  				}
 10739  			}
 10740  			intStringLen := int(stringLen)
 10741  			if intStringLen < 0 {
 10742  				return ErrInvalidLengthQuery
 10743  			}
 10744  			postIndex := iNdEx + intStringLen
 10745  			if postIndex < 0 {
 10746  				return ErrInvalidLengthQuery
 10747  			}
 10748  			if postIndex > l {
 10749  				return io.ErrUnexpectedEOF
 10750  			}
 10751  			m.CnId = string(dAtA[iNdEx:postIndex])
 10752  			iNdEx = postIndex
 10753  		case 2:
 10754  			if wireType != 2 {
 10755  				return fmt.Errorf("proto: wrong wireType = %d for field LockInfoList", wireType)
 10756  			}
 10757  			var msglen int
 10758  			for shift := uint(0); ; shift += 7 {
 10759  				if shift >= 64 {
 10760  					return ErrIntOverflowQuery
 10761  				}
 10762  				if iNdEx >= l {
 10763  					return io.ErrUnexpectedEOF
 10764  				}
 10765  				b := dAtA[iNdEx]
 10766  				iNdEx++
 10767  				msglen |= int(b&0x7F) << shift
 10768  				if b < 0x80 {
 10769  					break
 10770  				}
 10771  			}
 10772  			if msglen < 0 {
 10773  				return ErrInvalidLengthQuery
 10774  			}
 10775  			postIndex := iNdEx + msglen
 10776  			if postIndex < 0 {
 10777  				return ErrInvalidLengthQuery
 10778  			}
 10779  			if postIndex > l {
 10780  				return io.ErrUnexpectedEOF
 10781  			}
 10782  			m.LockInfoList = append(m.LockInfoList, &LockInfo{})
 10783  			if err := m.LockInfoList[len(m.LockInfoList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10784  				return err
 10785  			}
 10786  			iNdEx = postIndex
 10787  		default:
 10788  			iNdEx = preIndex
 10789  			skippy, err := skipQuery(dAtA[iNdEx:])
 10790  			if err != nil {
 10791  				return err
 10792  			}
 10793  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10794  				return ErrInvalidLengthQuery
 10795  			}
 10796  			if (iNdEx + skippy) > l {
 10797  				return io.ErrUnexpectedEOF
 10798  			}
 10799  			iNdEx += skippy
 10800  		}
 10801  	}
 10802  
 10803  	if iNdEx > l {
 10804  		return io.ErrUnexpectedEOF
 10805  	}
 10806  	return nil
 10807  }
 10808  func (m *GetTxnInfoRequest) Unmarshal(dAtA []byte) error {
 10809  	l := len(dAtA)
 10810  	iNdEx := 0
 10811  	for iNdEx < l {
 10812  		preIndex := iNdEx
 10813  		var wire uint64
 10814  		for shift := uint(0); ; shift += 7 {
 10815  			if shift >= 64 {
 10816  				return ErrIntOverflowQuery
 10817  			}
 10818  			if iNdEx >= l {
 10819  				return io.ErrUnexpectedEOF
 10820  			}
 10821  			b := dAtA[iNdEx]
 10822  			iNdEx++
 10823  			wire |= uint64(b&0x7F) << shift
 10824  			if b < 0x80 {
 10825  				break
 10826  			}
 10827  		}
 10828  		fieldNum := int32(wire >> 3)
 10829  		wireType := int(wire & 0x7)
 10830  		if wireType == 4 {
 10831  			return fmt.Errorf("proto: GetTxnInfoRequest: wiretype end group for non-group")
 10832  		}
 10833  		if fieldNum <= 0 {
 10834  			return fmt.Errorf("proto: GetTxnInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 10835  		}
 10836  		switch fieldNum {
 10837  		default:
 10838  			iNdEx = preIndex
 10839  			skippy, err := skipQuery(dAtA[iNdEx:])
 10840  			if err != nil {
 10841  				return err
 10842  			}
 10843  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10844  				return ErrInvalidLengthQuery
 10845  			}
 10846  			if (iNdEx + skippy) > l {
 10847  				return io.ErrUnexpectedEOF
 10848  			}
 10849  			iNdEx += skippy
 10850  		}
 10851  	}
 10852  
 10853  	if iNdEx > l {
 10854  		return io.ErrUnexpectedEOF
 10855  	}
 10856  	return nil
 10857  }
 10858  func (m *TxnLockInfo) Unmarshal(dAtA []byte) error {
 10859  	l := len(dAtA)
 10860  	iNdEx := 0
 10861  	for iNdEx < l {
 10862  		preIndex := iNdEx
 10863  		var wire uint64
 10864  		for shift := uint(0); ; shift += 7 {
 10865  			if shift >= 64 {
 10866  				return ErrIntOverflowQuery
 10867  			}
 10868  			if iNdEx >= l {
 10869  				return io.ErrUnexpectedEOF
 10870  			}
 10871  			b := dAtA[iNdEx]
 10872  			iNdEx++
 10873  			wire |= uint64(b&0x7F) << shift
 10874  			if b < 0x80 {
 10875  				break
 10876  			}
 10877  		}
 10878  		fieldNum := int32(wire >> 3)
 10879  		wireType := int(wire & 0x7)
 10880  		if wireType == 4 {
 10881  			return fmt.Errorf("proto: TxnLockInfo: wiretype end group for non-group")
 10882  		}
 10883  		if fieldNum <= 0 {
 10884  			return fmt.Errorf("proto: TxnLockInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 10885  		}
 10886  		switch fieldNum {
 10887  		case 1:
 10888  			if wireType != 0 {
 10889  				return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType)
 10890  			}
 10891  			m.TableId = 0
 10892  			for shift := uint(0); ; shift += 7 {
 10893  				if shift >= 64 {
 10894  					return ErrIntOverflowQuery
 10895  				}
 10896  				if iNdEx >= l {
 10897  					return io.ErrUnexpectedEOF
 10898  				}
 10899  				b := dAtA[iNdEx]
 10900  				iNdEx++
 10901  				m.TableId |= uint64(b&0x7F) << shift
 10902  				if b < 0x80 {
 10903  					break
 10904  				}
 10905  			}
 10906  		case 2:
 10907  			if wireType != 2 {
 10908  				return fmt.Errorf("proto: wrong wireType = %d for field Rows", wireType)
 10909  			}
 10910  			var byteLen int
 10911  			for shift := uint(0); ; shift += 7 {
 10912  				if shift >= 64 {
 10913  					return ErrIntOverflowQuery
 10914  				}
 10915  				if iNdEx >= l {
 10916  					return io.ErrUnexpectedEOF
 10917  				}
 10918  				b := dAtA[iNdEx]
 10919  				iNdEx++
 10920  				byteLen |= int(b&0x7F) << shift
 10921  				if b < 0x80 {
 10922  					break
 10923  				}
 10924  			}
 10925  			if byteLen < 0 {
 10926  				return ErrInvalidLengthQuery
 10927  			}
 10928  			postIndex := iNdEx + byteLen
 10929  			if postIndex < 0 {
 10930  				return ErrInvalidLengthQuery
 10931  			}
 10932  			if postIndex > l {
 10933  				return io.ErrUnexpectedEOF
 10934  			}
 10935  			m.Rows = append(m.Rows, make([]byte, postIndex-iNdEx))
 10936  			copy(m.Rows[len(m.Rows)-1], dAtA[iNdEx:postIndex])
 10937  			iNdEx = postIndex
 10938  		case 3:
 10939  			if wireType != 2 {
 10940  				return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
 10941  			}
 10942  			var msglen int
 10943  			for shift := uint(0); ; shift += 7 {
 10944  				if shift >= 64 {
 10945  					return ErrIntOverflowQuery
 10946  				}
 10947  				if iNdEx >= l {
 10948  					return io.ErrUnexpectedEOF
 10949  				}
 10950  				b := dAtA[iNdEx]
 10951  				iNdEx++
 10952  				msglen |= int(b&0x7F) << shift
 10953  				if b < 0x80 {
 10954  					break
 10955  				}
 10956  			}
 10957  			if msglen < 0 {
 10958  				return ErrInvalidLengthQuery
 10959  			}
 10960  			postIndex := iNdEx + msglen
 10961  			if postIndex < 0 {
 10962  				return ErrInvalidLengthQuery
 10963  			}
 10964  			if postIndex > l {
 10965  				return io.ErrUnexpectedEOF
 10966  			}
 10967  			if m.Options == nil {
 10968  				m.Options = &lock.LockOptions{}
 10969  			}
 10970  			if err := m.Options.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10971  				return err
 10972  			}
 10973  			iNdEx = postIndex
 10974  		default:
 10975  			iNdEx = preIndex
 10976  			skippy, err := skipQuery(dAtA[iNdEx:])
 10977  			if err != nil {
 10978  				return err
 10979  			}
 10980  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10981  				return ErrInvalidLengthQuery
 10982  			}
 10983  			if (iNdEx + skippy) > l {
 10984  				return io.ErrUnexpectedEOF
 10985  			}
 10986  			iNdEx += skippy
 10987  		}
 10988  	}
 10989  
 10990  	if iNdEx > l {
 10991  		return io.ErrUnexpectedEOF
 10992  	}
 10993  	return nil
 10994  }
 10995  func (m *TxnInfo) Unmarshal(dAtA []byte) error {
 10996  	l := len(dAtA)
 10997  	iNdEx := 0
 10998  	for iNdEx < l {
 10999  		preIndex := iNdEx
 11000  		var wire uint64
 11001  		for shift := uint(0); ; shift += 7 {
 11002  			if shift >= 64 {
 11003  				return ErrIntOverflowQuery
 11004  			}
 11005  			if iNdEx >= l {
 11006  				return io.ErrUnexpectedEOF
 11007  			}
 11008  			b := dAtA[iNdEx]
 11009  			iNdEx++
 11010  			wire |= uint64(b&0x7F) << shift
 11011  			if b < 0x80 {
 11012  				break
 11013  			}
 11014  		}
 11015  		fieldNum := int32(wire >> 3)
 11016  		wireType := int(wire & 0x7)
 11017  		if wireType == 4 {
 11018  			return fmt.Errorf("proto: TxnInfo: wiretype end group for non-group")
 11019  		}
 11020  		if fieldNum <= 0 {
 11021  			return fmt.Errorf("proto: TxnInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 11022  		}
 11023  		switch fieldNum {
 11024  		case 1:
 11025  			if wireType != 2 {
 11026  				return fmt.Errorf("proto: wrong wireType = %d for field CreateAt", wireType)
 11027  			}
 11028  			var msglen int
 11029  			for shift := uint(0); ; shift += 7 {
 11030  				if shift >= 64 {
 11031  					return ErrIntOverflowQuery
 11032  				}
 11033  				if iNdEx >= l {
 11034  					return io.ErrUnexpectedEOF
 11035  				}
 11036  				b := dAtA[iNdEx]
 11037  				iNdEx++
 11038  				msglen |= int(b&0x7F) << shift
 11039  				if b < 0x80 {
 11040  					break
 11041  				}
 11042  			}
 11043  			if msglen < 0 {
 11044  				return ErrInvalidLengthQuery
 11045  			}
 11046  			postIndex := iNdEx + msglen
 11047  			if postIndex < 0 {
 11048  				return ErrInvalidLengthQuery
 11049  			}
 11050  			if postIndex > l {
 11051  				return io.ErrUnexpectedEOF
 11052  			}
 11053  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreateAt, dAtA[iNdEx:postIndex]); err != nil {
 11054  				return err
 11055  			}
 11056  			iNdEx = postIndex
 11057  		case 2:
 11058  			if wireType != 2 {
 11059  				return fmt.Errorf("proto: wrong wireType = %d for field Meta", wireType)
 11060  			}
 11061  			var msglen int
 11062  			for shift := uint(0); ; shift += 7 {
 11063  				if shift >= 64 {
 11064  					return ErrIntOverflowQuery
 11065  				}
 11066  				if iNdEx >= l {
 11067  					return io.ErrUnexpectedEOF
 11068  				}
 11069  				b := dAtA[iNdEx]
 11070  				iNdEx++
 11071  				msglen |= int(b&0x7F) << shift
 11072  				if b < 0x80 {
 11073  					break
 11074  				}
 11075  			}
 11076  			if msglen < 0 {
 11077  				return ErrInvalidLengthQuery
 11078  			}
 11079  			postIndex := iNdEx + msglen
 11080  			if postIndex < 0 {
 11081  				return ErrInvalidLengthQuery
 11082  			}
 11083  			if postIndex > l {
 11084  				return io.ErrUnexpectedEOF
 11085  			}
 11086  			if m.Meta == nil {
 11087  				m.Meta = &txn.TxnMeta{}
 11088  			}
 11089  			if err := m.Meta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11090  				return err
 11091  			}
 11092  			iNdEx = postIndex
 11093  		case 3:
 11094  			if wireType != 0 {
 11095  				return fmt.Errorf("proto: wrong wireType = %d for field UserTxn", wireType)
 11096  			}
 11097  			var v int
 11098  			for shift := uint(0); ; shift += 7 {
 11099  				if shift >= 64 {
 11100  					return ErrIntOverflowQuery
 11101  				}
 11102  				if iNdEx >= l {
 11103  					return io.ErrUnexpectedEOF
 11104  				}
 11105  				b := dAtA[iNdEx]
 11106  				iNdEx++
 11107  				v |= int(b&0x7F) << shift
 11108  				if b < 0x80 {
 11109  					break
 11110  				}
 11111  			}
 11112  			m.UserTxn = bool(v != 0)
 11113  		case 4:
 11114  			if wireType != 2 {
 11115  				return fmt.Errorf("proto: wrong wireType = %d for field WaitLocks", wireType)
 11116  			}
 11117  			var msglen int
 11118  			for shift := uint(0); ; shift += 7 {
 11119  				if shift >= 64 {
 11120  					return ErrIntOverflowQuery
 11121  				}
 11122  				if iNdEx >= l {
 11123  					return io.ErrUnexpectedEOF
 11124  				}
 11125  				b := dAtA[iNdEx]
 11126  				iNdEx++
 11127  				msglen |= int(b&0x7F) << shift
 11128  				if b < 0x80 {
 11129  					break
 11130  				}
 11131  			}
 11132  			if msglen < 0 {
 11133  				return ErrInvalidLengthQuery
 11134  			}
 11135  			postIndex := iNdEx + msglen
 11136  			if postIndex < 0 {
 11137  				return ErrInvalidLengthQuery
 11138  			}
 11139  			if postIndex > l {
 11140  				return io.ErrUnexpectedEOF
 11141  			}
 11142  			m.WaitLocks = append(m.WaitLocks, &TxnLockInfo{})
 11143  			if err := m.WaitLocks[len(m.WaitLocks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11144  				return err
 11145  			}
 11146  			iNdEx = postIndex
 11147  		default:
 11148  			iNdEx = preIndex
 11149  			skippy, err := skipQuery(dAtA[iNdEx:])
 11150  			if err != nil {
 11151  				return err
 11152  			}
 11153  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11154  				return ErrInvalidLengthQuery
 11155  			}
 11156  			if (iNdEx + skippy) > l {
 11157  				return io.ErrUnexpectedEOF
 11158  			}
 11159  			iNdEx += skippy
 11160  		}
 11161  	}
 11162  
 11163  	if iNdEx > l {
 11164  		return io.ErrUnexpectedEOF
 11165  	}
 11166  	return nil
 11167  }
 11168  func (m *GetTxnInfoResponse) Unmarshal(dAtA []byte) error {
 11169  	l := len(dAtA)
 11170  	iNdEx := 0
 11171  	for iNdEx < l {
 11172  		preIndex := iNdEx
 11173  		var wire uint64
 11174  		for shift := uint(0); ; shift += 7 {
 11175  			if shift >= 64 {
 11176  				return ErrIntOverflowQuery
 11177  			}
 11178  			if iNdEx >= l {
 11179  				return io.ErrUnexpectedEOF
 11180  			}
 11181  			b := dAtA[iNdEx]
 11182  			iNdEx++
 11183  			wire |= uint64(b&0x7F) << shift
 11184  			if b < 0x80 {
 11185  				break
 11186  			}
 11187  		}
 11188  		fieldNum := int32(wire >> 3)
 11189  		wireType := int(wire & 0x7)
 11190  		if wireType == 4 {
 11191  			return fmt.Errorf("proto: GetTxnInfoResponse: wiretype end group for non-group")
 11192  		}
 11193  		if fieldNum <= 0 {
 11194  			return fmt.Errorf("proto: GetTxnInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11195  		}
 11196  		switch fieldNum {
 11197  		case 1:
 11198  			if wireType != 2 {
 11199  				return fmt.Errorf("proto: wrong wireType = %d for field CnId", wireType)
 11200  			}
 11201  			var stringLen uint64
 11202  			for shift := uint(0); ; shift += 7 {
 11203  				if shift >= 64 {
 11204  					return ErrIntOverflowQuery
 11205  				}
 11206  				if iNdEx >= l {
 11207  					return io.ErrUnexpectedEOF
 11208  				}
 11209  				b := dAtA[iNdEx]
 11210  				iNdEx++
 11211  				stringLen |= uint64(b&0x7F) << shift
 11212  				if b < 0x80 {
 11213  					break
 11214  				}
 11215  			}
 11216  			intStringLen := int(stringLen)
 11217  			if intStringLen < 0 {
 11218  				return ErrInvalidLengthQuery
 11219  			}
 11220  			postIndex := iNdEx + intStringLen
 11221  			if postIndex < 0 {
 11222  				return ErrInvalidLengthQuery
 11223  			}
 11224  			if postIndex > l {
 11225  				return io.ErrUnexpectedEOF
 11226  			}
 11227  			m.CnId = string(dAtA[iNdEx:postIndex])
 11228  			iNdEx = postIndex
 11229  		case 2:
 11230  			if wireType != 2 {
 11231  				return fmt.Errorf("proto: wrong wireType = %d for field TxnInfoList", wireType)
 11232  			}
 11233  			var msglen int
 11234  			for shift := uint(0); ; shift += 7 {
 11235  				if shift >= 64 {
 11236  					return ErrIntOverflowQuery
 11237  				}
 11238  				if iNdEx >= l {
 11239  					return io.ErrUnexpectedEOF
 11240  				}
 11241  				b := dAtA[iNdEx]
 11242  				iNdEx++
 11243  				msglen |= int(b&0x7F) << shift
 11244  				if b < 0x80 {
 11245  					break
 11246  				}
 11247  			}
 11248  			if msglen < 0 {
 11249  				return ErrInvalidLengthQuery
 11250  			}
 11251  			postIndex := iNdEx + msglen
 11252  			if postIndex < 0 {
 11253  				return ErrInvalidLengthQuery
 11254  			}
 11255  			if postIndex > l {
 11256  				return io.ErrUnexpectedEOF
 11257  			}
 11258  			m.TxnInfoList = append(m.TxnInfoList, &TxnInfo{})
 11259  			if err := m.TxnInfoList[len(m.TxnInfoList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11260  				return err
 11261  			}
 11262  			iNdEx = postIndex
 11263  		default:
 11264  			iNdEx = preIndex
 11265  			skippy, err := skipQuery(dAtA[iNdEx:])
 11266  			if err != nil {
 11267  				return err
 11268  			}
 11269  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11270  				return ErrInvalidLengthQuery
 11271  			}
 11272  			if (iNdEx + skippy) > l {
 11273  				return io.ErrUnexpectedEOF
 11274  			}
 11275  			iNdEx += skippy
 11276  		}
 11277  	}
 11278  
 11279  	if iNdEx > l {
 11280  		return io.ErrUnexpectedEOF
 11281  	}
 11282  	return nil
 11283  }
 11284  func (m *GetCacheInfoRequest) Unmarshal(dAtA []byte) error {
 11285  	l := len(dAtA)
 11286  	iNdEx := 0
 11287  	for iNdEx < l {
 11288  		preIndex := iNdEx
 11289  		var wire uint64
 11290  		for shift := uint(0); ; shift += 7 {
 11291  			if shift >= 64 {
 11292  				return ErrIntOverflowQuery
 11293  			}
 11294  			if iNdEx >= l {
 11295  				return io.ErrUnexpectedEOF
 11296  			}
 11297  			b := dAtA[iNdEx]
 11298  			iNdEx++
 11299  			wire |= uint64(b&0x7F) << shift
 11300  			if b < 0x80 {
 11301  				break
 11302  			}
 11303  		}
 11304  		fieldNum := int32(wire >> 3)
 11305  		wireType := int(wire & 0x7)
 11306  		if wireType == 4 {
 11307  			return fmt.Errorf("proto: GetCacheInfoRequest: wiretype end group for non-group")
 11308  		}
 11309  		if fieldNum <= 0 {
 11310  			return fmt.Errorf("proto: GetCacheInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11311  		}
 11312  		switch fieldNum {
 11313  		default:
 11314  			iNdEx = preIndex
 11315  			skippy, err := skipQuery(dAtA[iNdEx:])
 11316  			if err != nil {
 11317  				return err
 11318  			}
 11319  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11320  				return ErrInvalidLengthQuery
 11321  			}
 11322  			if (iNdEx + skippy) > l {
 11323  				return io.ErrUnexpectedEOF
 11324  			}
 11325  			iNdEx += skippy
 11326  		}
 11327  	}
 11328  
 11329  	if iNdEx > l {
 11330  		return io.ErrUnexpectedEOF
 11331  	}
 11332  	return nil
 11333  }
 11334  func (m *CacheInfo) Unmarshal(dAtA []byte) error {
 11335  	l := len(dAtA)
 11336  	iNdEx := 0
 11337  	for iNdEx < l {
 11338  		preIndex := iNdEx
 11339  		var wire uint64
 11340  		for shift := uint(0); ; shift += 7 {
 11341  			if shift >= 64 {
 11342  				return ErrIntOverflowQuery
 11343  			}
 11344  			if iNdEx >= l {
 11345  				return io.ErrUnexpectedEOF
 11346  			}
 11347  			b := dAtA[iNdEx]
 11348  			iNdEx++
 11349  			wire |= uint64(b&0x7F) << shift
 11350  			if b < 0x80 {
 11351  				break
 11352  			}
 11353  		}
 11354  		fieldNum := int32(wire >> 3)
 11355  		wireType := int(wire & 0x7)
 11356  		if wireType == 4 {
 11357  			return fmt.Errorf("proto: CacheInfo: wiretype end group for non-group")
 11358  		}
 11359  		if fieldNum <= 0 {
 11360  			return fmt.Errorf("proto: CacheInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 11361  		}
 11362  		switch fieldNum {
 11363  		case 1:
 11364  			if wireType != 2 {
 11365  				return fmt.Errorf("proto: wrong wireType = %d for field NodeType", wireType)
 11366  			}
 11367  			var stringLen uint64
 11368  			for shift := uint(0); ; shift += 7 {
 11369  				if shift >= 64 {
 11370  					return ErrIntOverflowQuery
 11371  				}
 11372  				if iNdEx >= l {
 11373  					return io.ErrUnexpectedEOF
 11374  				}
 11375  				b := dAtA[iNdEx]
 11376  				iNdEx++
 11377  				stringLen |= uint64(b&0x7F) << shift
 11378  				if b < 0x80 {
 11379  					break
 11380  				}
 11381  			}
 11382  			intStringLen := int(stringLen)
 11383  			if intStringLen < 0 {
 11384  				return ErrInvalidLengthQuery
 11385  			}
 11386  			postIndex := iNdEx + intStringLen
 11387  			if postIndex < 0 {
 11388  				return ErrInvalidLengthQuery
 11389  			}
 11390  			if postIndex > l {
 11391  				return io.ErrUnexpectedEOF
 11392  			}
 11393  			m.NodeType = string(dAtA[iNdEx:postIndex])
 11394  			iNdEx = postIndex
 11395  		case 2:
 11396  			if wireType != 2 {
 11397  				return fmt.Errorf("proto: wrong wireType = %d for field NodeId", wireType)
 11398  			}
 11399  			var stringLen uint64
 11400  			for shift := uint(0); ; shift += 7 {
 11401  				if shift >= 64 {
 11402  					return ErrIntOverflowQuery
 11403  				}
 11404  				if iNdEx >= l {
 11405  					return io.ErrUnexpectedEOF
 11406  				}
 11407  				b := dAtA[iNdEx]
 11408  				iNdEx++
 11409  				stringLen |= uint64(b&0x7F) << shift
 11410  				if b < 0x80 {
 11411  					break
 11412  				}
 11413  			}
 11414  			intStringLen := int(stringLen)
 11415  			if intStringLen < 0 {
 11416  				return ErrInvalidLengthQuery
 11417  			}
 11418  			postIndex := iNdEx + intStringLen
 11419  			if postIndex < 0 {
 11420  				return ErrInvalidLengthQuery
 11421  			}
 11422  			if postIndex > l {
 11423  				return io.ErrUnexpectedEOF
 11424  			}
 11425  			m.NodeId = string(dAtA[iNdEx:postIndex])
 11426  			iNdEx = postIndex
 11427  		case 3:
 11428  			if wireType != 2 {
 11429  				return fmt.Errorf("proto: wrong wireType = %d for field CacheType", wireType)
 11430  			}
 11431  			var stringLen uint64
 11432  			for shift := uint(0); ; shift += 7 {
 11433  				if shift >= 64 {
 11434  					return ErrIntOverflowQuery
 11435  				}
 11436  				if iNdEx >= l {
 11437  					return io.ErrUnexpectedEOF
 11438  				}
 11439  				b := dAtA[iNdEx]
 11440  				iNdEx++
 11441  				stringLen |= uint64(b&0x7F) << shift
 11442  				if b < 0x80 {
 11443  					break
 11444  				}
 11445  			}
 11446  			intStringLen := int(stringLen)
 11447  			if intStringLen < 0 {
 11448  				return ErrInvalidLengthQuery
 11449  			}
 11450  			postIndex := iNdEx + intStringLen
 11451  			if postIndex < 0 {
 11452  				return ErrInvalidLengthQuery
 11453  			}
 11454  			if postIndex > l {
 11455  				return io.ErrUnexpectedEOF
 11456  			}
 11457  			m.CacheType = string(dAtA[iNdEx:postIndex])
 11458  			iNdEx = postIndex
 11459  		case 4:
 11460  			if wireType != 0 {
 11461  				return fmt.Errorf("proto: wrong wireType = %d for field Used", wireType)
 11462  			}
 11463  			m.Used = 0
 11464  			for shift := uint(0); ; shift += 7 {
 11465  				if shift >= 64 {
 11466  					return ErrIntOverflowQuery
 11467  				}
 11468  				if iNdEx >= l {
 11469  					return io.ErrUnexpectedEOF
 11470  				}
 11471  				b := dAtA[iNdEx]
 11472  				iNdEx++
 11473  				m.Used |= uint64(b&0x7F) << shift
 11474  				if b < 0x80 {
 11475  					break
 11476  				}
 11477  			}
 11478  		case 5:
 11479  			if wireType != 0 {
 11480  				return fmt.Errorf("proto: wrong wireType = %d for field Free", wireType)
 11481  			}
 11482  			m.Free = 0
 11483  			for shift := uint(0); ; shift += 7 {
 11484  				if shift >= 64 {
 11485  					return ErrIntOverflowQuery
 11486  				}
 11487  				if iNdEx >= l {
 11488  					return io.ErrUnexpectedEOF
 11489  				}
 11490  				b := dAtA[iNdEx]
 11491  				iNdEx++
 11492  				m.Free |= uint64(b&0x7F) << shift
 11493  				if b < 0x80 {
 11494  					break
 11495  				}
 11496  			}
 11497  		case 6:
 11498  			if wireType != 5 {
 11499  				return fmt.Errorf("proto: wrong wireType = %d for field HitRatio", wireType)
 11500  			}
 11501  			var v uint32
 11502  			if (iNdEx + 4) > l {
 11503  				return io.ErrUnexpectedEOF
 11504  			}
 11505  			v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
 11506  			iNdEx += 4
 11507  			m.HitRatio = float32(math.Float32frombits(v))
 11508  		default:
 11509  			iNdEx = preIndex
 11510  			skippy, err := skipQuery(dAtA[iNdEx:])
 11511  			if err != nil {
 11512  				return err
 11513  			}
 11514  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11515  				return ErrInvalidLengthQuery
 11516  			}
 11517  			if (iNdEx + skippy) > l {
 11518  				return io.ErrUnexpectedEOF
 11519  			}
 11520  			iNdEx += skippy
 11521  		}
 11522  	}
 11523  
 11524  	if iNdEx > l {
 11525  		return io.ErrUnexpectedEOF
 11526  	}
 11527  	return nil
 11528  }
 11529  func (m *GetCacheInfoResponse) Unmarshal(dAtA []byte) error {
 11530  	l := len(dAtA)
 11531  	iNdEx := 0
 11532  	for iNdEx < l {
 11533  		preIndex := iNdEx
 11534  		var wire uint64
 11535  		for shift := uint(0); ; shift += 7 {
 11536  			if shift >= 64 {
 11537  				return ErrIntOverflowQuery
 11538  			}
 11539  			if iNdEx >= l {
 11540  				return io.ErrUnexpectedEOF
 11541  			}
 11542  			b := dAtA[iNdEx]
 11543  			iNdEx++
 11544  			wire |= uint64(b&0x7F) << shift
 11545  			if b < 0x80 {
 11546  				break
 11547  			}
 11548  		}
 11549  		fieldNum := int32(wire >> 3)
 11550  		wireType := int(wire & 0x7)
 11551  		if wireType == 4 {
 11552  			return fmt.Errorf("proto: GetCacheInfoResponse: wiretype end group for non-group")
 11553  		}
 11554  		if fieldNum <= 0 {
 11555  			return fmt.Errorf("proto: GetCacheInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11556  		}
 11557  		switch fieldNum {
 11558  		case 1:
 11559  			if wireType != 2 {
 11560  				return fmt.Errorf("proto: wrong wireType = %d for field CacheInfoList", wireType)
 11561  			}
 11562  			var msglen int
 11563  			for shift := uint(0); ; shift += 7 {
 11564  				if shift >= 64 {
 11565  					return ErrIntOverflowQuery
 11566  				}
 11567  				if iNdEx >= l {
 11568  					return io.ErrUnexpectedEOF
 11569  				}
 11570  				b := dAtA[iNdEx]
 11571  				iNdEx++
 11572  				msglen |= int(b&0x7F) << shift
 11573  				if b < 0x80 {
 11574  					break
 11575  				}
 11576  			}
 11577  			if msglen < 0 {
 11578  				return ErrInvalidLengthQuery
 11579  			}
 11580  			postIndex := iNdEx + msglen
 11581  			if postIndex < 0 {
 11582  				return ErrInvalidLengthQuery
 11583  			}
 11584  			if postIndex > l {
 11585  				return io.ErrUnexpectedEOF
 11586  			}
 11587  			m.CacheInfoList = append(m.CacheInfoList, &CacheInfo{})
 11588  			if err := m.CacheInfoList[len(m.CacheInfoList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11589  				return err
 11590  			}
 11591  			iNdEx = postIndex
 11592  		default:
 11593  			iNdEx = preIndex
 11594  			skippy, err := skipQuery(dAtA[iNdEx:])
 11595  			if err != nil {
 11596  				return err
 11597  			}
 11598  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11599  				return ErrInvalidLengthQuery
 11600  			}
 11601  			if (iNdEx + skippy) > l {
 11602  				return io.ErrUnexpectedEOF
 11603  			}
 11604  			iNdEx += skippy
 11605  		}
 11606  	}
 11607  
 11608  	if iNdEx > l {
 11609  		return io.ErrUnexpectedEOF
 11610  	}
 11611  	return nil
 11612  }
 11613  func (m *RemoveRemoteLockTableRequest) Unmarshal(dAtA []byte) error {
 11614  	l := len(dAtA)
 11615  	iNdEx := 0
 11616  	for iNdEx < l {
 11617  		preIndex := iNdEx
 11618  		var wire uint64
 11619  		for shift := uint(0); ; shift += 7 {
 11620  			if shift >= 64 {
 11621  				return ErrIntOverflowQuery
 11622  			}
 11623  			if iNdEx >= l {
 11624  				return io.ErrUnexpectedEOF
 11625  			}
 11626  			b := dAtA[iNdEx]
 11627  			iNdEx++
 11628  			wire |= uint64(b&0x7F) << shift
 11629  			if b < 0x80 {
 11630  				break
 11631  			}
 11632  		}
 11633  		fieldNum := int32(wire >> 3)
 11634  		wireType := int(wire & 0x7)
 11635  		if wireType == 4 {
 11636  			return fmt.Errorf("proto: RemoveRemoteLockTableRequest: wiretype end group for non-group")
 11637  		}
 11638  		if fieldNum <= 0 {
 11639  			return fmt.Errorf("proto: RemoveRemoteLockTableRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11640  		}
 11641  		switch fieldNum {
 11642  		case 1:
 11643  			if wireType != 0 {
 11644  				return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
 11645  			}
 11646  			m.GroupID = 0
 11647  			for shift := uint(0); ; shift += 7 {
 11648  				if shift >= 64 {
 11649  					return ErrIntOverflowQuery
 11650  				}
 11651  				if iNdEx >= l {
 11652  					return io.ErrUnexpectedEOF
 11653  				}
 11654  				b := dAtA[iNdEx]
 11655  				iNdEx++
 11656  				m.GroupID |= uint32(b&0x7F) << shift
 11657  				if b < 0x80 {
 11658  					break
 11659  				}
 11660  			}
 11661  		case 2:
 11662  			if wireType != 0 {
 11663  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
 11664  			}
 11665  			m.TableID = 0
 11666  			for shift := uint(0); ; shift += 7 {
 11667  				if shift >= 64 {
 11668  					return ErrIntOverflowQuery
 11669  				}
 11670  				if iNdEx >= l {
 11671  					return io.ErrUnexpectedEOF
 11672  				}
 11673  				b := dAtA[iNdEx]
 11674  				iNdEx++
 11675  				m.TableID |= uint64(b&0x7F) << shift
 11676  				if b < 0x80 {
 11677  					break
 11678  				}
 11679  			}
 11680  		case 3:
 11681  			if wireType != 0 {
 11682  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
 11683  			}
 11684  			m.Version = 0
 11685  			for shift := uint(0); ; shift += 7 {
 11686  				if shift >= 64 {
 11687  					return ErrIntOverflowQuery
 11688  				}
 11689  				if iNdEx >= l {
 11690  					return io.ErrUnexpectedEOF
 11691  				}
 11692  				b := dAtA[iNdEx]
 11693  				iNdEx++
 11694  				m.Version |= uint64(b&0x7F) << shift
 11695  				if b < 0x80 {
 11696  					break
 11697  				}
 11698  			}
 11699  		default:
 11700  			iNdEx = preIndex
 11701  			skippy, err := skipQuery(dAtA[iNdEx:])
 11702  			if err != nil {
 11703  				return err
 11704  			}
 11705  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11706  				return ErrInvalidLengthQuery
 11707  			}
 11708  			if (iNdEx + skippy) > l {
 11709  				return io.ErrUnexpectedEOF
 11710  			}
 11711  			iNdEx += skippy
 11712  		}
 11713  	}
 11714  
 11715  	if iNdEx > l {
 11716  		return io.ErrUnexpectedEOF
 11717  	}
 11718  	return nil
 11719  }
 11720  func (m *RemoveRemoteLockTableResponse) Unmarshal(dAtA []byte) error {
 11721  	l := len(dAtA)
 11722  	iNdEx := 0
 11723  	for iNdEx < l {
 11724  		preIndex := iNdEx
 11725  		var wire uint64
 11726  		for shift := uint(0); ; shift += 7 {
 11727  			if shift >= 64 {
 11728  				return ErrIntOverflowQuery
 11729  			}
 11730  			if iNdEx >= l {
 11731  				return io.ErrUnexpectedEOF
 11732  			}
 11733  			b := dAtA[iNdEx]
 11734  			iNdEx++
 11735  			wire |= uint64(b&0x7F) << shift
 11736  			if b < 0x80 {
 11737  				break
 11738  			}
 11739  		}
 11740  		fieldNum := int32(wire >> 3)
 11741  		wireType := int(wire & 0x7)
 11742  		if wireType == 4 {
 11743  			return fmt.Errorf("proto: RemoveRemoteLockTableResponse: wiretype end group for non-group")
 11744  		}
 11745  		if fieldNum <= 0 {
 11746  			return fmt.Errorf("proto: RemoveRemoteLockTableResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11747  		}
 11748  		switch fieldNum {
 11749  		case 1:
 11750  			if wireType != 0 {
 11751  				return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
 11752  			}
 11753  			m.Count = 0
 11754  			for shift := uint(0); ; shift += 7 {
 11755  				if shift >= 64 {
 11756  					return ErrIntOverflowQuery
 11757  				}
 11758  				if iNdEx >= l {
 11759  					return io.ErrUnexpectedEOF
 11760  				}
 11761  				b := dAtA[iNdEx]
 11762  				iNdEx++
 11763  				m.Count |= int32(b&0x7F) << shift
 11764  				if b < 0x80 {
 11765  					break
 11766  				}
 11767  			}
 11768  		default:
 11769  			iNdEx = preIndex
 11770  			skippy, err := skipQuery(dAtA[iNdEx:])
 11771  			if err != nil {
 11772  				return err
 11773  			}
 11774  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11775  				return ErrInvalidLengthQuery
 11776  			}
 11777  			if (iNdEx + skippy) > l {
 11778  				return io.ErrUnexpectedEOF
 11779  			}
 11780  			iNdEx += skippy
 11781  		}
 11782  	}
 11783  
 11784  	if iNdEx > l {
 11785  		return io.ErrUnexpectedEOF
 11786  	}
 11787  	return nil
 11788  }
 11789  func (m *GetLatestBindRequest) Unmarshal(dAtA []byte) error {
 11790  	l := len(dAtA)
 11791  	iNdEx := 0
 11792  	for iNdEx < l {
 11793  		preIndex := iNdEx
 11794  		var wire uint64
 11795  		for shift := uint(0); ; shift += 7 {
 11796  			if shift >= 64 {
 11797  				return ErrIntOverflowQuery
 11798  			}
 11799  			if iNdEx >= l {
 11800  				return io.ErrUnexpectedEOF
 11801  			}
 11802  			b := dAtA[iNdEx]
 11803  			iNdEx++
 11804  			wire |= uint64(b&0x7F) << shift
 11805  			if b < 0x80 {
 11806  				break
 11807  			}
 11808  		}
 11809  		fieldNum := int32(wire >> 3)
 11810  		wireType := int(wire & 0x7)
 11811  		if wireType == 4 {
 11812  			return fmt.Errorf("proto: GetLatestBindRequest: wiretype end group for non-group")
 11813  		}
 11814  		if fieldNum <= 0 {
 11815  			return fmt.Errorf("proto: GetLatestBindRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11816  		}
 11817  		switch fieldNum {
 11818  		case 1:
 11819  			if wireType != 0 {
 11820  				return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
 11821  			}
 11822  			m.GroupID = 0
 11823  			for shift := uint(0); ; shift += 7 {
 11824  				if shift >= 64 {
 11825  					return ErrIntOverflowQuery
 11826  				}
 11827  				if iNdEx >= l {
 11828  					return io.ErrUnexpectedEOF
 11829  				}
 11830  				b := dAtA[iNdEx]
 11831  				iNdEx++
 11832  				m.GroupID |= uint32(b&0x7F) << shift
 11833  				if b < 0x80 {
 11834  					break
 11835  				}
 11836  			}
 11837  		case 2:
 11838  			if wireType != 0 {
 11839  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
 11840  			}
 11841  			m.TableID = 0
 11842  			for shift := uint(0); ; shift += 7 {
 11843  				if shift >= 64 {
 11844  					return ErrIntOverflowQuery
 11845  				}
 11846  				if iNdEx >= l {
 11847  					return io.ErrUnexpectedEOF
 11848  				}
 11849  				b := dAtA[iNdEx]
 11850  				iNdEx++
 11851  				m.TableID |= uint64(b&0x7F) << shift
 11852  				if b < 0x80 {
 11853  					break
 11854  				}
 11855  			}
 11856  		default:
 11857  			iNdEx = preIndex
 11858  			skippy, err := skipQuery(dAtA[iNdEx:])
 11859  			if err != nil {
 11860  				return err
 11861  			}
 11862  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11863  				return ErrInvalidLengthQuery
 11864  			}
 11865  			if (iNdEx + skippy) > l {
 11866  				return io.ErrUnexpectedEOF
 11867  			}
 11868  			iNdEx += skippy
 11869  		}
 11870  	}
 11871  
 11872  	if iNdEx > l {
 11873  		return io.ErrUnexpectedEOF
 11874  	}
 11875  	return nil
 11876  }
 11877  func (m *GetLatestBindResponse) Unmarshal(dAtA []byte) error {
 11878  	l := len(dAtA)
 11879  	iNdEx := 0
 11880  	for iNdEx < l {
 11881  		preIndex := iNdEx
 11882  		var wire uint64
 11883  		for shift := uint(0); ; shift += 7 {
 11884  			if shift >= 64 {
 11885  				return ErrIntOverflowQuery
 11886  			}
 11887  			if iNdEx >= l {
 11888  				return io.ErrUnexpectedEOF
 11889  			}
 11890  			b := dAtA[iNdEx]
 11891  			iNdEx++
 11892  			wire |= uint64(b&0x7F) << shift
 11893  			if b < 0x80 {
 11894  				break
 11895  			}
 11896  		}
 11897  		fieldNum := int32(wire >> 3)
 11898  		wireType := int(wire & 0x7)
 11899  		if wireType == 4 {
 11900  			return fmt.Errorf("proto: GetLatestBindResponse: wiretype end group for non-group")
 11901  		}
 11902  		if fieldNum <= 0 {
 11903  			return fmt.Errorf("proto: GetLatestBindResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11904  		}
 11905  		switch fieldNum {
 11906  		case 1:
 11907  			if wireType != 2 {
 11908  				return fmt.Errorf("proto: wrong wireType = %d for field Bind", wireType)
 11909  			}
 11910  			var stringLen uint64
 11911  			for shift := uint(0); ; shift += 7 {
 11912  				if shift >= 64 {
 11913  					return ErrIntOverflowQuery
 11914  				}
 11915  				if iNdEx >= l {
 11916  					return io.ErrUnexpectedEOF
 11917  				}
 11918  				b := dAtA[iNdEx]
 11919  				iNdEx++
 11920  				stringLen |= uint64(b&0x7F) << shift
 11921  				if b < 0x80 {
 11922  					break
 11923  				}
 11924  			}
 11925  			intStringLen := int(stringLen)
 11926  			if intStringLen < 0 {
 11927  				return ErrInvalidLengthQuery
 11928  			}
 11929  			postIndex := iNdEx + intStringLen
 11930  			if postIndex < 0 {
 11931  				return ErrInvalidLengthQuery
 11932  			}
 11933  			if postIndex > l {
 11934  				return io.ErrUnexpectedEOF
 11935  			}
 11936  			m.Bind = string(dAtA[iNdEx:postIndex])
 11937  			iNdEx = postIndex
 11938  		default:
 11939  			iNdEx = preIndex
 11940  			skippy, err := skipQuery(dAtA[iNdEx:])
 11941  			if err != nil {
 11942  				return err
 11943  			}
 11944  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11945  				return ErrInvalidLengthQuery
 11946  			}
 11947  			if (iNdEx + skippy) > l {
 11948  				return io.ErrUnexpectedEOF
 11949  			}
 11950  			iNdEx += skippy
 11951  		}
 11952  	}
 11953  
 11954  	if iNdEx > l {
 11955  		return io.ErrUnexpectedEOF
 11956  	}
 11957  	return nil
 11958  }
 11959  func (m *UnsubscribeTableRequest) Unmarshal(dAtA []byte) error {
 11960  	l := len(dAtA)
 11961  	iNdEx := 0
 11962  	for iNdEx < l {
 11963  		preIndex := iNdEx
 11964  		var wire uint64
 11965  		for shift := uint(0); ; shift += 7 {
 11966  			if shift >= 64 {
 11967  				return ErrIntOverflowQuery
 11968  			}
 11969  			if iNdEx >= l {
 11970  				return io.ErrUnexpectedEOF
 11971  			}
 11972  			b := dAtA[iNdEx]
 11973  			iNdEx++
 11974  			wire |= uint64(b&0x7F) << shift
 11975  			if b < 0x80 {
 11976  				break
 11977  			}
 11978  		}
 11979  		fieldNum := int32(wire >> 3)
 11980  		wireType := int(wire & 0x7)
 11981  		if wireType == 4 {
 11982  			return fmt.Errorf("proto: UnsubscribeTableRequest: wiretype end group for non-group")
 11983  		}
 11984  		if fieldNum <= 0 {
 11985  			return fmt.Errorf("proto: UnsubscribeTableRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11986  		}
 11987  		switch fieldNum {
 11988  		case 1:
 11989  			if wireType != 0 {
 11990  				return fmt.Errorf("proto: wrong wireType = %d for field DatabaseID", wireType)
 11991  			}
 11992  			m.DatabaseID = 0
 11993  			for shift := uint(0); ; shift += 7 {
 11994  				if shift >= 64 {
 11995  					return ErrIntOverflowQuery
 11996  				}
 11997  				if iNdEx >= l {
 11998  					return io.ErrUnexpectedEOF
 11999  				}
 12000  				b := dAtA[iNdEx]
 12001  				iNdEx++
 12002  				m.DatabaseID |= uint64(b&0x7F) << shift
 12003  				if b < 0x80 {
 12004  					break
 12005  				}
 12006  			}
 12007  		case 2:
 12008  			if wireType != 0 {
 12009  				return fmt.Errorf("proto: wrong wireType = %d for field TableID", wireType)
 12010  			}
 12011  			m.TableID = 0
 12012  			for shift := uint(0); ; shift += 7 {
 12013  				if shift >= 64 {
 12014  					return ErrIntOverflowQuery
 12015  				}
 12016  				if iNdEx >= l {
 12017  					return io.ErrUnexpectedEOF
 12018  				}
 12019  				b := dAtA[iNdEx]
 12020  				iNdEx++
 12021  				m.TableID |= uint64(b&0x7F) << shift
 12022  				if b < 0x80 {
 12023  					break
 12024  				}
 12025  			}
 12026  		default:
 12027  			iNdEx = preIndex
 12028  			skippy, err := skipQuery(dAtA[iNdEx:])
 12029  			if err != nil {
 12030  				return err
 12031  			}
 12032  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12033  				return ErrInvalidLengthQuery
 12034  			}
 12035  			if (iNdEx + skippy) > l {
 12036  				return io.ErrUnexpectedEOF
 12037  			}
 12038  			iNdEx += skippy
 12039  		}
 12040  	}
 12041  
 12042  	if iNdEx > l {
 12043  		return io.ErrUnexpectedEOF
 12044  	}
 12045  	return nil
 12046  }
 12047  func (m *UnsubscribeTableResponse) Unmarshal(dAtA []byte) error {
 12048  	l := len(dAtA)
 12049  	iNdEx := 0
 12050  	for iNdEx < l {
 12051  		preIndex := iNdEx
 12052  		var wire uint64
 12053  		for shift := uint(0); ; shift += 7 {
 12054  			if shift >= 64 {
 12055  				return ErrIntOverflowQuery
 12056  			}
 12057  			if iNdEx >= l {
 12058  				return io.ErrUnexpectedEOF
 12059  			}
 12060  			b := dAtA[iNdEx]
 12061  			iNdEx++
 12062  			wire |= uint64(b&0x7F) << shift
 12063  			if b < 0x80 {
 12064  				break
 12065  			}
 12066  		}
 12067  		fieldNum := int32(wire >> 3)
 12068  		wireType := int(wire & 0x7)
 12069  		if wireType == 4 {
 12070  			return fmt.Errorf("proto: UnsubscribeTableResponse: wiretype end group for non-group")
 12071  		}
 12072  		if fieldNum <= 0 {
 12073  			return fmt.Errorf("proto: UnsubscribeTableResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 12074  		}
 12075  		switch fieldNum {
 12076  		case 1:
 12077  			if wireType != 0 {
 12078  				return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
 12079  			}
 12080  			var v int
 12081  			for shift := uint(0); ; shift += 7 {
 12082  				if shift >= 64 {
 12083  					return ErrIntOverflowQuery
 12084  				}
 12085  				if iNdEx >= l {
 12086  					return io.ErrUnexpectedEOF
 12087  				}
 12088  				b := dAtA[iNdEx]
 12089  				iNdEx++
 12090  				v |= int(b&0x7F) << shift
 12091  				if b < 0x80 {
 12092  					break
 12093  				}
 12094  			}
 12095  			m.Success = bool(v != 0)
 12096  		default:
 12097  			iNdEx = preIndex
 12098  			skippy, err := skipQuery(dAtA[iNdEx:])
 12099  			if err != nil {
 12100  				return err
 12101  			}
 12102  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12103  				return ErrInvalidLengthQuery
 12104  			}
 12105  			if (iNdEx + skippy) > l {
 12106  				return io.ErrUnexpectedEOF
 12107  			}
 12108  			iNdEx += skippy
 12109  		}
 12110  	}
 12111  
 12112  	if iNdEx > l {
 12113  		return io.ErrUnexpectedEOF
 12114  	}
 12115  	return nil
 12116  }
 12117  func (m *CacheKey) Unmarshal(dAtA []byte) error {
 12118  	l := len(dAtA)
 12119  	iNdEx := 0
 12120  	for iNdEx < l {
 12121  		preIndex := iNdEx
 12122  		var wire uint64
 12123  		for shift := uint(0); ; shift += 7 {
 12124  			if shift >= 64 {
 12125  				return ErrIntOverflowQuery
 12126  			}
 12127  			if iNdEx >= l {
 12128  				return io.ErrUnexpectedEOF
 12129  			}
 12130  			b := dAtA[iNdEx]
 12131  			iNdEx++
 12132  			wire |= uint64(b&0x7F) << shift
 12133  			if b < 0x80 {
 12134  				break
 12135  			}
 12136  		}
 12137  		fieldNum := int32(wire >> 3)
 12138  		wireType := int(wire & 0x7)
 12139  		if wireType == 4 {
 12140  			return fmt.Errorf("proto: CacheKey: wiretype end group for non-group")
 12141  		}
 12142  		if fieldNum <= 0 {
 12143  			return fmt.Errorf("proto: CacheKey: illegal tag %d (wire type %d)", fieldNum, wire)
 12144  		}
 12145  		switch fieldNum {
 12146  		case 1:
 12147  			if wireType != 2 {
 12148  				return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
 12149  			}
 12150  			var stringLen uint64
 12151  			for shift := uint(0); ; shift += 7 {
 12152  				if shift >= 64 {
 12153  					return ErrIntOverflowQuery
 12154  				}
 12155  				if iNdEx >= l {
 12156  					return io.ErrUnexpectedEOF
 12157  				}
 12158  				b := dAtA[iNdEx]
 12159  				iNdEx++
 12160  				stringLen |= uint64(b&0x7F) << shift
 12161  				if b < 0x80 {
 12162  					break
 12163  				}
 12164  			}
 12165  			intStringLen := int(stringLen)
 12166  			if intStringLen < 0 {
 12167  				return ErrInvalidLengthQuery
 12168  			}
 12169  			postIndex := iNdEx + intStringLen
 12170  			if postIndex < 0 {
 12171  				return ErrInvalidLengthQuery
 12172  			}
 12173  			if postIndex > l {
 12174  				return io.ErrUnexpectedEOF
 12175  			}
 12176  			m.Path = string(dAtA[iNdEx:postIndex])
 12177  			iNdEx = postIndex
 12178  		case 2:
 12179  			if wireType != 0 {
 12180  				return fmt.Errorf("proto: wrong wireType = %d for field Offset", wireType)
 12181  			}
 12182  			m.Offset = 0
 12183  			for shift := uint(0); ; shift += 7 {
 12184  				if shift >= 64 {
 12185  					return ErrIntOverflowQuery
 12186  				}
 12187  				if iNdEx >= l {
 12188  					return io.ErrUnexpectedEOF
 12189  				}
 12190  				b := dAtA[iNdEx]
 12191  				iNdEx++
 12192  				m.Offset |= int64(b&0x7F) << shift
 12193  				if b < 0x80 {
 12194  					break
 12195  				}
 12196  			}
 12197  		case 3:
 12198  			if wireType != 0 {
 12199  				return fmt.Errorf("proto: wrong wireType = %d for field Sz", wireType)
 12200  			}
 12201  			m.Sz = 0
 12202  			for shift := uint(0); ; shift += 7 {
 12203  				if shift >= 64 {
 12204  					return ErrIntOverflowQuery
 12205  				}
 12206  				if iNdEx >= l {
 12207  					return io.ErrUnexpectedEOF
 12208  				}
 12209  				b := dAtA[iNdEx]
 12210  				iNdEx++
 12211  				m.Sz |= int64(b&0x7F) << shift
 12212  				if b < 0x80 {
 12213  					break
 12214  				}
 12215  			}
 12216  		default:
 12217  			iNdEx = preIndex
 12218  			skippy, err := skipQuery(dAtA[iNdEx:])
 12219  			if err != nil {
 12220  				return err
 12221  			}
 12222  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12223  				return ErrInvalidLengthQuery
 12224  			}
 12225  			if (iNdEx + skippy) > l {
 12226  				return io.ErrUnexpectedEOF
 12227  			}
 12228  			iNdEx += skippy
 12229  		}
 12230  	}
 12231  
 12232  	if iNdEx > l {
 12233  		return io.ErrUnexpectedEOF
 12234  	}
 12235  	return nil
 12236  }
 12237  func (m *CacheKeys) Unmarshal(dAtA []byte) error {
 12238  	l := len(dAtA)
 12239  	iNdEx := 0
 12240  	for iNdEx < l {
 12241  		preIndex := iNdEx
 12242  		var wire uint64
 12243  		for shift := uint(0); ; shift += 7 {
 12244  			if shift >= 64 {
 12245  				return ErrIntOverflowQuery
 12246  			}
 12247  			if iNdEx >= l {
 12248  				return io.ErrUnexpectedEOF
 12249  			}
 12250  			b := dAtA[iNdEx]
 12251  			iNdEx++
 12252  			wire |= uint64(b&0x7F) << shift
 12253  			if b < 0x80 {
 12254  				break
 12255  			}
 12256  		}
 12257  		fieldNum := int32(wire >> 3)
 12258  		wireType := int(wire & 0x7)
 12259  		if wireType == 4 {
 12260  			return fmt.Errorf("proto: CacheKeys: wiretype end group for non-group")
 12261  		}
 12262  		if fieldNum <= 0 {
 12263  			return fmt.Errorf("proto: CacheKeys: illegal tag %d (wire type %d)", fieldNum, wire)
 12264  		}
 12265  		switch fieldNum {
 12266  		case 1:
 12267  			if wireType != 2 {
 12268  				return fmt.Errorf("proto: wrong wireType = %d for field Keys", wireType)
 12269  			}
 12270  			var msglen int
 12271  			for shift := uint(0); ; shift += 7 {
 12272  				if shift >= 64 {
 12273  					return ErrIntOverflowQuery
 12274  				}
 12275  				if iNdEx >= l {
 12276  					return io.ErrUnexpectedEOF
 12277  				}
 12278  				b := dAtA[iNdEx]
 12279  				iNdEx++
 12280  				msglen |= int(b&0x7F) << shift
 12281  				if b < 0x80 {
 12282  					break
 12283  				}
 12284  			}
 12285  			if msglen < 0 {
 12286  				return ErrInvalidLengthQuery
 12287  			}
 12288  			postIndex := iNdEx + msglen
 12289  			if postIndex < 0 {
 12290  				return ErrInvalidLengthQuery
 12291  			}
 12292  			if postIndex > l {
 12293  				return io.ErrUnexpectedEOF
 12294  			}
 12295  			m.Keys = append(m.Keys, CacheKey{})
 12296  			if err := m.Keys[len(m.Keys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12297  				return err
 12298  			}
 12299  			iNdEx = postIndex
 12300  		default:
 12301  			iNdEx = preIndex
 12302  			skippy, err := skipQuery(dAtA[iNdEx:])
 12303  			if err != nil {
 12304  				return err
 12305  			}
 12306  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12307  				return ErrInvalidLengthQuery
 12308  			}
 12309  			if (iNdEx + skippy) > l {
 12310  				return io.ErrUnexpectedEOF
 12311  			}
 12312  			iNdEx += skippy
 12313  		}
 12314  	}
 12315  
 12316  	if iNdEx > l {
 12317  		return io.ErrUnexpectedEOF
 12318  	}
 12319  	return nil
 12320  }
 12321  func (m *RequestCacheKey) Unmarshal(dAtA []byte) error {
 12322  	l := len(dAtA)
 12323  	iNdEx := 0
 12324  	for iNdEx < l {
 12325  		preIndex := iNdEx
 12326  		var wire uint64
 12327  		for shift := uint(0); ; shift += 7 {
 12328  			if shift >= 64 {
 12329  				return ErrIntOverflowQuery
 12330  			}
 12331  			if iNdEx >= l {
 12332  				return io.ErrUnexpectedEOF
 12333  			}
 12334  			b := dAtA[iNdEx]
 12335  			iNdEx++
 12336  			wire |= uint64(b&0x7F) << shift
 12337  			if b < 0x80 {
 12338  				break
 12339  			}
 12340  		}
 12341  		fieldNum := int32(wire >> 3)
 12342  		wireType := int(wire & 0x7)
 12343  		if wireType == 4 {
 12344  			return fmt.Errorf("proto: RequestCacheKey: wiretype end group for non-group")
 12345  		}
 12346  		if fieldNum <= 0 {
 12347  			return fmt.Errorf("proto: RequestCacheKey: illegal tag %d (wire type %d)", fieldNum, wire)
 12348  		}
 12349  		switch fieldNum {
 12350  		case 1:
 12351  			if wireType != 0 {
 12352  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 12353  			}
 12354  			m.Index = 0
 12355  			for shift := uint(0); ; shift += 7 {
 12356  				if shift >= 64 {
 12357  					return ErrIntOverflowQuery
 12358  				}
 12359  				if iNdEx >= l {
 12360  					return io.ErrUnexpectedEOF
 12361  				}
 12362  				b := dAtA[iNdEx]
 12363  				iNdEx++
 12364  				m.Index |= int32(b&0x7F) << shift
 12365  				if b < 0x80 {
 12366  					break
 12367  				}
 12368  			}
 12369  		case 2:
 12370  			if wireType != 2 {
 12371  				return fmt.Errorf("proto: wrong wireType = %d for field CacheKey", wireType)
 12372  			}
 12373  			var msglen int
 12374  			for shift := uint(0); ; shift += 7 {
 12375  				if shift >= 64 {
 12376  					return ErrIntOverflowQuery
 12377  				}
 12378  				if iNdEx >= l {
 12379  					return io.ErrUnexpectedEOF
 12380  				}
 12381  				b := dAtA[iNdEx]
 12382  				iNdEx++
 12383  				msglen |= int(b&0x7F) << shift
 12384  				if b < 0x80 {
 12385  					break
 12386  				}
 12387  			}
 12388  			if msglen < 0 {
 12389  				return ErrInvalidLengthQuery
 12390  			}
 12391  			postIndex := iNdEx + msglen
 12392  			if postIndex < 0 {
 12393  				return ErrInvalidLengthQuery
 12394  			}
 12395  			if postIndex > l {
 12396  				return io.ErrUnexpectedEOF
 12397  			}
 12398  			if m.CacheKey == nil {
 12399  				m.CacheKey = &CacheKey{}
 12400  			}
 12401  			if err := m.CacheKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12402  				return err
 12403  			}
 12404  			iNdEx = postIndex
 12405  		default:
 12406  			iNdEx = preIndex
 12407  			skippy, err := skipQuery(dAtA[iNdEx:])
 12408  			if err != nil {
 12409  				return err
 12410  			}
 12411  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12412  				return ErrInvalidLengthQuery
 12413  			}
 12414  			if (iNdEx + skippy) > l {
 12415  				return io.ErrUnexpectedEOF
 12416  			}
 12417  			iNdEx += skippy
 12418  		}
 12419  	}
 12420  
 12421  	if iNdEx > l {
 12422  		return io.ErrUnexpectedEOF
 12423  	}
 12424  	return nil
 12425  }
 12426  func (m *GetCacheDataRequest) Unmarshal(dAtA []byte) error {
 12427  	l := len(dAtA)
 12428  	iNdEx := 0
 12429  	for iNdEx < l {
 12430  		preIndex := iNdEx
 12431  		var wire uint64
 12432  		for shift := uint(0); ; shift += 7 {
 12433  			if shift >= 64 {
 12434  				return ErrIntOverflowQuery
 12435  			}
 12436  			if iNdEx >= l {
 12437  				return io.ErrUnexpectedEOF
 12438  			}
 12439  			b := dAtA[iNdEx]
 12440  			iNdEx++
 12441  			wire |= uint64(b&0x7F) << shift
 12442  			if b < 0x80 {
 12443  				break
 12444  			}
 12445  		}
 12446  		fieldNum := int32(wire >> 3)
 12447  		wireType := int(wire & 0x7)
 12448  		if wireType == 4 {
 12449  			return fmt.Errorf("proto: GetCacheDataRequest: wiretype end group for non-group")
 12450  		}
 12451  		if fieldNum <= 0 {
 12452  			return fmt.Errorf("proto: GetCacheDataRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 12453  		}
 12454  		switch fieldNum {
 12455  		case 1:
 12456  			if wireType != 2 {
 12457  				return fmt.Errorf("proto: wrong wireType = %d for field RequestCacheKey", wireType)
 12458  			}
 12459  			var msglen int
 12460  			for shift := uint(0); ; shift += 7 {
 12461  				if shift >= 64 {
 12462  					return ErrIntOverflowQuery
 12463  				}
 12464  				if iNdEx >= l {
 12465  					return io.ErrUnexpectedEOF
 12466  				}
 12467  				b := dAtA[iNdEx]
 12468  				iNdEx++
 12469  				msglen |= int(b&0x7F) << shift
 12470  				if b < 0x80 {
 12471  					break
 12472  				}
 12473  			}
 12474  			if msglen < 0 {
 12475  				return ErrInvalidLengthQuery
 12476  			}
 12477  			postIndex := iNdEx + msglen
 12478  			if postIndex < 0 {
 12479  				return ErrInvalidLengthQuery
 12480  			}
 12481  			if postIndex > l {
 12482  				return io.ErrUnexpectedEOF
 12483  			}
 12484  			m.RequestCacheKey = append(m.RequestCacheKey, &RequestCacheKey{})
 12485  			if err := m.RequestCacheKey[len(m.RequestCacheKey)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12486  				return err
 12487  			}
 12488  			iNdEx = postIndex
 12489  		default:
 12490  			iNdEx = preIndex
 12491  			skippy, err := skipQuery(dAtA[iNdEx:])
 12492  			if err != nil {
 12493  				return err
 12494  			}
 12495  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12496  				return ErrInvalidLengthQuery
 12497  			}
 12498  			if (iNdEx + skippy) > l {
 12499  				return io.ErrUnexpectedEOF
 12500  			}
 12501  			iNdEx += skippy
 12502  		}
 12503  	}
 12504  
 12505  	if iNdEx > l {
 12506  		return io.ErrUnexpectedEOF
 12507  	}
 12508  	return nil
 12509  }
 12510  func (m *ResponseCacheData) Unmarshal(dAtA []byte) error {
 12511  	l := len(dAtA)
 12512  	iNdEx := 0
 12513  	for iNdEx < l {
 12514  		preIndex := iNdEx
 12515  		var wire uint64
 12516  		for shift := uint(0); ; shift += 7 {
 12517  			if shift >= 64 {
 12518  				return ErrIntOverflowQuery
 12519  			}
 12520  			if iNdEx >= l {
 12521  				return io.ErrUnexpectedEOF
 12522  			}
 12523  			b := dAtA[iNdEx]
 12524  			iNdEx++
 12525  			wire |= uint64(b&0x7F) << shift
 12526  			if b < 0x80 {
 12527  				break
 12528  			}
 12529  		}
 12530  		fieldNum := int32(wire >> 3)
 12531  		wireType := int(wire & 0x7)
 12532  		if wireType == 4 {
 12533  			return fmt.Errorf("proto: ResponseCacheData: wiretype end group for non-group")
 12534  		}
 12535  		if fieldNum <= 0 {
 12536  			return fmt.Errorf("proto: ResponseCacheData: illegal tag %d (wire type %d)", fieldNum, wire)
 12537  		}
 12538  		switch fieldNum {
 12539  		case 1:
 12540  			if wireType != 0 {
 12541  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 12542  			}
 12543  			m.Index = 0
 12544  			for shift := uint(0); ; shift += 7 {
 12545  				if shift >= 64 {
 12546  					return ErrIntOverflowQuery
 12547  				}
 12548  				if iNdEx >= l {
 12549  					return io.ErrUnexpectedEOF
 12550  				}
 12551  				b := dAtA[iNdEx]
 12552  				iNdEx++
 12553  				m.Index |= int32(b&0x7F) << shift
 12554  				if b < 0x80 {
 12555  					break
 12556  				}
 12557  			}
 12558  		case 2:
 12559  			if wireType != 0 {
 12560  				return fmt.Errorf("proto: wrong wireType = %d for field Hit", wireType)
 12561  			}
 12562  			var v int
 12563  			for shift := uint(0); ; shift += 7 {
 12564  				if shift >= 64 {
 12565  					return ErrIntOverflowQuery
 12566  				}
 12567  				if iNdEx >= l {
 12568  					return io.ErrUnexpectedEOF
 12569  				}
 12570  				b := dAtA[iNdEx]
 12571  				iNdEx++
 12572  				v |= int(b&0x7F) << shift
 12573  				if b < 0x80 {
 12574  					break
 12575  				}
 12576  			}
 12577  			m.Hit = bool(v != 0)
 12578  		case 3:
 12579  			if wireType != 2 {
 12580  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 12581  			}
 12582  			var byteLen int
 12583  			for shift := uint(0); ; shift += 7 {
 12584  				if shift >= 64 {
 12585  					return ErrIntOverflowQuery
 12586  				}
 12587  				if iNdEx >= l {
 12588  					return io.ErrUnexpectedEOF
 12589  				}
 12590  				b := dAtA[iNdEx]
 12591  				iNdEx++
 12592  				byteLen |= int(b&0x7F) << shift
 12593  				if b < 0x80 {
 12594  					break
 12595  				}
 12596  			}
 12597  			if byteLen < 0 {
 12598  				return ErrInvalidLengthQuery
 12599  			}
 12600  			postIndex := iNdEx + byteLen
 12601  			if postIndex < 0 {
 12602  				return ErrInvalidLengthQuery
 12603  			}
 12604  			if postIndex > l {
 12605  				return io.ErrUnexpectedEOF
 12606  			}
 12607  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 12608  			if m.Data == nil {
 12609  				m.Data = []byte{}
 12610  			}
 12611  			iNdEx = postIndex
 12612  		default:
 12613  			iNdEx = preIndex
 12614  			skippy, err := skipQuery(dAtA[iNdEx:])
 12615  			if err != nil {
 12616  				return err
 12617  			}
 12618  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12619  				return ErrInvalidLengthQuery
 12620  			}
 12621  			if (iNdEx + skippy) > l {
 12622  				return io.ErrUnexpectedEOF
 12623  			}
 12624  			iNdEx += skippy
 12625  		}
 12626  	}
 12627  
 12628  	if iNdEx > l {
 12629  		return io.ErrUnexpectedEOF
 12630  	}
 12631  	return nil
 12632  }
 12633  func (m *GetCacheDataResponse) Unmarshal(dAtA []byte) error {
 12634  	l := len(dAtA)
 12635  	iNdEx := 0
 12636  	for iNdEx < l {
 12637  		preIndex := iNdEx
 12638  		var wire uint64
 12639  		for shift := uint(0); ; shift += 7 {
 12640  			if shift >= 64 {
 12641  				return ErrIntOverflowQuery
 12642  			}
 12643  			if iNdEx >= l {
 12644  				return io.ErrUnexpectedEOF
 12645  			}
 12646  			b := dAtA[iNdEx]
 12647  			iNdEx++
 12648  			wire |= uint64(b&0x7F) << shift
 12649  			if b < 0x80 {
 12650  				break
 12651  			}
 12652  		}
 12653  		fieldNum := int32(wire >> 3)
 12654  		wireType := int(wire & 0x7)
 12655  		if wireType == 4 {
 12656  			return fmt.Errorf("proto: GetCacheDataResponse: wiretype end group for non-group")
 12657  		}
 12658  		if fieldNum <= 0 {
 12659  			return fmt.Errorf("proto: GetCacheDataResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 12660  		}
 12661  		switch fieldNum {
 12662  		case 1:
 12663  			if wireType != 2 {
 12664  				return fmt.Errorf("proto: wrong wireType = %d for field ResponseCacheData", wireType)
 12665  			}
 12666  			var msglen int
 12667  			for shift := uint(0); ; shift += 7 {
 12668  				if shift >= 64 {
 12669  					return ErrIntOverflowQuery
 12670  				}
 12671  				if iNdEx >= l {
 12672  					return io.ErrUnexpectedEOF
 12673  				}
 12674  				b := dAtA[iNdEx]
 12675  				iNdEx++
 12676  				msglen |= int(b&0x7F) << shift
 12677  				if b < 0x80 {
 12678  					break
 12679  				}
 12680  			}
 12681  			if msglen < 0 {
 12682  				return ErrInvalidLengthQuery
 12683  			}
 12684  			postIndex := iNdEx + msglen
 12685  			if postIndex < 0 {
 12686  				return ErrInvalidLengthQuery
 12687  			}
 12688  			if postIndex > l {
 12689  				return io.ErrUnexpectedEOF
 12690  			}
 12691  			m.ResponseCacheData = append(m.ResponseCacheData, &ResponseCacheData{})
 12692  			if err := m.ResponseCacheData[len(m.ResponseCacheData)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12693  				return err
 12694  			}
 12695  			iNdEx = postIndex
 12696  		default:
 12697  			iNdEx = preIndex
 12698  			skippy, err := skipQuery(dAtA[iNdEx:])
 12699  			if err != nil {
 12700  				return err
 12701  			}
 12702  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12703  				return ErrInvalidLengthQuery
 12704  			}
 12705  			if (iNdEx + skippy) > l {
 12706  				return io.ErrUnexpectedEOF
 12707  			}
 12708  			iNdEx += skippy
 12709  		}
 12710  	}
 12711  
 12712  	if iNdEx > l {
 12713  		return io.ErrUnexpectedEOF
 12714  	}
 12715  	return nil
 12716  }
 12717  func (m *GetStatsInfoRequest) Unmarshal(dAtA []byte) error {
 12718  	l := len(dAtA)
 12719  	iNdEx := 0
 12720  	for iNdEx < l {
 12721  		preIndex := iNdEx
 12722  		var wire uint64
 12723  		for shift := uint(0); ; shift += 7 {
 12724  			if shift >= 64 {
 12725  				return ErrIntOverflowQuery
 12726  			}
 12727  			if iNdEx >= l {
 12728  				return io.ErrUnexpectedEOF
 12729  			}
 12730  			b := dAtA[iNdEx]
 12731  			iNdEx++
 12732  			wire |= uint64(b&0x7F) << shift
 12733  			if b < 0x80 {
 12734  				break
 12735  			}
 12736  		}
 12737  		fieldNum := int32(wire >> 3)
 12738  		wireType := int(wire & 0x7)
 12739  		if wireType == 4 {
 12740  			return fmt.Errorf("proto: GetStatsInfoRequest: wiretype end group for non-group")
 12741  		}
 12742  		if fieldNum <= 0 {
 12743  			return fmt.Errorf("proto: GetStatsInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 12744  		}
 12745  		switch fieldNum {
 12746  		case 1:
 12747  			if wireType != 2 {
 12748  				return fmt.Errorf("proto: wrong wireType = %d for field StatsInfoKey", wireType)
 12749  			}
 12750  			var msglen int
 12751  			for shift := uint(0); ; shift += 7 {
 12752  				if shift >= 64 {
 12753  					return ErrIntOverflowQuery
 12754  				}
 12755  				if iNdEx >= l {
 12756  					return io.ErrUnexpectedEOF
 12757  				}
 12758  				b := dAtA[iNdEx]
 12759  				iNdEx++
 12760  				msglen |= int(b&0x7F) << shift
 12761  				if b < 0x80 {
 12762  					break
 12763  				}
 12764  			}
 12765  			if msglen < 0 {
 12766  				return ErrInvalidLengthQuery
 12767  			}
 12768  			postIndex := iNdEx + msglen
 12769  			if postIndex < 0 {
 12770  				return ErrInvalidLengthQuery
 12771  			}
 12772  			if postIndex > l {
 12773  				return io.ErrUnexpectedEOF
 12774  			}
 12775  			if m.StatsInfoKey == nil {
 12776  				m.StatsInfoKey = &statsinfo.StatsInfoKey{}
 12777  			}
 12778  			if err := m.StatsInfoKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12779  				return err
 12780  			}
 12781  			iNdEx = postIndex
 12782  		default:
 12783  			iNdEx = preIndex
 12784  			skippy, err := skipQuery(dAtA[iNdEx:])
 12785  			if err != nil {
 12786  				return err
 12787  			}
 12788  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12789  				return ErrInvalidLengthQuery
 12790  			}
 12791  			if (iNdEx + skippy) > l {
 12792  				return io.ErrUnexpectedEOF
 12793  			}
 12794  			iNdEx += skippy
 12795  		}
 12796  	}
 12797  
 12798  	if iNdEx > l {
 12799  		return io.ErrUnexpectedEOF
 12800  	}
 12801  	return nil
 12802  }
 12803  func (m *GetStatsInfoResponse) Unmarshal(dAtA []byte) error {
 12804  	l := len(dAtA)
 12805  	iNdEx := 0
 12806  	for iNdEx < l {
 12807  		preIndex := iNdEx
 12808  		var wire uint64
 12809  		for shift := uint(0); ; shift += 7 {
 12810  			if shift >= 64 {
 12811  				return ErrIntOverflowQuery
 12812  			}
 12813  			if iNdEx >= l {
 12814  				return io.ErrUnexpectedEOF
 12815  			}
 12816  			b := dAtA[iNdEx]
 12817  			iNdEx++
 12818  			wire |= uint64(b&0x7F) << shift
 12819  			if b < 0x80 {
 12820  				break
 12821  			}
 12822  		}
 12823  		fieldNum := int32(wire >> 3)
 12824  		wireType := int(wire & 0x7)
 12825  		if wireType == 4 {
 12826  			return fmt.Errorf("proto: GetStatsInfoResponse: wiretype end group for non-group")
 12827  		}
 12828  		if fieldNum <= 0 {
 12829  			return fmt.Errorf("proto: GetStatsInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 12830  		}
 12831  		switch fieldNum {
 12832  		case 1:
 12833  			if wireType != 2 {
 12834  				return fmt.Errorf("proto: wrong wireType = %d for field StatsInfo", wireType)
 12835  			}
 12836  			var msglen int
 12837  			for shift := uint(0); ; shift += 7 {
 12838  				if shift >= 64 {
 12839  					return ErrIntOverflowQuery
 12840  				}
 12841  				if iNdEx >= l {
 12842  					return io.ErrUnexpectedEOF
 12843  				}
 12844  				b := dAtA[iNdEx]
 12845  				iNdEx++
 12846  				msglen |= int(b&0x7F) << shift
 12847  				if b < 0x80 {
 12848  					break
 12849  				}
 12850  			}
 12851  			if msglen < 0 {
 12852  				return ErrInvalidLengthQuery
 12853  			}
 12854  			postIndex := iNdEx + msglen
 12855  			if postIndex < 0 {
 12856  				return ErrInvalidLengthQuery
 12857  			}
 12858  			if postIndex > l {
 12859  				return io.ErrUnexpectedEOF
 12860  			}
 12861  			if m.StatsInfo == nil {
 12862  				m.StatsInfo = &statsinfo.StatsInfo{}
 12863  			}
 12864  			if err := m.StatsInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12865  				return err
 12866  			}
 12867  			iNdEx = postIndex
 12868  		default:
 12869  			iNdEx = preIndex
 12870  			skippy, err := skipQuery(dAtA[iNdEx:])
 12871  			if err != nil {
 12872  				return err
 12873  			}
 12874  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12875  				return ErrInvalidLengthQuery
 12876  			}
 12877  			if (iNdEx + skippy) > l {
 12878  				return io.ErrUnexpectedEOF
 12879  			}
 12880  			iNdEx += skippy
 12881  		}
 12882  	}
 12883  
 12884  	if iNdEx > l {
 12885  		return io.ErrUnexpectedEOF
 12886  	}
 12887  	return nil
 12888  }
 12889  func (m *PrepareStmt) Unmarshal(dAtA []byte) error {
 12890  	l := len(dAtA)
 12891  	iNdEx := 0
 12892  	for iNdEx < l {
 12893  		preIndex := iNdEx
 12894  		var wire uint64
 12895  		for shift := uint(0); ; shift += 7 {
 12896  			if shift >= 64 {
 12897  				return ErrIntOverflowQuery
 12898  			}
 12899  			if iNdEx >= l {
 12900  				return io.ErrUnexpectedEOF
 12901  			}
 12902  			b := dAtA[iNdEx]
 12903  			iNdEx++
 12904  			wire |= uint64(b&0x7F) << shift
 12905  			if b < 0x80 {
 12906  				break
 12907  			}
 12908  		}
 12909  		fieldNum := int32(wire >> 3)
 12910  		wireType := int(wire & 0x7)
 12911  		if wireType == 4 {
 12912  			return fmt.Errorf("proto: PrepareStmt: wiretype end group for non-group")
 12913  		}
 12914  		if fieldNum <= 0 {
 12915  			return fmt.Errorf("proto: PrepareStmt: illegal tag %d (wire type %d)", fieldNum, wire)
 12916  		}
 12917  		switch fieldNum {
 12918  		case 1:
 12919  			if wireType != 2 {
 12920  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 12921  			}
 12922  			var stringLen uint64
 12923  			for shift := uint(0); ; shift += 7 {
 12924  				if shift >= 64 {
 12925  					return ErrIntOverflowQuery
 12926  				}
 12927  				if iNdEx >= l {
 12928  					return io.ErrUnexpectedEOF
 12929  				}
 12930  				b := dAtA[iNdEx]
 12931  				iNdEx++
 12932  				stringLen |= uint64(b&0x7F) << shift
 12933  				if b < 0x80 {
 12934  					break
 12935  				}
 12936  			}
 12937  			intStringLen := int(stringLen)
 12938  			if intStringLen < 0 {
 12939  				return ErrInvalidLengthQuery
 12940  			}
 12941  			postIndex := iNdEx + intStringLen
 12942  			if postIndex < 0 {
 12943  				return ErrInvalidLengthQuery
 12944  			}
 12945  			if postIndex > l {
 12946  				return io.ErrUnexpectedEOF
 12947  			}
 12948  			m.Name = string(dAtA[iNdEx:postIndex])
 12949  			iNdEx = postIndex
 12950  		case 2:
 12951  			if wireType != 2 {
 12952  				return fmt.Errorf("proto: wrong wireType = %d for field SQL", wireType)
 12953  			}
 12954  			var stringLen uint64
 12955  			for shift := uint(0); ; shift += 7 {
 12956  				if shift >= 64 {
 12957  					return ErrIntOverflowQuery
 12958  				}
 12959  				if iNdEx >= l {
 12960  					return io.ErrUnexpectedEOF
 12961  				}
 12962  				b := dAtA[iNdEx]
 12963  				iNdEx++
 12964  				stringLen |= uint64(b&0x7F) << shift
 12965  				if b < 0x80 {
 12966  					break
 12967  				}
 12968  			}
 12969  			intStringLen := int(stringLen)
 12970  			if intStringLen < 0 {
 12971  				return ErrInvalidLengthQuery
 12972  			}
 12973  			postIndex := iNdEx + intStringLen
 12974  			if postIndex < 0 {
 12975  				return ErrInvalidLengthQuery
 12976  			}
 12977  			if postIndex > l {
 12978  				return io.ErrUnexpectedEOF
 12979  			}
 12980  			m.SQL = string(dAtA[iNdEx:postIndex])
 12981  			iNdEx = postIndex
 12982  		case 3:
 12983  			if wireType != 2 {
 12984  				return fmt.Errorf("proto: wrong wireType = %d for field ParamTypes", wireType)
 12985  			}
 12986  			var byteLen int
 12987  			for shift := uint(0); ; shift += 7 {
 12988  				if shift >= 64 {
 12989  					return ErrIntOverflowQuery
 12990  				}
 12991  				if iNdEx >= l {
 12992  					return io.ErrUnexpectedEOF
 12993  				}
 12994  				b := dAtA[iNdEx]
 12995  				iNdEx++
 12996  				byteLen |= int(b&0x7F) << shift
 12997  				if b < 0x80 {
 12998  					break
 12999  				}
 13000  			}
 13001  			if byteLen < 0 {
 13002  				return ErrInvalidLengthQuery
 13003  			}
 13004  			postIndex := iNdEx + byteLen
 13005  			if postIndex < 0 {
 13006  				return ErrInvalidLengthQuery
 13007  			}
 13008  			if postIndex > l {
 13009  				return io.ErrUnexpectedEOF
 13010  			}
 13011  			m.ParamTypes = append(m.ParamTypes[:0], dAtA[iNdEx:postIndex]...)
 13012  			if m.ParamTypes == nil {
 13013  				m.ParamTypes = []byte{}
 13014  			}
 13015  			iNdEx = postIndex
 13016  		default:
 13017  			iNdEx = preIndex
 13018  			skippy, err := skipQuery(dAtA[iNdEx:])
 13019  			if err != nil {
 13020  				return err
 13021  			}
 13022  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13023  				return ErrInvalidLengthQuery
 13024  			}
 13025  			if (iNdEx + skippy) > l {
 13026  				return io.ErrUnexpectedEOF
 13027  			}
 13028  			iNdEx += skippy
 13029  		}
 13030  	}
 13031  
 13032  	if iNdEx > l {
 13033  		return io.ErrUnexpectedEOF
 13034  	}
 13035  	return nil
 13036  }
 13037  func (m *MigrateConnFromRequest) Unmarshal(dAtA []byte) error {
 13038  	l := len(dAtA)
 13039  	iNdEx := 0
 13040  	for iNdEx < l {
 13041  		preIndex := iNdEx
 13042  		var wire uint64
 13043  		for shift := uint(0); ; shift += 7 {
 13044  			if shift >= 64 {
 13045  				return ErrIntOverflowQuery
 13046  			}
 13047  			if iNdEx >= l {
 13048  				return io.ErrUnexpectedEOF
 13049  			}
 13050  			b := dAtA[iNdEx]
 13051  			iNdEx++
 13052  			wire |= uint64(b&0x7F) << shift
 13053  			if b < 0x80 {
 13054  				break
 13055  			}
 13056  		}
 13057  		fieldNum := int32(wire >> 3)
 13058  		wireType := int(wire & 0x7)
 13059  		if wireType == 4 {
 13060  			return fmt.Errorf("proto: MigrateConnFromRequest: wiretype end group for non-group")
 13061  		}
 13062  		if fieldNum <= 0 {
 13063  			return fmt.Errorf("proto: MigrateConnFromRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 13064  		}
 13065  		switch fieldNum {
 13066  		case 1:
 13067  			if wireType != 0 {
 13068  				return fmt.Errorf("proto: wrong wireType = %d for field ConnID", wireType)
 13069  			}
 13070  			m.ConnID = 0
 13071  			for shift := uint(0); ; shift += 7 {
 13072  				if shift >= 64 {
 13073  					return ErrIntOverflowQuery
 13074  				}
 13075  				if iNdEx >= l {
 13076  					return io.ErrUnexpectedEOF
 13077  				}
 13078  				b := dAtA[iNdEx]
 13079  				iNdEx++
 13080  				m.ConnID |= uint32(b&0x7F) << shift
 13081  				if b < 0x80 {
 13082  					break
 13083  				}
 13084  			}
 13085  		default:
 13086  			iNdEx = preIndex
 13087  			skippy, err := skipQuery(dAtA[iNdEx:])
 13088  			if err != nil {
 13089  				return err
 13090  			}
 13091  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13092  				return ErrInvalidLengthQuery
 13093  			}
 13094  			if (iNdEx + skippy) > l {
 13095  				return io.ErrUnexpectedEOF
 13096  			}
 13097  			iNdEx += skippy
 13098  		}
 13099  	}
 13100  
 13101  	if iNdEx > l {
 13102  		return io.ErrUnexpectedEOF
 13103  	}
 13104  	return nil
 13105  }
 13106  func (m *MigrateConnFromResponse) Unmarshal(dAtA []byte) error {
 13107  	l := len(dAtA)
 13108  	iNdEx := 0
 13109  	for iNdEx < l {
 13110  		preIndex := iNdEx
 13111  		var wire uint64
 13112  		for shift := uint(0); ; shift += 7 {
 13113  			if shift >= 64 {
 13114  				return ErrIntOverflowQuery
 13115  			}
 13116  			if iNdEx >= l {
 13117  				return io.ErrUnexpectedEOF
 13118  			}
 13119  			b := dAtA[iNdEx]
 13120  			iNdEx++
 13121  			wire |= uint64(b&0x7F) << shift
 13122  			if b < 0x80 {
 13123  				break
 13124  			}
 13125  		}
 13126  		fieldNum := int32(wire >> 3)
 13127  		wireType := int(wire & 0x7)
 13128  		if wireType == 4 {
 13129  			return fmt.Errorf("proto: MigrateConnFromResponse: wiretype end group for non-group")
 13130  		}
 13131  		if fieldNum <= 0 {
 13132  			return fmt.Errorf("proto: MigrateConnFromResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 13133  		}
 13134  		switch fieldNum {
 13135  		case 1:
 13136  			if wireType != 2 {
 13137  				return fmt.Errorf("proto: wrong wireType = %d for field DB", wireType)
 13138  			}
 13139  			var stringLen uint64
 13140  			for shift := uint(0); ; shift += 7 {
 13141  				if shift >= 64 {
 13142  					return ErrIntOverflowQuery
 13143  				}
 13144  				if iNdEx >= l {
 13145  					return io.ErrUnexpectedEOF
 13146  				}
 13147  				b := dAtA[iNdEx]
 13148  				iNdEx++
 13149  				stringLen |= uint64(b&0x7F) << shift
 13150  				if b < 0x80 {
 13151  					break
 13152  				}
 13153  			}
 13154  			intStringLen := int(stringLen)
 13155  			if intStringLen < 0 {
 13156  				return ErrInvalidLengthQuery
 13157  			}
 13158  			postIndex := iNdEx + intStringLen
 13159  			if postIndex < 0 {
 13160  				return ErrInvalidLengthQuery
 13161  			}
 13162  			if postIndex > l {
 13163  				return io.ErrUnexpectedEOF
 13164  			}
 13165  			m.DB = string(dAtA[iNdEx:postIndex])
 13166  			iNdEx = postIndex
 13167  		case 2:
 13168  			if wireType != 2 {
 13169  				return fmt.Errorf("proto: wrong wireType = %d for field PrepareStmts", wireType)
 13170  			}
 13171  			var msglen int
 13172  			for shift := uint(0); ; shift += 7 {
 13173  				if shift >= 64 {
 13174  					return ErrIntOverflowQuery
 13175  				}
 13176  				if iNdEx >= l {
 13177  					return io.ErrUnexpectedEOF
 13178  				}
 13179  				b := dAtA[iNdEx]
 13180  				iNdEx++
 13181  				msglen |= int(b&0x7F) << shift
 13182  				if b < 0x80 {
 13183  					break
 13184  				}
 13185  			}
 13186  			if msglen < 0 {
 13187  				return ErrInvalidLengthQuery
 13188  			}
 13189  			postIndex := iNdEx + msglen
 13190  			if postIndex < 0 {
 13191  				return ErrInvalidLengthQuery
 13192  			}
 13193  			if postIndex > l {
 13194  				return io.ErrUnexpectedEOF
 13195  			}
 13196  			m.PrepareStmts = append(m.PrepareStmts, &PrepareStmt{})
 13197  			if err := m.PrepareStmts[len(m.PrepareStmts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13198  				return err
 13199  			}
 13200  			iNdEx = postIndex
 13201  		default:
 13202  			iNdEx = preIndex
 13203  			skippy, err := skipQuery(dAtA[iNdEx:])
 13204  			if err != nil {
 13205  				return err
 13206  			}
 13207  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13208  				return ErrInvalidLengthQuery
 13209  			}
 13210  			if (iNdEx + skippy) > l {
 13211  				return io.ErrUnexpectedEOF
 13212  			}
 13213  			iNdEx += skippy
 13214  		}
 13215  	}
 13216  
 13217  	if iNdEx > l {
 13218  		return io.ErrUnexpectedEOF
 13219  	}
 13220  	return nil
 13221  }
 13222  func (m *MigrateConnToRequest) Unmarshal(dAtA []byte) error {
 13223  	l := len(dAtA)
 13224  	iNdEx := 0
 13225  	for iNdEx < l {
 13226  		preIndex := iNdEx
 13227  		var wire uint64
 13228  		for shift := uint(0); ; shift += 7 {
 13229  			if shift >= 64 {
 13230  				return ErrIntOverflowQuery
 13231  			}
 13232  			if iNdEx >= l {
 13233  				return io.ErrUnexpectedEOF
 13234  			}
 13235  			b := dAtA[iNdEx]
 13236  			iNdEx++
 13237  			wire |= uint64(b&0x7F) << shift
 13238  			if b < 0x80 {
 13239  				break
 13240  			}
 13241  		}
 13242  		fieldNum := int32(wire >> 3)
 13243  		wireType := int(wire & 0x7)
 13244  		if wireType == 4 {
 13245  			return fmt.Errorf("proto: MigrateConnToRequest: wiretype end group for non-group")
 13246  		}
 13247  		if fieldNum <= 0 {
 13248  			return fmt.Errorf("proto: MigrateConnToRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 13249  		}
 13250  		switch fieldNum {
 13251  		case 1:
 13252  			if wireType != 0 {
 13253  				return fmt.Errorf("proto: wrong wireType = %d for field ConnID", wireType)
 13254  			}
 13255  			m.ConnID = 0
 13256  			for shift := uint(0); ; shift += 7 {
 13257  				if shift >= 64 {
 13258  					return ErrIntOverflowQuery
 13259  				}
 13260  				if iNdEx >= l {
 13261  					return io.ErrUnexpectedEOF
 13262  				}
 13263  				b := dAtA[iNdEx]
 13264  				iNdEx++
 13265  				m.ConnID |= uint32(b&0x7F) << shift
 13266  				if b < 0x80 {
 13267  					break
 13268  				}
 13269  			}
 13270  		case 2:
 13271  			if wireType != 2 {
 13272  				return fmt.Errorf("proto: wrong wireType = %d for field DB", wireType)
 13273  			}
 13274  			var stringLen uint64
 13275  			for shift := uint(0); ; shift += 7 {
 13276  				if shift >= 64 {
 13277  					return ErrIntOverflowQuery
 13278  				}
 13279  				if iNdEx >= l {
 13280  					return io.ErrUnexpectedEOF
 13281  				}
 13282  				b := dAtA[iNdEx]
 13283  				iNdEx++
 13284  				stringLen |= uint64(b&0x7F) << shift
 13285  				if b < 0x80 {
 13286  					break
 13287  				}
 13288  			}
 13289  			intStringLen := int(stringLen)
 13290  			if intStringLen < 0 {
 13291  				return ErrInvalidLengthQuery
 13292  			}
 13293  			postIndex := iNdEx + intStringLen
 13294  			if postIndex < 0 {
 13295  				return ErrInvalidLengthQuery
 13296  			}
 13297  			if postIndex > l {
 13298  				return io.ErrUnexpectedEOF
 13299  			}
 13300  			m.DB = string(dAtA[iNdEx:postIndex])
 13301  			iNdEx = postIndex
 13302  		case 3:
 13303  			if wireType != 2 {
 13304  				return fmt.Errorf("proto: wrong wireType = %d for field SetVarStmts", wireType)
 13305  			}
 13306  			var stringLen uint64
 13307  			for shift := uint(0); ; shift += 7 {
 13308  				if shift >= 64 {
 13309  					return ErrIntOverflowQuery
 13310  				}
 13311  				if iNdEx >= l {
 13312  					return io.ErrUnexpectedEOF
 13313  				}
 13314  				b := dAtA[iNdEx]
 13315  				iNdEx++
 13316  				stringLen |= uint64(b&0x7F) << shift
 13317  				if b < 0x80 {
 13318  					break
 13319  				}
 13320  			}
 13321  			intStringLen := int(stringLen)
 13322  			if intStringLen < 0 {
 13323  				return ErrInvalidLengthQuery
 13324  			}
 13325  			postIndex := iNdEx + intStringLen
 13326  			if postIndex < 0 {
 13327  				return ErrInvalidLengthQuery
 13328  			}
 13329  			if postIndex > l {
 13330  				return io.ErrUnexpectedEOF
 13331  			}
 13332  			m.SetVarStmts = append(m.SetVarStmts, string(dAtA[iNdEx:postIndex]))
 13333  			iNdEx = postIndex
 13334  		case 4:
 13335  			if wireType != 2 {
 13336  				return fmt.Errorf("proto: wrong wireType = %d for field PrepareStmts", wireType)
 13337  			}
 13338  			var msglen int
 13339  			for shift := uint(0); ; shift += 7 {
 13340  				if shift >= 64 {
 13341  					return ErrIntOverflowQuery
 13342  				}
 13343  				if iNdEx >= l {
 13344  					return io.ErrUnexpectedEOF
 13345  				}
 13346  				b := dAtA[iNdEx]
 13347  				iNdEx++
 13348  				msglen |= int(b&0x7F) << shift
 13349  				if b < 0x80 {
 13350  					break
 13351  				}
 13352  			}
 13353  			if msglen < 0 {
 13354  				return ErrInvalidLengthQuery
 13355  			}
 13356  			postIndex := iNdEx + msglen
 13357  			if postIndex < 0 {
 13358  				return ErrInvalidLengthQuery
 13359  			}
 13360  			if postIndex > l {
 13361  				return io.ErrUnexpectedEOF
 13362  			}
 13363  			m.PrepareStmts = append(m.PrepareStmts, &PrepareStmt{})
 13364  			if err := m.PrepareStmts[len(m.PrepareStmts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13365  				return err
 13366  			}
 13367  			iNdEx = postIndex
 13368  		default:
 13369  			iNdEx = preIndex
 13370  			skippy, err := skipQuery(dAtA[iNdEx:])
 13371  			if err != nil {
 13372  				return err
 13373  			}
 13374  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13375  				return ErrInvalidLengthQuery
 13376  			}
 13377  			if (iNdEx + skippy) > l {
 13378  				return io.ErrUnexpectedEOF
 13379  			}
 13380  			iNdEx += skippy
 13381  		}
 13382  	}
 13383  
 13384  	if iNdEx > l {
 13385  		return io.ErrUnexpectedEOF
 13386  	}
 13387  	return nil
 13388  }
 13389  func (m *MigrateConnToResponse) Unmarshal(dAtA []byte) error {
 13390  	l := len(dAtA)
 13391  	iNdEx := 0
 13392  	for iNdEx < l {
 13393  		preIndex := iNdEx
 13394  		var wire uint64
 13395  		for shift := uint(0); ; shift += 7 {
 13396  			if shift >= 64 {
 13397  				return ErrIntOverflowQuery
 13398  			}
 13399  			if iNdEx >= l {
 13400  				return io.ErrUnexpectedEOF
 13401  			}
 13402  			b := dAtA[iNdEx]
 13403  			iNdEx++
 13404  			wire |= uint64(b&0x7F) << shift
 13405  			if b < 0x80 {
 13406  				break
 13407  			}
 13408  		}
 13409  		fieldNum := int32(wire >> 3)
 13410  		wireType := int(wire & 0x7)
 13411  		if wireType == 4 {
 13412  			return fmt.Errorf("proto: MigrateConnToResponse: wiretype end group for non-group")
 13413  		}
 13414  		if fieldNum <= 0 {
 13415  			return fmt.Errorf("proto: MigrateConnToResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 13416  		}
 13417  		switch fieldNum {
 13418  		case 1:
 13419  			if wireType != 0 {
 13420  				return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
 13421  			}
 13422  			var v int
 13423  			for shift := uint(0); ; shift += 7 {
 13424  				if shift >= 64 {
 13425  					return ErrIntOverflowQuery
 13426  				}
 13427  				if iNdEx >= l {
 13428  					return io.ErrUnexpectedEOF
 13429  				}
 13430  				b := dAtA[iNdEx]
 13431  				iNdEx++
 13432  				v |= int(b&0x7F) << shift
 13433  				if b < 0x80 {
 13434  					break
 13435  				}
 13436  			}
 13437  			m.Success = bool(v != 0)
 13438  		default:
 13439  			iNdEx = preIndex
 13440  			skippy, err := skipQuery(dAtA[iNdEx:])
 13441  			if err != nil {
 13442  				return err
 13443  			}
 13444  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13445  				return ErrInvalidLengthQuery
 13446  			}
 13447  			if (iNdEx + skippy) > l {
 13448  				return io.ErrUnexpectedEOF
 13449  			}
 13450  			iNdEx += skippy
 13451  		}
 13452  	}
 13453  
 13454  	if iNdEx > l {
 13455  		return io.ErrUnexpectedEOF
 13456  	}
 13457  	return nil
 13458  }
 13459  func skipQuery(dAtA []byte) (n int, err error) {
 13460  	l := len(dAtA)
 13461  	iNdEx := 0
 13462  	depth := 0
 13463  	for iNdEx < l {
 13464  		var wire uint64
 13465  		for shift := uint(0); ; shift += 7 {
 13466  			if shift >= 64 {
 13467  				return 0, ErrIntOverflowQuery
 13468  			}
 13469  			if iNdEx >= l {
 13470  				return 0, io.ErrUnexpectedEOF
 13471  			}
 13472  			b := dAtA[iNdEx]
 13473  			iNdEx++
 13474  			wire |= (uint64(b) & 0x7F) << shift
 13475  			if b < 0x80 {
 13476  				break
 13477  			}
 13478  		}
 13479  		wireType := int(wire & 0x7)
 13480  		switch wireType {
 13481  		case 0:
 13482  			for shift := uint(0); ; shift += 7 {
 13483  				if shift >= 64 {
 13484  					return 0, ErrIntOverflowQuery
 13485  				}
 13486  				if iNdEx >= l {
 13487  					return 0, io.ErrUnexpectedEOF
 13488  				}
 13489  				iNdEx++
 13490  				if dAtA[iNdEx-1] < 0x80 {
 13491  					break
 13492  				}
 13493  			}
 13494  		case 1:
 13495  			iNdEx += 8
 13496  		case 2:
 13497  			var length int
 13498  			for shift := uint(0); ; shift += 7 {
 13499  				if shift >= 64 {
 13500  					return 0, ErrIntOverflowQuery
 13501  				}
 13502  				if iNdEx >= l {
 13503  					return 0, io.ErrUnexpectedEOF
 13504  				}
 13505  				b := dAtA[iNdEx]
 13506  				iNdEx++
 13507  				length |= (int(b) & 0x7F) << shift
 13508  				if b < 0x80 {
 13509  					break
 13510  				}
 13511  			}
 13512  			if length < 0 {
 13513  				return 0, ErrInvalidLengthQuery
 13514  			}
 13515  			iNdEx += length
 13516  		case 3:
 13517  			depth++
 13518  		case 4:
 13519  			if depth == 0 {
 13520  				return 0, ErrUnexpectedEndOfGroupQuery
 13521  			}
 13522  			depth--
 13523  		case 5:
 13524  			iNdEx += 4
 13525  		default:
 13526  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 13527  		}
 13528  		if iNdEx < 0 {
 13529  			return 0, ErrInvalidLengthQuery
 13530  		}
 13531  		if depth == 0 {
 13532  			return iNdEx, nil
 13533  		}
 13534  	}
 13535  	return 0, io.ErrUnexpectedEOF
 13536  }
 13537  
 13538  var (
 13539  	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
 13540  	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
 13541  	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
 13542  )