github.com/dfklegend/cell2/utils@v0.0.0-20240402033734-a0a9f3d9335d/serialize/proto/msgs/testmsg.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.0
     4  // 	protoc        v3.18.0--rc1
     5  // source: testmsg.proto
     6  
     7  package msgs
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type ServiceRequest struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Sender string `protobuf:"bytes,1,opt,name=Sender,proto3" json:"Sender,omitempty"` //
    29  	ReqId  int32  `protobuf:"varint,2,opt,name=ReqId,proto3" json:"ReqId,omitempty"`  // 请求id
    30  	Type   string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"`     // 数据类型
    31  	Body   []byte `protobuf:"bytes,4,opt,name=Body,proto3" json:"Body,omitempty"`     // 序列化数据
    32  }
    33  
    34  func (x *ServiceRequest) Reset() {
    35  	*x = ServiceRequest{}
    36  	if protoimpl.UnsafeEnabled {
    37  		mi := &file_testmsg_proto_msgTypes[0]
    38  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    39  		ms.StoreMessageInfo(mi)
    40  	}
    41  }
    42  
    43  func (x *ServiceRequest) String() string {
    44  	return protoimpl.X.MessageStringOf(x)
    45  }
    46  
    47  func (*ServiceRequest) ProtoMessage() {}
    48  
    49  func (x *ServiceRequest) ProtoReflect() protoreflect.Message {
    50  	mi := &file_testmsg_proto_msgTypes[0]
    51  	if protoimpl.UnsafeEnabled && x != nil {
    52  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    53  		if ms.LoadMessageInfo() == nil {
    54  			ms.StoreMessageInfo(mi)
    55  		}
    56  		return ms
    57  	}
    58  	return mi.MessageOf(x)
    59  }
    60  
    61  // Deprecated: Use ServiceRequest.ProtoReflect.Descriptor instead.
    62  func (*ServiceRequest) Descriptor() ([]byte, []int) {
    63  	return file_testmsg_proto_rawDescGZIP(), []int{0}
    64  }
    65  
    66  func (x *ServiceRequest) GetSender() string {
    67  	if x != nil {
    68  		return x.Sender
    69  	}
    70  	return ""
    71  }
    72  
    73  func (x *ServiceRequest) GetReqId() int32 {
    74  	if x != nil {
    75  		return x.ReqId
    76  	}
    77  	return 0
    78  }
    79  
    80  func (x *ServiceRequest) GetType() string {
    81  	if x != nil {
    82  		return x.Type
    83  	}
    84  	return ""
    85  }
    86  
    87  func (x *ServiceRequest) GetBody() []byte {
    88  	if x != nil {
    89  		return x.Body
    90  	}
    91  	return nil
    92  }
    93  
    94  type ServiceRequest1 struct {
    95  	state         protoimpl.MessageState
    96  	sizeCache     protoimpl.SizeCache
    97  	unknownFields protoimpl.UnknownFields
    98  
    99  	Sender string `protobuf:"bytes,1,opt,name=Sender,proto3" json:"Sender,omitempty"` //
   100  	Type   string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`     // 数据类型
   101  	ReqId  int32  `protobuf:"varint,3,opt,name=ReqId,proto3" json:"ReqId,omitempty"`  // 请求id
   102  	Body   []byte `protobuf:"bytes,4,opt,name=Body,proto3" json:"Body,omitempty"`     // 序列化数据
   103  }
   104  
   105  func (x *ServiceRequest1) Reset() {
   106  	*x = ServiceRequest1{}
   107  	if protoimpl.UnsafeEnabled {
   108  		mi := &file_testmsg_proto_msgTypes[1]
   109  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   110  		ms.StoreMessageInfo(mi)
   111  	}
   112  }
   113  
   114  func (x *ServiceRequest1) String() string {
   115  	return protoimpl.X.MessageStringOf(x)
   116  }
   117  
   118  func (*ServiceRequest1) ProtoMessage() {}
   119  
   120  func (x *ServiceRequest1) ProtoReflect() protoreflect.Message {
   121  	mi := &file_testmsg_proto_msgTypes[1]
   122  	if protoimpl.UnsafeEnabled && x != nil {
   123  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   124  		if ms.LoadMessageInfo() == nil {
   125  			ms.StoreMessageInfo(mi)
   126  		}
   127  		return ms
   128  	}
   129  	return mi.MessageOf(x)
   130  }
   131  
   132  // Deprecated: Use ServiceRequest1.ProtoReflect.Descriptor instead.
   133  func (*ServiceRequest1) Descriptor() ([]byte, []int) {
   134  	return file_testmsg_proto_rawDescGZIP(), []int{1}
   135  }
   136  
   137  func (x *ServiceRequest1) GetSender() string {
   138  	if x != nil {
   139  		return x.Sender
   140  	}
   141  	return ""
   142  }
   143  
   144  func (x *ServiceRequest1) GetType() string {
   145  	if x != nil {
   146  		return x.Type
   147  	}
   148  	return ""
   149  }
   150  
   151  func (x *ServiceRequest1) GetReqId() int32 {
   152  	if x != nil {
   153  		return x.ReqId
   154  	}
   155  	return 0
   156  }
   157  
   158  func (x *ServiceRequest1) GetBody() []byte {
   159  	if x != nil {
   160  		return x.Body
   161  	}
   162  	return nil
   163  }
   164  
   165  type ServiceRequest2 struct {
   166  	state         protoimpl.MessageState
   167  	sizeCache     protoimpl.SizeCache
   168  	unknownFields protoimpl.UnknownFields
   169  
   170  	ReqId  int32  `protobuf:"varint,1,opt,name=ReqId,proto3" json:"ReqId,omitempty"`  // 请求id
   171  	Sender string `protobuf:"bytes,2,opt,name=Sender,proto3" json:"Sender,omitempty"` //
   172  	Type   string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"`     // 数据类型
   173  	Body   []byte `protobuf:"bytes,4,opt,name=Body,proto3" json:"Body,omitempty"`     // 序列化数据
   174  }
   175  
   176  func (x *ServiceRequest2) Reset() {
   177  	*x = ServiceRequest2{}
   178  	if protoimpl.UnsafeEnabled {
   179  		mi := &file_testmsg_proto_msgTypes[2]
   180  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   181  		ms.StoreMessageInfo(mi)
   182  	}
   183  }
   184  
   185  func (x *ServiceRequest2) String() string {
   186  	return protoimpl.X.MessageStringOf(x)
   187  }
   188  
   189  func (*ServiceRequest2) ProtoMessage() {}
   190  
   191  func (x *ServiceRequest2) ProtoReflect() protoreflect.Message {
   192  	mi := &file_testmsg_proto_msgTypes[2]
   193  	if protoimpl.UnsafeEnabled && x != nil {
   194  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   195  		if ms.LoadMessageInfo() == nil {
   196  			ms.StoreMessageInfo(mi)
   197  		}
   198  		return ms
   199  	}
   200  	return mi.MessageOf(x)
   201  }
   202  
   203  // Deprecated: Use ServiceRequest2.ProtoReflect.Descriptor instead.
   204  func (*ServiceRequest2) Descriptor() ([]byte, []int) {
   205  	return file_testmsg_proto_rawDescGZIP(), []int{2}
   206  }
   207  
   208  func (x *ServiceRequest2) GetReqId() int32 {
   209  	if x != nil {
   210  		return x.ReqId
   211  	}
   212  	return 0
   213  }
   214  
   215  func (x *ServiceRequest2) GetSender() string {
   216  	if x != nil {
   217  		return x.Sender
   218  	}
   219  	return ""
   220  }
   221  
   222  func (x *ServiceRequest2) GetType() string {
   223  	if x != nil {
   224  		return x.Type
   225  	}
   226  	return ""
   227  }
   228  
   229  func (x *ServiceRequest2) GetBody() []byte {
   230  	if x != nil {
   231  		return x.Body
   232  	}
   233  	return nil
   234  }
   235  
   236  type ServiceResponse struct {
   237  	state         protoimpl.MessageState
   238  	sizeCache     protoimpl.SizeCache
   239  	unknownFields protoimpl.UnknownFields
   240  
   241  	ReqId   int32  `protobuf:"varint,1,opt,name=ReqId,proto3" json:"ReqId,omitempty"`
   242  	Type    string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`        // 数据类型
   243  	Body    []byte `protobuf:"bytes,3,opt,name=Body,proto3" json:"Body,omitempty"`        // 序列化数据
   244  	ErrCode int32  `protobuf:"varint,4,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` // 0 - succ
   245  	ErrInfo string `protobuf:"bytes,5,opt,name=ErrInfo,proto3" json:"ErrInfo,omitempty"`  // 错误信息
   246  }
   247  
   248  func (x *ServiceResponse) Reset() {
   249  	*x = ServiceResponse{}
   250  	if protoimpl.UnsafeEnabled {
   251  		mi := &file_testmsg_proto_msgTypes[3]
   252  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   253  		ms.StoreMessageInfo(mi)
   254  	}
   255  }
   256  
   257  func (x *ServiceResponse) String() string {
   258  	return protoimpl.X.MessageStringOf(x)
   259  }
   260  
   261  func (*ServiceResponse) ProtoMessage() {}
   262  
   263  func (x *ServiceResponse) ProtoReflect() protoreflect.Message {
   264  	mi := &file_testmsg_proto_msgTypes[3]
   265  	if protoimpl.UnsafeEnabled && x != nil {
   266  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   267  		if ms.LoadMessageInfo() == nil {
   268  			ms.StoreMessageInfo(mi)
   269  		}
   270  		return ms
   271  	}
   272  	return mi.MessageOf(x)
   273  }
   274  
   275  // Deprecated: Use ServiceResponse.ProtoReflect.Descriptor instead.
   276  func (*ServiceResponse) Descriptor() ([]byte, []int) {
   277  	return file_testmsg_proto_rawDescGZIP(), []int{3}
   278  }
   279  
   280  func (x *ServiceResponse) GetReqId() int32 {
   281  	if x != nil {
   282  		return x.ReqId
   283  	}
   284  	return 0
   285  }
   286  
   287  func (x *ServiceResponse) GetType() string {
   288  	if x != nil {
   289  		return x.Type
   290  	}
   291  	return ""
   292  }
   293  
   294  func (x *ServiceResponse) GetBody() []byte {
   295  	if x != nil {
   296  		return x.Body
   297  	}
   298  	return nil
   299  }
   300  
   301  func (x *ServiceResponse) GetErrCode() int32 {
   302  	if x != nil {
   303  		return x.ErrCode
   304  	}
   305  	return 0
   306  }
   307  
   308  func (x *ServiceResponse) GetErrInfo() string {
   309  	if x != nil {
   310  		return x.ErrInfo
   311  	}
   312  	return ""
   313  }
   314  
   315  // 用于单元测试
   316  type TestHello struct {
   317  	state         protoimpl.MessageState
   318  	sizeCache     protoimpl.SizeCache
   319  	unknownFields protoimpl.UnknownFields
   320  
   321  	I int32  `protobuf:"varint,1,opt,name=I,proto3" json:"I,omitempty"`
   322  	S string `protobuf:"bytes,2,opt,name=S,proto3" json:"S,omitempty"`
   323  }
   324  
   325  func (x *TestHello) Reset() {
   326  	*x = TestHello{}
   327  	if protoimpl.UnsafeEnabled {
   328  		mi := &file_testmsg_proto_msgTypes[4]
   329  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   330  		ms.StoreMessageInfo(mi)
   331  	}
   332  }
   333  
   334  func (x *TestHello) String() string {
   335  	return protoimpl.X.MessageStringOf(x)
   336  }
   337  
   338  func (*TestHello) ProtoMessage() {}
   339  
   340  func (x *TestHello) ProtoReflect() protoreflect.Message {
   341  	mi := &file_testmsg_proto_msgTypes[4]
   342  	if protoimpl.UnsafeEnabled && x != nil {
   343  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   344  		if ms.LoadMessageInfo() == nil {
   345  			ms.StoreMessageInfo(mi)
   346  		}
   347  		return ms
   348  	}
   349  	return mi.MessageOf(x)
   350  }
   351  
   352  // Deprecated: Use TestHello.ProtoReflect.Descriptor instead.
   353  func (*TestHello) Descriptor() ([]byte, []int) {
   354  	return file_testmsg_proto_rawDescGZIP(), []int{4}
   355  }
   356  
   357  func (x *TestHello) GetI() int32 {
   358  	if x != nil {
   359  		return x.I
   360  	}
   361  	return 0
   362  }
   363  
   364  func (x *TestHello) GetS() string {
   365  	if x != nil {
   366  		return x.S
   367  	}
   368  	return ""
   369  }
   370  
   371  var File_testmsg_proto protoreflect.FileDescriptor
   372  
   373  var file_testmsg_proto_rawDesc = []byte{
   374  	0x0a, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   375  	0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x74, 0x65, 0x73, 0x74, 0x6d, 0x73, 0x67, 0x73, 0x22, 0x66,
   376  	0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   377  	0x12, 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   378  	0x52, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x65, 0x71, 0x49,
   379  	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x52, 0x65, 0x71, 0x49, 0x64, 0x12, 0x12,
   380  	0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79,
   381  	0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c,
   382  	0x52, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x67, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
   383  	0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6e,
   384  	0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65,
   385  	0x72, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   386  	0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x65, 0x71, 0x49, 0x64, 0x18, 0x03,
   387  	0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x52, 0x65, 0x71, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x42,
   388  	0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x22,
   389  	0x67, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   390  	0x74, 0x32, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x65, 0x71, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   391  	0x05, 0x52, 0x05, 0x52, 0x65, 0x71, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x64,
   392  	0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72,
   393  	0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
   394  	0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01,
   395  	0x28, 0x0c, 0x52, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x83, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x72,
   396  	0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
   397  	0x52, 0x65, 0x71, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x52, 0x65, 0x71,
   398  	0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   399  	0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x03,
   400  	0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72,
   401  	0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72,
   402  	0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18,
   403  	0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x45, 0x72, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x27,
   404  	0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x0c, 0x0a, 0x01, 0x49,
   405  	0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x49, 0x12, 0x0c, 0x0a, 0x01, 0x53, 0x18, 0x02,
   406  	0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x53, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75,
   407  	0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x6f, 0x6e, 0x67, 0x79, 0x6f, 0x75, 0x2f, 0x63, 0x65,
   408  	0x6c, 0x6c, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2f, 0x73, 0x65,
   409  	0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x73,
   410  	0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   411  }
   412  
   413  var (
   414  	file_testmsg_proto_rawDescOnce sync.Once
   415  	file_testmsg_proto_rawDescData = file_testmsg_proto_rawDesc
   416  )
   417  
   418  func file_testmsg_proto_rawDescGZIP() []byte {
   419  	file_testmsg_proto_rawDescOnce.Do(func() {
   420  		file_testmsg_proto_rawDescData = protoimpl.X.CompressGZIP(file_testmsg_proto_rawDescData)
   421  	})
   422  	return file_testmsg_proto_rawDescData
   423  }
   424  
   425  var file_testmsg_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   426  var file_testmsg_proto_goTypes = []interface{}{
   427  	(*ServiceRequest)(nil),  // 0: prototestmsgs.ServiceRequest
   428  	(*ServiceRequest1)(nil), // 1: prototestmsgs.ServiceRequest1
   429  	(*ServiceRequest2)(nil), // 2: prototestmsgs.ServiceRequest2
   430  	(*ServiceResponse)(nil), // 3: prototestmsgs.ServiceResponse
   431  	(*TestHello)(nil),       // 4: prototestmsgs.TestHello
   432  }
   433  var file_testmsg_proto_depIdxs = []int32{
   434  	0, // [0:0] is the sub-list for method output_type
   435  	0, // [0:0] is the sub-list for method input_type
   436  	0, // [0:0] is the sub-list for extension type_name
   437  	0, // [0:0] is the sub-list for extension extendee
   438  	0, // [0:0] is the sub-list for field type_name
   439  }
   440  
   441  func init() { file_testmsg_proto_init() }
   442  func file_testmsg_proto_init() {
   443  	if File_testmsg_proto != nil {
   444  		return
   445  	}
   446  	if !protoimpl.UnsafeEnabled {
   447  		file_testmsg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   448  			switch v := v.(*ServiceRequest); i {
   449  			case 0:
   450  				return &v.state
   451  			case 1:
   452  				return &v.sizeCache
   453  			case 2:
   454  				return &v.unknownFields
   455  			default:
   456  				return nil
   457  			}
   458  		}
   459  		file_testmsg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   460  			switch v := v.(*ServiceRequest1); i {
   461  			case 0:
   462  				return &v.state
   463  			case 1:
   464  				return &v.sizeCache
   465  			case 2:
   466  				return &v.unknownFields
   467  			default:
   468  				return nil
   469  			}
   470  		}
   471  		file_testmsg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   472  			switch v := v.(*ServiceRequest2); i {
   473  			case 0:
   474  				return &v.state
   475  			case 1:
   476  				return &v.sizeCache
   477  			case 2:
   478  				return &v.unknownFields
   479  			default:
   480  				return nil
   481  			}
   482  		}
   483  		file_testmsg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   484  			switch v := v.(*ServiceResponse); i {
   485  			case 0:
   486  				return &v.state
   487  			case 1:
   488  				return &v.sizeCache
   489  			case 2:
   490  				return &v.unknownFields
   491  			default:
   492  				return nil
   493  			}
   494  		}
   495  		file_testmsg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   496  			switch v := v.(*TestHello); i {
   497  			case 0:
   498  				return &v.state
   499  			case 1:
   500  				return &v.sizeCache
   501  			case 2:
   502  				return &v.unknownFields
   503  			default:
   504  				return nil
   505  			}
   506  		}
   507  	}
   508  	type x struct{}
   509  	out := protoimpl.TypeBuilder{
   510  		File: protoimpl.DescBuilder{
   511  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   512  			RawDescriptor: file_testmsg_proto_rawDesc,
   513  			NumEnums:      0,
   514  			NumMessages:   5,
   515  			NumExtensions: 0,
   516  			NumServices:   0,
   517  		},
   518  		GoTypes:           file_testmsg_proto_goTypes,
   519  		DependencyIndexes: file_testmsg_proto_depIdxs,
   520  		MessageInfos:      file_testmsg_proto_msgTypes,
   521  	}.Build()
   522  	File_testmsg_proto = out.File
   523  	file_testmsg_proto_rawDesc = nil
   524  	file_testmsg_proto_goTypes = nil
   525  	file_testmsg_proto_depIdxs = nil
   526  }