| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138 |
- // 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 UserInfo 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"` // 昵称
- Sex int32 `protobuf:"varint,7,opt,name=sex,proto3" json:"sex,omitempty"` // 性别0-女1-男
- }
- func (x *UserInfo) Reset() {
- *x = UserInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserInfo) ProtoMessage() {}
- func (x *UserInfo) 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 UserInfo.ProtoReflect.Descriptor instead.
- func (*UserInfo) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{1}
- }
- func (x *UserInfo) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *UserInfo) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *UserInfo) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
- func (x *UserInfo) GetSex() int32 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- type FollowUserInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
- IsMutualFollow bool `protobuf:"varint,2,opt,name=is_mutual_follow,json=isMutualFollow,proto3" json:"is_mutual_follow,omitempty"` // 是否互相关注
- }
- func (x *FollowUserInfo) Reset() {
- *x = FollowUserInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FollowUserInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FollowUserInfo) ProtoMessage() {}
- func (x *FollowUserInfo) 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 FollowUserInfo.ProtoReflect.Descriptor instead.
- func (*FollowUserInfo) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{2}
- }
- func (x *FollowUserInfo) GetUser() *UserInfo {
- if x != nil {
- return x.User
- }
- return nil
- }
- func (x *FollowUserInfo) GetIsMutualFollow() bool {
- if x != nil {
- return x.IsMutualFollow
- }
- return false
- }
- 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[3]
- 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[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 LoginAndRegisterRsp.ProtoReflect.Descriptor instead.
- func (*LoginAndRegisterRsp) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{3}
- }
- 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[4]
- 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[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 LoginReq.ProtoReflect.Descriptor instead.
- func (*LoginReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{4}
- }
- 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"` // 性别
- Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"` // 用户名(唯一)
- }
- func (x *RegisterReq) Reset() {
- *x = RegisterReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[5]
- 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[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 RegisterReq.ProtoReflect.Descriptor instead.
- func (*RegisterReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{5}
- }
- 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
- }
- func (x *RegisterReq) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- type GetUserInfoReq 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
- QueryUserId int64 `protobuf:"varint,2,opt,name=query_user_id,json=queryUserId,proto3" json:"query_user_id,omitempty"` // 查询用户id
- }
- func (x *GetUserInfoReq) Reset() {
- *x = GetUserInfoReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[6]
- 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[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 GetUserInfoReq.ProtoReflect.Descriptor instead.
- func (*GetUserInfoReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{6}
- }
- func (x *GetUserInfoReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *GetUserInfoReq) GetQueryUserId() int64 {
- if x != nil {
- return x.QueryUserId
- }
- return 0
- }
- type GetUserInfoResp 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"` // 昵称
- Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"` // 性别0-女1-男
- IsMutualFollow bool `protobuf:"varint,5,opt,name=is_mutual_follow,json=isMutualFollow,proto3" json:"is_mutual_follow,omitempty"` // 是否互相关注
- }
- func (x *GetUserInfoResp) Reset() {
- *x = GetUserInfoResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_slowwild_proto_msgTypes[7]
- 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[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 GetUserInfoResp.ProtoReflect.Descriptor instead.
- func (*GetUserInfoResp) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{7}
- }
- func (x *GetUserInfoResp) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *GetUserInfoResp) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *GetUserInfoResp) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
- func (x *GetUserInfoResp) GetSex() int32 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- func (x *GetUserInfoResp) GetIsMutualFollow() bool {
- if x != nil {
- return x.IsMutualFollow
- }
- return false
- }
- 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[8]
- 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[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 FindUserReq.ProtoReflect.Descriptor instead.
- func (*FindUserReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{8}
- }
- 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 []*UserInfo `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[9]
- 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[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 FindUserResp.ProtoReflect.Descriptor instead.
- func (*FindUserResp) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{9}
- }
- func (x *FindUserResp) GetUserList() []*UserInfo {
- 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[10]
- 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[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 FollowUserReq.ProtoReflect.Descriptor instead.
- func (*FollowUserReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{10}
- }
- 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[11]
- 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[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 FollowUserRes.ProtoReflect.Descriptor instead.
- func (*FollowUserRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{11}
- }
- 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[12]
- 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[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 UnFollowUserReq.ProtoReflect.Descriptor instead.
- func (*UnFollowUserReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{12}
- }
- 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[13]
- 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[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 UnFollowUserRes.ProtoReflect.Descriptor instead.
- func (*UnFollowUserRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{13}
- }
- 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
- PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 数量限制
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,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[14]
- 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[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 GetFollowingReq.ProtoReflect.Descriptor instead.
- func (*GetFollowingReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{14}
- }
- func (x *GetFollowingReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *GetFollowingReq) GetPageSize() int32 {
- if x != nil {
- return x.PageSize
- }
- return 0
- }
- func (x *GetFollowingReq) GetPage() int32 {
- if x != nil {
- return x.Page
- }
- 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 []*FollowUserInfo `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[15]
- 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[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 GetFollowingRes.ProtoReflect.Descriptor instead.
- func (*GetFollowingRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{15}
- }
- func (x *GetFollowingRes) GetList() []*FollowUserInfo {
- 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
- PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 数量限制
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,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[16]
- 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[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 GetFollowReq.ProtoReflect.Descriptor instead.
- func (*GetFollowReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{16}
- }
- func (x *GetFollowReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *GetFollowReq) GetPageSize() int32 {
- if x != nil {
- return x.PageSize
- }
- return 0
- }
- func (x *GetFollowReq) GetPage() int32 {
- if x != nil {
- return x.Page
- }
- 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 []*FollowUserInfo `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[17]
- 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[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 GetFollowRes.ProtoReflect.Descriptor instead.
- func (*GetFollowRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{17}
- }
- func (x *GetFollowRes) GetList() []*FollowUserInfo {
- 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[18]
- 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[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 GetUserProfileReq.ProtoReflect.Descriptor instead.
- func (*GetUserProfileReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{18}
- }
- 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[19]
- 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[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 GetUserProfileRes.ProtoReflect.Descriptor instead.
- func (*GetUserProfileRes) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{19}
- }
- 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[20]
- 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[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 SearchUsernameReq.ProtoReflect.Descriptor instead.
- func (*SearchUsernameReq) Descriptor() ([]byte, []int) {
- return file_proto_slowwild_proto_rawDescGZIP(), []int{20}
- }
- 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[21]
- 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[21]
- 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{21}
- }
- 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[22]
- 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[22]
- 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{22}
- }
- 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, 0x60, 0x0a, 0x08, 0x55, 0x73, 0x65,
- 0x72, 0x49, 0x6e, 0x66, 0x6f, 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, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x22, 0x68, 0x0a, 0x0e, 0x46,
- 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a,
- 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x6c,
- 0x6f, 0x77, 0x77, 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65,
- 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x69,
- 0x73, 0x5f, 0x6d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x46,
- 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 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, 0xa1, 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, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22,
- 0x4d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 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, 0x22, 0x0a, 0x0d, 0x71, 0x75,
- 0x65, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x91,
- 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
- 0x73, 0x70, 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, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x6d,
- 0x75, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x46, 0x6f, 0x6c, 0x6c,
- 0x6f, 0x77, 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, 0x45, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65,
- 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x35, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6c, 0x69,
- 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x77,
- 0x69, 0x6c, 0x64, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e,
- 0x66, 0x6f, 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, 0x7f, 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, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,
- 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
- 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 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, 0x5b, 0x0a, 0x0f,
- 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x12,
- 0x32, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 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, 0x49, 0x6e, 0x66, 0x6f, 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, 0x7c, 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, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
- 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70,
- 0x61, 0x67, 0x65, 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, 0x58, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x46, 0x6f,
- 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 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, 0x49, 0x6e, 0x66, 0x6f, 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, 23)
- var file_proto_slowwild_proto_goTypes = []any{
- (*UserEntity)(nil), // 0: slowwildserver.UserEntity
- (*UserInfo)(nil), // 1: slowwildserver.UserInfo
- (*FollowUserInfo)(nil), // 2: slowwildserver.FollowUserInfo
- (*LoginAndRegisterRsp)(nil), // 3: slowwildserver.LoginAndRegisterRsp
- (*LoginReq)(nil), // 4: slowwildserver.LoginReq
- (*RegisterReq)(nil), // 5: slowwildserver.RegisterReq
- (*GetUserInfoReq)(nil), // 6: slowwildserver.GetUserInfoReq
- (*GetUserInfoResp)(nil), // 7: slowwildserver.GetUserInfoResp
- (*FindUserReq)(nil), // 8: slowwildserver.FindUserReq
- (*FindUserResp)(nil), // 9: slowwildserver.FindUserResp
- (*FollowUserReq)(nil), // 10: slowwildserver.FollowUserReq
- (*FollowUserRes)(nil), // 11: slowwildserver.FollowUserRes
- (*UnFollowUserReq)(nil), // 12: slowwildserver.UnFollowUserReq
- (*UnFollowUserRes)(nil), // 13: slowwildserver.UnFollowUserRes
- (*GetFollowingReq)(nil), // 14: slowwildserver.GetFollowingReq
- (*GetFollowingRes)(nil), // 15: slowwildserver.GetFollowingRes
- (*GetFollowReq)(nil), // 16: slowwildserver.GetFollowReq
- (*GetFollowRes)(nil), // 17: slowwildserver.GetFollowRes
- (*GetUserProfileReq)(nil), // 18: slowwildserver.GetUserProfileReq
- (*GetUserProfileRes)(nil), // 19: slowwildserver.GetUserProfileRes
- (*SearchUsernameReq)(nil), // 20: slowwildserver.SearchUsernameReq
- (*SearchUsernameItem)(nil), // 21: slowwildserver.SearchUsernameItem
- (*SearchUsernameRes)(nil), // 22: slowwildserver.SearchUsernameRes
- }
- var file_proto_slowwild_proto_depIdxs = []int32{
- 1, // 0: slowwildserver.FollowUserInfo.user:type_name -> slowwildserver.UserInfo
- 1, // 1: slowwildserver.FindUserResp.user_list:type_name -> slowwildserver.UserInfo
- 2, // 2: slowwildserver.GetFollowingRes.list:type_name -> slowwildserver.FollowUserInfo
- 2, // 3: slowwildserver.GetFollowRes.list:type_name -> slowwildserver.FollowUserInfo
- 21, // 4: slowwildserver.SearchUsernameRes.list:type_name -> slowwildserver.SearchUsernameItem
- 4, // 5: slowwildserver.SlowWildServer.Login:input_type -> slowwildserver.LoginReq
- 5, // 6: slowwildserver.SlowWildServer.Register:input_type -> slowwildserver.RegisterReq
- 6, // 7: slowwildserver.SlowWildServer.GetUserInfo:input_type -> slowwildserver.GetUserInfoReq
- 8, // 8: slowwildserver.SlowWildServer.FindUser:input_type -> slowwildserver.FindUserReq
- 10, // 9: slowwildserver.SlowWildServer.UserFollow:input_type -> slowwildserver.FollowUserReq
- 12, // 10: slowwildserver.SlowWildServer.UnUserFollow:input_type -> slowwildserver.UnFollowUserReq
- 14, // 11: slowwildserver.SlowWildServer.GetFans:input_type -> slowwildserver.GetFollowingReq
- 14, // 12: slowwildserver.SlowWildServer.GetFollows:input_type -> slowwildserver.GetFollowingReq
- 18, // 13: slowwildserver.SlowWildServer.GetUserProfile:input_type -> slowwildserver.GetUserProfileReq
- 20, // 14: slowwildserver.SlowWildServer.SearchUsername:input_type -> slowwildserver.SearchUsernameReq
- 3, // 15: slowwildserver.SlowWildServer.Login:output_type -> slowwildserver.LoginAndRegisterRsp
- 3, // 16: slowwildserver.SlowWildServer.Register:output_type -> slowwildserver.LoginAndRegisterRsp
- 7, // 17: slowwildserver.SlowWildServer.GetUserInfo:output_type -> slowwildserver.GetUserInfoResp
- 9, // 18: slowwildserver.SlowWildServer.FindUser:output_type -> slowwildserver.FindUserResp
- 11, // 19: slowwildserver.SlowWildServer.UserFollow:output_type -> slowwildserver.FollowUserRes
- 13, // 20: slowwildserver.SlowWildServer.UnUserFollow:output_type -> slowwildserver.UnFollowUserRes
- 15, // 21: slowwildserver.SlowWildServer.GetFans:output_type -> slowwildserver.GetFollowingRes
- 15, // 22: slowwildserver.SlowWildServer.GetFollows:output_type -> slowwildserver.GetFollowingRes
- 19, // 23: slowwildserver.SlowWildServer.GetUserProfile:output_type -> slowwildserver.GetUserProfileRes
- 22, // 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.(*UserInfo); 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.(*FollowUserInfo); 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.(*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[4].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[5].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[6].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[7].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[8].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[9].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[10].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[11].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[12].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[13].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[14].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[15].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[16].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[17].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[18].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[19].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[20].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[21].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[22].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: 23,
- 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
- }
|