| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.34.2
- // protoc v3.19.4
- // source: proto/slowwild.proto
- package slowwildserver
- import (
- 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 UserEntity struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
- Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"` // 用户头像
- Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
- Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` // 用户名(唯一)
- Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码
- Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` // 是否锁住1-正常2-停用
- Sex int32 `protobuf:"varint,7,opt,name=sex,proto3" json:"sex,omitempty"` // 性别0-女1-男
- Follows int64 `protobuf:"varint,8,opt,name=follows,proto3" json:"follows,omitempty"` //粉丝
- Followings int64 `protobuf:"varint,9,opt,name=followings,proto3" json:"followings,omitempty"` // 关注量
- GetLikesCount int32 `protobuf:"varint,10,opt,name=get_likes_count,json=getLikesCount,proto3" json:"get_likes_count,omitempty"` //获得点赞数量
- GetCollectionCount int32 `protobuf:"varint,11,opt,name=get_collection_count,json=getCollectionCount,proto3" json:"get_collection_count,omitempty"` //获得收藏的数量
- }
- func (x *UserEntity) Reset() {
- *x = UserEntity{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserEntity) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserEntity) ProtoMessage() {}
- func (x *UserEntity) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 UserEntity.ProtoReflect.Descriptor instead.
- func (*UserEntity) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{0}
- }
- func (x *UserEntity) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *UserEntity) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *UserEntity) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
- func (x *UserEntity) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- func (x *UserEntity) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *UserEntity) GetStatus() int32 {
- if x != nil {
- return x.Status
- }
- return 0
- }
- func (x *UserEntity) GetSex() int32 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- func (x *UserEntity) GetFollows() int64 {
- if x != nil {
- return x.Follows
- }
- return 0
- }
- func (x *UserEntity) GetFollowings() int64 {
- if x != nil {
- return x.Followings
- }
- return 0
- }
- func (x *UserEntity) GetGetLikesCount() int32 {
- if x != nil {
- return x.GetLikesCount
- }
- return 0
- }
- func (x *UserEntity) GetGetCollectionCount() int32 {
- if x != nil {
- return x.GetCollectionCount
- }
- return 0
- }
- type LoginAndRegisterRsp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // token令牌
- Expire int64 `protobuf:"varint,2,opt,name=expire,proto3" json:"expire,omitempty"` // 到期时间
- }
- func (x *LoginAndRegisterRsp) Reset() {
- *x = LoginAndRegisterRsp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *LoginAndRegisterRsp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LoginAndRegisterRsp) ProtoMessage() {}
- func (x *LoginAndRegisterRsp) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 LoginAndRegisterRsp.ProtoReflect.Descriptor instead.
- func (*LoginAndRegisterRsp) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{1}
- }
- func (x *LoginAndRegisterRsp) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
- }
- func (x *LoginAndRegisterRsp) GetExpire() int64 {
- if x != nil {
- return x.Expire
- }
- return 0
- }
- type LoginReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` //手机号
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码
- Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` //验证码
- LoginType int32 `protobuf:"varint,4,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"` // 登录类型
- }
- func (x *LoginReq) Reset() {
- *x = LoginReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *LoginReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LoginReq) ProtoMessage() {}
- func (x *LoginReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 LoginReq.ProtoReflect.Descriptor instead.
- func (*LoginReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{2}
- }
- func (x *LoginReq) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *LoginReq) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- func (x *LoginReq) GetCode() string {
- if x != nil {
- return x.Code
- }
- return ""
- }
- func (x *LoginReq) GetLoginType() int32 {
- if x != nil {
- return x.LoginType
- }
- return 0
- }
- type RegisterReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 用户名
- Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // 密码
- Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` // 头像
- Sex int32 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
- }
- func (x *RegisterReq) Reset() {
- *x = RegisterReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RegisterReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RegisterReq) ProtoMessage() {}
- func (x *RegisterReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 RegisterReq.ProtoReflect.Descriptor instead.
- func (*RegisterReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{3}
- }
- func (x *RegisterReq) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *RegisterReq) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
- func (x *RegisterReq) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- func (x *RegisterReq) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *RegisterReq) GetSex() int32 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- type GetUserInfoReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
- }
- func (x *GetUserInfoReq) Reset() {
- *x = GetUserInfoReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetUserInfoReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetUserInfoReq) ProtoMessage() {}
- func (x *GetUserInfoReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 GetUserInfoReq.ProtoReflect.Descriptor instead.
- func (*GetUserInfoReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{4}
- }
- func (x *GetUserInfoReq) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- type GetUserInfoResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- User *UserEntity `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
- }
- func (x *GetUserInfoResp) Reset() {
- *x = GetUserInfoResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetUserInfoResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetUserInfoResp) ProtoMessage() {}
- func (x *GetUserInfoResp) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 GetUserInfoResp.ProtoReflect.Descriptor instead.
- func (*GetUserInfoResp) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{5}
- }
- func (x *GetUserInfoResp) GetUser() *UserEntity {
- if x != nil {
- return x.User
- }
- return nil
- }
- type FindUserReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // 用户昵称
- Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号码
- Ids []int64 `protobuf:"varint,3,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 用户id
- }
- func (x *FindUserReq) Reset() {
- *x = FindUserReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FindUserReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FindUserReq) ProtoMessage() {}
- func (x *FindUserReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 FindUserReq.ProtoReflect.Descriptor instead.
- func (*FindUserReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{6}
- }
- func (x *FindUserReq) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- func (x *FindUserReq) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *FindUserReq) GetIds() []int64 {
- if x != nil {
- return x.Ids
- }
- return nil
- }
- type FindUserResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserList []*UserEntity `protobuf:"bytes,1,rep,name=user_list,json=userList,proto3" json:"user_list,omitempty"` // 用户信息
- }
- func (x *FindUserResp) Reset() {
- *x = FindUserResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FindUserResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FindUserResp) ProtoMessage() {}
- func (x *FindUserResp) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 FindUserResp.ProtoReflect.Descriptor instead.
- func (*FindUserResp) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{7}
- }
- func (x *FindUserResp) GetUserList() []*UserEntity {
- if x != nil {
- return x.UserList
- }
- return nil
- }
- // 用户关注
- type FollowUserReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 当前登录用户id
- FollowUserId int64 `protobuf:"varint,2,opt,name=follow_user_id,json=followUserId,proto3" json:"follow_user_id,omitempty"` // 被关注的用户id
- }
- func (x *FollowUserReq) Reset() {
- *x = FollowUserReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FollowUserReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FollowUserReq) ProtoMessage() {}
- func (x *FollowUserReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 FollowUserReq.ProtoReflect.Descriptor instead.
- func (*FollowUserReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{8}
- }
- func (x *FollowUserReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *FollowUserReq) GetFollowUserId() int64 {
- if x != nil {
- return x.FollowUserId
- }
- return 0
- }
- type FollowUserRes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // 是否关注成功
- }
- func (x *FollowUserRes) Reset() {
- *x = FollowUserRes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FollowUserRes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FollowUserRes) ProtoMessage() {}
- func (x *FollowUserRes) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 FollowUserRes.ProtoReflect.Descriptor instead.
- func (*FollowUserRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{9}
- }
- func (x *FollowUserRes) GetSuccess() bool {
- if x != nil {
- return x.Success
- }
- return false
- }
- // 用户取消关注
- type UnFollowUserReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 当前登录的用户id
- UnFollowUserId int64 `protobuf:"varint,2,opt,name=un_follow_user_id,json=unFollowUserId,proto3" json:"un_follow_user_id,omitempty"` // 当前被取消关注的用户id
- }
- func (x *UnFollowUserReq) Reset() {
- *x = UnFollowUserReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UnFollowUserReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UnFollowUserReq) ProtoMessage() {}
- func (x *UnFollowUserReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 UnFollowUserReq.ProtoReflect.Descriptor instead.
- func (*UnFollowUserReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{10}
- }
- func (x *UnFollowUserReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *UnFollowUserReq) GetUnFollowUserId() int64 {
- if x != nil {
- return x.UnFollowUserId
- }
- return 0
- }
- type UnFollowUserRes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // 是否关注成功
- }
- func (x *UnFollowUserRes) Reset() {
- *x = UnFollowUserRes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UnFollowUserRes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UnFollowUserRes) ProtoMessage() {}
- func (x *UnFollowUserRes) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 UnFollowUserRes.ProtoReflect.Descriptor instead.
- func (*UnFollowUserRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{11}
- }
- func (x *UnFollowUserRes) GetSuccess() bool {
- if x != nil {
- return x.Success
- }
- return false
- }
- // 查询粉丝列表
- type GetFollowingReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 当前登录用户的id
- Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // 数量限制
- Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // 分页开始偏移量
- QueryUserId int64 `protobuf:"varint,4,opt,name=query_user_id,json=queryUserId,proto3" json:"query_user_id,omitempty"` // 查询用户的id
- }
- func (x *GetFollowingReq) Reset() {
- *x = GetFollowingReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetFollowingReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetFollowingReq) ProtoMessage() {}
- func (x *GetFollowingReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_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 GetFollowingReq.ProtoReflect.Descriptor instead.
- func (*GetFollowingReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{12}
- }
- func (x *GetFollowingReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *GetFollowingReq) GetLimit() int32 {
- if x != nil {
- return x.Limit
- }
- return 0
- }
- func (x *GetFollowingReq) GetOffset() int32 {
- if x != nil {
- return x.Offset
- }
- return 0
- }
- func (x *GetFollowingReq) GetQueryUserId() int64 {
- if x != nil {
- return x.QueryUserId
- }
- return 0
- }
- type GetFollowingRes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- List []*UserEntity `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
- }
- func (x *GetFollowingRes) Reset() {
- *x = GetFollowingRes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetFollowingRes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetFollowingRes) ProtoMessage() {}
- func (x *GetFollowingRes) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_proto_msgTypes[13]
- 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 GetFollowingRes.ProtoReflect.Descriptor instead.
- func (*GetFollowingRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{13}
- }
- func (x *GetFollowingRes) GetList() []*UserEntity {
- if x != nil {
- return x.List
- }
- return nil
- }
- func (x *GetFollowingRes) GetTotal() int64 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- // 查询我关注的列表
- type GetFollowReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 当前登录用户的id
- Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // 数量限制
- Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // 分页开始偏移量
- QueryUserId int64 `protobuf:"varint,4,opt,name=query_user_id,json=queryUserId,proto3" json:"query_user_id,omitempty"` // 查询用户的id
- }
- func (x *GetFollowReq) Reset() {
- *x = GetFollowReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetFollowReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetFollowReq) ProtoMessage() {}
- func (x *GetFollowReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_proto_msgTypes[14]
- 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 GetFollowReq.ProtoReflect.Descriptor instead.
- func (*GetFollowReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{14}
- }
- func (x *GetFollowReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *GetFollowReq) GetLimit() int32 {
- if x != nil {
- return x.Limit
- }
- return 0
- }
- func (x *GetFollowReq) GetOffset() int32 {
- if x != nil {
- return x.Offset
- }
- return 0
- }
- func (x *GetFollowReq) GetQueryUserId() int64 {
- if x != nil {
- return x.QueryUserId
- }
- return 0
- }
- type GetFollowRes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- List []*UserEntity `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
- }
- func (x *GetFollowRes) Reset() {
- *x = GetFollowRes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetFollowRes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetFollowRes) ProtoMessage() {}
- func (x *GetFollowRes) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_proto_msgTypes[15]
- 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 GetFollowRes.ProtoReflect.Descriptor instead.
- func (*GetFollowRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{15}
- }
- func (x *GetFollowRes) GetList() []*UserEntity {
- if x != nil {
- return x.List
- }
- return nil
- }
- func (x *GetFollowRes) GetTotal() int64 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- // 查询用户信息
- type GetUserProfileReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- }
- func (x *GetUserProfileReq) Reset() {
- *x = GetUserProfileReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetUserProfileReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetUserProfileReq) ProtoMessage() {}
- func (x *GetUserProfileReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_proto_msgTypes[16]
- 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 GetUserProfileReq.ProtoReflect.Descriptor instead.
- func (*GetUserProfileReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{16}
- }
- func (x *GetUserProfileReq) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- func (x *GetUserProfileReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- type GetUserProfileRes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 用户昵称
- Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // 用户名
- Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` // 用户状态0-正常1-封禁中2-禁言中3-删除
- Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"` // 头像
- IsFriend bool `protobuf:"varint,7,opt,name=is_friend,json=isFriend,proto3" json:"is_friend,omitempty"` // 是否是好友
- IsFollowing bool `protobuf:"varint,8,opt,name=is_following,json=isFollowing,proto3" json:"is_following,omitempty"` // 是否关注
- CreatedOn int64 `protobuf:"varint,9,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // 注册时间
- Follows int64 `protobuf:"varint,10,opt,name=follows,proto3" json:"follows,omitempty"` // 关注数
- Fans int64 `protobuf:"varint,11,opt,name=fans,proto3" json:"fans,omitempty"` // 粉丝数
- GetLikesCount int32 `protobuf:"varint,12,opt,name=get_likes_count,json=getLikesCount,proto3" json:"get_likes_count,omitempty"` //获得点赞数量
- GetCollectionCount int32 `protobuf:"varint,13,opt,name=get_collection_count,json=getCollectionCount,proto3" json:"get_collection_count,omitempty"` //获得收藏的数量
- }
- func (x *GetUserProfileRes) Reset() {
- *x = GetUserProfileRes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetUserProfileRes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetUserProfileRes) ProtoMessage() {}
- func (x *GetUserProfileRes) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_proto_msgTypes[17]
- 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 GetUserProfileRes.ProtoReflect.Descriptor instead.
- func (*GetUserProfileRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{17}
- }
- func (x *GetUserProfileRes) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *GetUserProfileRes) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
- func (x *GetUserProfileRes) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- func (x *GetUserProfileRes) GetStatus() int32 {
- if x != nil {
- return x.Status
- }
- return 0
- }
- func (x *GetUserProfileRes) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *GetUserProfileRes) GetIsFriend() bool {
- if x != nil {
- return x.IsFriend
- }
- return false
- }
- func (x *GetUserProfileRes) GetIsFollowing() bool {
- if x != nil {
- return x.IsFollowing
- }
- return false
- }
- func (x *GetUserProfileRes) GetCreatedOn() int64 {
- if x != nil {
- return x.CreatedOn
- }
- return 0
- }
- func (x *GetUserProfileRes) GetFollows() int64 {
- if x != nil {
- return x.Follows
- }
- return 0
- }
- func (x *GetUserProfileRes) GetFans() int64 {
- if x != nil {
- return x.Fans
- }
- return 0
- }
- func (x *GetUserProfileRes) GetGetLikesCount() int32 {
- if x != nil {
- return x.GetLikesCount
- }
- return 0
- }
- func (x *GetUserProfileRes) GetGetCollectionCount() int32 {
- if x != nil {
- return x.GetCollectionCount
- }
- return 0
- }
- // 模糊查询用户
- type SearchUsernameReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
- }
- func (x *SearchUsernameReq) Reset() {
- *x = SearchUsernameReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchUsernameReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchUsernameReq) ProtoMessage() {}
- func (x *SearchUsernameReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_proto_msgTypes[18]
- 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 SearchUsernameReq.ProtoReflect.Descriptor instead.
- func (*SearchUsernameReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{18}
- }
- func (x *SearchUsernameReq) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- type SearchUsernameItem struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
- Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
- Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
- }
- func (x *SearchUsernameItem) Reset() {
- *x = SearchUsernameItem{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchUsernameItem) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchUsernameItem) ProtoMessage() {}
- func (x *SearchUsernameItem) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_proto_msgTypes[19]
- 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 SearchUsernameItem.ProtoReflect.Descriptor instead.
- func (*SearchUsernameItem) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{19}
- }
- func (x *SearchUsernameItem) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- func (x *SearchUsernameItem) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *SearchUsernameItem) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- type SearchUsernameRes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- List []*SearchUsernameItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- }
- func (x *SearchUsernameRes) Reset() {
- *x = SearchUsernameRes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchUsernameRes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchUsernameRes) ProtoMessage() {}
- func (x *SearchUsernameRes) ProtoReflect() protoreflect.Message {
- mi := &file_proto_slowwild_proto_msgTypes[20]
- 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 SearchUsernameRes.ProtoReflect.Descriptor instead.
- func (*SearchUsernameRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{20}
- }
- func (x *SearchUsernameRes) GetList() []*SearchUsernameItem {
- if x != nil {
- return x.List
- }
- return nil
- }
- var File_proto_slowwild_proto protoreflect.FileDescriptor
- var file_proto_slowwild_proto_rawDesc = []byte{
- 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64,
- 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x22, 0xc0, 0x02, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x45,
- 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1a, 0x0a,
- 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65,
- 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65,
- 0x72, 0x6e, 0x61, 0x6d, 0x65, 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, 0x73,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x73,
- 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x73, 0x12,
- 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x09, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x73, 0x12,
- 0x26, 0x0a, 0x0f, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6b, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x67, 0x65, 0x74, 0x4c, 0x69, 0x6b,
- 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x67, 0x65, 0x74, 0x5f, 0x63,
- 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
- 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x0a, 0x13, 0x4c, 0x6f, 0x67,
- 0x69, 0x6e, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x73, 0x70,
- 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x22, 0x6f,
- 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68,
- 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
- 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04,
- 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
- 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22,
- 0x85, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12,
- 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
- 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
- 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a,
- 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61,
- 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73,
- 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x41, 0x0a, 0x0f, 0x47, 0x65, 0x74,
- 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2e, 0x0a, 0x04,
- 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x6c, 0x6f,
- 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72,
- 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x51, 0x0a, 0x0b,
- 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x75,
- 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75,
- 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x10, 0x0a,
- 0x03, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22,
- 0x47, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x37, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72,
- 0x76, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08,
- 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x0d, 0x46, 0x6f, 0x6c, 0x6c,
- 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65,
- 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
- 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x75, 0x73, 0x65,
- 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x6f, 0x6c, 0x6c,
- 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x29, 0x0a, 0x0d, 0x46, 0x6f, 0x6c, 0x6c,
- 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63,
- 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63,
- 0x65, 0x73, 0x73, 0x22, 0x55, 0x0a, 0x0f, 0x55, 0x6e, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x55,
- 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
- 0x29, 0x0a, 0x11, 0x75, 0x6e, 0x5f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x75, 0x73, 0x65,
- 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x46, 0x6f,
- 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x2b, 0x0a, 0x0f, 0x55, 0x6e,
- 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x12, 0x18, 0x0a,
- 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
- 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x46, 0x6f,
- 0x6c, 0x6c, 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73,
- 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65,
- 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
- 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
- 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f,
- 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x55,
- 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x57, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x6c,
- 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74,
- 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c,
- 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69,
- 0x74, 0x79, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61,
- 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x79,
- 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x12, 0x17,
- 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a,
- 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f,
- 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x75,
- 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x71, 0x75,
- 0x65, 0x72, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x0c, 0x47, 0x65, 0x74,
- 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x6c, 0x69, 0x73,
- 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69,
- 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6e, 0x74,
- 0x69, 0x74, 0x79, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74,
- 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22,
- 0x48, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c,
- 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xf2, 0x02, 0x0a, 0x11, 0x47, 0x65,
- 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x12,
- 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,
- 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75,
- 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75,
- 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 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, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x66, 0x72,
- 0x69, 0x65, 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x46, 0x72,
- 0x69, 0x65, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f,
- 0x77, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x46, 0x6f,
- 0x6c, 0x6c, 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77,
- 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x73,
- 0x12, 0x12, 0x0a, 0x04, 0x66, 0x61, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
- 0x66, 0x61, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6b, 0x65,
- 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x67,
- 0x65, 0x74, 0x4c, 0x69, 0x6b, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14,
- 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x67, 0x65, 0x74, 0x43,
- 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x2f,
- 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
- 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22,
- 0x58, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
- 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
- 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x11, 0x53, 0x65, 0x61,
- 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x12, 0x36,
- 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x73,
- 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x53, 0x65,
- 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x49, 0x74, 0x65, 0x6d,
- 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x32, 0xa8, 0x06, 0x0a, 0x0e, 0x53, 0x6c, 0x6f, 0x77, 0x57,
- 0x69, 0x6c, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x05, 0x4c, 0x6f, 0x67,
- 0x69, 0x6e, 0x12, 0x18, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72,
- 0x76, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x73,
- 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4c, 0x6f,
- 0x67, 0x69, 0x6e, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x73,
- 0x70, 0x12, 0x4c, 0x0a, 0x08, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x2e,
- 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x52,
- 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x73, 0x6c, 0x6f,
- 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x69,
- 0x6e, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12,
- 0x4e, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e,
- 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e,
- 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x1f,
- 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e,
- 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x45, 0x0a, 0x08, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x73, 0x6c,
- 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6e,
- 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77,
- 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4a, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x46, 0x6f,
- 0x6c, 0x6c, 0x6f, 0x77, 0x12, 0x1d, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73,
- 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65,
- 0x72, 0x76, 0x65, 0x72, 0x2e, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72, 0x52,
- 0x65, 0x73, 0x12, 0x50, 0x0a, 0x0c, 0x55, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x6f, 0x6c, 0x6c,
- 0x6f, 0x77, 0x12, 0x1f, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72,
- 0x76, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65,
- 0x72, 0x76, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x73, 0x65,
- 0x72, 0x52, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x46, 0x61, 0x6e, 0x73, 0x12,
- 0x1f, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
- 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71,
- 0x1a, 0x1f, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65,
- 0x72, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x52, 0x65,
- 0x73, 0x12, 0x4e, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x73, 0x12,
- 0x1f, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
- 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71,
- 0x1a, 0x1f, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65,
- 0x72, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x52, 0x65,
- 0x73, 0x12, 0x56, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66,
- 0x69, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65,
- 0x72, 0x76, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66,
- 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c,
- 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50,
- 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x0e, 0x53, 0x65, 0x61,
- 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x2e, 0x73, 0x6c,
- 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x61,
- 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x21,
- 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e,
- 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65,
- 0x73, 0x42, 0x19, 0x5a, 0x17, 0x73, 0x6c, 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x2f, 0x73, 0x6c,
- 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_proto_slowwild_proto_rawDescOnce sync.Once
- file_proto_slowwild_proto_rawDescData = file_proto_slowwild_proto_rawDesc
- )
- func file_proto_slowwild_proto_rawDescGZIP() []byte {
- file_proto_slowwild_proto_rawDescOnce.Do(func() {
- file_proto_slowwild_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_slowwild_proto_rawDescData)
- })
- return file_proto_slowwild_proto_rawDescData
- }
- var file_proto_slowwild_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
- var file_proto_slowwild_proto_goTypes = []any{
- (*UserEntity)(nil), // 0: slowwildserver.UserEntity
- (*LoginAndRegisterRsp)(nil), // 1: slowwildserver.LoginAndRegisterRsp
- (*LoginReq)(nil), // 2: slowwildserver.LoginReq
- (*RegisterReq)(nil), // 3: slowwildserver.RegisterReq
- (*GetUserInfoReq)(nil), // 4: slowwildserver.GetUserInfoReq
- (*GetUserInfoResp)(nil), // 5: slowwildserver.GetUserInfoResp
- (*FindUserReq)(nil), // 6: slowwildserver.FindUserReq
- (*FindUserResp)(nil), // 7: slowwildserver.FindUserResp
- (*FollowUserReq)(nil), // 8: slowwildserver.FollowUserReq
- (*FollowUserRes)(nil), // 9: slowwildserver.FollowUserRes
- (*UnFollowUserReq)(nil), // 10: slowwildserver.UnFollowUserReq
- (*UnFollowUserRes)(nil), // 11: slowwildserver.UnFollowUserRes
- (*GetFollowingReq)(nil), // 12: slowwildserver.GetFollowingReq
- (*GetFollowingRes)(nil), // 13: slowwildserver.GetFollowingRes
- (*GetFollowReq)(nil), // 14: slowwildserver.GetFollowReq
- (*GetFollowRes)(nil), // 15: slowwildserver.GetFollowRes
- (*GetUserProfileReq)(nil), // 16: slowwildserver.GetUserProfileReq
- (*GetUserProfileRes)(nil), // 17: slowwildserver.GetUserProfileRes
- (*SearchUsernameReq)(nil), // 18: slowwildserver.SearchUsernameReq
- (*SearchUsernameItem)(nil), // 19: slowwildserver.SearchUsernameItem
- (*SearchUsernameRes)(nil), // 20: slowwildserver.SearchUsernameRes
- }
- var file_proto_slowwild_proto_depIdxs = []int32{
- 0, // 0: slowwildserver.GetUserInfoResp.user:type_name -> slowwildserver.UserEntity
- 0, // 1: slowwildserver.FindUserResp.user_list:type_name -> slowwildserver.UserEntity
- 0, // 2: slowwildserver.GetFollowingRes.list:type_name -> slowwildserver.UserEntity
- 0, // 3: slowwildserver.GetFollowRes.list:type_name -> slowwildserver.UserEntity
- 19, // 4: slowwildserver.SearchUsernameRes.list:type_name -> slowwildserver.SearchUsernameItem
- 2, // 5: slowwildserver.SlowWildServer.Login:input_type -> slowwildserver.LoginReq
- 3, // 6: slowwildserver.SlowWildServer.Register:input_type -> slowwildserver.RegisterReq
- 4, // 7: slowwildserver.SlowWildServer.GetUserInfo:input_type -> slowwildserver.GetUserInfoReq
- 6, // 8: slowwildserver.SlowWildServer.FindUser:input_type -> slowwildserver.FindUserReq
- 8, // 9: slowwildserver.SlowWildServer.UserFollow:input_type -> slowwildserver.FollowUserReq
- 10, // 10: slowwildserver.SlowWildServer.UnUserFollow:input_type -> slowwildserver.UnFollowUserReq
- 12, // 11: slowwildserver.SlowWildServer.GetFans:input_type -> slowwildserver.GetFollowingReq
- 12, // 12: slowwildserver.SlowWildServer.GetFollows:input_type -> slowwildserver.GetFollowingReq
- 16, // 13: slowwildserver.SlowWildServer.GetUserProfile:input_type -> slowwildserver.GetUserProfileReq
- 18, // 14: slowwildserver.SlowWildServer.SearchUsername:input_type -> slowwildserver.SearchUsernameReq
- 1, // 15: slowwildserver.SlowWildServer.Login:output_type -> slowwildserver.LoginAndRegisterRsp
- 1, // 16: slowwildserver.SlowWildServer.Register:output_type -> slowwildserver.LoginAndRegisterRsp
- 5, // 17: slowwildserver.SlowWildServer.GetUserInfo:output_type -> slowwildserver.GetUserInfoResp
- 7, // 18: slowwildserver.SlowWildServer.FindUser:output_type -> slowwildserver.FindUserResp
- 9, // 19: slowwildserver.SlowWildServer.UserFollow:output_type -> slowwildserver.FollowUserRes
- 11, // 20: slowwildserver.SlowWildServer.UnUserFollow:output_type -> slowwildserver.UnFollowUserRes
- 13, // 21: slowwildserver.SlowWildServer.GetFans:output_type -> slowwildserver.GetFollowingRes
- 13, // 22: slowwildserver.SlowWildServer.GetFollows:output_type -> slowwildserver.GetFollowingRes
- 17, // 23: slowwildserver.SlowWildServer.GetUserProfile:output_type -> slowwildserver.GetUserProfileRes
- 20, // 24: slowwildserver.SlowWildServer.SearchUsername:output_type -> slowwildserver.SearchUsernameRes
- 15, // [15:25] is the sub-list for method output_type
- 5, // [5:15] is the sub-list for method input_type
- 5, // [5:5] is the sub-list for extension type_name
- 5, // [5:5] is the sub-list for extension extendee
- 0, // [0:5] is the sub-list for field type_name
- }
- func init() { file_proto_slowwild_proto_init() }
- func file_proto_slowwild_proto_init() {
- if File_proto_slowwild_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_proto_slowwild_proto_msgTypes[0].Exporter = func(v any, i int) any {
- switch v := v.(*UserEntity); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[1].Exporter = func(v any, i int) any {
- switch v := v.(*LoginAndRegisterRsp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[2].Exporter = func(v any, i int) any {
- switch v := v.(*LoginReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[3].Exporter = func(v any, i int) any {
- switch v := v.(*RegisterReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[4].Exporter = func(v any, i int) any {
- switch v := v.(*GetUserInfoReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[5].Exporter = func(v any, i int) any {
- switch v := v.(*GetUserInfoResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[6].Exporter = func(v any, i int) any {
- switch v := v.(*FindUserReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[7].Exporter = func(v any, i int) any {
- switch v := v.(*FindUserResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[8].Exporter = func(v any, i int) any {
- switch v := v.(*FollowUserReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[9].Exporter = func(v any, i int) any {
- switch v := v.(*FollowUserRes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[10].Exporter = func(v any, i int) any {
- switch v := v.(*UnFollowUserReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[11].Exporter = func(v any, i int) any {
- switch v := v.(*UnFollowUserRes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[12].Exporter = func(v any, i int) any {
- switch v := v.(*GetFollowingReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[13].Exporter = func(v any, i int) any {
- switch v := v.(*GetFollowingRes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[14].Exporter = func(v any, i int) any {
- switch v := v.(*GetFollowReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[15].Exporter = func(v any, i int) any {
- switch v := v.(*GetFollowRes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[16].Exporter = func(v any, i int) any {
- switch v := v.(*GetUserProfileReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[17].Exporter = func(v any, i int) any {
- switch v := v.(*GetUserProfileRes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[18].Exporter = func(v any, i int) any {
- switch v := v.(*SearchUsernameReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[19].Exporter = func(v any, i int) any {
- switch v := v.(*SearchUsernameItem); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_slowwild_proto_msgTypes[20].Exporter = func(v any, i int) any {
- switch v := v.(*SearchUsernameRes); 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_proto_slowwild_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 21,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_proto_slowwild_proto_goTypes,
- DependencyIndexes: file_proto_slowwild_proto_depIdxs,
- MessageInfos: file_proto_slowwild_proto_msgTypes,
- }.Build()
- File_proto_slowwild_proto = out.File
- file_proto_slowwild_proto_rawDesc = nil
- file_proto_slowwild_proto_goTypes = nil
- file_proto_slowwild_proto_depIdxs = nil
- }
|