github.com/vedadiyan/sqlparser@v1.0.0/pkg/vtrpc/vtrpc.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  // This file contains useful data structures for RPCs in Vitess.
    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: vtrpc.proto
    23  
    24  package vtrpc
    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  )
    32  
    33  const (
    34  	// Verify that this generated code is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    36  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    38  )
    39  
    40  // Code represents canonical error codes. The names, numbers and comments
    41  // must match the ones defined by grpc (0-16):
    42  //
    43  //	https://godoc.org/google.golang.org/grpc/codes.
    44  //
    45  // 17+ are custom codes
    46  type Code int32
    47  
    48  const (
    49  	// OK is returned on success.
    50  	Code_OK Code = 0
    51  	// CANCELED indicates the operation was cancelled (typically by the caller).
    52  	Code_CANCELED Code = 1
    53  	// UNKNOWN error. An example of where this error may be returned is
    54  	// if a Status value received from another address space belongs to
    55  	// an error-space that is not known in this address space. Also
    56  	// errors raised by APIs that do not return enough error information
    57  	// may be converted to this error.
    58  	Code_UNKNOWN Code = 2
    59  	// INVALID_ARGUMENT indicates client specified an invalid argument.
    60  	// Note that this differs from FAILED_PRECONDITION. It indicates arguments
    61  	// that are problematic regardless of the state of the system
    62  	// (e.g., a malformed file name).
    63  	Code_INVALID_ARGUMENT Code = 3
    64  	// DEADLINE_EXCEEDED means operation expired before completion.
    65  	// For operations that change the state of the system, this error may be
    66  	// returned even if the operation has completed successfully. For
    67  	// example, a successful response from a server could have been delayed
    68  	// long enough for the deadline to expire.
    69  	Code_DEADLINE_EXCEEDED Code = 4
    70  	// NOT_FOUND means some requested entity (e.g., file or directory) was
    71  	// not found.
    72  	Code_NOT_FOUND Code = 5
    73  	// ALREADY_EXISTS means an attempt to create an entity failed because one
    74  	// already exists.
    75  	Code_ALREADY_EXISTS Code = 6
    76  	// PERMISSION_DENIED indicates the caller does not have permission to
    77  	// execute the specified operation. It must not be used for rejections
    78  	// caused by exhausting some resource (use RESOURCE_EXHAUSTED
    79  	// instead for those errors).  It must not be
    80  	// used if the caller cannot be identified (use Unauthenticated
    81  	// instead for those errors).
    82  	Code_PERMISSION_DENIED Code = 7
    83  	// RESOURCE_EXHAUSTED indicates some resource has been exhausted, perhaps
    84  	// a per-user quota, or perhaps the entire file system is out of space.
    85  	Code_RESOURCE_EXHAUSTED Code = 8
    86  	// FAILED_PRECONDITION indicates operation was rejected because the
    87  	// system is not in a state required for the operation's execution.
    88  	// For example, directory to be deleted may be non-empty, an rmdir
    89  	// operation is applied to a non-directory, etc.
    90  	//
    91  	// A litmus test that may help a service implementor in deciding
    92  	// between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE:
    93  	//
    94  	//	(a) Use UNAVAILABLE if the client can retry just the failing call.
    95  	//	(b) Use ABORTED if the client should retry at a higher-level
    96  	//	    (e.g., restarting a read-modify-write sequence).
    97  	//	(c) Use FAILED_PRECONDITION if the client should not retry until
    98  	//	    the system state has been explicitly fixed.  E.g., if an "rmdir"
    99  	//	    fails because the directory is non-empty, FAILED_PRECONDITION
   100  	//	    should be returned since the client should not retry unless
   101  	//	    they have first fixed up the directory by deleting files from it.
   102  	//	(d) Use FAILED_PRECONDITION if the client performs conditional
   103  	//	    REST Get/Update/Delete on a resource and the resource on the
   104  	//	    server does not match the condition. E.g., conflicting
   105  	//	    read-modify-write on the same resource.
   106  	Code_FAILED_PRECONDITION Code = 9
   107  	// ABORTED indicates the operation was aborted, typically due to a
   108  	// concurrency issue like sequencer check failures, transaction aborts,
   109  	// etc.
   110  	//
   111  	// See litmus test above for deciding between FAILED_PRECONDITION,
   112  	// ABORTED, and UNAVAILABLE.
   113  	Code_ABORTED Code = 10
   114  	// OUT_OF_RANGE means operation was attempted past the valid range.
   115  	// E.g., seeking or reading past end of file.
   116  	//
   117  	// Unlike INVALID_ARGUMENT, this error indicates a problem that may
   118  	// be fixed if the system state changes. For example, a 32-bit file
   119  	// system will generate INVALID_ARGUMENT if asked to read at an
   120  	// offset that is not in the range [0,2^32-1], but it will generate
   121  	// OUT_OF_RANGE if asked to read from an offset past the current
   122  	// file size.
   123  	//
   124  	// There is a fair bit of overlap between FAILED_PRECONDITION and
   125  	// OUT_OF_RANGE.  We recommend using OUT_OF_RANGE (the more specific
   126  	// error) when it applies so that callers who are iterating through
   127  	// a space can easily look for an OUT_OF_RANGE error to detect when
   128  	// they are done.
   129  	Code_OUT_OF_RANGE Code = 11
   130  	// UNIMPLEMENTED indicates operation is not implemented or not
   131  	// supported/enabled in this service.
   132  	Code_UNIMPLEMENTED Code = 12
   133  	// INTERNAL errors. Means some invariants expected by underlying
   134  	// system has been broken.  If you see one of these errors,
   135  	// something is very broken.
   136  	Code_INTERNAL Code = 13
   137  	// UNAVAILABLE indicates the service is currently unavailable.
   138  	// This is a most likely a transient condition and may be corrected
   139  	// by retrying with a backoff.
   140  	//
   141  	// See litmus test above for deciding between FAILED_PRECONDITION,
   142  	// ABORTED, and UNAVAILABLE.
   143  	Code_UNAVAILABLE Code = 14
   144  	// DATA_LOSS indicates unrecoverable data loss or corruption.
   145  	Code_DATA_LOSS Code = 15
   146  	// UNAUTHENTICATED indicates the request does not have valid
   147  	// authentication credentials for the operation.
   148  	Code_UNAUTHENTICATED Code = 16
   149  	// CLUSTER_EVENT indicates that a cluster operation might be in effect
   150  	Code_CLUSTER_EVENT Code = 17
   151  	// Topo server connection is read-only
   152  	Code_READ_ONLY Code = 18
   153  )
   154  
   155  // Enum value maps for Code.
   156  var (
   157  	Code_name = map[int32]string{
   158  		0:  "OK",
   159  		1:  "CANCELED",
   160  		2:  "UNKNOWN",
   161  		3:  "INVALID_ARGUMENT",
   162  		4:  "DEADLINE_EXCEEDED",
   163  		5:  "NOT_FOUND",
   164  		6:  "ALREADY_EXISTS",
   165  		7:  "PERMISSION_DENIED",
   166  		8:  "RESOURCE_EXHAUSTED",
   167  		9:  "FAILED_PRECONDITION",
   168  		10: "ABORTED",
   169  		11: "OUT_OF_RANGE",
   170  		12: "UNIMPLEMENTED",
   171  		13: "INTERNAL",
   172  		14: "UNAVAILABLE",
   173  		15: "DATA_LOSS",
   174  		16: "UNAUTHENTICATED",
   175  		17: "CLUSTER_EVENT",
   176  		18: "READ_ONLY",
   177  	}
   178  	Code_value = map[string]int32{
   179  		"OK":                  0,
   180  		"CANCELED":            1,
   181  		"UNKNOWN":             2,
   182  		"INVALID_ARGUMENT":    3,
   183  		"DEADLINE_EXCEEDED":   4,
   184  		"NOT_FOUND":           5,
   185  		"ALREADY_EXISTS":      6,
   186  		"PERMISSION_DENIED":   7,
   187  		"RESOURCE_EXHAUSTED":  8,
   188  		"FAILED_PRECONDITION": 9,
   189  		"ABORTED":             10,
   190  		"OUT_OF_RANGE":        11,
   191  		"UNIMPLEMENTED":       12,
   192  		"INTERNAL":            13,
   193  		"UNAVAILABLE":         14,
   194  		"DATA_LOSS":           15,
   195  		"UNAUTHENTICATED":     16,
   196  		"CLUSTER_EVENT":       17,
   197  		"READ_ONLY":           18,
   198  	}
   199  )
   200  
   201  func (x Code) Enum() *Code {
   202  	p := new(Code)
   203  	*p = x
   204  	return p
   205  }
   206  
   207  func (x Code) String() string {
   208  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   209  }
   210  
   211  func (Code) Descriptor() protoreflect.EnumDescriptor {
   212  	return file_vtrpc_proto_enumTypes[0].Descriptor()
   213  }
   214  
   215  func (Code) Type() protoreflect.EnumType {
   216  	return &file_vtrpc_proto_enumTypes[0]
   217  }
   218  
   219  func (x Code) Number() protoreflect.EnumNumber {
   220  	return protoreflect.EnumNumber(x)
   221  }
   222  
   223  // Deprecated: Use Code.Descriptor instead.
   224  func (Code) EnumDescriptor() ([]byte, []int) {
   225  	return file_vtrpc_proto_rawDescGZIP(), []int{0}
   226  }
   227  
   228  // CallerID is passed along RPCs to identify the originating client
   229  // for a request. It is not meant to be secure, but only
   230  // informational.  The client can put whatever info they want in these
   231  // fields, and they will be trusted by the servers. The fields will
   232  // just be used for logging purposes, and to easily find a client.
   233  // VtGate propagates it to VtTablet, and VtTablet may use this
   234  // information for monitoring purposes, to display on dashboards, or
   235  // for denying access to tables during a migration.
   236  type CallerID struct {
   237  	state         protoimpl.MessageState
   238  	sizeCache     protoimpl.SizeCache
   239  	unknownFields protoimpl.UnknownFields
   240  
   241  	// principal is the effective user identifier. It is usually filled in
   242  	// with whoever made the request to the appserver, if the request
   243  	// came from an automated job or another system component.
   244  	// If the request comes directly from the Internet, or if the Vitess client
   245  	// takes action on its own accord, it is okay for this field to be absent.
   246  	Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
   247  	// component describes the running process of the effective caller.
   248  	// It can for instance be the hostname:port of the servlet initiating the
   249  	// database call, or the container engine ID used by the servlet.
   250  	Component string `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"`
   251  	// subcomponent describes a component inisde the immediate caller which
   252  	// is responsible for generating is request. Suggested values are a
   253  	// servlet name or an API endpoint name.
   254  	Subcomponent string `protobuf:"bytes,3,opt,name=subcomponent,proto3" json:"subcomponent,omitempty"`
   255  	// set of security groups that should be assigned to this caller.
   256  	Groups []string `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"`
   257  }
   258  
   259  func (x *CallerID) Reset() {
   260  	*x = CallerID{}
   261  	if protoimpl.UnsafeEnabled {
   262  		mi := &file_vtrpc_proto_msgTypes[0]
   263  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   264  		ms.StoreMessageInfo(mi)
   265  	}
   266  }
   267  
   268  func (x *CallerID) String() string {
   269  	return protoimpl.X.MessageStringOf(x)
   270  }
   271  
   272  func (*CallerID) ProtoMessage() {}
   273  
   274  func (x *CallerID) ProtoReflect() protoreflect.Message {
   275  	mi := &file_vtrpc_proto_msgTypes[0]
   276  	if protoimpl.UnsafeEnabled && x != nil {
   277  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   278  		if ms.LoadMessageInfo() == nil {
   279  			ms.StoreMessageInfo(mi)
   280  		}
   281  		return ms
   282  	}
   283  	return mi.MessageOf(x)
   284  }
   285  
   286  // Deprecated: Use CallerID.ProtoReflect.Descriptor instead.
   287  func (*CallerID) Descriptor() ([]byte, []int) {
   288  	return file_vtrpc_proto_rawDescGZIP(), []int{0}
   289  }
   290  
   291  func (x *CallerID) GetPrincipal() string {
   292  	if x != nil {
   293  		return x.Principal
   294  	}
   295  	return ""
   296  }
   297  
   298  func (x *CallerID) GetComponent() string {
   299  	if x != nil {
   300  		return x.Component
   301  	}
   302  	return ""
   303  }
   304  
   305  func (x *CallerID) GetSubcomponent() string {
   306  	if x != nil {
   307  		return x.Subcomponent
   308  	}
   309  	return ""
   310  }
   311  
   312  func (x *CallerID) GetGroups() []string {
   313  	if x != nil {
   314  		return x.Groups
   315  	}
   316  	return nil
   317  }
   318  
   319  // RPCError is an application-level error structure returned by
   320  // VtTablet (and passed along by VtGate if appropriate).
   321  // We use this so the clients don't have to parse the error messages,
   322  // but instead can depend on the value of the code.
   323  type RPCError struct {
   324  	state         protoimpl.MessageState
   325  	sizeCache     protoimpl.SizeCache
   326  	unknownFields protoimpl.UnknownFields
   327  
   328  	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
   329  	Code    Code   `protobuf:"varint,3,opt,name=code,proto3,enum=vtrpc.Code" json:"code,omitempty"`
   330  }
   331  
   332  func (x *RPCError) Reset() {
   333  	*x = RPCError{}
   334  	if protoimpl.UnsafeEnabled {
   335  		mi := &file_vtrpc_proto_msgTypes[1]
   336  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   337  		ms.StoreMessageInfo(mi)
   338  	}
   339  }
   340  
   341  func (x *RPCError) String() string {
   342  	return protoimpl.X.MessageStringOf(x)
   343  }
   344  
   345  func (*RPCError) ProtoMessage() {}
   346  
   347  func (x *RPCError) ProtoReflect() protoreflect.Message {
   348  	mi := &file_vtrpc_proto_msgTypes[1]
   349  	if protoimpl.UnsafeEnabled && x != nil {
   350  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   351  		if ms.LoadMessageInfo() == nil {
   352  			ms.StoreMessageInfo(mi)
   353  		}
   354  		return ms
   355  	}
   356  	return mi.MessageOf(x)
   357  }
   358  
   359  // Deprecated: Use RPCError.ProtoReflect.Descriptor instead.
   360  func (*RPCError) Descriptor() ([]byte, []int) {
   361  	return file_vtrpc_proto_rawDescGZIP(), []int{1}
   362  }
   363  
   364  func (x *RPCError) GetMessage() string {
   365  	if x != nil {
   366  		return x.Message
   367  	}
   368  	return ""
   369  }
   370  
   371  func (x *RPCError) GetCode() Code {
   372  	if x != nil {
   373  		return x.Code
   374  	}
   375  	return Code_OK
   376  }
   377  
   378  var File_vtrpc_proto protoreflect.FileDescriptor
   379  
   380  var file_vtrpc_proto_rawDesc = []byte{
   381  	0x0a, 0x0b, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x76,
   382  	0x74, 0x72, 0x70, 0x63, 0x22, 0x82, 0x01, 0x0a, 0x08, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49,
   383  	0x44, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x01,
   384  	0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12,
   385  	0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
   386  	0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a,
   387  	0x0c, 0x73, 0x75, 0x62, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20,
   388  	0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e,
   389  	0x74, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
   390  	0x09, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x58, 0x0a, 0x08, 0x52, 0x50, 0x43,
   391  	0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
   392  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
   393  	0x1f, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e,
   394  	0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
   395  	0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x0b, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63,
   396  	0x6f, 0x64, 0x65, 0x2a, 0xd8, 0x02, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x06, 0x0a, 0x02,
   397  	0x4f, 0x4b, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44,
   398  	0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x12,
   399  	0x14, 0x0a, 0x10, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d,
   400  	0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x45, 0x41, 0x44, 0x4c, 0x49, 0x4e,
   401  	0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09,
   402  	0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x41,
   403  	0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x06, 0x12,
   404  	0x15, 0x0a, 0x11, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45,
   405  	0x4e, 0x49, 0x45, 0x44, 0x10, 0x07, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52,
   406  	0x43, 0x45, 0x5f, 0x45, 0x58, 0x48, 0x41, 0x55, 0x53, 0x54, 0x45, 0x44, 0x10, 0x08, 0x12, 0x17,
   407  	0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x44,
   408  	0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54,
   409  	0x45, 0x44, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52,
   410  	0x41, 0x4e, 0x47, 0x45, 0x10, 0x0b, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x49, 0x4d, 0x50, 0x4c,
   411  	0x45, 0x4d, 0x45, 0x4e, 0x54, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x54,
   412  	0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x0d, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x41, 0x56, 0x41,
   413  	0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x0e, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x41, 0x54, 0x41,
   414  	0x5f, 0x4c, 0x4f, 0x53, 0x53, 0x10, 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e, 0x41, 0x55, 0x54,
   415  	0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x10, 0x12, 0x11, 0x0a, 0x0d,
   416  	0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x11, 0x12,
   417  	0x0d, 0x0a, 0x09, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x12, 0x42, 0x35,
   418  	0x0a, 0x0f, 0x69, 0x6f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   419  	0x6f, 0x5a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x69, 0x74,
   420  	0x65, 0x73, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
   421  	0x76, 0x74, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   422  }
   423  
   424  var (
   425  	file_vtrpc_proto_rawDescOnce sync.Once
   426  	file_vtrpc_proto_rawDescData = file_vtrpc_proto_rawDesc
   427  )
   428  
   429  func file_vtrpc_proto_rawDescGZIP() []byte {
   430  	file_vtrpc_proto_rawDescOnce.Do(func() {
   431  		file_vtrpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_vtrpc_proto_rawDescData)
   432  	})
   433  	return file_vtrpc_proto_rawDescData
   434  }
   435  
   436  var file_vtrpc_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   437  var file_vtrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   438  var file_vtrpc_proto_goTypes = []interface{}{
   439  	(Code)(0),        // 0: vtrpc.Code
   440  	(*CallerID)(nil), // 1: vtrpc.CallerID
   441  	(*RPCError)(nil), // 2: vtrpc.RPCError
   442  }
   443  var file_vtrpc_proto_depIdxs = []int32{
   444  	0, // 0: vtrpc.RPCError.code:type_name -> vtrpc.Code
   445  	1, // [1:1] is the sub-list for method output_type
   446  	1, // [1:1] is the sub-list for method input_type
   447  	1, // [1:1] is the sub-list for extension type_name
   448  	1, // [1:1] is the sub-list for extension extendee
   449  	0, // [0:1] is the sub-list for field type_name
   450  }
   451  
   452  func init() { file_vtrpc_proto_init() }
   453  func file_vtrpc_proto_init() {
   454  	if File_vtrpc_proto != nil {
   455  		return
   456  	}
   457  	if !protoimpl.UnsafeEnabled {
   458  		file_vtrpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   459  			switch v := v.(*CallerID); i {
   460  			case 0:
   461  				return &v.state
   462  			case 1:
   463  				return &v.sizeCache
   464  			case 2:
   465  				return &v.unknownFields
   466  			default:
   467  				return nil
   468  			}
   469  		}
   470  		file_vtrpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   471  			switch v := v.(*RPCError); i {
   472  			case 0:
   473  				return &v.state
   474  			case 1:
   475  				return &v.sizeCache
   476  			case 2:
   477  				return &v.unknownFields
   478  			default:
   479  				return nil
   480  			}
   481  		}
   482  	}
   483  	type x struct{}
   484  	out := protoimpl.TypeBuilder{
   485  		File: protoimpl.DescBuilder{
   486  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   487  			RawDescriptor: file_vtrpc_proto_rawDesc,
   488  			NumEnums:      1,
   489  			NumMessages:   2,
   490  			NumExtensions: 0,
   491  			NumServices:   0,
   492  		},
   493  		GoTypes:           file_vtrpc_proto_goTypes,
   494  		DependencyIndexes: file_vtrpc_proto_depIdxs,
   495  		EnumInfos:         file_vtrpc_proto_enumTypes,
   496  		MessageInfos:      file_vtrpc_proto_msgTypes,
   497  	}.Build()
   498  	File_vtrpc_proto = out.File
   499  	file_vtrpc_proto_rawDesc = nil
   500  	file_vtrpc_proto_goTypes = nil
   501  	file_vtrpc_proto_depIdxs = nil
   502  }