// todo generate the protobuf code here // delete the templates code start // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.1 // source: api/userExample/v1/userExample.proto package v1 import ( _ "github.com/envoyproxy/protoc-gen-validate/validate" types "github.com/zhufuyi/sponge/api/types" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type GenderType int32 const ( GenderType_UNKNOWN GenderType = 0 GenderType_MALE GenderType = 1 GenderType_FEMALE GenderType = 2 ) // Enum value maps for GenderType. var ( GenderType_name = map[int32]string{ 0: "UNKNOWN", 1: "MALE", 2: "FEMALE", } GenderType_value = map[string]int32{ "UNKNOWN": 0, "MALE": 1, "FEMALE": 2, } ) func (x GenderType) Enum() *GenderType { p := new(GenderType) *p = x return p } func (x GenderType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (GenderType) Descriptor() protoreflect.EnumDescriptor { return file_api_userExample_v1_userExample_proto_enumTypes[0].Descriptor() } func (GenderType) Type() protoreflect.EnumType { return &file_api_userExample_v1_userExample_proto_enumTypes[0] } func (x GenderType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use GenderType.Descriptor instead. func (GenderType) EnumDescriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{0} } type CreateUserExampleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称 Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // 邮件 Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // 密码 Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码 Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"` // 头像 Age int32 `protobuf:"varint,6,opt,name=age,proto3" json:"age,omitempty"` // 年龄 Gender GenderType `protobuf:"varint,7,opt,name=gender,proto3,enum=api.userExample.v1.GenderType" json:"gender,omitempty"` // 性别,0:未知,1:男,2:女 } func (x *CreateUserExampleRequest) Reset() { *x = CreateUserExampleRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateUserExampleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateUserExampleRequest) ProtoMessage() {} func (x *CreateUserExampleRequest) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateUserExampleRequest.ProtoReflect.Descriptor instead. func (*CreateUserExampleRequest) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{0} } func (x *CreateUserExampleRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateUserExampleRequest) GetEmail() string { if x != nil { return x.Email } return "" } func (x *CreateUserExampleRequest) GetPassword() string { if x != nil { return x.Password } return "" } func (x *CreateUserExampleRequest) GetPhone() string { if x != nil { return x.Phone } return "" } func (x *CreateUserExampleRequest) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *CreateUserExampleRequest) GetAge() int32 { if x != nil { return x.Age } return 0 } func (x *CreateUserExampleRequest) GetGender() GenderType { if x != nil { return x.Gender } return GenderType_UNKNOWN } type CreateUserExampleReply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *CreateUserExampleReply) Reset() { *x = CreateUserExampleReply{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateUserExampleReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateUserExampleReply) ProtoMessage() {} func (x *CreateUserExampleReply) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateUserExampleReply.ProtoReflect.Descriptor instead. func (*CreateUserExampleReply) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{1} } func (x *CreateUserExampleReply) GetId() uint64 { if x != nil { return x.Id } return 0 } type DeleteUserExampleByIDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *DeleteUserExampleByIDRequest) Reset() { *x = DeleteUserExampleByIDRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteUserExampleByIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteUserExampleByIDRequest) ProtoMessage() {} func (x *DeleteUserExampleByIDRequest) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteUserExampleByIDRequest.ProtoReflect.Descriptor instead. func (*DeleteUserExampleByIDRequest) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{2} } func (x *DeleteUserExampleByIDRequest) GetId() uint64 { if x != nil { return x.Id } return 0 } type DeleteUserExampleByIDReply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *DeleteUserExampleByIDReply) Reset() { *x = DeleteUserExampleByIDReply{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteUserExampleByIDReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteUserExampleByIDReply) ProtoMessage() {} func (x *DeleteUserExampleByIDReply) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteUserExampleByIDReply.ProtoReflect.Descriptor instead. func (*DeleteUserExampleByIDReply) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{3} } type UpdateUserExampleByIDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称 Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // 邮件 Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // 密码 Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码,必须在前加'+86' Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"` // 头像 Age int32 `protobuf:"varint,7,opt,name=age,proto3" json:"age,omitempty"` // 年龄 Gender GenderType `protobuf:"varint,8,opt,name=gender,proto3,enum=api.userExample.v1.GenderType" json:"gender,omitempty"` // 性别,1:男,2:女 Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` // 账号状态 LoginAt int64 `protobuf:"varint,10,opt,name=login_at,json=loginAt,proto3" json:"login_at,omitempty"` // 登录时间戳 } func (x *UpdateUserExampleByIDRequest) Reset() { *x = UpdateUserExampleByIDRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateUserExampleByIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateUserExampleByIDRequest) ProtoMessage() {} func (x *UpdateUserExampleByIDRequest) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateUserExampleByIDRequest.ProtoReflect.Descriptor instead. func (*UpdateUserExampleByIDRequest) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{4} } func (x *UpdateUserExampleByIDRequest) GetId() uint64 { if x != nil { return x.Id } return 0 } func (x *UpdateUserExampleByIDRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *UpdateUserExampleByIDRequest) GetEmail() string { if x != nil { return x.Email } return "" } func (x *UpdateUserExampleByIDRequest) GetPassword() string { if x != nil { return x.Password } return "" } func (x *UpdateUserExampleByIDRequest) GetPhone() string { if x != nil { return x.Phone } return "" } func (x *UpdateUserExampleByIDRequest) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *UpdateUserExampleByIDRequest) GetAge() int32 { if x != nil { return x.Age } return 0 } func (x *UpdateUserExampleByIDRequest) GetGender() GenderType { if x != nil { return x.Gender } return GenderType_UNKNOWN } func (x *UpdateUserExampleByIDRequest) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *UpdateUserExampleByIDRequest) GetLoginAt() int64 { if x != nil { return x.LoginAt } return 0 } type UpdateUserExampleByIDReply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *UpdateUserExampleByIDReply) Reset() { *x = UpdateUserExampleByIDReply{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateUserExampleByIDReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateUserExampleByIDReply) ProtoMessage() {} func (x *UpdateUserExampleByIDReply) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateUserExampleByIDReply.ProtoReflect.Descriptor instead. func (*UpdateUserExampleByIDReply) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{5} } type UserExample struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称 Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // 邮件 Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码,必须在前加'+86' Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"` // 头像 Age int32 `protobuf:"varint,6,opt,name=age,proto3" json:"age,omitempty"` // 年龄 Gender GenderType `protobuf:"varint,7,opt,name=gender,proto3,enum=api.userExample.v1.GenderType" json:"gender,omitempty"` // 性别,1:男,2:女 Status int32 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` // 账号状态 LoginAt int64 `protobuf:"varint,9,opt,name=login_at,json=loginAt,proto3" json:"login_at,omitempty"` // 登录时间戳 CreatedAt int64 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间 UpdatedAt int64 `protobuf:"varint,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 更新时间 } func (x *UserExample) Reset() { *x = UserExample{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UserExample) String() string { return protoimpl.X.MessageStringOf(x) } func (*UserExample) ProtoMessage() {} func (x *UserExample) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UserExample.ProtoReflect.Descriptor instead. func (*UserExample) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{6} } func (x *UserExample) GetId() uint64 { if x != nil { return x.Id } return 0 } func (x *UserExample) GetName() string { if x != nil { return x.Name } return "" } func (x *UserExample) GetEmail() string { if x != nil { return x.Email } return "" } func (x *UserExample) GetPhone() string { if x != nil { return x.Phone } return "" } func (x *UserExample) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *UserExample) GetAge() int32 { if x != nil { return x.Age } return 0 } func (x *UserExample) GetGender() GenderType { if x != nil { return x.Gender } return GenderType_UNKNOWN } func (x *UserExample) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *UserExample) GetLoginAt() int64 { if x != nil { return x.LoginAt } return 0 } func (x *UserExample) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *UserExample) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } type GetUserExampleByIDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *GetUserExampleByIDRequest) Reset() { *x = GetUserExampleByIDRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetUserExampleByIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUserExampleByIDRequest) ProtoMessage() {} func (x *GetUserExampleByIDRequest) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetUserExampleByIDRequest.ProtoReflect.Descriptor instead. func (*GetUserExampleByIDRequest) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{7} } func (x *GetUserExampleByIDRequest) GetId() uint64 { if x != nil { return x.Id } return 0 } type GetUserExampleByIDReply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserExample *UserExample `protobuf:"bytes,1,opt,name=userExample,proto3" json:"userExample,omitempty"` } func (x *GetUserExampleByIDReply) Reset() { *x = GetUserExampleByIDReply{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetUserExampleByIDReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUserExampleByIDReply) ProtoMessage() {} func (x *GetUserExampleByIDReply) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetUserExampleByIDReply.ProtoReflect.Descriptor instead. func (*GetUserExampleByIDReply) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{8} } func (x *GetUserExampleByIDReply) GetUserExample() *UserExample { if x != nil { return x.UserExample } return nil } type ListUserExampleByIDsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` } func (x *ListUserExampleByIDsRequest) Reset() { *x = ListUserExampleByIDsRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserExampleByIDsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserExampleByIDsRequest) ProtoMessage() {} func (x *ListUserExampleByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListUserExampleByIDsRequest.ProtoReflect.Descriptor instead. func (*ListUserExampleByIDsRequest) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{9} } func (x *ListUserExampleByIDsRequest) GetIds() []uint64 { if x != nil { return x.Ids } return nil } type ListUserExampleByIDsReply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserExamples []*UserExample `protobuf:"bytes,1,rep,name=userExamples,proto3" json:"userExamples,omitempty"` } func (x *ListUserExampleByIDsReply) Reset() { *x = ListUserExampleByIDsReply{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserExampleByIDsReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserExampleByIDsReply) ProtoMessage() {} func (x *ListUserExampleByIDsReply) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListUserExampleByIDsReply.ProtoReflect.Descriptor instead. func (*ListUserExampleByIDsReply) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{10} } func (x *ListUserExampleByIDsReply) GetUserExamples() []*UserExample { if x != nil { return x.UserExamples } return nil } type ListUserExampleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Params *types.Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` } func (x *ListUserExampleRequest) Reset() { *x = ListUserExampleRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserExampleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserExampleRequest) ProtoMessage() {} func (x *ListUserExampleRequest) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListUserExampleRequest.ProtoReflect.Descriptor instead. func (*ListUserExampleRequest) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{11} } func (x *ListUserExampleRequest) GetParams() *types.Params { if x != nil { return x.Params } return nil } type ListUserExampleReply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` UserExamples []*UserExample `protobuf:"bytes,2,rep,name=userExamples,proto3" json:"userExamples,omitempty"` } func (x *ListUserExampleReply) Reset() { *x = ListUserExampleReply{} if protoimpl.UnsafeEnabled { mi := &file_api_userExample_v1_userExample_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserExampleReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserExampleReply) ProtoMessage() {} func (x *ListUserExampleReply) ProtoReflect() protoreflect.Message { mi := &file_api_userExample_v1_userExample_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListUserExampleReply.ProtoReflect.Descriptor instead. func (*ListUserExampleReply) Descriptor() ([]byte, []int) { return file_api_userExample_v1_userExample_proto_rawDescGZIP(), []int{12} } func (x *ListUserExampleReply) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListUserExampleReply) GetUserExamples() []*UserExample { if x != nil { return x.UserExamples } return nil } var File_api_userExample_v1_userExample_proto protoreflect.FileDescriptor var file_api_userExample_v1_userExample_proto_rawDesc = []byte{ 0x0a, 0x24, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x02, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x60, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x0a, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x2e, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xfa, 0x42, 0x15, 0x72, 0x13, 0x32, 0x11, 0x5e, 0x31, 0x5b, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x5d, 0x5c, 0x64, 0x7b, 0x39, 0x7d, 0x24, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x20, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x72, 0x03, 0x88, 0x01, 0x01, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1b, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x1a, 0x04, 0x18, 0x78, 0x28, 0x00, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x31, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x32, 0x02, 0x28, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x37, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x32, 0x02, 0x28, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0xa8, 0x02, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x32, 0x02, 0x28, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x74, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0xb0, 0x02, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x34, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x32, 0x02, 0x28, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5c, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x22, 0x2f, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x60, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x43, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x22, 0x49, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x71, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x43, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2a, 0x2f, 0x0a, 0x0a, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x45, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x02, 0x32, 0x96, 0x05, 0x0a, 0x12, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x64, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x79, 0x49, 0x44, 0x12, 0x30, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x79, 0x49, 0x44, 0x12, 0x30, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x44, 0x12, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x49, 0x44, 0x73, 0x12, 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x68, 0x75, 0x66, 0x75, 0x79, 0x69, 0x2f, 0x73, 0x70, 0x6f, 0x6e, 0x67, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_api_userExample_v1_userExample_proto_rawDescOnce sync.Once file_api_userExample_v1_userExample_proto_rawDescData = file_api_userExample_v1_userExample_proto_rawDesc ) func file_api_userExample_v1_userExample_proto_rawDescGZIP() []byte { file_api_userExample_v1_userExample_proto_rawDescOnce.Do(func() { file_api_userExample_v1_userExample_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_userExample_v1_userExample_proto_rawDescData) }) return file_api_userExample_v1_userExample_proto_rawDescData } var file_api_userExample_v1_userExample_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_api_userExample_v1_userExample_proto_msgTypes = make([]protoimpl.MessageInfo, 13) var file_api_userExample_v1_userExample_proto_goTypes = []interface{}{ (GenderType)(0), // 0: api.userExample.v1.GenderType (*CreateUserExampleRequest)(nil), // 1: api.userExample.v1.CreateUserExampleRequest (*CreateUserExampleReply)(nil), // 2: api.userExample.v1.CreateUserExampleReply (*DeleteUserExampleByIDRequest)(nil), // 3: api.userExample.v1.DeleteUserExampleByIDRequest (*DeleteUserExampleByIDReply)(nil), // 4: api.userExample.v1.DeleteUserExampleByIDReply (*UpdateUserExampleByIDRequest)(nil), // 5: api.userExample.v1.UpdateUserExampleByIDRequest (*UpdateUserExampleByIDReply)(nil), // 6: api.userExample.v1.UpdateUserExampleByIDReply (*UserExample)(nil), // 7: api.userExample.v1.UserExample (*GetUserExampleByIDRequest)(nil), // 8: api.userExample.v1.GetUserExampleByIDRequest (*GetUserExampleByIDReply)(nil), // 9: api.userExample.v1.GetUserExampleByIDReply (*ListUserExampleByIDsRequest)(nil), // 10: api.userExample.v1.ListUserExampleByIDsRequest (*ListUserExampleByIDsReply)(nil), // 11: api.userExample.v1.ListUserExampleByIDsReply (*ListUserExampleRequest)(nil), // 12: api.userExample.v1.ListUserExampleRequest (*ListUserExampleReply)(nil), // 13: api.userExample.v1.ListUserExampleReply (*types.Params)(nil), // 14: types.Params } var file_api_userExample_v1_userExample_proto_depIdxs = []int32{ 0, // 0: api.userExample.v1.CreateUserExampleRequest.gender:type_name -> api.userExample.v1.GenderType 0, // 1: api.userExample.v1.UpdateUserExampleByIDRequest.gender:type_name -> api.userExample.v1.GenderType 0, // 2: api.userExample.v1.UserExample.gender:type_name -> api.userExample.v1.GenderType 7, // 3: api.userExample.v1.GetUserExampleByIDReply.userExample:type_name -> api.userExample.v1.UserExample 7, // 4: api.userExample.v1.ListUserExampleByIDsReply.userExamples:type_name -> api.userExample.v1.UserExample 14, // 5: api.userExample.v1.ListUserExampleRequest.params:type_name -> types.Params 7, // 6: api.userExample.v1.ListUserExampleReply.userExamples:type_name -> api.userExample.v1.UserExample 1, // 7: api.userExample.v1.userExampleService.Create:input_type -> api.userExample.v1.CreateUserExampleRequest 3, // 8: api.userExample.v1.userExampleService.DeleteByID:input_type -> api.userExample.v1.DeleteUserExampleByIDRequest 5, // 9: api.userExample.v1.userExampleService.UpdateByID:input_type -> api.userExample.v1.UpdateUserExampleByIDRequest 8, // 10: api.userExample.v1.userExampleService.GetByID:input_type -> api.userExample.v1.GetUserExampleByIDRequest 10, // 11: api.userExample.v1.userExampleService.ListByIDs:input_type -> api.userExample.v1.ListUserExampleByIDsRequest 12, // 12: api.userExample.v1.userExampleService.List:input_type -> api.userExample.v1.ListUserExampleRequest 2, // 13: api.userExample.v1.userExampleService.Create:output_type -> api.userExample.v1.CreateUserExampleReply 4, // 14: api.userExample.v1.userExampleService.DeleteByID:output_type -> api.userExample.v1.DeleteUserExampleByIDReply 6, // 15: api.userExample.v1.userExampleService.UpdateByID:output_type -> api.userExample.v1.UpdateUserExampleByIDReply 9, // 16: api.userExample.v1.userExampleService.GetByID:output_type -> api.userExample.v1.GetUserExampleByIDReply 11, // 17: api.userExample.v1.userExampleService.ListByIDs:output_type -> api.userExample.v1.ListUserExampleByIDsReply 13, // 18: api.userExample.v1.userExampleService.List:output_type -> api.userExample.v1.ListUserExampleReply 13, // [13:19] is the sub-list for method output_type 7, // [7:13] is the sub-list for method input_type 7, // [7:7] is the sub-list for extension type_name 7, // [7:7] is the sub-list for extension extendee 0, // [0:7] is the sub-list for field type_name } func init() { file_api_userExample_v1_userExample_proto_init() } func file_api_userExample_v1_userExample_proto_init() { if File_api_userExample_v1_userExample_proto != nil { return } if !protoimpl.UnsafeEnabled { file_api_userExample_v1_userExample_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserExampleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserExampleReply); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteUserExampleByIDRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteUserExampleByIDReply); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateUserExampleByIDRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateUserExampleByIDReply); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserExample); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetUserExampleByIDRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetUserExampleByIDReply); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserExampleByIDsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserExampleByIDsReply); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserExampleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_userExample_v1_userExample_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserExampleReply); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_api_userExample_v1_userExample_proto_rawDesc, NumEnums: 1, NumMessages: 13, NumExtensions: 0, NumServices: 1, }, GoTypes: file_api_userExample_v1_userExample_proto_goTypes, DependencyIndexes: file_api_userExample_v1_userExample_proto_depIdxs, EnumInfos: file_api_userExample_v1_userExample_proto_enumTypes, MessageInfos: file_api_userExample_v1_userExample_proto_msgTypes, }.Build() File_api_userExample_v1_userExample_proto = out.File file_api_userExample_v1_userExample_proto_rawDesc = nil file_api_userExample_v1_userExample_proto_goTypes = nil file_api_userExample_v1_userExample_proto_depIdxs = nil }