vitess.io/vitess@v0.16.2/go/vt/proto/vtgate/vtgate.pb.go (about)

     1  //
     2  //Copyright 2019 The Vitess Authors.
     3  //
     4  //Licensed under the Apache License, Version 2.0 (the "License");
     5  //you may not use this file except in compliance with the License.
     6  //You may obtain a copy of the License at
     7  //
     8  //http://www.apache.org/licenses/LICENSE-2.0
     9  //
    10  //Unless required by applicable law or agreed to in writing, software
    11  //distributed under the License is distributed on an "AS IS" BASIS,
    12  //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  //See the License for the specific language governing permissions and
    14  //limitations under the License.
    15  
    16  // Data definitions for service vtgateservice.
    17  
    18  // Code generated by protoc-gen-go. DO NOT EDIT.
    19  // versions:
    20  // 	protoc-gen-go v1.28.1
    21  // 	protoc        v3.21.3
    22  // source: vtgate.proto
    23  
    24  package vtgate
    25  
    26  import (
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  	reflect "reflect"
    30  	sync "sync"
    31  	binlogdata "vitess.io/vitess/go/vt/proto/binlogdata"
    32  	query "vitess.io/vitess/go/vt/proto/query"
    33  	topodata "vitess.io/vitess/go/vt/proto/topodata"
    34  	vtrpc "vitess.io/vitess/go/vt/proto/vtrpc"
    35  )
    36  
    37  const (
    38  	// Verify that this generated code is sufficiently up-to-date.
    39  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    40  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    41  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    42  )
    43  
    44  // TransactionMode controls the execution of distributed transaction
    45  // across multiple shards.
    46  type TransactionMode int32
    47  
    48  const (
    49  	// UNSPECIFIED uses the transaction mode set by the VTGate flag 'transaction_mode'.
    50  	TransactionMode_UNSPECIFIED TransactionMode = 0
    51  	// SINGLE disallows distributed transactions.
    52  	TransactionMode_SINGLE TransactionMode = 1
    53  	// MULTI allows distributed transactions with best effort commit.
    54  	TransactionMode_MULTI TransactionMode = 2
    55  	// TWOPC is for distributed transactions with atomic commits.
    56  	TransactionMode_TWOPC TransactionMode = 3
    57  )
    58  
    59  // Enum value maps for TransactionMode.
    60  var (
    61  	TransactionMode_name = map[int32]string{
    62  		0: "UNSPECIFIED",
    63  		1: "SINGLE",
    64  		2: "MULTI",
    65  		3: "TWOPC",
    66  	}
    67  	TransactionMode_value = map[string]int32{
    68  		"UNSPECIFIED": 0,
    69  		"SINGLE":      1,
    70  		"MULTI":       2,
    71  		"TWOPC":       3,
    72  	}
    73  )
    74  
    75  func (x TransactionMode) Enum() *TransactionMode {
    76  	p := new(TransactionMode)
    77  	*p = x
    78  	return p
    79  }
    80  
    81  func (x TransactionMode) String() string {
    82  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    83  }
    84  
    85  func (TransactionMode) Descriptor() protoreflect.EnumDescriptor {
    86  	return file_vtgate_proto_enumTypes[0].Descriptor()
    87  }
    88  
    89  func (TransactionMode) Type() protoreflect.EnumType {
    90  	return &file_vtgate_proto_enumTypes[0]
    91  }
    92  
    93  func (x TransactionMode) Number() protoreflect.EnumNumber {
    94  	return protoreflect.EnumNumber(x)
    95  }
    96  
    97  // Deprecated: Use TransactionMode.Descriptor instead.
    98  func (TransactionMode) EnumDescriptor() ([]byte, []int) {
    99  	return file_vtgate_proto_rawDescGZIP(), []int{0}
   100  }
   101  
   102  // CommitOrder is used to designate which of the ShardSessions
   103  // get used for transactions.
   104  type CommitOrder int32
   105  
   106  const (
   107  	// NORMAL is the default commit order.
   108  	CommitOrder_NORMAL CommitOrder = 0
   109  	// PRE is used to designate pre_sessions.
   110  	CommitOrder_PRE CommitOrder = 1
   111  	// POST is used to designate post_sessions.
   112  	CommitOrder_POST CommitOrder = 2
   113  	// AUTOCOMMIT is used to run the statement as autocommitted transaction.
   114  	CommitOrder_AUTOCOMMIT CommitOrder = 3
   115  )
   116  
   117  // Enum value maps for CommitOrder.
   118  var (
   119  	CommitOrder_name = map[int32]string{
   120  		0: "NORMAL",
   121  		1: "PRE",
   122  		2: "POST",
   123  		3: "AUTOCOMMIT",
   124  	}
   125  	CommitOrder_value = map[string]int32{
   126  		"NORMAL":     0,
   127  		"PRE":        1,
   128  		"POST":       2,
   129  		"AUTOCOMMIT": 3,
   130  	}
   131  )
   132  
   133  func (x CommitOrder) Enum() *CommitOrder {
   134  	p := new(CommitOrder)
   135  	*p = x
   136  	return p
   137  }
   138  
   139  func (x CommitOrder) String() string {
   140  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   141  }
   142  
   143  func (CommitOrder) Descriptor() protoreflect.EnumDescriptor {
   144  	return file_vtgate_proto_enumTypes[1].Descriptor()
   145  }
   146  
   147  func (CommitOrder) Type() protoreflect.EnumType {
   148  	return &file_vtgate_proto_enumTypes[1]
   149  }
   150  
   151  func (x CommitOrder) Number() protoreflect.EnumNumber {
   152  	return protoreflect.EnumNumber(x)
   153  }
   154  
   155  // Deprecated: Use CommitOrder.Descriptor instead.
   156  func (CommitOrder) EnumDescriptor() ([]byte, []int) {
   157  	return file_vtgate_proto_rawDescGZIP(), []int{1}
   158  }
   159  
   160  // Session objects are exchanged like cookies through various
   161  // calls to VTGate. The behavior differs between V2 & V3 APIs.
   162  // V3 APIs are Execute, ExecuteBatch and StreamExecute. All
   163  // other APIs are V2. For the V3 APIs, the session
   164  // must be sent with every call to Execute or ExecuteBatch.
   165  // For the V2 APIs, Begin does not accept a session. It instead
   166  // returns a brand new one with in_transaction set to true.
   167  // After a call to Commit or Rollback, the session can be
   168  // discarded. If you're not in a transaction, Session is
   169  // an optional parameter for the V2 APIs.
   170  type Session struct {
   171  	state         protoimpl.MessageState
   172  	sizeCache     protoimpl.SizeCache
   173  	unknownFields protoimpl.UnknownFields
   174  
   175  	// in_transaction is set to true if the session is in a transaction.
   176  	InTransaction bool `protobuf:"varint,1,opt,name=in_transaction,json=inTransaction,proto3" json:"in_transaction,omitempty"`
   177  	// shard_sessions keep track of per-shard transaction info.
   178  	ShardSessions []*Session_ShardSession `protobuf:"bytes,2,rep,name=shard_sessions,json=shardSessions,proto3" json:"shard_sessions,omitempty"`
   179  	// autocommit specifies if the session is in autocommit mode.
   180  	// This is used only for V3.
   181  	Autocommit bool `protobuf:"varint,4,opt,name=autocommit,proto3" json:"autocommit,omitempty"`
   182  	// target_string is the target expressed as a string. Valid
   183  	// names are: keyspace:shard@target, keyspace@target or @target.
   184  	// This is used only for V3.
   185  	TargetString string `protobuf:"bytes,5,opt,name=target_string,json=targetString,proto3" json:"target_string,omitempty"`
   186  	// options is used only for V3.
   187  	Options *query.ExecuteOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"`
   188  	// transaction_mode specifies the current transaction mode.
   189  	TransactionMode TransactionMode `protobuf:"varint,7,opt,name=transaction_mode,json=transactionMode,proto3,enum=vtgate.TransactionMode" json:"transaction_mode,omitempty"`
   190  	// warnings contains non-fatal warnings from the previous query
   191  	Warnings []*query.QueryWarning `protobuf:"bytes,8,rep,name=warnings,proto3" json:"warnings,omitempty"`
   192  	// pre_sessions contains sessions that have to be committed first.
   193  	PreSessions []*Session_ShardSession `protobuf:"bytes,9,rep,name=pre_sessions,json=preSessions,proto3" json:"pre_sessions,omitempty"`
   194  	// post_sessions contains sessions that have to be committed last.
   195  	PostSessions []*Session_ShardSession `protobuf:"bytes,10,rep,name=post_sessions,json=postSessions,proto3" json:"post_sessions,omitempty"`
   196  	// last_insert_id keeps track of the last seen insert_id for this session
   197  	LastInsertId uint64 `protobuf:"varint,11,opt,name=last_insert_id,json=lastInsertId,proto3" json:"last_insert_id,omitempty"`
   198  	// found_rows keeps track of how many rows the last query returned
   199  	FoundRows uint64 `protobuf:"varint,12,opt,name=found_rows,json=foundRows,proto3" json:"found_rows,omitempty"`
   200  	// user_defined_variables contains all the @variables defined for this session
   201  	UserDefinedVariables map[string]*query.BindVariable `protobuf:"bytes,13,rep,name=user_defined_variables,json=userDefinedVariables,proto3" json:"user_defined_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   202  	// system_variables keeps track of all session variables set for this connection
   203  	// TODO: systay should we keep this so we can apply it ordered?
   204  	SystemVariables map[string]string `protobuf:"bytes,14,rep,name=system_variables,json=systemVariables,proto3" json:"system_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   205  	// row_count keeps track of the last seen rows affected for this session
   206  	RowCount int64 `protobuf:"varint,15,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
   207  	// Stores savepoint and release savepoint calls inside a transaction
   208  	// and is reset once transaction is committed or rolled back.
   209  	Savepoints []string `protobuf:"bytes,16,rep,name=savepoints,proto3" json:"savepoints,omitempty"`
   210  	// in_reserved_conn is set to true if the session should be using reserved connections.
   211  	InReservedConn bool `protobuf:"varint,17,opt,name=in_reserved_conn,json=inReservedConn,proto3" json:"in_reserved_conn,omitempty"`
   212  	// lock_session keep tracks of shard on which the lock query is sent.
   213  	LockSession *Session_ShardSession `protobuf:"bytes,18,opt,name=lock_session,json=lockSession,proto3" json:"lock_session,omitempty"`
   214  	// last_lock_heartbeat keep tracks of when last lock heartbeat was sent.
   215  	LastLockHeartbeat int64 `protobuf:"varint,19,opt,name=last_lock_heartbeat,json=lastLockHeartbeat,proto3" json:"last_lock_heartbeat,omitempty"`
   216  	// read_after_write tracks the ReadAfterWrite settings for this session.
   217  	ReadAfterWrite *ReadAfterWrite `protobuf:"bytes,20,opt,name=read_after_write,json=readAfterWrite,proto3" json:"read_after_write,omitempty"`
   218  	// DDL strategy
   219  	DDLStrategy string `protobuf:"bytes,21,opt,name=DDLStrategy,proto3" json:"DDLStrategy,omitempty"`
   220  	// Session UUID
   221  	SessionUUID string `protobuf:"bytes,22,opt,name=SessionUUID,proto3" json:"SessionUUID,omitempty"`
   222  	// enable_system_settings defines if we can use reserved connections.
   223  	EnableSystemSettings bool             `protobuf:"varint,23,opt,name=enable_system_settings,json=enableSystemSettings,proto3" json:"enable_system_settings,omitempty"`
   224  	AdvisoryLock         map[string]int64 `protobuf:"bytes,24,rep,name=advisory_lock,json=advisoryLock,proto3" json:"advisory_lock,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
   225  	// query_timeout is the maximum amount of time a query is permitted to run
   226  	QueryTimeout int64 `protobuf:"varint,25,opt,name=query_timeout,json=queryTimeout,proto3" json:"query_timeout,omitempty"`
   227  }
   228  
   229  func (x *Session) Reset() {
   230  	*x = Session{}
   231  	if protoimpl.UnsafeEnabled {
   232  		mi := &file_vtgate_proto_msgTypes[0]
   233  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   234  		ms.StoreMessageInfo(mi)
   235  	}
   236  }
   237  
   238  func (x *Session) String() string {
   239  	return protoimpl.X.MessageStringOf(x)
   240  }
   241  
   242  func (*Session) ProtoMessage() {}
   243  
   244  func (x *Session) ProtoReflect() protoreflect.Message {
   245  	mi := &file_vtgate_proto_msgTypes[0]
   246  	if protoimpl.UnsafeEnabled && x != nil {
   247  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   248  		if ms.LoadMessageInfo() == nil {
   249  			ms.StoreMessageInfo(mi)
   250  		}
   251  		return ms
   252  	}
   253  	return mi.MessageOf(x)
   254  }
   255  
   256  // Deprecated: Use Session.ProtoReflect.Descriptor instead.
   257  func (*Session) Descriptor() ([]byte, []int) {
   258  	return file_vtgate_proto_rawDescGZIP(), []int{0}
   259  }
   260  
   261  func (x *Session) GetInTransaction() bool {
   262  	if x != nil {
   263  		return x.InTransaction
   264  	}
   265  	return false
   266  }
   267  
   268  func (x *Session) GetShardSessions() []*Session_ShardSession {
   269  	if x != nil {
   270  		return x.ShardSessions
   271  	}
   272  	return nil
   273  }
   274  
   275  func (x *Session) GetAutocommit() bool {
   276  	if x != nil {
   277  		return x.Autocommit
   278  	}
   279  	return false
   280  }
   281  
   282  func (x *Session) GetTargetString() string {
   283  	if x != nil {
   284  		return x.TargetString
   285  	}
   286  	return ""
   287  }
   288  
   289  func (x *Session) GetOptions() *query.ExecuteOptions {
   290  	if x != nil {
   291  		return x.Options
   292  	}
   293  	return nil
   294  }
   295  
   296  func (x *Session) GetTransactionMode() TransactionMode {
   297  	if x != nil {
   298  		return x.TransactionMode
   299  	}
   300  	return TransactionMode_UNSPECIFIED
   301  }
   302  
   303  func (x *Session) GetWarnings() []*query.QueryWarning {
   304  	if x != nil {
   305  		return x.Warnings
   306  	}
   307  	return nil
   308  }
   309  
   310  func (x *Session) GetPreSessions() []*Session_ShardSession {
   311  	if x != nil {
   312  		return x.PreSessions
   313  	}
   314  	return nil
   315  }
   316  
   317  func (x *Session) GetPostSessions() []*Session_ShardSession {
   318  	if x != nil {
   319  		return x.PostSessions
   320  	}
   321  	return nil
   322  }
   323  
   324  func (x *Session) GetLastInsertId() uint64 {
   325  	if x != nil {
   326  		return x.LastInsertId
   327  	}
   328  	return 0
   329  }
   330  
   331  func (x *Session) GetFoundRows() uint64 {
   332  	if x != nil {
   333  		return x.FoundRows
   334  	}
   335  	return 0
   336  }
   337  
   338  func (x *Session) GetUserDefinedVariables() map[string]*query.BindVariable {
   339  	if x != nil {
   340  		return x.UserDefinedVariables
   341  	}
   342  	return nil
   343  }
   344  
   345  func (x *Session) GetSystemVariables() map[string]string {
   346  	if x != nil {
   347  		return x.SystemVariables
   348  	}
   349  	return nil
   350  }
   351  
   352  func (x *Session) GetRowCount() int64 {
   353  	if x != nil {
   354  		return x.RowCount
   355  	}
   356  	return 0
   357  }
   358  
   359  func (x *Session) GetSavepoints() []string {
   360  	if x != nil {
   361  		return x.Savepoints
   362  	}
   363  	return nil
   364  }
   365  
   366  func (x *Session) GetInReservedConn() bool {
   367  	if x != nil {
   368  		return x.InReservedConn
   369  	}
   370  	return false
   371  }
   372  
   373  func (x *Session) GetLockSession() *Session_ShardSession {
   374  	if x != nil {
   375  		return x.LockSession
   376  	}
   377  	return nil
   378  }
   379  
   380  func (x *Session) GetLastLockHeartbeat() int64 {
   381  	if x != nil {
   382  		return x.LastLockHeartbeat
   383  	}
   384  	return 0
   385  }
   386  
   387  func (x *Session) GetReadAfterWrite() *ReadAfterWrite {
   388  	if x != nil {
   389  		return x.ReadAfterWrite
   390  	}
   391  	return nil
   392  }
   393  
   394  func (x *Session) GetDDLStrategy() string {
   395  	if x != nil {
   396  		return x.DDLStrategy
   397  	}
   398  	return ""
   399  }
   400  
   401  func (x *Session) GetSessionUUID() string {
   402  	if x != nil {
   403  		return x.SessionUUID
   404  	}
   405  	return ""
   406  }
   407  
   408  func (x *Session) GetEnableSystemSettings() bool {
   409  	if x != nil {
   410  		return x.EnableSystemSettings
   411  	}
   412  	return false
   413  }
   414  
   415  func (x *Session) GetAdvisoryLock() map[string]int64 {
   416  	if x != nil {
   417  		return x.AdvisoryLock
   418  	}
   419  	return nil
   420  }
   421  
   422  func (x *Session) GetQueryTimeout() int64 {
   423  	if x != nil {
   424  		return x.QueryTimeout
   425  	}
   426  	return 0
   427  }
   428  
   429  // ReadAfterWrite contains information regarding gtid set and timeout
   430  // Also if the gtid information needs to be passed to client.
   431  type ReadAfterWrite struct {
   432  	state         protoimpl.MessageState
   433  	sizeCache     protoimpl.SizeCache
   434  	unknownFields protoimpl.UnknownFields
   435  
   436  	ReadAfterWriteGtid    string  `protobuf:"bytes,1,opt,name=read_after_write_gtid,json=readAfterWriteGtid,proto3" json:"read_after_write_gtid,omitempty"`
   437  	ReadAfterWriteTimeout float64 `protobuf:"fixed64,2,opt,name=read_after_write_timeout,json=readAfterWriteTimeout,proto3" json:"read_after_write_timeout,omitempty"`
   438  	SessionTrackGtids     bool    `protobuf:"varint,3,opt,name=session_track_gtids,json=sessionTrackGtids,proto3" json:"session_track_gtids,omitempty"`
   439  }
   440  
   441  func (x *ReadAfterWrite) Reset() {
   442  	*x = ReadAfterWrite{}
   443  	if protoimpl.UnsafeEnabled {
   444  		mi := &file_vtgate_proto_msgTypes[1]
   445  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   446  		ms.StoreMessageInfo(mi)
   447  	}
   448  }
   449  
   450  func (x *ReadAfterWrite) String() string {
   451  	return protoimpl.X.MessageStringOf(x)
   452  }
   453  
   454  func (*ReadAfterWrite) ProtoMessage() {}
   455  
   456  func (x *ReadAfterWrite) ProtoReflect() protoreflect.Message {
   457  	mi := &file_vtgate_proto_msgTypes[1]
   458  	if protoimpl.UnsafeEnabled && x != nil {
   459  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   460  		if ms.LoadMessageInfo() == nil {
   461  			ms.StoreMessageInfo(mi)
   462  		}
   463  		return ms
   464  	}
   465  	return mi.MessageOf(x)
   466  }
   467  
   468  // Deprecated: Use ReadAfterWrite.ProtoReflect.Descriptor instead.
   469  func (*ReadAfterWrite) Descriptor() ([]byte, []int) {
   470  	return file_vtgate_proto_rawDescGZIP(), []int{1}
   471  }
   472  
   473  func (x *ReadAfterWrite) GetReadAfterWriteGtid() string {
   474  	if x != nil {
   475  		return x.ReadAfterWriteGtid
   476  	}
   477  	return ""
   478  }
   479  
   480  func (x *ReadAfterWrite) GetReadAfterWriteTimeout() float64 {
   481  	if x != nil {
   482  		return x.ReadAfterWriteTimeout
   483  	}
   484  	return 0
   485  }
   486  
   487  func (x *ReadAfterWrite) GetSessionTrackGtids() bool {
   488  	if x != nil {
   489  		return x.SessionTrackGtids
   490  	}
   491  	return false
   492  }
   493  
   494  // ExecuteRequest is the payload to Execute.
   495  type ExecuteRequest struct {
   496  	state         protoimpl.MessageState
   497  	sizeCache     protoimpl.SizeCache
   498  	unknownFields protoimpl.UnknownFields
   499  
   500  	// caller_id identifies the caller. This is the effective caller ID,
   501  	// set by the application to further identify the caller.
   502  	CallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
   503  	// session carries the session state.
   504  	Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
   505  	// query is the query and bind variables to execute.
   506  	Query *query.BoundQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
   507  }
   508  
   509  func (x *ExecuteRequest) Reset() {
   510  	*x = ExecuteRequest{}
   511  	if protoimpl.UnsafeEnabled {
   512  		mi := &file_vtgate_proto_msgTypes[2]
   513  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   514  		ms.StoreMessageInfo(mi)
   515  	}
   516  }
   517  
   518  func (x *ExecuteRequest) String() string {
   519  	return protoimpl.X.MessageStringOf(x)
   520  }
   521  
   522  func (*ExecuteRequest) ProtoMessage() {}
   523  
   524  func (x *ExecuteRequest) ProtoReflect() protoreflect.Message {
   525  	mi := &file_vtgate_proto_msgTypes[2]
   526  	if protoimpl.UnsafeEnabled && x != nil {
   527  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   528  		if ms.LoadMessageInfo() == nil {
   529  			ms.StoreMessageInfo(mi)
   530  		}
   531  		return ms
   532  	}
   533  	return mi.MessageOf(x)
   534  }
   535  
   536  // Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.
   537  func (*ExecuteRequest) Descriptor() ([]byte, []int) {
   538  	return file_vtgate_proto_rawDescGZIP(), []int{2}
   539  }
   540  
   541  func (x *ExecuteRequest) GetCallerId() *vtrpc.CallerID {
   542  	if x != nil {
   543  		return x.CallerId
   544  	}
   545  	return nil
   546  }
   547  
   548  func (x *ExecuteRequest) GetSession() *Session {
   549  	if x != nil {
   550  		return x.Session
   551  	}
   552  	return nil
   553  }
   554  
   555  func (x *ExecuteRequest) GetQuery() *query.BoundQuery {
   556  	if x != nil {
   557  		return x.Query
   558  	}
   559  	return nil
   560  }
   561  
   562  // ExecuteResponse is the returned value from Execute.
   563  type ExecuteResponse struct {
   564  	state         protoimpl.MessageState
   565  	sizeCache     protoimpl.SizeCache
   566  	unknownFields protoimpl.UnknownFields
   567  
   568  	// error contains an application level error if necessary. Note the
   569  	// session may have changed, even when an error is returned (for
   570  	// instance if a database integrity error happened).
   571  	Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
   572  	// session is the updated session information.
   573  	Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
   574  	// result contains the query result, only set if error is unset.
   575  	Result *query.QueryResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
   576  }
   577  
   578  func (x *ExecuteResponse) Reset() {
   579  	*x = ExecuteResponse{}
   580  	if protoimpl.UnsafeEnabled {
   581  		mi := &file_vtgate_proto_msgTypes[3]
   582  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   583  		ms.StoreMessageInfo(mi)
   584  	}
   585  }
   586  
   587  func (x *ExecuteResponse) String() string {
   588  	return protoimpl.X.MessageStringOf(x)
   589  }
   590  
   591  func (*ExecuteResponse) ProtoMessage() {}
   592  
   593  func (x *ExecuteResponse) ProtoReflect() protoreflect.Message {
   594  	mi := &file_vtgate_proto_msgTypes[3]
   595  	if protoimpl.UnsafeEnabled && x != nil {
   596  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   597  		if ms.LoadMessageInfo() == nil {
   598  			ms.StoreMessageInfo(mi)
   599  		}
   600  		return ms
   601  	}
   602  	return mi.MessageOf(x)
   603  }
   604  
   605  // Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.
   606  func (*ExecuteResponse) Descriptor() ([]byte, []int) {
   607  	return file_vtgate_proto_rawDescGZIP(), []int{3}
   608  }
   609  
   610  func (x *ExecuteResponse) GetError() *vtrpc.RPCError {
   611  	if x != nil {
   612  		return x.Error
   613  	}
   614  	return nil
   615  }
   616  
   617  func (x *ExecuteResponse) GetSession() *Session {
   618  	if x != nil {
   619  		return x.Session
   620  	}
   621  	return nil
   622  }
   623  
   624  func (x *ExecuteResponse) GetResult() *query.QueryResult {
   625  	if x != nil {
   626  		return x.Result
   627  	}
   628  	return nil
   629  }
   630  
   631  // ExecuteBatchRequest is the payload to ExecuteBatch.
   632  type ExecuteBatchRequest struct {
   633  	state         protoimpl.MessageState
   634  	sizeCache     protoimpl.SizeCache
   635  	unknownFields protoimpl.UnknownFields
   636  
   637  	// caller_id identifies the caller. This is the effective caller ID,
   638  	// set by the application to further identify the caller.
   639  	CallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
   640  	// session carries the session state.
   641  	Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
   642  	// queries is a list of query and bind variables to execute.
   643  	Queries []*query.BoundQuery `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"`
   644  }
   645  
   646  func (x *ExecuteBatchRequest) Reset() {
   647  	*x = ExecuteBatchRequest{}
   648  	if protoimpl.UnsafeEnabled {
   649  		mi := &file_vtgate_proto_msgTypes[4]
   650  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   651  		ms.StoreMessageInfo(mi)
   652  	}
   653  }
   654  
   655  func (x *ExecuteBatchRequest) String() string {
   656  	return protoimpl.X.MessageStringOf(x)
   657  }
   658  
   659  func (*ExecuteBatchRequest) ProtoMessage() {}
   660  
   661  func (x *ExecuteBatchRequest) ProtoReflect() protoreflect.Message {
   662  	mi := &file_vtgate_proto_msgTypes[4]
   663  	if protoimpl.UnsafeEnabled && x != nil {
   664  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   665  		if ms.LoadMessageInfo() == nil {
   666  			ms.StoreMessageInfo(mi)
   667  		}
   668  		return ms
   669  	}
   670  	return mi.MessageOf(x)
   671  }
   672  
   673  // Deprecated: Use ExecuteBatchRequest.ProtoReflect.Descriptor instead.
   674  func (*ExecuteBatchRequest) Descriptor() ([]byte, []int) {
   675  	return file_vtgate_proto_rawDescGZIP(), []int{4}
   676  }
   677  
   678  func (x *ExecuteBatchRequest) GetCallerId() *vtrpc.CallerID {
   679  	if x != nil {
   680  		return x.CallerId
   681  	}
   682  	return nil
   683  }
   684  
   685  func (x *ExecuteBatchRequest) GetSession() *Session {
   686  	if x != nil {
   687  		return x.Session
   688  	}
   689  	return nil
   690  }
   691  
   692  func (x *ExecuteBatchRequest) GetQueries() []*query.BoundQuery {
   693  	if x != nil {
   694  		return x.Queries
   695  	}
   696  	return nil
   697  }
   698  
   699  // ExecuteBatchResponse is the returned value from ExecuteBatch.
   700  type ExecuteBatchResponse struct {
   701  	state         protoimpl.MessageState
   702  	sizeCache     protoimpl.SizeCache
   703  	unknownFields protoimpl.UnknownFields
   704  
   705  	// error contains an application level error if necessary. Note the
   706  	// session may have changed, even when an error is returned (for
   707  	// instance if a database integrity error happened).
   708  	Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
   709  	// session is the updated session information.
   710  	Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
   711  	// results contains the query results, only set if application level error is unset.
   712  	Results []*query.ResultWithError `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
   713  }
   714  
   715  func (x *ExecuteBatchResponse) Reset() {
   716  	*x = ExecuteBatchResponse{}
   717  	if protoimpl.UnsafeEnabled {
   718  		mi := &file_vtgate_proto_msgTypes[5]
   719  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   720  		ms.StoreMessageInfo(mi)
   721  	}
   722  }
   723  
   724  func (x *ExecuteBatchResponse) String() string {
   725  	return protoimpl.X.MessageStringOf(x)
   726  }
   727  
   728  func (*ExecuteBatchResponse) ProtoMessage() {}
   729  
   730  func (x *ExecuteBatchResponse) ProtoReflect() protoreflect.Message {
   731  	mi := &file_vtgate_proto_msgTypes[5]
   732  	if protoimpl.UnsafeEnabled && x != nil {
   733  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   734  		if ms.LoadMessageInfo() == nil {
   735  			ms.StoreMessageInfo(mi)
   736  		}
   737  		return ms
   738  	}
   739  	return mi.MessageOf(x)
   740  }
   741  
   742  // Deprecated: Use ExecuteBatchResponse.ProtoReflect.Descriptor instead.
   743  func (*ExecuteBatchResponse) Descriptor() ([]byte, []int) {
   744  	return file_vtgate_proto_rawDescGZIP(), []int{5}
   745  }
   746  
   747  func (x *ExecuteBatchResponse) GetError() *vtrpc.RPCError {
   748  	if x != nil {
   749  		return x.Error
   750  	}
   751  	return nil
   752  }
   753  
   754  func (x *ExecuteBatchResponse) GetSession() *Session {
   755  	if x != nil {
   756  		return x.Session
   757  	}
   758  	return nil
   759  }
   760  
   761  func (x *ExecuteBatchResponse) GetResults() []*query.ResultWithError {
   762  	if x != nil {
   763  		return x.Results
   764  	}
   765  	return nil
   766  }
   767  
   768  // StreamExecuteRequest is the payload to StreamExecute.
   769  type StreamExecuteRequest struct {
   770  	state         protoimpl.MessageState
   771  	sizeCache     protoimpl.SizeCache
   772  	unknownFields protoimpl.UnknownFields
   773  
   774  	// caller_id identifies the caller. This is the effective caller ID,
   775  	// set by the application to further identify the caller.
   776  	CallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
   777  	// query is the query and bind variables to execute.
   778  	Query *query.BoundQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
   779  	// session carries the session state.
   780  	Session *Session `protobuf:"bytes,6,opt,name=session,proto3" json:"session,omitempty"`
   781  }
   782  
   783  func (x *StreamExecuteRequest) Reset() {
   784  	*x = StreamExecuteRequest{}
   785  	if protoimpl.UnsafeEnabled {
   786  		mi := &file_vtgate_proto_msgTypes[6]
   787  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   788  		ms.StoreMessageInfo(mi)
   789  	}
   790  }
   791  
   792  func (x *StreamExecuteRequest) String() string {
   793  	return protoimpl.X.MessageStringOf(x)
   794  }
   795  
   796  func (*StreamExecuteRequest) ProtoMessage() {}
   797  
   798  func (x *StreamExecuteRequest) ProtoReflect() protoreflect.Message {
   799  	mi := &file_vtgate_proto_msgTypes[6]
   800  	if protoimpl.UnsafeEnabled && x != nil {
   801  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   802  		if ms.LoadMessageInfo() == nil {
   803  			ms.StoreMessageInfo(mi)
   804  		}
   805  		return ms
   806  	}
   807  	return mi.MessageOf(x)
   808  }
   809  
   810  // Deprecated: Use StreamExecuteRequest.ProtoReflect.Descriptor instead.
   811  func (*StreamExecuteRequest) Descriptor() ([]byte, []int) {
   812  	return file_vtgate_proto_rawDescGZIP(), []int{6}
   813  }
   814  
   815  func (x *StreamExecuteRequest) GetCallerId() *vtrpc.CallerID {
   816  	if x != nil {
   817  		return x.CallerId
   818  	}
   819  	return nil
   820  }
   821  
   822  func (x *StreamExecuteRequest) GetQuery() *query.BoundQuery {
   823  	if x != nil {
   824  		return x.Query
   825  	}
   826  	return nil
   827  }
   828  
   829  func (x *StreamExecuteRequest) GetSession() *Session {
   830  	if x != nil {
   831  		return x.Session
   832  	}
   833  	return nil
   834  }
   835  
   836  // StreamExecuteResponse is the returned value from StreamExecute.
   837  // The session is currently not returned because StreamExecute is
   838  // not expected to modify it.
   839  type StreamExecuteResponse struct {
   840  	state         protoimpl.MessageState
   841  	sizeCache     protoimpl.SizeCache
   842  	unknownFields protoimpl.UnknownFields
   843  
   844  	// result contains the result data.
   845  	// The first value contains only Fields information.
   846  	// The next values contain the actual rows, a few values per result.
   847  	Result *query.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
   848  }
   849  
   850  func (x *StreamExecuteResponse) Reset() {
   851  	*x = StreamExecuteResponse{}
   852  	if protoimpl.UnsafeEnabled {
   853  		mi := &file_vtgate_proto_msgTypes[7]
   854  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   855  		ms.StoreMessageInfo(mi)
   856  	}
   857  }
   858  
   859  func (x *StreamExecuteResponse) String() string {
   860  	return protoimpl.X.MessageStringOf(x)
   861  }
   862  
   863  func (*StreamExecuteResponse) ProtoMessage() {}
   864  
   865  func (x *StreamExecuteResponse) ProtoReflect() protoreflect.Message {
   866  	mi := &file_vtgate_proto_msgTypes[7]
   867  	if protoimpl.UnsafeEnabled && x != nil {
   868  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   869  		if ms.LoadMessageInfo() == nil {
   870  			ms.StoreMessageInfo(mi)
   871  		}
   872  		return ms
   873  	}
   874  	return mi.MessageOf(x)
   875  }
   876  
   877  // Deprecated: Use StreamExecuteResponse.ProtoReflect.Descriptor instead.
   878  func (*StreamExecuteResponse) Descriptor() ([]byte, []int) {
   879  	return file_vtgate_proto_rawDescGZIP(), []int{7}
   880  }
   881  
   882  func (x *StreamExecuteResponse) GetResult() *query.QueryResult {
   883  	if x != nil {
   884  		return x.Result
   885  	}
   886  	return nil
   887  }
   888  
   889  // ResolveTransactionRequest is the payload to ResolveTransaction.
   890  type ResolveTransactionRequest struct {
   891  	state         protoimpl.MessageState
   892  	sizeCache     protoimpl.SizeCache
   893  	unknownFields protoimpl.UnknownFields
   894  
   895  	// caller_id identifies the caller. This is the effective caller ID,
   896  	// set by the application to further identify the caller.
   897  	CallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
   898  	// dtid is the dtid of the transaction to be resolved.
   899  	Dtid string `protobuf:"bytes,2,opt,name=dtid,proto3" json:"dtid,omitempty"`
   900  }
   901  
   902  func (x *ResolveTransactionRequest) Reset() {
   903  	*x = ResolveTransactionRequest{}
   904  	if protoimpl.UnsafeEnabled {
   905  		mi := &file_vtgate_proto_msgTypes[8]
   906  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   907  		ms.StoreMessageInfo(mi)
   908  	}
   909  }
   910  
   911  func (x *ResolveTransactionRequest) String() string {
   912  	return protoimpl.X.MessageStringOf(x)
   913  }
   914  
   915  func (*ResolveTransactionRequest) ProtoMessage() {}
   916  
   917  func (x *ResolveTransactionRequest) ProtoReflect() protoreflect.Message {
   918  	mi := &file_vtgate_proto_msgTypes[8]
   919  	if protoimpl.UnsafeEnabled && x != nil {
   920  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   921  		if ms.LoadMessageInfo() == nil {
   922  			ms.StoreMessageInfo(mi)
   923  		}
   924  		return ms
   925  	}
   926  	return mi.MessageOf(x)
   927  }
   928  
   929  // Deprecated: Use ResolveTransactionRequest.ProtoReflect.Descriptor instead.
   930  func (*ResolveTransactionRequest) Descriptor() ([]byte, []int) {
   931  	return file_vtgate_proto_rawDescGZIP(), []int{8}
   932  }
   933  
   934  func (x *ResolveTransactionRequest) GetCallerId() *vtrpc.CallerID {
   935  	if x != nil {
   936  		return x.CallerId
   937  	}
   938  	return nil
   939  }
   940  
   941  func (x *ResolveTransactionRequest) GetDtid() string {
   942  	if x != nil {
   943  		return x.Dtid
   944  	}
   945  	return ""
   946  }
   947  
   948  // ResolveTransactionResponse is the returned value from Rollback.
   949  type ResolveTransactionResponse struct {
   950  	state         protoimpl.MessageState
   951  	sizeCache     protoimpl.SizeCache
   952  	unknownFields protoimpl.UnknownFields
   953  }
   954  
   955  func (x *ResolveTransactionResponse) Reset() {
   956  	*x = ResolveTransactionResponse{}
   957  	if protoimpl.UnsafeEnabled {
   958  		mi := &file_vtgate_proto_msgTypes[9]
   959  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   960  		ms.StoreMessageInfo(mi)
   961  	}
   962  }
   963  
   964  func (x *ResolveTransactionResponse) String() string {
   965  	return protoimpl.X.MessageStringOf(x)
   966  }
   967  
   968  func (*ResolveTransactionResponse) ProtoMessage() {}
   969  
   970  func (x *ResolveTransactionResponse) ProtoReflect() protoreflect.Message {
   971  	mi := &file_vtgate_proto_msgTypes[9]
   972  	if protoimpl.UnsafeEnabled && x != nil {
   973  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   974  		if ms.LoadMessageInfo() == nil {
   975  			ms.StoreMessageInfo(mi)
   976  		}
   977  		return ms
   978  	}
   979  	return mi.MessageOf(x)
   980  }
   981  
   982  // Deprecated: Use ResolveTransactionResponse.ProtoReflect.Descriptor instead.
   983  func (*ResolveTransactionResponse) Descriptor() ([]byte, []int) {
   984  	return file_vtgate_proto_rawDescGZIP(), []int{9}
   985  }
   986  
   987  type VStreamFlags struct {
   988  	state         protoimpl.MessageState
   989  	sizeCache     protoimpl.SizeCache
   990  	unknownFields protoimpl.UnknownFields
   991  
   992  	// align streams
   993  	MinimizeSkew bool `protobuf:"varint,1,opt,name=minimize_skew,json=minimizeSkew,proto3" json:"minimize_skew,omitempty"`
   994  	// how often heartbeats must be sent when idle (seconds)
   995  	HeartbeatInterval uint32 `protobuf:"varint,2,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"`
   996  	// stop streams on a reshard (journal event)
   997  	StopOnReshard bool `protobuf:"varint,3,opt,name=stop_on_reshard,json=stopOnReshard,proto3" json:"stop_on_reshard,omitempty"`
   998  	// if specified, these cells (comma-separated) are used to pick source tablets from.
   999  	// defaults to the cell of the vtgate serving the VStream API.
  1000  	Cells string `protobuf:"bytes,4,opt,name=cells,proto3" json:"cells,omitempty"`
  1001  }
  1002  
  1003  func (x *VStreamFlags) Reset() {
  1004  	*x = VStreamFlags{}
  1005  	if protoimpl.UnsafeEnabled {
  1006  		mi := &file_vtgate_proto_msgTypes[10]
  1007  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1008  		ms.StoreMessageInfo(mi)
  1009  	}
  1010  }
  1011  
  1012  func (x *VStreamFlags) String() string {
  1013  	return protoimpl.X.MessageStringOf(x)
  1014  }
  1015  
  1016  func (*VStreamFlags) ProtoMessage() {}
  1017  
  1018  func (x *VStreamFlags) ProtoReflect() protoreflect.Message {
  1019  	mi := &file_vtgate_proto_msgTypes[10]
  1020  	if protoimpl.UnsafeEnabled && x != nil {
  1021  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1022  		if ms.LoadMessageInfo() == nil {
  1023  			ms.StoreMessageInfo(mi)
  1024  		}
  1025  		return ms
  1026  	}
  1027  	return mi.MessageOf(x)
  1028  }
  1029  
  1030  // Deprecated: Use VStreamFlags.ProtoReflect.Descriptor instead.
  1031  func (*VStreamFlags) Descriptor() ([]byte, []int) {
  1032  	return file_vtgate_proto_rawDescGZIP(), []int{10}
  1033  }
  1034  
  1035  func (x *VStreamFlags) GetMinimizeSkew() bool {
  1036  	if x != nil {
  1037  		return x.MinimizeSkew
  1038  	}
  1039  	return false
  1040  }
  1041  
  1042  func (x *VStreamFlags) GetHeartbeatInterval() uint32 {
  1043  	if x != nil {
  1044  		return x.HeartbeatInterval
  1045  	}
  1046  	return 0
  1047  }
  1048  
  1049  func (x *VStreamFlags) GetStopOnReshard() bool {
  1050  	if x != nil {
  1051  		return x.StopOnReshard
  1052  	}
  1053  	return false
  1054  }
  1055  
  1056  func (x *VStreamFlags) GetCells() string {
  1057  	if x != nil {
  1058  		return x.Cells
  1059  	}
  1060  	return ""
  1061  }
  1062  
  1063  // VStreamRequest is the payload for VStream.
  1064  type VStreamRequest struct {
  1065  	state         protoimpl.MessageState
  1066  	sizeCache     protoimpl.SizeCache
  1067  	unknownFields protoimpl.UnknownFields
  1068  
  1069  	CallerId   *vtrpc.CallerID     `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
  1070  	TabletType topodata.TabletType `protobuf:"varint,2,opt,name=tablet_type,json=tabletType,proto3,enum=topodata.TabletType" json:"tablet_type,omitempty"`
  1071  	// position specifies the starting point of the bin log positions
  1072  	// as well as the keyspace-shards to pull events from.
  1073  	// position is of the form 'ks1:0@MySQL56/<mysql_pos>|ks2:-80@MySQL56/<mysql_pos>'.
  1074  	Vgtid  *binlogdata.VGtid  `protobuf:"bytes,3,opt,name=vgtid,proto3" json:"vgtid,omitempty"`
  1075  	Filter *binlogdata.Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
  1076  	Flags  *VStreamFlags      `protobuf:"bytes,5,opt,name=flags,proto3" json:"flags,omitempty"`
  1077  }
  1078  
  1079  func (x *VStreamRequest) Reset() {
  1080  	*x = VStreamRequest{}
  1081  	if protoimpl.UnsafeEnabled {
  1082  		mi := &file_vtgate_proto_msgTypes[11]
  1083  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1084  		ms.StoreMessageInfo(mi)
  1085  	}
  1086  }
  1087  
  1088  func (x *VStreamRequest) String() string {
  1089  	return protoimpl.X.MessageStringOf(x)
  1090  }
  1091  
  1092  func (*VStreamRequest) ProtoMessage() {}
  1093  
  1094  func (x *VStreamRequest) ProtoReflect() protoreflect.Message {
  1095  	mi := &file_vtgate_proto_msgTypes[11]
  1096  	if protoimpl.UnsafeEnabled && x != nil {
  1097  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1098  		if ms.LoadMessageInfo() == nil {
  1099  			ms.StoreMessageInfo(mi)
  1100  		}
  1101  		return ms
  1102  	}
  1103  	return mi.MessageOf(x)
  1104  }
  1105  
  1106  // Deprecated: Use VStreamRequest.ProtoReflect.Descriptor instead.
  1107  func (*VStreamRequest) Descriptor() ([]byte, []int) {
  1108  	return file_vtgate_proto_rawDescGZIP(), []int{11}
  1109  }
  1110  
  1111  func (x *VStreamRequest) GetCallerId() *vtrpc.CallerID {
  1112  	if x != nil {
  1113  		return x.CallerId
  1114  	}
  1115  	return nil
  1116  }
  1117  
  1118  func (x *VStreamRequest) GetTabletType() topodata.TabletType {
  1119  	if x != nil {
  1120  		return x.TabletType
  1121  	}
  1122  	return topodata.TabletType(0)
  1123  }
  1124  
  1125  func (x *VStreamRequest) GetVgtid() *binlogdata.VGtid {
  1126  	if x != nil {
  1127  		return x.Vgtid
  1128  	}
  1129  	return nil
  1130  }
  1131  
  1132  func (x *VStreamRequest) GetFilter() *binlogdata.Filter {
  1133  	if x != nil {
  1134  		return x.Filter
  1135  	}
  1136  	return nil
  1137  }
  1138  
  1139  func (x *VStreamRequest) GetFlags() *VStreamFlags {
  1140  	if x != nil {
  1141  		return x.Flags
  1142  	}
  1143  	return nil
  1144  }
  1145  
  1146  // VStreamResponse is streamed by VStream.
  1147  type VStreamResponse struct {
  1148  	state         protoimpl.MessageState
  1149  	sizeCache     protoimpl.SizeCache
  1150  	unknownFields protoimpl.UnknownFields
  1151  
  1152  	Events []*binlogdata.VEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
  1153  }
  1154  
  1155  func (x *VStreamResponse) Reset() {
  1156  	*x = VStreamResponse{}
  1157  	if protoimpl.UnsafeEnabled {
  1158  		mi := &file_vtgate_proto_msgTypes[12]
  1159  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1160  		ms.StoreMessageInfo(mi)
  1161  	}
  1162  }
  1163  
  1164  func (x *VStreamResponse) String() string {
  1165  	return protoimpl.X.MessageStringOf(x)
  1166  }
  1167  
  1168  func (*VStreamResponse) ProtoMessage() {}
  1169  
  1170  func (x *VStreamResponse) ProtoReflect() protoreflect.Message {
  1171  	mi := &file_vtgate_proto_msgTypes[12]
  1172  	if protoimpl.UnsafeEnabled && x != nil {
  1173  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1174  		if ms.LoadMessageInfo() == nil {
  1175  			ms.StoreMessageInfo(mi)
  1176  		}
  1177  		return ms
  1178  	}
  1179  	return mi.MessageOf(x)
  1180  }
  1181  
  1182  // Deprecated: Use VStreamResponse.ProtoReflect.Descriptor instead.
  1183  func (*VStreamResponse) Descriptor() ([]byte, []int) {
  1184  	return file_vtgate_proto_rawDescGZIP(), []int{12}
  1185  }
  1186  
  1187  func (x *VStreamResponse) GetEvents() []*binlogdata.VEvent {
  1188  	if x != nil {
  1189  		return x.Events
  1190  	}
  1191  	return nil
  1192  }
  1193  
  1194  // PrepareRequest is the payload to Prepare.
  1195  type PrepareRequest struct {
  1196  	state         protoimpl.MessageState
  1197  	sizeCache     protoimpl.SizeCache
  1198  	unknownFields protoimpl.UnknownFields
  1199  
  1200  	// caller_id identifies the caller. This is the effective caller ID,
  1201  	// set by the application to further identify the caller.
  1202  	CallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
  1203  	// session carries the session state.
  1204  	Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
  1205  	// query is the query and bind variables to execute.
  1206  	Query *query.BoundQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
  1207  }
  1208  
  1209  func (x *PrepareRequest) Reset() {
  1210  	*x = PrepareRequest{}
  1211  	if protoimpl.UnsafeEnabled {
  1212  		mi := &file_vtgate_proto_msgTypes[13]
  1213  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1214  		ms.StoreMessageInfo(mi)
  1215  	}
  1216  }
  1217  
  1218  func (x *PrepareRequest) String() string {
  1219  	return protoimpl.X.MessageStringOf(x)
  1220  }
  1221  
  1222  func (*PrepareRequest) ProtoMessage() {}
  1223  
  1224  func (x *PrepareRequest) ProtoReflect() protoreflect.Message {
  1225  	mi := &file_vtgate_proto_msgTypes[13]
  1226  	if protoimpl.UnsafeEnabled && x != nil {
  1227  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1228  		if ms.LoadMessageInfo() == nil {
  1229  			ms.StoreMessageInfo(mi)
  1230  		}
  1231  		return ms
  1232  	}
  1233  	return mi.MessageOf(x)
  1234  }
  1235  
  1236  // Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead.
  1237  func (*PrepareRequest) Descriptor() ([]byte, []int) {
  1238  	return file_vtgate_proto_rawDescGZIP(), []int{13}
  1239  }
  1240  
  1241  func (x *PrepareRequest) GetCallerId() *vtrpc.CallerID {
  1242  	if x != nil {
  1243  		return x.CallerId
  1244  	}
  1245  	return nil
  1246  }
  1247  
  1248  func (x *PrepareRequest) GetSession() *Session {
  1249  	if x != nil {
  1250  		return x.Session
  1251  	}
  1252  	return nil
  1253  }
  1254  
  1255  func (x *PrepareRequest) GetQuery() *query.BoundQuery {
  1256  	if x != nil {
  1257  		return x.Query
  1258  	}
  1259  	return nil
  1260  }
  1261  
  1262  // PrepareResponse is the returned value from Prepare.
  1263  type PrepareResponse struct {
  1264  	state         protoimpl.MessageState
  1265  	sizeCache     protoimpl.SizeCache
  1266  	unknownFields protoimpl.UnknownFields
  1267  
  1268  	// error contains an application level error if necessary. Note the
  1269  	// session may have changed, even when an error is returned (for
  1270  	// instance if a database integrity error happened).
  1271  	Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  1272  	// session is the updated session information.
  1273  	Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
  1274  	// fields contains the fields, only set if error is unset.
  1275  	Fields []*query.Field `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
  1276  }
  1277  
  1278  func (x *PrepareResponse) Reset() {
  1279  	*x = PrepareResponse{}
  1280  	if protoimpl.UnsafeEnabled {
  1281  		mi := &file_vtgate_proto_msgTypes[14]
  1282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1283  		ms.StoreMessageInfo(mi)
  1284  	}
  1285  }
  1286  
  1287  func (x *PrepareResponse) String() string {
  1288  	return protoimpl.X.MessageStringOf(x)
  1289  }
  1290  
  1291  func (*PrepareResponse) ProtoMessage() {}
  1292  
  1293  func (x *PrepareResponse) ProtoReflect() protoreflect.Message {
  1294  	mi := &file_vtgate_proto_msgTypes[14]
  1295  	if protoimpl.UnsafeEnabled && x != nil {
  1296  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1297  		if ms.LoadMessageInfo() == nil {
  1298  			ms.StoreMessageInfo(mi)
  1299  		}
  1300  		return ms
  1301  	}
  1302  	return mi.MessageOf(x)
  1303  }
  1304  
  1305  // Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead.
  1306  func (*PrepareResponse) Descriptor() ([]byte, []int) {
  1307  	return file_vtgate_proto_rawDescGZIP(), []int{14}
  1308  }
  1309  
  1310  func (x *PrepareResponse) GetError() *vtrpc.RPCError {
  1311  	if x != nil {
  1312  		return x.Error
  1313  	}
  1314  	return nil
  1315  }
  1316  
  1317  func (x *PrepareResponse) GetSession() *Session {
  1318  	if x != nil {
  1319  		return x.Session
  1320  	}
  1321  	return nil
  1322  }
  1323  
  1324  func (x *PrepareResponse) GetFields() []*query.Field {
  1325  	if x != nil {
  1326  		return x.Fields
  1327  	}
  1328  	return nil
  1329  }
  1330  
  1331  // CloseSessionRequest is the payload to CloseSession.
  1332  type CloseSessionRequest struct {
  1333  	state         protoimpl.MessageState
  1334  	sizeCache     protoimpl.SizeCache
  1335  	unknownFields protoimpl.UnknownFields
  1336  
  1337  	// caller_id identifies the caller. This is the effective caller ID,
  1338  	// set by the application to further identify the caller.
  1339  	CallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
  1340  	// session carries the session state.
  1341  	Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
  1342  }
  1343  
  1344  func (x *CloseSessionRequest) Reset() {
  1345  	*x = CloseSessionRequest{}
  1346  	if protoimpl.UnsafeEnabled {
  1347  		mi := &file_vtgate_proto_msgTypes[15]
  1348  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1349  		ms.StoreMessageInfo(mi)
  1350  	}
  1351  }
  1352  
  1353  func (x *CloseSessionRequest) String() string {
  1354  	return protoimpl.X.MessageStringOf(x)
  1355  }
  1356  
  1357  func (*CloseSessionRequest) ProtoMessage() {}
  1358  
  1359  func (x *CloseSessionRequest) ProtoReflect() protoreflect.Message {
  1360  	mi := &file_vtgate_proto_msgTypes[15]
  1361  	if protoimpl.UnsafeEnabled && x != nil {
  1362  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1363  		if ms.LoadMessageInfo() == nil {
  1364  			ms.StoreMessageInfo(mi)
  1365  		}
  1366  		return ms
  1367  	}
  1368  	return mi.MessageOf(x)
  1369  }
  1370  
  1371  // Deprecated: Use CloseSessionRequest.ProtoReflect.Descriptor instead.
  1372  func (*CloseSessionRequest) Descriptor() ([]byte, []int) {
  1373  	return file_vtgate_proto_rawDescGZIP(), []int{15}
  1374  }
  1375  
  1376  func (x *CloseSessionRequest) GetCallerId() *vtrpc.CallerID {
  1377  	if x != nil {
  1378  		return x.CallerId
  1379  	}
  1380  	return nil
  1381  }
  1382  
  1383  func (x *CloseSessionRequest) GetSession() *Session {
  1384  	if x != nil {
  1385  		return x.Session
  1386  	}
  1387  	return nil
  1388  }
  1389  
  1390  // CloseSessionResponse is the returned value from CloseSession.
  1391  type CloseSessionResponse struct {
  1392  	state         protoimpl.MessageState
  1393  	sizeCache     protoimpl.SizeCache
  1394  	unknownFields protoimpl.UnknownFields
  1395  
  1396  	// error contains an application level error if necessary. Note the
  1397  	// session may have changed, even when an error is returned (for
  1398  	// instance if a database integrity error happened).
  1399  	Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  1400  }
  1401  
  1402  func (x *CloseSessionResponse) Reset() {
  1403  	*x = CloseSessionResponse{}
  1404  	if protoimpl.UnsafeEnabled {
  1405  		mi := &file_vtgate_proto_msgTypes[16]
  1406  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1407  		ms.StoreMessageInfo(mi)
  1408  	}
  1409  }
  1410  
  1411  func (x *CloseSessionResponse) String() string {
  1412  	return protoimpl.X.MessageStringOf(x)
  1413  }
  1414  
  1415  func (*CloseSessionResponse) ProtoMessage() {}
  1416  
  1417  func (x *CloseSessionResponse) ProtoReflect() protoreflect.Message {
  1418  	mi := &file_vtgate_proto_msgTypes[16]
  1419  	if protoimpl.UnsafeEnabled && x != nil {
  1420  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1421  		if ms.LoadMessageInfo() == nil {
  1422  			ms.StoreMessageInfo(mi)
  1423  		}
  1424  		return ms
  1425  	}
  1426  	return mi.MessageOf(x)
  1427  }
  1428  
  1429  // Deprecated: Use CloseSessionResponse.ProtoReflect.Descriptor instead.
  1430  func (*CloseSessionResponse) Descriptor() ([]byte, []int) {
  1431  	return file_vtgate_proto_rawDescGZIP(), []int{16}
  1432  }
  1433  
  1434  func (x *CloseSessionResponse) GetError() *vtrpc.RPCError {
  1435  	if x != nil {
  1436  		return x.Error
  1437  	}
  1438  	return nil
  1439  }
  1440  
  1441  type Session_ShardSession struct {
  1442  	state         protoimpl.MessageState
  1443  	sizeCache     protoimpl.SizeCache
  1444  	unknownFields protoimpl.UnknownFields
  1445  
  1446  	Target        *query.Target         `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
  1447  	TransactionId int64                 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
  1448  	TabletAlias   *topodata.TabletAlias `protobuf:"bytes,3,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"`
  1449  	// reserved connection if a dedicated connection is needed
  1450  	ReservedId int64 `protobuf:"varint,4,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"`
  1451  	VindexOnly bool  `protobuf:"varint,5,opt,name=vindex_only,json=vindexOnly,proto3" json:"vindex_only,omitempty"`
  1452  }
  1453  
  1454  func (x *Session_ShardSession) Reset() {
  1455  	*x = Session_ShardSession{}
  1456  	if protoimpl.UnsafeEnabled {
  1457  		mi := &file_vtgate_proto_msgTypes[17]
  1458  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1459  		ms.StoreMessageInfo(mi)
  1460  	}
  1461  }
  1462  
  1463  func (x *Session_ShardSession) String() string {
  1464  	return protoimpl.X.MessageStringOf(x)
  1465  }
  1466  
  1467  func (*Session_ShardSession) ProtoMessage() {}
  1468  
  1469  func (x *Session_ShardSession) ProtoReflect() protoreflect.Message {
  1470  	mi := &file_vtgate_proto_msgTypes[17]
  1471  	if protoimpl.UnsafeEnabled && x != nil {
  1472  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1473  		if ms.LoadMessageInfo() == nil {
  1474  			ms.StoreMessageInfo(mi)
  1475  		}
  1476  		return ms
  1477  	}
  1478  	return mi.MessageOf(x)
  1479  }
  1480  
  1481  // Deprecated: Use Session_ShardSession.ProtoReflect.Descriptor instead.
  1482  func (*Session_ShardSession) Descriptor() ([]byte, []int) {
  1483  	return file_vtgate_proto_rawDescGZIP(), []int{0, 0}
  1484  }
  1485  
  1486  func (x *Session_ShardSession) GetTarget() *query.Target {
  1487  	if x != nil {
  1488  		return x.Target
  1489  	}
  1490  	return nil
  1491  }
  1492  
  1493  func (x *Session_ShardSession) GetTransactionId() int64 {
  1494  	if x != nil {
  1495  		return x.TransactionId
  1496  	}
  1497  	return 0
  1498  }
  1499  
  1500  func (x *Session_ShardSession) GetTabletAlias() *topodata.TabletAlias {
  1501  	if x != nil {
  1502  		return x.TabletAlias
  1503  	}
  1504  	return nil
  1505  }
  1506  
  1507  func (x *Session_ShardSession) GetReservedId() int64 {
  1508  	if x != nil {
  1509  		return x.ReservedId
  1510  	}
  1511  	return 0
  1512  }
  1513  
  1514  func (x *Session_ShardSession) GetVindexOnly() bool {
  1515  	if x != nil {
  1516  		return x.VindexOnly
  1517  	}
  1518  	return false
  1519  }
  1520  
  1521  var File_vtgate_proto protoreflect.FileDescriptor
  1522  
  1523  var file_vtgate_proto_rawDesc = []byte{
  1524  	0x0a, 0x0c, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
  1525  	0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x1a, 0x10, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61,
  1526  	0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
  1527  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e,
  1528  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f,
  1529  	0x74, 0x6f, 0x22, 0xa0, 0x0d, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25,
  1530  	0x0a, 0x0e, 0x69, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1531  	0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
  1532  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x73,
  1533  	0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
  1534  	0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53,
  1535  	0x68, 0x61, 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x68, 0x61,
  1536  	0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x75,
  1537  	0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
  1538  	0x61, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61,
  1539  	0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28,
  1540  	0x09, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12,
  1541  	0x2f, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
  1542  	0x32, 0x15, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65,
  1543  	0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  1544  	0x12, 0x42, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  1545  	0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x74, 0x67,
  1546  	0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
  1547  	0x6f, 0x64, 0x65, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1548  	0x4d, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73,
  1549  	0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51,
  1550  	0x75, 0x65, 0x72, 0x79, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x77, 0x61, 0x72,
  1551  	0x6e, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x5f, 0x73, 0x65, 0x73,
  1552  	0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x74,
  1553  	0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x68, 0x61,
  1554  	0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x53, 0x65,
  1555  	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x73,
  1556  	0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
  1557  	0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53,
  1558  	0x68, 0x61, 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x70, 0x6f, 0x73,
  1559  	0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x61, 0x73,
  1560  	0x74, 0x5f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28,
  1561  	0x04, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x49, 0x64, 0x12,
  1562  	0x1d, 0x0a, 0x0a, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x0c, 0x20,
  1563  	0x01, 0x28, 0x04, 0x52, 0x09, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x5f,
  1564  	0x0a, 0x16, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x76,
  1565  	0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29,
  1566  	0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
  1567  	0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61,
  1568  	0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x75, 0x73, 0x65, 0x72, 0x44,
  1569  	0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12,
  1570  	0x4f, 0x0a, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62,
  1571  	0x6c, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x74, 0x67, 0x61,
  1572  	0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65,
  1573  	0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  1574  	0x0f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73,
  1575  	0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20,
  1576  	0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a,
  1577  	0x0a, 0x73, 0x61, 0x76, 0x65, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28,
  1578  	0x09, 0x52, 0x0a, 0x73, 0x61, 0x76, 0x65, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x28, 0x0a,
  1579  	0x10, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e,
  1580  	0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x65, 0x72,
  1581  	0x76, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x12, 0x3f, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x6b, 0x5f,
  1582  	0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
  1583  	0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53,
  1584  	0x68, 0x61, 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6c, 0x6f, 0x63,
  1585  	0x6b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74,
  1586  	0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18,
  1587  	0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x48,
  1588  	0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x40, 0x0a, 0x10, 0x72, 0x65, 0x61, 0x64,
  1589  	0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x14, 0x20, 0x01,
  1590  	0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64,
  1591  	0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x61, 0x64,
  1592  	0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x44,
  1593  	0x4c, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52,
  1594  	0x0b, 0x44, 0x44, 0x4c, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x20, 0x0a, 0x0b,
  1595  	0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x55, 0x49, 0x44, 0x18, 0x16, 0x20, 0x01, 0x28,
  1596  	0x09, 0x52, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x55, 0x49, 0x44, 0x12, 0x34,
  1597  	0x0a, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
  1598  	0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14,
  1599  	0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x65, 0x74, 0x74,
  1600  	0x69, 0x6e, 0x67, 0x73, 0x12, 0x46, 0x0a, 0x0d, 0x61, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79,
  1601  	0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x18, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x74,
  1602  	0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x76,
  1603  	0x69, 0x73, 0x6f, 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c,
  1604  	0x61, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x23, 0x0a, 0x0d,
  1605  	0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x19, 0x20,
  1606  	0x01, 0x28, 0x03, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75,
  1607  	0x74, 0x1a, 0xd8, 0x01, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69,
  1608  	0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01,
  1609  	0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65,
  1610  	0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61,
  1611  	0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  1612  	0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64,
  1613  	0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73,
  1614  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74,
  1615  	0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74,
  1616  	0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65,
  1617  	0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
  1618  	0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x76,
  1619  	0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
  1620  	0x52, 0x0a, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x6e, 0x6c, 0x79, 0x1a, 0x5c, 0x0a, 0x19,
  1621  	0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61,
  1622  	0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
  1623  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76,
  1624  	0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x71, 0x75, 0x65,
  1625  	0x72, 0x79, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52,
  1626  	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x53, 0x79,
  1627  	0x73, 0x74, 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74,
  1628  	0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1629  	0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
  1630  	0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f,
  1631  	0x0a, 0x11, 0x41, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x45, 0x6e,
  1632  	0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1633  	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
  1634  	0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a,
  1635  	0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xac, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x61, 0x64, 0x41, 0x66,
  1636  	0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x31, 0x0a, 0x15, 0x72, 0x65, 0x61, 0x64,
  1637  	0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x67, 0x74, 0x69,
  1638  	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x61, 0x64, 0x41, 0x66, 0x74,
  1639  	0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x47, 0x74, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x72,
  1640  	0x65, 0x61, 0x64, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f,
  1641  	0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x15, 0x72,
  1642  	0x65, 0x61, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x69, 0x6d,
  1643  	0x65, 0x6f, 0x75, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
  1644  	0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x67, 0x74, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  1645  	0x08, 0x52, 0x11, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x47,
  1646  	0x74, 0x69, 0x64, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65,
  1647  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65,
  1648  	0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72,
  1649  	0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c,
  1650  	0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
  1651  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e,
  1652  	0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
  1653  	0x12, 0x27, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1654  	0x11, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65,
  1655  	0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a,
  1656  	0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10,
  1657  	0x08, 0x22, 0x8f, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73,
  1658  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01,
  1659  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43,
  1660  	0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x07,
  1661  	0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
  1662  	0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07,
  1663  	0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c,
  1664  	0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
  1665  	0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73,
  1666  	0x75, 0x6c, 0x74, 0x22, 0xb3, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42,
  1667  	0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63,
  1668  	0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f,
  1669  	0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52,
  1670  	0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73,
  1671  	0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67,
  1672  	0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73,
  1673  	0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18,
  1674  	0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x42, 0x6f,
  1675  	0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65,
  1676  	0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08,
  1677  	0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0x9a, 0x01, 0x0a, 0x14, 0x45, 0x78,
  1678  	0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  1679  	0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
  1680  	0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72,
  1681  	0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73,
  1682  	0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67,
  1683  	0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73,
  1684  	0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18,
  1685  	0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x52, 0x65,
  1686  	0x73, 0x75, 0x6c, 0x74, 0x57, 0x69, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x07, 0x72,
  1687  	0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61,
  1688  	0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  1689  	0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1690  	0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65,
  1691  	0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x27, 0x0a,
  1692  	0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71,
  1693  	0x75, 0x65, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52,
  1694  	0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
  1695  	0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65,
  1696  	0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
  1697  	0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08,
  1698  	0x05, 0x10, 0x06, 0x22, 0x43, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65,
  1699  	0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06,
  1700  	0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x71,
  1701  	0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
  1702  	0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5d, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x6f,
  1703  	0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
  1704  	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f,
  1705  	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63,
  1706  	0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65,
  1707  	0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  1708  	0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x6f, 0x6c,
  1709  	0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
  1710  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x0c, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61,
  1711  	0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x69,
  1712  	0x7a, 0x65, 0x5f, 0x73, 0x6b, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d,
  1713  	0x69, 0x6e, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x53, 0x6b, 0x65, 0x77, 0x12, 0x2d, 0x0a, 0x12, 0x68,
  1714  	0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
  1715  	0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65,
  1716  	0x61, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74,
  1717  	0x6f, 0x70, 0x5f, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20,
  1718  	0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x4f, 0x6e, 0x52, 0x65, 0x73, 0x68, 0x61,
  1719  	0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
  1720  	0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0xf6, 0x01, 0x0a, 0x0e, 0x56, 0x53, 0x74,
  1721  	0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63,
  1722  	0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f,
  1723  	0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52,
  1724  	0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0b, 0x74, 0x61, 0x62,
  1725  	0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14,
  1726  	0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74,
  1727  	0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65,
  1728  	0x12, 0x27, 0x0a, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1729  	0x11, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x47, 0x74,
  1730  	0x69, 0x64, 0x52, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x66, 0x69, 0x6c,
  1731  	0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x69, 0x6e, 0x6c,
  1732  	0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66,
  1733  	0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05,
  1734  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x56, 0x53,
  1735  	0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67,
  1736  	0x73, 0x22, 0x3d, 0x0a, 0x0f, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70,
  1737  	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01,
  1738  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74,
  1739  	0x61, 0x2e, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73,
  1740  	0x22, 0x92, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75,
  1741  	0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64,
  1742  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43,
  1743  	0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49,
  1744  	0x64, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
  1745  	0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73,
  1746  	0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x05,
  1747  	0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71, 0x75,
  1748  	0x65, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05,
  1749  	0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x89, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72,
  1750  	0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x72, 0x72,
  1751  	0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63,
  1752  	0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  1753  	0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
  1754  	0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69,
  1755  	0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x06, 0x66,
  1756  	0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x71, 0x75,
  1757  	0x65, 0x72, 0x79, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64,
  1758  	0x73, 0x22, 0x6e, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
  1759  	0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c,
  1760  	0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74,
  1761  	0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61,
  1762  	0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
  1763  	0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65,
  1764  	0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
  1765  	0x6e, 0x22, 0x3d, 0x0a, 0x14, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
  1766  	0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x72, 0x72,
  1767  	0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63,
  1768  	0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  1769  	0x2a, 0x44, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
  1770  	0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
  1771  	0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x01,
  1772  	0x12, 0x09, 0x0a, 0x05, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x54,
  1773  	0x57, 0x4f, 0x50, 0x43, 0x10, 0x03, 0x2a, 0x3c, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
  1774  	0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10,
  1775  	0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x52, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f,
  1776  	0x53, 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x55, 0x54, 0x4f, 0x43, 0x4f, 0x4d, 0x4d,
  1777  	0x49, 0x54, 0x10, 0x03, 0x42, 0x36, 0x0a, 0x0f, 0x69, 0x6f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73,
  1778  	0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x23, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e,
  1779  	0x69, 0x6f, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x74, 0x2f,
  1780  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72,
  1781  	0x6f, 0x74, 0x6f, 0x33,
  1782  }
  1783  
  1784  var (
  1785  	file_vtgate_proto_rawDescOnce sync.Once
  1786  	file_vtgate_proto_rawDescData = file_vtgate_proto_rawDesc
  1787  )
  1788  
  1789  func file_vtgate_proto_rawDescGZIP() []byte {
  1790  	file_vtgate_proto_rawDescOnce.Do(func() {
  1791  		file_vtgate_proto_rawDescData = protoimpl.X.CompressGZIP(file_vtgate_proto_rawDescData)
  1792  	})
  1793  	return file_vtgate_proto_rawDescData
  1794  }
  1795  
  1796  var file_vtgate_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  1797  var file_vtgate_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
  1798  var file_vtgate_proto_goTypes = []interface{}{
  1799  	(TransactionMode)(0),               // 0: vtgate.TransactionMode
  1800  	(CommitOrder)(0),                   // 1: vtgate.CommitOrder
  1801  	(*Session)(nil),                    // 2: vtgate.Session
  1802  	(*ReadAfterWrite)(nil),             // 3: vtgate.ReadAfterWrite
  1803  	(*ExecuteRequest)(nil),             // 4: vtgate.ExecuteRequest
  1804  	(*ExecuteResponse)(nil),            // 5: vtgate.ExecuteResponse
  1805  	(*ExecuteBatchRequest)(nil),        // 6: vtgate.ExecuteBatchRequest
  1806  	(*ExecuteBatchResponse)(nil),       // 7: vtgate.ExecuteBatchResponse
  1807  	(*StreamExecuteRequest)(nil),       // 8: vtgate.StreamExecuteRequest
  1808  	(*StreamExecuteResponse)(nil),      // 9: vtgate.StreamExecuteResponse
  1809  	(*ResolveTransactionRequest)(nil),  // 10: vtgate.ResolveTransactionRequest
  1810  	(*ResolveTransactionResponse)(nil), // 11: vtgate.ResolveTransactionResponse
  1811  	(*VStreamFlags)(nil),               // 12: vtgate.VStreamFlags
  1812  	(*VStreamRequest)(nil),             // 13: vtgate.VStreamRequest
  1813  	(*VStreamResponse)(nil),            // 14: vtgate.VStreamResponse
  1814  	(*PrepareRequest)(nil),             // 15: vtgate.PrepareRequest
  1815  	(*PrepareResponse)(nil),            // 16: vtgate.PrepareResponse
  1816  	(*CloseSessionRequest)(nil),        // 17: vtgate.CloseSessionRequest
  1817  	(*CloseSessionResponse)(nil),       // 18: vtgate.CloseSessionResponse
  1818  	(*Session_ShardSession)(nil),       // 19: vtgate.Session.ShardSession
  1819  	nil,                                // 20: vtgate.Session.UserDefinedVariablesEntry
  1820  	nil,                                // 21: vtgate.Session.SystemVariablesEntry
  1821  	nil,                                // 22: vtgate.Session.AdvisoryLockEntry
  1822  	(*query.ExecuteOptions)(nil),       // 23: query.ExecuteOptions
  1823  	(*query.QueryWarning)(nil),         // 24: query.QueryWarning
  1824  	(*vtrpc.CallerID)(nil),             // 25: vtrpc.CallerID
  1825  	(*query.BoundQuery)(nil),           // 26: query.BoundQuery
  1826  	(*vtrpc.RPCError)(nil),             // 27: vtrpc.RPCError
  1827  	(*query.QueryResult)(nil),          // 28: query.QueryResult
  1828  	(*query.ResultWithError)(nil),      // 29: query.ResultWithError
  1829  	(topodata.TabletType)(0),           // 30: topodata.TabletType
  1830  	(*binlogdata.VGtid)(nil),           // 31: binlogdata.VGtid
  1831  	(*binlogdata.Filter)(nil),          // 32: binlogdata.Filter
  1832  	(*binlogdata.VEvent)(nil),          // 33: binlogdata.VEvent
  1833  	(*query.Field)(nil),                // 34: query.Field
  1834  	(*query.Target)(nil),               // 35: query.Target
  1835  	(*topodata.TabletAlias)(nil),       // 36: topodata.TabletAlias
  1836  	(*query.BindVariable)(nil),         // 37: query.BindVariable
  1837  }
  1838  var file_vtgate_proto_depIdxs = []int32{
  1839  	19, // 0: vtgate.Session.shard_sessions:type_name -> vtgate.Session.ShardSession
  1840  	23, // 1: vtgate.Session.options:type_name -> query.ExecuteOptions
  1841  	0,  // 2: vtgate.Session.transaction_mode:type_name -> vtgate.TransactionMode
  1842  	24, // 3: vtgate.Session.warnings:type_name -> query.QueryWarning
  1843  	19, // 4: vtgate.Session.pre_sessions:type_name -> vtgate.Session.ShardSession
  1844  	19, // 5: vtgate.Session.post_sessions:type_name -> vtgate.Session.ShardSession
  1845  	20, // 6: vtgate.Session.user_defined_variables:type_name -> vtgate.Session.UserDefinedVariablesEntry
  1846  	21, // 7: vtgate.Session.system_variables:type_name -> vtgate.Session.SystemVariablesEntry
  1847  	19, // 8: vtgate.Session.lock_session:type_name -> vtgate.Session.ShardSession
  1848  	3,  // 9: vtgate.Session.read_after_write:type_name -> vtgate.ReadAfterWrite
  1849  	22, // 10: vtgate.Session.advisory_lock:type_name -> vtgate.Session.AdvisoryLockEntry
  1850  	25, // 11: vtgate.ExecuteRequest.caller_id:type_name -> vtrpc.CallerID
  1851  	2,  // 12: vtgate.ExecuteRequest.session:type_name -> vtgate.Session
  1852  	26, // 13: vtgate.ExecuteRequest.query:type_name -> query.BoundQuery
  1853  	27, // 14: vtgate.ExecuteResponse.error:type_name -> vtrpc.RPCError
  1854  	2,  // 15: vtgate.ExecuteResponse.session:type_name -> vtgate.Session
  1855  	28, // 16: vtgate.ExecuteResponse.result:type_name -> query.QueryResult
  1856  	25, // 17: vtgate.ExecuteBatchRequest.caller_id:type_name -> vtrpc.CallerID
  1857  	2,  // 18: vtgate.ExecuteBatchRequest.session:type_name -> vtgate.Session
  1858  	26, // 19: vtgate.ExecuteBatchRequest.queries:type_name -> query.BoundQuery
  1859  	27, // 20: vtgate.ExecuteBatchResponse.error:type_name -> vtrpc.RPCError
  1860  	2,  // 21: vtgate.ExecuteBatchResponse.session:type_name -> vtgate.Session
  1861  	29, // 22: vtgate.ExecuteBatchResponse.results:type_name -> query.ResultWithError
  1862  	25, // 23: vtgate.StreamExecuteRequest.caller_id:type_name -> vtrpc.CallerID
  1863  	26, // 24: vtgate.StreamExecuteRequest.query:type_name -> query.BoundQuery
  1864  	2,  // 25: vtgate.StreamExecuteRequest.session:type_name -> vtgate.Session
  1865  	28, // 26: vtgate.StreamExecuteResponse.result:type_name -> query.QueryResult
  1866  	25, // 27: vtgate.ResolveTransactionRequest.caller_id:type_name -> vtrpc.CallerID
  1867  	25, // 28: vtgate.VStreamRequest.caller_id:type_name -> vtrpc.CallerID
  1868  	30, // 29: vtgate.VStreamRequest.tablet_type:type_name -> topodata.TabletType
  1869  	31, // 30: vtgate.VStreamRequest.vgtid:type_name -> binlogdata.VGtid
  1870  	32, // 31: vtgate.VStreamRequest.filter:type_name -> binlogdata.Filter
  1871  	12, // 32: vtgate.VStreamRequest.flags:type_name -> vtgate.VStreamFlags
  1872  	33, // 33: vtgate.VStreamResponse.events:type_name -> binlogdata.VEvent
  1873  	25, // 34: vtgate.PrepareRequest.caller_id:type_name -> vtrpc.CallerID
  1874  	2,  // 35: vtgate.PrepareRequest.session:type_name -> vtgate.Session
  1875  	26, // 36: vtgate.PrepareRequest.query:type_name -> query.BoundQuery
  1876  	27, // 37: vtgate.PrepareResponse.error:type_name -> vtrpc.RPCError
  1877  	2,  // 38: vtgate.PrepareResponse.session:type_name -> vtgate.Session
  1878  	34, // 39: vtgate.PrepareResponse.fields:type_name -> query.Field
  1879  	25, // 40: vtgate.CloseSessionRequest.caller_id:type_name -> vtrpc.CallerID
  1880  	2,  // 41: vtgate.CloseSessionRequest.session:type_name -> vtgate.Session
  1881  	27, // 42: vtgate.CloseSessionResponse.error:type_name -> vtrpc.RPCError
  1882  	35, // 43: vtgate.Session.ShardSession.target:type_name -> query.Target
  1883  	36, // 44: vtgate.Session.ShardSession.tablet_alias:type_name -> topodata.TabletAlias
  1884  	37, // 45: vtgate.Session.UserDefinedVariablesEntry.value:type_name -> query.BindVariable
  1885  	46, // [46:46] is the sub-list for method output_type
  1886  	46, // [46:46] is the sub-list for method input_type
  1887  	46, // [46:46] is the sub-list for extension type_name
  1888  	46, // [46:46] is the sub-list for extension extendee
  1889  	0,  // [0:46] is the sub-list for field type_name
  1890  }
  1891  
  1892  func init() { file_vtgate_proto_init() }
  1893  func file_vtgate_proto_init() {
  1894  	if File_vtgate_proto != nil {
  1895  		return
  1896  	}
  1897  	if !protoimpl.UnsafeEnabled {
  1898  		file_vtgate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1899  			switch v := v.(*Session); i {
  1900  			case 0:
  1901  				return &v.state
  1902  			case 1:
  1903  				return &v.sizeCache
  1904  			case 2:
  1905  				return &v.unknownFields
  1906  			default:
  1907  				return nil
  1908  			}
  1909  		}
  1910  		file_vtgate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1911  			switch v := v.(*ReadAfterWrite); i {
  1912  			case 0:
  1913  				return &v.state
  1914  			case 1:
  1915  				return &v.sizeCache
  1916  			case 2:
  1917  				return &v.unknownFields
  1918  			default:
  1919  				return nil
  1920  			}
  1921  		}
  1922  		file_vtgate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1923  			switch v := v.(*ExecuteRequest); i {
  1924  			case 0:
  1925  				return &v.state
  1926  			case 1:
  1927  				return &v.sizeCache
  1928  			case 2:
  1929  				return &v.unknownFields
  1930  			default:
  1931  				return nil
  1932  			}
  1933  		}
  1934  		file_vtgate_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1935  			switch v := v.(*ExecuteResponse); i {
  1936  			case 0:
  1937  				return &v.state
  1938  			case 1:
  1939  				return &v.sizeCache
  1940  			case 2:
  1941  				return &v.unknownFields
  1942  			default:
  1943  				return nil
  1944  			}
  1945  		}
  1946  		file_vtgate_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1947  			switch v := v.(*ExecuteBatchRequest); i {
  1948  			case 0:
  1949  				return &v.state
  1950  			case 1:
  1951  				return &v.sizeCache
  1952  			case 2:
  1953  				return &v.unknownFields
  1954  			default:
  1955  				return nil
  1956  			}
  1957  		}
  1958  		file_vtgate_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1959  			switch v := v.(*ExecuteBatchResponse); i {
  1960  			case 0:
  1961  				return &v.state
  1962  			case 1:
  1963  				return &v.sizeCache
  1964  			case 2:
  1965  				return &v.unknownFields
  1966  			default:
  1967  				return nil
  1968  			}
  1969  		}
  1970  		file_vtgate_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1971  			switch v := v.(*StreamExecuteRequest); i {
  1972  			case 0:
  1973  				return &v.state
  1974  			case 1:
  1975  				return &v.sizeCache
  1976  			case 2:
  1977  				return &v.unknownFields
  1978  			default:
  1979  				return nil
  1980  			}
  1981  		}
  1982  		file_vtgate_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1983  			switch v := v.(*StreamExecuteResponse); i {
  1984  			case 0:
  1985  				return &v.state
  1986  			case 1:
  1987  				return &v.sizeCache
  1988  			case 2:
  1989  				return &v.unknownFields
  1990  			default:
  1991  				return nil
  1992  			}
  1993  		}
  1994  		file_vtgate_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1995  			switch v := v.(*ResolveTransactionRequest); i {
  1996  			case 0:
  1997  				return &v.state
  1998  			case 1:
  1999  				return &v.sizeCache
  2000  			case 2:
  2001  				return &v.unknownFields
  2002  			default:
  2003  				return nil
  2004  			}
  2005  		}
  2006  		file_vtgate_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2007  			switch v := v.(*ResolveTransactionResponse); i {
  2008  			case 0:
  2009  				return &v.state
  2010  			case 1:
  2011  				return &v.sizeCache
  2012  			case 2:
  2013  				return &v.unknownFields
  2014  			default:
  2015  				return nil
  2016  			}
  2017  		}
  2018  		file_vtgate_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2019  			switch v := v.(*VStreamFlags); i {
  2020  			case 0:
  2021  				return &v.state
  2022  			case 1:
  2023  				return &v.sizeCache
  2024  			case 2:
  2025  				return &v.unknownFields
  2026  			default:
  2027  				return nil
  2028  			}
  2029  		}
  2030  		file_vtgate_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2031  			switch v := v.(*VStreamRequest); i {
  2032  			case 0:
  2033  				return &v.state
  2034  			case 1:
  2035  				return &v.sizeCache
  2036  			case 2:
  2037  				return &v.unknownFields
  2038  			default:
  2039  				return nil
  2040  			}
  2041  		}
  2042  		file_vtgate_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2043  			switch v := v.(*VStreamResponse); i {
  2044  			case 0:
  2045  				return &v.state
  2046  			case 1:
  2047  				return &v.sizeCache
  2048  			case 2:
  2049  				return &v.unknownFields
  2050  			default:
  2051  				return nil
  2052  			}
  2053  		}
  2054  		file_vtgate_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2055  			switch v := v.(*PrepareRequest); i {
  2056  			case 0:
  2057  				return &v.state
  2058  			case 1:
  2059  				return &v.sizeCache
  2060  			case 2:
  2061  				return &v.unknownFields
  2062  			default:
  2063  				return nil
  2064  			}
  2065  		}
  2066  		file_vtgate_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2067  			switch v := v.(*PrepareResponse); i {
  2068  			case 0:
  2069  				return &v.state
  2070  			case 1:
  2071  				return &v.sizeCache
  2072  			case 2:
  2073  				return &v.unknownFields
  2074  			default:
  2075  				return nil
  2076  			}
  2077  		}
  2078  		file_vtgate_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2079  			switch v := v.(*CloseSessionRequest); i {
  2080  			case 0:
  2081  				return &v.state
  2082  			case 1:
  2083  				return &v.sizeCache
  2084  			case 2:
  2085  				return &v.unknownFields
  2086  			default:
  2087  				return nil
  2088  			}
  2089  		}
  2090  		file_vtgate_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2091  			switch v := v.(*CloseSessionResponse); i {
  2092  			case 0:
  2093  				return &v.state
  2094  			case 1:
  2095  				return &v.sizeCache
  2096  			case 2:
  2097  				return &v.unknownFields
  2098  			default:
  2099  				return nil
  2100  			}
  2101  		}
  2102  		file_vtgate_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2103  			switch v := v.(*Session_ShardSession); i {
  2104  			case 0:
  2105  				return &v.state
  2106  			case 1:
  2107  				return &v.sizeCache
  2108  			case 2:
  2109  				return &v.unknownFields
  2110  			default:
  2111  				return nil
  2112  			}
  2113  		}
  2114  	}
  2115  	type x struct{}
  2116  	out := protoimpl.TypeBuilder{
  2117  		File: protoimpl.DescBuilder{
  2118  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2119  			RawDescriptor: file_vtgate_proto_rawDesc,
  2120  			NumEnums:      2,
  2121  			NumMessages:   21,
  2122  			NumExtensions: 0,
  2123  			NumServices:   0,
  2124  		},
  2125  		GoTypes:           file_vtgate_proto_goTypes,
  2126  		DependencyIndexes: file_vtgate_proto_depIdxs,
  2127  		EnumInfos:         file_vtgate_proto_enumTypes,
  2128  		MessageInfos:      file_vtgate_proto_msgTypes,
  2129  	}.Build()
  2130  	File_vtgate_proto = out.File
  2131  	file_vtgate_proto_rawDesc = nil
  2132  	file_vtgate_proto_goTypes = nil
  2133  	file_vtgate_proto_depIdxs = nil
  2134  }