github.com/erda-project/erda-infra@v1.0.9/examples/service/protocol/pb/user.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.26.0
     4  // 	protoc        v3.15.8
     5  // source: user.proto
     6  
     7  package pb
     8  
     9  import (
    10  	reflect "reflect"
    11  	sync "sync"
    12  
    13  	_ "google.golang.org/genproto/googleapis/api/annotations"
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  type User struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	Id    int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
    31  	Name  string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    32  	Age   int32   `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"`
    33  	Books []int64 `protobuf:"varint,4,rep,packed,name=books,proto3" json:"books,omitempty"`
    34  }
    35  
    36  func (x *User) Reset() {
    37  	*x = User{}
    38  	if protoimpl.UnsafeEnabled {
    39  		mi := &file_user_proto_msgTypes[0]
    40  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    41  		ms.StoreMessageInfo(mi)
    42  	}
    43  }
    44  
    45  func (x *User) String() string {
    46  	return protoimpl.X.MessageStringOf(x)
    47  }
    48  
    49  func (*User) ProtoMessage() {}
    50  
    51  func (x *User) ProtoReflect() protoreflect.Message {
    52  	mi := &file_user_proto_msgTypes[0]
    53  	if protoimpl.UnsafeEnabled && x != nil {
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		if ms.LoadMessageInfo() == nil {
    56  			ms.StoreMessageInfo(mi)
    57  		}
    58  		return ms
    59  	}
    60  	return mi.MessageOf(x)
    61  }
    62  
    63  // Deprecated: Use User.ProtoReflect.Descriptor instead.
    64  func (*User) Descriptor() ([]byte, []int) {
    65  	return file_user_proto_rawDescGZIP(), []int{0}
    66  }
    67  
    68  func (x *User) GetId() int64 {
    69  	if x != nil {
    70  		return x.Id
    71  	}
    72  	return 0
    73  }
    74  
    75  func (x *User) GetName() string {
    76  	if x != nil {
    77  		return x.Name
    78  	}
    79  	return ""
    80  }
    81  
    82  func (x *User) GetAge() int32 {
    83  	if x != nil {
    84  		return x.Age
    85  	}
    86  	return 0
    87  }
    88  
    89  func (x *User) GetBooks() []int64 {
    90  	if x != nil {
    91  		return x.Books
    92  	}
    93  	return nil
    94  }
    95  
    96  type GetUserRequest struct {
    97  	state         protoimpl.MessageState
    98  	sizeCache     protoimpl.SizeCache
    99  	unknownFields protoimpl.UnknownFields
   100  
   101  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   102  }
   103  
   104  func (x *GetUserRequest) Reset() {
   105  	*x = GetUserRequest{}
   106  	if protoimpl.UnsafeEnabled {
   107  		mi := &file_user_proto_msgTypes[1]
   108  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   109  		ms.StoreMessageInfo(mi)
   110  	}
   111  }
   112  
   113  func (x *GetUserRequest) String() string {
   114  	return protoimpl.X.MessageStringOf(x)
   115  }
   116  
   117  func (*GetUserRequest) ProtoMessage() {}
   118  
   119  func (x *GetUserRequest) ProtoReflect() protoreflect.Message {
   120  	mi := &file_user_proto_msgTypes[1]
   121  	if protoimpl.UnsafeEnabled && x != nil {
   122  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   123  		if ms.LoadMessageInfo() == nil {
   124  			ms.StoreMessageInfo(mi)
   125  		}
   126  		return ms
   127  	}
   128  	return mi.MessageOf(x)
   129  }
   130  
   131  // Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
   132  func (*GetUserRequest) Descriptor() ([]byte, []int) {
   133  	return file_user_proto_rawDescGZIP(), []int{1}
   134  }
   135  
   136  func (x *GetUserRequest) GetId() string {
   137  	if x != nil {
   138  		return x.Id
   139  	}
   140  	return ""
   141  }
   142  
   143  type GetUserResponse struct {
   144  	state         protoimpl.MessageState
   145  	sizeCache     protoimpl.SizeCache
   146  	unknownFields protoimpl.UnknownFields
   147  
   148  	Success bool  `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
   149  	Data    *User `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
   150  }
   151  
   152  func (x *GetUserResponse) Reset() {
   153  	*x = GetUserResponse{}
   154  	if protoimpl.UnsafeEnabled {
   155  		mi := &file_user_proto_msgTypes[2]
   156  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   157  		ms.StoreMessageInfo(mi)
   158  	}
   159  }
   160  
   161  func (x *GetUserResponse) String() string {
   162  	return protoimpl.X.MessageStringOf(x)
   163  }
   164  
   165  func (*GetUserResponse) ProtoMessage() {}
   166  
   167  func (x *GetUserResponse) ProtoReflect() protoreflect.Message {
   168  	mi := &file_user_proto_msgTypes[2]
   169  	if protoimpl.UnsafeEnabled && x != nil {
   170  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   171  		if ms.LoadMessageInfo() == nil {
   172  			ms.StoreMessageInfo(mi)
   173  		}
   174  		return ms
   175  	}
   176  	return mi.MessageOf(x)
   177  }
   178  
   179  // Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
   180  func (*GetUserResponse) Descriptor() ([]byte, []int) {
   181  	return file_user_proto_rawDescGZIP(), []int{2}
   182  }
   183  
   184  func (x *GetUserResponse) GetSuccess() bool {
   185  	if x != nil {
   186  		return x.Success
   187  	}
   188  	return false
   189  }
   190  
   191  func (x *GetUserResponse) GetData() *User {
   192  	if x != nil {
   193  		return x.Data
   194  	}
   195  	return nil
   196  }
   197  
   198  type UpdateUserRequest struct {
   199  	state         protoimpl.MessageState
   200  	sizeCache     protoimpl.SizeCache
   201  	unknownFields protoimpl.UnknownFields
   202  
   203  	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
   204  }
   205  
   206  func (x *UpdateUserRequest) Reset() {
   207  	*x = UpdateUserRequest{}
   208  	if protoimpl.UnsafeEnabled {
   209  		mi := &file_user_proto_msgTypes[3]
   210  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   211  		ms.StoreMessageInfo(mi)
   212  	}
   213  }
   214  
   215  func (x *UpdateUserRequest) String() string {
   216  	return protoimpl.X.MessageStringOf(x)
   217  }
   218  
   219  func (*UpdateUserRequest) ProtoMessage() {}
   220  
   221  func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
   222  	mi := &file_user_proto_msgTypes[3]
   223  	if protoimpl.UnsafeEnabled && x != nil {
   224  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   225  		if ms.LoadMessageInfo() == nil {
   226  			ms.StoreMessageInfo(mi)
   227  		}
   228  		return ms
   229  	}
   230  	return mi.MessageOf(x)
   231  }
   232  
   233  // Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
   234  func (*UpdateUserRequest) Descriptor() ([]byte, []int) {
   235  	return file_user_proto_rawDescGZIP(), []int{3}
   236  }
   237  
   238  func (x *UpdateUserRequest) GetUser() *User {
   239  	if x != nil {
   240  		return x.User
   241  	}
   242  	return nil
   243  }
   244  
   245  type UpdateUserResponse struct {
   246  	state         protoimpl.MessageState
   247  	sizeCache     protoimpl.SizeCache
   248  	unknownFields protoimpl.UnknownFields
   249  
   250  	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
   251  }
   252  
   253  func (x *UpdateUserResponse) Reset() {
   254  	*x = UpdateUserResponse{}
   255  	if protoimpl.UnsafeEnabled {
   256  		mi := &file_user_proto_msgTypes[4]
   257  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   258  		ms.StoreMessageInfo(mi)
   259  	}
   260  }
   261  
   262  func (x *UpdateUserResponse) String() string {
   263  	return protoimpl.X.MessageStringOf(x)
   264  }
   265  
   266  func (*UpdateUserResponse) ProtoMessage() {}
   267  
   268  func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message {
   269  	mi := &file_user_proto_msgTypes[4]
   270  	if protoimpl.UnsafeEnabled && x != nil {
   271  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   272  		if ms.LoadMessageInfo() == nil {
   273  			ms.StoreMessageInfo(mi)
   274  		}
   275  		return ms
   276  	}
   277  	return mi.MessageOf(x)
   278  }
   279  
   280  // Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
   281  func (*UpdateUserResponse) Descriptor() ([]byte, []int) {
   282  	return file_user_proto_rawDescGZIP(), []int{4}
   283  }
   284  
   285  func (x *UpdateUserResponse) GetSuccess() bool {
   286  	if x != nil {
   287  		return x.Success
   288  	}
   289  	return false
   290  }
   291  
   292  var File_user_proto protoreflect.FileDescriptor
   293  
   294  var file_user_proto_rawDesc = []byte{
   295  	0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x65, 0x72,
   296  	0x64, 0x61, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
   297  	0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
   298  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52,
   299  	0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
   300  	0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
   301  	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67,
   302  	0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05,
   303  	0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x62, 0x6f, 0x6f,
   304  	0x6b, 0x73, 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
   305  	0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   306  	0x52, 0x02, 0x69, 0x64, 0x22, 0x59, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52,
   307  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
   308  	0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73,
   309  	0x73, 0x12, 0x2c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
   310  	0x18, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x65, 0x78, 0x61,
   311  	0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
   312  	0x41, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
   313  	0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
   314  	0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e,
   315  	0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73,
   316  	0x65, 0x72, 0x22, 0x2e, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
   317  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63,
   318  	0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
   319  	0x73, 0x73, 0x32, 0xf3, 0x01, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69,
   320  	0x63, 0x65, 0x12, 0x6a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x22, 0x2e,
   321  	0x65, 0x72, 0x64, 0x61, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70,
   322  	0x6c, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   323  	0x74, 0x1a, 0x23, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x65,
   324  	0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
   325  	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e,
   326  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x78,
   327  	0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x65,
   328  	0x72, 0x64, 0x61, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
   329  	0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
   330  	0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61,
   331  	0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
   332  	0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4,
   333  	0x93, 0x02, 0x15, 0x1a, 0x13, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b,
   334  	0x75, 0x73, 0x65, 0x72, 0x2e, 0x69, 0x64, 0x7d, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68,
   335  	0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x72, 0x64, 0x61, 0x2d, 0x70, 0x72, 0x6f, 0x6a,
   336  	0x65, 0x63, 0x74, 0x2f, 0x65, 0x72, 0x64, 0x61, 0x2d, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x65,
   337  	0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
   338  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
   339  	0x74, 0x6f, 0x33,
   340  }
   341  
   342  var (
   343  	file_user_proto_rawDescOnce sync.Once
   344  	file_user_proto_rawDescData = file_user_proto_rawDesc
   345  )
   346  
   347  func file_user_proto_rawDescGZIP() []byte {
   348  	file_user_proto_rawDescOnce.Do(func() {
   349  		file_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_proto_rawDescData)
   350  	})
   351  	return file_user_proto_rawDescData
   352  }
   353  
   354  var file_user_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   355  var file_user_proto_goTypes = []interface{}{
   356  	(*User)(nil),               // 0: erda.infra.example.User
   357  	(*GetUserRequest)(nil),     // 1: erda.infra.example.GetUserRequest
   358  	(*GetUserResponse)(nil),    // 2: erda.infra.example.GetUserResponse
   359  	(*UpdateUserRequest)(nil),  // 3: erda.infra.example.UpdateUserRequest
   360  	(*UpdateUserResponse)(nil), // 4: erda.infra.example.UpdateUserResponse
   361  }
   362  var file_user_proto_depIdxs = []int32{
   363  	0, // 0: erda.infra.example.GetUserResponse.data:type_name -> erda.infra.example.User
   364  	0, // 1: erda.infra.example.UpdateUserRequest.user:type_name -> erda.infra.example.User
   365  	1, // 2: erda.infra.example.UserService.GetUser:input_type -> erda.infra.example.GetUserRequest
   366  	3, // 3: erda.infra.example.UserService.UpdateUser:input_type -> erda.infra.example.UpdateUserRequest
   367  	2, // 4: erda.infra.example.UserService.GetUser:output_type -> erda.infra.example.GetUserResponse
   368  	4, // 5: erda.infra.example.UserService.UpdateUser:output_type -> erda.infra.example.UpdateUserResponse
   369  	4, // [4:6] is the sub-list for method output_type
   370  	2, // [2:4] is the sub-list for method input_type
   371  	2, // [2:2] is the sub-list for extension type_name
   372  	2, // [2:2] is the sub-list for extension extendee
   373  	0, // [0:2] is the sub-list for field type_name
   374  }
   375  
   376  func init() { file_user_proto_init() }
   377  func file_user_proto_init() {
   378  	if File_user_proto != nil {
   379  		return
   380  	}
   381  	if !protoimpl.UnsafeEnabled {
   382  		file_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   383  			switch v := v.(*User); i {
   384  			case 0:
   385  				return &v.state
   386  			case 1:
   387  				return &v.sizeCache
   388  			case 2:
   389  				return &v.unknownFields
   390  			default:
   391  				return nil
   392  			}
   393  		}
   394  		file_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   395  			switch v := v.(*GetUserRequest); i {
   396  			case 0:
   397  				return &v.state
   398  			case 1:
   399  				return &v.sizeCache
   400  			case 2:
   401  				return &v.unknownFields
   402  			default:
   403  				return nil
   404  			}
   405  		}
   406  		file_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   407  			switch v := v.(*GetUserResponse); i {
   408  			case 0:
   409  				return &v.state
   410  			case 1:
   411  				return &v.sizeCache
   412  			case 2:
   413  				return &v.unknownFields
   414  			default:
   415  				return nil
   416  			}
   417  		}
   418  		file_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   419  			switch v := v.(*UpdateUserRequest); i {
   420  			case 0:
   421  				return &v.state
   422  			case 1:
   423  				return &v.sizeCache
   424  			case 2:
   425  				return &v.unknownFields
   426  			default:
   427  				return nil
   428  			}
   429  		}
   430  		file_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   431  			switch v := v.(*UpdateUserResponse); i {
   432  			case 0:
   433  				return &v.state
   434  			case 1:
   435  				return &v.sizeCache
   436  			case 2:
   437  				return &v.unknownFields
   438  			default:
   439  				return nil
   440  			}
   441  		}
   442  	}
   443  	type x struct{}
   444  	out := protoimpl.TypeBuilder{
   445  		File: protoimpl.DescBuilder{
   446  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   447  			RawDescriptor: file_user_proto_rawDesc,
   448  			NumEnums:      0,
   449  			NumMessages:   5,
   450  			NumExtensions: 0,
   451  			NumServices:   1,
   452  		},
   453  		GoTypes:           file_user_proto_goTypes,
   454  		DependencyIndexes: file_user_proto_depIdxs,
   455  		MessageInfos:      file_user_proto_msgTypes,
   456  	}.Build()
   457  	File_user_proto = out.File
   458  	file_user_proto_rawDesc = nil
   459  	file_user_proto_goTypes = nil
   460  	file_user_proto_depIdxs = nil
   461  }